CN102662695A - Method and device for starting system - Google Patents

Method and device for starting system Download PDF

Info

Publication number
CN102662695A
CN102662695A CN2012100821428A CN201210082142A CN102662695A CN 102662695 A CN102662695 A CN 102662695A CN 2012100821428 A CN2012100821428 A CN 2012100821428A CN 201210082142 A CN201210082142 A CN 201210082142A CN 102662695 A CN102662695 A CN 102662695A
Authority
CN
China
Prior art keywords
qcsbl
level
storage
backup
storage block
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
CN2012100821428A
Other languages
Chinese (zh)
Other versions
CN102662695B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210082142.8A priority Critical patent/CN102662695B/en
Publication of CN102662695A publication Critical patent/CN102662695A/en
Application granted granted Critical
Publication of CN102662695B publication Critical patent/CN102662695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention is applicable to the field of communication technology and provides a method and a device for starting a system. The method comprises the following steps: judging whether a secondary high-pass auxiliary starting module QCSBL is normal or not before the system is electrified and enters a primary high-pass auxiliary starting module QCSBL, if yes, entering the system from the second QCSBL for starting, and if not, updating the secondary QCSBL through running the primary, and entering the system from the updated secondary QCSBL for starting, wherein the primary QCSBL is of a main QCSBL, and the secondary QCSBL is of a backup of the main QCSBL. According to the invention, the consumption of the primary QCSBL (namely the main QCSBL) can be effectively reduced, the service life of the primary QCSBL is prolonged, and the starting reliability and the safety of the system can be enhanced.

Description

A kind of method of system start-up and device
Technical field
The invention belongs to communication technical field, relate in particular to method and device that facility communication system starts.
Background technology
In the communication facilities, (BSP program and device driver are closed together and are called the Boot program for board support package, BSP) program (comprising initialize routines such as operating system, CPU) beginning from carrying out plate level support package in system start-up.Along with the complicacy of communication network, the Carrier Requirements communication facilities provides the service of high reliability, and the normal startup and the execution of Boot program become one of key of communication facilities reliably working.
Existing Boot program is in start-up course; In order to improve the reliability of startup; (Qualcomm Secondary Boot Loader QCSBL) back up, and the QCSBL after will backing up is stored in the storage block of Flash (flash memory) to the high pass assistant starting module of single preservation.Before system powers on entering QCSBL (as shown in Figure 1), judge whether main QCSBL is normal, if normal, then directly get into system start-up from this main QCSBL; Otherwise, get into system start-up from the QCSBL of backup.
Though prior art can make the reliability of system start-up double through backup QCSBL, the consumption of main QCSBL is still same serious, and do not prolong serviceable life, still can't satisfy the user starts high reliability to facility communication system requirement.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method of system start-up, to reduce the consumption of main QCSBL, improves the reliability that facility communication system starts.
The embodiment of the invention provides a kind of method of system start-up on the one hand, and said method comprises:
Before system powers on entering one-level high pass assistant starting module QCSBL, judge whether secondary high pass assistant starting module QCSBL is normal;
If normal, then move said secondary QCSBL, get into system start-up from said secondary QCSBL;
If undesired, then upgrade said secondary QCSBL through moving said one-level QCSBL, the secondary QCSBL after upgrading gets into system start-up;
Said one-level QCSBL is main QCSBL, and said secondary QCSBL is the backup of main QCSBL.
The embodiment of the invention provides a kind of device of system start-up on the other hand, and said device comprises:
Judging unit is used for before system powers on entering one-level high pass assistant starting module QCSBL, judging whether secondary high pass assistant starting module QCSBL is normal;
First processing unit is used in said judgment unit judges result getting into system start-up from said secondary QCSBL when being;
Second processing unit is used in said judgment unit judges result upgrading said secondary QCSBL through moving said one-level QCSBL for not the time, and the secondary QCSBL after upgrading gets into system start-up;
Said one-level QCSBL is main QCSBL, and said secondary QCSBL is the backup of main QCSBL.
The embodiment of the invention judges whether secondary QCSBL is normal earlier before system powers on entering one-level QCSBL, if normal; Then get into system start-up,, then upgrade said secondary QCSBL through moving said one-level QCSBL if undesired from said secondary QCSBL; Secondary QCSBL after upgrading gets into system start-up, through the embodiment of the invention, can effectively reduce the consumption of one-level QCSBL (promptly main QCSBL); Prolong the serviceable life of one-level QCSBL, improve the reliability and the security of system start-up.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of the system start-up that provides of prior art;
Fig. 2 is the realization flow figure of the system start method that provides of the embodiment of the invention;
Fig. 3 is the particular flow sheet of the system start method that provides of the embodiment of the invention;
Fig. 4 is the composition structural drawing of the system starting device that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below contrast accompanying drawing and combine embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
For technical scheme of the present invention is described, describe through specific embodiment below.
Fig. 2 shows the realization flow of the system start method that the embodiment of the invention provides, and specifically details are as follows:
In step S201, system power on get into one-level high pass assistant starting module QCSBL before, judge whether secondary high pass assistant starting module QCSBL normal, if judged result is " being ", execution in step S202 then, otherwise execution in step S203.
In the present embodiment, (Qualcomm secondary boot loader is that main QCSBL, secondary QCSBL are the backup of main QCSBL QCSBL) to said one-level high pass assistant starting module.Said one-level QCSBL is with in secondary QCSBL is stored in the different storage blocks of flash memory (Flash) respectively.
The start address 0xffff0000 of permanent storage (on-chip ROM) from the sheet of system begins to read main start-up loading module (Primary Boot Loader; PBL); Obtain configuration data (Configuration Data) through PBL, and search and load said QCSBL according to the positional information of QCSBL in the said configuration data.
In order to reduce the consumption of one-level QCSBL, strengthen protection to one-level QCSBL.Present embodiment is loading said QCSBL, before entering one-level QCSBL, judges whether secondary QCSBL is normal earlier, if normal, then moves said secondary QCSBL earlier.Wherein, the said storage block non-fault that normally comprises non-fault of QCSBL own and storage QCSBL.
In step S202, get into system start-up from said secondary QCSBL.
Concrete is, copies said secondary QCSBL to internal memory (RAM) from Flash, and according to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
In step S203, upgrade said secondary QCSBL through moving said one-level QCSBL, the secondary QCSBL after upgrading gets into system start-up.
Further, in order effectively to upgrade said secondary QCSBL, the embodiment of the invention is judging that secondary high pass assistant starting module QCSBL whether before the normal step, also comprises:
Whether detect said secondary QCSBL backs up; If, then do not need to back up again, otherwise said secondary QCSBL backed up, and with the back-up storage of said secondary QCSBL to Flash.Wherein the backup of secondary QCSBL is a or two parts.
Need to prove that the read-write number of times of each storage block is limited, when read-write number of times when too much, storage block is damaged easily, therefore in order to guarantee the normal operation of secondary QCSBL, the backup of secondary QCSBL is at least portion.But for the umber that prevents to back up is too much wasted the storage space of system, the backup of secondary QCSBL is at most two parts.
In the present embodiment, saidly upgrade said secondary QCSBL and specifically comprise through moving said one-level QCSBL:
In the present embodiment, before judging that said secondary QCSBL is whether normal,
A, the said one-level QCSBL of operation judge whether the storage block of the said secondary QCSBL of storage is bad piece; If execution in step b, otherwise execution in step c;
In the present embodiment, the purpose of moving said one-level QCSBL is the refresh routine that starts secondary QCSBL, obtaining the memory location of secondary QCSBL, and judges according to said memory location whether the storage block of the said secondary QCSBL of storage is bad piece.
If b redistributes a storage block, copy the secondary QCSBL of said backup to redistribute storage block, to accomplish secondary QCSBL and upgrade, the size of this storage block is greater than or equal to the size of said bad storage block;
C, if not directly copies the secondary QCSBL of said backup to the storage block of said secondary QCSBL, to replace abnormal secondary QCSBL, accomplishes the renewal of secondary QCSBL.
In the present embodiment, said abnormal secondary QCSBL refers to the fault of secondary QCSBL itself, like virus infections etc.
In addition; Said secondary QCSBL after upgrade gets into system start-up and is specially: copy the secondary QCSBL after the said renewal to internal memory from Flash; According to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
Pass through the embodiment of the invention; Can effectively reduce the consumption of one-level QCSBL (promptly main QCSBL); The serviceable life that prolongs one-level QCSBL is (if be a the serviceable life of existing main QCSBL; Then be at least a * a) serviceable life of the main QCSBL in the embodiment of the invention, improve the reliability and the security of system start-up.
Further, for further prolonging the serviceable life of one-level QCSBL, the embodiment of the invention also comprises:
When system powers on, start a counter, said counter is used for the number of run of first order calculation QCSBL; When the said one-level QCSBL of operation; Counter adds 1, and in system when said secondary QCSBL gets into system start-up, judge whether the count value of said counter reaches predetermined threshold value; If then upgrade said one-level QCSBL, the said counter of zero clearing simultaneously; Otherwise continue to get into system start-up from secondary QCSBL.Further, before upgrading said one-level QCSBL, the embodiment of the invention also comprises:
Whether detect said one-level QCSBL backs up; If, then do not need to back up again, otherwise said one-level QCSBL backed up, and with the back-up storage of said one-level QCSBL to Flash.Wherein the backup of one-level QCSBL is a or two parts.
Wherein, upgrading said one-level QCSBL specifically comprises:
Whether the storage block of judging the said one-level QCSBL of storage is bad piece;
If, redistribute a storage block, copy the one-level QCSBL of said backup to redistribute storage block, accomplish one-level QCSBL and upgrade;
If not, directly the one-level QCSBL of said backup is copied to the storage block of said one-level QCSBL,, accomplish the renewal of one-level QCSBL with the one-level QCSBL of storage before the replacement.
The embodiment of the invention can further prolong the serviceable life of one-level QCSBL through the dynamic regular one-level QCSBL that refreshes, and improves the reliability and the security of system start-up.
Fig. 3 shows the idiographic flow of the system start method that the embodiment of the invention provides, and process is following:
In step S301, Boot at first begins from ARM9, behind the electrification reset, begins to read and carry out PBL from the start address 0xffff0000 of on-chip ROM; The major function of PBL comprises access external memory and obtains configuration data and configure hardware etc.;
In step S302, PBL searches and loads said QCSBL according to the positional information of QCSBL in the configuration data, and at this moment PBL hands to QCSBL to the control of ARM9, and carries out QCSBL.Wherein the major function of QCSBL for load and carry out OEM assistant starting module (OEMSBL) and senior mobile customized software (Advanced Mobile Subscriber Software, AMSS);
In step S303, one-level QCSBL (main QCSBL) is preceding getting into, and judges whether secondary QCSBL (backup of main QCSBL) is normal; If normal execution in step S304, otherwise execution in step S305;
In step S304, get into system start-up from said secondary QCSBL;
In step S305, QCSBL upgrades secondary QCSBL through the operation one-level, and the counter that when operation one-level QCSBL, will start adds 1.Wherein, the detailed process of renewal repeats no more at this as stated;
In step S306, jump to the secondary QCSBL after the renewal, and forward step S304 to;
In step S307, secondary QCSBL judges whether the number of times of said counter reaches preset value (for example 20000 times) in the process of carrying out; If execution in step S308, otherwise execution in step S309;
In step S308, upgrade one-level QCSBL.Wherein, the detailed process of renewal repeats no more at this as stated;
In step S309, load and carry out OEMSBL;
In step S310, load and carry out AMSS, said AMSS comprises information such as all protocol stacks in communication facilities (for example mobile phone) the inside, operating system.
Need to prove that the implementation of ARM11 is identical with prior art among Fig. 3, repeats no more at this.
Those of ordinary skills it is also understood that; Realize that all or part of step in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be in being stored in a computer read/write memory medium; Described storage medium comprises ROM/RAM, disk, CD etc.
Fig. 4 shows the composition structure of the system starting device that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This system starting device can be to run on the unit that hardware cell or software and hardware in each facility communication system combine.
This system starting device 4 comprises judging unit 41, first processing unit 42 and second processing unit 43, and its concrete function is following:
Judging unit 41 is used for before system powers on entering one-level high pass assistant starting module QCSBL, judging whether secondary high pass assistant starting module QCSBL is normal;
First processing unit 42 is used in said judging unit 41 judged results getting into system start-up from said secondary QCSBL when being;
Second processing unit 43 is used in said judging unit 41 judged results upgrading said secondary QCSBL through moving said one-level QCSBL for not the time, and the secondary QCSBL after upgrading gets into system start-up; Be specially through moving said one-level QCSBL and upgrade said secondary QCSBL; Copy the secondary QCSBL after the said renewal to internal memory from Flash; According to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
Said one-level QCSBL is main QCSBL, and said secondary QCSBL is the backup of main QCSBL.
Further, said device 4 also comprises: whether detecting unit 44 and backup units 45, said detecting unit 44 are used for before whether said judgment unit judges secondary high pass assistant starting module QCSBL is normal, detects said secondary QCSBL and backing up;
Said backup units 45 is used in said detection result said secondary QCSBL being backed up for not the time.
Said second processing unit 43 specifically comprises:
Operation module 431 is used in said judgment unit judges result moving said one-level QCSBL for not the time;
Judge module 432 is used to judge whether the storage block of the said secondary QCSBL of storage is bad piece;
First processing module 433 is used in said judge module judged result redistributing a storage block when being, copies the secondary QCSBL of said backup to redistribute storage block, accomplishes secondary QCSBL and upgrades;
Second processing module 434 is used in said judgment unit judges result directly the secondary QCSBL of said backup being copied to the storage block of said secondary QCSBL for not the time, to replace abnormal secondary QCSBL, accomplishes the renewal of secondary QCSBL;
Start module 435, the secondary QCSBL after being used for upgrading from said first processing module or second processing module gets into system start-up.
Further, said device 4 also comprises:
Counter start unit 46 when being used for powering in system, starts a counter;
Said counter 47 is used for when the said one-level QCSBL of operation, and count value adds 1.
Further, said device 4 also comprises:
Count value judging unit 48 is used for judging when said secondary QCSBL gets into system start-up whether the count value of said counter 47 reaches predetermined threshold value;
Updating block 49 is used in said count value judging unit 48 judged results upgrading said one-level QCSBL when being, the said counter of zero clearing simultaneously.
Further, whether said detecting unit 44 also is used for before said updating block 49 upgrades said one-level QCSBL, detecting said one-level QCSBL and backing up;
Said backup units 45 also is used in said detecting unit 44 testing results said one-level QCSBL being backed up for not the time.
Said updating block 49 specifically comprises:
Judge module 491 is used in said count value judging unit 48 judged results when being, judges whether the storage block of the said one-level QCSBL of storage is bad piece;
First processing module 492 is used in said judge module 491 judged results redistributing a storage block when being, copies the one-level QCSBL of said backup to redistribute storage block, accomplishes one-level QCSBL and upgrades;
Second processing module 493 is used in said judge module 491 judged results when being, with the storage block that the one-level QCSBL of said backup copies said one-level QCSBL to, with the one-level QCSBL of storage before the replacement, accomplishes the renewal of one-level QCSBL;
Dump block 494 is used for after said first processing module 492 or second processing module 493 have been upgraded the said counter of zero clearing.
Further, said device comprises flash memory f ' lash410, and said flash memory 410 comprises different storage blocks, is used for storing respectively said one-level QCSBL and secondary QCSBL.
Further, said first processing unit 42 specifically is used for:
When being, copy said secondary QCSBL to internal memory from Flash in said judging unit 41 judged results, according to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
In the present embodiment, said one-level QCSBL is with in secondary QCSBL is stored in the different storage blocks of flash memory Flash respectively.The said storage block non-fault that normally comprises non-fault of QCSBL own and storage QCSBL.
The system starting device that present embodiment provides can be used the system start method in aforementioned correspondence, and details repeat no more at this referring to the associated description of said system startup method.
One of ordinary skill in the art will appreciate that to each included unit of this system starting device embodiment, module are to divide according to function logic, but be not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit, module also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In sum, the embodiment of the invention judges whether secondary QCSBL is normal earlier before system powers on entering one-level QCSBL; If normal, then get into system start-up, if undesired from said secondary QCSBL; Then upgrade said secondary QCSBL through moving said one-level QCSBL; Secondary QCSBL after upgrading gets into system start-up, through the embodiment of the invention, can effectively reduce the consumption of one-level QCSBL (promptly main QCSBL); Prolong the serviceable life of one-level QCSBL, improve the reliability and the security of system start-up.And through the dynamic regular one-level QCSBL that refreshes; The serviceable life that can further prolong one-level QCSBL is (if be a the serviceable life of existing main QCSBL; Then be at least a * a * a * a...) serviceable life of the main QCSBL in the embodiment of the invention; Improve the reliability and the security of system start-up greatly, and realize simply having stronger practical value.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. the method for a system start-up is characterized in that, said method comprises:
Before system powers on entering one-level high pass assistant starting module QCSBL, judge whether secondary high pass assistant starting module QCSBL is normal;
If normal, then get into system start-up from said secondary QCSBL;
If undesired, then upgrade said secondary QCSBL through moving said one-level QCSBL, the secondary QCSBL after upgrading gets into system start-up;
Said one-level QCSBL is main QCSBL, and said secondary QCSBL is the backup of main QCSBL.
2. the method for claim 1 is characterized in that, judges secondary high pass assistant starting module QCSBL whether before the normal step said, and said method also comprises:
Whether detect said secondary QCSBL backs up;
If not, said secondary QCSBL is backed up.
3. method as claimed in claim 2 is characterized in that, saidly upgrades said secondary QCSBL and specifically comprises through moving said one-level QCSBL:
Move said one-level QCSBL;
Whether the storage block of judging the said secondary QCSBL of storage is bad piece;
If, redistribute a storage block, copy the secondary QCSBL of said backup to redistribute storage block, accomplish the renewal of secondary QCSBL;
If not, then the secondary QCSBL of said backup is copied to the storage block of said secondary QCSBL,, accomplish the renewal of secondary QCSBL to replace abnormal secondary QCSBL.
4. the method for claim 1 is characterized in that, said method also comprises:
When system powers on, start a counter, when the said one-level QCSBL of operation, counter adds 1.
5. method as claimed in claim 4 is characterized in that, said method also comprises:
When said secondary QCSBL gets into system start-up, judge whether the count value of said counter reaches predetermined threshold value;
If then upgrade said one-level QCSBL, the said counter of zero clearing simultaneously.
6. method as claimed in claim 5 is characterized in that, before the said one-level QCSBL step of said renewal, said method also comprises:
Detect said one-level QCSBL and whether back up, if not, said one-level QCSBL is backed up.
7. method as claimed in claim 6 is characterized in that, the said one-level QCSBL of said renewal specifically comprises:
Whether the storage block of judging the said one-level QCSBL of storage is bad piece;
If, redistribute a storage block, copy the one-level QCSBL of said backup to redistribute storage block, accomplish the renewal of one-level QCSBL;
If not, then the one-level QCSBL of said backup is copied to the storage block of said one-level QCSBL,, accomplish the renewal of one-level QCSBL with the one-level QCSBL of storage before the replacement.
8. the method for claim 1 is characterized in that, said one-level QCSBL is with in secondary QCSBL is stored in the different storage blocks of flash memory Flash respectively.
9. like each described method of claim 1-8, it is characterized in that, saidly get into system start-up from said secondary QCSBL and specifically comprise:
Copy said secondary QCSBL to internal memory from Flash, according to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
10. the device of a system start-up is characterized in that, said device comprises:
Judging unit is used for before system powers on entering one-level high pass assistant starting module QCSBL, judging whether secondary high pass assistant starting module QCSBL is normal;
First processing unit is used in said judgment unit judges result for just often, from said secondary QCSBL entering system start-up;
Second processing unit is used in said judgment unit judges result upgrading said secondary QCSBL through moving said one-level QCSBL when undesired, and the secondary QCSBL after upgrading gets into system start-up;
Said one-level QCSBL is main QCSBL, and said secondary QCSBL is the backup of main QCSBL.
11. device as claimed in claim 10 is characterized in that, said device also comprises:
Whether detecting unit is used for before whether said judgment unit judges secondary high pass assistant starting module QCSBL is normal, detects said secondary QCSBL and backing up;
Backup units is used in said detection result said secondary QCSBL being backed up for not the time.
12. device as claimed in claim 11 is characterized in that, said second processing unit specifically comprises:
The operation module is used in said judgment unit judges result moving said one-level QCSBL for not the time;
Judge module is used to judge whether the storage block of the said secondary QCSBL of storage is bad piece;
First processing module is used in said judge module judged result redistributing a storage block when being, copies the secondary QCSBL of said backup to redistribute storage block, accomplishes secondary QCSBL and upgrades;
Second processing module is used in said judgment unit judges result with the storage block that the secondary QCSBL of said backup copies said secondary QCSBL to, to replace abnormal secondary QCSBL, accomplishing the renewal of secondary QCSBL for not the time;
Start module, the secondary QCSBL after being used for upgrading from said first processing module or second processing module gets into system start-up.
13. device as claimed in claim 10 is characterized in that, said device also comprises:
The counter start unit when being used for powering in system, starts a counter;
Said counter is used for when the said one-level QCSBL of operation, and count value adds 1.
14. device as claimed in claim 13 is characterized in that, said device also comprises:
The count value judging unit is used for judging when said secondary QCSBL gets into system start-up whether the count value of said counter reaches predetermined threshold value;
Updating block is used in said count value judgment unit judges result upgrading said one-level QCSBL when being, the said counter of zero clearing simultaneously.
15. device as claimed in claim 14 is characterized in that, whether said detecting unit also is used for before said updating block upgrades said one-level QCSBL, detect said one-level QCSBL and back up;
Said backup units also is used in said detection result said one-level QCSBL being backed up for not the time.
16. device as claimed in claim 15 is characterized in that, said updating block specifically comprises:
Judge module is used in said count value judgment unit judges result when being, judges whether the storage block of the said one-level QCSBL of storage is bad piece;
First processing module is used in said judge module judged result redistributing a storage block when being, copies the one-level QCSBL of said backup to redistribute storage block, accomplishes one-level QCSBL and upgrades;
Second processing module is used in said judge module judged result when being, with the storage block that the one-level QCSBL of said backup copies said one-level QCSBL to, with the one-level QCSBL of storage before the replacement, accomplishes the renewal of one-level QCSBL;
Dump block is used for after said first processing module or second processing module have been upgraded the said counter of zero clearing.
17. device as claimed in claim 10 is characterized in that, said device comprises flash memory f ' lash, and said flash memory f ' lash comprises different storage blocks, is used for storing respectively said one-level QCSBL and secondary QCSBL.
18., it is characterized in that said first processing unit specifically is used for like each described device of claim 10-17:
When being, copy said secondary QCSBL to internal memory from Flash in said judgment unit judges result, according to the start address of this secondary of storage QCSBL in the internal memory, the secondary QCSBL from this start address begins to get into system start-up.
CN201210082142.8A 2012-03-26 2012-03-26 A kind of method that system starts and device Active CN102662695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210082142.8A CN102662695B (en) 2012-03-26 2012-03-26 A kind of method that system starts and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210082142.8A CN102662695B (en) 2012-03-26 2012-03-26 A kind of method that system starts and device

Publications (2)

Publication Number Publication Date
CN102662695A true CN102662695A (en) 2012-09-12
CN102662695B CN102662695B (en) 2016-03-30

Family

ID=46772196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210082142.8A Active CN102662695B (en) 2012-03-26 2012-03-26 A kind of method that system starts and device

Country Status (1)

Country Link
CN (1) CN102662695B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902336A (en) * 2014-03-13 2014-07-02 深圳创维-Rgb电子有限公司 Method and device for controlling starting of operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783001A (en) * 2004-11-29 2006-06-07 华为技术有限公司 Method for starting basic input and output system
US20070233931A1 (en) * 2006-03-29 2007-10-04 Hitachi, Ltd. Storage system using flash memories, wear-leveling method for the same system and wear-leveling program for the same system
CN101667146A (en) * 2008-09-03 2010-03-10 世仰科技股份有限公司 Data protection method
CN102135942A (en) * 2010-12-31 2011-07-27 北京握奇数据系统有限公司 Method for realizing wear-leveling in storage equipment as well as the storage equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783001A (en) * 2004-11-29 2006-06-07 华为技术有限公司 Method for starting basic input and output system
US20070233931A1 (en) * 2006-03-29 2007-10-04 Hitachi, Ltd. Storage system using flash memories, wear-leveling method for the same system and wear-leveling program for the same system
CN101667146A (en) * 2008-09-03 2010-03-10 世仰科技股份有限公司 Data protection method
CN102135942A (en) * 2010-12-31 2011-07-27 北京握奇数据系统有限公司 Method for realizing wear-leveling in storage equipment as well as the storage equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902336A (en) * 2014-03-13 2014-07-02 深圳创维-Rgb电子有限公司 Method and device for controlling starting of operating system

Also Published As

Publication number Publication date
CN102662695B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
EP3158452B1 (en) Firmware interface with durable memory storage
CN105164657A (en) Selective backup of program data to non-volatile memory
CN101606164B (en) Terminal device and method for checking a software program
CN101099135A (en) Prevention of data loss due to power failure
KR101651204B1 (en) Apparatus and Method for synchronization of snapshot image
CN105260270A (en) Flash storage space dynamic recovery method and device
EP2093673A1 (en) A system and method with multi-level buffer
US7836339B2 (en) Computer memory power backup
CN102902566A (en) Method and device for installing and starting application software
CN108228091B (en) Configuration data partition storage method and system and configuration data verification method and system
CN103914325B (en) Based on the shutdown of the linux system of mixing internal memory, starting-up method and system
CN102622281A (en) Intelligent terminal and method of data backup and restore thereof
CN102253854A (en) Transaction processing method and Java virtual machine
CN109408149A (en) Starting method, apparatus, equipment and the storage medium of application program
CN103559119B (en) File operation requests disposal route and device
CN101553791B (en) Driver model for replacing core system hardware
CN103186436A (en) Power-down protection method and device of android system
CN100437500C (en) Software system protecting point restore method and device
CN101923500A (en) Backup and update method and device of bootstrap program in embedded equipment
CN108255526B (en) System starting and running method and device
CN102662695A (en) Method and device for starting system
CN102141920A (en) Method for dynamically configuring C-State and communication equipment
KR20110052902A (en) Computing system and method for controling memory of computing system
US8984345B2 (en) Fault restoration apparatus and method for use in a virtual environment
CN103019773A (en) System update power failure protection method and system, and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171116

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210427

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.