CN105700918A - System upgrading method and device - Google Patents

System upgrading method and device Download PDF

Info

Publication number
CN105700918A
CN105700918A CN201610006367.3A CN201610006367A CN105700918A CN 105700918 A CN105700918 A CN 105700918A CN 201610006367 A CN201610006367 A CN 201610006367A CN 105700918 A CN105700918 A CN 105700918A
Authority
CN
China
Prior art keywords
subregion
image file
file
mobile equipment
hardware identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610006367.3A
Other languages
Chinese (zh)
Inventor
刘戈峰
张景新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610006367.3A priority Critical patent/CN105700918A/en
Publication of CN105700918A publication Critical patent/CN105700918A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The invention relates to the technical field of mobile communication and particularly relates to a system upgrading method and a system upgrading device. The method comprises the following steps: obtaining a hardware identifier of a mobile device and determining a partition, in need of upgrading, of the mobile device; obtaining a partition upgrading file corresponding to the partition from an OTA (Over-the-Art Technology) upgrading patch, and determining the number of signature mirror image files in the partition upgrading file; if the number of the signature mirror image files in the partition upgrading file is greater than 1, determining a target signature mirror image file corresponding to the hardware identifier of the mobile device from the partition upgrading file according to the hardware identifier of the mobile device; and according to the target signature mirror image file, upgrading the partition. The mobile device, after obtaining the upgrading file, can obtain the signature mirror image file matched with the own hardware identifier from the upgrading file to upgrade the partition of the mobile device; and thus, the method and the device disclosed by the invention carry out correct upgrading on the partition of the mobile device; and the mobile device can be guaranteed to read a partition file normally in secure boot, and then the mobile device can be guaranteed to start normally.

Description

A kind of method for upgrading system and device
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of method for upgrading system and device。
Background technology
Current Intelligent mobile equipment, such as smart mobile phone, PDA (PersonalDigitalAssistant, personal digital assistant), PAD (portableandroiddevice, panel computer) etc., become the main flow on market already, the intelligent machine of Android operation system then occupies very important position especially in intelligent machine, and market share is significantly larger than the Intelligent mobile equipment carrying other operating systems。But the equipment of movement has become as safely a day by day serious problem, introduce secureboot (clean boot) for these a lot of mobile instrument factory commercial cities and start scheme, each stage started is carried out safety certification。
Secureboot startup refers to mobile equipment and can the subregion that have signature image file be verified in start-up course, if the hardware identifier in the signature image file in this subregion is identical with the hardware identifier of mobile equipment, then this subregion is verified, when all of subregion by signature image file is verified, mobile equipment can be carried out normal startup。
When mobile equipment is upgraded by needs, prior art is when generating upgrade file, according to hardware identifier, such as CPUID (CentralProcessingUnitIdentification, central processing unit identifies), the subregion of signature image file upgrading is carried out for each needs in mobile equipment, generate a signature image file respectively, then the upgrade file bag comprising signature image file is sent to mobile equipment, corresponding subregion, after receiving the AKU comprising signature image file, is upgraded by mobile equipment。
Said method there is the problem that the problem owing to manufacturer produces mobile equipment batch, it is likely to occur different batches and has the mobile equipment of multiple version hardware identifier, prior art does the subregion of signature image file upgrading for the mobile each needs of equipment, the respective partition upgrade file of AKU only comprises a signature image file, thus result in when mobile equipment is upgraded for certain subregion, when differing due to the hardware identifier signed in image file received and the hardware identifier moving equipment self, also can upgrade according to this signature image file, thus causing the upgrading that this subregion has been carried out mistake, when mobile equipment carries out secureboot clean boot, the hardware identifier in signature image file after upgrading due to subregion is different from the hardware identifier of mobile equipment, thus causing that mobile equipment is when reading subregion signature image file, what read is identify, with mobile device hardware, the signature image file differed, thus causing cannot normally reading partitioned file, and then cause that mobile equipment cannot be normally-open。
In sum, present technology moves equipment when upgrading, it is possible to there will be mobile equipment subregion staging error and causes the problem that mobile equipment cannot be normally-open。
Application content
The present invention provides a kind of method for upgrading system and device, in order to the mobile equipment that solves to exist in prior art when upgrading, it is possible to there will be mobile equipment subregion staging error and cause the problem that mobile equipment cannot be normally-open。
On the one hand, the embodiment of the present invention provides a kind of method for upgrading system, including:
Obtain the hardware identifier of mobile equipment and determine that described mobile equipment needs the subregion of upgrading;
The subregion upgrade file corresponding with described subregion is obtained, it is determined that the number of image file of signing in described subregion upgrade file from OTA AKU;
If signing in described subregion upgrade file, the number of image file is more than 1, then the hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
According to described Target Signature image file, described subregion is upgraded。
Alternatively, the hardware identifier according to described mobile equipment, from described subregion upgrade file, determine the Target Signature image file corresponding with the hardware identifier of described mobile equipment, including:
Hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
Alternatively, the method also includes: the image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, and described subregion is upgraded。
Alternatively, after the described number determining image file of signing in described subregion upgrade file, also include:
If described subregion upgrade file is signed the number of image file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;
If described subregion upgrade file is signed the number of image file be 1 and the image file of described signature not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
Alternatively, what described mobile equipment needed that the subregion of upgrading comprises in herein below is some or all of:
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
Alternatively, described OTA AKU comprises at least one subregion upgrade file, and each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning。
On the other hand, the embodiment of the present invention also provides for a kind of system upgrade device, including:
Acquiring unit, for obtaining the hardware identifier of mobile equipment and determining that described mobile equipment needs the subregion of upgrading;
First determines unit, for obtaining the subregion upgrade file corresponding with described subregion from OTA AKU, it is determined that the number of image file of signing in described subregion upgrade file;
Second determines unit, if for the number of image file of signing in described subregion upgrade file more than 1, the then hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
Upgrade unit, for according to described Target Signature image file, upgrading to described subregion。
Alternatively, described second determines unit, specifically for:
Hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
Alternatively, described upgrade unit, it is additionally operable to:
The image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, described subregion is upgraded。
Alternatively, described upgrade unit, it is additionally operable to:
If described subregion upgrade file is signed the number of image file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;
If described subregion upgrade file is signed the number of image file be 1 and the image file of described signature not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
Alternatively, what described mobile equipment needed that the subregion of upgrading comprises in herein below is some or all of:
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
Alternatively, described OTA AKU comprises at least one subregion upgrade file, and each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning。
The method that the embodiment of the present invention provides, obtain the hardware identifier of mobile equipment and determine that described mobile equipment needs the subregion of upgrading, the subregion upgrade file corresponding with described subregion is obtained from OTA AKU, determine the number of image file of signing in described subregion upgrade file, if signing in described subregion upgrade file, the number of image file is more than 1, the then hardware identifier according to described mobile equipment, the Target Signature image file corresponding with the hardware identifier of described mobile equipment is determined from described subregion upgrade file, according to described Target Signature image file, described subregion is upgraded, after mobile equipment gets upgrade file, the signature image file matched with own hardware mark can be obtained from upgrade file the subregion of mobile equipment is upgraded, thus realizing the subregion of mobile equipment is correctly upgraded, ensure that mobile equipment can normally read partitioned file when carrying out clean boot, and then can ensure that mobile equipment is normally-open。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
A kind of method for upgrading system flow chart that Fig. 1 provides for the embodiment of the present invention;
A kind of method for upgrading system detail flowchart that Fig. 2 provides for the embodiment of the present invention;
A kind of system upgrade device schematic diagram that Fig. 3 provides for the embodiment of the present invention。
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only some embodiments of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
OTA (Over-the-AirTechnology, over the air) is the technology that SIM (SubscriberIdentityModule, client identification module) card data and application are undertaken remotely management by the air interface of mobile communication。Air interface can adopt WAP (WirelessApplicationProtocol, Wireless Application Protocol), GPRS (GeneralPacketRadioService, general packet radio service technology), the CDMA1X (first stage of CDMA2000, (CDMA, CodeDivisionMultipleAccess, CDMA)) and short message service technology。The application of OTA technology so that mobile communication is possible not only to provide voice-and-data service, but also is provided that new business is downloaded。
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail。
As it is shown in figure 1, a kind of method for upgrading system that the embodiment of the present invention provides, including:
Step 101, acquisition move the hardware identifier of equipment and determine that described mobile equipment needs the subregion of upgrading;
Step 102, the subregion upgrade file that acquisition is corresponding with described subregion from OTA AKU, it is determined that the number of image file of signing in described subregion upgrade file;
If signing in the described subregion upgrade file of step 103, the number of image file is more than 1, then the hardware identifier according to described mobile equipment determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
Step 104, according to described Target Signature image file, described subregion is upgraded。
Mobile equipment can be mobile phone, panel computer or individual digital equipment etc.。OTA AKU can be used for the version to mobile equipment or application program is upgraded or updates。
OTA AKU comprises at least one subregion upgrade file, each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning, each subregion upgrade file correspondence moves a subregion to be upgraded in equipment, wherein, a corresponding hardware identifier of signature image file。For example, mobile equipment has 3 subregions, respectively A, B, C subregion, then including at least 3 subregion upgrade files in OTA AKU, if OTA upgrade file this time comprises the upgrade file of two versions for two kinds of hardware identifiers, wherein, hardware identifier can be CPUID, OTA AKU then comprises 3 subregion upgrade file FileA, FileB, FileC, and each subregion upgrade file comprises the signature image file of two versions, it is respectively directed to the upgrade file version of two kinds of hardware identifiers, such as subregion upgrade file FileA comprises signature image file FileA-V1 and FileA-V2, subregion upgrade file FileB comprises signature image file FileB-V1 and FileB-V2, subregion upgrade file FileC comprises signature image file FileC-V1 and FileC-V2。Certainly for a subregion upgrade file, can also be comprise unsigned image file, namely not comprise the relevant information of hardware identifier, for unsigned image file, then the mobile corresponding subregion of equipment can be made directly upgrading, it is not necessary to distinguish the type of hardware identifier;Or subregion upgrade file only comprises the signature image file of a version, to this, depending on being actually needed, the present invention does not limit。
Supplement: reason and technique effect that OTA AKU is compared the above-mentioned amendment of prior art do expansion and describe。
At the OTA AKU received in prior art, upgrade file for each subregion, only a type of signature image file, the subregion of mobile equipment is when receiving corresponding mirror image former document, this signature image file is not verified, if the hardware identifier that the hardware identifier that this signature image file is corresponding is corresponding from mobile equipment is different, also this signature image file can be used to be upgraded in respective partition, thus causing the upgrading that this subregion has been carried out mistake, when mobile device power-up reads this partitioned file, due to this partitioned file mistake, and cause that mobile equipment cannot be started up。And in the embodiment of the present invention, in each subregion upgrade file of the OTA AKU that mobile equipment receives, if comprise be signature image file and signature image file number more than 1, then moving equipment respective partition can according to the hardware identifier of mobile equipment, the Target Signature image file corresponding with the hardware identifier of mobile equipment is determined from multiple signature image files, and according to Target Signature image file, subregion is upgraded, thereby may be ensured that
Signature hardware identifier corresponding to image file in upgrade file is consistent with the hardware identifier of mobile equipment, it is achieved the normal boot-strap startup after updating mobile terminal。
For the kind of subregion, the present invention does not limit, and alternatively, it is some or all of that described mobile equipment needs that the subregion of upgrading comprises in herein below
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
Above-mentioned subregion, wherein logo subregion is deposited for start-up picture in start-up course, hyp subregion is used for depositing hyp subsystem code, NON-HLOS subregion is used for depositing modem (modem) subsystem, rpm subregion deposits resource power management related content, sbl1 subregion starts code for storage part, sec subregion is in clean boot scheme, it is used for depositing sec.dat file (containing relevant fuse (fuse) value of clean boot), the system approach information deposit position of the secure context that tz subregion is immune against attacks for ensureing service and equipment。
In above-mentioned steps 103, if the signature image file number in subregion upgrade file is more than 1, the then hardware identifier according to described equipment, the signature image file corresponding with the hardware identifier of mobile equipment is obtained from subregion upgrade file, concrete how finding from multiple signature image files of a subregion upgrade file identifies, with own hardware, the signature image file matched, there is a variety of mode, such as, each signature image file have recorded the hardware identifier that this signature image file is corresponding, so that mobile equipment is when upgrading, by checking that each signature image file records the storage position of hardware identifier accordingly, namely can determine that the signature image file corresponding with own hardware mark, can certainly be other modes, this present invention is not limited。
Alternatively, the hardware identifier according to described mobile equipment, from described subregion upgrade file, determine the Target Signature image file corresponding with the hardware identifier of described mobile equipment, including:
Hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
Said method, the filename of each signature image file contains the hardware identifier of correspondence, so that mobile equipment is when determining signature image file corresponding to certain subregion, directly can learn, from the filename of signature image file, the hardware identifier that this signature image file is corresponding, thus simplifying the process of coupling, improve efficiency。Such as, for sbl1 subregion, there are two signature image files, it is sbl1_2334eada.mbn and sbl1_123432ed.mbn respectively, wherein 2334eada and 123432ed corresponding two kinds of hardware identifiers respectively, such that it is able to carry out the signature image file of corresponding different hardware mark by the filename of image file of signing。
In an OTA AKU, it it is the subregion upgrade file containing each version for all hardware mark, thus the subregion of the equipment of movement can determine how upgrading according to specific needs, the subregion such as having is the mode of mirror image signature need not to be used to do upgrade, namely directly use unsigned image file to upgrade, then the subregion upgrade file that this subregion is corresponding should comprise unsigned image file;For another example, the signature image file of the subregion upgrade file only one of which version that one subregion is corresponding, additionally the signature image file of version does not temporarily also update, then for this subregion, can only issue the subregion upgrade file comprising a signature image file, specifically, an OTA upgrade file bag comprises the file of which kind of version, is determined by being actually needed。
Alternatively, obtain after the subregion upgrade file corresponding with described subregion from described OTA AKU, also include:
The image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, described subregion is upgraded。
Said method, for a subregion upgrade file, if only comprising a unsigned image file, then use this unsigned image file to this subregion of upgrading, such as logo subregion, this subregion need not do mirror image signature upgrading, thus in OTA AKU, during upgrading of the subregion that logo subregion is corresponding comprises a unsigned image file。The method, can according to the practical situation of subregion, it is determined that issue what type of upgrade file, have considerable flexibility。
Alternatively, after the described number determining image file of signing in described subregion upgrade file, also include: if the number of image file of signing in described subregion upgrade file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;
If described subregion upgrade file is signed the number of image file be 1 and the image file of described signature not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
Said method, for a subregion upgrade file, if only comprising the image file of a signature, then use the image file of this signature to this subregion of upgrading, for instance for certain subregion, the upgrade file that this subregion is corresponding currently only have updated the signature image file for a hardware identifier, then judge that this signature image file identifies whether corresponding with mobile equipment own hardware, if corresponding, then upgrade, otherwise do not upgrade。The method, can according to the practical situation of subregion, it is determined that the upgrade file issued, and has considerable flexibility。
The method that the embodiment of the present invention provides, obtain the hardware identifier of mobile equipment and determine that described mobile equipment needs the subregion of upgrading, the subregion upgrade file corresponding with described subregion is obtained from OTA AKU, determine the number of image file of signing in described subregion upgrade file, if signing in described subregion upgrade file, the number of image file is more than 1, the then hardware identifier according to described mobile equipment, the Target Signature image file corresponding with the hardware identifier of described mobile equipment is determined from described subregion upgrade file, according to described Target Signature image file, described subregion is upgraded, thus after mobile equipment gets upgrade file, the signature image file corresponding with own hardware mark can be obtained from upgrade file the subregion of mobile equipment is upgraded。Thus signature hardware identifier corresponding to image file ensured in upgrade file is consistent with the hardware identifier of movement equipment, thus realizing the subregion of mobile equipment is correctly upgraded, ensure that mobile equipment can normally read partitioned file when carrying out clean boot, and then can ensure that mobile equipment is normally-open。
The method for upgrading system below embodiment of the present invention provided is described in detail, as in figure 2 it is shown, the method for upgrading system detail flowchart provided for the embodiment of the present invention, including:
Step 201, acquisition move the hardware identifier of equipment and determine that described mobile equipment needs the subregion of upgrading;
Step 202, the mobile equipment hardware identifier according to mobile equipment self, it is determined that the signature image file of version corresponding with own hardware mark in this subregion upgrade file, or directly obtain unsigned image file in subregion upgrade file;
This subregion, according to the signature image file got or unsigned image file, is upgraded by step 203, mobile equipment;
Step 204 if it is determined that all of subregion has all been upgraded, then moves device end this time upgrading。
Based on identical technology design, the embodiment of the present invention also provides for a kind of system upgrade device。The system upgrade device that the embodiment of the present invention provides is as it is shown on figure 3, include:
Acquiring unit 301, for obtaining the hardware identifier of mobile equipment and determining that described mobile equipment needs the subregion of upgrading;
First determines unit 302, for obtaining the subregion upgrade file corresponding with described subregion from OTA AKU, it is determined that the number of image file of signing in described subregion upgrade file;
Second determines unit 303, if for the number of image file of signing in described subregion upgrade file more than 1, the then hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
Upgrade unit 304, for according to described Target Signature image file, upgrading to described subregion。
Alternatively, described second determines unit 303, specifically for: the hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
Alternatively, described upgrade unit 304, it is additionally operable to: the image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, described subregion is upgraded。
Alternatively, described upgrade unit 304, be additionally operable to: if the number of image file of signing in described subregion upgrade file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;If described subregion upgrade file is signed the number of image file be 1 and the image file of described signature not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
Alternatively, what described mobile equipment needed that the subregion of upgrading comprises in herein below is some or all of:
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
Alternatively, described OTA AKU comprises at least one subregion upgrade file, and each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning。
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe。It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame。These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment。So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention。
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art。So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification。

Claims (12)

1. a method for upgrading system, it is characterised in that including:
Obtain the hardware identifier of mobile equipment and determine that described mobile equipment needs the subregion of upgrading;
The subregion upgrade file corresponding with described subregion is obtained, it is determined that the number of image file of signing in described subregion upgrade file from OTA AKU;
If signing in described subregion upgrade file, the number of image file is more than 1, then the hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
According to described Target Signature image file, described subregion is upgraded。
2. the method for claim 1, it is characterised in that the hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file, including:
Hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
3. the method for claim 1, it is characterised in that the method also includes:
The image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, described subregion is upgraded。
4. the method for claim 1, it is characterised in that after the described number determining image file of signing in described subregion upgrade file, also include:
If described subregion upgrade file is signed the number of image file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;
If described subregion upgrade file is signed the number of image file be 1 and described signature image file not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
5. the method as according to any one of claim 1-4, it is characterised in that it is some or all of that described mobile equipment needs that the subregion of upgrading comprises in herein below:
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
6. the method as according to any one of claim 1-4, it is characterised in that described OTA AKU comprises at least one subregion upgrade file, each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning。
7. a system upgrade device, it is characterised in that including:
Acquiring unit, for obtaining the hardware identifier of mobile equipment and determining that described mobile equipment needs the subregion of upgrading;
First determines unit, for obtaining the subregion upgrade file corresponding with described subregion from OTA AKU, it is determined that the number of image file of signing in described subregion upgrade file;
Second determines unit, if for the number of image file of signing in described subregion upgrade file more than 1, the then hardware identifier according to described mobile equipment, determines the Target Signature image file corresponding with the hardware identifier of described mobile equipment from described subregion upgrade file;
Upgrade unit, for according to described Target Signature image file, upgrading to described subregion。
8. device as claimed in claim 7, it is characterised in that described second determines unit, specifically for:
Hardware identifier according to described mobile equipment, mates the filename of the hardware identifier of described mobile equipment with all signature image files in described subregion upgrade file;
Filename will comprise the signature image file of described hardware identifier, as the Target Signature image file corresponding with the hardware identifier of described mobile equipment。
9. device as claimed in claim 7, it is characterised in that described upgrade unit, is additionally operable to:
The image file if described subregion upgrade file only one of which is unsigned, then image file of unsigning described in basis, described subregion is upgraded。
10. device as claimed in claim 7, it is characterised in that described upgrade unit, is additionally operable to:
If described subregion upgrade file is signed the number of image file be 1 and described signature image file corresponding with the hardware identifier of described mobile equipment, then according to described signature image file, described subregion is upgraded;
If described subregion upgrade file is signed the number of image file be 1 and the image file of described signature not corresponding with the hardware identifier of described mobile equipment, then described subregion is not upgraded。
11. the device as according to any one of claim 7-10, it is characterised in that it is some or all of that described mobile equipment needs that the subregion of upgrading comprises in herein below:
Logo subregion, hyp subregion, NON-HLOS subregion, rpm subregion, sbl1 subregion, sec subregion and tz subregion。
12. the device as according to any one of claim 7-10, it is characterised in that described OTA AKU comprises at least one subregion upgrade file, each subregion upgrade file comprises at least one signature image file or comprises at least one image file of unsigning。
CN201610006367.3A 2016-01-05 2016-01-05 System upgrading method and device Pending CN105700918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610006367.3A CN105700918A (en) 2016-01-05 2016-01-05 System upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610006367.3A CN105700918A (en) 2016-01-05 2016-01-05 System upgrading method and device

Publications (1)

Publication Number Publication Date
CN105700918A true CN105700918A (en) 2016-06-22

Family

ID=56226162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610006367.3A Pending CN105700918A (en) 2016-01-05 2016-01-05 System upgrading method and device

Country Status (1)

Country Link
CN (1) CN105700918A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569865A (en) * 2016-11-14 2017-04-19 青岛海信移动通信技术股份有限公司 Producing method and producing device for system upgrade file of terminal
WO2017173798A1 (en) * 2016-04-07 2017-10-12 乐视控股(北京)有限公司 System installation method, device, and electronic apparatus for mobile terminal
CN108874582A (en) * 2017-05-15 2018-11-23 上海宽翼通信科技有限公司 A kind of system recovery method, device and terminal
CN110047586A (en) * 2019-04-16 2019-07-23 北京品驰医疗设备有限公司 Implantable medical controls equipment and its Firmware Interface update method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225069A1 (en) * 2005-03-18 2006-10-05 Fujitsu Limited Firmware version managing method of computer system and information processing device
CN101207699A (en) * 2006-12-22 2008-06-25 深圳市同洲电子股份有限公司 Method for upgrading set-top box
CN102333240A (en) * 2011-08-04 2012-01-25 深圳创维数字技术股份有限公司 Set-top box and online upgrade method thereof
US8214821B1 (en) * 2001-04-26 2012-07-03 Access Co., Ltd. Method and system for automatic firmware updates in a portable hand-held device
CN103106092A (en) * 2013-02-18 2013-05-15 青岛海信宽带多媒体技术有限公司 System software updating method and device in terminal appliance
US20140033188A1 (en) * 2012-07-26 2014-01-30 Microsoft Corporation System updates from cloud blob storage using vhd differentials
CN103823703A (en) * 2014-03-18 2014-05-28 福州瑞芯微电子有限公司 Method and device in compatibility with different equipment with same firmware
CN103984564A (en) * 2013-02-08 2014-08-13 百度国际科技(深圳)有限公司 Method and device for installing and upgrading software
CN104281471A (en) * 2014-09-17 2015-01-14 天津云辰科技有限公司 Multi-version software OTA (on the air) updating method
CN105094913A (en) * 2015-07-31 2015-11-25 广东欧珀移动通信有限公司 System, base band fastener and system application upgrading method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214821B1 (en) * 2001-04-26 2012-07-03 Access Co., Ltd. Method and system for automatic firmware updates in a portable hand-held device
US20060225069A1 (en) * 2005-03-18 2006-10-05 Fujitsu Limited Firmware version managing method of computer system and information processing device
CN101207699A (en) * 2006-12-22 2008-06-25 深圳市同洲电子股份有限公司 Method for upgrading set-top box
CN102333240A (en) * 2011-08-04 2012-01-25 深圳创维数字技术股份有限公司 Set-top box and online upgrade method thereof
US20140033188A1 (en) * 2012-07-26 2014-01-30 Microsoft Corporation System updates from cloud blob storage using vhd differentials
CN103984564A (en) * 2013-02-08 2014-08-13 百度国际科技(深圳)有限公司 Method and device for installing and upgrading software
CN103106092A (en) * 2013-02-18 2013-05-15 青岛海信宽带多媒体技术有限公司 System software updating method and device in terminal appliance
CN103823703A (en) * 2014-03-18 2014-05-28 福州瑞芯微电子有限公司 Method and device in compatibility with different equipment with same firmware
CN104281471A (en) * 2014-09-17 2015-01-14 天津云辰科技有限公司 Multi-version software OTA (on the air) updating method
CN105094913A (en) * 2015-07-31 2015-11-25 广东欧珀移动通信有限公司 System, base band fastener and system application upgrading method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173798A1 (en) * 2016-04-07 2017-10-12 乐视控股(北京)有限公司 System installation method, device, and electronic apparatus for mobile terminal
CN106569865A (en) * 2016-11-14 2017-04-19 青岛海信移动通信技术股份有限公司 Producing method and producing device for system upgrade file of terminal
CN108874582A (en) * 2017-05-15 2018-11-23 上海宽翼通信科技有限公司 A kind of system recovery method, device and terminal
CN110047586A (en) * 2019-04-16 2019-07-23 北京品驰医疗设备有限公司 Implantable medical controls equipment and its Firmware Interface update method and system

Similar Documents

Publication Publication Date Title
CN103176824B (en) A kind of method and device of system upgrade
CN105700918A (en) System upgrading method and device
CN102232304B (en) Method, system and terminal for system update between mobile communication terminals
CN105573780B (en) A kind of mobile terminal operating system upgrade method and device based on container
CN105446769B (en) Image file upgrade processing method, device and terminal device
US9390259B2 (en) Method for activating an operating system in a security module
CN104052818A (en) Version upgrade method and device for mobile terminal
CN106126203B (en) A kind of OTA start accelerated methods and system
CN107992308B (en) Plug-in management method for android terminal application program
CN109413186B (en) Application program updating method, terminal, server and system
CN103716346A (en) Management method and device of application on android handset client
CN106547602B (en) Method for manufacturing operating system mirror image suitable for iSCSI protocol remote wireless loading
EP3975503A1 (en) Esim card replacement method and related device
CN105094916A (en) Method and device for wireless firmware upgrading expansion based on module
CN111459524A (en) Software upgrading method, device and system
CN111290773A (en) System upgrading method, device and readable storage medium
CN110750286A (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN105446772A (en) System upgrading method and apparatus
CN107643898A (en) Terminal staging method and device
CN102073541B (en) Data access method and mobile terminal
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN106445601A (en) Device and method for plugin upgrading
CN112463199A (en) System upgrading method and terminal
CN110913015A (en) Distributed quick installation method, system and medium for cloud mobile phone APP
CN106569865B (en) Method and device for manufacturing system upgrade file of terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622