CN103064767B - Drive backup, the method recovered and device - Google Patents

Drive backup, the method recovered and device Download PDF

Info

Publication number
CN103064767B
CN103064767B CN201310007866.0A CN201310007866A CN103064767B CN 103064767 B CN103064767 B CN 103064767B CN 201310007866 A CN201310007866 A CN 201310007866A CN 103064767 B CN103064767 B CN 103064767B
Authority
CN
China
Prior art keywords
driver
file
backup
facility information
hardware
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.)
Active
Application number
CN201310007866.0A
Other languages
Chinese (zh)
Other versions
CN103064767A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610113234.6A priority Critical patent/CN105786652B/en
Priority to CN201310007866.0A priority patent/CN103064767B/en
Publication of CN103064767A publication Critical patent/CN103064767A/en
Application granted granted Critical
Publication of CN103064767B publication Critical patent/CN103064767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses and a kind ofly drive backup, the method recovered and device, wherein drive the method for backup to comprise: the information obtaining driver in operating system; According to the information of each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit; Judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file are backed up.The present invention reduces the storage space driven shared by Backup Data, and when operating system again, driver needed for can installing according to backed up driver, avoid and need identify the model of distinct device and search the trouble of driver when repacking operation system, required time is shorter, improves the efficiency of install driver.

Description

Drive backup, the method recovered and device
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of drive backup, recover method and device.
Background technology
Driver is the class interface program that operating system control hardware equipment normally works.Operating system sends to driver instruction, drives hardware effort by driver, can also adjust the serviceability of hardware simultaneously.Such as, after installing operating system, the Show Color of screen cannot show true color, and this is the driver owing to only employing the initial stage that video card carries, and causes the performance of video card normally to play.In order to make the performance of video card normally be played, installation video card manufacturer is just needed to be the driver of this video card specific development.
And the installation of driver is also user debugs the problem with headache most during maintenance calculations machine, such as after refitting system, need the driver installing the equipment such as video card, sound card, network interface card, video heads, printer, in the process of install driver, identify the model of distinct device, and search corresponding driver, operate very loaded down with trivial details, and efficiency is lower.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the driving backup solved the problem at least in part, the method recovered and device.
According to an aspect of the present invention, provide a kind of method driving backup, comprising: the information obtaining driver in operating system; According to the information of each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit; Judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file are backed up.
The information of wherein said driver comprises the file name of facility information file, device class, hardware ID, descriptor and manufacturer's information; The described information according to each described driver, by do not belong to system carry and the equipment of correspondence be not central processing unit, CD-ROM drive or and virtual unit driver alternatively backup driver comprise: judge its driver whether belonging to system and carry according to the file name of facility information file corresponding to each described driver; For the driver not belonging to system and carry, judge whether corresponding equipment is central processing unit or CD-ROM drive according to the device type of its correspondence; To carry and the equipment of correspondence neither the driver of central processing unit and CD-ROM drive for not belonging to system, judging whether corresponding equipment is virtual unit according to the device class of its correspondence, hardware ID, descriptor and manufacturer's information; To carry not belonging to system and the equipment of correspondence neither the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit.
Wherein said driver file is by opening described facility information file, obtains the title of respective drive program file, and searches under system disk catalogue according to the title of described driver file and obtain.
Optionally, if the file name that there is facility information file corresponding at least two described candidate backup drivers is identical, then only facility information file corresponding to candidate backup driver described in one of them and driver file are backed up.
Optionally, described backup-step comprises: according to preset backup path, described facility information file and driver file is stored to the local disk except system disk or the server of described preset backup path sensing.
Optionally, said method also comprises: need the hardware device recovering driver in determination operation system; Need according to described the hardware device recovering driver, from Backup Data, obtain corresponding facility information file and driver file; Described facility information file and driver file are loaded in operating system.
Optionally, need the hardware device recovering driver to comprise in described determination operation system: to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; Or, obtain the list of hardware device in operating system, receive user and the selection of hardware device one or more in described list is inputted, and described one or more hardware device is defined as the hardware device needing recovery driver.
According to another aspect of the present invention, additionally provide a kind of device driving backup, comprising: getter, be configured to the information obtaining driver in operating system; Screening washer, is configured to the information according to each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit; Backup device, is configured to judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file is backed up.
The information of wherein said driver comprises the file name of facility information file, device class, hardware ID, descriptor and manufacturer's information; Described screening washer comprises: the first judge module, is configured to judge its driver whether belonging to system and carry according to the file name of facility information file corresponding to each described driver; Second judge module, is configured to the driver for not belonging to system and carrying, and judges whether corresponding equipment is central processing unit or CD-ROM drive according to the device type of its correspondence; 3rd judge module, being configured to carry and the equipment of correspondence is not the driver of central processing unit and CD-ROM drive for not belonging to system, judging whether corresponding equipment is virtual unit according to the device class of its correspondence, hardware ID, descriptor and manufacturer's information; Determination module, is configured to carry not belonging to system and the equipment of correspondence neither the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit.
Wherein said driver file is by opening described facility information file, obtains the title of respective drive program file, and searches under system disk catalogue according to the title of described driver file and obtain.
Optionally, if the file name that there is facility information file corresponding at least two described candidate backup drivers is identical, then only facility information file corresponding to candidate backup driver described in one of them and driver file are backed up.
Optionally, described backup device is specifically configured to according to preset backup path, described facility information file and driver file is stored to the local disk except system disk or the server of described preset backup path sensing.
Optionally, said apparatus also comprises: drive and recover determiner, is configured to the hardware device needing in determination operation system to recover driver; Drive backup getter, be configured to, according to the described hardware device needing to recover driver, from Backup Data, obtain corresponding facility information file and driver file; Drive load device, is configured to described facility information file and driver file to be loaded in operating system.
Optionally, described driving recovers determiner and comprises: first drives recovery determination module, is configured to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; And/or, second drives recovery determination module, be configured to the list obtaining hardware device in operating system, receive user and the selection of hardware device one or more in described list is inputted, and described one or more hardware device is defined as the hardware device needing recovery driver.
According to a further aspect of the invention, additionally provide a kind of method driving recovery, comprising: the hardware device needing to recover driver in determination operation system; Need according to described the hardware device recovering driver, from Backup Data, obtain corresponding facility information file and driver file, wherein said Backup Data is the Backup Data of driver in operating system; Described facility information file and driver file are loaded in operating system.
Optionally, need the hardware device recovering driver to comprise in described determination operation system: to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; Or, obtain the list of hardware device in operating system, receive user and the selection of hardware device one or more in described list is inputted, and described one or more hardware device is defined as the hardware device needing recovery driver.
According to a further aspect of the invention, additionally provide a kind of device driving recovery, comprising: drive and recover determiner, be configured to the hardware device needing in determination operation system to recover driver; Drive backup getter, be configured to according to the described hardware device needing to recover driver, from Backup Data, obtain corresponding facility information file and driver file, wherein said Backup Data is the Backup Data of driver in operating system; Drive load device, is configured to described facility information file and driver file to be loaded in operating system.
Optionally, described driving recovers determiner and comprises: first drives recovery determination module, is configured to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; Or, second drives recovery determination module, be configured to the list obtaining hardware device in operating system, receive user and the selection of hardware device one or more in described list is inputted, and described one or more hardware device is defined as the hardware device needing recovery driver.
Technical scheme of the present invention can automatically to carry not belonging to system in operating system and the driver that the equipment of correspondence is not central processing unit, CD-ROM drive and virtual unit backs up, avoid the trouble of searching driver when repacking operation system on the one hand, on the other hand owing to only backing up the driver that must back up, decrease the storage space shared by Backup Data.When repacking operation system, according to backed up driving data, corresponding driver can be loaded in operating system, and no longer need the model identifying distinct device, do not need to search driver CD yet, simple to operate, required time is shorter, improves the efficiency of install driver.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the method flow diagram of the driving backup of one embodiment of the invention;
Fig. 2 shows the device schematic diagram of the driving backup of one embodiment of the invention;
Fig. 3 shows the method flow diagram driving recovery according to an embodiment of the invention;
The device schematic diagram that the driving that Fig. 4 shows one embodiment of the invention recovers.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 is the method flow diagram of the driving backup of one embodiment of the invention; As shown in the figure, the method for this driving backup comprises:
Step S110: the information obtaining driver in operating system.
Here operating system can be desktop operating system, as MacOSX, Debian, Ubuntu, LinuxMint, the Unix such as SuseLinux, Fedora and class Unix operating system, and Windows2000, WindowsXP, the Windows operating systems such as WindowsVista, Windows7, Windows8; Also can be server OS, as SUNSolaris, IBM-AIX, HP-UX, the Unix sequence of maneuvers systems such as FreeBSD, RedHatLinux, CentOS, Debian, the Linux sequence of maneuvers systems such as Ubuntu, and the Windows sequence of maneuvers system such as WindowsServer2003, WindowsServer2008, WindowsServer2008R2; Can also be embedded OS, as operating systems such as the embedded OS such as built-in Linux, WindowsCE and Android, iOS, Symbian, WindowsPhone and BlackBerryOS of being widely used in smart mobile phone and panel computer.The embodiment of the present invention is only described for Windows operating system, and other operating system can perform with reference to Windows operating system.
Obtain the information of driver in operating system, can by calling the system API(ApplicationProgrammingInterface enumerating device driver, application programming interface) function realizes, such as can enumerate by calling SetupAPI function the driver installed in system in Windows system, and obtain the details of each driver, these information can comprise hardware ID, device class, descriptor, manufacturer's information, INF(DeviceINFormationFile, facility information file) file name etc., wherein backing up most important information for driving is exactly INF file name.Wherein device class is the classification belonging to hardware device, in system equipment manager this hardware device routine information in include device class item, the content of this device class item correspondence, as processor, video card etc., be namely the device class of hardware device; Manufacturer's information is the manufacturer information of hardware device, in system equipment manager this hardware device routine information in include manufacturer's item, namely the content of this manufacturer's item correspondence is manufacturer's information of hardware device; Hardware ID refers to the numbering of hardware device, in the equipment manager of system hardware device details in include hardware ID item, the hardware ID of this hardware device can be found from this hardware ID item; Descriptor refers to equipment title in systems in which, the device name namely shown in equipment manager.INF is Microsoft company is a kind of file layout that hardware device manufacturer issues the release of its driver, and the information or the script that comprise hardware device in INF file operate with control hardware.How this is installed in system to understand hardware driving in INF document, source file where, be installed in which file, how in registration table, add self relevant information etc.
Step S120: according to the information of each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit.
Because the many drivers in operating system are that operating system carries, just have when installing operating system, do not needed backup, even if driver lost, also can be recovered by system reparation.In addition, also have such as virtual drive software, software virtual machine etc. that the driver of some virtual units may be installed, and these drivers be virtual drive software, software virtual machine carries, and also do not need backup.If these do not needed the driver backed up to back up, both without any meaning, wasted storage space again.
When this step of specific implementation, judge the driver whether a driver belongs to system and carry, generally can the INF file name corresponding according to each driver judge, such as, the general INF file name not belonging to the driver that system carries starts with OEM, therefore, can by first judging whether the INF file name of driver is judge whether this driver belongs to system and carry with OEM beginning, if the INF file name of this driver is with OEM beginning, then can judge that this driver is not that system carries.But, some driver not being system carries does not need backup yet, as some CPU(CentralProcessingUnit, central processing unit) sometimes need third-party driver is installed, the INF file name of this third-party driver is also start with OEM, but this driver is generally by the BIOS(BasicInputOutputSystem of mainboard, Basic Input or Output System (BIOS)) provide, backup is not needed yet, because the device type that the driver of CPU is corresponding is processor(processor), therefore, can by being that such driver is got rid of at the row of backup by the driver filtering of processor by device type, on the other hand, driver due to CD-ROM drive is generally that system carries, do not need backup, whether by INF file name is with the row of OEM beginning eliminating in backup, but the driver of virtual drive does not belong to system to be carried, and be included in virtual drive software due to the driver of virtual drive, also do not need backup, therefore, can by being cdrom(CD-ROM drive by device type) driver filtering further the driver of virtual drive is got rid of the row in backup, in addition, the driver of virtual unit is also contained in virtual device software, backup is not needed yet, and due to the driver of virtual unit can by the device class of its correspondence, hardware ID, descriptor and manufacturer's information judge whether corresponding equipment is that virtual unit judges, such as, the device class about known virtual unit can be set up in advance, hardware ID, the database of descriptor and manufacturer's information, by virtual unit and its device class of difference, hardware ID, descriptor and manufacturer's information are associated, when specifically judging, device class that can be corresponding according to obtained driver, hardware ID, one or more in descriptor and manufacturer's information judges, the manufacturer such as had is as Vmware company, only manufacture virtual unit, if manufacturer's information of the driver obtained by API calls is Vmware company, then directly can judge that equipment that this driver is corresponding is as virtual unit.Like this, also further the driver of virtual unit can be got rid of the row in backup.
In addition, some equipment in operating system, such as switchable pair of video card or multifunctional card reader, enumerating out by the API calls in order to enumerate device driver is multiple equipment, but this multiple equipment is installed by an installation procedure, corresponding INF file is same, namely the file name that there is facility information file corresponding at least two drivers is identical, in this case, only facility information file corresponding to one of them driver and driver file are backed up, to avoid backing up out many parts of identical driver data, storage space shared by further minimizing Backup Data.
Step S130: judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then backs up the facility information file of correspondence and driver file.
When this step of specific implementation, can according to the file name of facility information file corresponding to each candidate backup driver, the file of same file title whether is had to exist under searching behaviour's system disk catalogue, for Windows system, windows search under INF catalogue, if find the file of same file title, then illustrate that the facility information file that this candidate backup driver is corresponding exists.
When the candidate backup driver existed facility information file backs up, according to preset backup path, the driving data (facility information file and driver file) of correspondence can be stored to the local disk except system disk or the server of preset backup path sensing.Such as, when driving data being stored to the local disk except system disk, suppose that C dish is system disk, so, can preset backup path be: D: \ Drivers, under being stored to this preset backup path by the driving data of respective drive program, wherein, here D dish can be fixed disk, also can be USB flash disk (USB flash drive, USBflashdisk) of mobile storage etc.If select local disk storing driver data, so, overall format can not be selected when refitting system, otherwise the driving data of backup all will be lost., driving data can also be stored on the server for this reason, make the selection of format totally can not be subject to the restriction of backup path.In addition, corresponding driving data can also be stored by sectional lists, such as, respective back-up storage catalogue can be set up respectively, so that search the driving data of each equipment for equipment such as mainboard, video card, sound card, printers.
The information of above-described embodiment to obtained driver judges, system to be carried and driver that software of installing carries gets rid of row in backup, only will not belong to system to carry, and the equipment of correspondence is not central processing unit, the driver alternatively backup driver that the installation such as CD-ROM drive and virtual unit software carries, and then the candidate backup driver that facility information file exists is backed up, like this, owing to only backing up the driver that must back up, decrease the storage space shared by Backup Data, and when operating system again, driver needed for can installing according to backed up driver, avoid and need identify the model of distinct device and search the trouble of driver when repacking operation system, required time is shorter, improve the efficiency of install driver.
Adapt with the aforementioned embodiment of the method backed up that drives of the present invention, Fig. 2 shows the device schematic diagram of the driving backup of one embodiment of the invention, and as shown in the figure, the device of this driving backup comprises:
Getter 210, is configured to the information obtaining driver in operating system;
Screening washer 220, is configured to the information according to each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit and CD-ROM drive and virtual unit;
Backup device 230, is configured to judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file is backed up.
Optionally, the information of wherein said driver comprises the file name of facility information file, device class, hardware ID, descriptor and manufacturer's information; Described screening washer comprises: the first judge module, is configured to judge its driver whether belonging to system and carry according to the file name of facility information file corresponding to each described driver; Second judge module, is configured to the driver for not belonging to system and carrying, and judges whether corresponding equipment is central processing unit and CD-ROM drive according to the device type of its correspondence; 3rd judge module, being configured to carry and the equipment of correspondence is not the driver of central processing unit and CD-ROM drive for not belonging to system, judging whether corresponding equipment is virtual unit according to the device class of its correspondence, hardware ID, descriptor and manufacturer's information; Determination module, is configured to carry not belonging to system and the equipment of correspondence neither the driver alternatively backup driver of central processing unit and CD-ROM drive and virtual unit.
Optionally, wherein said driver file is by opening described facility information file, obtains the title of respective drive program file, and searches under system disk catalogue according to the title of described driver file and obtain.
Optionally, if the file name that there is facility information file corresponding at least two described candidate backup drivers is identical, then only facility information file corresponding to candidate backup driver described in one of them and driver file are backed up.
Optionally, described backup device is specifically configured to according to preset backup path, described facility information file and driver file is stored to the local disk except system disk or server.
Optionally, the device of above-mentioned driving backup also comprises: drive and recover determiner, is configured to the hardware device determining to need to recover driver; Drive backup getter, be configured to, according to the described hardware device needing to recover driver, from Backup Data, obtain corresponding facility information file and driver file; Drive load device, is configured to described facility information file and driver file to be loaded in operating system.
Optionally, described driving recovers determiner and comprises: first drives recovery determination module, is configured to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; And/or, second drives recovery determination module, be configured to the list obtaining hardware device in operating system, receive user to input the selection of hardware device one or more in described list, and received user selected the one or more hardware devices inputted to be defined as the hardware device needing to recover driver.
After the driver in operating system is backed up, rapidly driver can be loaded in operating system according to backed up driving data when repacking operation system.
Fig. 3 shows the method flow diagram driving recovery according to an embodiment of the invention; As shown in the figure, the method that this driving recovers comprises:
Step S310: need the hardware device recovering driver in determination operation system.
When this step of specific implementation, the hardware device needing to recover driver can be had in the automatic determination operation system of various ways, such as, can detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver.Again such as, the list of hardware device in operating system can also be obtained, hardware device in wherein said list can be the hardware device that the driver that backs up in aforementioned driving backup method embodiment is corresponding, and receive user and input the selection of hardware device one or more in described list, and then the one or more hardware devices inputted received user are selected to be defined as the hardware device needing to recover driver.
Step S320: need according to described the hardware device recovering driver, obtain corresponding facility information file and driver file from Backup Data, wherein said Backup Data is the Backup Data of driver in operating system.
Determine the hardware device needing to recover driver in step S310 after, can according to this hardware device, as title or the ID of this hardware device, automatically according to the store path (local disk except system disk or server) of Backup Data, carry out searching from the Backup Data this store path and obtain corresponding facility information file and driver file, wherein, Backup Data here can be the aforementioned driving data driving the embodiment of the method for backup to store.In addition, when Backup Data enters to store with equipment sectional lists such as mainboard, video card, sound card, printers, the title also can recovering the hardware device of driver as required finds corresponding facility information file and driver file automatically from store path.Step S330: described facility information file and driver file are loaded in operating system.
Because facility information document understands hardware driving, how this is installed in operating system, source file where, be installed in which file, how in registration table, add self relevant information etc., according to the explanation in facility information file, under automatically driver file can being loaded into destination folder.
Wherein, the selection input of one or more hardware device in reception user is to list, and then when selecting the one or more hardware devices inputted to be defined as the hardware device needing to recover driver received user, the words described from user side, for WindowsXP system, user can recover the driver of selected hardware device as follows:
1. the equipment manager of opening operation system, user can see the list of hardware device in operating system;
2. from this list, choose the hardware device needing to recover to drive, right button of clicking the mouse (also can be set to left button of clicking the mouse), selects " more newer driver " in a menu;
3. select in the dialog box ejected " device driver list or assigned address installation from computing machine ";
4. in next dialog box, click " installing from disk " button;
5. select to click the Browse button in dialog box at the file ejected;
6. select in catalogue the catalogue selecting backup driver place in dialog box;
7. click the Next button to install, period may also have some confirmation dialog boxes to need user to confirm.
For the operating system of other operating system or other version of Windows, the operation steps of the driver of the hardware device selected by recovery may be slightly different, repeat no more here.
The hardware device needing in user's assigned operation system to recover driver can be determined or accept to above-described embodiment automatically, and then find corresponding facility information file and driver file rapidly, and Auto-mounting is in operating system, easy and simple to handle, the required time is shorter, improve the efficiency recovering driver, avoid the model the trouble of searching respective drive CD that need to identify each hardware device when recovering driver.
Adapt with the aforementioned embodiment of the method recovered that drives of the present invention, the device schematic diagram that the driving that Fig. 4 shows one embodiment of the invention recovers.As shown in the figure, the device that this driving recovers comprises:
Drive and recover determiner 410, be configured to the hardware device needing in determination operation system to recover driver;
Drive backup getter 420, be configured to according to the described hardware device needing to recover driver, from Backup Data, obtain corresponding facility information file and driver file, wherein said Backup Data is the Backup Data of driver in operating system;
Drive load device 430, is configured to described facility information file and driver file to be loaded in operating system.
Optionally, described driving recovers determiner and comprises: first drives recovery determination module, is configured to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver; Or, second drives recovery determination module, be configured to the list obtaining hardware device in operating system, receive user to input the selection of hardware device one or more in described list, and received user selected the one or more hardware devices inputted to be defined as the hardware device needing to recover driver.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the equipment of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (14)

1. drive a method for backup, comprising:
Obtain the information of driver in operating system;
According to the information of each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit, comprising: the device type corresponding according to each described driver judges whether corresponding equipment is central processing unit or CD-ROM drive; Device class, hardware ID, descriptor or the manufacturer information corresponding according to each described driver judge whether corresponding equipment is virtual unit;
Judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file are backed up.
2. the method for claim 1, the information of wherein said driver comprises the file name of facility information file, device class, hardware ID, descriptor and manufacturer's information;
The described information according to each described driver, by do not belong to system carry and the equipment of correspondence be not central processing unit, CD-ROM drive or and virtual unit driver alternatively backup driver comprise:
Its driver whether belonging to system and carry is judged according to the file name of facility information file corresponding to each described driver;
For the driver not belonging to system and carry, judge whether corresponding equipment is central processing unit or CD-ROM drive according to the device type of its correspondence;
To carry and the equipment of correspondence neither the driver of central processing unit and CD-ROM drive for not belonging to system, judging whether corresponding equipment is virtual unit according to the device class of its correspondence, hardware ID, descriptor and manufacturer's information;
To carry not belonging to system and the equipment of correspondence neither the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit.
3. the method for claim 1, wherein said driver file is by opening described facility information file, obtains the title of respective drive program file, and searches under system disk catalogue according to the title of described driver file and obtain.
4. the method for claim 1, if the file name that there is facility information file corresponding at least two described candidate backup drivers is identical, then only facility information file corresponding to candidate backup driver described in one of them and driver file are backed up.
5. the method for claim 1, described backup-step comprises:
According to preset backup path, described facility information file and driver file are stored to the local disk except system disk or the server of described preset backup path sensing.
6. the method for claim 1, also comprises:
The hardware device recovering driver is needed in determination operation system;
Need according to described the hardware device recovering driver, from Backup Data, obtain corresponding facility information file and driver file;
Described facility information file and driver file are loaded in operating system.
7. method as claimed in claim 6, needs the hardware device recovering driver to comprise in described determination operation system:
Detect in operating system and whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver;
Or,
Obtain the list of hardware device in operating system, receive user and the selection of hardware device one or more in described list is inputted, and described one or more hardware device is defined as the hardware device needing recovery driver.
8. drive a device for backup, comprising:
Getter, is configured to the information obtaining driver in operating system;
Screening washer, be configured to the information according to each described driver, to carry not belonging to system and the equipment of correspondence is not the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit, comprising: the device type corresponding according to each described driver judges whether corresponding equipment is central processing unit or CD-ROM drive; Device class, hardware ID, descriptor or the manufacturer information corresponding according to each described driver judge whether corresponding equipment is virtual unit;
Backup device, is configured to judge whether the facility information file that each described candidate backup driver is corresponding exists, if exist, then the facility information file of correspondence and driver file is backed up.
9. device as claimed in claim 8, the information of wherein said driver comprises the file name of facility information file, device class, hardware ID, descriptor and manufacturer's information;
Described screening washer comprises:
First judge module, is configured to judge its driver whether belonging to system and carry according to the file name of facility information file corresponding to each described driver;
Second judge module, is configured to the driver for not belonging to system and carrying, and judges whether corresponding equipment is central processing unit or CD-ROM drive according to the device type of its correspondence;
3rd judge module, being configured to carry and the equipment of correspondence is not the driver of central processing unit and CD-ROM drive for not belonging to system, judging whether corresponding equipment is virtual unit according to the device class of its correspondence, hardware ID, descriptor and manufacturer's information;
Determination module, is configured to carry not belonging to system and the equipment of correspondence neither the driver alternatively backup driver of central processing unit, CD-ROM drive and virtual unit.
10. device as claimed in claim 8, wherein said driver file is by opening described facility information file, obtains the title of respective drive program file, and searches under system disk catalogue according to the title of described driver file and obtain.
11. devices as claimed in claim 8, if the file name that there is facility information file corresponding at least two described candidate backup drivers is identical, then only facility information file corresponding to candidate backup driver described in one of them and driver file are backed up.
12. devices as claimed in claim 8, described backup device is specifically configured to according to preset backup path, described facility information file and driver file is stored to the local disk except system disk or the server of described preset backup path sensing.
13. devices as claimed in claim 8, also comprise:
Drive and recover determiner, be configured to the hardware device needing in determination operation system to recover driver;
Drive backup getter, be configured to, according to the described hardware device needing to recover driver, from Backup Data, obtain corresponding facility information file and driver file;
Drive load device, is configured to described facility information file and driver file to be loaded in operating system.
14. devices as claimed in claim 13, described driving recovers determiner and comprises:
First drives recovery determination module, is configured to detect in operating system whether there is unknown device, if exist, then described unknown device is defined as the hardware device needing to recover driver;
And/or,
Second drives recovery determination module, be configured to the list obtaining hardware device in operating system, receive user to input the selection of hardware device one or more in described list, and described one or more hardware device is defined as the hardware device needing recovery driver.
CN201310007866.0A 2013-01-09 2013-01-09 Drive backup, the method recovered and device Active CN103064767B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610113234.6A CN105786652B (en) 2013-01-09 2013-01-09 The method and device of driving backup, recovery
CN201310007866.0A CN103064767B (en) 2013-01-09 2013-01-09 Drive backup, the method recovered and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310007866.0A CN103064767B (en) 2013-01-09 2013-01-09 Drive backup, the method recovered and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201610113234.6A Division CN105786652B (en) 2013-01-09 2013-01-09 The method and device of driving backup, recovery

Publications (2)

Publication Number Publication Date
CN103064767A CN103064767A (en) 2013-04-24
CN103064767B true CN103064767B (en) 2016-03-23

Family

ID=48107400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310007866.0A Active CN103064767B (en) 2013-01-09 2013-01-09 Drive backup, the method recovered and device

Country Status (1)

Country Link
CN (1) CN103064767B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902338B (en) * 2014-03-21 2017-08-04 珠海市君天电子科技有限公司 A kind of drive load and processing method, client, server and system
CN104331311B (en) * 2014-11-19 2017-07-28 广东欧珀移动通信有限公司 A kind of AKU generation method and device
CN104572347B (en) * 2014-12-02 2018-01-30 上海爱数信息技术股份有限公司 Based on block level restoration and edit the registry and inject the system recovery method of driving
CN110045966A (en) * 2019-04-01 2019-07-23 龙芯中科(合肥)技术有限公司 Processing method, device and the equipment of erector
CN117215602A (en) * 2023-10-30 2023-12-12 广州鼎甲计算机科技有限公司 Method, device, computer equipment and storage medium for updating drive program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147754A (en) * 2011-04-01 2011-08-10 奇智软件(北京)有限公司 Automatic backup method and device for driver
CN102841825A (en) * 2011-06-23 2012-12-26 珠海市君天电子科技有限公司 Drive backup method and device and drive restoration method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1168174A1 (en) * 2000-06-19 2002-01-02 Hewlett-Packard Company, A Delaware Corporation Automatic backup/recovery process
CN101441582A (en) * 2007-11-20 2009-05-27 北京和力记易科技有限公司 Backup and recovery method of computer data object and system and program product for implementing the same
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147754A (en) * 2011-04-01 2011-08-10 奇智软件(北京)有限公司 Automatic backup method and device for driver
CN102841825A (en) * 2011-06-23 2012-12-26 珠海市君天电子科技有限公司 Drive backup method and device and drive restoration method and device

Also Published As

Publication number Publication date
CN103064767A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
US10235156B2 (en) Versioned extension points of graphical user interfaces
US8751783B2 (en) Booting computing devices with EFI aware operating systems
CN107729083B (en) Method for loading driver and embedded device
US9052977B2 (en) Installation of software onto a computer
CN103064767B (en) Drive backup, the method recovered and device
US9098448B2 (en) Intelligent boot services
CN103150506B (en) The method and apparatus that a kind of rogue program detects
CN102929665B (en) For the system of drive installation
CN101650660A (en) Booting a computer system from central storage
US20100049961A1 (en) Update method for basic input/output system and update system thereof
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US20120246632A1 (en) Device Flags
US9348604B2 (en) System and method for inventory collection optimization by selective binding of the pre-boot drivers
CN101014936A (en) Method and system for automatic installation of functional unit driver on a host
US8176309B2 (en) Boot system has BIOS that reads rescue operating system from memory device via input/output chip based on detecting a temperature of a hard disk
CN103246594A (en) Automatic user state network card detecting method based on Linux kernel
US20120198436A1 (en) Compatible Operating System
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US8504869B2 (en) Kernel swapping systems and methods for recovering a network device
CN114127685A (en) Electronic device and control method thereof
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
CN104317645A (en) Method and device of monitoring port by virtue of application program embodiment
CN115080114A (en) Application program transplanting processing method, device and medium
CN104778048A (en) Method and device for installing and setting up server web environment on the basis of Linux system
CN105786652B (en) The method and device of driving backup, recovery

Legal Events

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

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.