CN101546322A - Breakpoint continuous transmission method of mobile storage equipment - Google Patents
Breakpoint continuous transmission method of mobile storage equipment Download PDFInfo
- Publication number
- CN101546322A CN101546322A CN200810103020A CN200810103020A CN101546322A CN 101546322 A CN101546322 A CN 101546322A CN 200810103020 A CN200810103020 A CN 200810103020A CN 200810103020 A CN200810103020 A CN 200810103020A CN 101546322 A CN101546322 A CN 101546322A
- Authority
- CN
- China
- Prior art keywords
- file
- storage device
- movable storage
- data
- breakpoint
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 24
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 20
- 238000001514 detection method Methods 0.000 claims description 12
- 230000002093 peripheral effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000004321 preservation Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a breakpoint continuous transmission method of mobile storage equipment, which comprises the following steps: (1) connecting the mobile storage equipment and peripheral equipment and transmitting data; (2) detecting whether files having the same file name with the files with data to be transmitted exist in the mobile storage equipment, if no file with the same file name exists, then performing step (5), and if a file with the same file name exists, then performing step (3); (3) judging whether the existent file with the same file name has a finished mark, if the finished mark exists, then changing the file into a file with a new file name and performing step (5), and if no finished mark exists, then performing step (4); (4) continuously transmitting breakpoints of the mobile storage equipment; (5) adding a file name and a running mark for the transmitted data by the mobile storage equipment; and (6) finishing data transmission and adding the finished mark at the end point of file data.
Description
[affiliated technical field]
The present invention relates to a kind of method of realization breakpoint continuous transmission method, particularly a kind of breakpoint continuous transmission of mobile storage equipment.
[background technology]
Along with the development of technology, most movable storage device, as the MP3 etc. of existing portable hard drive, band memory function,, recording data access small and exquisite, easy to carry because of its volume is convenient etc., and characteristics more and more are widely used.
Yet, using such movable storage device to transmit in the process of data, if break suddenly because outage or factors such as data connecting line and external unit disconnection cause in the process of transfer files, make movable storage device the file data content of transmitting can't be preserved fully, cause this document data all not preserve, bring very big inconvenience or even loss without redemption to the user.
[summary of the invention]
The objective of the invention is to address the above problem,, realize of the preservation of original file from the data of breakpoint by the file data that breaks suddenly in the transmission course is carried out breakpoint transmission.
Concrete technical scheme is as follows:
A kind of breakpoint continuous transmission method of movable storage device may further comprise the steps:
1), movable storage device is connected the line data transmission of going forward side by side with external unit;
2), detect the file will carry out data transmission whether the file of same file name arranged in movable storage device, if there is not the file of identical filename, then carry out step 5); If the file of identical filename is arranged, then carry out step 3),
3), judge whether the file of this already present same file name has the sign of finishing, if having the sign of finishing, then change to the file of a new filename and carry out step 5); If do not finish sign, then carry out step 4),
4), movable storage device carries out the operation of breakpoint transmission;
5), movable storage device is with the data add file name and the flowing water sign that are transmitted;
6), finish data transmission, and add the sign that finishes in file data end.
Described step 4) further may further comprise the steps:
4.1), find the position of flowing water sign N of maximum of the file of the same file name of having stored;
4.2), be transmitted file and compare, find the relevant position point that will transmit file;
4.3), begin to transmit data from the relevant position point that is transmitted file, and begin to add flowing water sign from N+1.
Described movable storage device comprises the breakpoint transmission module that is connected with microprocessor in the movable storage device, and the detection module that is used to detect the file situation that is connected with described microprocessor.
Described storer is flash memory or hard disk.
Described breakpoint transmission module is connected with controller, is used to the data of transmission to increase the flowing water sign.
The storage mode that described storer is taked is a sequential storage.
Described flash memory is a NAND type flash memory.
Described movable storage device is portable hard drive, digital recording pen, audio/video player, personal digital assistant.
Owing to used this technical scheme, under the situation that movable storage device transmission data procedures is broken suddenly, also can continue transmission to the file data after breaking, guarantee the transmission security and the integrality of data, and satisfied user's preservation requirement to data under the transmission data cases.
In order further to understand feature of the present invention and technology contents, describe below in conjunction with specific embodiments of the invention and accompanying drawing.But the drawings and Examples of lifting not are in order to the present invention is limited.
[description of drawings]
Fig. 1 is the block diagram of first embodiment that relates to of present device.
Fig. 2 is the block diagram of second embodiment that relates to of present device.
Fig. 3 is the block diagram of the embodiment of system of the present invention.
Fig. 4 is the FB(flow block) that the present invention relates to method.
Fig. 5 is the FB(flow block) that the present invention relates to the breakpoint transmission operation steps in the method.
Fig. 6 is the FB(flow block) that the present invention relates to another kind of method.
Fig. 7 is the breakpoint transmission operation steps FB(flow block) that the present invention relates in the another kind of method.
[embodiment]
As shown in Figure 1, being the first embodiment of the present invention, in the present embodiment, is to be example with the portable hard drive.Portable hard drive comprise with external electronic device (external electronic device can be computing machine) storer that carries out the USB interface of data interaction, the controller that is connected with interface, be connected (described storer take storage mode be sequential storage) with controller and with controller microprocessor linked (MPU), also comprise, the breakpoint transmission module that is connected with microprocessor (MPU), and the detection module that is used to detect the file situation that is connected with microprocessor (MPU).Wherein, the breakpoint transmission module increases the flowing water sign for the data of transmission, and described flowing water is designated at regular intervals (for example, every interval is 1 second) and adds sign in the file data of positive transmission in chronological order to.Described detection module carried out scan operation to the legacy data memory block before data transmission, and scanning result was reported to the microprocessing unit of movable storage device.Whether described scanning result is for existing same file name and/or finish sign.
As shown in Figure 2, for the second embodiment of the present invention still be example with the portable hard drive.Be that with the first embodiment difference breakpoint transmission module directly is not connected with controller.Structure is particularly: carry out the USB interface of data transmission with external unit, the controller that is connected with USB interface, the storer that is connected with controller, with controller microprocessor linked (MPU), the breakpoint transmission module and the detection module that connect microprocessor (MPU), wherein, detection module also is connected with controller, be used for detecting the transmission data that enter portable hard drive by USB interface, before data transmission, scan operation is carried out in the legacy data memory block, and scanning result is reported to the microprocessing unit of movable storage device.Whether described scanning result is for existing same file name and/or finish sign.
The file data information of transmitting enters portable hard drive by the USB interface of the portable hard drive of connection, at this moment, detection module has detected data and will transmit, attribute definition in elder generation's scanning this document data is whether the data of filename have identical property file-name with the data that are stored in the storer, if have, then begin to carry out the breakpoint transmission operation,, then carry out normal storage operation if do not have.Here, we need guarantee that the storage order of portable hard drive carries out in chronological order, so just can guarantee that the operation of breakpoint transmission is carried out with time sequencing.In addition, the interpolation of flowing water sign has guaranteed contrast original and the data that will continue between the storage file too, guarantees to find the breakpoint on the original, transmits so that can begin the continuation of data from correct breakpoint.
As shown in Figure 3, the working condition after finishing portable hard drive and computing machine is connected below in conjunction with the detailed explanation of embodiment system of the present invention.This system comprises an external unit computing machine, computing machine comprises processor (CPU) at least, storage unit, and the USB interface of carrying out data interaction with computing machine, the controller that is connected with USB interface, the storer that is connected with controller, and with controller microprocessor linked (MPU), described computing machine passes through the data USB interface to described portable hard drive transmitting data information, the microprocessor of described portable hard drive scans already present file data with same file name in the storer by the transmission of breakpoint transmission module and the instruction to comparing, and comparative result is fed back to the processor (CPU) of computing machine, the processor of computing machine (CPU) to the Data Detection in the storage unit of computing machine and determine the corresponding breakpoint location of former transfer files, and is finished file from the not transmission that this breakpoint location begins to be transmitted in again the already present same file name of storing the portable hard drive by detection module.Described breakpoint transmission module is connected with microprocessor, and the breakpoint transmission module increases the flowing water sign for the data of transmission, described flowing water be designated at regular intervals add sign in the file data in order to.Described detection module at computing machine with after portable hard drive is connected, request according to the microprocessor (MPU) of portable hard drive is carried out scan operation to the legacy data in the storage unit of computing machine, and determine the breakpoint location of original according to ordinal relation, be the starting point of restarting to transmit data with this breakpoint location.
Specifically, the file 1 in the Computer Storage unit need be copied in the portable hard drive, but interrupts suddenly in transmission course, is kept at the just part of file 1 in the portable hard drive storer.Be connected computing machine and duplicate this document 1 this moment with portable hard drive.Because in last once transmission course, the breakpoint transmission module in the portable hard drive has been added the flowing water sign in chronological order for the data of transmission,, just can find the flowing water sign of the express time of a corresponding this document like this in the place of the last once end of file.According to this flowing water sign that obtains, can original file 1 be compared by the detection module in the computer operating system, find corresponding breakpoint location in the original file 1, and begin to transmit from the data of this breakpoint location.
As shown in Figure 4, a kind of breakpoint continuous transmission method of portable hard drive is as follows:
1), portable hard drive is connected the line data transmission of going forward side by side with computing machine;
2), detect the file will carry out data transmission whether the file of same file name arranged in portable hard drive, if there is not the file of identical filename, then carry out step 5); If the file of identical filename is arranged, then carry out step 3),
3), judge whether the file of this already present same file name has the sign of finishing, if having the sign of finishing, then change to the file of a new filename and carry out step 5); If do not finish sign, then carry out step 4),
4), portable hard drive carries out the operation of breakpoint transmission;
5), portable hard drive is with the data add file name and the flowing water sign that are transmitted;
6), finish data transmission, and add the sign that finishes in file data end.
Described portable hard drive comprises the breakpoint transmission module that is connected with microprocessor in the portable hard drive, and the detection module that is used to detect the file situation that is connected with described microprocessor.Described storer is flash memory or the hard disk of storing in order.Described breakpoint transmission module is connected with controller, is used to the data of transmission to increase the flowing water sign.
In conjunction with shown in Figure 5, further may further comprise the steps in the step 4) of the above method:
4.1), find the position of flowing water sign N of maximum of the file of the same file name of having stored;
4.2), be transmitted file and compare, find the relevant position point that will transmit file;
4.3), begin to transmit data from the relevant position point that is transmitted file, and begin to add flowing water sign from N+1.
As shown in Figure 6, the breakpoint continuous transmission method of another kind of movable storage device, described movable storage device adopt flash memory as storer, and this this storer comprises flash memory parameter region and flash memory storage district, and movable storage device may further comprise the steps with after external unit is connected:
(1), portable hard drive is connected with computing machine;
(2), detect the flash memory parameter region of portable hard drive, whether have and be transmitted file and have same file name, if do not have, then store the operation of this document; If have, then
(3), further detect the flash memory parameter region, detect the whether correspondence sign that do not finish of this document, if do not have, then rename a new filename, and store this document corresponding address; If have, then
(4), carry out the operation of breakpoint transmission;
(5), finish the transmission data, in the flash memory parameter region deletion sign that do not finish.
Described step (2) if in do not have a same file name, the operation of then storing this document further comprises:
(2.1), store the file address of this document at the flash memory parameter region;
(2.2), in the position of the corresponding this document of flash memory parameter region, the sign that do not finish is added in storage;
(2.3), the corresponding data of location storage this document of corresponding this document address in the flash memory storage district.
The position of the described sign that do not finish is finished or carries out the zone that initialization operation defines for being provided with in movable storage device in advance.
As shown in Figure 7, described step (4) further may further comprise the steps:
(4.1), find the address location (A) of end of this document data of preservation in the memory block, address of flash memory parameter region;
(4.2), according to the address location of being found (A), search backward along time sequencing in relevant position, flash data district, know a last address location (B) that finds the address location of not storing data;
(4.3), the data that will be transmitted institute's corresponding stored between file and the location address (A) to (B) compare, and find the repetition (A) that will the transmit file correspondence position point (C) to the data of storage between (B);
(4.4), begin to transmit data, and at parameter region from relevant position point (C) that is transmitted file from (B+1) beginning address, memory location and corresponding storage area stores data.
In sum; for the person of ordinary skill of the art; can make other various corresponding changes and distortion according to technical scheme of the present invention and technical conceive, and all these changes and distortion all should belong to the protection domain of claim of the present invention.
Claims (8)
1, a kind of breakpoint continuous transmission method of movable storage device is characterized in that may further comprise the steps:
1), movable storage device is connected the line data transmission of going forward side by side with external unit;
2), detect the file will carry out data transmission whether the file of same file name arranged in movable storage device, if there is not the file of identical filename, then carry out step 5); If the file of identical filename is arranged, then carry out step 3),
3), judge whether the file of this already present same file name has the sign of finishing, if having the sign of finishing, then change to the file of a new filename and carry out step 5); If do not finish sign, then carry out step 4),
4), movable storage device carries out the operation of breakpoint transmission;
5), movable storage device is with the data add file name and the flowing water sign that are transmitted;
6), finish data transmission, and add the sign that finishes in file data end.
2, the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, described step 4) further may further comprise the steps:
4.1), find the position of flowing water sign N of maximum of the file of the same file name of having stored;
4.2), be transmitted file and compare, find the relevant position point that will transmit file;
4.3), begin to transmit data from the relevant position point that is transmitted file, and begin to add flowing water sign from N+1.
3, the breakpoint continuous transmission method of movable storage device according to claim 1, it is characterized in that, described movable storage device comprises the breakpoint transmission module that is connected with microprocessor in the movable storage device, and the detection module that is used to detect the file situation that is connected with described microprocessor.
4, the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, described storer is flash memory or hard disk.
5, the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, described breakpoint transmission module is connected with controller, is used to the data of transmission to increase the flowing water sign.
6, the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, the storage mode that described storer is taked is a sequential storage.
7, the breakpoint continuous transmission method of movable storage device according to claim 4 is characterized in that, described flash memory is a NAND type flash memory.
8, the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, described movable storage device is portable hard drive, digital recording pen, audio/video player, personal digital assistant, mobile phone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101030206A CN101546322B (en) | 2008-03-28 | 2008-03-28 | Breakpoint continuous transmission method of mobile storage equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101030206A CN101546322B (en) | 2008-03-28 | 2008-03-28 | Breakpoint continuous transmission method of mobile storage equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101546322A true CN101546322A (en) | 2009-09-30 |
CN101546322B CN101546322B (en) | 2012-06-06 |
Family
ID=41193462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101030206A Expired - Fee Related CN101546322B (en) | 2008-03-28 | 2008-03-28 | Breakpoint continuous transmission method of mobile storage equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101546322B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105142045B (en) * | 2015-08-19 | 2018-07-31 | 上海斐讯数据通信技术有限公司 | PON performance datas processing system and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149497C (en) * | 2001-04-28 | 2004-05-12 | 国家数字交换系统工程技术研究中心 | E-mail receiver/send system and method |
CN1627290A (en) * | 2003-12-12 | 2005-06-15 | 鸿富锦精密工业(深圳)有限公司 | Data down loading system and method capable of continuous transmission from breakpoint |
CN101110656A (en) * | 2006-07-18 | 2008-01-23 | 宇龙计算机通信科技(深圳)有限公司 | File transferring method for wireless network hard disk system |
-
2008
- 2008-03-28 CN CN2008101030206A patent/CN101546322B/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105142045B (en) * | 2015-08-19 | 2018-07-31 | 上海斐讯数据通信技术有限公司 | PON performance datas processing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN101546322B (en) | 2012-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101546250B (en) | System for realizing breakpoint continuous transmission of mobile storage equipment | |
CN101546321B (en) | Breakpoint continuous transmission method of mobile storage equipment | |
US9516093B2 (en) | Data sharing methods and portable terminals | |
US9537957B2 (en) | Seamless application session reconstruction between devices | |
CN101546251B (en) | Mobile storage equipment with breakpoint continuous transmission | |
US8843663B2 (en) | Data transmission device and method for merging multiple commands | |
CN103237047A (en) | Remote controlled and control method | |
JP2004171528A5 (en) | ||
US8082513B2 (en) | Method and system for saving images from web pages | |
EP2487572A1 (en) | Systems and methods for screen data management | |
CN101859220A (en) | Electronic device and data processing method thereof | |
CN101620538A (en) | Method for automatically operating CDROM function on USB network card equipment | |
CN201188221Y (en) | Mobile memory apparatus capable of breakpoint continuous transmission | |
CN101546322B (en) | Breakpoint continuous transmission method of mobile storage equipment | |
US9990027B2 (en) | Status switching method | |
US9977621B2 (en) | Multimedia data backup method, user terminal and synchronizer | |
CN104317955A (en) | File scanning method and device for storage space of mobile terminal | |
US7010650B2 (en) | Multiple data management method, computer and storage device therefor | |
CN111708288A (en) | Data processing method and device, electronic equipment and storage medium | |
US20090002772A1 (en) | Information processing apparatus and information processing program | |
CN102520878A (en) | Method and system for visiting intelligent secure digital (SD) card | |
CN103064687B (en) | The defining method of a kind of program entry point OEP and device | |
CN101533648B (en) | Digital household network hard disk system and method for realizing plug and play | |
EP2015514A2 (en) | Information processing apparatus and control method of an information processing apparatus | |
US20070130379A1 (en) | Method for data processing based on an operation route in peripheral equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120606 |
|
CF01 | Termination of patent right due to non-payment of annual fee |