CN101097539A - Data copy device of movable memory apparatus and method - Google Patents

Data copy device of movable memory apparatus and method Download PDF

Info

Publication number
CN101097539A
CN101097539A CNA2006100959926A CN200610095992A CN101097539A CN 101097539 A CN101097539 A CN 101097539A CN A2006100959926 A CNA2006100959926 A CN A2006100959926A CN 200610095992 A CN200610095992 A CN 200610095992A CN 101097539 A CN101097539 A CN 101097539A
Authority
CN
China
Prior art keywords
data
copy
copying
storage device
movable storage
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
CNA2006100959926A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNA2006100959926A priority Critical patent/CN101097539A/en
Publication of CN101097539A publication Critical patent/CN101097539A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a kind of data copying device and method for mobile storage device, and the device includes at least one interface connected with mobile storage device, data copying controller and state editor of data copy, the data copying controller, which is used to connect with the data copying state memory, and the copy state data is written in the state memory of data copy when the mobile device is copying data; when the data copy is done, it can process according to the stored copying state data; the data copying state memory, which is connected with data copy controller, and store the copy state data. The invention also discloses a kind of data copying method for mobile storage device. The invention improve the reliability of data copy, and it can know the transmission is done or not without external device, and the operation is easy.

Description

A kind of data copy device of movable storage device and method
Technical field
The present invention relates to the mobile data technical field of memory, particularly relate to a kind of data copy device and method of movable storage device.
Background technology
Existing battery powered portable electronic device, can carry out data transmission in divorced from computer situation and other equipment, for example present low side digital partner, just can with the copying data on the storage cards such as CF, SD, MMC, MS in the built-in harddisk memory of digital partner, make these data obtain backup by the draw-in groove interface.At this moment, the user just can delete the data on these storage cards, is used for storing new data then.
But, development along with technology, the memory capacity of portable electronic device memory storage is increasing, can be up to more than the 1G, even reach 100G, and present portable electronic device, as the low side digital partner, all can't browse the file data that is stored in the portable electronic device memory storage,, then can only directly all copy if do not carry out copying data by simple devices such as digital signal processors by computing machine by visual windows such as lcd screens.But when the capacity of memory storage is bigger, the time of transmission is longer, at this moment may be because the abnormal operation of other equipment, as equipment because power supply exhausts or energy-saving mode causes device shutdown.
For example, the electricity-saving function of digital partner (as do not have operation 1 minute then equipment shut down automatically), can cause digital partner to be closed.At this moment, when seeing digital partner again, the user can not judge whether the data on the card all copy on the digital partner, whether store intermediate data and make mistakes and cause digital partner can not copy whole data, whether cause shutdown, do not copied whole data because battery electric quantity exhausts.File data on the memory storage may be very important, and whether quick judgment data copies in the digital partner reliably and the user has no idea at this moment.
Existing a kind of solution is the copy again that powers on once more, and whether the data on the real time monitoring memory storage copy in other memory devices fully.This method is very big at the capacity of memory storage, and the transmission time is very long, manpower and materials that can be expensive.
Existing another kind of method is to wait other equipment and this device talk to get whether end of transmission of primary data by calculating, but when when copying data, not having equipment such as computing machine, whether then be unable to find out data transmission finishes, and this method also can cause the waste of unnecessary time, the energy and storage space.
Summary of the invention
The object of the present invention is to provide a kind of data copy device and method of movable storage device; when it has solved data on simple devices such as the digital signal processor copy movable storage device; because taking place appears unusual or is subjected to abnormal conditions such as external interference in battery electric quantity deficiency or circuit; cause the data that copied unreliable, wrong problem occurs.
For realizing the data copy device of a kind of movable storage device that the object of the invention provides, comprise at least one interface that is connected with movable storage device, also comprise copy data controller and copying data status register, wherein:
Copy data controller is used for linking to each other with the copying data status register, in the data on the copy movable storage device, the copy state data in real time is write the copying data status register; And when copying data finishes, carry out judgment processing according to the copy state data of preserving;
The copying data status register is used for being connected with copy data controller the storage copy status data.
Described data copy device also comprises the copying data indicator, is used for linking to each other with the copying data status register, when the copying data abnormal ending, reads and copy state data during the display abnormality done state from the copying data status register.
Described data copy device also comprises built-in data-carrier store, is connected with copy data controller, is used for storing the data of the movable storage device that is linked into interface.
The subregion that described copy state data are movable storage device title, copying data, copied content size, copy and finish content number percent, current copies data address.
The described interface that is connected with movable storage device is CF, SD, MMC, MS storage card draw-in groove interface, USB interface, ide interface, SATA and ESATA hard-disk interface.
Described copying data indicator is LCD display and/or pilot lamp.
Described movable storage device is storage card, portable hard drive or other kind storeies such as CF card, SD card, mmc card, MS card.
For realizing that the object of the invention also provides a kind of data copying method of movable storage device, comprises the following steps:
Steps A: in the data on the copy movable storage device, copy data controller writes the copying data status register in real time with the copy state data;
Step B: after copying data finished, copy data controller carried out judgment processing according to the copy state data of preserving.
Further comprise the following steps: before the described steps A
When the user receives different movable storage devices on the interface of data copy device, when the trigger data copy device carries out copying data, the storage space of copy data controller visit movable storage device begins the copying data of movable storage device to other memory devices.
Copy data controller among the described step B carries out judgment processing according to the copy state data of preserving and comprises the following steps:
Step B1: if copying data is normally finished, then needn't copy once more, with copy state data dump, process ends; Otherwise, forward step 32 to;
Step B2: the copying data indicator reads and copy state data during the display abnormality done state from the copying data status register, selects whether carry out copying data once more by the user, if then restart copying data; Otherwise, with copy state data dump, process ends.
The copying data that restarts among the described step B2 comprises the following steps:
When restarting copying data, select all to restart copy; The data address of abnormal ending begins copy when perhaps selecting from abnormal ending.
The invention has the beneficial effects as follows: the data copy device of movable storage device of the present invention and method, by copy data controller and storer, when making data on simple devices such as digital signal processor copies movable storage device, follow the tracks of and preserve the state of copying data, can improve the reliability in the copying data, its in the copying data process, do not need external unit get final product primary data end of transmission whether, simple to operate; And do not need to browse, inquire about the file that this equipment was copied last time, avoid sending out the waste of time, the energy and storage space.
Description of drawings
Fig. 1 is a data copy device structural representation of the present invention;
Fig. 2 is a data copying method flow process of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the data copy device and the method for movable storage device of the present invention is further elaborated below in conjunction with accompanying drawing 1~2 and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The data copy device of movable storage device of the present invention and method, during data on simple devices such as digital signal processor copies movable storage device, follow the tracks of and preserve the state of copying data, and the user once more during the turn-on data copy device, according to the state of preserving copying data, whether the prompting user copies and finishes, determine whether to carry out once more data copy operation by the user, it improves the reliability when movable storage device carries out copying data by simple devices such as digital signal processors.
The following data copy device that describes movable storage device of the present invention earlier in detail:
The data copy device of movable storage device of the present invention comprises at least one interface that is connected with movable storage device, and copy data controller and copying data status register, wherein:
Copy data controller is used for when the user carries out copying data, by the interface that is connected with movable storage device, with the storage space of existing known manner visit movable storage device, the copying data of movable storage device to other memory devices.
When the user carries out copying data, can be by the triggering button on the device, as the copy button on the device, other that perhaps carry on the equipment trigger button, perhaps power on to trigger button etc. automatically, trigger the mobile data copy.
Copy data controller of the present invention, link to each other with the copying data status register, in the data on the copy movable storage device, with the copy state data, as the subregion of movable storage device title, copying data, copied content size, copy status datas such as finishing content number percent, existing copies data address and write the copying data status register in real time; And when copying data finished, according to the copy state data of preserving, whether the judgment data copy was normally finished, if copying data is when abnormal ending, and control display abnormality done state information.
Described abnormal ending state is included in and occurs in the copying data process crashing, and perhaps the powered battery deficiency causes shutdown; Perhaps because power cut-off; Perhaps because electricity-saving function causes outage; Perhaps because circuit occurs unusual; Perhaps be subjected to external interference; Perhaps the people is for causing outage; Copying data abnormal ending under the various states such as perhaps artificial interruption.
The copying data status register is used for being connected with copy data controller, and the storage copy status data comprises subregion, copied content size, current copies data address of movable storage device title, copying data etc.
Preferably, the data copy device of described movable storage device also comprises copying data indicator and built-in data-carrier store, wherein:
Described copying data indicator is used for linking to each other with the copying data status register, when the copying data abnormal ending, reads and copy state data during the display abnormality done state from the copying data status register.This copying data indicator can be a LCD display, when the copying data abnormal ending, show the copy state data, comprise the subregion, copied content size of movable storage device title, copying data, copy and finish content number percent, current copies data address (being the abnormal ending address) etc.; This copying data indicator also can be a pilot lamp, and when the copying data abnormal ending, this pilot lamp is communicated with to be lighted.
Built-in data-carrier store is connected with copy data controller, is used for storing the data of the movable storage device that is linked into interface.
Described movable storage device can be storage card, portable hard drive or other kind storeies such as CF card, SD card, mmc card.
The portable hard drive that has automatic backup function is a kind of file management facilities that increase on hard disk controller, can be connected by the common hard disk of hard-disk interface and other, at this moment the data between two hard disks can be transmitted mutually, do not need to make by equipment such as computing machines that data exchange between two hard disks.
Preferably, described copy data controller be digital signal processor (Digital SignalProcessor, DSP);
Described copying data storer is the harddisk memory of larger capacity.
The described interface that is connected with movable storage device can be the interface of various storage cards, as CF, SD, MMC, MS storage card draw-in groove, perhaps USB interface, ide interface, SATA and ESATA hard-disk interface etc.
When the user receives different movable storage devices on the interface of data copy device, when carrying out copying data by triggering button or automatic triggering, copy data controller is with the storage space of existing known manner visit movable storage device, the copying data of movable storage device to other memory devices.Simultaneously, the copy state data in real time is write the copying data status register; And when copying data finished, according to the copy state data of preserving, whether the judgment data copy was normally finished.If copying data is normally finished, then needn't copy once more, the copy state data dump; Otherwise control data copy indicator reads and the display abnormality done state from the copying data status register.
Like this, by copy data controller, copying data storer, copying data indicator, in the data on the copy movable storage device, follow the tracks of and preserve the state of copying data, improve the reliability in the copying data, in the copying data process, do not need external unit get final product primary data end of transmission whether, simple to operate.
Further describe the data copying method of movable storage device of the present invention below in conjunction with the data copy device of movable storage device:
Step 1: when the user receives different movable storage devices on the interface of data copy device, when the trigger data copy device carries out copying data, the storage space of copy data controller visit movable storage device begins the copying data of movable storage device to other memory devices.
When the user carries out copying data, can be by the triggering button on the device, as the copy button on the device, other that perhaps carry on the equipment trigger button, perhaps power on and trigger button etc. automatically, triggering mobile data copy, copy data controller begins the copying data of movable storage device to other memory devices with the storage space of existing known manner visit movable storage device.
Step 2: when the control movable storage device carried out copying data, copy data controller write the copying data status register in real time with the copy state data;
The copy state data comprise the subregion, copied content size of the movable storage device title that is linked into data copy device of the present invention, copying data, copy status datas such as finishing content number percent, existing copies data address.
Step 3: after copying data finished, copy data controller carried out judgment processing according to the copy state data of preserving;
When copying data finishes, copy data controller is according to the status data in the copying data storer, judge in the copy data process because occur crashing, the copying data abnormal ending under the state such as the powered battery deficiency causes shutting down or other unknown causes shut down midway; Still normally copied and finished.
Particularly, copy data controller carries out judgment processing according to the copy state data of preserving and comprises the following steps:
Step 31: if copying data is normally finished, then needn't copy once more, with copy state data dump, process ends; Otherwise, forward step 32 to;
Step 32: the copying data indicator reads and copy state data during the display abnormality done state from the copying data status register, selects whether carry out copying data once more by the user, if then restart copying data; Otherwise, with copy state data dump, process ends.
This copying data indicator can be a LCD display, when the copying data abnormal ending, show the copy state data, comprise subregion, the copied content size of movable storage device title, copying data, copied and finished content number percent, current copies data address etc.; This copying data indicator also can be a pilot lamp, and when the copying data abnormal ending, this pilot lamp is communicated with to be lighted.
When restarting copying data, can select all to restart copy; The data address of abnormal ending begins copy in the time of also can selecting from abnormal ending.
When the data address of abnormal ending begins to copy when selecting from abnormal ending, at first check the copy state data message in the copying data storer, determine the byte number information that has copied;
Check then whether the data that copied exist, if exist, obtain its size again, determine the part that has copied according to the byte number information that has copied;
The data address of abnormal ending during according to abnormal ending, the data address of the abnormal ending of the data that the reading and writing data pointed is to be copied, and begin copies data from this position, begin to write remaining data to be copied from the part that has copied, and by copying data storer record copy state data message.
The data copy device of movable storage device of the present invention and method, by copy data controller, copying data storer and copying data indicator, in the data on the copy movable storage device, follow the tracks of and preserve the state of copying data, can improve the reliability in the copying data, its in the copying data process, do not need external unit get final product primary data end of transmission whether, simple to operate; And do not need to browse, inquire about the file that this equipment was copied last time, when movable storage device does not need to support browsing file, query function, need not be by means of miscellaneous equipments such as PC, promptly can finish copying data and whether normally finish end, make movable storage device in the process of copying data, avoid sending out the waste of time, the energy and storage space.
The embodiment of the invention is just in order to understand the detailed description that the present invention carries out better; it is not the qualification of scope that the present invention is protected; therefore; those of ordinary skills are not breaking away from purport of the present invention; without creative work to the change that the present invention made, in protection scope of the present invention.

Claims (11)

1. the data copy device of a movable storage device comprises at least one interface that is connected with movable storage device, it is characterized in that, also comprises copy data controller and copying data status register, wherein:
Copy data controller is used for linking to each other with the copying data status register, when the control movable storage device carries out copying data, the copy state data in real time is write the copying data status register; And when copying data finishes, carry out judgment processing according to the copy state data of preserving;
The copying data status register is used for being connected with copy data controller the storage copy status data.
2. data copy device according to claim 1, it is characterized in that, also comprise the copying data indicator, be used for linking to each other with the copying data status register, when the copying data abnormal ending, read and copy state data during the display abnormality done state from the copying data status register.
3. data copy device according to claim 2 is characterized in that, also comprises built-in data-carrier store, is connected with copy data controller, is used for storing the data of the movable storage device that is linked into interface.
4. according to each described data copy device of claim 1 to 3, it is characterized in that, the subregion that described copy state data are movable storage device title, copying data, copied content size, copy and finish content number percent, current copies data address.
5. according to each described data copy device of claim 1 to 3, it is characterized in that the described interface that is connected with movable storage device is CF, SD, MMC, MS storage card draw-in groove interface, USB interface, ide interface, SATA and ESATA hard-disk interface.
6. according to each described data copy device of claim 1 to 3, it is characterized in that described copying data indicator is LCD display and/or pilot lamp.
7. data copy device according to claim 3 is characterized in that, described movable storage device is CF, SD, MMC, MS storage card, portable hard drive.
8. the data copying method of a movable storage device is characterized in that, comprises the following steps:
Steps A: in the data on the copy movable storage device, copy data controller writes the copying data status register in real time with the copy state data;
Step B: after copying data finished, copy data controller carried out judgment processing according to the copy state data of preserving.
9. data copying method according to claim 8 is characterized in that, further comprises the following steps: before the described steps A
When the user receives different movable storage devices on the interface of data copy device, when the trigger data copy device carries out copying data, the storage space of copy data controller visit movable storage device begins the copying data of movable storage device to other memory devices.
10. according to Claim 8 or 9 described data copying methods, it is characterized in that the copy data controller among the described step B carries out judgment processing according to the copy state data of preserving and comprises the following steps:
Step B1: if copying data is normally finished, then needn't copy once more, with copy state data dump, process ends; Otherwise, forward step 32 to;
Step B2: the copying data indicator reads and copy state data during the display abnormality done state from the copying data status register, selects whether carry out copying data once more by the user, if then restart copying data; Otherwise, with copy state data dump, process ends.
11. data copying method according to claim 10 is characterized in that, the copying data that restarts among the described step B2 comprises the following steps:
When restarting copying data, select all to restart copy; The data address of abnormal ending begins copy when perhaps selecting from abnormal ending.
CNA2006100959926A 2006-06-30 2006-06-30 Data copy device of movable memory apparatus and method Pending CN101097539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100959926A CN101097539A (en) 2006-06-30 2006-06-30 Data copy device of movable memory apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100959926A CN101097539A (en) 2006-06-30 2006-06-30 Data copy device of movable memory apparatus and method

Publications (1)

Publication Number Publication Date
CN101097539A true CN101097539A (en) 2008-01-02

Family

ID=39011384

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100959926A Pending CN101097539A (en) 2006-06-30 2006-06-30 Data copy device of movable memory apparatus and method

Country Status (1)

Country Link
CN (1) CN101097539A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016091135A1 (en) * 2014-12-11 2016-06-16 中兴通讯股份有限公司 Data processing method, processor and system for external storage medium
CN110365764A (en) * 2019-07-11 2019-10-22 国家超级计算天津中心 A kind of data copy device for computing cluster
CN117395544A (en) * 2023-12-12 2024-01-12 西安荣耀终端有限公司 Battery state data reporting method, terminal equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016091135A1 (en) * 2014-12-11 2016-06-16 中兴通讯股份有限公司 Data processing method, processor and system for external storage medium
CN110365764A (en) * 2019-07-11 2019-10-22 国家超级计算天津中心 A kind of data copy device for computing cluster
CN110365764B (en) * 2019-07-11 2020-08-11 国家超级计算天津中心 Data copying device for computing cluster
CN117395544A (en) * 2023-12-12 2024-01-12 西安荣耀终端有限公司 Battery state data reporting method, terminal equipment and storage medium
CN117395544B (en) * 2023-12-12 2024-05-07 西安荣耀终端有限公司 Battery state data reporting method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
JP2002304258A (en) Redundant backup device
CN101499036A (en) Information storage device and control method thereof
CN102902637B (en) Solid-state hard disk data power-off protection method
CN101615162A (en) Memory Management Unit, image forming apparatus, storage management method and program
CN102385562A (en) Method for interaction between computer and data
CN101739311A (en) Method and device for carrying out safety backup on memory data
CN102013273A (en) Off-line flash burning device and burning method thereof
CN112256499A (en) Power failure monitoring method and device, electronic equipment and computer readable storage medium
CN101359321A (en) Method and apparatus for implementing intercommunication of processors
CN103295638A (en) Portable electronic storage medium data wiping device and data wiping method based on same
CN110058973A (en) The test macro of data memory device and the test method of data memory device
JP2010128899A (en) Information processing system, control method in information processing system, and management device
CN101097539A (en) Data copy device of movable memory apparatus and method
CN103559119B (en) File operation requests disposal route and device
CN109445561B (en) Power failure protection system and method applied to server and server
CN103034561A (en) Command transmission method and relevant device for universal serial bus (USB)
CN107967118A (en) A kind of method and apparatus realized hard disc data high speed dump and checked
CN101916234A (en) Information maintenance method and system of storage equipment
CN102436424B (en) Anti-disclosure copier safety electronic disc
CN104199621A (en) Hard disk management system
CN116560916A (en) Disk switching method, system, device, medium and distributed storage system
TW201301034A (en) System and method for testing stored data
CN101604266A (en) Automatically switching-off system of hard disk for computer failure
CN109325373B (en) Metadata storage method, device and equipment and readable storage medium
CN103176813A (en) Method for dormancy mechanism and computer system thereof

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: 20080102