CN102147754A - Automatic backup method and device for driver - Google Patents

Automatic backup method and device for driver Download PDF

Info

Publication number
CN102147754A
CN102147754A CN 201110082490 CN201110082490A CN102147754A CN 102147754 A CN102147754 A CN 102147754A CN 201110082490 CN201110082490 CN 201110082490 CN 201110082490 A CN201110082490 A CN 201110082490A CN 102147754 A CN102147754 A CN 102147754A
Authority
CN
China
Prior art keywords
driving
hardware
backup
data
file
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
CN 201110082490
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.)
Qizhi Software Beijing Co Ltd
Original Assignee
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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN 201110082490 priority Critical patent/CN102147754A/en
Publication of CN102147754A publication Critical patent/CN102147754A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an automatic backup method and device for a driver. The method comprises the following concrete steps: when detecting that corresponding driver installation packages of the hardware devices of the operating system are installed, extracting corresponding drive data and backuping the data. The method and device in the invention can get rid of the dependence on the drive disk after the operating system is reinstalled and avoid troubles resulting from loss of drive data after the operating system is reinstalled; the automatic installation of the driver according to the backup data requires no manual operation throughout the whole installation process, thus not only removing troubles of green hands incapable of reinstalling the driver but also reducing labour power consumed in the driver installation.

Description

A kind of automatic backup method of driving and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of automatic backup method and device of driving.
Background technology
At present, along with continuous progress in science and technology and development, computing machine has been widely used in people's routine work, study, various fields in life, becomes one of indispensable instrument of modern humans society.
Driver is the part of hardware device, when script of every installation does not belong to hardware device (as mainboard, video card, sound card, network interface card or the like) in the computing machine, all need to install correct driver, this hardware device and computer system are coupled together.Driver is played the part of the role of communication, tells computer system the function of this hardware device, and also the instruction of computer system is conveyed to this hardware device, allows it start working.
The installation of driver almost is the problem that each computer user faced, and common installation method is that behind installing operating system, constantly replacing drives CD, and the driving driver of mainboard driving and various external hardware devices is installed successively; The manual operation of whole erection process need is to guarantee carrying out smoothly of installation progress; Not only mode is loaded down with trivial details, and has wasted a large amount of artificial time.
In a word, need the urgent technical matters that solves of those skilled in the art to be exactly: the spent manpower of installation that how can reduce driver.
Summary of the invention
Technical matters to be solved by this invention provides a kind of automatic backup method and device of driving, has the automatic backup function of driving, can break away from after the refitting system driving the dependence of CD, the worry of the system's rear drive loss of data of avoiding resetting; It is according to the automatic installation that Backup Data drives, and the whole erection process need not manual operation, can either remove the worry that new hand can not install driving from, can reduce the spent manpower of drive installation again.
In order to address the above problem, the invention discloses a kind of automatic backup method of driving, comprising:
At the hardware device in the operating system, after detecting respective drive program installation kit and installing, extract the corresponding driving data, and back up.
Preferably, described detection is for detecting at any time or regularly detecting.
Preferably, described extraction step comprises:
Obtain hardware device information;
According to hardware device information, obtain the corresponding apparatus message file;
By opening the facility information file, obtain the title of respective drive program file;
Under the system disk catalogue, obtain the corresponding driving program file according to name lookup;
Described backup-step is at hardware device, corresponding apparatus message file and driver file to be backed up.
Preferably, described extraction step is to extract the driving data except that operating system carries driving.
Preferably, described method also comprises:
At the hardware device in the operating system, whether detection regularly exists the renewal of respective drive, if then recommend the driving upgraded to the user.
Preferably, described method also comprises:
Select according to the user, the driving of described renewal is installed, and carry out the automated back-up of respective drive data according to the driving of described renewal.
Preferably, described backup-step comprises:
According to presetting backup path, described driving data is stored to local disk except that system disk, perhaps, server.
Preferably, described method also comprises:
Need to judge whether restore hardware to drive, if then from Backup Data, extract and hardware device corresponding driving data, and described driving data is installed to operating system.
Preferably, the described step that need to judge whether the restore hardware driving comprises:
Judge whether the system of having reset the interval time according to the last operation of current range ability of system's set-up time or system, if then judging needs restore hardware to drive.
Preferably, the described step that need to judge whether the restore hardware driving comprises:
By detecting in the decision operation system whether have unknown hardware, if then judging needs restore hardware to drive.
On the other hand, the invention also discloses a kind of automatic backup device of driving, comprising:
Extraction module is used for the hardware device at operating system, after detecting respective drive program installation kit and installing, extracts the corresponding driving data; And
Backup module is used for described driving data is backed up.
Preferably, described detection is for detecting at any time or regularly detecting.
Preferably, described extraction module comprises:
The apparatus information acquiring submodule is used to obtain hardware device information;
The facility information file obtains submodule, is used for obtaining the corresponding apparatus message file according to hardware device information;
The name acquiring submodule is used for obtaining the title of respective drive program file by opening the facility information file; And
Search submodule, be used under the system disk catalogue, obtaining the corresponding driving program file according to name lookup;
Described backup module specifically is used at hardware device corresponding apparatus message file and driver file being backed up.
Preferably, described extraction module specifically is used to extract the driving data except that operating system carries driving.
Preferably, described device also comprises:
Detection module is used for the hardware device at operating system, and whether detection regularly exists the renewal of respective drive;
Recommending module is used for when the renewal that has respective drive, recommends the driving of upgrading to the user.
Preferably, described device also comprises:
Installed module is used for selecting according to the user, and the driving of described renewal is installed;
Described backup module, the automated back-up of respective drive data is carried out in the driving that also is used for the described renewal of foundation.
Preferably, described backup module specifically is used for according to presetting backup path, and described driving data is stored to local disk except that system disk, perhaps, and server.
Preferably, described device also comprises:
Judge module is used to need to judge whether restore hardware to drive;
Extraction module is used for when the needs restore hardware drives, and extracts and hardware device corresponding driving data from Backup Data;
Installed module is used for described driving data is installed to operating system.
Preferably, described judge module comprises:
First judges submodule, is used for the interval time according to the last operation of current range ability of system's set-up time or system, judges whether the system of having reset, if then judging needs restore hardware to drive.
Preferably, described judge module comprises:
Second judges submodule, is used for whether having unknown hardware by detecting the decision operation system, if then judging needs restore hardware to drive.
Compared with prior art, the present invention has the following advantages:
In today that computer virus is wreaked havoc and incompatible phenomenon takes place software and hardware often, deadlock, system crash are the frequent experiences of computer user until the refitting system.And the present invention can be at the hardware device in the operating system, after detecting respective drive program installation kit and installing, automatically the corresponding driving data extract is backed up out; Thereby can break away from after the refitting system driving the dependence of CD, and, the worry of the system's rear drive loss of data of can avoiding resetting;
Like this, after computing machine refitting system, the present invention can carry out the automatic installation of hardware device drivers according to Backup Data; The Backup Data here can be the driving data that backs up at this machine before the refitting system, also can be at this machine with the configuration the driving data that computing machine backed up, therefore, many drive installations of disposing machine together are again unlike prior art, need innumerable driving CD, and only need the automatic installation that drives according to Backup Data, the whole erection process need not manual operation, can either remove new hand from the worry of driving can be installed, can reduce the spent manpower of drive installation again.
Description of drawings
Fig. 1 is the process flow diagram of the automatic backup method embodiment of a kind of driving of the present invention;
Fig. 2 is the structural drawing of the automatic backup device embodiment of a kind of driving of the present invention;
Fig. 3 is the process flow diagram of the automatic method of reducing embodiment of a kind of driving of the present invention;
Fig. 4 is the structural drawing of the automatic reduction apparatus embodiment of a kind of driving of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 1, show the process flow diagram of the automatic backup method embodiment of a kind of driving of the present invention, specifically can comprise:
Step 101, at the hardware device in the operating system, after detecting respective drive program installation kit and installing, extract the corresponding driving data;
Step 102, described driving data is backed up.
In practice, when script of every installation did not belong to hardware device in the computing machine, operating system all needed to install correct driving.The operating system here can be operating systems such as Windows, UNIX, LINUX, Netware, XENIX, and the embodiment of the invention is that example describes with Windows operating system only, and other operating system cross-reference gets final product.
Certainly, except using on computers, operating system of the present invention can also be applied on the equipment such as mobile phone, for example PalmOS, Symbian, Windows mobile, Linux and Android, iPhoneOS, blackberry, blueberry etc., the present invention only describes with the operating system example that is applied as on computers, and the application cross-reference on the miscellaneous equipment gets final product.
After in computing machine, Windows being installed, need driving CD one by one the complete driver of one cover such as mainboard, CD-ROM drive, video card, sound card is installed,, generally have the driver installation kit in the driving CD here.If you need external other hardware device, then also the corresponding driving program to be installed, for example, external game hardware need be installed the driver of handle, bearing circle, rocking bar, DDR etc., external printer need be installed printed driver, online will be installed the driver of network interface card, modulator-demodular unit, or the like.
In today that computer virus is wreaked havoc and incompatible phenomenon takes place software and hardware often, deadlock, system crash are the frequent experiences of computer user until the refitting system.And the embodiment of the invention can be at the hardware device in the operating system, after detecting respective drive program installation kit and installing, the corresponding driving data extract is backed up out; Thereby can break away from after the refitting system driving the dependence of CD, and, the worry of the system's rear drive loss of data of can avoiding resetting.
In a preferred embodiment of the present invention, described driver installation kit can drive for official, to guarantee the standardization and the popularization of backup rear drive data.Preferably, described detection can be for detecting at any time, and also, whether the detecting operation system has installed hardware device at any time; Whether described detection also can install hardware device for regular detecting operation system, here regularly can be by the user according to the concrete condition setting, as every other month, week about, every other day or the like, the present invention is not limited this.No matter be to detect at any time or regularly detect,, promptly extract and these hardware device corresponding driving data in case find the installation of hardware device.
Facility information file (INF, Device INFormation File), be that Microsoft issues a kind of file layout that its driver is released for hardware device manufacturer, the INF file illustrates the destination path of wanting installed device type, production firm, model, the file that will copy, copying to the literal of specific syntax, and will add the information in the registration table to.By reading and explain these literal, how Windows just knows install driver.
For example, it is required that equipment such as monitor, modulator-demodular unit and printer are installed, and all is by the INF file, and the contribution of INF file just makes Windows can find the driving and correct installation of these hardware devices just.
Therefore, in order to increase the convenience that the rear drive of refitting system is installed, in a preferred embodiment of the present invention, except driver file itself, also extract, backed up the INF file, also, the driving data of backup can comprise facility information file and driver file.At this moment, described step 101 specifically can comprise:
Substep A1, obtain hardware device information;
With the video card is example, needs to understand fully the information such as title, type of video card here.In practice, can learn by " control panel → system → option → equipment manager → display adapter ", also can when start, know in the screen prompt, perhaps directly open cabinet and video card is checked the present invention is not limited concrete obtain manner.
Substep A2, according to hardware device information, obtain the corresponding apparatus message file;
For example, in the display adapter picture that can select in the above, continue to click " attribute → driver → upgrading driver → updating apparatus driver wizard → next step → search than the driver better driving program of current device use → next step ".Can occur this moment " position of driver C: WINDOWS INF OTHER INTELC1.INF " etc. information, the facility information file of Here it is video card.The Name ﹠ Location that it should be noted that " INTELC 1.INF " facility information file wherein can change along with the difference of the used video card of individual, and its obtain manner also can change along with the difference of operating system, here just as example.
Substep A3, by opening the facility information file, obtain the title of respective drive program file;
Open the video card facility information file (* .inf) that obtains above, in its [SourceDisksFiles] bulleted list, can see the title of driver files such as " * .dll, * .vxd, * .drv, * .exe, * .ini ".
Substep A4, under the system disk catalogue, obtain the corresponding driving program file according to name lookup. under the system disk catalogue, described driver file is found out one by one by " searching " function.
Correspondingly, described backup-step is at hardware device, corresponding apparatus message file and driver file to be backed up.
As can be seen, may include the driver file of a plurality of video card models with respect to the installation kit that drives CD or download, the present invention only extract conform to this machine video card model, facility information file and the driver file that usefulness is installed backed up as driving data, also promptly, can reach backup purpose by less storage space.
Generally, operating system can carry driving, the driver that can have the hardware device (as sound card, video card, mainboard etc.) of main popular brand model in this drives, behind assembling system, hardware device information in the automatic analysis operation of the operating system meeting system selects suitable driving to install then.
At said circumstances, in a preferred embodiment of the present invention, for further reducing the storage space of desire backup driving data, described extraction step can comprise: extract the driving data except that operating system carries driving.Here, can at first detect identification and obtain the information that operating system carries the related hardware device of driving, then, when extracting, get rid of these hardware devices.
As for how getting rid of these hardware devices, the embodiment of the invention can provide following mode:
Mode one, based on the INF file name;
For example, can at first collect the current operation system version (as Windows 2000 on the backstage, Windows XP, Windows XP Media Center Edition, Windows XP Home Edition, Windows XP Professional, Windows XP Professional x64 Edition, WindowsServer 2003, Windows Server 2003 64-bit Edition, Windows Vista, WindowsVista Home Basic, Windows Vista Home Premium, Windows Vista Business, Windows Vista Ultimate, Windows Vista Enterprise, Windows Vista Starter or the like) carries the INF file name of driving, and be saved in the database with tabular form; Because the INF file has device type information (for example hardware device ID), like this, when automated back-up, if identical in current hardware device ID and the database then skipped the driving of current hardware device and backed up.
Mode two, based on hardware device ID;
At the not necessarily unique situation of INF file, mode two is directly collected the current operation system version and is carried the pairing hardware device ID of driving, and be saved in the database with tabular form with respect to mode one; Like this, when automated back-up,, specifically please refer to the explanation of mode one, do not give unnecessary details at this if can get rid of by database matching.
In another kind of preferred embodiment of the present invention, described backup-step specifically can comprise:
According to presetting backup path, described driving data is stored to local disk except that system disk, perhaps, server.
Suppose that the C dish is system disk, so, can preset backup path is: D: Drivers, the driving data of corresponding hardware device is stored to this to be preset under the backup path, wherein, the D dish here can be fixed disk, also can be the USB flash disk (USB flash drive of mobile storage, USB flash disk) or the like, the present invention is not limited this.
If select local disk to store described driving data, so, in the refitting system, can not select overall format, otherwise the driving data of backup will be lost all.For overcoming above-mentioned defective, the embodiment of the invention can also be stored in described driving data on the server, makes overall formative selection can not be subjected to the restriction of backup path.
In embodiments of the present invention, more preferably, described storing step can be according to the difference of hardware device, sectional lists storage corresponding driving data.For example, mainboard, CD-ROM drive, video card, sound card, printer etc. have storage directory separately respectively.
In embodiments of the present invention, more preferably, described backup-step can also comprise: before storage, with described driving data boil down to ZLib form.Here, ZLib is a kind of actual industrywide standard, and thousands of application programs directly or indirectly relies on ZLib compression letter formula storehouse.
Certainly, except the ZLib form, before storage, can also be with described other form of driving data boil down to, as the Zip form, perhaps, the boil down to self-extracting, or the like, the present invention is not limited this.
Even under the situation of compression, the speed of the automated back-up that the present invention drives also as nimble as a squirrel, for example, the automated back-up work of the driving of all hardware equipment such as mainboard, CD-ROM drive, video card, sound card, printer in the operating system, only need 30 seconds time, promptly, can not influence the normal use of user to computing machine yet.
In another preferred embodiment of the present invention, described method can also comprise:
At the hardware device in the operating system, whether detection regularly exists the renewal of respective drive, if then recommend the driving upgraded to the user.
This preferred embodiment regularly recommends to upgrade the driver of version by the Connection Service device.Wherein, here regularly can be by the user according to the concrete condition setting, as every other month, week about, every other day or the like; In addition, the form that the recommendation here can dialog box ejects, and the OptionButton that provides "Yes", "No" response to recommend.
More preferred, described method can also comprise: select according to the user, the driving of described renewal is installed, and carry out the automated back-up of respective drive data according to the driving of described renewal.
For example, if the user selects "Yes", then the expression response is recommended, be the driving data of the described renewal of user installation, and the driving data of described renewal is backed up, if the user selects "No", then do not do any operation, promptly keep the driving data of original backup yet.Because the automated back-up and the front of the driving data of the driving of described renewal are similar,, please get final product by cross-reference so do not give unnecessary details at this.
Corresponding with the automatic backup method of aforementioned driving, the invention also discloses a kind of automatic backup device of driving, with reference to Fig. 2, specifically can comprise:
Extraction module 201 is used for the hardware device at operating system, after detecting respective drive program installation kit and installing, extracts the corresponding driving data; And
Backup module 202 is used for described driving data is backed up.
In a preferred embodiment of the present invention, described extraction module 201 can specifically be used for after the installation that detects hardware device, extracts the corresponding driving data.Wherein, the detection here can be for detecting or regularly detecting at any time.
In embodiments of the present invention, preferably, described extraction module 201 can specifically be used to extract the driving data except that operating system carries driving.
In a preferred embodiment of the present invention, described driving data can comprise facility information file and driver file, and correspondingly, described extraction module specifically can comprise:
The apparatus information acquiring submodule is used to obtain hardware device information;
The facility information file obtains submodule, is used for obtaining the corresponding apparatus message file according to hardware device information;
The name acquiring submodule is used for obtaining the title of respective drive program file by opening the facility information file; And
Search submodule, be used under the system disk catalogue, obtaining the corresponding driving program file according to name lookup;
Described backup module 202 can specifically be used at hardware device, and corresponding apparatus message file and driver file are backed up.
In another kind of preferred embodiment of the present invention, described backup module 202 may further include:
Memory module is used for according to presetting backup path, and described driving data is stored to local disk except that system disk, perhaps, and server.
In embodiments of the present invention, preferably, described memory module can specifically be used for the difference according to hardware device, sectional lists storage corresponding driving data.
In embodiments of the present invention, more preferably, described backup module 202 can also comprise:
The compression submodule is used for before storage, with described driving data boil down to ZLib form.
In another preferred embodiment of the present invention, described device can also comprise:
Detection module is used for the hardware device at operating system, and whether detection regularly exists the renewal of respective drive;
Recommending module is used for when the renewal that has respective drive, recommends the driving of upgrading to the user;
More preferred, described device can also comprise:
Installed module is used for selecting according to the user, and the driving of described renewal is installed;
Correspondingly, described backup module 202, the automated back-up of respective drive data is carried out in the driving that also is used for the described renewal of foundation.
In another preferred embodiment of the present invention, described backup module 202 can also specifically be used for according to presetting backup path, and described driving data is stored to local disk except that system disk, perhaps, and server.
For the automatic backup device embodiment that drives, because it is similar substantially to the automatic backup method embodiment that drives, so description is fairly simple, relevant part gets final product referring to the part explanation of the automatic backup method embodiment that drives.
With reference to Fig. 3, show the process flow diagram of the automatic method of reducing embodiment of a kind of driving of the present invention, specifically can comprise:
Step 301, need to judge whether restore hardware to drive, if then execution in step 302;
Step 302, extraction and hardware device corresponding driving data from Backup Data;
Step 303, described driving data is installed to operating system.
After the embodiment of the invention can be applicable to computing machine refitting system, carry out the automatic installation of hardware device drivers according to Backup Data.Wherein, with reference to the automatic backup method embodiment that drives, the Backup Data here can be the driving data that backs up at this machine before the refitting system, also can be at this machine with the configuration the driving data that computing machine backed up, like this, many drive installations of disposing machine together are again unlike prior art, need innumerable driving CD, and only need the automatic installation that drives according to Backup Data, the whole erection process need not manual operation, can either remove new hand from the worry of driving can be installed, can reduce the spent manpower of installation of driver again.
In a preferred embodiment of the present invention, described driving data can comprise facility information file and driver file;
Described extraction step 302 can specifically comprise:
At first, from Backup Data, find and described unknown hardware device corresponding apparatus message file;
Since the INF file with the explanatory note of specific syntax want information such as installed device type, production firm, model, so, can be according to the hardware ID of described unknown hardware device, in Backup Data, mate and obtain the corresponding apparatus message file.
Secondly, according to described facility information file, obtain the title of respective drive program file, and then obtain the respective drive program file;
Since the INF file with the explanatory note of specific syntax the file that will copy, so, find the INF file after, can learn the title of respective drive program file, and then obtain the respective drive program file by search.
Correspondingly, described installation steps 302 can for, according to described facility information file, the respective drive program file is mounted to operating system.
Since the INF file with the explanatory note of specific syntax the destination path that copies to, and to add information in the registration table to; By reading and explain these literal, how Windows just knows install driver, and concrete related text explanation with reference to the automatic backup method embodiment that drives is not given unnecessary details at this.
Need to prove,,, then before installation, it need be decompressed as ZLib form, Zip form etc. if described facility information file or driver file are compressed format.
In a preferred embodiment of the present invention, can judge in the following way whether this machine needs restore hardware to drive:
Mode one, judge this machine system of whether having reset;
For example, in practice, can obtain system's set-up time,, therefore, need restore hardware to drive if system's set-up time in preset time section (as 24 hours), can be determined this machine system of having reset by cmd systeminfo order.
And for example,, can judge, if greater than a certain preset time (as 3 months), then judge this machine ghost system of having reset this interval time by the interval time of the last operation of the current range ability of system for the judgement of refitting ghost system.
As can be seen, above-mentioned 24 hours, 3 months preset time is example, and those skilled in the art can be provided with concrete numerical value according to actual conditions, and the present invention is not limited this.
Mode two, by detecting in the decision operation system whether have unknown hardware.
Except judging whether this machine resets the system, and the embodiment of the invention can also utilize some prior aries to come whether to have unknown hardware device in the detection computations machine,, then need to reduce the driving of this hardware device in case identify unknown hardware device.
In a word, the automatic installation that focuses on carrying out unknown hardware device drivers of the embodiment of the invention according to Backup Data, as for the detection of unknown hardware device with infer, the present invention does not limit.
In a preferred embodiment of the present invention, described extraction step 302 can for, preset the local disk or the server of backup path by traversal, extract and described unknown hardware device corresponding driving data.
For example, be local disk if preset backup path, then when the refitting system, can not select overall format, then, after the refitting system,, seek out the Backup Data that drives before the refitting system by traveling through local all disks; And for example, be server if preset backup path, then during system, can select overall format in refitting, then, after the refitting system,, the Backup Data of the driving of needs is downloaded to this locality by access server.
In another preferred embodiment of the present invention, described method can also comprise:
At the hardware device in the operating system, whether detection regularly exists the renewal of respective drive data, if then recommend the driving data upgraded to the user;
Select according to the user, the driving data of described renewal is installed.
After computing machine refitting system,, extracted and described unknown hardware device corresponding driving data though extraction step 302 presets the local disk or the server of backup path by traversal; But detect the renewal version of this driver this moment, then still can select according to the user, this is installed upgrades version, and abandon the version of original backup.For concrete recommendation, please refer to the related description of the automatic backup method embodiment of driving.
For the automatic method of reducing embodiment that drives, because it is reciprocal with the automatic backup method embodiment that drives, so description is fairly simple, relevant part gets final product referring to the part explanation of the automatic backup method embodiment that drives.
In addition, for the automatic method of reducing embodiment that drives, the automatic backup method embodiment by driving is stored owing to its employed driving data, so the two can merge use, does not give unnecessary details at this.
Corresponding with the automatic method of reducing of aforementioned driving, the invention also discloses a kind of automatic reduction apparatus of driving, with reference to Fig. 4, specifically can comprise:
Judge module 401 is used to need to judge whether restore hardware to drive;
Extraction module 402 is used for when the needs restore hardware drives, and extracts and hardware device corresponding driving data from Backup Data; And
Installed module 403 is used for described driving data is installed to operating system.
In a preferred embodiment of the present invention, described driving data can comprise facility information file and driver file;
Correspondingly, described extraction module 402 may further include:
Look for submodule, be used for finding and described unknown hardware device corresponding apparatus message file from Backup Data; And
Obtain submodule, be used for obtaining the title of respective drive program file, and then obtaining the respective drive program file according to described facility information file;
At this moment, described installed module 403 can specifically be used for according to described facility information file the respective drive program file being mounted to operating system.
The present invention can provide the following design proposal of judge module 401:
Scheme one,
Correspondingly, described judge module 401 can comprise:
First judges submodule, is used for the interval time according to the last operation of current range ability of system's set-up time or system, judges whether the system of having reset, if then judging needs restore hardware to drive.
Scheme two,
Correspondingly, described judge module 401 can comprise:
Second judges submodule, is used for whether having unknown hardware by detecting the decision operation system, if then judging needs restore hardware to drive.
In a preferred embodiment of the present invention, described extraction module 402 can specifically be used for presetting by traversal the local disk or the server of backup path, extracts and described unknown hardware device corresponding driving data.
In another preferred embodiment of the present invention, described device can also comprise:
Regularly detection module is used for the hardware device at operating system, and whether detection regularly exists the renewal of respective drive data;
Recommending module is used for when having the renewal of respective drive data, recommends the driving data of upgrading to the user; And
According to module, be used for selecting according to the user, the driving data of described renewal is installed.
For the automatic reduction apparatus embodiment that drives, because it is similar substantially to the automatic method of reducing embodiment that drives, so description is fairly simple, relevant part gets final product referring to the part explanation of the automatic method of reducing embodiment that drives.
In addition, for the automatic reduction apparatus embodiment that drives, the automatic backup method embodiment by driving is stored owing to its employed driving data, so the modular structure of the two can be integrated into a device, does not give unnecessary details at this.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
More than to the automatic backup method and the device of a kind of driving provided by the present invention, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (20)

1. the automatic backup method of a driving is characterized in that, comprising:
At the hardware device in the operating system, after detecting respective drive program installation kit and installing, extract the corresponding driving data, and back up.
2. the method for claim 1 is characterized in that, described detection is for detecting at any time or regularly detecting.
3. the method for claim 1 is characterized in that, described extraction step comprises:
Obtain hardware device information;
According to hardware device information, obtain the corresponding apparatus message file;
By opening the facility information file, obtain the title of respective drive program file;
Under the system disk catalogue, obtain the corresponding driving program file according to name lookup;
Described backup-step is at hardware device, corresponding apparatus message file and driver file to be backed up.
4. the method for claim 1 is characterized in that, described extraction step is to extract the driving data except that operating system carries driving.
5. the method for claim 1 is characterized in that, also comprises:
At the hardware device in the operating system, whether detection regularly exists the renewal of respective drive, if then recommend the driving upgraded to the user.
6. method as claimed in claim 5 is characterized in that, also comprises:
Select according to the user, the driving of described renewal is installed, and carry out the automated back-up of respective drive data according to the driving of described renewal.
7. the method for claim 1 is characterized in that, described backup-step comprises:
According to presetting backup path, described driving data is stored to local disk except that system disk, perhaps, server.
8. the method for claim 1 is characterized in that, also comprises:
Need to judge whether restore hardware to drive, if then from Backup Data, extract and hardware device corresponding driving data, and described driving data is installed to operating system.
9. method as claimed in claim 8 is characterized in that, the described step that need to judge whether the restore hardware driving comprises:
Judge whether the system of having reset the interval time according to the last operation of current range ability of system's set-up time or system, if then judging needs restore hardware to drive.
10. method as claimed in claim 8 is characterized in that, the described step that need to judge whether the restore hardware driving comprises:
By detecting in the decision operation system whether have unknown hardware, if then judging needs restore hardware to drive.
11. the automatic backup device of a driving is characterized in that, comprising:
Extraction module is used for the hardware device at operating system, after detecting respective drive program installation kit and installing, extracts the corresponding driving data; And
Backup module is used for described driving data is backed up.
12. device as claimed in claim 11 is characterized in that, described detection is for detecting at any time or regularly detecting.
13. device as claimed in claim 11 is characterized in that, described extraction module comprises:
The apparatus information acquiring submodule is used to obtain hardware device information;
The facility information file obtains submodule, is used for obtaining the corresponding apparatus message file according to hardware device information;
The name acquiring submodule is used for obtaining the title of respective drive program file by opening the facility information file; And
Search submodule, be used under the system disk catalogue, obtaining the corresponding driving program file according to name lookup;
Described backup module specifically is used at hardware device corresponding apparatus message file and driver file being backed up.
14. device as claimed in claim 11 is characterized in that, described extraction module specifically is used to extract the driving data except that operating system carries driving.
15. device as claimed in claim 11 is characterized in that, also comprises:
Detection module is used for the hardware device at operating system, and whether detection regularly exists the renewal of respective drive;
Recommending module is used for when the renewal that has respective drive, recommends the driving of upgrading to the user.
16. device as claimed in claim 15 is characterized in that, also comprises:
Installed module is used for selecting according to the user, and the driving of described renewal is installed;
Described backup module, the automated back-up of respective drive data is carried out in the driving that also is used for the described renewal of foundation.
17. device as claimed in claim 11 is characterized in that, described backup module specifically is used for according to presetting backup path, and described driving data is stored to local disk except that system disk, perhaps, and server.
18. device as claimed in claim 11 is characterized in that, also comprises:
Judge module is used to need to judge whether restore hardware to drive;
Extraction module is used for when the needs restore hardware drives, and extracts and hardware device corresponding driving data from Backup Data;
Installed module is used for described driving data is installed to operating system.
19. device as claimed in claim 18 is characterized in that, described judge module comprises:
First judges submodule, is used for the interval time according to the last operation of current range ability of system's set-up time or system, judges whether the system of having reset, if then judging needs restore hardware to drive.
20. device as claimed in claim 18 is characterized in that, described judge module comprises:
Second judges submodule, is used for whether having unknown hardware by detecting the decision operation system, if then judging needs restore hardware to drive.
CN 201110082490 2011-04-01 2011-04-01 Automatic backup method and device for driver Pending CN102147754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110082490 CN102147754A (en) 2011-04-01 2011-04-01 Automatic backup method and device for driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110082490 CN102147754A (en) 2011-04-01 2011-04-01 Automatic backup method and device for driver

Publications (1)

Publication Number Publication Date
CN102147754A true CN102147754A (en) 2011-08-10

Family

ID=44422027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110082490 Pending CN102147754A (en) 2011-04-01 2011-04-01 Automatic backup method and device for driver

Country Status (1)

Country Link
CN (1) CN102147754A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377696A (en) * 2011-10-24 2012-03-14 中山大学 Intelligent gateway and method for managing equipment driver in intelligent gateway
CN102984586A (en) * 2012-12-13 2013-03-20 海信集团有限公司 Management method and device for intelligent television applications
CN103064767A (en) * 2013-01-09 2013-04-24 北京奇虎科技有限公司 Driver backup method, driver backup device, driver restoring method and driver restoring device
CN103150234A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Backup method and device for driver
CN104881335A (en) * 2015-03-16 2015-09-02 广东欧珀移动通信有限公司 Backup application restoration method and terminal
CN105677513A (en) * 2016-01-04 2016-06-15 北京小米移动软件有限公司 Method and device for restoring backup data
CN105786652A (en) * 2013-01-09 2016-07-20 北京奇虎科技有限公司 Method and device for back-upping driving programs and method and device for recovering driving programs
CN106020915A (en) * 2016-06-12 2016-10-12 北京金山安全软件有限公司 driver installation method and device
CN103970559B (en) * 2013-02-05 2017-09-29 北京壹人壹本信息科技有限公司 A kind of equipment loading method and device based on android system
CN111857754A (en) * 2020-07-22 2020-10-30 深圳忆联信息系统有限公司 Universal Windows driver deployment method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770088A (en) * 2004-11-02 2006-05-10 惠普开发有限公司 Incremental backup operations in storage networks
US20070046972A1 (en) * 2005-08-31 2007-03-01 Canon Kabushiki Kaisha Image processing apparatus, information processing apparatus and control method
CN101777014A (en) * 2010-02-03 2010-07-14 华为终端有限公司 Backup processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770088A (en) * 2004-11-02 2006-05-10 惠普开发有限公司 Incremental backup operations in storage networks
US20070046972A1 (en) * 2005-08-31 2007-03-01 Canon Kabushiki Kaisha Image processing apparatus, information processing apparatus and control method
CN101777014A (en) * 2010-02-03 2010-07-14 华为终端有限公司 Backup processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《华南金融电脑》 20040810 李彬 浅谈驱动程序备份 第75页 3,13 , 第8期 *
《大众硬件》 20031231 spiceboy 好用的驱动精灵 第118页-第119页 1-20 , 第1期 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377696A (en) * 2011-10-24 2012-03-14 中山大学 Intelligent gateway and method for managing equipment driver in intelligent gateway
CN102984586A (en) * 2012-12-13 2013-03-20 海信集团有限公司 Management method and device for intelligent television applications
CN105786652A (en) * 2013-01-09 2016-07-20 北京奇虎科技有限公司 Method and device for back-upping driving programs and method and device for recovering driving programs
CN103064767A (en) * 2013-01-09 2013-04-24 北京奇虎科技有限公司 Driver backup method, driver backup device, driver restoring method and driver restoring device
CN105786652B (en) * 2013-01-09 2019-07-30 北京奇虎科技有限公司 The method and device of driving backup, recovery
CN103064767B (en) * 2013-01-09 2016-03-23 北京奇虎科技有限公司 Drive backup, the method recovered and device
CN103970559B (en) * 2013-02-05 2017-09-29 北京壹人壹本信息科技有限公司 A kind of equipment loading method and device based on android system
CN103150234B (en) * 2013-03-20 2016-04-13 北京奇虎科技有限公司 The backup method of driver and device
CN103150234A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Backup method and device for driver
CN104881335A (en) * 2015-03-16 2015-09-02 广东欧珀移动通信有限公司 Backup application restoration method and terminal
CN104881335B (en) * 2015-03-16 2019-06-18 Oppo广东移动通信有限公司 A kind of back-up application restoring method and terminal
CN105677513A (en) * 2016-01-04 2016-06-15 北京小米移动软件有限公司 Method and device for restoring backup data
CN106020915A (en) * 2016-06-12 2016-10-12 北京金山安全软件有限公司 driver installation method and device
CN106020915B (en) * 2016-06-12 2020-06-26 北京金山安全软件有限公司 Driver installation method and device
CN111857754A (en) * 2020-07-22 2020-10-30 深圳忆联信息系统有限公司 Universal Windows driver deployment method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102147754A (en) Automatic backup method and device for driver
US9772838B2 (en) Firmware update discovery and distribution
CN101241438B (en) Method and apparatus for changing software components in an information handling system
US9235404B2 (en) Firmware update system
US8621452B2 (en) Device driver rollback
CN101583941B (en) Dynamic pre-operating system billboard service
CN1323353C (en) Information processor, control method and storage medium for said information processor
CN100498704C (en) Persistent memory manipulation using EFI
CN100426235C (en) System and method for representing user process to software package in software package management system
US6859925B2 (en) Method for software installation and pre-setup
CN102567128B (en) System reset
CN110231949A (en) System upgrading method and device, electronic equipment and storage medium
CN107870769B (en) Installation method and device of operating system
US20050223374A1 (en) Server side configuration management
CN101616018A (en) The method of upgrading network management software and device
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN101398762A (en) Method and device for automatic installing operating system on computer
JP2002236590A (en) Installing method for software
CN102609290B (en) The method for upgrading software of electronic product
CN103365682A (en) Information handling device and information handling method
CN103731733A (en) Version upgrading method and electronic device
CN104063256A (en) Partition and firmware upgrading method based on minimum operating system
CN104598237B (en) A kind of method and apparatus that user interface is generated under upgrade mode
CN102937902A (en) Method and device for installing driver
EP2648092B1 (en) Updating method and multi-domain embedded 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20110810

RJ01 Rejection of invention patent application after publication