CN101546251B - Mobile storage equipment with breakpoint continuous transmission - Google Patents

Mobile storage equipment with breakpoint continuous transmission Download PDF

Info

Publication number
CN101546251B
CN101546251B CN200810103016XA CN200810103016A CN101546251B CN 101546251 B CN101546251 B CN 101546251B CN 200810103016X A CN200810103016X A CN 200810103016XA CN 200810103016 A CN200810103016 A CN 200810103016A CN 101546251 B CN101546251 B CN 101546251B
Authority
CN
China
Prior art keywords
data
storage device
controller
breakpoint
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.)
Expired - Fee Related
Application number
CN200810103016XA
Other languages
Chinese (zh)
Other versions
CN101546251A (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 CN200810103016XA priority Critical patent/CN101546251B/en
Publication of CN101546251A publication Critical patent/CN101546251A/en
Application granted granted Critical
Publication of CN101546251B publication Critical patent/CN101546251B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to mobile storage equipment with breakpoint continuous transmission, which comprises an interface for interchanging data with peripheral equipment, a controller connected with the interface, a memory connected with the controller, and a microprocessor connected with the controller. The mobile storage equipment also comprises a breakpoint continuous transmission module connected with the microprocessor and a detection module connected with the microprocessor and used for detecting file situations. The breakpoint continuous transmission module is connected with the controller and is used for adding running marks for the transmitted data, and the running marks are the marks sequentially added into the file data at regular intervals.

Description

The movable storage device of breakpoint transmission
[affiliated technical field]
The present invention relates to a kind of movable storage device of realization breakpoint transmission, particularly a kind of breakpoint transmission.
[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 movable storage device of breakpoint transmission, comprise the interface that carries out data interaction with external unit, the controller that is connected with interface, the storer that is connected with controller, and and the controller microprocessor linked, also comprise the breakpoint transmission module that is connected with microprocessor, and the detection module that is used to detect the file situation that is connected with microprocessor, described breakpoint transmission module is connected with controller, 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 carried out scan operation to the legacy data memory block before carrying out data transmission, and scanning result reported to the microprocessing unit of movable storage device, whether described scanning result is for existing same file name and/or finish sign.
The storage mode that described storer is taked is a sequential storage.
Described storer is flash memory or hard disk.
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 (5)

1. the movable storage device of a breakpoint transmission, comprise the interface that carries out data interaction with external unit, the controller that is connected with interface, the storer that is connected with controller, and and the controller microprocessor linked, it is characterized in that also comprising the breakpoint transmission module that is connected with microprocessor, and the detection module that is used to detect the file situation that is connected with microprocessor, described breakpoint transmission module is connected with controller, 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 carried out scan operation to the legacy data memory block before carrying out data transmission, and scanning result reported to the microprocessing unit of movable storage device, whether described scanning result is for existing same file name and/or finish sign.
2. the movable storage device of breakpoint transmission according to claim 1 is characterized in that, the storage mode that described storer is taked is a sequential storage.
3. the movable storage device of breakpoint transmission according to claim 1 is characterized in that, described storer is flash memory or hard disk.
4. the movable storage device of breakpoint transmission according to claim 3 is characterized in that, described flash memory is a NAND type flash memory.
5. the movable storage device of breakpoint transmission 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.
CN200810103016XA 2008-03-28 2008-03-28 Mobile storage equipment with breakpoint continuous transmission Expired - Fee Related CN101546251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810103016XA CN101546251B (en) 2008-03-28 2008-03-28 Mobile storage equipment with breakpoint continuous transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810103016XA CN101546251B (en) 2008-03-28 2008-03-28 Mobile storage equipment with breakpoint continuous transmission

Publications (2)

Publication Number Publication Date
CN101546251A CN101546251A (en) 2009-09-30
CN101546251B true CN101546251B (en) 2011-12-28

Family

ID=41193405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810103016XA Expired - Fee Related CN101546251B (en) 2008-03-28 2008-03-28 Mobile storage equipment with breakpoint continuous transmission

Country Status (1)

Country Link
CN (1) CN101546251B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801754A (en) * 2011-05-24 2012-11-28 英业达集团(天津)电子技术有限公司 Method and system for breakpoint transmission
CN103220361A (en) * 2013-04-23 2013-07-24 深圳市元征科技股份有限公司 Method for breakpoint resume and diagnostic equipment with breakpoint resume function
CN108334282B (en) * 2017-12-28 2021-07-09 宁德时代新能源科技股份有限公司 Method and device for downloading program file of automobile electronic control unit
CN112188025A (en) * 2020-09-22 2021-01-05 北京中房智宝科技有限公司 USB transmission image stabilization solution

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN201188221Y (en) * 2008-03-28 2009-01-28 北京华旗资讯数码科技有限公司 Mobile memory apparatus capable of breakpoint continuous transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN201188221Y (en) * 2008-03-28 2009-01-28 北京华旗资讯数码科技有限公司 Mobile memory apparatus capable of breakpoint continuous transmission

Also Published As

Publication number Publication date
CN101546251A (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
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
US8499190B2 (en) Portable device and backup method thereof
US8843663B2 (en) Data transmission device and method for merging multiple commands
JP2004171528A5 (en)
US8914326B2 (en) Method for presenting files upon switching between system states and portable terminal
EP1510921A3 (en) Remote copy storage system
US20080082547A1 (en) Apparatus and method for automatically migrating user's working data
CN101859220A (en) Electronic device and data processing method thereof
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
US20160328012A1 (en) Status Switching Method
US7010650B2 (en) Multiple data management method, computer and storage device therefor
CN104317955A (en) File scanning method and device for storage space of mobile terminal
EP3073360B1 (en) Multi-media data backup method, user terminal and synchronizer
CN102520878B (en) Method and system for visiting intelligent secure digital (SD) card
US8705871B2 (en) Form image managing system and method
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

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

CF01 Termination of patent right due to non-payment of annual fee