CN107273160A - A kind of method and device of edition upgrading - Google Patents
A kind of method and device of edition upgrading Download PDFInfo
- Publication number
- CN107273160A CN107273160A CN201710430513.XA CN201710430513A CN107273160A CN 107273160 A CN107273160 A CN 107273160A CN 201710430513 A CN201710430513 A CN 201710430513A CN 107273160 A CN107273160 A CN 107273160A
- Authority
- CN
- China
- Prior art keywords
- partition system
- terminal device
- subregion
- aku
- partition
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method and device of edition upgrading.Methods described includes:If AKU is downloaded successfully, read and start identifier, first partition system and the second partition system are determined according to the startup identifier, the startup identifier currently runs the first partition system called for identifying the terminal device, and second partition system is the partition system that the terminal device performs updating operation;The AKU is verified with terminal device software to be upgraded;When verifying successfully, the second partition system subregion is upgraded.The upgrading mode does not influence terminal device is current normally to use;Upgrading can be avoided unsuccessfully to cause the problem of terminal device becomes brick.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device of edition upgrading.
Background technology
With the development of the communication technology, the use demand of the terminal device such as intelligent television, smart mobile phone is improved constantly.At end
During the use of end equipment, in order to optimize the performance of terminal device, generally require equipment vendors and the terminal device dispatched from the factory is entered
Row system upgrade, i.e., upgrade to the software version of terminal device.Prior art is typically based on aerial download(Over-
The-Air Technology, abbreviation OTA)Technology realizes the updating operation of terminal system.
In the prior art, the upgrading mode based on OTA enters recovery moulds first during the use of terminal device
Formula carries out the download of AKU, software program of then upgrading after terminal device is restarted next time.Upgrading based on which,
User can not normal using terminal equipment in escalation process;Meanwhile, if upgrading failure, it is likely that to system version before terminal staging
The file of this subregion causes to damage, and terminal can not load the file for the subregion being damaged if restarting again, so that
Presentation to user is the result that operating system has been restarted but cannot be started up being successfully entered to terminal, that is to say, that terminal is restarted
After cannot be introduced into system, more cannot be introduced into user and use interface, therefore AKU can not be carried out in the case where user is using interface
Download, and system upgrading again.
The content of the invention
In order to avoid upgrading cause terminal device not use normally, present embodiments provide a kind of version upgrading method and
Device.The technical scheme is as follows:
First aspect includes there is provided a kind of version upgrading method, methods described:
If AKU is downloaded successfully, read and start identifier, the first partition system and second are determined according to the startup identifier
Partition system, for identifying the terminal device, currently the first partition system, described second are called in operation to the startup identifier
Partition system is the partition system that the terminal device performs updating operation;
The AKU is verified with terminal device software to be upgraded;
If verifying successfully, the second partition system subregion is upgraded.
In a kind of possible implementation, it is described the second partition system subregion is upgraded after, including:
If the second partition system subregion is upgraded successfully, the startup identifier is changed, for identifying restarting terminal device
Afterwards operation call for the second partition system.
It is described by the AKU and institute if the AKU is difference bag in alternatively possible implementation
State after terminal device software check success to be upgraded, methods described includes:
Subregion differential file in the AKU is synthesized into new subregion mirror image with the first partition system subregion image file
File;
The new subregion image file is write into the corresponding subregion of the second partition system, upgraded.
In alternatively possible implementation, it is described second partition system subregion is upgraded after, including:
When the restarting terminal device, the second partition system partitioned file is loaded according to the startup identifier.
In alternatively possible implementation, methods described includes:
If the upgrading failure of the second partition system, when the restarting terminal device, loads the first partition system partitioned file.
Second aspect includes there is provided a kind of device of edition upgrading, described device:
Partition system determining module, if being downloaded successfully for AKU, reads and starts identifier, true according to the startup identifier
Fixed first partition system and the second partition system, the startup identifier are used to identify what the terminal device currently operation was called
First partition system, second partition system is the partition system that the terminal device performs updating operation;
Correction verification module, for the AKU to be verified with terminal device software to be upgraded;
Upgraded module, when verifying successfully for the correction verification module, upgrades to the subregion of second partition system.
In a kind of possible implementation, described device also includes:
Start identifier modified module, identified for when the second partition system subregion is upgraded successfully, changing described start
Symbol, for identifying after restarting terminal device that operation calls for second partition system.
In alternatively possible implementation, described device also includes:
AKU generation module, for when the correction verification module is verified successfully, by subregion differential file in the AKU with
The first partition system subregion image file synthesizes new subregion image file;
The upgraded module, for the new subregion image file to be write into the corresponding subregion of the second partition system, enters
Row upgrading.
In alternatively possible implementation, described device includes:
Load-on module, if being upgraded successfully for the second partition system, when the restarting terminal device, is identified according to described start
The partitioned file of symbol loading second partition system.
In alternatively possible implementation, the load-on module, if being additionally operable to the upgrading failure of the second partition system, when
During the restarting terminal device, the partitioned file of first partition system is loaded.
The beneficial effect brought of technical scheme that the present embodiment is provided is:
Method and apparatus provided in an embodiment of the present invention, terminal device is after successfully downloading AKU and verifying successfully, not
The partitioned file that terminal device current system is run is upgraded;But first according to starting identifier determines terminal device the
One partition system and the second partition system, upgrade to the second partition system subregion.The upgrading mode does not influence terminal device
Current normally uses;Upgrading can be avoided unsuccessfully to cause the problem of terminal device becomes brick.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the present embodiment, used required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of schematic diagram of a scenario for version upgrading method that the present embodiment is provided;
Fig. 2 is a kind of flow chart for version upgrading method that the present embodiment is provided;
Fig. 3 is a kind of flow chart for version upgrading method that the present embodiment is provided;
Fig. 4 A are a kind of terminal device subregion schematic diagrames that the present embodiment is provided;
Fig. 4 B are another terminal device subregion schematic diagrames that the present embodiment is provided;
Fig. 5 is a kind of flow chart for version upgrading method that the present embodiment is provided;
The terminal device partition system operation schematic diagram that Fig. 6 A provide for the present embodiment;
The terminal device partition system operation schematic diagram that Fig. 6 B provide for the present embodiment;
Fig. 7 A are a kind of apparatus structure schematic diagrams for edition upgrading that the present embodiment is provided;
Fig. 7 B are a kind of apparatus structure schematic diagrams for edition upgrading that the present embodiment is provided;
Fig. 8 A are a kind of apparatus structure schematic diagrams for edition upgrading that the present embodiment is provided;
Fig. 8 B are a kind of apparatus structure schematic diagrams for edition upgrading that the present embodiment is provided;
Fig. 9 is a kind of structural representation for terminal that the present embodiment is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings and specific embodiment to this
Invention is described in further detail, it is clear that described embodiment is a part of embodiment of the invention, rather than all real
Apply example.Based on embodiments of the invention, those skilled in the art obtain on the premise of not paying creative work other
Embodiment, belongs to the scope of protection of the invention.
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention, employ " the
One ", the printed words such as " second " make a distinction to function and the essentially identical identical entry of effect or similar item.Those skilled in the art can
To understand that the printed words such as " first ", " second " are not defined to quantity and execution order.
In embodiments of the present invention, terminal device, refers to logical with connection mobile communications network and wireless network ability
Believe terminal device, include but is not limited to:Mobile phone, intelligent television, tablet personal computer, UMPC(Ultra-mobile Personal
Computer, Ultra-Mobile PC), net book, PDA(Personal Digital Assistant, individual digital is helped
Reason)Deng.
AKU includes two classes, complete packet and difference bag in the embodiment of the present invention.It is corresponding that complete packet includes the AKU
All information of subregion included by system version, difference bag only includes existing between the corresponding two systems version of difference bag
Differentiation information.When terminal device carries out system upgrade according to complete packet, concrete operations are terminal device loading upgrading bag
In upgrade file, and cover original corresponding file in terminal.Exemplary, AKU includes the file of boot subregions,
The file of boot subregions is that the file of existing boot subregions in v2 versions, terminal device is v1 versions in AKU, and terminal is set
When standby foundation AKU is upgraded, the file of the boot subregions of existing v1 versions on terminal device is replaced with AKU
V2 versions boot subregions file.When terminal device carries out system upgrade according to difference bag, concrete operations set for terminal
Upgrade file in standby loading upgrading bag, the new upgrade file of file synthesis to be upgraded corresponding with terminal device, and write
Terminal device respective partition.Exemplary, AKU includes the boot subregion differential files that version number is v1-v2, and terminal is set
The file of existing boot subregions is v1 versions in standby, when terminal device is upgraded, according to existing v1 editions on terminal device
The boot subregions differential file of v1-v2 versions synthesizes new boot subregions upgrading text in this boot partitioned files and AKU
Part, and replace the boot partitioned files of v1 versions in terminal device.As a rule, the data volume of complete packet is more than the number of difference bag
According to amount, in order to save volume of transmitted data, difference bag, the upgrading for carrying out system are transmitted between usual terminal and server.
One or more subregions in the upgrade file counterpart terminal equipment that AKU includes in the embodiment of the present invention, each
The file deposited in subregion is different, and the effect for the file deposited in each subregion is also different.Using Android television terminal equipments as
Example, mainly including following primary partition:Start boot partition bootfs, kernel subregion kernelfs, root subregion roofs,
TV system partitionings tvysfsfs, application partition appfs, user data subregion datafs.Wherein, bootfsf subregions are used for
The file used during storage television equipment booting operating system;Kernels subregions are used to store television equipment operating system
System kernel program;Rootfs subregions are used for storage system root file;Tvysfsfs subregions are used to store in the middle of television system
Part program, mainly provides the electricity such as live telecast, multimedia, system upgrade, remote controller key reception, multi-screen interactive, network linking
Depending on basic service service and the management service of various equipment;Appfs subregions are used to store television system application program.This dispatch from foreign news agency
Also include datafs subregions depending on terminal device, for storing the data that user produces in real time, the partition content is without being upgraded.
Kernel program, Ran Hou in boot program loads kernelfs subregions in bootfs subregions when electric on television equipment
Root file system in kernel in carry rootfs subregions is while carry tvysfsfs subregions and startup middleware program, so far electric
The basic start completion of viewing system.Application program in appfs subregions can then start according to actual needs in start process or
Operated and started according to user.From above-mentioned, bootfs subregions, kernelfs subregions, rootfs subregions, tvysfsfs subregions are
The subregion related to system operation.
AKU in the embodiment of the present invention may include the file of subregion or the file of multiple subregions, and a subregion can
It may include multiple files including a file, or a subregion.Still by taking Android television terminal equipments as an example, the terminal is set
Can include starting in the standby AKU received boot partition bootfs, kernel subregion kernelfs, root subregion roofs,
One or more of TV system partitionings tvysfsfs, application partition appfs, user data subregion datafs subregion, its
Middle subregion can include one or more files.
For ease of being clearly understood that the technical scheme of the embodiment of the present invention, the embodiment of the present invention using Android television equipments as
Example, describes in detail to this programme.
Fig. 1 be the embodiment of the present invention application scenarios schematic diagram, the system 100 can include server 101, at least one
Terminal device 102, wherein server 101 and terminal device 102 are connected by way of wired or wireless connection.In the applied field
Terminal device 102 can obtain the upgrading that AKU realizes version from server 101 under scape.
A kind of flow chart for version upgrading method that Fig. 2 provides for the present invention, applied to the terminal device 102 shown in Fig. 1,
This method includes:
If S201, AKU are downloaded successfully,
Read and start identifier, the first partition system and the second partition system are determined according to the startup identifier, start identifier
The first partition system is called for identifying the terminal device currently operation, the second partition system is that the terminal device performs liter
The partition system of level operation;
S202, AKU and terminal device software to be upgraded verified;
If S203, verifying successfully, the second partition system subregion is upgraded.
In summary, method and apparatus provided in an embodiment of the present invention, terminal device receives the upgrading of server transmission
Bao Hou, when verifying successfully, does not upgrade to the partitioned file that terminal device current system is run;But first basis is opened
Dynamic identifier determines the second standby partition system of the first partition system and backstage that terminal device is currently run, to the second subregion
System partitioning is upgraded, and the upgrading mode does not influence terminal device current ensure terminal equipment version upgrading while
Normally use.
In a kind of possible implementation, if the second partition system subregion is upgraded successfully, modification starts identifier, uses
In operation after mark restarting terminal device call for the second partition system.
In alternatively possible implementation, if the second partition system subregion is upgraded successfully, when restarting terminal device,
The second partition system partitioned file is loaded according to identifier is started.
In alternatively possible implementation, if the upgrading failure of the second partition system, during restarting terminal device, still adds
Carry the first partition system partitioned file.
Method and apparatus provided in an embodiment of the present invention, terminal device is received after the AKU of server transmission, is being verified into
During work(, the partitioned file that terminal device current system is run is not upgraded;But first determined according to startup identifier
The second standby partition system of the first partition system and backstage that terminal device is currently run, is carried out to the second partition system subregion
Upgrading, and load after terminal is restarted the second partition system partitioned file.The upgrading mode is ensureing terminal equipment version upgrading
While, do not influence terminal device is current normally to use;If the second partition system upgrading failure in addition, terminal device is being restarted
Still load the first partition system file afterwards, it is to avoid upgrading failure(Such as terminal device accident power-off)Terminal device is caused to become brick
Problem.
In alternatively possible implementation, S201 and S202 are without sequencing.
In alternatively possible implementation, terminal device is downloaded before AKU, is comprised the following steps:
1)Terminal device or server determine terminal device current system version, and judge high with the presence or absence of version in server
In the AKU of current system version;
2)If in the presence of terminal device sends system version upgrade request to server.
AKU in the embodiment of the present invention can be complete packet or difference bag.It is preferred that, the AKU is difference bag.Figure
3 be a kind of method of edition upgrading provided in an embodiment of the present invention, applied to terminal device, and the upgrading that the terminal device is received
Wrap as difference bag, the embodiment shown in Fig. 2 is described in detail by taking difference bag as an example below.Referring to Fig. 3, this method includes:
If S301, AKU are downloaded successfully,
Read and start identifier, the first partition system and the second partition system are determined according to the startup identifier, start identifier
The first partition system is called for identifying the terminal device currently operation, the second partition system is that the terminal device performs liter
The partition system of level operation;
Wherein, the AKU is difference AKU, is divided into two parts:The subregion differential file related to system operation, such as
Bootfs subregions, kernelfs subregions, rootfs subregions, tvysfsfs subregion differential files;And, using differential file, such as
Appfs subregion differential files.
Selectable, the difference AKU that the server that terminal device is received is sent can include one in terminal device
The differential file of individual or multiple subregions.
Selectable, the startup identifier can be stored in the positions such as boot, misc, and terminal device is according to its storage address
The value of the startup identifier is obtained, so that it is determined that the partition system that terminal device is currently run.
Exemplary, there is two partition systems, partition system A and partition system B, wherein partition system A and B in terminal device
Bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs points are included comprising identical subregion, i.e. partition system A
Area, partition system B also includes bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs subregions.A kind of possible
Implementation in, if terminal device is read, to start identifier bootflag value be 0, represents that A partition systems set for terminal
Standby the first partition system currently run, B partition systems are the second partition system for performing updating operation;Start mark if reading
The value for knowing symbol bootflag is 1, and it is the first partition system that terminal device is currently run, A partition systems to represent B partition systems
To perform the second partition system of updating operation.
The startup identifier set-up mode of the present embodiment is only a kind of exemplary setting, and all mark terminal devices that plays are worked as
The preceding startup identifier set-up mode for running the first partition system called is all fallen within protection scope of the present invention.
The first partition system and the second partition system include the subregion related to system operation respectively in the embodiment of the present invention,
That is the first partition system includes bootfs subregions, kernelfs subregions, rootfs subregions, tvysfs subregions etc. and system operation phase
The subregion of pass, the second partition system include bootfs subregions, kernelfs subregions, rootfs subregions, tvysfsfs subregions etc. with
The related subregion of system operation.
In a kind of possible embodiment, as shown in Figure 4 A, the first partition system and the second partition system can be respective
Only include the subregions related to system operation such as bootfs subregions, kernelfs subregions, roofs subregions, tvysfs subregions, wherein
First partition system constitutes complete terminal device operating system with appfs subregions, datafs subregions, can independent operating;Second
Partition system constitutes complete terminal device operating system with appfs subregions, datafs subregions, can independent operating.
In alternatively possible embodiment, as shown in Figure 4 B, the first partition system include bootfs subregions,
The subregion and appfs subregion related to system operation such as kernelfs subregions, roofs subregions, tvysfs subregions;Second subregion system
System include the subregion related to system operation such as bootfs subregions, kernelfs subregions, rootfs subregions, tvysfsfs subregions and
Appfs subregions.Wherein the first partition system and the second partition system can constitute complete terminal device with datafs subregions respectively
Operating system, can independent operating.
To save disk space, it is preferred that the partition system of the embodiment of the present invention first and the second partition system are each only wrapped
Include the subregions related to system operation such as bootfs subregions, kernelfs subregions, rootfs subregions, tvysfsfs subregions.
S302, AKU and terminal device software to be upgraded verified;
For difference bag, the checking procedure after AKU is downloaded is broadly divided into two steps, and a step is used to verify the complete of AKU
Property, second step is used to verify whether AKU partition content matches with terminal device respective partition content.
As described in step S301, one or more subregions in system partitioning and application partition can be included in the AKU
Upgrade file.It is exemplary, the difference upgrade file of kernelfs subregions and tvysfsfs subregions is only included in the AKU, then only
Need to by the differential file of kernelfs subregions and tvysfsfs subregions respectively with kernelfs in the partition system of terminal device first
Subregion and tvysfsfs subregions are verified.Exemplary, the difference upgrade file of each system partitioning is included in the AKU, i.e.,
Include the difference upgrading of bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs subregions, and appfs subregions
File, then need bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs subregions in AKU, and
In the differential file and terminal device of appfs subregions bootfs subregions, kernelfs subregions, rootfs points in the first partition system
Area and tvysfsfs subregions, and appfs partitioned files are verified.
Specifically, each upgrade file after the hash values of each preceding file to be upgraded of upgrading are included in difference bag and are upgraded
Hash values.By taking bootfs partitioned files as an example, only has a file in bootfs subregions, terminal device is in the first partition system
The files of bootfs subregions verified.In a kind of possible embodiment, terminal device is calculated in the first system subregion
The hash values of the file of bootfs subregions, when it is determined that the bootfs subregions before the upgrading that the hash values include with difference bag are waited to rise
When the hash values of level file are identical, it is determined that the file verification of bootfs subregions passes through;Otherwise, it is determined that verification failure.
If S303, verifying successfully, by subregion differential file in AKU and the first partition system respective partition mirror image
The new subregion image file of file synthesis;
S304, each subregion by new subregion image file the second partition system of write-in, perform upgrading.
S305, judge whether the second partition system upgrades successfully.
S306, if so, then changing the startup identifier.
Specifically, starting identifier by the modification of fwrite interfaces, for identifying what is called after terminal device system reboot
For the file of the second partition system subregion.
Exemplary, if terminal device currently runs partition system for A partition systems, then the first partition system is A points
Sound zone system, the second partition system is B partition systems, and bootflag values are 0.After B partition systems are upgraded successfully, modification
Bootflag value is 1, for representing to call partitioned file in B partition systems after restarting terminal device.
S307, when restarting terminal device, according to start identifier load the second partition system partitioned file.
In a kind of possible embodiment, after restarting terminal device, the value for reading startup identifier bootflag is 1,
It is the first partition system that terminal device need to be called then to confirm B partition systems, and A partition systems are the second partition system, then end
Partitioned file in end equipment loading B partition systems.Specifically, drawing when electric on terminal device in B partition systems in bootfs subregions
Kernel program in helical pitch sequence loading kernelfs subregions, then the root file system in kernel in carry rootfs is while carry
Tvysfs subregions and startup middleware program.
S308, if it is not, when restarting terminal device, load the first partition system partitioned file.
Specifically, failing when there is the upgrading of terminal device subregion(As powered off), then startup identifier is not changed, works as terminal
When equipment is restarted, the first partition system partitioned file is still loaded.Specifically, bootfs in A partition systems when electric on terminal device
Kernel program in boot program loads kernelfs subregions in subregion, the then root file system in kernel in carry rootfs
While carry tvysfs subregions and startup middleware program.
Method provided in an embodiment of the present invention, terminal device is received after the AKU of server transmission, is being verified successfully
When, the new AKU of generation subregion determines the first partition system and second that terminal device is currently run according to identifier is started
Partition system, then writes the second partition system subregion by new AKU and is upgraded, and run after restarting terminal device
Second partition system partitioned file.Due to terminal device currently run for the first partition system subregion, upgrading for second point
Sound zone system subregion, on the basis of edition upgrading is ensured, does not on the one hand influence terminal device system normally to use, on the other hand keeps away
Upgrading failure is exempted from(Such as terminal device accident power-off)Cause the problem of terminal device becomes brick.
In a kind of possible embodiment, terminal device subregion as shown in Figure 4 A, the partition system of terminal device first and
Second partition system is each only divided including the subregion related to system operation, i.e. bootfs subregions, kernelfs subregions, rootfs
Area, tvysfs subregions.Terminal device is received after AKU, determines the first partition system and the second partition system;And will be described
Differential file and the file to be upgraded of terminal device respective partition are verified in AKU;, will be described when after verifying successfully
Subregion differential file synthesizes new subregion image file with the first partition system respective partition image file in AKU
Meanwhile, if the AKU includes appfs subregions differential file to be upgraded, by appfs subregions difference in the AKU
File synthesizes new appfs subregion image files with terminal device appfs subregion image files.Normally run in terminal device
When, the new subregion image file of the first partition system of synthesis is write into the corresponding subregion of the second partition system, upgrading is performed;Work as end
When end equipment is restarted, the partitioned file of the second partition system is on the one hand called;On the other hand by the new appfs of the synthesis points
Area's image file write-in appfs subregions, perform upgrading, hereafter start the appfs partitioned files after upgrading or operated according to user
Start the appfs partitioned files after upgrading.
Method provided in an embodiment of the present invention, terminal device is received after the AKU of server transmission, is being verified successfully
When, the first partition system and the second partition system that terminal device is currently run are determined according to identifier is started, to the second subregion
System partitioning is upgraded, and runs after restarting terminal device the second partition system partitioned file and appfs subregions of upgrading.By
In terminal device currently run for the first partition system partitioned file, upgrading for the second partition system partitioned file, a side
Face does not influence terminal device system normally using on the other hand, it is to avoid upgrading failure(Such as terminal device accident power-off)Cause terminal
The problem of equipment becomes brick;;Additionally due to the upgrading of appfs subregions carry out avoiding terminal device after restarting terminal device it is current
The interruption of the application program used.
In alternatively possible embodiment, terminal device subregion as shown in Figure 4 B, the partition system of terminal device first
To the second partition system each include the subregion related to system, i.e. bootfs subregions, kernelfs subregions, rootfs subregions,
Tvysfs subregions and appfs subregions.Terminal device is received after AKU, determines the first partition system and the second partition system;
And verified differential file to be upgraded in the AKU with the first partition system of terminal device respective partition file;Work as school
When testing successfully, subregion differential file in the AKU is synthesized newly with terminal device the first partition system subregion image file
Subregion image file, and new subregion image file is write into the corresponding subregion of the second partition system, perform upgrading.When terminal is set
For when restarting, the partitioned file of the second partition system after upgrading is called.Due to terminal device currently run for the first subregion
System partitioning file, upgrading for the second partition system partitioned file, do not influence terminal device system normally to use;On the other hand
Avoid upgrading failure(Such as terminal device accident power-off)Cause the problem of terminal device becomes brick.
Fig. 5 is a kind of method of edition upgrading provided in an embodiment of the present invention, applied to terminal device, and the terminal device
The AKU of reception is complete packet, and the embodiment shown in Fig. 2 is described in detail by taking complete packet as an example below., should referring to Fig. 5
Method includes:
If S501, AKU are downloaded successfully, read and start identifier, the first partition system and the are determined according to the startup identifier
Two partition systems, wherein the first partition system and the second partition system include the multiple subregions related to system operation respectively, are opened
Dynamic identifier currently runs the first partition system called for identifying terminal device, and the second partition system is the terminal device
Perform the partition system of updating operation;
Wherein, the AKU is divided into two parts:The partitioned file related to system operation, such as bootfs subregions, kernelfs point
Area, rootfs subregions, tvysfsfs partitioned files;And, application file, such as appfs partitioned files.
It is selectable, the AKU that server that terminal device is received is sent can include one in terminal device or
The upgrade file of multiple subregions.
Selectable, the startup identifier can be stored in the positions such as boot, misc, and terminal device is according to its storage address
The value of the startup identifier is obtained, so that it is determined that the partition system that terminal device is currently run.
Exemplary, there is two partition systems, partition system A and partition system B, wherein partition system A and B in terminal device
Bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs points are included comprising identical subregion, i.e. partition system A
Area, partition system B also includes bootfs subregions, kernelfs subregions, rootfs subregions and tvysfsfs subregions.A kind of possible
Implementation in, if terminal device is read, to start identifier bootflag value be 0, represents that A partition systems set for terminal
Standby the first partition system currently run, B partition systems are the second partition system for performing updating operation;Start mark if reading
The value for knowing symbol bootflag is 1, and it is the first partition system that terminal device is currently run, A partition systems to represent B partition systems
To perform the second partition system of updating operation.
The startup identifier set-up mode of the present embodiment is only a kind of exemplary setting, and all mark terminal devices that plays are worked as
The preceding startup identifier set-up mode for running the first partition system called is all fallen within protection scope of the present invention.
S502, AKU and terminal device software to be upgraded verified;
Specifically, AKU is verified with terminal device the first partition system file.
In addition, for complete packet, whether the checking procedure after AKU download is mainly used in verification AKU complete.
If S503, verify successfully, by AKU partitioned file write the second partition system respective partition, perform upgrading.
S504, judge whether the second partition system subregion upgrades successfully.
S505, if so, then changing the startup identifier.
Specifically, starting identifier by the modification of fwrite interfaces, for identifying what is called after terminal device system reboot
For the file of the second partition system subregion.
Exemplary, if terminal device currently runs partition system for A partition systems, then the first partition system is A points
Sound zone system, the second partition system is B partition systems, and bootflag values are 0.After B partition systems are upgraded successfully, modification
Bootflag value is 1, and partitioned file in B partition systems is called after representing restarting terminal device.
S506, when restarting terminal device, according to start identifier load the second partition system partitioned file.
In a kind of possible embodiment, the value for starting identifier bootflag after restarting terminal device by reading is
1, then it is the first partition system that need to be called to confirm B partition systems, and A partition systems are the second partition system, then the terminal device
Load B partition system partitioned files.Specifically, bootstrap adds in bootfs subregions in B partition systems when electric on terminal device
Kernel program in kernelfs subregions is carried, then carry tvysfs points simultaneously of the root file system in kernel in carry rootfs
Area and startup middleware program.
S507, if it is not, when restarting terminal device, load the first partition system partitioned file.
Specifically, failing when there is the upgrading of terminal device subregion(As powered off), then startup identifier is not changed, works as terminal
When equipment is restarted, the first partition system partitioned file is still loaded.
Method provided in an embodiment of the present invention, terminal device is received after the AKU of server transmission, is being verified successfully
When;The partition system of terminal device first and the second partition system are determined according to identifier is started;By subregion upgrading text in AKU
Part writes the second partition system respective partition and upgraded, and it is literary to run after restarting terminal device the second partition system subregion
Part.Due to terminal device currently run for the first partition system subregion, upgrading for the second partition system subregion, ensureing version
On the basis of this renewal, on the one hand do not influence terminal device system normally to use, on the other hand avoid upgrading failure(Such as terminal
Equipment accident power-off)Cause the problem of terminal device becomes brick.
In a kind of possible embodiment, as shown in Figure 4 A, the partition system of terminal device first and the second partition system
Each only divide including the subregion related to system operation, i.e. bootfs subregions, kernelfs subregions, rootfs subregions, tvysfs
Area.Terminal device is received after AKU, determines the first partition system and the second partition system;And will upgrade in the AKU
File is verified with terminal device respective partition file;When after verifying successfully, by AKU subregion upgrade file write-in the
The corresponding subregion of two partition systems, performs upgrading;When restarting terminal device, the subregion text of the second partition system is on the one hand called
Part;If on the other hand AKU includes appfs subregion upgrade files, by appfs points of appfs partitioned files write-in in AKU
Area, performs upgrading, hereafter starts the appfs partitioned files after upgrading or the appfs subregions started after upgrading are operated according to user
File.
Method provided in an embodiment of the present invention, terminal device is received after the AKU of server transmission, is being verified successfully
When, the partition system of terminal device first and the second partition system are determined according to identifier is started, the second partition system subregion is entered
Row upgrading, and run after restarting terminal device the second partition system partitioned file and upgrade application subregion.Due to terminal device
Currently run for the first partition system partitioned file, upgrading for the second partition system partitioned file, on the one hand do not influence end
End equipment system is normally using on the other hand, it is to avoid upgrading failure(Such as terminal device accident power-off)Terminal device is caused to become brick
Problem;;Additionally due to the upgrading of application partition carries out avoiding what terminal device was being currently used after restarting terminal device
The interruption of application program.
In alternatively possible embodiment, as shown in Figure 4 B, the partition system of terminal device first and the second subregion system
System each divides including the subregion related to system operation, i.e. bootfs subregions, kernelfs subregions, rootfs subregions, tvysfs
Area and appfs subregions.Terminal device is received after AKU, determines the first partition system and the second partition system;And will be described
Upgrade file is verified with the first partition system of terminal device respective partition file in AKU;When verifying successfully, by institute
State partitioned file in AKU and write the corresponding subregion of the second partition system, perform upgrading.When restarting terminal device, liter is called
The partitioned file of the second partition system after level.Due to terminal device currently run for the first partition system partitioned file, rise
Level for the second partition system partitioned file, do not influence terminal device system normally to use;On the other hand upgrading failure is avoided
(Such as terminal device accident power-off)Cause the problem of terminal device becomes brick.
For the vivider understanding embodiment of the present invention, Fig. 6 A show the operating system that terminal device is currently run,
I.e. terminal device currently run for the first partition system, terminal device appfs subregions and the first partition system it is corresponding
Datafs subregions.When terminal device has performed edition upgrading of the embodiment of the present invention, and after restarting, terminal device, which is currently run, is
System as shown in Figure 6B, i.e., terminal device operation for the second partition system, terminal device appfs subregions and the first partition system
Corresponding datafs subregions.
Fig. 7 A are a kind of apparatus structure schematic diagram of edition upgrading provided in an embodiment of the present invention.The device is deployed in terminal
Equipment, referring to Fig. 7 A, the device includes:
Partition system determining module 702, if being downloaded successfully for AKU, reads and starts identifier, according to the startup identifier
The first partition system and the second partition system are determined, starts identifier and currently runs first point called for identifying terminal device
Sound zone system, the second partition system is the partition system that the terminal device performs updating operation;
Correction verification module 703, for AKU and terminal device software to be upgraded to be verified;
Upgraded module 704, for upgrading when verifying successfully to the subregion of the second partition system.
Optionally, as shown in Figure 7 B, the device also includes:
AKU download module 701, for there is software version in confirmed service device higher than terminal device current software version
During AKU, AKU is downloaded.
Start identifier modified module 705, for when the second partition system subregion is upgraded successfully, modification to start mark
Symbol, for identifying after restarting terminal device that operation calls for second partition system.
Load-on module 706, for after the restarting terminal device, the second subregion system to be loaded according to the startup identifier
The partitioned file of system.
In summary, device provided in an embodiment of the present invention by partition system determining module 702 terminal device successfully under
Carry after AKU, according to starting standby second point of the first partition system that identifier determines that terminal device currently runs and backstage
Sound zone system, is not directly to terminal after correction verification module 703 is successful by the AKU and terminal device software check to be upgraded
The current runtime of equipment is upgraded, but is upgraded by 704 pair of second partition system subregion of upgraded module.The upgrading mould
Formula, ensure edition upgrading while, due to terminal device currently run for the first partition system partitioned file, upgrading is
Second partition system partitioned file, does not on the one hand influence system normally to use, and on the other hand avoids upgrading failure(As terminal is set
Standby accident power-off)Cause the problem of terminal device becomes brick.
In a kind of possible embodiment, whether correction verification module 703 is complete for verifying AKU.
In alternatively possible embodiment, correction verification module 703, specifically for by AKU partitioned file and first point
If sound zone system partitioned file is verified and for being included appfs in AKU in AKU during appfs subregion upgrade files
Partitioned file is verified with terminal device appfs partitioned files.
In the possible embodiment, if upgraded module 704 is additionally operable in AKU include appfs subregion upgrade files
When, appfs subregions are upgraded after restarting terminal device.
In above-mentioned possible embodiment, device provided in an embodiment of the present invention is in updating terminal device bag download module
701 successes download AKU from server, determine that terminal device is current according to identifier is started by partition system determining module 702
Standby the second partition system of the first partition system and backstage of operation, is set the AKU and terminal by correction verification module 703
After standby software check to be upgraded success, upgraded and by upgraded module 704 by 704 pair of second partition system subregion of upgraded module
Appfs subregions are upgraded after restarting terminal device.The upgrade mode, while edition upgrading is ensured, due to terminal
Equipment currently run for the first partition system partitioned file, upgrading for subregion the second partition system partitioned file, on the one hand
Do not influence system normally to use, on the other hand avoid upgrading failure(Such as terminal device accident power-off)Terminal device is caused to become brick
The problem of;Additionally due to the upgrading of appfs subregions is carried out avoiding terminal device after restarting terminal device and is being currently used
Application program interruption.
Fig. 8 is a kind of apparatus structure schematic diagram of edition upgrading provided in an embodiment of the present invention.The device is deployed in terminal
Equipment, referring to Fig. 8 A, the device includes:
Partition system determining module 802, if being downloaded successfully for AKU, reads and starts identifier, identifier is true according to starting
Fixed first partition system and the second partition system, start identifier and currently run the first subregion called for identifying terminal device
System, the second partition system is the partition system that the terminal device performs updating operation;
Correction verification module 803, for AKU and terminal device software to be upgraded to be verified;
AKU generation module 804, if being difference bag for AKU, when correction verification module 803 is verified successfully, by AKU
Subregion differential file synthesizes new subregion image file with the first partition system respective partition image file;
Upgraded module 805, the new subregion image file for AKU generation module to be synthesized is respectively written into the second subregion system
System respective partition.
Optionally, as shown in Figure 8 B, the device also includes:
AKU download module 801, for there is software version in confirmed service device higher than terminal device current software version
During AKU, AKU is downloaded.
Start identifier modified module 806, for when the second partition system subregion is upgraded successfully, modification to start mark
Symbol, for identifying after restarting terminal device that operation calls for second partition system.
Load-on module 807, for after the restarting terminal device, the second subregion system to be loaded according to the startup identifier
The partitioned file of system.
In summary, device provided in an embodiment of the present invention is determined in device provided in an embodiment of the present invention by partition system
If module 802 is when AKU is downloaded successfully, the first partition system that terminal device is currently run is determined according to identifier is started
Second partition system standby with backstage, by correction verification module 803 by the AKU and terminal device software check to be upgraded into
After work(, by AKU generation module 804 by subregion differential file in AKU and the first partition system respective partition image file
The new subregion image file of synthesis, is then upgraded by 805 pair of second partition system subregion of upgraded module.The upgrade mode,
While edition upgrading is ensured, due to terminal device currently run for the first partition system partitioned file, upgrading for the
Two partition system partitioned files, on the one hand do not influence system normally to use, and on the other hand avoid upgrading failure(Such as terminal device
Accident power-off)Cause the problem of terminal device becomes brick.
It should be noted that:The device that shows of the network information that above-described embodiment is provided in display networks, only with
It is above-mentioned.The division progress of each functional module is for example, in practical application, as needed can distribute above-mentioned functions by not
Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above
Or partial function.In addition, the network information that above-described embodiment the is provided device shown and the method that the network information is shown are implemented
Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
Fig. 9 is a kind of mobile terminal structure schematic diagram provided in an embodiment of the present invention.Referring to Fig. 9, mobile terminal 900 can be with
Including communication unit 910, include memory 920, the input block of one or more computer-readable recording mediums
930th, display unit 940, sensor 950, voicefrequency circuit 960, WIFI(Wireless Fidelity, Wireless Fidelity)Module
970th, the part such as one or the processor 990 and power supply 980 of more than one processing core is included.People in the art
Member is appreciated that the mobile terminal structure shown in Fig. 9 does not constitute the restriction to mobile terminal, can include more more than illustrating
Or less part, either combine some parts or different parts arrangement.Wherein:
Communication unit 910 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, the communication unit 910 can be with
For RF(Radio Frequency, radio frequency)Circuit, router, modem, etc. network communication equipment.Especially, communication is worked as
When unit 910 is RF circuits, after the downlink information of base station is received, transfers to one or more than one processor 980 is handled;Separately
Outside, up data will be related to and is sent to base station.Include but is not limited to antenna, at least usually as the RF circuits of communication unit
One amplifier, tuner, one or more oscillators, subscriber identity module(SIM)Card, transceiver, coupler, LNA
(Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 910 can also pass through channel radio
Letter communicates with network and other equipment.The radio communication can use any communication standard or agreement, include but is not limited to
GSM、GPRS(General Packet Radio Service, general packet radio service)、CDMA(Code Division
Multiple Access, CDMA)、WCDMA、LTE(Long Term Evolution, Long Term Evolution), Email,
SMS(Short Messaging Service, Short Message Service)Deng.Memory 920 can be used for storage software program and mould
Block, processor 980 is stored in the software program and module of memory 920 by operation, thus perform various function application with
And data processing.Memory 920 can mainly include storing program area and storage data field, wherein, storing program area can store behaviour
Make the application program needed for system, at least one function(Such as sound-playing function, image player function etc.)Deng;Data storage
Area can be stored uses created data according to mobile terminal 900(Such as voice data, phone directory etc.)Deng.In addition, storage
Device 920 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one disk storage
Device, flush memory device or other volatile solid-state parts.Correspondingly, memory 920 can also include memory control
Device, to provide the access of processor 980 and input block 930 to memory 920.
Input block 930 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Preferably, input block 930 may include to touch
Sensitive surfaces 931 and other input equipments 932.Touch sensitive surface 931, also referred to as touch display screen or Trackpad, collect and use
Touch operation of the family on or near it(Such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table
Operation on face 931 or near touch sensitive surface 931), and corresponding attachment means are driven according to formula set in advance.It is optional
, touch sensitive surface 931 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection means, and is converted into contact coordinate, then gives processor 980, and can reception processing device 980
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 931.Except touch sensitive surface 931, input block 930 can also include other input equipments 932.Preferably,
Other input equipments 932 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、
One or more in trace ball, mouse, action bars etc..
Display unit 940 can be used for the information that is inputted by user of display or the information for being supplied to user and terminal 900
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 940 may include display panel 941, optionally, can use LCD(Liquid Crystal Display, liquid crystal
Show device)、OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Display panel is configured etc. form
941.Further, touch sensitive surface 931 can cover display panel 941, when touch sensitive surface 931 detects touching on or near it
Touch after operation, send processor 980 to determine the type of touch event, with type of the preprocessor 980 according to touch event
Corresponding visual output is provided on display panel 941.Although in fig .9, touch sensitive surface 931 and display panel 941 are conducts
Two independent parts are inputted and input function to realize, but in some embodiments it is possible to by touch sensitive surface 931 with showing
Panel 941 is integrated and realizes input and output function.
Mobile terminal 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other
Sensor.Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 941, proximity transducer can close display when mobile terminal 900 is moved in one's ear
Panel 941 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions(Generally
Three axles)The size of acceleration, can detect that size and the direction of gravity when static, the application available for identification mobile phone posture(Than
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely
The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure in mobile terminal 900,
It will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile terminal 900.
Electric signal after the voice data received conversion can be transferred to loudspeaker 961, is changed by loudspeaker 961 by voicefrequency circuit 960
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is connect by voicefrequency circuit 960
Voice data is converted to after receipts, then after voice data output processor 980 is handled, through communication unit 910 to be sent to such as
Another terminal, or voice data is exported to memory 920 so as to further processing.Voicefrequency circuit 960 is also possible that ear
Tip jack, to provide the communication of peripheral hardware earphone and terminal 900.
In order to realize radio communication, wireless communication unit 970 can be configured with the terminal, the wireless communication unit 970
It can be WIFI module.WIFI belongs to short range wireless transmission technology, and mobile terminal 900 can be with by wireless communication unit 970
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.Although showing wireless communication unit 970 in Fig. 9, but it is understood that, it is simultaneously not belonging to mobile terminal 900
It must be configured into, can be omitted as needed in the essential scope for do not change invention completely.
Processor 980 is the control centre of mobile terminal 900, utilizes each of various interfaces and connection whole mobile phone
Part, by operation or performs and is stored in software program and/or module in memory 920, and calls and be stored in memory
Data in 920, perform the various functions and processing data of mobile terminal 900, so as to carry out integral monitoring to mobile phone.It is optional
, processor 980 may include one or more processing cores;It is preferred that, processor 980 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile terminal 900 also includes the power supply 990 powered to all parts(Such as battery), it is preferred that power supply can lead to
Cross power-supply management system and processor 980 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 960 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 900 can also include camera, bluetooth module etc., will not be repeated here.Specifically exist
In the present embodiment, mobile terminal also includes one or more than one program, this or more than one program storage
In memory, and it is configured to by one or more than one computing device, one or more than one program bag
Containing the instruction for carrying out the edition upgrading described in above-mentioned Fig. 2-Fig. 5 provided in an embodiment of the present invention.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory of instruction, above-mentioned instruction can complete the above method by the computing device of mobile terminal.For example, described non-
Provisional computer-readable recording medium can be ROM, random access memory(RAM), CD-ROM, tape, floppy disk and light number
According to storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device is performed so that the step of mobile terminal is able to carry out the display methods of the network information described in above-mentioned Fig. 2-Fig. 5.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (10)
1. a kind of method of edition upgrading, applied to terminal device, it is characterised in that methods described includes:
If AKU is downloaded successfully, read and start identifier, the first partition system and second are determined according to the startup identifier
Partition system, for identifying the terminal device, currently the first partition system, described second are called in operation to the startup identifier
Partition system is the partition system that the terminal device performs updating operation;
The AKU is verified with terminal device software to be upgraded;
If verifying successfully, the second partition system subregion is upgraded.
2. method according to claim 1, it is characterised in that described that upgrading is carried out to the second partition system subregion
Afterwards, including:
If the second partition system subregion is upgraded successfully, the startup identifier is changed, for identifying restarting terminal device
Afterwards operation call for the second partition system.
3. according to the method described in claim 1, it is characterised in that described by the upgrading if the AKU is difference bag
After bag and terminal device software check success to be upgraded, methods described includes:
Subregion differential file in the AKU is synthesized into new subregion mirror image with the first partition system subregion image file
File;
The new subregion image file is write into the corresponding subregion of the second partition system, upgraded.
4. according to any methods described of claim 1 ~ 3, it is characterised in that described that second partition system subregion is upgraded
Afterwards, including:
When the restarting terminal device, the second partition system partitioned file is loaded according to the startup identifier.
5. according to any methods described of claim 1 or 3, it is characterised in that methods described also includes:
If the second partition system upgrading failure, when the restarting terminal device, loads the first partition system subregion
File.
6. a kind of device of edition upgrading, applied to terminal device, it is characterised in that described device includes:
Partition system determining module, if for receiving AKU, reading and starting identifier, is determined according to the startup identifier
First partition system and the second partition system, for identifying the terminal device, currently operation calls first to the startup identifier
Partition system, second partition system is the partition system that the terminal device performs updating operation;
Correction verification module, for the AKU to be verified with terminal device software to be upgraded;
Upgraded module, for when the correction verification module is verified successfully, upgrading to the subregion of second partition system.
7. device according to claim 6, it is characterised in that described device also includes:
Start identifier modified module, if being upgraded successfully for the second partition system subregion, change the startup identifier,
For identifying after restarting terminal device that operation calls for second partition system.
8. device according to claim 6, it is characterised in that if the AKU is difference bag, described device also includes:
AKU generation module, if being verified successfully for the correction verification module, by subregion differential file in the AKU and institute
State the first partition system subregion image file and synthesize new subregion image file;
The upgraded module, for the new subregion image file to be write into the corresponding subregion of the second partition system, enters
Row upgrading.
9. according to any described device of claim 6 ~ 8, it is characterised in that also include:
Load-on module, if being upgraded successfully for second partition system, when the restarting terminal device, starts according to described
Identifier loads the second partition system partitioned file.
10. according to any described device of claim 6 or 8, it is characterised in that also include:
Load-on module, fails if upgrading for the second partition system, when the restarting terminal device, loads first subregion
System partitioning file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710430513.XA CN107273160A (en) | 2017-06-09 | 2017-06-09 | A kind of method and device of edition upgrading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710430513.XA CN107273160A (en) | 2017-06-09 | 2017-06-09 | A kind of method and device of edition upgrading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107273160A true CN107273160A (en) | 2017-10-20 |
Family
ID=60065899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710430513.XA Withdrawn CN107273160A (en) | 2017-06-09 | 2017-06-09 | A kind of method and device of edition upgrading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273160A (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109101279A (en) * | 2018-06-26 | 2018-12-28 | 珠海全志科技股份有限公司 | A kind of compatible starting method of multi version system |
CN110134426A (en) * | 2019-04-18 | 2019-08-16 | 深圳市致宸信息科技有限公司 | A kind of embedded system upgrade method, device and terminal device |
CN110231949A (en) * | 2019-06-25 | 2019-09-13 | 广东小天才科技有限公司 | System upgrading method and device, electronic equipment and storage medium |
CN110580167A (en) * | 2018-06-11 | 2019-12-17 | 海能达通信股份有限公司 | system upgrading method, intelligent device and server |
CN110865837A (en) * | 2019-11-14 | 2020-03-06 | 青岛海信移动通信技术股份有限公司 | Method and terminal for upgrading system |
CN111090443A (en) * | 2019-11-20 | 2020-05-01 | 深圳市桑格尔科技股份有限公司 | Method, equipment and storage medium for guaranteeing safe upgrade of linux system |
CN111787098A (en) * | 2020-06-30 | 2020-10-16 | 歌尔科技有限公司 | Earphone upgrading method and device, earphone and storage medium |
CN111857761A (en) * | 2019-04-28 | 2020-10-30 | 中国移动通信集团河南有限公司 | Method and equipment for upgrading container cluster service application program |
CN111897562A (en) * | 2020-07-21 | 2020-11-06 | 阿理新能源科技(昆山)有限公司 | Program upgrading method and device |
CN112118280A (en) * | 2020-06-19 | 2020-12-22 | 上海汉枫电子科技有限公司 | Recovery method after OTA upgrade failure of WI-FI equipment |
CN113031981A (en) * | 2019-12-25 | 2021-06-25 | 观致汽车有限公司 | Vehicle software upgrading method and system and vehicle |
CN113064608A (en) * | 2020-01-02 | 2021-07-02 | 广东博智林机器人有限公司 | OTA (over the air) upgrading method, device, equipment and medium |
CN113238772A (en) * | 2021-04-29 | 2021-08-10 | 联合汽车电子有限公司 | Program updating method, domain controller, and storage medium |
CN113407211A (en) * | 2021-06-20 | 2021-09-17 | 杭州登虹科技有限公司 | Embedded equipment-based upgrading method without redundant space |
CN113473098A (en) * | 2021-08-20 | 2021-10-01 | 海信电子科技(武汉)有限公司 | Display apparatus and display method |
CN113721943A (en) * | 2021-09-03 | 2021-11-30 | 青岛海信宽带多媒体技术有限公司 | Router and mirror image self-upgrading method |
CN113821234A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113821263A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Management method, device, storage medium and computer program product of operating system |
CN114816495A (en) * | 2022-05-25 | 2022-07-29 | 歌尔股份有限公司 | OTA (over the air) upgrading method and device, electronic equipment and readable storage medium |
CN115095950A (en) * | 2022-05-20 | 2022-09-23 | 北京小米移动软件有限公司 | Method and device for controlling air conditioner, electronic equipment and storage medium |
CN115729586A (en) * | 2021-06-15 | 2023-03-03 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN110275728B (en) * | 2019-06-28 | 2023-11-07 | 瓴盛科技有限公司 | System and method for updating firmware |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544031A (en) * | 2013-08-27 | 2014-01-29 | Tcl集团股份有限公司 | Android system updating method and system of multi-partition external storage equipment |
CN105094903A (en) * | 2015-07-16 | 2015-11-25 | 广州飞米电子科技有限公司 | Method and device for upgrading firmware |
CN105760200A (en) * | 2016-02-26 | 2016-07-13 | 晨星半导体股份有限公司 | Terminal device and system updating method thereof |
CN106020865A (en) * | 2016-05-10 | 2016-10-12 | 百度在线网络技术(北京)有限公司 | System upgrading method and device |
-
2017
- 2017-06-09 CN CN201710430513.XA patent/CN107273160A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544031A (en) * | 2013-08-27 | 2014-01-29 | Tcl集团股份有限公司 | Android system updating method and system of multi-partition external storage equipment |
CN105094903A (en) * | 2015-07-16 | 2015-11-25 | 广州飞米电子科技有限公司 | Method and device for upgrading firmware |
CN105760200A (en) * | 2016-02-26 | 2016-07-13 | 晨星半导体股份有限公司 | Terminal device and system updating method thereof |
CN106020865A (en) * | 2016-05-10 | 2016-10-12 | 百度在线网络技术(北京)有限公司 | System upgrading method and device |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110580167A (en) * | 2018-06-11 | 2019-12-17 | 海能达通信股份有限公司 | system upgrading method, intelligent device and server |
CN109101279A (en) * | 2018-06-26 | 2018-12-28 | 珠海全志科技股份有限公司 | A kind of compatible starting method of multi version system |
CN110134426A (en) * | 2019-04-18 | 2019-08-16 | 深圳市致宸信息科技有限公司 | A kind of embedded system upgrade method, device and terminal device |
CN111857761A (en) * | 2019-04-28 | 2020-10-30 | 中国移动通信集团河南有限公司 | Method and equipment for upgrading container cluster service application program |
CN110231949A (en) * | 2019-06-25 | 2019-09-13 | 广东小天才科技有限公司 | System upgrading method and device, electronic equipment and storage medium |
CN110275728B (en) * | 2019-06-28 | 2023-11-07 | 瓴盛科技有限公司 | System and method for updating firmware |
CN110865837A (en) * | 2019-11-14 | 2020-03-06 | 青岛海信移动通信技术股份有限公司 | Method and terminal for upgrading system |
CN110865837B (en) * | 2019-11-14 | 2023-08-18 | 青岛海信移动通信技术有限公司 | Method and terminal for system upgrade |
CN111090443A (en) * | 2019-11-20 | 2020-05-01 | 深圳市桑格尔科技股份有限公司 | Method, equipment and storage medium for guaranteeing safe upgrade of linux system |
CN113031981A (en) * | 2019-12-25 | 2021-06-25 | 观致汽车有限公司 | Vehicle software upgrading method and system and vehicle |
CN113064608A (en) * | 2020-01-02 | 2021-07-02 | 广东博智林机器人有限公司 | OTA (over the air) upgrading method, device, equipment and medium |
CN112118280A (en) * | 2020-06-19 | 2020-12-22 | 上海汉枫电子科技有限公司 | Recovery method after OTA upgrade failure of WI-FI equipment |
CN111787098A (en) * | 2020-06-30 | 2020-10-16 | 歌尔科技有限公司 | Earphone upgrading method and device, earphone and storage medium |
CN111897562A (en) * | 2020-07-21 | 2020-11-06 | 阿理新能源科技(昆山)有限公司 | Program upgrading method and device |
CN113238772A (en) * | 2021-04-29 | 2021-08-10 | 联合汽车电子有限公司 | Program updating method, domain controller, and storage medium |
CN113238772B (en) * | 2021-04-29 | 2024-02-23 | 联合汽车电子有限公司 | Program updating method, domain controller, and storage medium |
CN113821234A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113821263A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Management method, device, storage medium and computer program product of operating system |
CN115729586A (en) * | 2021-06-15 | 2023-03-03 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN115729586B (en) * | 2021-06-15 | 2023-10-20 | 荣耀终端有限公司 | Operating system upgrade method, device, storage medium and computer program product |
US12093678B2 (en) | 2021-06-15 | 2024-09-17 | Honor Device Co., Ltd. | Operating system management method, device, storage medium, and computer program product |
CN113407211A (en) * | 2021-06-20 | 2021-09-17 | 杭州登虹科技有限公司 | Embedded equipment-based upgrading method without redundant space |
CN113473098B (en) * | 2021-08-20 | 2023-03-24 | Vidaa(荷兰)国际控股有限公司 | Display apparatus and display method |
CN113473098A (en) * | 2021-08-20 | 2021-10-01 | 海信电子科技(武汉)有限公司 | Display apparatus and display method |
CN113721943A (en) * | 2021-09-03 | 2021-11-30 | 青岛海信宽带多媒体技术有限公司 | Router and mirror image self-upgrading method |
CN115095950A (en) * | 2022-05-20 | 2022-09-23 | 北京小米移动软件有限公司 | Method and device for controlling air conditioner, electronic equipment and storage medium |
CN114816495A (en) * | 2022-05-25 | 2022-07-29 | 歌尔股份有限公司 | OTA (over the air) upgrading method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273160A (en) | A kind of method and device of edition upgrading | |
CN103455348B (en) | Subarea adjustment, device, terminal, server and system | |
CN110046497B (en) | Function hook realization method, device and storage medium | |
CN106502703B (en) | Function calling method and device | |
CN103810004B (en) | Method and device for upgrading embedded system as well as equipment | |
CN105490919A (en) | Message withdrawal method and device | |
CN110058850B (en) | Application development method and device and storage medium | |
CN108228230A (en) | Upgrade method, terminal and the computer readable storage medium of UFS firmwares | |
CN105278937A (en) | Method and device for displaying pop-up box messages | |
CN103473163A (en) | Application program detection method and device | |
CN105760203A (en) | Software upgrading method and terminal equipment | |
US9588757B2 (en) | Data update method, user terminal, and data update system | |
CN104717341A (en) | Message prompting method and terminal | |
CN106919458B (en) | Method and device for Hook target kernel function | |
CN103491525A (en) | Method for achieving card-free mobile phone, mobile phone and server | |
CN108090345B (en) | Linux system external command execution method and device | |
CN104954159A (en) | Network information statistics method and device | |
CN104869465A (en) | Video playing control method and device | |
US20220255639A1 (en) | Radio frequency parameter processing method and device, and mobile terminal and storage medium | |
CN103607431B (en) | Mobile terminal resource processing method, device and equipment | |
CN103713943A (en) | Native terminal operating system based application function realization method and device | |
CN111522575B (en) | Application program upgrading method and electronic equipment | |
CN104253870A (en) | Method and device for controlling data access period | |
CN106445719A (en) | Recovery-mode Recovery instruction reading and writing method and device | |
US9928134B2 (en) | Method and apparatus for repairing dynamic link library file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171020 |