CN1845072A - Portable apparatus and automatic backup method thereof - Google Patents

Portable apparatus and automatic backup method thereof Download PDF

Info

Publication number
CN1845072A
CN1845072A CN 200510065128 CN200510065128A CN1845072A CN 1845072 A CN1845072 A CN 1845072A CN 200510065128 CN200510065128 CN 200510065128 CN 200510065128 A CN200510065128 A CN 200510065128A CN 1845072 A CN1845072 A CN 1845072A
Authority
CN
China
Prior art keywords
storage element
computing machine
program
data
portable set
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 200510065128
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.)
Synology Inc
Original Assignee
Synology Inc
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 Synology Inc filed Critical Synology Inc
Priority to CN 200510065128 priority Critical patent/CN1845072A/en
Publication of CN1845072A publication Critical patent/CN1845072A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a portable device and relative automatic backup method, which can solve the problem of present external storage device that operated by hand when back-upping data. The inventive portable device comprises a control unit, a program storage unit, and a data storage unit. Wherein, said program storage unit provides a program for mounting said portable device automatically on the computer and back-upping computer data; the data storage unit can store the computer data; the communication transmission between the program storage unit, the data storage unit to the computer are independently controlled by the control unit; therefore, when said portable device is connected to the computer, the computer via the switch automatic executer function, can automatically mounting driving program on the portable device, and automatically back-upping the data of computer into data storage unit; when the user connects the portable device to the computer, the following program installment and data back-up can be automatically completed.

Description

Portable set and automatic backup method thereof
Technical field
The present invention relates to a kind of portable set and automatic backup method thereof, relate in particular to a kind of have the circumscribed peripheral unit of memory function and the method for automatically backup data thereof.
Background technology
For computer system, when a new peripheral unit is connected to computing machine and uses for the first time, operation system of computer need be installed corresponding driver for this new peripheral unit, a kind of program that driver is made up of several groups of instructions is mainly used to indicate operating system how to operate this drive unit.If operating system can be discerned this new peripheral unit and corresponding driver also can be provided relatively, then can carry out the installation of driver to this peripheral device by operating system.But operating system is not all to discern each new peripheral unit, under this situation normally with manual mode with peripheral unit subsidiary provide the CD that is loaded with driver or floppy disk to bring to carry out driver install.
And along with the universalness of present computing machine, the storing technology of numerical data replaces the mode of tradition with paper records already, and numerical data has many characteristics easily, as can edit fast, forever preserve, memory capacity is big ... wait many characteristics.Particularly after the appearance of portable set, as the USB hard disk, the storage of data expands to especially fast can follow the user to move storage.And with the driver mounting means of portable set, if be still by the mode install driver of tradition with CD or floppy disk, the user relatively also needs to carry CD or floppy disk, just be able at another computing machine the smooth install driver of portable set, but carry the result of CD or floppy disk more, cause user's the burden of carrying relatively.
And in the field engineering at the driver of portable set, as U.S. Pat 6,754, No. 725, existing announcement allows the USB peripheral unit can have the mechanism of automatic install driver.With U.S. Pat 6,754, No. 725, in peripheral unit, be provided with driver, and after peripheral unit is connected in computing machine, link up transmission with the USB communications protocol between computing machine and the peripheral unit, and allowed this peripheral device of computer Recognition and represent with high capacity storage device (MASS STORAGEDEVICE), and computing machine is installed the required driver of peripheral unit, can obtain from peripheral unit itself, and the driver that ought finish peripheral unit is smoothly installed, and computing machine just can be operated this peripheral device.
On the other hand, for the backup of computer data, the storage that utilizes USB device (as the USB hard disk) to be used as backup scenario the inside is a well selection, because present computing machine is mostly supported USB interface, and USB device plug and play, portable high.But, existing Backup Data is in the mode of USB hard disk, still need to want backed up data to be stored into the USB hard disk in the computing machine with manual mode, as with U.S. Pat 6,754, the mode that is provided for No. 725 only can only provide the feature operation of automatic install driver, still can't accomplish the function of integrating automatically backup data simultaneously fully.The convenience of USB also has the problem of extending out in addition, a period of time occurring on the market as the USB hard-disk cartridge, also has the people that it is brought the device of being used as backup, can bring into play the backup effect so really.But just in case because of carelessness the USB hard disk has been lost, the data that the inside stores are easy to be read by other people, and the obviously existing stored data security of USB hard disk still has to be hoisted.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of portable set and automatic backup method thereof, when allowing portable set connect the computing machine use, and install driver and automatic data backup automatically to computing machine.
In order to solve the problems of the technologies described above, according to a kind of scheme of the present invention, a kind of automatic backup method of portable set is provided, with the data automated back-up in the computing machine in this portable set, comprise: (a) portable set provides a program storage element and a data storage element, wherein the program storage unit stores has for portable set being installed in the required program of computing machine, reaches data storage element and is used for for the computer stored data; (b) when portable set is connected to computing machine, receive an interrogating signal of sending from computing machine; (c) responsive computer has program storage element and data storage element with the indication portable set; (d) when computing machine can be carried out automatic executing function, the program that automatically performs in the start-up routine storage element; (e) a driver in this program storage element is installed in computing machine, and is made the computing machine can be by driver Identification Data storage element; (f) stand-by program in the start-up routine storage element, wherein stand-by program is set with the Backup Data that data will back up in the computing machine and comes the source position; And (g) Backup Data is come the stored data in source position backup to data storage element.
In order to solve the problems of the technologies described above, according to another kind of scheme of the present invention, provide a kind of portable set, comprising: in order to an interface circuit that is connected with a computing machine; One data storage element; One program storage element, it includes one and automatically performs program, a driver and a stand-by program, and the program that automatically performs can be for automatically performing in this computing machine, driver can be installed with the identification portable set for computing machine, but in the data to data storage element of stand-by program incense part computing machine; And a communication transmission between control module control data storage element and the interface unit, and the transmission of the communication between program storage element and the interface unit; Therefore when interface circuit connects this computing machine, the interrogating signal that the control module receiving computer is sent, and response signal has program storage element and data storage element with the indication portable set for computing machine, so that computing machine is carried out the program that automatically performs, automatically driver is installed in after the computing machine, in the data to data storage element by stand-by program automated back-up computing machine.
Adopt portable set of the present invention and automatic backup method thereof.By being provided with in portable set can be a program storage element of an empty storage device for computer identification, and can be for the data storage element of data storing, and in the program storage element, store the program of driver and Backup Data, and can allow portable set be connected in computing machine the time, via the communications protocol between portable set and the computing machine, automatically finish portable set and install at the driver of computing machine, and automatically with the data storage element of computer data backup to portable set.
Description of drawings
Fig. 1 is the system architecture diagram of preferred embodiment of the present invention.
Fig. 2 is the synoptic diagram of program storage element of the present invention.
Fig. 3 A-Fig. 3 B is an operational flowchart of the present invention.
Fig. 4 is the operational flowchart of data protection of the present invention.
Fig. 5 is the operational flowchart of data backup of the present invention.
Wherein, description of reference numerals is as follows:
10 portable sets, 11 control modules
12 program storage elements, 13 data storage elements
14 interface circuits, 20 computing machines
21 USB converting units, 22 host operating systems
Embodiment
Reach technology, means and the effect that predetermined purpose is taked in order further to understand the present invention, see also following about detailed description of the present invention and accompanying drawing.Believe purpose of the present invention, feature and characteristics, go deep into and concrete understanding when getting one thus, yet accompanying drawing only provides reference and explanation usefulness, is not to be used for the present invention is limited.
See also the system architecture diagram of Fig. 1 for preferred embodiment of the present invention.Present embodiment provides a kind of portable set 10, and it can be a data memory device for being connected with computing machine 20 and treating as.Portable set 10 has a program storage element 12, and this program storage element 12 stores to carry out when supplying portable set 10 to be connected in computing machine 20 installs required relative program.As shown in Figure 2, program storage element 12 stores the program of automatically performing, driver, stand-by program and data protection program, and these programs are made up of instruction or program code.In the present embodiment, program storage element 12 provides computing machine 20 to make the storage medium of data read/write actions with nonvolatile memory (as flash memory, electric erasable type storer), and in computing machine 20, the nonvolatile memory identification become an empty storage device (dummy storagedevice), therefore when portable set 10 is connected in computing machine 20, the host operating system 22 of computing machine 20 is come this some of alternative program storage element 12 with empty storage device, and can allow the stored content of 20 fetch program of computing machine storage element 12.
Portable set 10 comprises a data storage element 13 in addition, be mainly used to use for computing machine 20 storage datas, the data storage element 13 of present embodiment is a peripheral storage devices, as external connected hand disk (External hard disk), but also can be other storage medium with identical effect.And aforementioned program storage element 12 stored drivers promptly are used for installing and using for peripheral unit.11 of control modules in the portable set 10 are the communication transmission between control program storage element 12, data storage element 13 and the interface circuit 14, and control module 11 can be microprocessor, microcontroller, digital signal processor (DSP), Application Specific Integrated Circuit IC (ASIC) or Programmable Logic Device (PLD, CPLD, FPGA etc.).The interface circuit 14 that portable set 10 uses is the transmission standard of USB interface, and can plug and play (Plug ﹠amp for portable set 10; Play).
Consult Fig. 1 again, therefore when portable set 10 is connected in computing machine 20, interface circuit 14 transmits information with USB converting unit 21 by winding displacement and according to the USB communications protocol, make host operating system 22 can with portable set 10 via certain communication program, set up communication annexation each other, and further at the driver of computing machine 10 inner installation portable sets 10, and the program storage element 12 of present embodiment can provide driver to install automatically to computing machine.
Please consult figure A3 and Fig. 3 B simultaneously, it is an operational flowchart of the present invention.But the portable set 10 automated back-up computer datas that present embodiment provides are at the data storage element 13 of portable set 10 inside, and its mode of operation is: at first portable set 10 is connected in computing machine 20 (S301).And when the host operating system 22 of computing machine 20 detects a new peripheral unit and is connected to computing machine, and according to employed USB host-host protocol, host operating system 22 is sent an interrogating signal and is given portable set 10, has those operating function (S303) to learn portable set 10.
And when portable set 10 receives the interrogating signal that computing machine 20 sends, portable set 10 can active response signal be informed computing machine 20, and it has the function (S305) of program storage element 12 and data storage element 13, with present embodiment portable set 10 this some at program storage element 12, it is information representations with empty storage device (dummy storage) that institute's response message is given computing machine 20.And at this part of data storage element 13, it is with peripheral unit (peripheral device) information representation that institute's response message is given computing machine 20.Therefore after computing machine 20 was received the information that portable set 10 responded, it was a spendable empty storage device (S307) that host operating system 22 is finished 13 identifications of program storage element, makes empty storage device have the ability of being used by computer operation.As known technology when an external peripheral unit is wanted to be used by computer operation, computing machine uses for the first time must be to its install driver, computing machine gets final product this external peripheral unit of normal running afterwards, therefore after the empty storage device of present embodiment appears at computing machine, be can representing, and allow host operating system 22 can the data in the empty storage device be read for the disk of computer identification.
And after program storage element 12 was finished for computer identification, whether the file automatic executing function that portable set 10 detects host operating system 22 opened (S309).When testing result for being, the program that automatically performs (S311) that host operating system 22 executive routine storage elements 12 store; Otherwise host operating system 22 is judged external peripheral unit (being data storage element) whether driver (S317) has been installed that wherein this peripheral device is in the present embodiment as external connected hand disk in computing machine.
And when the program of automatically performing is performed, host operating system 22 also judges whether external peripheral unit has been equipped with driver (S313) in computing machine, if judged result denys, then to peripheral unit install driver (S315), and this driver can be obtained from empty storage device for host operating system.And if judged result, then arrive next step continuation execution for being.
And be not unlocked and computing machine when the driver of external peripheral unit is not installed yet when automatic executing function, host operating system 22 prompting users import driver and installation (S319), the user can import ad-hoc location in CD, floppy disk or the computing machine that contains this driver, to carry out the driver installation procedure of external peripheral unit.
Therefore after the driver of peripheral unit had been installed in computing machine, computing machine can be set up peripheral unit and the connection relation (S321) of driver in computing machine.Whether can normally be used by computing machine and work as peripheral unit, further judge peripheral unit initialization (S323), promptly external connected hand disk has or not format.If be judged as not, then peripheral unit carried out formative initial actuating (S325).
And when peripheral unit initialization, log-on data defence program (S327) then, this step detail operations process as shown in Figure 4, the data protection program of present embodiment provides the check protect of password input, to determine user's portable set of whether having the right to use.
And when check correctly by the identity of data protection program after; then start stand-by program (S329); this step detail operations process as shown in Figure 5; the stand-by program of present embodiment wants backed up data to backup in the peripheral unit with default in the computing machine automatically, also can be for manually importing the position of wanting Backup Data.And after stand-by program is complete, remove the empty storage device (S331) in the computing machine, and only the peripheral unit of retention data storage element uses for computer operation partly.
See also the operational flowchart of Fig. 4 for data protection of the present invention.When carrying out, data protection program judges at first whether the protection password sets up (S401); If judged result then points out the user to set protection password (S403) for not; For the user of first use portable set, data protection program provides an operation screen to input password with the guiding user.And ought finish the protection password setting, require the user to input a password (S405); And judge input password whether correctly (S407), judgment mode is that the password that will import and the protection password that sets contrast; And when judged result for being that then the user can obtain the right to use (S411) of portable set.And if judged result for not, judges further then whether input password errors number surpasses 3 times (S409); When judging that then not getting back to step (S405) continues to carry out; And work as judged result for having, then the user can't obtain the right to use (S413) of portable set, finishes the operating process of portable set simultaneously.
See also Fig. 5, it is for the operational flowchart of data backup of the present invention.When the user has inputed correct password, and obtain after the right to use of portable set, stand-by program judges that at first Backup Data comes the source position whether to set up (S501); It can be file directory specific in the computing machine that Backup Data comes the source position, so can only get final product at normal change or important data do backup, and need not extend to inessential relatively or the data backup of change seldom.And when being judged as not, then requiring the user to set up Backup Data and come source position (S503).Stand-by program can be under Backup Data comes situation that the source position set up afterwards, and further Backup Data is come the data storage element 13 of the specified data automated back-up in source position to the portable set, and also can combining encryption in the data backup process and/or the data processing of compression, with security that improves Backup Data or the space (S505) that minimizing takies data.
In sum, portable set provided by the invention has following characteristics, when being connected in the computing machine use, can finish the installation of driver automatically, and needn't the people for controlling, and the driver installation can automatically perform the action of data backup behind computing machine, with the data automated back-up of computing machine in portable set.Consider the security of portable set data storing in addition, in the time will using portable set, in its installation process, be combined with cryptoguard mechanism, have only legal user just can obtain the right to use of portable set.
But the above-mentioned accompanying drawing that discloses, explanation only are embodiments of the invention, and those skilled in the art can do other all improvement according to above-mentioned explanation, and these changes still belong in the patent of invention scope of the present invention.

Claims (17)

1, a kind of automatic backup method of portable set in this portable set, comprises the data automated back-up in the computing machine:
(a) provide a program storage element and a data storage element in this portable set, wherein this program storage unit stores has for this portable set being installed in the required program of this computing machine, reaches this data storage element and uses for these computer stored data;
(b) when this portable set is connected to this computing machine, receive an interrogating signal of sending from this computing machine;
(c) respond this computing machine and have this program storage element and this data storage element to indicate this portable set;
(d) when this computing machine can be carried out automatic executing function, start one in this program storage element and automatically perform program;
(e) a driver in this program storage element is installed in this computing machine, is made this computing machine can be by this this data storage element of driver identification;
(f) start a stand-by program in this program storage element, wherein this stand-by program is set with the Backup Data that data will back up in this computing machine and comes the source position; And
(g) backing up this Backup Data comes the stored data in source position to this data storage element.
2, the automatic backup method of portable set according to claim 1, wherein this program storage element response message is to represent with empty storage device to this computing machine in this step (c), and this data storage element response message is to represent with peripheral unit to this computing machine.
3, the automatic backup method of portable set according to claim 2, wherein this computing machine of this step (d) can carry out this program storage element this when automatically performing program, when finishing this void storage device for this computing machine identification.
4, the automatic backup method of portable set according to claim 1, wherein to come the source position be file directory specific in this computing machine to this Backup Data of this step (f).
5, the automatic backup method of portable set according to claim 1, wherein this data storage element institute backed up data of this step (g) is handled through overcompression.
6, the automatic backup method of portable set according to claim 1, wherein this data storage element institute backed up data of this step (g) is through encryption.
7, the automatic backup method of portable set according to claim 1, (f) further comprises before in step:
Start the data protection program in this program storage element, input a password to require the user, and when the password that the user inputed is correct, just carry out next step.
8, the automatic backup method of portable set according to claim 7, and when the password mistake of user input, this portable set the person of banning use of use.
9, the automatic backup method of portable set according to claim 1, wherein this data storage element is a hard disk.
10, the automatic backup method of portable set according to claim 1, wherein this program storage element is a nonvolatile memory.
11, a kind of portable set comprises:
One interface circuit is in order to be connected with a computing machine;
One data storage element;
One program storage element, include one and automatically perform program, a driver and a stand-by program, wherein this automatically performs program and can automatically perform in this computing machine, this driver can be installed with this portable set of identification for this computing machine, but the data of this this computing machine of stand-by program incense part are in this data storage element; And
One control module is controlled the communication transmission between this data storage element and this interface unit, and the transmission of the communication between this program storage element and this interface unit;
Wherein when this interface circuit connects this computing machine, this control module receives the interrogating signal that this computing machine is sent, and respond this signal and have this program storage element and this data storage element to indicate this portable set for this computing machine, so that carrying out this, this computing machine automatically performs program, automatically this driver is installed in after this computing machine, by the data of this this computing machine of stand-by program automated back-up in this data storage element.
12, portable set according to claim 11, wherein this interface circuit is the transmission standard of USB interface.
13, portable set according to claim 11, wherein this data storage element is a hard disk.
14, portable set according to claim 11, wherein this program storage element is a nonvolatile memory.
15, portable set according to claim 14, wherein this nonvolatile memory is flash memory or electric erasable type storer.
16, the automatic backup method of portable set according to claim 11, wherein this control module is to represent with empty storage device this program storage element response message to this computing machine, is to represent with peripheral unit and give this computing machine to this data storage element response message.
17, portable set according to claim 11, wherein this program storage element further stores a data protection program, in order to the check protect of password input to be provided, to determine whether the user has the right to use this portable set.
CN 200510065128 2005-04-08 2005-04-08 Portable apparatus and automatic backup method thereof Pending CN1845072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510065128 CN1845072A (en) 2005-04-08 2005-04-08 Portable apparatus and automatic backup method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510065128 CN1845072A (en) 2005-04-08 2005-04-08 Portable apparatus and automatic backup method thereof

Publications (1)

Publication Number Publication Date
CN1845072A true CN1845072A (en) 2006-10-11

Family

ID=37064000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510065128 Pending CN1845072A (en) 2005-04-08 2005-04-08 Portable apparatus and automatic backup method thereof

Country Status (1)

Country Link
CN (1) CN1845072A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211287B (en) * 2006-12-29 2010-05-26 佛山市顺德区顺达电脑厂有限公司 Data backup device, system and its method
CN102377696A (en) * 2011-10-24 2012-03-14 中山大学 Intelligent gateway and method for managing equipment driver in intelligent gateway
CN104461767A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104809086A (en) * 2014-01-29 2015-07-29 群晖科技股份有限公司 Electronic device and operation method thereof
US9825628B2 (en) 2014-01-29 2017-11-21 Synology Incorporated Electronic device and operation method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211287B (en) * 2006-12-29 2010-05-26 佛山市顺德区顺达电脑厂有限公司 Data backup device, system and its method
CN102377696A (en) * 2011-10-24 2012-03-14 中山大学 Intelligent gateway and method for managing equipment driver in intelligent gateway
CN104461767A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104461767B (en) * 2013-09-17 2018-12-14 联想(北京)有限公司 A kind of information processing method and the first electronic equipment
CN104809086A (en) * 2014-01-29 2015-07-29 群晖科技股份有限公司 Electronic device and operation method thereof
CN104809086B (en) * 2014-01-29 2017-11-21 群晖科技股份有限公司 The operating method of electronic installation and electronic installation
US9825628B2 (en) 2014-01-29 2017-11-21 Synology Incorporated Electronic device and operation method thereof

Similar Documents

Publication Publication Date Title
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
US20060224794A1 (en) Using USB memory device to recover operating system
CN104881314A (en) Method for installing driver and driver installation device
CN110083404B (en) Data processing method and system of human-computer interface equipment and human-computer interface equipment
CN102171668A (en) A storage device for mounting to a host
CN108008914A (en) The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
US20050289382A1 (en) System and method for recovering a device state
CN103309709A (en) Firmware upgrading method, device and communication equipment
CN1845072A (en) Portable apparatus and automatic backup method thereof
CN100456244C (en) Device and method for guiding, updating and maintenance based on USB Host
US11275591B2 (en) Data storage device and method for maintaining normal boot operation of data storage device
US20030075599A1 (en) Personal work environment setting method
US20080052427A1 (en) Computer backup system at BIOS level
TWI765443B (en) Data storage device and method for maintaining normal boot operation of data storage device
JP5304229B2 (en) Terminal device
CN110673863B (en) Intelligent lock system supporting pluggable external storage and intelligent upgrading method
CN114816491A (en) System upgrading method and device for multi-system mobile terminal and terminal
CN112035171A (en) Factory setting restoration method and system based on UEFI firmware
EP1746506A1 (en) Portable device and automatic backup method of computer data on the device
JP2007048222A (en) Portable device and automatic backup method thereof
US20080263541A1 (en) Computer-readable recording medium for recovery of software
JP2002222106A (en) Device and method for setting client environment in client/server system, program storage medium, and program
CN115357355A (en) Method, device and equipment for software cross-system migration and readable storage medium
CN101493866A (en) Controlled storage apparatus and access operation software
CN1645485A (en) Method for rapid copying hard disk with protective subareas

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication