CN105589713A - Electronic equipment and starting method therefor - Google Patents
Electronic equipment and starting method therefor Download PDFInfo
- Publication number
- CN105589713A CN105589713A CN201510606919.XA CN201510606919A CN105589713A CN 105589713 A CN105589713 A CN 105589713A CN 201510606919 A CN201510606919 A CN 201510606919A CN 105589713 A CN105589713 A CN 105589713A
- Authority
- CN
- China
- Prior art keywords
- boot software
- cpu
- bios
- boot
- storage chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses electronic equipment and a starting method therefor. According to the starting method, first Boot software and second Boot software, which are backed up by each other are stored in different sub-regions of a hard disk; a CPU positions the first Boot software and the second Boot software through scanning a DPT in the running process of an MBR; a logic device can set a maintained identification of to-be-loaded Boot software to represent any one of the first Boot software and the second Boot software; and the CPU selectively loads corresponding one of the positioned first Boot software and second Boot software through obtaining the identification in the running process of the MBR. Therefore, the electronic equipment and the starting method therefor can provide reliable backup for loading of the Boot software. In addition, a first BIOS and a second BIOS, which are backed up by each other can be stored by a first storage chip and a second storage chip respectively, so that the reliable backup is provided for loading of the BIOS.
Description
Technical field
The present invention relates to a kind of electronic equipment and a kind of starting method for electronic equipment.
Background technology
In electronic equipment, conventionally there is CPU, wait some CPU for such as X86 series, at electronic equipment electrifying startupAfter initialization procedure need to by load BIOS (BasicInput/OutputSystem, basic input output system) realize.
And CPU, after completing initialization, can also load and operation system, corresponding to support electronic equipment to realizeFunction. Wherein, the loading of some operating system can be guided by BIOS, and the loading of other operating systems need to be byThe guiding of Boot software, and, for guiding the Boot software of operating system loading may there is the demand of online upgrading.
If it is abnormal that such as power-off etc. occurs electronic equipment in the online upgrading process of Boot software, can cause this electronic equipmentIn Boot software damage, and then cause the CPU cannot successful load operation system.
Therefore, how for providing reliable backup, Boot software to become the problem that prior art need to solve.
Summary of the invention
In view of this, embodiments of the invention provide a kind of electronic equipment and a kind of starting method for electronic equipment.
In one embodiment, a kind of electronic equipment comprises CPU, storage chip, hard disk and logic device, wherein:
In storage chip, store BIOS;
In hard disk, store the MBR that loaded by BIOS guiding for CPU, for CPU by the DPT of MBR boot scan,For CPU after scanning DPT by MBR alternatively guide a Boot software of loading and the 2nd Boot software andGuided by a Boot software or the 2nd Boot software the operating system loading for CPU;
Logic device is set to CPU and resets and by the mark setting of Boot software to be loaded of safeguarding after electronic equipment powers onFor representing a Boot software, so that CPU obtains by operation MBR after being resetted by logic device releasing and loading BIOSGet this mark, also select to load a Boot software according to this mark of obtaining;
Logic device is set to CPU to reset and to be loaded by what safeguard detecting after CPU loads a Boot software failureThe mark of Boot software changes to and represents the 2nd Boot software, so that CPU is being removed and resetting and load BIOS by logic deviceObtain this mark, also select to load the 2nd Boot software according to this mark of obtaining by operation MBR afterwards.
Alternatively, the mark of Boot software to be loaded by a Boot software identification of its expression be further primary, by its tableThe 2nd Boot software identification of showing is for subsequent use;
This mark that the one Boot software and the 2nd Boot software are further used for guiding CPU to safeguard by cognitive logic device is trueThe activestandby state of the Boot software of settled front loading, so that CPU is successfully loading and is being identified as after the 2nd Boot software for subsequent useUtilize the 2nd Boot software to repair a Boot software.
Alternatively, CPU is after utilizing the 2nd Boot software reparation the one Boot software, under the guiding of the 2nd Boot softwareLoad operation system or notification logic device are resetted to reset to the mark of the Boot software to be loaded of safeguarding to represent firstBoot software.
Alternatively, BIOS comprises a BIOS and the 2nd BIOS, and storage chip comprises the first storage core of depositing a BIOSSheet and the second storage chip of depositing the 2nd BIOS, and CPU and the first storage chip and the second storage chip are filled by logicPut alternatively conducting, wherein:
Logic device after electronic equipment powers on by the CPU of reset mode and the first storage chip conducting, so that CPU is being patrolledCollect after device is removed reset and load a BIOS by logic device from the first storage chip;
Logic device is detecting that CPU is set to reset by CPU from the first storage chip loading the one BIOS failure, and willCPU switches to and the second storage chip conducting, so that CPU deposits from second by logic device after being removed reset by logic deviceStorage chip loads the 2nd BIOS.
Alternatively, a Boot software and the 2nd Boot software are further used for guiding CPU cognitive logic device to the first storageThe conducting state of chip and the second storage chip, so that CPU utilizes in the time that the current BIOS that success loads is the 2nd BIOSThe 2nd BIOS repairs a BIOS.
Alternatively, CPU is after utilizing the 2nd BIOS reparation the one BIOS, soft at the current Boot that success loadsUnder the guiding of part or the 2nd Boot software, load operation system or notification logic device are by its reset and switch back the first storage chipWith its conducting.
In one embodiment, a kind of starting method for electronic equipment, this electronic equipment comprise CPU, storage chip, withAnd hard disk, wherein, in storage chip, store BIOS; In hard disk, store the MBR that loaded by BIOS guiding for CPU,For CPU by the DPT of MBR boot scan, alternatively guided loading by MBR for CPU after scanning DPTThe one Boot software and the 2nd Boot software and loaded by the guiding of a Boot software or the 2nd Boot software for CPUOperating system; And this starting method comprises:
CPU is set to the mark of Boot software to be loaded resetting and safeguard after electronic equipment powers on and is set to represent theOne Boot software so that CPU by logic device remove resets and load BIOS after by move MBR obtain this mark,And select to load a Boot software according to this mark of obtaining;
CPU is set to and is resetted and by soft the Boot to be loaded safeguarding detecting after CPU loads a Boot software failureThe mark of part changes to and represents the 2nd Boot software, so that CPU is logical after being resetted by logic device releasing and loading BIOSCross and move MBR and obtain this mark, and select to load the 2nd Boot software according to this mark of obtaining.
Alternatively, the mark of Boot software to be loaded by a Boot software identification of its expression be further primary, by its tableThe 2nd Boot software identification of showing is for subsequent use;
This mark that the one Boot software and the 2nd Boot software are further used for guiding CPU to safeguard by cognitive logic device is trueThe activestandby state of the Boot software of settled front loading, so that CPU is successfully loading and is being identified as after the 2nd Boot software for subsequent useUtilize the 2nd Boot software to repair a Boot software.
Alternatively, CPU is after utilizing the 2nd Boot software reparation the one Boot software, under the guiding of the 2nd Boot softwareLoad operation system or notification logic device are resetted to reset to the mark of the Boot software to be loaded of safeguarding to represent firstBoot software.
Alternatively, BIOS comprises a BIOS and the 2nd BIOS, and storage chip comprises the first storage core of depositing a BIOSSheet and deposit the second storage chip of the 2nd BIOS, and this starting method is further by CPU and the first storage chip and theThe alternatively conducting of two storage chips, wherein:
After electronic equipment powers on by the CPU of reset mode and the first storage chip conducting so that CPU remove reset after fromThe first storage chip loads a BIOS;
Detecting that CPU is set to CPU to reset and CPU is switched from the first storage chip loading the one BIOS failureFor with the second storage chip conducting so that CPU remove reset after from second storage chip load the 2nd BIOS.
Alternatively, a Boot software and the 2nd Boot software are further used for guiding CPU cognitive logic device to the first storageThe conducting state of chip and the second storage chip, so that CPU utilizes in the time that the current BIOS that success loads is the 2nd BIOSThe 2nd BIOS repairs a BIOS.
Alternatively, CPU is after utilizing the 2nd BIOS reparation the one BIOS, soft at the current Boot that success loadsUnder the guiding of part or the 2nd Boot software, load operation system or notification logic device are by its reset and switch back the first storage chipWith its conducting.
As can be seen here, the above embodiments are deposited a mutually redundant Boot software and the 2nd Boot at the different subregions of hard diskSoftware, makes CPU navigate to a Boot software and the 2nd Boot software by scanning DPT in the process of operation MBR;And the mark of the Boot software to be loaded that logic device can its maintenance is set to represent a Boot software and the 2nd BootAny in software, make CPU operation MBR process in by obtaining this mark from a Boot software of its locationLoad corresponding one with selection in the 2nd Boot software. Thereby the above embodiments can provide for the loading of Boot softwareBackup reliably.
In addition, the above embodiments can also utilize the first storage chip and the second storage chip to deposit respectively mutually redundant firstBIOS and the 2nd BIOS, thus for loading, BIOS provides reliable backup.
Brief description of the drawings
Fig. 1 is the principle schematic diagram of the start-up course of traditional electronic equipment;
Fig. 2 is the schematic diagram of an electronic equipment in embodiment;
Fig. 3 a to Fig. 3 d is the principle schematic diagram of the start-up course of electronic equipment as shown in Figure 2;
Fig. 4 is the structural representation of the logic device in electronic equipment as shown in Figure 2;
Fig. 5 is the schematic diagram of the electronic equipment in another embodiment;
Fig. 6 a to Fig. 6 b is the principle schematic diagram of the start-up course of electronic equipment as shown in Figure 5;
Fig. 7 is the structural representation of the logic device in electronic equipment as shown in Figure 5;
Fig. 8 is the principle schematic flow sheet for the starting method of electronic equipment in an embodiment;
Fig. 9 a to Fig. 9 c is the example process schematic diagram of starting method as shown in Figure 8;
Figure 10 a to Figure 10 c is the expansion example process schematic diagram of starting method as shown in Figure 8.
Detailed description of the invention
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, rightThe present invention further describes.
Refer to Fig. 1, electronic equipment 10 can comprise CPU11, storage chip 12 and hard disk 13. Wherein, CPU11Can be the CPU of X86 series, storage chip 12 can be Flash chip, and hard disk 13 can be mechanical hard disk, solid-state hardDish or USB dish.
In storage chip 12, store the BIOS120 loading for CPU11.
In hard disk 13, store the MBR (MasterBootRecord, the hard disk that are loaded by BIOS120 guiding for CPU11MBR) 131, for CPU11, by the DPT of MBR131 boot scan, (DiskPartitionTable, hard disk dividesDistrict table) 132, for CPU11 after scanning DPT132 by the Boot software 133 of MBR131 guiding loading andGuided the operating system 134 of loading by Boot software 133 for CPU11.
When after electronic equipment 10 electrifying startups as shown in Figure 1:
S101, CPU11 loads BIOS120 from storage chip 12, to initialize;
S102, CPU11 MBS from hard disk 13 under the guiding of BIOS120 loads MBR131;
S103, CPU11 scans the DPT132 in the MBS of hard disk 13 under the guiding of MBR131, to determine BootSoftware 133 and operating system 134 is residing corresponding subregion in hard disk 13;
S104, CPU11, under the guiding of MBR131, loads Boot software 133 from the corresponding sector of hard disk 13;
S105, CPU11 under the guiding of Boot software 133 from the corresponding sector load operation system 134 of hard disk 13.
As above visible, Boot software 133 has determined that CPU11 whether can successful load operation system 134, and, work as BootSoftware 133 is such as, because online updating failure (electronic equipment 10 fell a little before renewal completes) etc. is when former thereby damaged,CPU11 cannot successful load operation system 134, thereby makes electronic equipment 10 cannot realize normal function.
The problem that following embodiment exists the electronic equipment for above-mentioned 10 is improved.
Refer to Fig. 2, in one embodiment, electronic equipment 20 can comprise CPU21, storage chip 22, hard disk 23,And logic device 24. And, between CPU21 and storage chip 22, be connected with storage chip access bus 251, CPU21And between hard disk 23, be connected with hard disk access bus 252. Wherein, CPU21 can be the CPU of X86 series, storage chip22 can be Flash chip, and hard disk 23 can be mechanical hard disk, solid state hard disc or USB dish.
In storage chip 22, store the BIOS220 loading for CPU21.
In hard disk 23, store the MBR231 that loaded by BIOS220 guiding for CPU21, for CPU21 by MBR231The DPT232 of boot scan, after scanning DPT232, alternatively guided first of loading by MBR231 for CPU21Boot software 233a and the 2nd Boot software 233b and for CPU21 by a Boot software 233a or the 2nd BootThe operating system 234 that software 233b guiding loads.
Correspondingly, CPU21 can determine a Boot software 233a by scanning DPT232 under the guiding of MBR231Place subregion in hard disk 23 and the place subregion of the 2nd Boot software 233b in hard disk 23, and, CPU21Under the guiding of MBR231, load a Boot software 233a or the 2nd Boot software 233b.
And, in guiding after CPU21 scanned DPT232, operate in MBR231 in CPU21 need to determine rightThe selection result of the one Boot software 233a and the 2nd Boot software 233b, so that CPU21 is under the guiding of MBR231Load one of them of a Boot software 233a and the 2nd Boot software 233b, instead of load a Boot software simultaneously233a and the 2nd Boot software 233b.
Thus, in logic device 24, can safeguard the mark 240 of Boot software to be loaded, move MBR231 for CPU21Process in access and obtain, determine a Boot software 233a and the thereby assist to operate in MBR231 in CPU21The selection result of two Boot software 233b.
In Fig. 2, between CPU21 and logic device 24, be connected with logic bus 253, moving MBR231 for CPU21Process in obtain the mark 240 of Boot software to be loaded from logic device 24; And the reseting pin Rst of CPU21 connectsConnect logic device 24, realize the reset control to CPU21 for logic device 24, to realize CPU21 to a BootThe switching of software 233a and the 2nd Boot software 233b loads.
Logic device 24 is set to CPU21 and resets and by the Boot software to be loaded of safeguarding after electronic equipment 20 powers onMark 240 is set to represent a Boot software 233a, so that CPU21 is being removed and resetting and load BIOS by logic device 24After 220, obtain this mark 240, also select to load Boot according to this mark 240 of obtaining by operation MBR231Software 233a;
Logic device 24 is detecting that (, CPU21 loading the one Boot software 233a is set to reset by CPU21 after failedAgain be set to reset) and the mark 240 of the Boot software to be loaded of safeguarding is changed to and represents the 2nd Boot software 233b, withMake CPU21 after being removed by logic device 24 and resetting and load (that is, reloading) BIOS220, by operation MBR231 obtain this mark 240, and select to load the 2nd Boot software 233b according to this mark 240 of obtaining.
In order to understand better this embodiment, below in conjunction with Fig. 3 a to Fig. 3 d, the start-up course of electronic equipment 20 is described.
When after electronic equipment 20 electrifying startups as shown in Figure 2, please be first referring to Fig. 3 a:
S211, logic device 24 is set to reset mode by the reseting pin Rst that controls CPU21 by CPU21, and will treatThe mark 240 that loads Boot software is set to represent a Boot software 233a, then by controlling the reset transistor of CPU21Pin Rst removes the reset to CPU21, in Fig. 3 a, will represent that this mark 240 when a Boot software 233a is designated 240a;
S212, CPU21 accesses bus 251 by storage chip and loads BIOS220 from storage chip 22, to initialize;
S213, after BIOS loads successfully, CPU21 accesses bus 252 from firmly by hard disk under the guiding of BIOS220The MBS of dish 23 loads MBR231; If BIOS loads unsuccessfully, follow-up flow process cannot continue to carry out, electronic equipment20 cannot normally start;
S214, CPU21 accesses bus 252 by hard disk and scans in the MBS of hard disk 23 under the guiding of MBR231DPT232, hard to determine a Boot software 233a and the 2nd Boot software 233b and the each leisure of operating system 234Residing corresponding subregion in dish 23;
S215, CPU21 obtains Boot to be loaded under the guiding of MBR231 from logic device 24 by logic bus 253The mark 240a of software, to determine that current selection loads a Boot software 233a;
S216, CPU21 accesses bus 252 by hard disk and loads the from the corresponding sector of hard disk 23 under the guiding of MBR231One Boot software 233a;
If a Boot software 233a loads successfully,, as shown in the S217 in Fig. 3 a, CPU21 is at a Boot softwareUnder the guiding of 233a, access the corresponding sector load operation system 234 of bus 252 from hard disk 23 by hard disk.
If a Boot software 233a loads unsuccessfully, referring to Fig. 3 b:
S221, logic device 24 is set to reset mode by the reseting pin Rst that controls CPU21 by CPU21, and will treatThe mark 240 that loads Boot software changes to and represents the 2nd Boot software 233b, then by controlling the reset transistor of CPU21Pin Rst removes the reset to CPU21, in Fig. 3 b, will represent that this mark 240 when the 2nd Boot software 233b is designated 240b;
S222, CPU21 accesses bus 251 by storage chip and again loads BIOS220 from storage chip 22, at the beginning of carrying outBeginningization;
S223, after BIOS loads successfully, CPU21 accesses bus 252 from firmly by hard disk under the guiding of BIOS220The MBS of dish 23 loads MBR231; If BIOS loads unsuccessfully, follow-up flow process cannot continue to carry out, electronic equipment20 cannot normally start;
S224, CPU21 accesses bus 252 by hard disk and scans in the MBS of hard disk 23 under the guiding of MBR231DPT232, hard to determine a Boot software 233a and the 2nd Boot software 233b and the each leisure of operating system 234Residing corresponding subregion in dish 23;
S225, CPU21 obtains Boot to be loaded under the guiding of MBR231 from logic device 24 by logic bus 253The mark 240b of software, to determine that current selection loads the 2nd Boot software 233b;
S226, CPU21 accesses bus 252 by hard disk and loads the from the corresponding sector of hard disk 23 under the guiding of MBR231Two Boot software 233b;
If the 2nd Boot software 233b loads successfully,, as shown in the S227 in Fig. 3 b, CPU21 is at the 2nd Boot softwareUnder the guiding of 233b, access the corresponding sector load operation system 234 of bus 252 from hard disk 23 by hard disk.
If the 2nd Boot software 233b loads unsuccessfully, a Boot software 233a and the 2nd Boot software 233b all damage,May cause electronic equipment 20 normally to start.
The one Boot software 233a and the 2nd Boot software 233b all damage may be because: the one Boot software 233a damageAfter not in time repair, after this, the 2nd Boot software 233b due to same damage of the similar reason of a Boot software 233bBad.
For this reason, this embodiment can be identical or an essentially identical Boot software 233a and the 2nd Boot software of software content233b gives respectively primary and backup identity, and, the mark 240 of Boot software to be loaded can be further by its expressionThat the one Boot software 233a is designated is primary, the 2nd Boot software 233b of its expression is designated for subsequent use.
Correspondingly, a Boot software 233a and the 2nd Boot software 233b can be further used for guiding CPU21 to pass through to knowThis mark 240 that other logic device 24 is safeguarded is determined the activestandby state of the Boot software of current loading, that is, mark 240 not onlyBe used for distinguishing a Boot software 233a and the 2nd Boot software 233b, also further there is the physical meaning that represents active and standby identity,For example, the active and standby identity that the corresponding Boot software 233a of mark 240a and mark 240a represent is primary, mark 240bThe active and standby identity that corresponding the 2nd Boot software 233b and mark 240b represent is for subsequent use. Thereby:
Refer to the S230 of Fig. 3 c, CPU21 (can be identical or large with the S216 in Fig. 3 a by the S216 shown in Fig. 3 cCause identical) successfully loaded a Boot software 233a after, under the guiding of a Boot software 233a by logic totalThe mark 240a that line 253 is identified Boot software to be loaded from logic device 24 represents primary, and therefore CPU21 can pass throughS217 load operation system 234 shown in Fig. 3 a.
Refer to the S240 of Fig. 3 d, CPU21 (can be identical or large with the S226 in Fig. 3 b by the S226 shown in Fig. 3 dCause identical) successfully loaded the 2nd Boot software 233b after, under the guiding of the 2nd Boot software 233b by logic totalThe mark 240b that line 253 is identified Boot software to be loaded from logic device 24 represents for subsequent use, and therefore, CPU21 is secondUnder the guiding of Boot software 233b, utilize the 2nd Boot software 233b to repair a Boot software 233a, as the S241 in Fig. 3 dShown in; And after utilizing the 2nd Boot software 233b reparation the one Boot software 233a, CPU21 can be as Fig. 3 dIn S242a shown in like that under the guiding of the 2nd Boot software 233b load operation system 234 (with the S227 in Fig. 3 bIdentical or close), primary Boot software and Boot software for subsequent use are used to guide the loading of operating system 234 coequally.
Or after utilizing the 2nd Boot software 233b reparation the one Boot software 233a, CPU21 can be by figureS242a in 3d utilizes the guiding of the 2nd Boot software 233b from the corresponding sector load operation system 234 of hard disk 23, butShown in the S242b in Fig. 3 d, notification logic device 24 resetted and by safeguard Boot to be loadedThe mark 240 of software resets to and represents a Boot software 233a, with abandon utilizing the 2nd Boot software 233b for subsequent use start,And again attempt loading a primary Boot software 233a startup, that is, Boot software for subsequent use is mainly used in primary BootThe reparation of software.
Refer to Fig. 4, the logic device 24 in above-described embodiment can comprise: start controller 40, reset controller 41,Register group 42, first timer 43, second timer 44 and logical access interface 45.
Reset controller 41 is for realizing reset and the releasing to CPU21 by the reseting pin Rst that controls CPU21;
Register group 42 is for the mark 240 of the Boot software to be loaded depositing logic device 24 and safeguard;
First timer 43 is for loading BIOS220 timing to CPU21;
Second timer 44 is for loading the arbitrary of a Boot software 233a and the 2nd Boot software 233b to CPU21Individual timing;
Logical access interface 45 is soft for assisting CPU21 to obtain Boot to be loaded by logic bus 253 from register group 42The mark 240 of part and assistance CPU21 communicate by letter with startup controller 40 by logic bus 253;
Start controller 40 for coordinating to control above-mentioned each parts.
Start controller 40 and in the time of electronic equipment 20 electrifying startup, trigger reset controller 41 by controlling the reset transistor of CPU21Pin Rst is set to CPU21 to reset and the mark in register group 42 240 is set to represent a Boot software 233a,Then trigger reset controller 41 and removes reset that CPU21 is set to, and tactile by controlling the reseting pin Rst of CPU21Send out first timer 43 and start timing;
If receive from logical access interface 45 that CPU21 sends by logic bus 253 successfully loading BIOS firstTimer cuts out notice (MBR231 that the transmission of this notice can successfully be loaded by CPU21 guides), starts controller40 close first timer 43 and trigger second timer 44 and start timing;
If receive the overtime notice that first timer 43 produces, determine that BIOS loads unsuccessfully.
, whether logic device 24 can utilize first timer 43 to detect CPU21 successfully to add under MBR231 collaborativeCarry BIOS220.
If receiving CPU21 from logical access interface 45 is successfully loading a Boot software 233a by logic bus 253The second timer sending is closed notice (the Boot software 233a that the transmission of this notice can successfully be loaded by CPU21Guiding), start controller 40 and close second timer 44;
If represent to receive when a Boot software 233a in mark 240 the overtime notice that second timer 44 produces, determine theOne Boot software 233a loads unsuccessfully, again triggers the reset controller 41 reseting pin Rst by controlling CPU21 by CPU21 are set to reset and the mark in register group 42 240 are set to represent the 2nd Boot software 233b, then trigger and resetController 41 is removed reset that CPU21 is set to, and is again triggered first calmly by controlling the reseting pin Rst of CPU21Time device 43 start timing;
If receiving CPU21 from logical access interface 45 is successfully loading the 2nd Boot software 233b by logic bus 253The second timer sending is closed notice (the 2nd Boot software 233b that the transmission of this notice can successfully be loaded by CPU21Guiding), start controller 40 and close second timer 44;
If represent to receive when the 2nd Boot software 233b in mark 240 the overtime notice that second timer 44 produces, determine theTwo Boot software 233b load unsuccessfully.
, logic device 24 can utilize second timer 44 to detect CPU21 and whether successfully load a Boot software 233aOr the 2nd Boot software.
In addition, receive from logical access interface 45 reset the mark 240 of resetting that CPU21 sends when starting controller 40Notice time (, Boot software for subsequent use is mainly used in the situation of the reparation to primary Boot software, and, this notice send outSend the 2nd Boot software 233b that can successfully be loaded by CPU21 to guide), start controller 40 and can also trigger the control that resetsDevice 41 by control CPU21 reseting pin Rst by CPU21 be set to reset and by the mark in register group 42 240Be set to represent a Boot software 233a, to abandon utilizing the 2nd Boot software 233b for subsequent use to start, also again attempt addingCarrying a primary Boot software 233a starts.
Visible, the above embodiments are deposited a mutually redundant Boot software 233a and second at the different subregions of hard disk 23Boot software 233b, makes CPU21 navigate to a Boot by scanning DPT232 in the process of operation MBR231Software 233a and the 2nd Boot software 233b; And logic device 24 can be by the mark of the Boot software to be loaded of its maintenanceKnow 240 and be set to represent any in a Boot software 233a and the 2nd Boot software 233b, make CPU21 in operationIn the process of MBR231 by obtaining this mark 240 a Boot software 233a and the 2nd Boot software from its locationIn 233b, select to load corresponding one. Thereby the above embodiments can provide reliable backup for the loading of Boot software.
Than above-described embodiment, another following embodiment can also be further for the loading of bios software provides reliableBackup.
Refer to Fig. 5, in another embodiment, electronic equipment 30 can comprise CPU31, the first storage chip 32a andTwo storage chip 32b, hard disk 33 and logic device 34. And, between logic chip 34 and the first storage chip 32aBe connected with between the first storage chip access bus 351a, logic chip 34 and the second storage chip 32b and be connected with the second storageBetween chip access bus 351b, logic chip 34 and CPU31, be connected with the 3rd storage chip access bus 350, CPU31And between logic device 34, be connected with logic bus 353, and, between CPU31 and hard disk 33, be connected with hard disk access bus352. Wherein, CPU31 can be the CPU of X86 series, and the first storage chip 32a and the second storage chip 32b can beFlash chip, hard disk 33 can be mechanical hard disk, solid state hard disc or USB dish.
In the first storage chip 32a, store a BIOS320a who loads for CPU31.
In the second storage chip 32b, store the 2nd BIOS320b loading for CPU31.
In hard disk 33, store the MBR331 that loaded by a BIOS320a or the 2nd BIOS320b guiding for CPU21,For CPU31 by the DPT332 of MBR331 boot scan, for CPU31 scanning DPT332 after by MBR331Alternatively guiding load a Boot software 333a and the 2nd Boot software 333b and for CPU31 by a BootThe operating system 334 that software 333a or the 2nd Boot software 333b guiding load.
Correspondingly, logic device 34 is selected CPU31 and the first storage chip 32a and the second storage chip 32b by logic deviceOne ground conducting, wherein:
Logic device 34 is set to reset by CPU31 after electronic equipment 30 powers on, and by the CPU31 of reset mode and firstStorage chip 32a conducting and the mark 340 of Boot software to be loaded of safeguarding is set to represent a Boot software 333a,So that CPU31 is being removed the rear logic device 34 that passes through that resets from the first storage chip 32a loading the one BIOS by logic device 34320a, and obtain this mark 340 by operation MBR331 after loading a BIOS320, thus should according to what obtainMark 340 selects to load a Boot software 333a;
Logic device 34 detect CPU31 from the first storage chip 32a loads a BIOS320a failure by CPU32aBe set to reset, and CPU31 is switched to and the second storage chip 32b conducting, so that CPU31 is being separated by logic device 34Load two BIOS320b by logic device 34 from the second storage chip except after resetting.
In addition, logic device 34 is detecting that CPU31 loading the one Boot software 233a (comprises that CPU31 becomes after failedThe situation of merit loading the one BIOS320a and CPU31 successfully load the situation of the 2nd BIOS320b) CPU31 is set to againPosition (that is, being again set to reset), and the mark 340 of the Boot software to be loaded of safeguarding is changed to and represents the 2nd Boot software333b, so that CPU31 resets and loads (, reloading) BIOS320a or being removed by logic device 34After two BIOS320b, obtain this mark 240, also select to load according to this mark 240 of obtaining by operation MBR331The 2nd Boot software 233b.
In order to understand better this embodiment, below in conjunction with Fig. 6 a to Fig. 6 c, the start-up course of electronic equipment 30 is described.
When after electronic equipment 30 electrifying startups as shown in Figure 5, please be first referring to Fig. 6 a:
S511, logic device 34 is set to reset mode by the reseting pin Rst that controls CPU31 by CPU31, now,Except the mark 240 of Boot software to be loaded is set as previous embodiment, also by the first storage chip 32a and CPU31 by the first storage chip access bus 351a and 350 conductings of the 3rd storage chip access bus, then by controlling CPU31Reseting pin Rst remove the reset to CPU31;
S512, CPU31 deposits from first by the first storage chip access bus 351a and the 3rd storage chip access bus 350Storage chip 32a loads a BIOS320a, to initialize.
If can successfully load a BIOS320a, with reference in aforesaid embodiment at BIOS220 (, by aforementioned enforcementBIOS220 in example can be regarded as the BIOS320a in this embodiment) process after loading successfully, CPU31Can load a Boot software 333a or the 2nd Boot software 333b, and at a Boot software 333a or the 2nd BootLoad operation system 334 under the guiding of software 333b (comprises and utilizes the 2nd Boot software 333b to repair a Boot software 333aSituation).
If load a BIOS320a failure, referring to Fig. 6 b:
S521, logic device 34 is set to reset mode by the reseting pin Rst that controls CPU31 by CPU31, and switchesBe that the second storage chip 32b and CPU31 are by the second storage chip access bus 351b and the 3rd storage chip access bus 350Conducting, then removes the reset to CPU31 by the reseting pin Rst that controls CPU31;
S522, CPU31 deposits from second by the second storage chip access bus 351b and the 3rd storage chip access bus 350Storage chip 32b loads a BIOS320b, to initialize.
If can successfully load the 2nd BIOS320b, with reference in aforesaid embodiment at BIOS220 (, by aforementioned enforcementBIOS220 in example also can be regarded as the 2nd BIOS320b in this embodiment) process after loading successfully, CPU31Can load a Boot software 333a or the 2nd Boot software 333b, and at a Boot software 333a or the 2nd BootLoad operation system 334 under the guiding of software 333b (comprises and utilizes the 2nd Boot software 333b to repair a Boot software 333aSituation).
If the 2nd BIOS320b loads unsuccessfully, a BIOS320a and the 2nd BIOS320b all damage, and may cause electricitySubset 30 cannot normally start.
For this reason, this embodiment can divide for the identical or essentially identical BIOS320a of software content and the 2nd BIOS320bDo not give primary and backup identity, and a Boot software 333a and the 2nd Boot software 333b can further guideThe conducting of the CPU31 that CPU21 safeguards by cognitive logic device 34 and the first storage chip 32a and the second storage chip 32bRelation is determined the activestandby state of the BIOS of current loading, that is, a Boot software 333a and the 2nd Boot software 333b enter oneStep is used for guiding the conducting state of CPU31 cognitive logic device 34 to the first storage chip 32a and the second storage chip 32b,Correspondingly, the conducting state of logic device 34 and the first storage chip 32a represents that the BIOS of current loading is master state, patrolsThe conducting state of collecting device 34 and the second storage chip 32b represents that the BIOS of current loading is stand-by state.
Correspondingly, when CPU31 is the 2nd BIOS220b for subsequent use at the current BIOS that success loads, can utilize for subsequent useThe 2nd BIOS220b repair a primary BIOS220a. And, utilizing the 2nd BIOS320b for subsequent use to repair masterWith a BIOS320a after:
CPU31 can continue under the guiding of the current Boot software 333a that success loads or the 2nd Boot software 333bContinuous load operation system 334, that is, primary BIOS and BIOS for subsequent use are used to coequally guiding and start;
Or CPU31 also can abandon utilizing the current primary Boot software 333a that success loads or for subsequent use theTwo Boot software 233b start, and also notification logic device 34 is resetted, also switches back by controlling reseting pin Rst simultaneouslyThe first storage chip 32a and its conducting, that is, BIOS for subsequent use is mainly used in the reparation to primary BIOS.
Refer to Fig. 7, the logic device 34 in above-described embodiment can comprise: start controller 70, reset controller 71,Register group 72, first timer 73, second timer 74, logical access interface 75 and change-over switch 76.
Reset controller 71 is for realizing reset and the releasing to CPU31 by the reseting pin Rst that controls CPU31;
Register group 72 is for the mark 240 of the Boot software to be loaded depositing logic device 24 and safeguard;
First timer 73 is for CPU21 being loaded to any timing of a BIOS320a and the 2nd BIOS320b,, logic device 74 can utilize first timer 73 to detect CPU31 and whether successfully load the under MBR331 collaborativeOne BIOS320a or the 2nd BIOS320b;
Second timer 74 is for loading the arbitrary of a Boot software 333a and the 2nd Boot software 333b to CPU21Individual timing, that is, logic device 74 can utilize second timer 74 to detect CPU31 and whether successfully load a Boot software333a or the 2nd Boot software 333b;
Logical access interface 75 is soft for assisting CPU31 to obtain Boot to be loaded by logic bus 353 from register group 72The mark 340 of part and assistance CPU31 communicate by letter with startup controller 70 by logic bus 353;
Change-over switch 76 for by the first storage chip access bus 351a and the second storage chip access bus 351b alternatively withThe 3rd storage chip access bus 350 conductings, with realize the first storage chip 32a and the second storage chip 32b alternatively with CPU31 conductings;
Start controller 70 for according to coordinating to control reset controller 71, register with the essentially identical mode of previous embodimentOutside group 72, first timer 73, second timer 74, also control in the following manner change-over switch 76:
Start controller 70 and in the time of electronic equipment 20 electrifying startup, control change-over switch 76 by the first storage chip access bus 351aWith the 3rd storage chip access bus 350 conductings, in the time that CPU31 loads a BIOS320a failure by the second storage chipAccess bus 351b and 350 conductings of the 3rd storage chip access bus.
In addition, reset the replacement initiated for the reparation of Boot software except CPU31 identify 340 notice (, Boot for subsequent useSoftware is mainly used in the situation of the reparation to primary Boot software, and the transmission of this notice can successfully be loaded by CPU31The 2nd Boot software 333b guiding) outside, start controller 70 and also may receive CPU31 from logical access interface 75Complete the reset notice sent after BIOS repairs (that is, BIOS for subsequent use is mainly used in the situation of the reparation to primary BIOS,And the Boot software 333a that the transmission of this notice can successfully be loaded by CPU31 or the 2nd Boot software 333b drawLead), now, start controller 70 and can trigger the reset controller 72 reseting pin Rst by controlling CPU31 by CPU31 are set to reset, start, also utilize the primary BIOS after repairing again to attempt starting to abandon utilizing BIOS for subsequent use to realize.
Visible, the above embodiments can provide reliable backup for Boot Bootload, but also can utilize the first storage coreSheet 32a and the second storage chip 32b deposit respectively a mutually redundant BIOS320a and the 2nd BIOS320b, thereby enterOne step provides reliable backup for BIOS loads.
Except the electronic equipment in above-described embodiment, following embodiment also provides the starting method for electronic equipment.
In one embodiment, the electronic equipment that is suitable for this starting method comprises CPU, storage chip and hard disk, wherein,In storage chip, store BIOS; In hard disk, store for CPU by the MBR of BIOS guiding loading, for CPU quiltThe DPT of MBR boot scan, after scanning DPT, alternatively guided a Boot software of loading by MBR for CPUGuided by a Boot software or the 2nd Boot software the operating system loading with the 2nd Boot software and for CPU;
And, referring to Fig. 8, this starting method comprises:
S801, the mark that CPU is set to the Boot software to be loaded resetting and safeguard after electronic equipment powers on is set toRepresent a Boot software, so that CPU obtains by operation MBR after being resetted by logic device releasing and loading BIOSThis mark, this mark that also basis is obtained select to load a Boot software;
S802, is set to CPU to reset and to be loaded by what safeguard detecting after CPU loads a Boot software failureThe mark of Boot software changes to and represents the 2nd Boot software, so that CPU is being removed and resetting and load BIOS by logic deviceObtain this mark, also select to load the 2nd Boot software according to this mark of obtaining by operation MBR afterwards.
Refer to Fig. 9 a, starting method as shown in Figure 8 can specifically be applied to the logic device being arranged in electronic equipment, andAnd in the time having applied starting method as shown in Figure 8, the start-up course of this electronic equipment comprises:
S901, after electronic equipment electrifying startup, CPU is set to reset mode by logic device, and by Boot software to be loadedMark be set to represent a Boot software;
S902, logic device is removed the reset to CPU;
S903, CPU loads BIOS from storage chip, and wherein, if load unsuccessfully, electronic equipment starts unsuccessfully; If loadSuccess, continues follow-up flow process:
S904, CPU MBS from hard disk under the guiding of BIOS loads MBR;
S905, CPU scans the DPT in the MBS of hard disk under the guiding of MBR;
S906, CPU obtains the mark of Boot software to be loaded to logic device;
S907, CPU loads first or the 2nd Boot software of the current expression of this mark under the guiding of MBR from hard disk;
If load successfully, carry out follow-up S908;
If load unsuccessfully, carry out follow-up S909~S910;
S908, load operation system under the guiding of first or the 2nd Boot software that CPU loads in success, makes electronic equipment successStart;
S909, logic device judges the Boot software that current loading is failed, if a Boot software is carried out S910, ifBe the 2nd Boot software, determine that electronic equipment starts unsuccessfully;
S910, CPU is set to reset mode by logic device, and the mark of Boot software to be loaded is set to represent the 2nd BootSoftware.
In this embodiment, the mark of Boot software to be loaded can be further main by a Boot software identification of its expressionWith, the 2nd Boot software identification that represented be for subsequent use, and a Boot software and the 2nd Boot software can enter oneStep is for guiding this mark that CPU safeguards by cognitive logic device to determine the activestandby state of the Boot software of current loading, withMake CPU utilize the 2nd Boot software to repair a Boot software after successfully loading is identified as the 2nd Boot software for subsequent use.
Correspondingly, CPU, can drawing at the 2nd Boot software after utilizing the 2nd Boot software reparation the one Boot softwareLead lower load operation system, or, also can be resetted the mark weight of the Boot software to be loaded of safeguarding by notification logic deviceBe set to expression the one Boot software, reload a Boot software to trigger CPU.
Refer to Fig. 9 b, utilize the 2nd Boot software reparation the one Boot software and after reparation, continue to utilize for CPUThe situation of two Boot software guiding load operation systems, can replace the S908 carrying out after Boot successfully loads in Fig. 9 aFor S920~S923:
S920, what CPU safeguarded again obtain logic device under the guiding of first or the 2nd Boot software of success loading in waits to addCarry the mark of Boot software, judge that the Boot software that current success loads is as a primary Boot software or as standbyWith the 2nd Boot software;
If as a primary Boot software, carry out S921;
If as the 2nd Boot software for subsequent use, carry out S922~S923;
S921, CPU is from hard disk load operation system under the guiding of a Boot software, and then electronic equipment successfully starts;
S922, CPU utilizes the 2nd Boot software to repair the Boot software in hard disk under the guiding of the 2nd Boot software;
S923, CPU, after completing the reparation of a Boot software, loads behaviour from hard disk under the guiding of the 2nd Boot softwareMake system, then electronic equipment successfully starts.
Refer to Fig. 9 c, utilize the 2nd Boot software reparation the one Boot software and after reparation, trigger CPU for CPUReload the situation of a Boot software guiding load operation system, can will in Fig. 9 a, after Boot successfully loads, carry outS908 replaces with S930~S932:
S930, what CPU safeguarded again obtain logic device under the guiding of first or the 2nd Boot software of success loading in waits to addCarry the mark of Boot software, judge that the Boot software that current success loads is as a primary Boot software or as standbyWith the 2nd Boot software;
If as a primary Boot software, carry out S931;
If as the 2nd Boot software for subsequent use, carry out S932;
S931, CPU is from hard disk load operation system under the guiding of a Boot software, and then electronic equipment successfully starts;
S932, CPU utilizes the 2nd Boot software to repair the Boot software in hard disk under the guiding of the 2nd Boot software,Notification logic device is set to reset mode according to the mode logic device of S901 by CPU and by the mark of Boot software to be loadedBe set to represent a Boot software, then continue to carry out flow process from S901.
In addition, in this embodiment, for the reliability backup that further provides BIOS to load, the BIOS that can load for CPUCan comprise a BIOS and the 2nd BIOS, and the storage chip in electronic equipment can comprise deposits a BIOS'sThe first storage chip and deposit the second storage chip of the 2nd BIOS, correspondingly, this starting method can be further by CPU withThe first storage chip and the alternatively conducting of the second storage chip, wherein:
After electronic equipment powers on by the CPU of reset mode and the first storage chip conducting so that CPU remove reset after fromThe first storage chip loads a BIOS;
CPU is set to from the first storage chip loads a BIOS failure at CPU and resets and CPU is switched to and theTwo storage chip conductings, so that CPU is removing after reset from the second storage chip loading the 2nd BIOS.
Refer to Figure 10 a, in the time providing the reliability backup of BIOS loading and Boot Bootload, application is as Fig. 8 institute simultaneouslyThe start-up course of the electronic equipment of the starting method showing comprises:
S1001, after electronic equipment electrifying startup, CPU is set to reset mode by logic device, and by CPU and the first storageThe mark of chip conducting and Boot software to be loaded is set to represent a Boot software;
S1002, logic device is removed the reset to CPU;
S1003, CPU loads BIOS from the first or second storage chip of current conducting;
If load unsuccessfully, carry out S1004, that is, CPU is set to reset mode by logic device, and CPU is switched to andTwo storage chip conductings, then return to S1002;
If load successfully, start to continue follow-up flow process from S1005:
S1005, CPU MBS from hard disk under the guiding of BIOS loads MBR;
S1006, CPU scans the DPT in the MBS of hard disk under the guiding of MBR;
S1007, CPU obtains the mark of Boot software to be loaded to logic device;
S1008, CPU loads first or the 2nd Boot software of the current expression of this mark under the guiding of MBR from hard disk;
If load successfully, carry out follow-up S1009;
If load unsuccessfully, carry out follow-up S1010~S1011;
S1009, load operation system under the guiding of first or the 2nd Boot software that CPU loads in success, becomes electronic equipmentMerit starts;
S1010, logic device judges the Boot software that current loading is failed, if a Boot software is carried out S910,If the 2nd Boot software, determines that electronic equipment starts unsuccessfully;
S1011, CPU is set to reset mode by logic device, and the mark of Boot software to be loaded is set to represent secondBoot software.
In this embodiment, a Boot software and the 2nd Boot software cannot be further used for guiding CPU recognition logic dressPut the conducting state to the first storage chip and the second storage chip, so that CPU is second at the current BIOS that success loadsWhen BIOS, utilize the 2nd BIOS to repair a BIOS.
Correspondingly, CPU, can be at the current Boot that success loads after utilizing the 2nd BIOS reparation the one BIOSLoad operation system under the guiding of software or the 2nd Boot software, or also can notification logic device by its reset and switch backOne storage chip and its conducting are so that CPU attempts loading a BIOS again.
Refer to Figure 10 b, utilize the 2nd BIOS to repair the situation of a BIOS and continue after reparation for CPU and utilizeThe situation of first or the 2nd Boot software guiding load operation system having loaded, can will successfully load at Boot in Figure 10 aThe S1009 of rear execution replaces with S1020~S1022:
S1020, current with the from logic device identification CPU under the guiding of first or the 2nd Boot software that CPU loads in successOne and the conducting state of the second storage chip, judge that the BIOS that current success loads is as primary BIOS or a conductThe 2nd BIOS for subsequent use;
If as a primary BIOS, carry out S1022;
If as the 2nd BIOS for subsequent use, carry out S1021~S1022;
S1021, CPU utilizes the 2nd BIOS to repair the under the current guiding of first or the 2nd Boot software that success loadsOne BIOS;
S1022, CPU under the current guiding of first or the 2nd Boot software that success loads from hard disk load operation system,Then electronic equipment successfully starts.
Refer to Figure 10 c, utilize the 2nd BIOS to repair a BIOS and after reparation, trigger CPU for CPU and again addCarry the situation of a BIOS, the S1009 carrying out can be replaced with to S1030~S1032 in Figure 10 a after Boot successfully loads:
S1030, current with the from logic device identification CPU under the guiding of first or the 2nd Boot software that CPU loads in successOne and the conducting state of the second storage chip, judge that the BIOS that current success loads is as primary BIOS or a conductThe 2nd BIOS for subsequent use;
If as a primary BIOS, carry out S1031;
If as the 2nd BIOS for subsequent use, carry out S1032;
S1031, CPU under the current guiding of first or the 2nd Boot software that success loads from hard disk load operation system,Then electronic equipment successfully starts;
S1032, CPU utilizes the 2nd BIOS to repair the under the current guiding of first or the 2nd Boot software that success loadsOne BIOS, and notification logic device is set to reset mode according to the mode logic device of S1001 by CPU and CPU is switchedReturn and the first storage chip conducting at a BIOS place, then continue execution flow process from S1001.
Certainly, the Boot software reparation as shown in Fig. 9 b and Fig. 9 c also can realize with bios software reparation simultaneously, now,S1031 in S1022 in Figure 10 b or Figure 10 c can be replaced with Fig. 9 b in S920~S923 or Fig. 9 c inS930~S932 has the step of same principle.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all in spirit of the present invention and former, any amendment of making, be equal to replacement, improvement etc., within the scope of protection of the invention all should be included in.
Claims (12)
1. an electronic equipment, is characterized in that, comprises CPU, storage chip, hard disk and logic device, wherein:
In storage chip, store BIOS;
In hard disk, store the MBR that loaded by BIOS guiding for CPU, for CPU by the DPT of MBR boot scan,For CPU after scanning DPT by MBR alternatively guide a Boot software of loading and the 2nd Boot software andGuided by a Boot software or the 2nd Boot software the operating system loading for CPU;
Logic device is set to CPU and resets and by the mark setting of Boot software to be loaded of safeguarding after electronic equipment powers onFor representing a Boot software, so that CPU obtains by operation MBR after being resetted by logic device releasing and loading BIOSGet this mark, also select to load a Boot software according to this mark of obtaining;
Logic device is set to CPU to reset and to be loaded by what safeguard detecting after CPU loads a Boot software failureThe mark of Boot software changes to and represents the 2nd Boot software, so that CPU is being removed and resetting and load BIOS by logic deviceObtain this mark, also select to load the 2nd Boot software according to this mark of obtaining by operation MBR afterwards.
2. electronic equipment according to claim 1, is characterized in that, the mark of Boot software to be loaded is further by itRepresent a Boot software identification be primary, be for subsequent use by the 2nd Boot software identification of its expression;
This mark that the one Boot software and the 2nd Boot software are further used for guiding CPU to safeguard by cognitive logic device is trueThe activestandby state of the Boot software of settled front loading, so that CPU is successfully loading and is being identified as after the 2nd Boot software for subsequent useUtilize the 2nd Boot software to repair a Boot software.
3. electronic equipment according to claim 2, is characterized in that, CPU is utilizing the 2nd Boot software to repair firstAfter Boot software, under the guiding of the 2nd Boot software load operation system or notification logic device resetted by safeguardThe mark of Boot software to be loaded resets to and represents a Boot software.
4. electronic equipment according to claim 1, is characterized in that, BIOS comprises a BIOS and the 2nd BIOS,Storage chip comprises the first storage chip of depositing a BIOS and the second storage chip of depositing the 2nd BIOS, and, CPUWith the first storage chip and the second storage chip by alternatively conducting of logic device, wherein:
Logic device after electronic equipment powers on by the CPU of reset mode and the first storage chip conducting, so that CPU is being patrolledCollect after device is removed reset and load a BIOS by logic device from the first storage chip;
Logic device is detecting that CPU is set to reset by CPU from the first storage chip loading the one BIOS failure, and willCPU switches to and the second storage chip conducting, so that CPU deposits from second by logic device after being removed reset by logic deviceStorage chip loads the 2nd BIOS.
5. electronic equipment according to claim 4, is characterized in that, a Boot software and the 2nd Boot software enter oneStep is for guiding the conducting state of CPU cognitive logic device to the first storage chip and the second storage chip, so that CPU is working asBefore success has loaded BIOS utilize while being the 2nd BIOS the 2nd BIOS to repair a BIOS.
6. electronic equipment according to claim 5, is characterized in that, CPU is utilizing the 2nd BIOS to repair a BIOSAfterwards, load operation system or notice under the guiding of the current Boot software that success loads or the 2nd Boot softwareLogic device is by its reset and switch back the first storage chip and its conducting.
7. for a starting method for electronic equipment, it is characterized in that, this electronic equipment comprise CPU, storage chip andHard disk, wherein, stores BIOS in storage chip; In hard disk, store the MBR that loaded by BIOS guiding for CPU,For CPU by the DPT of MBR boot scan, alternatively guided loading by MBR for CPU after scanning DPTThe one Boot software and the 2nd Boot software and loaded by the guiding of a Boot software or the 2nd Boot software for CPUOperating system; And this starting method comprises:
CPU is set to the mark of Boot software to be loaded resetting and safeguard after electronic equipment powers on and is set to represent theOne Boot software so that CPU by logic device remove resets and load BIOS after by move MBR obtain this mark,And select to load a Boot software according to this mark of obtaining;
CPU is set to and is resetted and by soft the Boot to be loaded safeguarding detecting after CPU loads a Boot software failureThe mark of part changes to and represents the 2nd Boot software, so that CPU is logical after being resetted by logic device releasing and loading BIOSCross and move MBR and obtain this mark, and select to load the 2nd Boot software according to this mark of obtaining.
8. starting method according to claim 7, is characterized in that, the mark of Boot software to be loaded is further by itRepresent a Boot software identification be primary, be for subsequent use by the 2nd Boot software identification of its expression;
This mark that the one Boot software and the 2nd Boot software are further used for guiding CPU to safeguard by cognitive logic device is trueThe activestandby state of the Boot software of settled front loading, so that CPU is successfully loading and is being identified as after the 2nd Boot software for subsequent useUtilize the 2nd Boot software to repair a Boot software.
9. starting method according to claim 8, is characterized in that, CPU is utilizing the 2nd Boot software to repair firstAfter Boot software, under the guiding of the 2nd Boot software load operation system or notification logic device resetted by safeguardThe mark of Boot software to be loaded resets to and represents a Boot software.
10. starting method according to claim 1, is characterized in that, BIOS comprises a BIOS and the 2nd BIOS,Storage chip comprises the first storage chip of depositing a BIOS and the second storage chip of depositing the 2nd BIOS, and this opensMoving method is further by CPU and the first storage chip and the alternatively conducting of the second storage chip, wherein:
After electronic equipment powers on by the CPU of reset mode and the first storage chip conducting so that CPU remove reset after fromThe first storage chip loads a BIOS;
Detecting that CPU is set to CPU to reset and CPU is switched from the first storage chip loading the one BIOS failureFor with the second storage chip conducting so that CPU remove reset after from second storage chip load the 2nd BIOS.
11. starting methods according to claim 10, is characterized in that, a Boot software and the 2nd Boot software enterOne step is for guiding the conducting state of CPU cognitive logic device to the first storage chip and the second storage chip, so that CPU existsThe current BIOS that success loads utilizes the 2nd BIOS to repair a BIOS while being the 2nd BIOS.
12. starting methods according to claim 10, is characterized in that, CPU is utilizing the 2nd BIOS to repair firstAfter BIOS, under the current Boot software that success loads or the guiding of the 2nd Boot software load operation system orNotification logic device is by its reset and switch back the first storage chip and its conducting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510606919.XA CN105589713A (en) | 2015-09-22 | 2015-09-22 | Electronic equipment and starting method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510606919.XA CN105589713A (en) | 2015-09-22 | 2015-09-22 | Electronic equipment and starting method therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105589713A true CN105589713A (en) | 2016-05-18 |
Family
ID=55929320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510606919.XA Pending CN105589713A (en) | 2015-09-22 | 2015-09-22 | Electronic equipment and starting method therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105589713A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775610A (en) * | 2016-03-22 | 2017-05-31 | 新华三技术有限公司 | A kind of electronic equipment starts method and a kind of electronic equipment |
CN106952425A (en) * | 2017-02-15 | 2017-07-14 | 深圳市新国都支付技术有限公司 | A kind of terminal remote upgrade method and POS terminal |
CN107092838A (en) * | 2017-03-30 | 2017-08-25 | 北京洋浦伟业科技发展有限公司 | A kind of safety access control method of hard disk and a kind of hard disk |
CN107273128A (en) * | 2017-06-16 | 2017-10-20 | 合肥联宝信息技术有限公司 | Electronic equipment starts method and device |
CN108710508A (en) * | 2018-05-22 | 2018-10-26 | 联想(北京)有限公司 | A kind of processing method, device and electronic equipment |
CN109062517A (en) * | 2018-09-19 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of firmware redundancy approach, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101373451A (en) * | 2008-10-20 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system for protecting double-basic input /output system program and control method thereof |
CN101499909A (en) * | 2008-02-03 | 2009-08-05 | 中兴通讯股份有限公司 | Single board starting system and method |
CN102402447A (en) * | 2011-12-20 | 2012-04-04 | 杭州华三通信技术有限公司 | Equipment starting method and equipment |
CN102830990A (en) * | 2012-07-20 | 2012-12-19 | 大唐移动通信设备有限公司 | Computer system starting method and computer terminal |
CN104461659A (en) * | 2014-12-30 | 2015-03-25 | 浙江宇视科技有限公司 | High-reliability computer starting method |
-
2015
- 2015-09-22 CN CN201510606919.XA patent/CN105589713A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499909A (en) * | 2008-02-03 | 2009-08-05 | 中兴通讯股份有限公司 | Single board starting system and method |
CN101373451A (en) * | 2008-10-20 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system for protecting double-basic input /output system program and control method thereof |
CN102402447A (en) * | 2011-12-20 | 2012-04-04 | 杭州华三通信技术有限公司 | Equipment starting method and equipment |
CN102830990A (en) * | 2012-07-20 | 2012-12-19 | 大唐移动通信设备有限公司 | Computer system starting method and computer terminal |
CN104461659A (en) * | 2014-12-30 | 2015-03-25 | 浙江宇视科技有限公司 | High-reliability computer starting method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775610A (en) * | 2016-03-22 | 2017-05-31 | 新华三技术有限公司 | A kind of electronic equipment starts method and a kind of electronic equipment |
CN106775610B (en) * | 2016-03-22 | 2021-11-12 | 新华三技术有限公司 | Electronic equipment starting method and electronic equipment |
CN106952425A (en) * | 2017-02-15 | 2017-07-14 | 深圳市新国都支付技术有限公司 | A kind of terminal remote upgrade method and POS terminal |
CN106952425B (en) * | 2017-02-15 | 2019-05-14 | 深圳市新国都支付技术有限公司 | A kind of terminal remote upgrade method and POS terminal |
CN107092838A (en) * | 2017-03-30 | 2017-08-25 | 北京洋浦伟业科技发展有限公司 | A kind of safety access control method of hard disk and a kind of hard disk |
CN107273128A (en) * | 2017-06-16 | 2017-10-20 | 合肥联宝信息技术有限公司 | Electronic equipment starts method and device |
CN107273128B (en) * | 2017-06-16 | 2020-11-10 | 合肥联宝信息技术有限公司 | Electronic equipment starting method and device |
CN108710508A (en) * | 2018-05-22 | 2018-10-26 | 联想(北京)有限公司 | A kind of processing method, device and electronic equipment |
CN109062517A (en) * | 2018-09-19 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of firmware redundancy approach, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105589713A (en) | Electronic equipment and starting method therefor | |
CN100388196C (en) | Firmware architecture supporting safe updates and multiple processor types | |
US9960963B2 (en) | Dynamic client fail-over during a rolling patch installation based on temporal server conditions | |
CN102722394B (en) | Start upgrading method of embedded equipment | |
CN104809010B (en) | A kind of brush machine method and intelligent terminal | |
CN102023908A (en) | Method and device for backing up boot program | |
CN104915226B (en) | A kind of network device software starting method, apparatus and the network equipment | |
CN109587331B (en) | Method and system for automatically repairing cloud mobile phone fault | |
CN102520979A (en) | Boot program backup method and Boot program backup device | |
CN113254048B (en) | Method, device and equipment for updating boot program and computer readable medium | |
CN110162429A (en) | System repair, server and storage medium | |
CN103853584A (en) | Master system recovery method and terminal | |
CN103377054A (en) | Starting method and starting device | |
CN106775610A (en) | A kind of electronic equipment starts method and a kind of electronic equipment | |
CN105607972A (en) | Abnormity remedying method and device | |
CN103198122A (en) | Method and device for restarting in-memory database | |
CN102388365B (en) | Processor start-up method and device | |
CN101581959B (en) | Method and apparatus for resetting single core in multi-core chip | |
CN103488516A (en) | System repair method and electronic equipment | |
CN106156626A (en) | A kind of method and apparatus of security of system upgrading | |
CN102122258A (en) | Method for repairing damaged embedded equipment file system | |
KR101576370B1 (en) | System and method for remote restoration of computer system, and computer-readable recording medium with program therefor | |
JP2013205946A (en) | Migration control program, migration control method, and control device | |
CN110703985B (en) | Data synchronization method and out-of-band management equipment | |
CN101464814A (en) | Embedded system and its implementing method, and embedded equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160518 |