CN106775881A - A kind of method and device of system upgrade - Google Patents

A kind of method and device of system upgrade Download PDF

Info

Publication number
CN106775881A
CN106775881A CN201611206457.3A CN201611206457A CN106775881A CN 106775881 A CN106775881 A CN 106775881A CN 201611206457 A CN201611206457 A CN 201611206457A CN 106775881 A CN106775881 A CN 106775881A
Authority
CN
China
Prior art keywords
writeable
subregion
upgrade
current system
upgraded
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.)
Granted
Application number
CN201611206457.3A
Other languages
Chinese (zh)
Other versions
CN106775881B (en
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201611206457.3A priority Critical patent/CN106775881B/en
Publication of CN106775881A publication Critical patent/CN106775881A/en
Application granted granted Critical
Publication of CN106775881B publication Critical patent/CN106775881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The embodiment of the invention discloses a kind of method of system upgrade, including:Reception system upgrade command;Determine whether each subregion of current system is writeable;The authority of the not writeable subregion in the current system is revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion upgrade;After the writeable subregion completes upgrading and the current system is restarted, the not writeable subregion is upgraded.The embodiment of the invention also discloses a kind of system upgrade device.The embodiment of the present invention can first to terminal device in writeable subregion be updated, and after not writeable subregion is adjusted into writeable subregion, then subregion to not completing system upgrade carries out system upgrade, it is achieved thereby that the system upgrade of not writeable subregion.

Description

A kind of method and device of system upgrade
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method and device of system upgrade.
Background technology
Operating system has the concept of subregion, wherein, for subregion have it is readable it is not writeable, it is unreadable it is not writeable with And the readable limiting operation such as writeable, and operating system needs to have upgrade function, upgrade function is exactly to enter row write to some subregions Operation.
At present, due to terminal device in user on hand, when occurring if important technical leak, then the terminal should be set Standby system is updated, it is therefore desirable to one section of new code is write in the terminal device that user is held.But terminal sets Certain standby subregion may be set to not writeable subregion, and at this moment will just face ROMPaq does not have authority to enter row write behaviour to the subregion The problem of work.
The content of the invention
A kind of method and device of system upgrade is the embodiment of the invention provides, to solve what not writeable subregion cannot upgrade Problem.
In view of this, first aspect present invention provides a kind of method of system upgrade, including:
Reception system upgrade command;
Determine whether each subregion of current system is writeable;
The authority of the not writeable subregion in the current system is revised as it is writeable, while according to the system upgrade instruct Writeable subregion in the current system is upgraded;
After the writeable subregion completes upgrading and the current system is restarted, the not writeable subregion is risen Level.
With reference to the embodiment of the present invention in a first aspect, in the first possible implementation, to the not writeable subregion After being upgraded, methods described also includes:
The current system of terminal is restarted again.
With reference to the first implementation of the first aspect of the embodiment of the present invention, in second possible implementation, institute Stating method also includes:
When there is the not writeable subregion in the current system, in any bit of the writeable subregion of the current system Install mark A;
After the not writeable subregion completes to upgrade and come into force, wipe the mark A or be revised as the mark A Other marks in addition to the mark A;
Before the current system for restarting terminal again, also include:
Determine there is the mark A in the current system.
With reference to the first implementation of the first aspect of the embodiment of the present invention, in the third possible implementation, institute State includes before upgrading to the not writeable subregion:
Send whether the reminder message upgraded to the not writeable subregion.
First aspect, first aspect with reference to the embodiment of the present invention the first to the third implementation it is Central European any one, In the 4th kind of possible implementation, methods described is applied in remote upgrade.
Second aspect present invention provides a kind of device of system upgrade, including:
Receiver module, for reception system upgrade command;
First determining module, after receiving the system upgrade instruction in the receiver module, it is determined that current system Whether each subregion of system is writeable;
First upgraded module, the power of the not writeable subregion for the first determining module described in the current system to be determined Limit be revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion upgrade;
Second upgraded module, for after the writeable subregion completes upgrading and the current system is restarted, to described Not writeable subregion is upgraded.
With reference to the second aspect of the embodiment of the present invention, in the first possible implementation, described device also includes:
Restart module, after upgrading to the not writeable subregion for second upgraded module, terminal is restarted again Current system.
With reference to the first implementation of the second aspect of the embodiment of the present invention, in second possible implementation, institute Stating device also includes:
Setup module, for when there is the not writeable subregion in the current system, in the current system can Any position for writing subregion sets mark A;
Modified module, for after the not writeable subregion completes to upgrade and come into force, wiping the setup module and setting The mark A or by the mark A be revised as in addition to the mark A other mark;
Second determining module, for it is described restart the current system that module restarts terminal again before, it is determined that it is described work as There is the mark A in preceding system.
With reference to the first implementation of the second aspect of the embodiment of the present invention, in the third possible implementation, institute Stating device also includes:
Sending module, for whether before second upgraded module is upgraded to the not writeable subregion, it to be right to send The reminder message that the not writeable subregion is upgraded.
Second aspect, second aspect with reference to the embodiment of the present invention the first in the third implementation any one, In 4th kind of possible implementation, described device is applied in remote upgrade.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, there is provided a kind of method of system upgrade, referred to by the upgrading of system upgrade device reception system Order, determines whether each subregion of current system is writeable, and system upgrade device is again by the authority of the not writeable subregion in current system Be revised as it is writeable, while according to system upgrade instruction to current system in writeable subregion upgrade, when writeable subregion complete Upgrade and after the current system restarts, system upgrade device is upgraded to not writeable subregion.Through the above way, can be with First to terminal device in writeable subregion be updated, and after not writeable subregion is adjusted into writeable subregion, then to not completing system The subregion upgraded of uniting carries out system upgrade, it is achieved thereby that the system upgrade of not writeable subregion.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of method one embodiment of system upgrade in the embodiment of the present invention;
Fig. 2 is the structural representation of device one embodiment of system upgrade in the embodiment of the present invention;
Fig. 3 is the structural representation of another embodiment of the device of system upgrade in the embodiment of the present invention;
Fig. 4 is the structural representation of another embodiment of the device of system upgrade in the embodiment of the present invention;
Fig. 5 is the structural representation of another embodiment of the device of system upgrade in the embodiment of the present invention.
Specific embodiment
A kind of method and device of system upgrade is the embodiment of the invention provides, solving not writeable subregion carries out system liter Problem in the middle of level.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage Solution so data for using can be exchanged in the appropriate case, so that embodiments of the invention described herein for example can be removing Order beyond those for illustrating herein or describing is implemented.Additionally, term " comprising " and " having " and theirs is any Deformation, it is intended that covering is non-exclusive to be included, for example, containing process, method, system, the product of series of steps or unit Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or for this A little processes, method, product or other intrinsic steps of equipment or unit.It is right below in conjunction with the accompanying drawing in the embodiment of the present invention Technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention one Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making wound The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
The method to system upgrade in the present invention is described in detail below, refers to Fig. 1, provided in an embodiment of the present invention A kind of embodiment of the method for system upgrade includes:
101st, reception system upgrade command;
In the present embodiment, system upgrade device reception system upgrade command first, wherein, system upgrade instruction can be used The automatic triggering when the system of detecting needs to update in trigger, or terminal device, system upgrade is instructed for referring to Show that terminal device can currently carry out system upgrade.
102nd, determine whether each subregion of current system is writeable;
In the present embodiment, determine whether each subregion in current system is writeable by system upgrade device, wherein, here Subregion may refer to the subregion on subregion, or code logic on hardware.The developer of operating system, in the system of carrying out During exploitation, for the part that some need not often be changed, or security function higher, this partial content can be write one Individual subregion, and be set to it is not writeable so that user cannot modify to this partial content.
103rd, the authority of the not writeable subregion in current system is revised as it is writeable, while according to system upgrade instruction to work as Writeable subregion in preceding system is upgraded;
In the present embodiment, the content as described in above-mentioned step 102, if it is determined that have not writeable point in current system Area, then it is writeable to need the priority assignation corresponding to the not writeable subregion in current system.Wherein, authority refers to that certain is specific User there is specific system resource to use power.Generally, system manager or network manager in a network can be with The different authority of user is distributed in use to certain specific resources, and systems soft ware then automatically enforces these authorities.
While the authority of not writeable subregion in current system is revised as writeable by system upgrade device, can also basis Writeable subregion during system upgrade is instructed to current system is upgraded.Escalation process is using upgrading compressed package first to writeable Subregion is upgraded, due to now simply by the modification of the authority of the not writeable subregion in order to writeable, but also and Pending The Entry Into Force, so this When still cannot complete the upgrading of the not writeable subregion.
104th, after writeable subregion completes upgrading and current system is restarted, not writeable subregion is upgraded.
In the present embodiment, the writeable subregion in upgrading compressed package is used to current system completes upgrading, and to terminal Equipment is carried out after system reboot, you can the writeable subregion in current system is upgraded.Now because system completes weight Open, so the new authority of not writeable subregion enters into force, i.e., be changed into writeable subregion via not writeable subregion, so that ROMPaq Write operation could be carried out not writeable subregion (becoming for writeable subregion), complete to update upgrading.
That is restarting in order to the content newly write comes into force now, the content newly write includes the content of writeable subregion upgrading, with And the authority of the not writeable subregion of modification.After restarting, not writeable subregion originally really becomes writeable subregion.
In the embodiment of the present invention, there is provided a kind of method of system upgrade, upgraded by system upgrade device elder generation reception system Instruction, it is then determined that whether each subregion of current system is writeable, system upgrade device is again by the not writeable subregion in current system Authority be revised as it is writeable, while according to system upgrade instruction to current system in writeable subregion upgrade, when writeable point After area's completion is upgraded and the current system is restarted, system upgrade device is upgraded to not writeable subregion.By above-mentioned side Formula, can first to terminal device in not writeable subregion be updated, then to renewal after writeable subregion after carry out system upgrade, During so as to solving the problems, such as to carry out system upgrade to not writeable subregion.
Alternatively, on the basis of the corresponding embodiments of above-mentioned Fig. 1, the method for system upgrade provided in an embodiment of the present invention In first alternative embodiment, after upgrading to not writeable subregion, can also include:
The current system of terminal is restarted again.
In the present embodiment, after system upgrade device will ensure to upgrade not writeable subregion, in the not writeable subregion Updated contents come into force, then also need to restart the current system of terminal.
In escalation process, the system of the system past tense for dispatching from the factory, we cannot control its authority, and it can't make us The new content for adding comes into force.Will be when upgrading be completed and restarts system, we can just come into force at the new content for adding, also That system now has been current system, namely AKU (updated contents) we be controllable, by the liter in AKU Level script, realizes the upgrading flow of control ROMPaq, meanwhile, also just not writeable subregion can be set to writeable subregion.
Secondly, in the embodiment of the present invention, after system upgrade device is upgraded to not writeable subregion, can also weigh again Open the current system of terminal.Through the above way, it is ensured that the promoted completion of the current system of terminal device, not only to being The writeable subregion of system is upgraded, while also complete upgrading to not writeable subregion, so as to improve the reliability of scheme with Practicality.
Alternatively, on the basis of the corresponding one embodiment of above-mentioned Fig. 1, system upgrade provided in an embodiment of the present invention Second alternative embodiment of method in, can also include:
When there is not writeable subregion in current system, mark A is set in any position of the writeable subregion of current system;
After not writeable subregion completes to upgrade and come into force, erasing indicates A or mark A is revised as in addition to A is indicated Other mark;
Before restarting the current system of terminal again, can also include:
Determine there is mark A in current system.
In the present embodiment, if system upgrade device judges to obtain also there is not writeable subregion in current system, working as Optional position in the writeable subregion of preceding system sets a mark A, is also just identified in current system in the presence of can not by indicating A Subregion is write, namely has the subregion for not completing upgrading.System upgrade device is before whole upgrading flow is completed, in addition it is also necessary to restart Terminal current system, system upgrade device is also deposited in the case of it is determined that there is mark A in current system in expression current system The subregion (subregion has been upgraded, but Pending The Entry Into Force) of upgrading is not being completed, so as to carry out system reboot, the subregion for making completion upgrade is given birth to Effect, then wipes the mark A in writeable subregion, or mark A is substituted for into other marks, and whole upgrading has been represented with this Complete.
Again, in the embodiment of the present invention, it is illustrated how come into force using indicating whether the A not writeable subregions of checking upgrade, i.e., When there is not writeable subregion in current system, mark A is set in any position of the writeable subregion of current system, then when can not Write after subregion completes to upgrade and come into force, mark A can be wiped or will indicate that A is revised as other marks in addition to A is indicated, Before the current system for restarting terminal again, it is thus necessary to determine that there is mark A in current system.Through the above way, Ke Yida To the purpose of not writeable subregion of disposably upgrading, system upgrade device is first upgraded and carries the writeable subregions of mark A, when then restarting Wait, the code of those writeable subregions enters into force, it will go to find either with or without mark A, if mark A, that is, need ROMPaq is reentered to go not writeable subregion to upgrade, i.e., completion system upgrading need to restart altogether be twice System, if not indicating A, avoids the need for restarting system again, i.e. completion system upgrading only needs to restart primary system, so as to reach To the purpose that system is disposably upgraded, so that the operation ease of lifting scheme.
Alternatively, on the basis of the corresponding one embodiment of above-mentioned Fig. 1, system upgrade provided in an embodiment of the present invention The 3rd alternative embodiment of method in, can also include before upgrading to not writeable subregion:
Send whether the reminder message upgraded to not writeable subregion.
In the present embodiment, system upgrade device can also in advance send one before upgrading to not writeable subregion Whether the reminder message upgraded to not writeable subregion, the prompting message will be showed in terminal interface, and user can select manually Whether select needs to upgrade not writeable subregion.
The selection of "Yes" or "No" can be included in reminder message, is represented respectively and not writeable subregion is upgraded, and Not writeable subregion is not upgraded, additionally, prompting message can also be " wouldn't point out ", if selecting the operation, can be with Acquiescence is pointed out again after a period of time, and user can during this period of time carry out checking for related service.
Again, in the embodiment of the present invention, system upgrade device can also send before upgrading to not writeable subregion Send whether the reminder message upgraded to not writeable subregion.Through the above way, ask the user whether to need to not writeable Subregion is upgraded, and user carries out selection operation according to actual conditions to it, and it is optional not writeable subregion is upgraded, from And practicality and the flexibility of lifting scheme.
Alternatively, on the basis of any one of corresponding first to the 3rd embodiment of above-mentioned Fig. 1, Fig. 1, the present invention is real In the 4th alternative embodiment of method for the system upgrade for applying example offer, the method is applied particularly in remote upgrade.
In the present embodiment, except can apply to local upgrade, remote upgrade can also be applied to.So-called remote upgrade, It is exactly that other side is operated by computer remote assistance, the firmware of present terminal of upgrading.
Specifically, remote upgrade has polytype, and remote upgrade of the present invention includes but are not limited to following Several types.
Method one, uses simple batch of order.The connection with upgrade server is initially set up, then mesh is shared from server Upgrade file to local directory is copied in record, the connection with upgrade server is finally deleted.The advantage of the method is simple editor, Only need to do one and simple judge whether database has the small routine of redaction issue.
Method two, uses application programming interface (English full name:Application Programming Interface, english abbreviation:API) realize setting up network connection and file download.It is first determined whether there is redaction to issue, such as Fruit has, then set up the connection with server using api function, reuses the file that other api functions or developing instrument are provided Upgrade file is passed under treatment function, is then disconnected with server using api function, final updating local file version note Record.
Method three, sets up a web site, and allows user voluntarily to download the software of redaction.
Method four, sets up FTP (English full name:File Transfer Protocol, english abbreviation:FTP) The download of upgrade file is out realized using criticizing in website.
Further, in the embodiment of the present invention, describing the present invention program can also specifically be applied in remote upgrade, from And the application that scheme more rationalized is enabled, with the feasibility and practicality of this lifting scheme.
The device to the system upgrade in the method for system upgrade in the present invention is described in detail below, refers to Fig. 2, The device of the system upgrade in the embodiment of the present invention includes:
Receiver module 201, for reception system upgrade command;
First determining module 202, after receiving the system upgrade instruction in the receiver module 201, it is determined that Whether each subregion of current system is writeable;
First upgraded module 203, for not writeable point that determines the first determining module 202 described in the current system The authority in area be revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion rise Level;
Second upgraded module 204, for after the writeable subregion completes upgrading and the current system is restarted, to institute Not writeable subregion is stated to be upgraded.
In the present embodiment, the reception system upgrade command of receiver module 201 receives the system in the receiver module 201 After upgrade command, the first determining module 202 determines whether each subregion of current system is writeable, and the first upgraded module 203 is by institute State the first determining module 202 described in current system determination not writeable subregion authority be revised as it is writeable, while according to described Writeable subregion during system upgrade is instructed to the current system is upgraded, when the writeable subregion completes to upgrade and described After current system is restarted, the second not writeable subregion of upgraded module 204 pairs is upgraded.
In the embodiment of the present invention, there is provided a kind of device of system upgrade, upgraded by system upgrade device elder generation reception system Instruction, it is then determined that whether each subregion of current system is writeable, system upgrade device is again by the not writeable subregion in current system Authority be revised as it is writeable, while according to system upgrade instruction to current system in writeable subregion upgrade, when writeable point After area's completion is upgraded and the current system is restarted, system upgrade device is upgraded to not writeable subregion.By above-mentioned side Formula, can first to terminal device in not writeable subregion be updated, then to renewal after writeable subregion after carry out system upgrade, During so as to solving the problems, such as to carry out system upgrade to not writeable subregion.
Fig. 3 is referred to, another embodiment of system upgrade device includes in the embodiment of the present invention:
Receiver module 201, for reception system upgrade command;
First determining module 202, after receiving the system upgrade instruction in the receiver module 201, it is determined that working as Whether each subregion of preceding system is writeable;
First upgraded module 203, for not writeable point that determines the first determining module 202 described in the current system The authority in area be revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion rise Level;
Second upgraded module 204, for after the writeable subregion completes upgrading and the current system is restarted, to institute Not writeable subregion is stated to be upgraded;
Restart module 205, after upgrading for second upgraded module, 204 pairs of not writeable subregions, weigh again Open the current system of terminal.
Secondly, in the embodiment of the present invention, after system upgrade device is upgraded to not writeable subregion, can also weigh again Open the current system of terminal.Through the above way, it is ensured that the promoted completion of the current system of terminal device, not only to being The writeable subregion of system is upgraded, while also complete upgrading to not writeable subregion, so as to improve the reliability of scheme with Practicality.
Fig. 4 is referred to, another embodiment of system upgrade device includes in the embodiment of the present invention:
Receiver module 201, for reception system upgrade command;
First determining module 202, after receiving the system upgrade instruction in the receiver module 201, it is determined that working as Whether each subregion of preceding system is writeable;
Setup module 206, for when there is the not writeable subregion in the current system, in the current system Any position of writeable subregion sets mark A;
Modified module 207, for after the not writeable subregion completes to upgrade and come into force, wiping the setup module and setting The mark A that puts or other marks for being revised as the mark A in addition to the mark A;
First upgraded module 203, for not writeable point that determines the first determining module 202 described in the current system The authority in area be revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion rise Level;
Second upgraded module 204, for after the writeable subregion completes upgrading and the current system is restarted, to institute Not writeable subregion is stated to be upgraded;
Second determining module 208, for it is described restart the current system that module 205 restarts terminal again before, determine institute State in current system and there is the mark A;
Restart module 205, after upgrading for second upgraded module, 204 pairs of not writeable subregions, weigh again Open the current system of terminal;
Again, in the embodiment of the present invention, it is illustrated how come into force using indicating whether the A not writeable subregions of checking upgrade, i.e., When there is not writeable subregion in current system, mark A is set in any position of the writeable subregion of current system, then when can not Write after subregion completes to upgrade and come into force, mark A can be wiped or will indicate that A is revised as other marks in addition to A is indicated, Before the current system for restarting terminal again, it is thus necessary to determine that there is mark A in current system.Through the above way, Ke Yida To the purpose of not writeable subregion of disposably upgrading, system upgrade device is first upgraded and carries the writeable subregions of mark A, when then restarting Wait, the code of those writeable subregions enters into force, it will go to find either with or without mark A, if mark A, that is, need ROMPaq is reentered to go not writeable subregion to upgrade, i.e., completion system upgrading need to restart altogether be twice System, if not indicating A, avoids the need for restarting system again, i.e. completion system upgrading only needs to restart primary system, so as to reach To the purpose that system is disposably upgraded, so that the operation ease of lifting scheme.
Fig. 5 is referred to, another embodiment of system upgrade device includes in the embodiment of the present invention:
Receiver module 201, for reception system upgrade command;
First determining module 202, after receiving the system upgrade instruction in the receiver module 201, it is determined that working as Whether each subregion of preceding system is writeable;
First upgraded module 203, for not writeable point that determines the first determining module 202 described in the current system The authority in area be revised as it is writeable, while according to the system upgrade instruction to the current system in writeable subregion rise Level;
Sending module 209, before upgrading for second upgraded module, 204 pairs of not writeable subregions, transmission is The no reminder message upgraded to the not writeable subregion;
Second upgraded module 204, for after the writeable subregion completes upgrading and the current system is restarted, to institute Not writeable subregion is stated to be upgraded;
Restart module 205, after upgrading for second upgraded module, 204 pairs of not writeable subregions, weigh again Open the current system of terminal.
Again, in the embodiment of the present invention, system upgrade device can also send before upgrading to not writeable subregion Send whether the reminder message upgraded to not writeable subregion.Through the above way, ask the user whether to need to not writeable Subregion is upgraded, and user carries out selection operation according to actual conditions to it, and it is optional not writeable subregion is upgraded, from And practicality and the flexibility of lifting scheme.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (English full name:Read-Only Memory, english abbreviation:ROM), random access memory (English full name:Random Access Memory, english abbreviation: RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (10)

1. a kind of method of system upgrade, it is characterised in that including:
Reception system upgrade command;
Determine whether each subregion of current system is writeable;
The authority of the not writeable subregion in the current system is revised as it is writeable, while according to the system upgrade instruction to institute The writeable subregion stated in current system is upgraded;
After the writeable subregion completes upgrading and the current system is restarted, the not writeable subregion is upgraded.
2. method according to claim 1, it is characterised in that after upgrading to the not writeable subregion, methods described Also include:
The current system of terminal is restarted again.
3. method according to claim 2, it is characterised in that methods described also includes:
When there is the not writeable subregion in the current system, installed in any bit of the writeable subregion of the current system Put mark A;
After the not writeable subregion completes to upgrade and come into force, wipe the mark A or the mark A is revised as except institute State other marks beyond mark A;
Before the current system for restarting terminal again, also include:
Determine there is the mark A in the current system.
4. method according to claim 2, it is characterised in that it is described the not writeable subregion is upgraded before include:
Send whether the reminder message upgraded to the not writeable subregion.
5. method according to any one of claim 1 to 4, it is characterised in that methods described is applied in remote upgrade.
6. a kind of device of system upgrade, it is characterised in that including:
Receiver module, for reception system upgrade command;
First determining module, after receiving the system upgrade instruction in the receiver module, determines current system Whether each subregion is writeable;
First upgraded module, the authority of the not writeable subregion for the first determining module described in the current system to be determined is repaiied Be changed to it is writeable, while according to the system upgrade instruction to the current system in writeable subregion upgrade;
Second upgraded module, for after the writeable subregion completes upgrading and the current system is restarted, to it is described can not Subregion is write to be upgraded.
7. device according to claim 6, it is characterised in that described device also includes:
Restart module, after upgrading to the not writeable subregion for second upgraded module, working as terminal is restarted again Preceding system.
8. device according to claim 7, it is characterised in that described device also includes:
Setup module, for when there is the not writeable subregion in the current system, at writeable point of the current system Any position in area sets mark A;
Modified module, for after the not writeable subregion completes to upgrade and come into force, wiping the institute that the setup module is set State mark A or the mark A is revised as other marks in addition to the mark A;
Second determining module, for it is described restart the current system that module restarts terminal again before, determine the current system There is the mark A in system.
9. device according to claim 7, it is characterised in that described device also includes:
Sending module, for before second upgraded module is upgraded to the not writeable subregion, whether sending to described The reminder message that not writeable subregion is upgraded.
10. the device according to any one of claim 6 to 9, it is characterised in that described device is applied to remote upgrade In.
CN201611206457.3A 2016-12-23 2016-12-23 System upgrading method and device Active CN106775881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611206457.3A CN106775881B (en) 2016-12-23 2016-12-23 System upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611206457.3A CN106775881B (en) 2016-12-23 2016-12-23 System upgrading method and device

Publications (2)

Publication Number Publication Date
CN106775881A true CN106775881A (en) 2017-05-31
CN106775881B CN106775881B (en) 2021-02-05

Family

ID=58920249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611206457.3A Active CN106775881B (en) 2016-12-23 2016-12-23 System upgrading method and device

Country Status (1)

Country Link
CN (1) CN106775881B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400938A (en) * 2023-03-27 2023-07-07 荣耀终端有限公司 Operating system upgrading method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8914774B1 (en) * 2007-11-15 2014-12-16 Appcelerator, Inc. System and method for tagging code to determine where the code runs
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances
CN105094913A (en) * 2015-07-31 2015-11-25 广东欧珀移动通信有限公司 System, base band fastener and system application upgrading method and device
CN105786542A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Intelligent device and system update method of the intelligent device
CN105809055A (en) * 2016-02-26 2016-07-27 深圳天珑无线科技有限公司 Access control method and device, and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8914774B1 (en) * 2007-11-15 2014-12-16 Appcelerator, Inc. System and method for tagging code to determine where the code runs
CN105786542A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Intelligent device and system update method of the intelligent device
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances
CN105094913A (en) * 2015-07-31 2015-11-25 广东欧珀移动通信有限公司 System, base band fastener and system application upgrading method and device
CN105809055A (en) * 2016-02-26 2016-07-27 深圳天珑无线科技有限公司 Access control method and device, and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400938A (en) * 2023-03-27 2023-07-07 荣耀终端有限公司 Operating system upgrading method, device and storage medium
CN116400938B (en) * 2023-03-27 2023-11-24 荣耀终端有限公司 Operating system upgrading method, device and storage medium

Also Published As

Publication number Publication date
CN106775881B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN107820603A (en) A kind of firmware update and controller
US8589909B2 (en) Techniques for reducing down time in updating applications with metadata
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN107465539A (en) The upgrade-system of the upgrade method of firmware, terminal and firmware
CN103544027B (en) Method and electronic device for controlling application updating
CN102195817B (en) Software upgrading method and device and software rollback method and device
CN107769949A (en) A kind of application component dispositions method and deployment node
CN107132788A (en) A kind of vehicle electronic control unit writes with a brush dipped in Chinese ink method and apparatus automatically
CN102830984A (en) Method for updating firmware, chip and communication terminal
CN106101984B (en) A kind of the security module management method and terminal of NFC Mobile payment terminal
CN110083380A (en) Firmware update and the electronic device for using the method
CN108491217A (en) A kind of upgrade method and equipment of configuration file
WO2006057861A1 (en) System and method for over-the-air update of wireless communication devices
CN109324918A (en) Processing method and processing device, terminal and the storage medium of application exception
CN106201588A (en) The method for upgrading software of terminal and terminal
CN110580167A (en) system upgrading method, intelligent device and server
CN102567050B (en) The method and apparatus of B/S system remote deploying projects
CN112486733B (en) System restoration method, device, terminal and storage medium
CN106775881A (en) A kind of method and device of system upgrade
CN104793998A (en) Terminal system resource management method and device
CN109992280A (en) A kind of method, terminal installation and the storage device of embedded software upgrading
CN101500330A (en) Tool for fast and safely updating operation system of smart phone
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN102033771A (en) Method and device for applying patch program in Java Card

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
GR01 Patent grant
GR01 Patent grant