CN103189840A - Method for backing up startup information about storage device - Google Patents

Method for backing up startup information about storage device Download PDF

Info

Publication number
CN103189840A
CN103189840A CN2011800392642A CN201180039264A CN103189840A CN 103189840 A CN103189840 A CN 103189840A CN 2011800392642 A CN2011800392642 A CN 2011800392642A CN 201180039264 A CN201180039264 A CN 201180039264A CN 103189840 A CN103189840 A CN 103189840A
Authority
CN
China
Prior art keywords
message
log
memory storage
bios
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011800392642A
Other languages
Chinese (zh)
Inventor
侯国良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103189840A publication Critical patent/CN103189840A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed is an embodiment of a method for backing up startup information about a storage device. The method comprises: reading automatically startup information in a storage device during the boot of an operating system, the startup information being information required to start up the storage device; and backing up the startup information in a BIOS Flash ROM. Key information such as startup information about a storage device is backed up in a BIOS Flash ROM, thus improving the security of the key information.

Description

A kind of method of log-on message of backup storage device
Technical field
The present invention relates to the electronic communication field, relate in particular to a kind of method of log-on message of backup storage device.
Background technology
Along with extensively popularizing of computer technology and technique of internet used, produce the data of magnanimity, wherein major part is stored in the hard disk.Because the shortcoming of traditional MBR hard disk, GPT hard disk substitute the MBR hard disk gradually.Beginning and latter end at the GPT hard disk are being stored key messages such as GPT head and partition table.
The destruction of virus, the error of operation and many accidental factors can cause these key messages in the hard disk to damage, and perhaps cause these information dropouts, if GPT head and partition table etc. are destroyed, can further cause hard disk to start.
Summary of the invention
Embodiments of the invention provide a kind of method of log-on message of backup storage device, to solve the problem that the key message stored in the memory storage is lost at memory storage easily.
The embodiment of the invention provides following scheme:
The invention provides a kind of embodiment of method of log-on message of backup storage device, described method comprises:
In the process of guiding operating system, the log-on message in the automatic read storage device, described log-on message is for starting the needed information of described memory storage;
Described log-on message is backuped among the BIOS Flash ROM.
Optionally, the log-on message in the described automatic read storage device, the step that described log-on message is backuped among the BIOS Flash ROM comprises:
Automatically the log-on message in the memory storage is read among the SMRAM, and the described log-on message that will read among the SMRAM backups among the BIOS Flash ROM.
Optionally, described memory storage can be hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.Be under the situation of hard disk at described memory storage, described log-on message comprises: GPT head and partition table information.
Optionally, the step of the log-on message in the described automatic read storage device comprises: read the log-on message in the hard disk from the boot sector of hard disk.
Optionally, the log-on message in automatic read storage device; Comprise before backuping to described log-on message among the BIOS Flash ROM:
Trigger and interrupt,
Log-on message in automatic read storage device; Also comprise after backuping to described log-on message among the BIOS FlashROM:
Withdraw from interruption.
Optionally, described triggering is interrupted comprising:
In the process of the described operating system of guiding, enable the ACPI function, and according to the standardized operation of ACPI, trigger SMI and interrupt.
The described step that withdraws from interruption comprises:
Withdrawing from SMI interrupts.
Optionally, described operating system is to follow the operating system of EFI standard.
Optionally, the log-on message in the described automatic read storage device, and also comprise before backuping to described log-on message among the BIOS Flash ROM:
Confirm not back up among the BIOS Flash ROM log-on message in the described memory storage.
Optionally, the log-on message in the described automatic read storage device, and the step that described log-on message is backuped among the BIOS Flash ROM also comprises before:
Confirm that the log-on message in the described memory storage is complete.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, in an embodiment of the present invention, owing to the key message with described memory storage, for example: log-on message, backup is in BIOS FlashROM, so the security that has improved these key messages.
The present invention also provides a kind of embodiment of device of log-on message of backup storage device, and described device comprises:
Acquisition module is used for the process in guiding operating system, the log-on message in the automatic read storage device, and described log-on message is for starting the needed information of described memory storage;
Backup module is used for described log-on message is backuped to BIOS Flash ROM.
Optionally, described acquisition module can be further used for, and is used for the process in guiding operating system, automatically the log-on message in the memory storage is read among the SMRAM;
Backup module can be further used for, and the described log-on message that reads among the SMRAM is backuped among the BIOS Flash ROM.
Optionally, described memory storage is hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.Wherein, be under the situation of hard disk at described memory storage, described log-on message comprises: GPT head and partition table information.
Optionally, described operating system is to follow the operating system of EFI standard.
Optionally, described device also comprises:
Trigger module is used for the process in guiding operating system, and the log-on message in the automatic read storage device of read module before backup module backups to described log-on message among the BIOS Flash ROM, triggers and interrupts;
Described trigger module also is used for the log-on message at automatic read storage device; After backuping to described log-on message among the BIOS Flash ROM, withdraw from interruption.
Optionally, described trigger module comprises:
Enable module is used for the process in the described operating system of guiding, enables the ACPI function, and according to the standardized operation of ACPI.
Interrupt module is used in the standardized operation according to ACPI, and the log-on message in the automatic read storage device of read module before backup module backups to described log-on message among the BIOS Flash ROM, triggers SMI and interrupts; And be further used in " the log-on message in the automatic read storage device; Described log-on message is backuped among the BIOS Flash ROM " afterwards, withdraw from SMI and interrupt.
Optionally, described device also comprises and has or not the affirmation module,
The described affirmation module that has or not, be used for read module in the log-on message of automatic read storage device, and before backup module backups to described log-on message among the BIOS Flash ROM, confirm not back up among the BIOSFlash ROM log-on message in the described memory storage.
Optionally, described device also comprises complete affirmation module,
Described complete affirmation module is used for the log-on message at the automatic read storage device of read module, and before backup module backuped to described log-on message among the BIOS Flash ROM, the log-on message of confirming described memory storage was complete.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, in an embodiment of the present invention, owing to the key message with described memory storage, for example: log-on message, backup is in BIOS FlashROM, so the security that has improved these key messages.
The present invention also provides a kind of embodiment that recovers the method for memory storage startup, and described method comprises:
The BIOS initialization, and after initialization, move described BIOS;
In service at BIOS is read the log-on message of the memory storage among the BIOS Flash ROM;
Utilize described log-on message, start described memory storage.
Optionally, described memory storage can be hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.Be under the situation of hard disk at described memory storage, described log-on message comprises: GPT head and partition table information.
Optionally, after starting described memory storage, described method also comprises:
Carry out the operating instruction of the operating system of storing in the described memory storage, to guide described os starting operation.
Optionally, described operating system is to follow the operating system of EFI standard.
Optionally, in service at BIOS, before the described log-on message that reads the memory storage among the BIOS Flash ROM, described method also comprises:
Fail during the guiding os starting, the reason of failure is that the memory storage of the instruction of the described operating system of storage can't start.
Optionally, in service at described BIOS, during described guiding os starting after the failure, before the described log-on message that reads the memory storage among the BIOS Flash ROM, described method also comprises:
The startup whether prompting user selection recovers described memory storage;
Receive user's selection result, described selection result starts for selecting to recover described memory storage.
Optionally, describedly utilize described log-on message, start described memory storage and comprise:
The log-on message that reads the memory storage among the BIOS Flash ROM, be loaded into the guidance field of described memory storage, start described memory storage from described guidance field; Perhaps
Log-on message by the memory storage that reads from BIOS Flash ROM starts described memory storage;
Wherein, described guidance field is the zone that is used for the storage log-on message in the described memory storage.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS FlashROM, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS Flash ROM, thereby thereby can start again and use this memory storage, improved the value of this memory storage.
The present invention also provides a kind of embodiment that recovers the device of memory storage startup, and described device comprises:
Initialization module is used for carrying out the BIOS initialization, and moves described BIOS after the BIOS initialization;
Read module is used in service at BIOS, reads the log-on message of the memory storage among the BIOS Flash ROM;
Start module, be used for utilizing described log-on message, start described memory storage.
Wherein, described memory storage can be hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.
Optionally, described device also comprises:
Execution module is used for carrying out the operating instruction of the operating system of storing in the described memory storage after starting described memory storage, to guide described os starting operation.
Optionally, described operating system is to follow the operating system of EFI standard.
Optionally, described device also comprises:
Reminding module, before the log-on message for the memory storage that reads BIOS Flash ROM at described read module, because the memory storage of the instruction of the described operating system of storage can't start, after the failure, point out the user to select the startup that whether recovers described memory storage during the guiding os starting;
Receiver module, for the selection result that receives the user, described selection result is for selecting to recover described memory storage startup.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS FlashROM, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS Flash ROM, thereby thereby can start again and use this memory storage, improved the value of this memory storage.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, 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, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the synoptic diagram of the embodiment of the method for the log-on message of a kind of backup storage device of the present invention;
Fig. 2 is the synoptic diagram of the another kind of embodiment of the method for the log-on message of a kind of backup storage device of the present invention;
Fig. 3 is the synoptic diagram of another embodiment of the method for the log-on message of a kind of backup storage device of the present invention;
Fig. 4 is the synoptic diagram of another embodiment of the method for the log-on message of a kind of backup storage device of the present invention;
Fig. 5 is the synoptic diagram of the embodiment of the device of the log-on message of a kind of backup storage device of the present invention;
Fig. 6 is the synoptic diagram of the another kind of embodiment of the device of the log-on message of a kind of backup storage device of the present invention;
Fig. 7 is the synoptic diagram of another embodiment of the device of the log-on message of a kind of backup storage device of the present invention;
Fig. 8 is the synoptic diagram of another embodiment of the device of the log-on message of a kind of backup storage device of the present invention;
Fig. 9 is the synoptic diagram of another embodiment of the device of the log-on message of a kind of backup storage device of the present invention;
Figure 10 recovers the synoptic diagram of the embodiment of the method that memory storage starts for the present invention is a kind of;
Figure 11 recovers the synoptic diagram of the another kind of embodiment of the method that memory storage starts for the present invention is a kind of;
Figure 12 recovers the synoptic diagram of another embodiment of the method that memory storage starts for the present invention is a kind of;
Figure 13 recovers the synoptic diagram of the embodiment of the device that memory storage starts for the present invention is a kind of;
Figure 14 recovers the synoptic diagram of the another kind of embodiment of the device that memory storage starts for the present invention is a kind of;
Figure 15 recovers the synoptic diagram of another embodiment of the device that memory storage starts for the present invention is a kind of.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 1, the invention provides a kind of embodiment of method of log-on message of backup storage device, comprising:
In the process of guiding operating system, the log-on message in the automatic read storage device, described log-on message is for starting the needed information of described memory storage;
Described log-on message is backuped among the BIOS Flash ROM.
In an embodiment of the present invention, because the key message with described memory storage, for example: log-on message, backup is at BIOS (Basic Input/Output System, basic input/output) Flash ROM (read only memory, read-only storage reservoir) in, the therefore security that has improved these key messages.
Further, owing to can cause this memory storage to start after log-on message is lost, by log-on message being backuped among the BIOS Flash ROM, can start this memory storage by the log-on message of backup, thereby can start again and use this memory storage, improve the value of this memory storage.
Embodiments of the invention can be applied to have in the hardware system of processor and memory storage, and the step in the method for the log-on message of described processor execution embodiment of the invention backup storage device backs up the log-on message in the described memory storage.Wherein, described hardware system with processor and memory storage can be computing machine, perhaps communication facilities, and described communication facilities can be server, or router, or gateway, or portable terminal, or the base station etc.
In an embodiment of the present invention, described memory storage is the medium with memory function, for example: hard disk, disk, flash SSD (Solid State Drive), PCM (Linear Pulse Code Modlation) S SD (Solid State Drive), SD (SecureDigital) card, CF (Compact Flash) card, or USB flash disk (USB flash drive, Universal Serial Bus flash disk) etc.
Be under the situation of hard disk at described memory storage, described log-on message comprises: GPT (GUID Partition Table) head and partition table information; Described log-on message is stored in the boot sector of described hard disk.Because the log-on message of hard disk is automated back-up, during information-changes such as GPT subregion, can accomplish to back up timely.
The step of the log-on message in the described automatic read storage device can comprise: read the log-on message in the hard disk from the boot sector of hard disk.
As shown in Figure 2, in an embodiment of the present invention, the log-on message in automatic read storage device; The step that described log-on message is backuped among the BIOS Flash ROM comprises before:
Trigger and interrupt.
Log-on message in automatic read storage device; The step that described log-on message is backuped among the BIOS FlashROM can also comprise afterwards:
Withdraw from interruption.
Further, can also comprise before the step that described triggering is interrupted: in the process of the described operating system of guiding, enable ACPI (Advanced Configuration and Power Interface, Advanced Configuration and Power Interface) function, and according to the standardized operation of ACPI.The step that described triggering is interrupted can comprise:
In the process of the described operating system of guiding, enable the ACPI function, and according to the standardized operation of ACPI, trigger SMI (System Management Interrupt, system management interrupt) and interrupt.
The described step that withdraws from interruption comprises:
Withdrawing from SMI interrupts.
The step that described triggering SMI interrupts comprises: carry out the SMI interrupt instruction.
Further, the log-on message in the described automatic read storage device; The step that described log-on message is backuped among the BIOS Flash ROM comprises:
Automatically the log-on message in the memory storage is read among the SMRAM (System Management RandomAccess Memory, system management ram), and the described log-on message that will read among the SMRAM backups among the BIOS Flash ROM.
In addition, in an embodiment of the present invention, can guide in the process of os starting at BIOS, operating system has been done after the initialization, carry out the step of " enable the ACPI function, and according to the standardized operation of ACPI ".
" described log-on message is backuped among the BIOS Flash ROM " or the step of " withdrawing from interruption " after, the guiding that the complete operation system starts, and the described operating system that brings into operation.
In an embodiment of the present invention, described operating system can be for following the operating system of EFI standard, for example: windows server2008, perhaps Redhat enterprise5.5 etc.
As shown in Figure 3, in an embodiment of the present invention, the log-on message in the described automatic read storage device, and the step that described log-on message is backuped among the BIOS Flash ROM can also comprise before:
Confirm not back up among the BIOS Flash ROM log-on message in the described memory storage.
Further, as shown in Figure 4, confirm that the step that does not back up the log-on message in the described memory storage among the BIOS Flash ROM can also comprise before:
Confirm that the log-on message in the described memory storage is complete.
Further, be under the situation of hard disk at described memory storage, wherein, the log-on message of confirming described memory storage is that complete process can comprise:
If hard disk adopts GPT subregion (Signature in the GPT header can show it is the GPT subregion), can be by CRC check and calculating, thus confirm that described log-on message is complete.
In an embodiment of the present invention, the execution sequence of the step of described " confirming not back up among the BIOS Flash ROM log-on message in the described memory storage " and the step of " confirming that the log-on message in the described memory storage is complete " can be put upside down, perhaps, also can carry out simultaneously, perhaps, also can omit one of them step.
As shown in Figure 5, the present invention also provides a kind of embodiment of device of log-on message of backup storage device, comprising:
Acquisition module is used for the process in guiding operating system, the log-on message in the automatic read storage device, and described log-on message is for starting the needed information of described memory storage;
Backup module is used for described log-on message is backuped to BIOS Flash ROM.
In an embodiment of the present invention, owing to the key message with described memory storage, for example: log-on message, backup are in BIOS Flash ROM, so the security that has improved these key messages.
Further, owing to can cause this memory storage to start after log-on message is lost, by log-on message being backuped among the BIOS Flash ROM, can start this memory storage by the log-on message of backup, thereby can start again and use this memory storage, improve the value of this memory storage.
In an embodiment of the present invention, the device of the log-on message of backup storage device can be applied to have in the hardware system of processor and memory storage, and described processor backs up the log-on message of described memory storage.Wherein, described hardware system with processor and memory storage can be computing machine, perhaps communication facilities, and described communication facilities can be server, or router, or gateway, or portable terminal, or the base station etc.
In an embodiment of the present invention, described memory storage is the medium with memory function, for example: hard disk, disk, flash SSD, PCM SSD, the SD card, the CF card, or USB flash disk etc.
In an embodiment of the present invention, described operating system can be for following the operating system of EFI standard, for example: windows server2008, perhaps Redhat enterprise5.5 etc.
In an embodiment of the present invention, described acquisition module can be further used for, and is used for the process in guiding operating system, automatically the log-on message in the memory storage is read among the SMRAM;
Backup module can be further used for, and the described log-on message that reads among the SMRAM is backuped among the BIOS Flash ROM.
As shown in Figure 6, in an embodiment of the present invention, described device can also comprise:
Trigger module is used for the process in guiding operating system, the log-on message in read storage device automatically, backup to described log-on message among the BIOS Flash ROM before, trigger and interrupt;
And be further used for the log-on message in automatic read storage device; After backuping to described log-on message among the BIOS Flash ROM, withdraw from interruption.
As shown in Figure 7, in an embodiment of the present invention, described trigger module can comprise:
Enable module is used for the process in the described operating system of guiding, enables the ACPI function, and according to the standardized operation of ACPI.
Interrupt module is used in the standardized operation according to ACPI, " log-on message in the read storage device backups to described log-on message among the BIOS Flash ROM automatically " before, triggers SMI and interrupts; And be further used in " the log-on message in the automatic read storage device; Described log-on message is backuped among the BIOS Flash ROM " afterwards, withdraw from SMI and interrupt.
As shown in Figure 8, in an embodiment of the present invention, the device of the log-on message of described backup storage device can also comprise and has or not the affirmation module.
The described affirmation module that has or not is used for the log-on message at automatic read storage device, and before backuping to described log-on message among the BIOS Flash ROM, confirms not back up among the BIOS Flash ROM log-on message in the described memory storage.
As shown in Figure 9, in an embodiment of the present invention, the device of the log-on message of described backup storage device can also comprise complete affirmation module.
Described complete affirmation module be used for the log-on message at automatic read storage device, and before backuping to described log-on message among the BIOS Flash ROM, the log-on message of confirming described memory storage is complete.
Wherein, be under the situation of hard disk at described memory storage, if hard disk adopts GPT subregion (Signature in the GPTheader can show it is the GPT subregion), can whether complete by CRC check and the described log-on message of calculating.
The present invention also provides a kind of embodiment of computer system, and described computer system comprises:
CPU is used for enabling the ACPI function, the triggering system management interrupt after BIOS guiding operating system;
Internal memory comprises system management ram, and described system management ram is used for reading the guidance information of hard disk after the triggering system management interrupt, and described guidance information is for starting the needed information of described hard disk;
Described CPU also is used for the guidance information of the hard disk of system management ram is backuped in the BIOS storage unit;
Described BIOS storage unit is used for the guidance information of storage bios program and described hard disk.
In the embodiment of computer system of the present invention, owing to the key message with described memory storage, for example: log-on message, backup are in BIOS Flash ROM, so the security that has improved these key messages.
Further, owing to can cause this memory storage to start after log-on message is lost, by log-on message being backuped among the BIOS Flash ROM, can start this memory storage by the log-on message of backup, thereby can start again and use this memory storage, improve the value of this memory storage.
As shown in figure 10, the invention provides a kind of embodiment that recovers the method for memory storage startup, comprising:
The BIOS initialization, and after initialization, move described BIOS;
In service at BIOS is read the log-on message of the memory storage among the BIOS Flash ROM;
Utilize described log-on message, start described memory storage.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS FlashROM, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS Flash ROM, thereby thereby can start again and use this memory storage, improved the value of this memory storage.
Embodiments of the invention can be applied to have in the hardware system of processor and memory storage, and the step in the method that described processor execution embodiment of the invention recovery memory storage starts starts described memory storage.Wherein, described hardware system with processor and memory storage can be computing machine, perhaps communication facilities, and described communication facilities can be server, or router, or gateway, or portable terminal, or the base station etc.
In an embodiment of the present invention, described memory storage is the medium with memory function, for example: hard disk, disk, flash SSD, PCM SSD, the SD card, the CF card, or USB flash disk etc.
As shown in figure 11, in an embodiment of the present invention, start after the described memory storage, can also comprise:
Carry out the operating instruction of the operating system of storing in the described memory storage, to guide described os starting operation.
In an embodiment of the present invention, described operating system can be for following the operating system of EFI standard, for example: windows server2008, perhaps Redhat enterprise5.5 etc.
As shown in figure 12, in an embodiment of the present invention, in service at BIOS before the step of the described log-on message that reads the memory storage among the BIOSFlash ROM, also comprises:
Fail during the guiding os starting, the reason of failure is that the memory storage of the instruction of the described operating system of storage can't start.
As shown in figure 12, in an embodiment of the present invention, in service at described BIOS after the step of failing during described guiding os starting, before the step of the described log-on message that reads the memory storage among the BIOS Flash ROM, also comprises:
The startup whether prompting user selection recovers described memory storage;
Receive user's selection result, described selection result starts for selecting to recover described memory storage.
In an embodiment of the present invention, describedly utilize described log-on message, the step that starts described memory storage comprises:
The log-on message that reads the memory storage among the BIOS Flash ROM, be loaded into the guidance field of described memory storage, start described memory storage from described guidance field; Perhaps, the log-on message by the memory storage that reads from BIOSFlash ROM starts described memory storage.Wherein, described guidance field is the zone that is used for the storage log-on message in the described memory storage.
Be under the situation of hard disk at described memory storage, described guidance field can be the boot sector of described hard disk.
As shown in figure 13, the invention provides a kind of embodiment that recovers the device of memory storage startup, comprising:
Initialization module is used for carrying out the BIOS initialization, and moves described BIOS after the BIOS initialization;
Read module is used in service at BIOS, reads the log-on message of the memory storage among the BIOS Flash ROM;
Start module, be used for utilizing described log-on message, start described memory storage.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS FlashROM, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS Flash ROM, thereby thereby can start again and use this memory storage, improved the value of this memory storage.
In an embodiment of the present invention, the device that recovers the memory storage startup can be applied to have in the hardware system of processor and memory storage, and described processor starts described memory storage.Wherein, described hardware system with processor and memory storage can be computing machine, perhaps communication facilities, and described communication facilities can be server, or router, or gateway, or portable terminal, or the base station etc.
In an embodiment of the present invention, described memory storage is the medium with memory function, for example: hard disk, disk, flash SSD, PCM SSD, the SD card, the CF card, or USB flash disk etc.
As shown in figure 14, in an embodiment of the present invention, the device that described recovery memory storage starts also comprises:
Execution module is used for carrying out the operating instruction of the operating system of storing in the described memory storage after starting described memory storage, to guide described os starting operation.
In an embodiment of the present invention, described operating system can be for following the operating system of EFI standard, for example: windows server2008, perhaps Redhat enterprise5.5 etc.
As shown in figure 15, in an embodiment of the present invention, the device that described recovery memory storage starts can also comprise:
Reminding module, be used for before the log-on message of the memory storage that reads BIOS Flash ROM, because the memory storage of the instruction of the described operating system of storage can't start, after the failure, point out the user to select the startup that whether recovers described memory storage during the guiding os starting;
Receiver module, for the selection result that receives the user, described selection result is for selecting to recover described memory storage startup.
The present invention also provides a kind of embodiment of computer system, and described computer system comprises:
CPU is used for judging whether the user selects to recover the guidance information of hard disk after the BIOS initialization;
Internal memory comprises system management ram, and described system management ram is used for after CPU judges that the user selects to recover the guidance information of hard disk, reads the guidance information of hard disk from the BIOS storage unit, and described guidance information is for starting the needed information of hard disk;
Described CPU also is used for the guidance information of the hard disk of system management ram is returned in the hard disk;
Described BIOS storage unit is used for the guidance information of storage bios program and described hard disk.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS, thereby can start again and use this memory storage, improve the value of this memory storage.
The present invention also provides a kind of embodiment of computer system, and described computer system comprises:
CPU is used for judging whether the user selects to recover the guidance information of hard disk after the BIOS initialization;
Internal memory comprises system management ram, and described system management ram is used for after CPU judges that the user selects to recover the guidance information of hard disk, reads the guidance information of hard disk from the BIOS storage unit, and described guidance information is for starting the needed information of hard disk;
Described computer system starts described hard disk according to the guidance information of the hard disk in the described system management ram;
Described BIOS storage unit is used for the guidance information of storage bios program and described hard disk.
In an embodiment of the present invention, because the log-on message of memory storage has been backuped among the BIOS, thereby under the situation that can can't start owing to lost log-on message at memory storage, still can start by the log-on message of backup in BIOS, thereby can start again and use this memory storage, improve the value of this memory storage.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (32)

1. the method for the log-on message of a backup storage device is characterized in that, described method comprises:
In the process of guiding operating system, the log-on message in the automatic read storage device, described log-on message is for starting the needed information of described memory storage;
Described log-on message is backuped among the BIOS Flash ROM.
2. the method for the log-on message of backup storage device as claimed in claim 1 is characterized in that, described memory storage is hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.
3. the method for the log-on message of backup storage device as claimed in claim 1 is characterized in that, is under the situation of hard disk at described memory storage, and described log-on message comprises: GPT head and partition table information.
4. the method for the log-on message of backup storage device as claimed in claim 3 is characterized in that, the step of the log-on message in the described automatic read storage device comprises: read the log-on message in the hard disk from the boot sector of hard disk.
5. the method for the log-on message of backup storage device as claimed in claim 1 is characterized in that,
Log-on message in automatic read storage device; Comprise before backuping to described log-on message among the BIOS Flash ROM:
Trigger and interrupt, the log-on message in automatic read storage device;
Also comprise after backuping to described log-on message among the BIOS Flash ROM:
Withdraw from interruption.
6. the method for the log-on message of backup storage device as claimed in claim 5 is characterized in that,
Described triggering is interrupted comprising:
In the process of the described operating system of guiding, enable the ACPI function, and according to the standardized operation of ACPI, trigger SMI and interrupt.
The described step that withdraws from interruption comprises:
Withdrawing from SMI interrupts.
7. as the method for the log-on message of each described backup storage device in the claim 1 to 6, it is characterized in that described operating system is to follow the operating system of EFI standard.
8. the method for the log-on message of backup storage device as claimed in claim 1 is characterized in that, the log-on message in the described automatic read storage device, and also comprise before backuping to described log-on message among the BIOS Flash ROM:
Confirm not back up among the BIOS Flash ROM log-on message in the described memory storage.
9. as the method for the log-on message of each described backup storage device in the claim 1 to 6, it is characterized in that, log-on message in the described automatic read storage device, and the step that described log-on message is backuped among the BIOS Flash ROM also comprises before:
Confirm that the log-on message in the described memory storage is complete.
10. as the method for the log-on message of each described backup storage device in the claim 1 to 6, it is characterized in that, the log-on message in the described automatic read storage device, the step that described log-on message is backuped among the BIOS Flash ROM comprises:
Automatically the log-on message in the memory storage is read among the SMRAM, and the described log-on message that will read among the SMRAM backups among the BIOS Flash ROM.
11. the device of the log-on message of a backup storage device is characterized in that, described device comprises:
Acquisition module is used for the process in guiding operating system, the log-on message in the automatic read storage device, and described log-on message is for starting the needed information of described memory storage;
Backup module is used for described log-on message is backuped to BIOS Flash ROM.
12. the device of the log-on message of backup storage device as claimed in claim 11 is characterized in that,
Described acquisition module is further used for, and is used for the process in guiding operating system, automatically the log-on message in the memory storage is read among the SMRAM;
Backup module is further used for, and the described log-on message that reads among the SMRAM is backuped among the BIOS Flash ROM.
13. the device of the log-on message of backup storage device as claimed in claim 11 is characterized in that,
Described memory storage is hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.
14. the method for the log-on message of backup storage device as claimed in claim 13 is characterized in that, is under the situation of hard disk at described memory storage, described log-on message comprises: GPT head and partition table information.
15. the device as the log-on message of each described backup storage device in the claim 11 to 14 is characterized in that,
Described operating system is to follow the operating system of EFI standard.
16. the device as the log-on message of each described backup storage device in the claim 11 to 14 is characterized in that described device also comprises:
Trigger module is used for the process in guiding operating system, and the log-on message in the automatic read storage device of read module before backup module backups to described log-on message among the BIOS Flash ROM, triggers and interrupts;
Described trigger module also is used for the log-on message at automatic read storage device; After backuping to described log-on message among the BIOS Flash ROM, withdraw from interruption.
17. the device of the log-on message of backup storage device as claimed in claim 16 is characterized in that, described trigger module comprises:
Enable module is used for the process in the described operating system of guiding, enables the ACPI function, and according to the standardized operation of ACPI.
Interrupt module is used in the standardized operation according to ACPI, and the log-on message in the automatic read storage device of read module before backup module backups to described log-on message among the BIOS Flash ROM, triggers SMI and interrupts; And be further used in " the log-on message in the automatic read storage device; Described log-on message is backuped among the BIOS Flash ROM " afterwards, withdraw from SMI and interrupt.
18. the device as the log-on message of each described backup storage device in the claim 11 to 14 is characterized in that, described device also comprises and has or not the affirmation module,
The described affirmation module that has or not, be used for read module in the log-on message of automatic read storage device, and before backup module backups to described log-on message among the BIOS Flash ROM, confirm not back up among the BIOSFlash ROM log-on message in the described memory storage.
19. the device as the log-on message of each described backup storage device in the claim 11 to 14 is characterized in that described device also comprises complete affirmation module,
Described complete affirmation module is used for the log-on message at the automatic read storage device of read module, and before backup module backuped to described log-on message among the BIOS Flash ROM, the log-on message of confirming described memory storage was complete.
20. one kind is recovered the method that memory storage starts, it is characterized in that described method comprises:
The BIOS initialization, and after initialization, move described BIOS;
In service at described BIOS is read the log-on message of the memory storage among the BIOS Flash ROM;
Utilize described log-on message, start described memory storage.
21. the method that recovery memory storage as claimed in claim 20 starts is characterized in that described memory storage is hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.
22. recovery memory storage as claimed in claim 20 starts the method for memory storage, it is characterized in that, and be under the situation of hard disk at described memory storage, described log-on message comprises: GPT head and partition table information.
23. the method that recovery memory storage as claimed in claim 20 starts is characterized in that, after starting described memory storage, described method also comprises:
Carry out the operating instruction of the operating system of storing in the described memory storage, to guide described os starting operation.
24. the method that recovery memory storage as claimed in claim 23 starts is characterized in that described operating system is to follow the operating system of EFI standard.
25. the method that recovery memory storage as claimed in claim 20 starts is characterized in that, in service at BIOS, and before the described log-on message that reads the memory storage among the BIOS Flash ROM, described method also comprises:
Fail during the guiding os starting, the reason of failure is that the memory storage of the instruction of the described operating system of storage can't start.
26. the method that recovery memory storage as claimed in claim 25 starts, it is characterized in that in service at described BIOS is during described guiding os starting after the failure, before the described log-on message that reads the memory storage among the BIOSFlash ROM, described method also comprises:
The startup whether prompting user selection recovers described memory storage;
Receive user's selection result, described selection result starts for selecting to recover described memory storage.
27. the method that recovery memory storage as claimed in claim 20 starts is characterized in that, describedly utilizes described log-on message, starts described memory storage and comprises:
The log-on message that reads the memory storage among the BIOS Flash ROM, be loaded into the guidance field of described memory storage, start described memory storage from described guidance field; Perhaps
Log-on message by the memory storage that reads from BIOS Flash ROM starts described memory storage;
Wherein, described guidance field is the zone that is used for the storage log-on message in the described memory storage.
28. one kind is recovered the device that memory storage starts, it is characterized in that described device comprises:
Initialization module is used for carrying out the BIOS initialization, and moves described BIOS after the BIOS initialization;
Read module is used in service at described BIOS, reads the log-on message of the memory storage among the BIOS Flash ROM;
Start module, be used for utilizing described log-on message, start described memory storage.
29. the device that recovery memory storage as claimed in claim 26 starts is characterized in that described memory storage is hard disk, disk, flash SSD, PCM SSD, SD card, CF card, or USB flash disk.
30. the device that recovery memory storage as claimed in claim 28 starts is characterized in that described device also comprises:
Execution module is used for carrying out the operating instruction of the operating system of storing in the described memory storage after starting described memory storage, to guide described os starting operation.
31. the device that recovery memory storage as claimed in claim 30 starts is characterized in that described operating system is to follow the operating system of EFI standard.
32. the device that recovery memory storage as claimed in claim 28 starts is characterized in that described device also comprises:
Reminding module, before the log-on message for the memory storage that reads BIOS Flash ROM at described read module, because the memory storage of the instruction of the described operating system of storage can't start, after the failure, point out the user to select the startup that whether recovers described memory storage during the guiding os starting;
Receiver module, for the selection result that receives the user, described selection result is for selecting to recover described memory storage startup.
CN2011800392642A 2011-12-27 2011-12-27 Method for backing up startup information about storage device Pending CN103189840A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/084757 WO2013097095A1 (en) 2011-12-27 2011-12-27 Method for backing up startup information about storage device

Publications (1)

Publication Number Publication Date
CN103189840A true CN103189840A (en) 2013-07-03

Family

ID=48679809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011800392642A Pending CN103189840A (en) 2011-12-27 2011-12-27 Method for backing up startup information about storage device

Country Status (2)

Country Link
CN (1) CN103189840A (en)
WO (1) WO2013097095A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204876A (en) * 2014-06-12 2015-12-30 联想(北京)有限公司 System starting method and electronic equipment
CN105787311A (en) * 2014-12-22 2016-07-20 联想(上海)信息技术有限公司 Storage device management method and device and electronic device
CN108255532A (en) * 2018-01-16 2018-07-06 联想(北京)有限公司 A kind of operating system migration method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114117455B (en) * 2022-01-18 2023-03-14 荣耀终端有限公司 Safe starting method of electronic equipment and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952832A (en) * 2005-10-17 2007-04-25 光宝科技股份有限公司 Computer system and method for protecting backup data
CN101840365A (en) * 2010-04-30 2010-09-22 广州广电运通金融电子股份有限公司 Safe protection method and system for BIOS (Basic Input/Output System)
CN102439565A (en) * 2011-10-28 2012-05-02 华为技术有限公司 Method and device for starting recovery

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8788801B2 (en) * 2009-08-18 2014-07-22 Ca, Inc. Backup and recovery of systems by restoring a backup boot configuration data (BCD) with installation files from an operating system install disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952832A (en) * 2005-10-17 2007-04-25 光宝科技股份有限公司 Computer system and method for protecting backup data
CN101840365A (en) * 2010-04-30 2010-09-22 广州广电运通金融电子股份有限公司 Safe protection method and system for BIOS (Basic Input/Output System)
CN102439565A (en) * 2011-10-28 2012-05-02 华为技术有限公司 Method and device for starting recovery

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204876A (en) * 2014-06-12 2015-12-30 联想(北京)有限公司 System starting method and electronic equipment
CN105204876B (en) * 2014-06-12 2019-01-15 联想(北京)有限公司 System start method and electronic equipment
CN105787311A (en) * 2014-12-22 2016-07-20 联想(上海)信息技术有限公司 Storage device management method and device and electronic device
CN108255532A (en) * 2018-01-16 2018-07-06 联想(北京)有限公司 A kind of operating system migration method and apparatus

Also Published As

Publication number Publication date
WO2013097095A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
CN102439565B (en) Method and device for starting recovery
CN101593083B (en) device, computer and method for protecting and restoring computer configuration information
KR101885228B1 (en) Power drop protection for a data storage device
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
EP2545435A1 (en) Systems and methods for garbage collection in deduplicated data systems
CN112596672B (en) Storage processing method and device of main control chip, processor and electronic equipment
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
CN111045870B (en) Method, device and medium for saving and restoring metadata
CN113722144B (en) Data storage device and data processing method
TWI779707B (en) Method and apparatus for bad block management in flash memory
CN103189840A (en) Method for backing up startup information about storage device
CN103198122A (en) Method and device for restarting in-memory database
CN104598335A (en) Method and device for restoring backup of NV parameters
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN1977244A (en) Safe flashing
US20160124816A1 (en) Computing device and method for recovering bios of computing device
CN101854428A (en) Method for recovering files during mobile terminal startup
CN101901171A (en) Using method of computer data backup and restore software
CN105549985A (en) Method and system for enhancing reliability of Linux application system
CN110119285A (en) A kind of low side scm software upgrade method and relevant apparatus
CN104252366A (en) System recovery method, device, processor and storage
CN103793283A (en) Terminal fault handling method and terminal fault handling device
US20160004607A1 (en) Information processing apparatus and information processing method
CN201994075U (en) Solid-state electronic disk capable of authentic data destruction based on CPLD (complex programmable logic device)
KR100643286B1 (en) Removable storage and recovering method for file system using removable sotrages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130703