CN101599033A - Method for restoring system backup and device - Google Patents
Method for restoring system backup and device Download PDFInfo
- Publication number
- CN101599033A CN101599033A CNA2009100889838A CN200910088983A CN101599033A CN 101599033 A CN101599033 A CN 101599033A CN A2009100889838 A CNA2009100889838 A CN A2009100889838A CN 200910088983 A CN200910088983 A CN 200910088983A CN 101599033 A CN101599033 A CN 101599033A
- Authority
- CN
- China
- Prior art keywords
- machine
- file
- image file
- usb
- serial bus
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
Abstract
The embodiment of the invention relates to a kind of method for restoring system backup and device, and wherein device comprises: USB (universal serial bus), the control module that is connected with USB interface, the memory module that is connected with control module; When this machine moved, control module control USB interface was obtained the system file or the backup file of this machine from this machine, and system file or backup file are stored in the memory module with image file; And after this machine restarted, control module control USB interface was obtained image file from memory module, and sends image file to this machine by USB interface, makes this machine according to the automatic restoring operation of image file system.Method for restoring system backup that the embodiment of the invention provides and device have realized reducing easily its operating system under the prerequisite of the storage space that does not take current machine, make the operation of restoring system have more hommization.
Description
Technical field
The present invention relates to field of computer technology, especially a kind of method for restoring system backup and device.
Background technology
Along with fast development of computer technology, the use of computing machine is also more and more universal, if operation system of computer generation operating system mistake or operating system collapse, the layman is because the restriction of technical know-how can't be carried out the backup-and-restore operation to computing machine by system's CD.In addition, existing operating system has taken a large amount of disk spaces in the computing machine, for the limited portable computer of disk storage space, need reserve a large amount of disk storage spaces for the storage operating system file, has increased the hardware cost of computing machine.
In the prior art, operating system can be reduced by a key restoring function, and it is simple to operate, but by a key method of reducing operation system of computer being reduced can only be with the virgin state of operating system recovery when computing machine dispatches from the factory, cause a large amount of useful loss of data of having preserved in the computing machine, cause the wasting of resources; And this key restoring operation is easy to also cause that the file of non-system disk loses, and has therefore brought great inconvenience to the user.In addition, also there is the system reducing software that personal computer can be carried out system reducing in the prior art, but carries out system's installation procedure complexity, very inconvenience for the layman by software.
Summary of the invention
The object of the present invention is to provide a kind of method for restoring system backup and device, be implemented in and reduce its operating system under the prerequisite of the storage space that does not take computing machine easily, make the operation of restoring system have more hommization.
The invention provides a kind of restoring system backup device, comprising: USB (universal serial bus), the control module that is connected with described USB (universal serial bus), the memory module that is connected with described control module; Wherein,
When this machine moved, described control module was controlled described USB (universal serial bus) and is obtained the system file or the backup file of described machine from described machine, and described system file or backup file are stored in the described memory module with image file; And,
After described machine restarts, described control module is controlled described USB (universal serial bus) and obtain described image file from described memory module, and send described image file to described machine by described USB (universal serial bus), make described machine according to the automatic restoring operation of described image file system.
Said system backup and reduction device, when this machine moves, by USB (universal serial bus) (Universal Serial Bus, be called for short: USB) interface obtains the image file of the data file that this machine moving, thereby the file of realizing operating system that this machine is being moved backs up; When this machine restarts, can make this machine get access to the image file that memory module has been stored by USB interface, and this machine of making is according to the automatic restoring operation of this image file system, state when the system reducing of this machine of making moves to last this machine, thereby realized under the prerequisite of the storage space that does not take current machine, reducing easily the operating system of this this machine, made the restoring operation system have more hommization.
The present invention also provides a kind of method for restoring system backup, comprising:
When this machine moves, obtain the image file of the data file that described machine moving by USB (universal serial bus);
After described machine restarts, send described image file to described machine by described USB (universal serial bus), make described machine according to the automatic restoring operation of described image file system.
The method for restoring system backup that the invention described above provides when this machine moves, obtains the image file of the data file that this machine moving by USB interface, thereby the file of realizing operating system that this machine is being moved backs up; When this machine restarts, can make this machine obtain the image file that has stored by USB interface, and this machine of making is according to the automatic restoring operation of this image file system, state when the system reducing of this machine of making moves to last this machine, thereby realized under the prerequisite of the storage space that does not take current machine, reducing easily the operating system of this this machine, made the restoring operation system have more hommization.
Description of drawings
Fig. 1 is the application synoptic diagram of the scene that the embodiment of the invention was suitable for;
Fig. 2 is the structural representation of an embodiment of restoring system backup device provided by the invention;
Fig. 3 is the structural representation of another embodiment of restoring system backup device provided by the invention;
Fig. 4 is the schematic flow sheet of an embodiment of method for restoring system backup provided by the invention;
Fig. 5 is the schematic flow sheet of another embodiment of method for restoring system backup provided by the invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 1 is the application synoptic diagram of the scene that the embodiment of the invention was suitable for, and as shown in Figure 1, comprises card of surfing Internet 11 and net book 12, and the user can back up by the operating system of 11 pairs of net books 12 of card of surfing Internet and reduce.In the present embodiment, net book 12 is not provided with CD-ROM drive, therefore cannot reset to the operating system of net book 12 by the CD-ROM drive of net book 12, when net book 12 normal operations, card of surfing Internet 11 can obtain the image file of the operating system of net book 12, when net book operation 12 next time, perhaps when the operating system of net book 12 need be reinstalled when using next time, the user can carry out system reducing to net book 12 by the image file that card of surfing Internet 11 time obtains in last subnormal operation, thereby makes the operating system of net book 12 can return to the last state that uses.
Fig. 2 is the structural representation of an embodiment of restoring system backup device provided by the invention, and as shown in Figure 2, present embodiment comprises: USB interface 21, the control module 22 that is connected with USB interface 21, the memory module 23 that is connected with control module 22.
When this machine moved, control module 22 control USB interface 21 were obtained the system file or the backup file of this machine from this machine, and wherein system file or backup file are stored in the memory module 23 with image file; After this machine restarted, control module 22 control USB interface were obtained image file from memory module 23, and send image file to this machine by USB interface, make this machine according to the automatic restoring operation of image file system.
The restoring system backup device that the embodiment of the invention provides when this machine moves, obtains the image file of the data file that this machine moving by USB interface 21, thereby the file of realizing operating system that this machine is being moved backs up; When this machine restarts, can make this machine get access to the image file that memory module 23 has been stored by USB interface 21, and this machine of making is according to the automatic restoring operation of this image file system, state when the system reducing of this machine of making moves to last this machine, thereby realized under the prerequisite of the storage space that does not take current machine, reducing easily the operating system of this this machine, made the restoring operation system have more hommization.
Fig. 3 is the structural representation of another embodiment of restoring system backup device provided by the invention, and as shown in Figure 3, present embodiment comprises: USB interface 31, the control module 32 that is connected with USB interface 31, the memory module 33 that is connected with control module 32.
When this machine moved, control module 32 control USB interface were obtained the system file or the backup file of this machine from this machine, and wherein system file or backup file are stored in the memory module 33 with image file; After this machine restarted, control module 32 control USB interface were obtained image file from memory module 33, and send image file to this machine by USB interface, make this machine according to the automatic restoring operation of image file system.
Further, control module 32 can also comprise storage unit 321 and conversion unit of protocol 322, the device descriptor of the restoring system backup device that the storage present embodiment provides, this machine can identify the restoring system backup device that present embodiment provides according to device descriptor; Conversion unit of protocol 322 is carried out Data Format Transform according to the device descriptor of storage unit 321 storages to image file.
Further, memory module 33 can also comprise: first storage unit 331, second storage unit 332, the 3rd storage unit 333.First storage unit, 331 memory image files, second storage unit 332 stores the startup-program code that can make the native call image file, and the 3rd storage unit 333 is stored the identify label number of binding mutually with the MAC Address of this machine.
The restoring system backup device that the embodiment of the invention provides when this machine moves, obtains the image file of the data file that this machine moving by USB interface 31, thereby the data file that realizes operating system that this machine is being moved backs up; When this machine restarts, by calling the startup-program code of second storage unit, 332 storages, this machine of making gets access to the image file that first storage unit 331 has been stored by USB interface 31, and this machine of making is according to the automatic restoring operation of this image file system, state when the system reducing of this machine of making moves to last this machine, thereby realized under the prerequisite of the storage space that does not take current machine, reducing easily the operating system of this this machine, made the restoring operation system have more hommization.
Further, in above-mentioned Fig. 2 or embodiment shown in Figure 3, can when dispatching from the factory, back up by the system file to this machine by this machine, perhaps backup in advance; Selectively, this machine user also can enter the operating system of this machine or use that the system file to this machine backs up for the first time under the situation of device start when for the first time using this machine, this machine still can make the operating system reduction of this machine to original state by the system file of first backup when making the operating system of this machine enter state of paralysis.When the user can't enter the operating system of this machine, can or use in the operating system of this machine of entering and obtain backup file under the device start or image file is realized this machine is reduced.
Selectively, as seen reach storage backup file or image file such as concealed space in the restoring system backup device in storage space under also can be in the different subregions under the same storage hard disk of this machine or this machine different storage hard disks in any one subregion or the movable storage device (for example: extraneous hard disk, MO dish, ZIP dish) or the present embodiment.
Further, in above-mentioned Fig. 2 or embodiment shown in Figure 3, this machine can be specially net book, and control module is specifically as follows the control chip of USB interface, and memory module is specifically as follows a flash memory (FLASH); Wherein, control module realize to Fig. 2 or embodiment illustrated in fig. 3 in restoring system backup device and this machine between the usb data of the data that communicate change, make the data of communication can satisfy USB handshake communication protocol specification.When Fig. 2 or embodiment illustrated in fig. 3 in the restoring system backup device with after net book is connected by USB interface, net book is at first discerned the device descriptor of memory module storage by control chip, and resolve this device descriptor, thereby judge the type of USB interface, and the data layout of image file is changed according to the type of USB interface.
Fig. 4 is the schematic flow sheet of an embodiment of method for restoring system backup provided by the invention, and as shown in Figure 4, present embodiment comprises the steps:
The method for restoring system backup that the embodiment of the invention provides when this machine moves, obtains the image file of the data file that this machine moving by USB interface, thereby the file of realizing operating system that this machine is being moved backs up; When this machine restarts, can make this machine obtain the image file that has stored by USB interface, and this machine of making is according to the automatic restoring operation of this image file system, state when the system reducing of this machine of making moves to last this machine, thereby realized under the prerequisite of the storage space that does not take current machine, reducing easily the operating system of this this machine, made the restoring operation system have more hommization.
Fig. 5 is the schematic flow sheet of another embodiment of method for restoring system backup provided by the invention, and as shown in Figure 5, present embodiment comprises the steps:
Producer can back up system file when this machine dispatches from the factory, in the perhaps pre-backup; Or the final user when using for the first time in this machine of entering system or use under the situation of device start this machine file system or vital document are backed up for the first time.
When the operating system of this machine can't enter, the user was in the operating system of this machine of entering or use under the device start and obtain backup file or image file, thereby the operating system of this machine is reduced.
The method for restoring system backup that the embodiment of the invention provides, by " backup for the first time; reduction for the second time ", make the user can be in last process of once operating this machine, the operating system of this machine is carried out the operating system backup, when this machine of next operation, if need reinstall to the operating system of this machine, but need this machine when last once backup file, then can make the operating system of this machine can return to last state, thereby this machine of making still can access the data in the last operating system, has avoided because the loss of data that system reducing causes.
On above-mentioned basis embodiment illustrated in fig. 5, also comprise: when this machine moves, MAC Address is sent to this machine by USB interface, make this machine obtain the identify label number of binding mutually with MAC Address according to MAC Address.
This machine obtains the identify label number of binding mutually with MAC Address by the Internet, the MAC Address of this identify label number and this machine is bound, after the MAC Address and identify label number binding of this machine, this machine has strengthened the security of user's operation by the identify label number being carried out the backup of operating system, the operation of reduction.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (8)
1, a kind of restoring system backup device comprises: USB (universal serial bus), the control module that is connected with described USB (universal serial bus), the memory module that is connected with described control module; It is characterized in that,
When this machine moved, described control module was controlled described USB (universal serial bus) and is obtained the system file or the backup file of described machine from described machine, and described system file or backup file are stored in the described memory module with image file; And,
After described machine restarts, described control module is controlled described USB (universal serial bus) and obtain described image file from described memory module, and send described image file to described machine by described USB (universal serial bus), make described machine according to the automatic restoring operation of described image file system.
2, device according to claim 1 is characterized in that, described control module comprises:
Storage unit is used for the memory device descriptor, makes described machine discern described restoring system backup device according to described device descriptor;
Conversion unit of protocol is used for according to described memory device descriptor described image file being carried out Data Format Transform.
3, device according to claim 1 and 2 is characterized in that, described memory module also comprises:
First storage unit is used to store described image file;
Second storage unit is used to store the startup-program code that makes the described image file of described native call.
4, device according to claim 3 is characterized in that, described memory module also comprises:
The 3rd storage unit is used to store the identify label number of binding mutually with the medium access control address of described machine.
5, a kind of method for restoring system backup is characterized in that, comprising:
When this machine moves, obtain the image file of the data file that described machine moving by USB (universal serial bus);
After described machine restarts, send described image file to described machine by described USB (universal serial bus), make described machine according to the automatic restoring operation of described image file system.
6, method according to claim 5 is characterized in that, the described image file that obtains the data file that described machine moving by USB (universal serial bus) comprises:
Obtain the file layout of described the system disk in the machine by USB (universal serial bus);
From the sector of described system disk, obtain system file or backup file according to described file layout;
Described system file or backup file are stored with the form of image file.
7, method according to claim 5 is characterized in that, describedly sends described image file to described machine by described USB (universal serial bus), and described machine comprised according to the automatic restoring operation of described image file system:
Obtain the file layout of described the system disk in the machine by USB (universal serial bus);
According to described file layout from described image file being arranged on the sector of described system disk;
The described image file of decompress(ion) makes described machine according to the automatic restoring operation of described decompressing files system.
8, according to the arbitrary described method of claim 5~7, it is characterized in that, also comprise:
When described machine moving, the medium access control address is sent to described machine by described USB (universal serial bus), make described machine obtain the identify label number of binding mutually with described medium access control address according to described medium access control address.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100889838A CN101599033A (en) | 2009-07-15 | 2009-07-15 | Method for restoring system backup and device |
PCT/CN2009/073269 WO2011006309A1 (en) | 2009-07-15 | 2009-08-14 | Method and device for restoring system backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100889838A CN101599033A (en) | 2009-07-15 | 2009-07-15 | Method for restoring system backup and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101599033A true CN101599033A (en) | 2009-12-09 |
Family
ID=41420487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009100889838A Pending CN101599033A (en) | 2009-07-15 | 2009-07-15 | Method for restoring system backup and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101599033A (en) |
WO (1) | WO2011006309A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914309A (en) * | 2012-12-29 | 2014-07-09 | 中国航空工业集团公司第六三一研究所 | Method for setting IP (Internet Protocol) and MAC (Media Access Control) addresses based on embedded system platform |
CN107368315A (en) * | 2017-07-20 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of startup method and device of double hard disk dual systems |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1261893C (en) * | 2003-01-14 | 2006-06-28 | 联想(北京)有限公司 | Method of renewing operating system of embedded equipment |
CN1313941C (en) * | 2004-03-10 | 2007-05-02 | 台均科技(深圳)有限公司 | Method for data exchange between data handling equipment and operating system |
CN100454264C (en) * | 2006-01-26 | 2009-01-21 | 章平顺 | Automatic backup and recovery device for computer system and implementation method method thereof |
-
2009
- 2009-07-15 CN CNA2009100889838A patent/CN101599033A/en active Pending
- 2009-08-14 WO PCT/CN2009/073269 patent/WO2011006309A1/en active Application Filing
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914309A (en) * | 2012-12-29 | 2014-07-09 | 中国航空工业集团公司第六三一研究所 | Method for setting IP (Internet Protocol) and MAC (Media Access Control) addresses based on embedded system platform |
CN107368315A (en) * | 2017-07-20 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of startup method and device of double hard disk dual systems |
Also Published As
Publication number | Publication date |
---|---|
WO2011006309A1 (en) | 2011-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567136A (en) | Backup and recovery method of computer system, device and computer system | |
WO2013170561A1 (en) | Container-based processing method, device and system | |
CN104915268A (en) | Desktop layout storage and recovery method and device thereof, terminal equipment and system | |
CN105874428B (en) | Technology for the operating system transformation in multiple operating system environments | |
CN104407933A (en) | Data backup method and device | |
CN102821140A (en) | Information sharing method and information sharing terminal | |
CN101650660A (en) | Booting a computer system from central storage | |
US20150135141A1 (en) | Method and apparatus for creating a control interface of a peripheral device | |
EP2738712B1 (en) | Embedded multimedia card partitioned storage space adjustment method and terminal | |
CN102662796B (en) | Method and system for recovering data | |
CN104035842A (en) | Method for deleting and recovering built-in application program | |
CN104461773A (en) | Backup deduplication method of virtual machine | |
CN102419753B (en) | Information processing equipment, information processing method and information processing system | |
CN110704161A (en) | Virtual machine creation method and device and computer equipment | |
CN111984557A (en) | Data processing method, device and system | |
CN103019833A (en) | Terminal equipment and method for enabling same to support quick switching of operating systems | |
CN102377688A (en) | File transmission method and equipment | |
CN107391120A (en) | One kind starts control method, electronic equipment and computer-readable recording medium | |
CN103037076A (en) | State backup reduction method and device of mobile terminal | |
CN104808953B (en) | Control the method, device and mobile terminal of data storage | |
CN103530144A (en) | Method for generating virtual machine images from legacy system | |
CN101599033A (en) | Method for restoring system backup and device | |
CN105607901A (en) | System memory optimization method and apparatus as well as terminal device | |
US10007529B2 (en) | Data terminal running mode switching method, device, and data terminal | |
CN112269772A (en) | File deployment method, system, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20091209 |