CN103049343A - Method and device for restoring operating system blue screen - Google Patents

Method and device for restoring operating system blue screen Download PDF

Info

Publication number
CN103049343A
CN103049343A CN2011103129792A CN201110312979A CN103049343A CN 103049343 A CN103049343 A CN 103049343A CN 2011103129792 A CN2011103129792 A CN 2011103129792A CN 201110312979 A CN201110312979 A CN 201110312979A CN 103049343 A CN103049343 A CN 103049343A
Authority
CN
China
Prior art keywords
file
blue screen
backup
operating system
leak
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103129792A
Other languages
Chinese (zh)
Other versions
CN103049343B (en
Inventor
王松旭
胡钊
杜晨亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110312979.2A priority Critical patent/CN103049343B/en
Publication of CN103049343A publication Critical patent/CN103049343A/en
Application granted granted Critical
Publication of CN103049343B publication Critical patent/CN103049343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for restoring an operating system blue screen. The method comprises the steps of identifying whether bugs recorded in files for restoring system bugs are core files or not and need backup or not through specific fields when the files for restoring system bugs are detected; performing backup of the core files replacing restored files before the bugs needing back up are restored; using the backup core files to cover the restored files causing the blue screen when the restored bugs cause the operating system blue screen. By performing the backup of the core files replacing restored files and restoring the backup files, normal operation after the operating system blue screen is achieved when an operation system cannot be restored from a system error and produces the blue screen.

Description

Operating system blue screen restoration methods and device
Technical field
The invention provides a kind of operating system blue screen restoration methods and device, belong to operating system recovery technique field.
Background technology
Blue screen is again BSOD, refers to the Windows of Microsoft operating system shown screen picture in the time can't recovering from a system mistake.Because Microsoft all issues per month some system mends and offers the user and repair, with the problem of coming by the mode of updating file to exist in the repair system, and present domestic have a lot of pirate operating systems or software (such as Office, Visio etc.), in the repair process owing to pirate reason or other factors causes the operating system blue screen, owing to do not have effective backup measure, can't carry out fast quick-recovery behind the operating system blue screen.
Common reparation software has all only provided the leak repair function at present, the blue screen that occurs for repair process covers phenomenon, relevant recovery backup functionality not, and most users can't effectively solve when running into blue screen and covering, even the system of may resetting, not only consuming time and also the operation more loaded down with trivial details.
Summary of the invention
The problem that can't recover when causing the operating system blue screen in the process of the present invention for the existing patching bugs of solution, and then a kind of operating system blue screen restoration methods and device are provided.
The objective of the invention is to be achieved through the following technical solutions:
Operating system blue screen restoration methods comprises:
When detecting the file of repair system leak, the leak that records in the file by the described repair system leak of specific field identification is kernel file and whether need backup whether;
Before repairing the leak that needs backup, the kernel file that needs is repaired the file replacement backs up;
When patching bugs causes the operating system blue screen, the described kernel file covering of backup is caused the reparation file of blue screen.
Operating system blue screen recovery device comprises:
The backup identify unit is used for when detect the file of repair system leak, and the leak that records in the file by the described repair system leak of specific field identification is kernel file and whether need to back up whether;
Backup units was used for before repairing the leak that needs backup, and the kernel file that needs is repaired the file replacement backs up;
Blue screen is repaired the unit, is used for when patching bugs causes the operating system blue screen, the described kernel file covering of backup is caused the reparation file of blue screen.
As seen from the above technical solution provided by the invention, back up by the kernel file that needs is repaired file, make operating system because can't from a system mistake, recover the time during blue screen, realize the normal operation behind the operating system blue screen by restoring.
Description of drawings
Fig. 1 is the schematic flow sheet of the operating system blue screen restoration methods that provides of the specific embodiment of the invention;
Fig. 2 is the structural representation of the operating system blue screen recovery device that provides of the specific embodiment of the invention;
Fig. 3 is the structural representation that the increase startup item creating unit that provides of the specific embodiment of the invention and recovering is finished the operating system blue screen recovery device of unit.
Embodiment
The specific embodiment of the invention provides a kind of operating system blue screen restoration methods, comprise that when detecting the file of repair system leak the leak that records in the file by specific field identification repair system leak is kernel file and whether need backup whether; Before repairing the leak that needs backup, the kernel file that needs is repaired the file replacement backs up; When patching bugs causes the operating system blue screen, the kernel file covering of backup is caused the reparation file of blue screen.
In Windows operating system, the change of kernel file can cause the operating system blue screen, and when the user repairs the kernel leak, tends to cause the operating system blue screen because having changed corresponding kernel file.For this reason, this embodiment at first judges whether to trigger intelligence restoration according to the patch of installing, carry out file backup for the file that will repair, and in the startup configuration file boot.ini of system file, added a DOS startup item, namely when the user enters the reparation startup item, the DOS guidance system can cover economy-combat to the corresponding source document in backup file patch also causes the file of blue screen, thereby realizes the recovery to the operating system blue screen.Below in conjunction with Figure of description this embodiment is specified, as shown in Figure 1, corresponding operating system blue screen restoration methods comprises:
Step 11, when detecting the file of repair system leak, the leak that records in the file by specific field identification repair system leak is kernel file and whether need backup whether.
Concrete, generally can manually back up or third party software backup realization by system's automated back-up, user for the backup of kernel file.Take the third party software backup as example, after third party software detects the file that Microsoft sends patching bugs, at first can detect and have whether the file of this leak is kernel file, and detect this file that has this leak and whether need backup, if the file of this this leak of existence is kernel file and needs backup, then exists the file of this leak to identify by specific field to this.In the information writing in files with leak in patching bugs (such as date issued, patch size, patch type etc.), can distinguish as specific field with key word: KB_SYSTEM, when there is the KB_SYSTEM field in vulnerability information, just carry out the kernel file backup.
Step 12, before repairing the leak that needs backup, the kernel file that needs is repaired the file replacement backs up.
Concrete, before the leak that the third party software reparation need to be backed up, whether needs back up the file that relates to according to this patching bugs of rule judgment identical with the specific field of record in the step 11, if backing up, before repairing this leak, the kernel file that needs in the patching bugs process to replace is backed up by needs.Corresponding kernel file can be backuped under the backup catalogue, add simultaneously the bak suffix.
Further, after the kernel file that needs is repaired the file replacement backs up, can in the startup configuration file boot.ini of system file, add a DOS startup item, and in the startup configuration file, add starting up's item, this starting up's item comprises the instruction that the kernel file of backup is covered the reparation file that causes blue screen, the kernel file of the backup that this instruction is related is kept under the backup catalogue, and its suffix is called .bak.
Step 13 when patching bugs causes the operating system blue screen, causes the kernel file covering of backup the reparation file of blue screen.
Concrete, when patching bugs causes the operating system blue screen, restart and can enter the DOS startup item that creates in the step 12 after the system, the DOS guidance system can backup under the backup catalogue and the file of suffix .bak by name cover and be repaired the leak program and replace and cause on the kernel file of operating system blue screen.After covering is finished, third party software deletion backup is under the backup catalogue and the file of suffix .bak by name, and deletion DOS starts the startup item that adds in the configuration file boot.ini file, return to patching bugs state before after the restarting systems, realized the reparation after patching bugs causes the operating system blue screen.
The SAW Temperature Sensors of the technical scheme that the employing present embodiment provides, back up by the kernel file that needs is repaired file, make operating system because can't from a system mistake, recover the time during blue screen, realize the normal operation behind the operating system blue screen by restoring.
The specific embodiment of the present invention also provides a kind of operating system blue screen recovery device, as shown in Figure 2, specifically can comprise:
Backup identify unit 21 is used for when detect the file of repair system leak, and the leak that records in the file by specific field identification repair system leak is kernel file and whether need to back up whether;
Backup units 22 was used for before repairing the leak that needs backup, and the kernel file that needs is repaired the file replacement backs up;
Blue screen is repaired unit 23, is used for when patching bugs causes the operating system blue screen, the kernel file covering of backup is caused the reparation file of blue screen.
Optionally, in backup units 22, can comprise the backup operation subelement, be used for kernel file is backuped under the assigned catalogue, and kernel file is increased the suffix name of .bak.
Optionally, as shown in Figure 3, this device can also comprise that startup item creating unit 24 and recovery finish unit 25, startup item creating unit 24 is used for creating the DOS startup item, and in starting configuration file, adding starting up's item, starting up's item comprises the instruction that the kernel file of backup is covered the reparation file that causes blue screen; The kernel file that unit 25 is used for the deletion backup is finished in recovery, and restarting operating systems.
The embodiment of the processing capacity of each unit that comprises in the aforesaid operations system blue screen recovery device is described in method embodiment before, no longer is repeated in this description at this.
The SAW Temperature Sensors of the technical scheme that the employing present embodiment provides, back up by the kernel file that needs is repaired file, make operating system because can't from a system mistake, recover the time during blue screen, realize the normal operation behind the operating system blue screen by restoring.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, 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.

Claims (8)

1. operating system blue screen restoration methods is characterized in that, comprising:
When detecting the file of repair system leak, the leak that records in the file by the described repair system leak of specific field identification is kernel file and whether need backup whether;
Before repairing the leak that needs backup, the kernel file that needs is repaired the file replacement backs up;
When patching bugs causes the operating system blue screen, the described kernel file covering of backup is caused the reparation file of blue screen.
2. operating system blue screen restoration methods according to claim 1, it is characterized in that, describedly needs are repaired kernel file that file replaces back up and comprise described kernel file is backuped under the assigned catalogue, and described kernel file is increased the suffix name of .bak.
3. operating system blue screen restoration methods according to claim 1 is characterized in that, also comprises after the kernel file that needs is repaired the file replacement backs up:
Start starting up's item of adding in the configuration file at DOS, described starting up's item comprises the instruction that the described kernel file of backup is covered the reparation file that causes blue screen.
4. according to claim 1 to the described operating system blue screen of 3 any one restoration methods, it is characterized in that, after the described kernel file that will back up covers the reparation file that causes blue screen, also comprise:
Described kernel file and the DOS of deletion backup, and restarting operating systems.
5. operating system blue screen recovery device is characterized in that, comprising:
The backup identify unit is used for when detect the file of repair system leak, and the leak that records in the file by the described repair system leak of specific field identification is kernel file and whether need to back up whether;
Backup units was used for before repairing the leak that needs backup, and the kernel file that needs is repaired the file replacement backs up;
Blue screen is repaired the unit, is used for when patching bugs causes the operating system blue screen, the described kernel file covering of backup is caused the reparation file of blue screen.
6. operating system blue screen recovery device according to claim 5 is characterized in that, comprises in backup units:
The backup operation subelement is used for described kernel file is backuped under the assigned catalogue, and described kernel file is increased the suffix name of .bak.
7. operating system blue screen recovery device according to claim 5 is characterized in that this device also comprises:
The startup item creating unit is used for creating the DOS startup item, and adds starting up's item in starting configuration file, and described starting up's item comprises the instruction that the described kernel file of backup is covered the reparation file that causes blue screen.
8. according to claim 5 to the described operating system blue screen of 7 any one recovery device, it is characterized in that this device also comprises:
The unit is finished in recovery, is used for the described kernel file of deletion backup, and restarting operating systems.
CN201110312979.2A 2011-10-14 2011-10-14 Operating system blue screen restoration methods and device Active CN103049343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110312979.2A CN103049343B (en) 2011-10-14 2011-10-14 Operating system blue screen restoration methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110312979.2A CN103049343B (en) 2011-10-14 2011-10-14 Operating system blue screen restoration methods and device

Publications (2)

Publication Number Publication Date
CN103049343A true CN103049343A (en) 2013-04-17
CN103049343B CN103049343B (en) 2016-08-17

Family

ID=48061992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110312979.2A Active CN103049343B (en) 2011-10-14 2011-10-14 Operating system blue screen restoration methods and device

Country Status (1)

Country Link
CN (1) CN103049343B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440149A (en) * 2013-08-30 2013-12-11 西北工业大学 Method for loading non-digital signature Windows X64 drive program
CN104135483A (en) * 2014-06-13 2014-11-05 汪志 Automatic configuration management system for network security
EP3232326A1 (en) 2016-04-14 2017-10-18 High Sec Labs Ltd. Keyboard video mouse (kvm) device and method for detecting host failure using the same
CN107480033A (en) * 2016-06-08 2017-12-15 阿里巴巴集团控股有限公司 Virtual machine blue screen detection method and equipment
CN112199237A (en) * 2020-10-15 2021-01-08 维沃移动通信有限公司 System service recovery method and device and electronic equipment
US10922246B1 (en) 2020-07-13 2021-02-16 High Sec Labs Ltd. System and method of polychromatic identification for a KVM switch
US11334173B2 (en) 2020-07-13 2022-05-17 High Sec Labs Ltd. System and method of polychromatic identification for a KVM switch

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1271322A2 (en) * 2001-06-27 2003-01-02 Nokia Corporation Crash recovery system
CN101373450A (en) * 2007-08-21 2009-02-25 联想(北京)有限公司 Method and system for processing CPU abnormity
CN101425018A (en) * 2008-12-05 2009-05-06 深圳创维数字技术股份有限公司 Embedded firmware upgrading method and device based on sectional form
CN101556547A (en) * 2009-05-25 2009-10-14 芯通科技(成都)有限公司 Safe method and system used for remotely upgrading embedded Linux kernel
CN101782859A (en) * 2010-03-18 2010-07-21 上海乐毅信息科技有限公司 Upgrading method of embedded system in application
CN101799763A (en) * 2009-02-10 2010-08-11 华为技术有限公司 Method, device and system for patching kernel on line
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1271322A2 (en) * 2001-06-27 2003-01-02 Nokia Corporation Crash recovery system
CN101373450A (en) * 2007-08-21 2009-02-25 联想(北京)有限公司 Method and system for processing CPU abnormity
CN101425018A (en) * 2008-12-05 2009-05-06 深圳创维数字技术股份有限公司 Embedded firmware upgrading method and device based on sectional form
CN101799763A (en) * 2009-02-10 2010-08-11 华为技术有限公司 Method, device and system for patching kernel on line
CN101556547A (en) * 2009-05-25 2009-10-14 芯通科技(成都)有限公司 Safe method and system used for remotely upgrading embedded Linux kernel
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
CN101782859A (en) * 2010-03-18 2010-07-21 上海乐毅信息科技有限公司 Upgrading method of embedded system in application

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440149A (en) * 2013-08-30 2013-12-11 西北工业大学 Method for loading non-digital signature Windows X64 drive program
CN103440149B (en) * 2013-08-30 2016-08-17 西北工业大学 The Windows X64 driver loading method of nil signature
CN104135483A (en) * 2014-06-13 2014-11-05 汪志 Automatic configuration management system for network security
CN104135483B (en) * 2014-06-13 2018-05-18 汪志 A kind of network security automatically configures management system
EP3232326A1 (en) 2016-04-14 2017-10-18 High Sec Labs Ltd. Keyboard video mouse (kvm) device and method for detecting host failure using the same
US10585731B2 (en) 2016-04-14 2020-03-10 High Sec Labs Ltd. KVM having blue screen of death detection and warning functions
CN107480033A (en) * 2016-06-08 2017-12-15 阿里巴巴集团控股有限公司 Virtual machine blue screen detection method and equipment
US10922246B1 (en) 2020-07-13 2021-02-16 High Sec Labs Ltd. System and method of polychromatic identification for a KVM switch
US11334173B2 (en) 2020-07-13 2022-05-17 High Sec Labs Ltd. System and method of polychromatic identification for a KVM switch
CN112199237A (en) * 2020-10-15 2021-01-08 维沃移动通信有限公司 System service recovery method and device and electronic equipment
CN112199237B (en) * 2020-10-15 2023-05-26 维沃移动通信有限公司 System service recovery method and device and electronic equipment

Also Published As

Publication number Publication date
CN103049343B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103049343A (en) Method and device for restoring operating system blue screen
US7913113B2 (en) Self-managed processing device
US20080155216A1 (en) Protection and Recovery System for Automatic Disk Recovery
CN102609304B (en) Management method for internal third-party applications of Android mobile phone
CN102073560A (en) Data backup method and device
CN103729264A (en) Method for backing up and restoring Windows virtual machine system disk
CN104216793A (en) Application program backing up and restoring method and device
CN103176864A (en) Backup method, backup device and mobile terminal based on Android system
CN102163167A (en) Method and device for rescuing system
CN105022678A (en) Data backup method and apparatus for virtual machine
CN102819469A (en) Method and system for recovering operating system
CN102799499A (en) Vehicular Android equipment system recovery method and vehicular Android equipment
JP2012530285A (en) Method and apparatus for maintaining key information area of file system
CN101673230A (en) Method for automatically backing up and recovering configuration data of embedded system by using a U-disk
CN104516796A (en) Command set based network element backup and recovery method and device
CN104572352B (en) A kind of POS terminal critical data back-up restoring method
CN105549985A (en) Method and system for enhancing reliability of Linux application system
CN106815098A (en) Setting backup and the method and system for recovering based on linux system
CN109313631B (en) Secure removal of sensitive data
WO2012097761A1 (en) Recovery method for communication exceptions between data card and host, and data card
US20160004607A1 (en) Information processing apparatus and information processing method
CN103593263B (en) Hyper v virtual machine backup method based on backup knowledge base and file attribute
CN111209132A (en) Embedded system, power failure protection method, electronic device and storage medium
CN110795155A (en) System starting method and device, electronic equipment and storage medium
CN103259905A (en) Cell-phone smart recovery method and system

Legal Events

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