CN101546322B - Breakpoint continuous transmission method of mobile storage equipment - Google Patents

Breakpoint continuous transmission method of mobile storage equipment Download PDF

Info

Publication number
CN101546322B
CN101546322B CN2008101030206A CN200810103020A CN101546322B CN 101546322 B CN101546322 B CN 101546322B CN 2008101030206 A CN2008101030206 A CN 2008101030206A CN 200810103020 A CN200810103020 A CN 200810103020A CN 101546322 B CN101546322 B CN 101546322B
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.)
Expired - Fee Related
Application number
CN2008101030206A
Other languages
Chinese (zh)
Other versions
CN101546322A (en
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.)
Aigo Electronic Technology Co Ltd
Original Assignee
Aigo Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aigo Electronic Technology Co Ltd filed Critical Aigo Electronic Technology Co Ltd
Priority to CN2008101030206A priority Critical patent/CN101546322B/en
Publication of CN101546322A publication Critical patent/CN101546322A/en
Application granted granted Critical
Publication of CN101546322B publication Critical patent/CN101546322B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

The breakpoint continuous transmission method of movable storage device
[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, like the MP3 etc. of existing portable hard drive, band memory function, because of its advantages of small volume, easy to carry, recording data access 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 can't the file data content of transmitting 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 through the file data that breaks suddenly in the transmission course is carried out breakpoint transmission.
Concrete technical scheme is following:
A kind of breakpoint continuous transmission method of movable storage device may further comprise the steps:
1), movable storage device is connected the data transfer 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 data add file name that is transmitted and flowing water sign;
6), accomplish 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 is transmitted 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 comprise with movable storage device in the breakpoint transmission module that is connected of microprocessor, and the detection module that is used to detect the file situation that is connected with described microprocessor.
Storer in the described mobile memory is flash memory or hard disk.
Described breakpoint transmission module is connected with controller, and the data that are used to transmission increase the flowing water sign.
The storage mode that storer in the described mobile memory 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 characteristic of the present invention and technology contents, describe below in conjunction with specific embodiment of the present invention and accompanying drawing.But the accompanying drawing of lifting and embodiment be not 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 system implementation example 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, be the first embodiment of the present invention, in the present embodiment, be 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 the 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 is 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, still be example for the second embodiment of the present invention 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 is 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, is used for detecting the transmission data that get into portable hard drive through 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 gets into portable hard drive through the USB interface of the portable hard drive of connection; At this moment, detection module has detected data and will transmit, and the 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 the contrast original too and will continue the data between the storage file, guarantees to find the breakpoint on the original, so that can begin the continuation transmission of data from correct breakpoint.
As shown in Figure 3, accomplish portable hard drive and working condition after 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), storage unit at least; And with computing machine carry out the USB interface of data interaction, 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 through the transmission of breakpoint transmission module and the instruction to comparing; And comparative result 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 confirm the corresponding breakpoint location of former transfer files, and is accomplished 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 through 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 the 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 confirm 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 in transmission course, interrupts suddenly, 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 through 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 following:
1), portable hard drive is connected the data transfer 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 data add file name that is transmitted and flowing water sign;
6), accomplish data transmission, and add the sign that finishes in file data end.
Described portable hard drive comprise with portable hard drive in the breakpoint transmission module that is connected of microprocessor, 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, and the data that are used to transmission 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, said 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), accomplish 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 for be provided with completion or carry out the zone that initialization operation defines in advance in movable storage device.
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 (7)

1. the breakpoint continuous transmission method of a movable storage device is characterized in that may further comprise the steps:
1), movable storage device is connected the data transfer 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, described step 4) further may further comprise the steps: the position of flowing water sign N of maximum of finding the file of the same file name of having stored; Compare with being transmitted file, find the relevant position that is transmitted file; Begin to transmit data from the relevant position point that is transmitted file, and begin to add the flowing water sign from N+1;
5), movable storage device is with data add file name that is transmitted and flowing water sign;
6), accomplish 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; It is characterized in that; Described movable storage device comprise with movable storage device in the breakpoint transmission module that is connected of microprocessor, and the detection module that is used to detect the file situation that is connected with described microprocessor.
3. the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, the storer in the described movable storage device is flash memory or hard disk.
4. 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, and the data that are used to transmission increase the flowing water sign.
5. the breakpoint continuous transmission method of movable storage device according to claim 1 is characterized in that, the storage mode that the storer in the described movable storage device is taked is a sequential storage.
6. the breakpoint continuous transmission method of movable storage device according to claim 3 is characterized in that, described flash memory is a NAND type flash memory.
7. 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.
CN2008101030206A 2008-03-28 2008-03-28 Breakpoint continuous transmission method of mobile storage equipment Expired - Fee Related CN101546322B (en)

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 CN101546322A (en) 2009-09-30
CN101546322B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142045B (en) * 2015-08-19 2018-07-31 上海斐讯数据通信技术有限公司 PON performance datas processing system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312508A (en) * 2001-04-28 2001-09-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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312508A (en) * 2001-04-28 2001-09-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

Also Published As

Publication number Publication date
CN101546322A (en) 2009-09-30

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
US9537957B2 (en) Seamless application session reconstruction between devices
US9516093B2 (en) Data sharing methods and portable terminals
US8499190B2 (en) Portable device and backup method thereof
US8843663B2 (en) Data transmission device and method for merging multiple commands
CN101546251B (en) Mobile storage equipment with breakpoint continuous transmission
US11144372B2 (en) Cross-platform stateless clipboard experiences
US20090228480A1 (en) Method and system for saving images from web pages
EP2487572A1 (en) Systems and methods for screen data management
CN110989937A (en) Data storage method, device and equipment and computer readable storage medium
CN201188221Y (en) Mobile memory apparatus capable of breakpoint continuous transmission
CN101546322B (en) Breakpoint continuous transmission method of mobile storage equipment
CN104965835A (en) Method and apparatus for reading and writing files of a distributed file system
KR101781271B1 (en) Control system and method for cache coherency
US7010650B2 (en) Multiple data management method, computer and storage device therefor
CN104317955A (en) File scanning method and device for storage space of mobile terminal
US8705871B2 (en) Form image managing system and method
EP3073360A1 (en) Multi-media data backup method, user terminal and synchronizer
CN106775427B (en) Method and device for collecting pages
CN105224193A (en) A kind of control method of intelligent watch and intelligent watch
US20080316984A1 (en) Information processing appartus and control method of an information processing apparatus
CN111708288A (en) Data processing method and device, electronic equipment and storage medium
CN112910875A (en) Display method and device
CN103064687B (en) The defining method of a kind of program entry point OEP and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120606