Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for starting recovery

A configuration information and advanced configuration technology, applied in the direction of program control device, program loading/starting, response error generation, etc., can solve problems such as difficult to grasp, prone to error or failure, long recovery time, etc., to save time and energy , Realize the effect of automatic backup and quick start recovery

Active Publication Date: 2013-04-24
HUAWEI TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the first method is to perform hard disk backup in DOS state, which is prone to errors or failures
The second method takes a long time to back up partitions or the entire hard disk, and the recovery time is also long, and the backup needs to take up a lot of storage space, wasting resources. At present, only traditional MBR hard disks are supported, and GPT hard disks are not supported; If the content changes, it needs to be backed up again, which is time-consuming, labor-intensive, complicated to operate, and difficult to master

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for starting recovery
  • Method and device for starting recovery
  • Method and device for starting recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Usually, the boot operating system is executed by the BIOS. When the computer is turned on, the BIOS will find the bootable file, read the program in it into the memory, and jump to the beginning of the memory, and execute the program to start booting the operating system. process. Wherein, the bootable file is usually stored on the hard disk, and when the hard disk has multiple partitions, the bootable file is stored on one of the partitions. Which of the multiple partitions of the hard disk is the partition for storing bootable files can be known from the partition table of the hard disk. If the partition table of the hard disk is abnormal, it will lead to failure to read the bootable file, and the failure to boot the operating system will occur, and the boot process cannot be completed.

[0024] To troubleshoot boot recovery, see figure 1 , the present embodiment provides a method for starting recovery, so as to realize automatic hard disk backup and improve the su...

Embodiment 2

[0037] see figure 2 , this embodiment provides a method for starting recovery, including:

[0038] 201: When the BIOS boots the operating system, enable the ACPI function.

[0039] 202: Trigger SMI (System Management Interrupt, system management interrupt), enter SMM (System Management mode, system management mode), jump to SMRAM (System Management RAM, system management memory) to read the configuration information of the hard disk.

[0040] 203: Write the configuration information of the hard disk into the Flash ROM, and complete the backup of the configuration information of the hard disk.

[0041] 204: Exit the SMI, and return to the BIOS to continue to execute the operating system boot process.

[0042] 205: When the BIOS boots the operating system again and fails to boot, load the configuration information of the hard disk backed up in the Flash ROM to the hard disk to start the operating system, or start the operating system through the configuration information of t...

Embodiment 3

[0061] This embodiment is improved on the basis of Embodiment 1 or Embodiment 2. Under the first implementation mode, the step of backing up the configuration information of the hard disk to the Flash ROM involved in Embodiment 1 or Embodiment 2 may specifically include :

[0062] Judging whether there is a backup of the configuration information of the hard disk in the Flash ROM;

[0063] If there is a backup of the configuration information of the hard disk in the Flash ROM, the backup operation is not performed;

[0064] If there is no backup of the configuration information of the hard disk in the Flash ROM, the configuration information of the hard disk is backed up in the flash read-only memory Flash ROM.

[0065] In this implementation mode, it is possible to avoid backup of the hard disk configuration information in the Flash ROM, thereby saving the backup process and improving the backup efficiency.

[0066] Under the second implementation mode, the configuration in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided are a reboot recovery method and device, relating to the technical field of reboot recovery. The method includes: when booting to operate a system, enabling the function of advanced configuration and power interface (ACPI), and backing up the configuration information about a hard disk into a flash read-only memory (Flash ROM); and when operating the system again and the booting has failed, loading into the hard disk the configuration information about the hard disk backed up in the Flash ROM to reboot the operating system, or to reboot the operating system according to the configuration information about the hard disk backed up in the Flash ROM. The device includes: a backup module and a recovery module. The present invention achieves the automatic backup and fast reboot recovery of a hard disk, which is easy to operate, greatly lowering the requirements on the operators, and improving the success rate of reboot recovery.

Description

technical field [0001] The present invention relates to the technical field of boot recovery, in particular to a boot recovery method and device. Background technique [0002] BIOS (Basic Input Output System, Basic Input Output System) has the functions of initializing hardware, detecting hardware, and booting an operating system. The BIOS program is stored in a ROM (Read Only Memory, read-only memory) whose content will not be lost after power failure. When the system is powered on, the address of the first instruction of the processor will be located in the ROM, so that the BIOS program can get carried out. BIOS is a software program, but because it is a program solidified in the hardware read-only memory, it is also called firmware (Firmware). [0003] Along with computer technology and Internet technology being widely popularized and used, produced massive data, most of them are stored in the hard disk. Traditional MBR (Master Boot Record, master boot record) hard dis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F11/14
CPCG06F9/4403
Inventor 侯国良
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products