[go: up one dir, main page]

CN106339277A - Method and system for realizing file breakpoint copying - Google Patents

Method and system for realizing file breakpoint copying Download PDF

Info

Publication number
CN106339277A
CN106339277A CN201610684038.4A CN201610684038A CN106339277A CN 106339277 A CN106339277 A CN 106339277A CN 201610684038 A CN201610684038 A CN 201610684038A CN 106339277 A CN106339277 A CN 106339277A
Authority
CN
China
Prior art keywords
copy
file
source file
local
same name
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
CN201610684038.4A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610684038.4A priority Critical patent/CN106339277A/en
Publication of CN106339277A publication Critical patent/CN106339277A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for realizing file breakpoint copying. The method comprises the following steps: when copying a source file, judging whether to continuously transfer the file according to a local file corresponding to the source file; and when the file is continuously transferred, acquiring non-copied data connected with the local file from the source file and writing the non-copied data into the local file. In the method, whether to continuously transfer the file is judged in the file copying process, a user can autonomously select according to own requirements; in the continuous transfer process, the non-copied data connected with the local file is directly read and copied, so that repeated copying of the copied part of the file is avoided, and much repeated copying time is saved relative to repeated copying in the prior art.

Description

A kind of method and system realizing document breaking point copy
Technical field
The present invention relates to file copy technical field, more particularly, to a kind of method and system realizing document breaking point copy.
Background technology
Often file is copied under other catalogues from a storage catalogue at ordinary times, or will from a mobile terminal File copy is in other handheld device.But in copy procedure, situation that copy procedure interrupt usually occurs;Such as set Standby do not have electric automatic shutdown, the low memory of equipment or artificial stopping, then copy interrupts.Generally, handheld device is directly moved back Go out copy procedure or copy exited in prompting, file does not preserve, therefore next copied files when must start over.For little It is very little that file copies impact again, but for big file (as the film of 1g), particularly complete in the copy procedure before interruption For becoming the big file of most of copy, copy can be lost time very much again.
In view of this, prior art has much room for improvement and improves.
Content of the invention
In view of the deficiencies in the prior art, present invention aim at offer is a kind of and realizes the method for document breaking point copy and be System, to solve the problems, such as to have no progeny in file copy in prior art again to copy to lose time.
Technical scheme is as follows:
A kind of method realizing document breaking point copy, wherein, comprising:
When a, source file copy, judge whether described source file is resumed according to the corresponding local file of described source file;
B, when being judged as being resumed, in source file obtain be connected with local file do not copy data, do not copy described Shellfish data is continued in local file.
The described method realizing document breaking point copy, wherein, before described step a, also includes:
A01, when source file copy interrupt when, copied partial document is stored as the local literary composition of the same name with described source file Part.
The described method realizing document breaking point copy, wherein, described step a01 specifically includes:
A011, when source file copy procedure is interrupted, judge current interrupt status;
If a012 normal interruption state, then delete copied partial document;If aborting state, then copied Partial document be stored as the local file of the same name with source file.
The described method realizing document breaking point copy, wherein, described step a specifically includes:
When a1, source file copy, determine whether the local file of the same name with source file: have then execution step a2;Otherwise, carry out Acquiescence copy;
A2, judge whether the size of local file is equal with source file: be to terminate to copy, otherwise eject the dish whether resuming Single;
Execution step b when a3, detection user select to resume, detection user selects to carry out acquiescence copy when not resuming.
The described method realizing document breaking point copy, wherein, described step b specifically includes:
B1, local file is converted to binary data stream and obtains its binary system byte length;
B2, source file is changed into corresponding binary data stream;
B3, when file resumes, in the binary data stream of source file, jump to and described binary system byte equal length Position;
B4, start to resume studies the binary data of source file resuming local file of the same name from described position.
The described method realizing document breaking point copy, wherein, after described step b, also includes:
C, judge source file copy whether complete;Copy completes, and terminates to copy, copy does not complete then execution step a01.
A kind of system realizing document breaking point copy, wherein, comprising:
Judge module, when extremely copying for source file, judges described source file according to the corresponding local file of described source file Whether resumed;
Resume module, for when being judged as being resumed, what in source file, acquisition was connected with local file does not copy data, The described data that do not copy is continued in local file.
The described system realizing document breaking point copy, wherein, described system also includes:
Interim preserving module, for when source file copies aborted, copied partial document being stored as and described source File local file of the same name.
Copy terminates judge module, for judging whether source file copy completes;Copy completes, and terminates to copy, copy is not Complete, enter interim preserving module.
The described system realizing document breaking point copy, wherein, described interim preserving module specifically includes:
Judge final state unit, for when source file copy procedure is interrupted, judging current interrupt status;
Data processing unit, if normal interruption state, then deletes copied partial document;If aborting state, then Copied partial document is stored as the local file of the same name with source file.
The described system realizing document breaking point copy, wherein, described judge module specifically includes:
Judging unit of the same name, when copying for source file, determines whether the local file of the same name with source file: have and then enter inspection Look into file size unit;Otherwise, carry out acquiescence copy;
Size judging unit, whether the size for judging local file is equal with source file: is to terminate to copy, otherwise eject The menu whether resuming;
Resume select unit, detection user enters when selecting to resume and resumes module, detection user selects to be given tacit consent to when not resuming Copy.
The described module that resumes specifically includes:
Length acquiring unit, for being converted to binary data stream by local file and obtaining its binary system byte length;
File translations unit, for changing into corresponding binary data stream by source file;
Position units, for when file resumes, in the binary data stream of source file, jumping to and described binary system byte The position of equal length;
Data-reading unit, for starting to resume studies the binary data of source file resume local literary composition of the same name from described position In part.
Beneficial effect: the present invention proposes a kind of method and system realizing document breaking point copy, in file copy process In be made whether the judgement that resumes, user can be facilitated independently to be selected according to self-demand;During resuming, directly from The data that do not copy being connected with local file is read out and copies, which prevent to copy partial document repeat copy Shellfish, has saved many repetition copy time with respect to copy again of the prior art.
Brief description
The method flow diagram realizing document breaking point copy that Fig. 1 provides for the present invention.
The flow chart of the method Application Example realizing document breaking point copy that Fig. 2 provides for the present invention.
The structure chart of the system realizing document breaking point copy that Fig. 3 provides for the present invention.
Specific embodiment
The invention provides a kind of method and system realizing document breaking point copy, for making the purpose of the present invention, technical side Case and effect are clearer, clear and definite, and the present invention is described in more detail below.It should be appreciated that concrete reality described herein Apply example only in order to explain the present invention, be not intended to limit the present invention.
As shown in figure 1, it realizes, for what the present invention provided, the method flow diagram that document breaking point copies, the method includes following Step:
When s1, source file copy, judge whether described source file is resumed according to the corresponding local file of described source file;
S2, when being judged as being resumed, in source file obtain be connected with local file do not copy data, do not copy described Shellfish data is continued in local file.
In the present embodiment, when source file copies, need to judge whether to have copied before this source file, basis for estimation is Local file.Before step s1, then also include step 01: when source file copy interrupts, copied partial document is stored It is the local file of the same name with described source file.
Copied between the different directories that based on file copy can be same mobile terminal or different mobile Copied between terminal.Interruption occurs during carrying out file copy.Such as: mobile phone does not have electricity, straight in copy procedure Connect shutdown;Or mobile phone EMS memory is not enough, sufficient space storage is not had not complete the file of copy, it is not complete that mobile phone stopping continues copy The file becoming, the interruption of above-mentioned various situations is the aborted during file copy.
But and not all interruption broadly falls into aborted, cancelling copy when individual subscriber wish is not aborted.Different Often interrupting copy is that copy procedure interrupts appearance extremely, complete partial document to carry out deletion being not user's institute's phase to having copied Hope.
Generally, when interrupting occurs in file copy process, no matter being that normal interruption copies or aborted is copied Shellfish, all can delete the file of copy part.If it is desired to continuing copied files it is necessary to re-start copy.During small documents copy Between comparatively short can also accept, but big file copies just to compare again loses time.Such as: the film of 1g, copy 90%, Spend a few minutes, aborted now occurs, then needs again to spend a few minutes to be copied.If copy procedure occurs repeatedly Aborted also must re-start copy.
In the present embodiment, described step 01 specifically includes:
Step 011, when source file copy procedure is interrupted, judge current interrupt status;
In order to the time that aborted copies the time and about again copies is occurring, point out the file of copy part in this step Data cached preserved.But when interrupting occurs in file copy process, not necessarily aborted copy, to copying Partial file data cached preserved before be made whether as aborted it should interruption occur to file copy process The judgement of copy.
If step 012 normal interruption state, then delete copied partial document;If aborting state, then will Copied partial document is stored as the local file of the same name with source file.
The file deleted or stored is that the binary system of file is data cached, and this local file of the same name is located at storage Under catalogue.When aborted copy occurs in copy procedure, preserve to copying the data cached of partial document, so The loss of file in copy procedure can effectively be prevented.The binary data of this data cached file for copying part Stream.In copied files, even if the situation of multiple aborted copy occurs, also only need to the file in original copy part On the basis of resumed it is therefore prevented that being repeated to copy, the time of significantly less copy, more aobvious to the effect of big file copy Write.
Described step s1 specifically includes:
When step 11, source file copy, determine whether the local file of the same name with source file: have then execution step 12;Otherwise, Carry out acquiescence copy.
When carrying out file copy, when source file is that copied files then carry out normal copy function first, if source file is not For copied files first, then need to judge whether to meet the condition resuming, carry out corresponding operating again.
Judge that whether source file is copied files first, be judge whether to have under storage catalogue of the same name with source file Local file.When the local file not having of the same name as copies first, now source file is carried out acquiescence copy flow process. When exist local file of the same name be non-copy first, need to further carry out resuming conditional judgment.
Step 12, judge whether the size of local file is equal with source file: be to terminate to copy, otherwise eject and whether continue The menu passing.
Judge whether the size of local file of the same name is identical with source file;If source file size is equal to local literary composition of the same name Part, then terminate to copy;If source file size is more than local file size of the same name, ejects and resume dialog box.Comparison document is big Little, can be binary word joint number, number of characters or the memory capacity comparing two files.
The described dialog box that resumes includes the percentage ratio of local file of the same name and source file and resumes button.Display is of the same name Local file and source file percentage ratio, user can be allowed when understanding aborted copy, to complete the file size copying.With When, the setting resuming button can facilitate user independently to be selected according to self-demand, you can be selected by resuming button Resume or cancel and resume.
Execution step s2 when step 13, detection user select to resume, detection user selects to carry out acquiescence copy when not resuming.
When user select press resume in dialog box when resuming button, carry out resuming operation.Resume when user closes this During dialog box, detection user selects not resume (cancel and resuming), now carries out acquiescence copy flow process.
Described step s2 specifically includes:
Step 21, local file is converted to binary data stream and obtains its binary system byte length;
Step 22, source file is changed into corresponding binary data stream;
Step 23, when file resumes, in the binary data stream of source file, jump to and described binary system byte length phase Deng position;
Step 24, start to resume studies the binary data of file resuming local file of the same name from described position.
In described step s2, confirm to carry out after file resumes, source file unfinished portion to be entered by resuming dialog box Row copy.When being copied on the basis of source file copy part, should confirm first to have copied the size of partial document.
Local file of the same name is converted to binary system and obtains binary system byte length length.Source file is changed into Corresponding binary data stream, the length of this data flow is length0 it is known that length > length0.Resume when carrying out file When, the binary system byte length jumping directly to source file is the position of length;Binary system byte length from source file Read the binary data of source file at length, and resume in local file of the same name.During resuming, directly jump Go to copy and be read out data and copy at partial binary byte length, which prevent and repeat to copy, with respect to existing The copy again in technology is had to save many repetition copy time.
Realize document breaking point copy method also include: s3, judge source file copy whether complete;Copy completes, and terminates Copy, copy does not complete then execution step 01.
When file copy interrupts, carry out the judgement whether source file copy procedure completes.When the source file preserving corresponds to Local file of the same name identical with source file size when, then this source file copy complete, now exit program of file copy and will copy What shellfish completed data cached is saved in this local file of the same name.
When the corresponding local file size of the same name of source file preserving is less than source file size, it is that copy is not complete Become.Now copy interrupt status is judged, and be recycled into step 01.Occur repeatedly interrupting during actual copy, Can repeatedly be recycled into resuming, without source file being re-started copy every time.
The above-mentioned method realizing document breaking point copy for handheld device a kind of in the present invention, with reference in Fig. 2 present invention The implementation process figure of methods described, is further advanced by example and is explained in greater detail.
For example: include a film video in certain directory location of mobile phone, the file of film is entitled: Moive.rmvb, film size is 1g, by under the playing catalog of the video player of this film copy to mobile phone.The present embodiment institute The method of stating comprises the following steps:
Step s11, beginning copied files;
In order to there be enough internal memories to carry out the storage of this film, need before continuing copy, mobile phone other file to be deleted Remove.The size deleting file is at least greater than the size of non-copied files, i.e. 1g*15%=1024mb*15% at least to be deleted.When When the internal memory of mobile phone is enough, re-start the copy of file.
Step s12, judge whether that satisfaction resumes condition;
Proceed by the copy of file, source file is compared one by one with the filename under this storage catalogue, if not existing same The local file of name, then enter step s23;If there is local file of the same name, and the size of source file is more than under storage catalogue The size of local file of the same name, then enter step s24.In the present embodiment, if the other entitled moive1.rmvb of copy Film, then enter step s23;If copying the film of entitled moive.rmvb, during because of aborted, store 85% source file Size, then enter step s24.
Step s13, acquiescence copy flow process;
Acquiescence copy flow process is to proceed by copy, and the data by copy from the binary data of the initial position of source file Be stored in local file source file of the same name under.
Step s14, whether resumed;
When the local file of the same name judging source file meets and resumes condition, now show continuous on the display interface of mobile phone Pass dialog box.Described resume dialog box and include the percentage of local file of the same name and source file when resume button.This enforcement In example, local file of the same name is 85% with the percentage ratio of source file, when user recognizes aborted copy by this percentage ratio Complete the size of copied files.When user closes this and resumes dialog box, it is that cancellation resumes, then enter step s13;Work as user When click resumes button, enter and normally resume step s21.
Step s21, acquisition have completed binary system byte length length of copied files;
In the present embodiment, complete the copy of 85% source file when aborted copies, obtain this 85% source file two enter Byte length processed.1g=1024mb, 1mb=1024kb, 1kb=1024 byte.
Step s22, source file is changed into corresponding binary data stream, jump directly to binary system byte length The position of length;
The source file of the film of entitled moive.rmvb is changed into binary data stream, jumps directly to copy part two At system byte length length, now this source file is divided into two parts.It was to complete to copy before length byte Part, after length byte be do not copy part.It is only necessary to start to copy after this length byte during resuming Shellfish, without again starting to copy for 1 from byte length, if so abnormal conditions occur in copy procedure, again Copy time has largely been saved during copy.
Step s23, at binary system byte length length of source file, read binary data, and resume of the same name Local file in;
The file not copied in source file is read out with data and copy, the method for copy is a lot, provides two kinds of tools in example The copy mode of body.
Mode one:
randomaccessfile randomfile=new randomaccessfile(moive.rmvb,“rw”);
// open a random access file entitled " moive.rmvb " readable written document stream
randomfile.seek(length);// jump to byte length for length position
Randomfile.writebytes(content);// write binary data stream
Randomfile.close();// close closed file
Mode two:
filewriter writer=new filewriter(moive.rmvb,ture);
// open a written document device;Ture represents and is then written to file, is not to cover
writer.write(content);// write data
writer.close();// close closed file
Step s31, judge copy whether complete;
When copy procedure is interrupted, copy procedure is monitored, if local file size of the same name under storage catalogue etc. In source file size, then copy procedure terminates;If the local file size of the same name under storage catalogue is less than source file size, Then go successively to step s01.
Step s01, detection copy interrupt appearance extremely;
When film copy is to 85%, mobile phone prompting internal memory is full, and file copy process terminates, and user does not carry out cancelling copy Operation, now judges that this copy termination procedure copies for aborted.
Step s02, copied the data cached of partial document and be saved in local file of the same name;
When copying for aborted, then the caching binary data stream having completed 85% file of copy still by this film is protected Exist entitled under the playing catalog of video player: under the local file of the same name of moive.rmvb.
The method that this realizes document breaking point copy can constantly circulate and carry out, and be to occur in copy procedure repeatedly interrupting In the case of still can complete the copy of whole file by several times.During this, each file is all to have copied from last time to complete It is read out data and copy at binary system byte length.This is realized document breaking point copy method and can repeatedly be resumed, and It is not required to All Files to restart to copy, for larger file, can be resumed with free time in batches, literary composition can be completed The copy of part does not interfere with the application of normal time again.
Based on a kind of above-mentioned embodiment of the method realizing document breaking point copy, present invention also offers one kind realizes file The system of breakpoint copy, as shown in figure 3, described system includes:
According to the corresponding local file of described source file, judge module 100, when copying for source file, judges that described source file is No resumed;As detailed above.
Resume module 200, for when being judged as being resumed, what acquisition was connected with local file in source file does not copy Shellfish data, the described data that do not copy is continued in local file;As detailed above.
The described system realizing document breaking point copy, wherein, described system also includes:
Interim preserving module, for when source file copy interrupts, copied partial document being stored as and described source file Local file of the same name;As detailed above.
Copy terminates judge module, for judging whether source file copy completes;Copy completes, and terminates to copy, copy is not Complete, enter interim preserving module;As detailed above.
The described system realizing document breaking point copy, wherein, described interim preserving module specifically includes:
Judge final state unit, for when source file copy procedure is interrupted, judging current interrupt status;Concrete as above institute State.
Data processing unit, if normal interruption state, then deletes copied partial document;If aborted shape State, then be stored as the local file of the same name with source file by copied partial document;As detailed above.
The described system realizing document breaking point copy, wherein, described judge module 100 specifically includes:
Judging unit of the same name, when copying for source file, determines whether the local file of the same name with source file: have and then enter inspection Look into file size unit;Otherwise, carry out acquiescence copy;As detailed above.
Size judging unit, whether the size for judging local file is equal with source file: is to terminate to copy, otherwise Eject the menu whether resuming;;As detailed above.
Resume select unit, detection user enters when selecting to resume and resumes module, detection user selects to carry out when not resuming Acquiescence copy;As detailed above.
The described module 200 that resumes specifically includes:
Length acquiring unit, for being converted to binary data stream by local file and obtaining its binary system byte length;Specifically As mentioned above.
File translations unit, for changing into corresponding binary data stream by source file;As detailed above.
Position units, for when file resumes, in the binary data stream of source file, jumping to and described binary system The equal position of byte length;As detailed above.
Data-reading unit, for starting to resume studies the binary data of source file resume basis of the same name from described position In ground file;As detailed above.
In sum, a kind of handheld device disclosed by the invention realizes the method and system of document breaking point copy, works as copy During occur aborted copy when, preserve to having completed the data cached of copied files, so can be effective Prevent the loss of file in copy procedure;Setting includes the percentage ratio of local file of the same name and source file and resumes button Resume dialog box, user completes the size of copied files when recognizing aborted copy by this percentage ratio, and resumes button Setting user independently can be selected according to the demand of itself;During resuming, jump directly to copy binary word It is read out data and copy at section length, which prevent and repeat to copy, save with respect to copy again of the prior art Many repetition copy time;Can repeatedly be resumed in this invention, restart to copy without All Files, for relatively Big file, can be resumed with free time in batches, and the copy that can complete file does not interfere with answering of normal time again With.
The division of above-mentioned functions module only in order to illustrate, in actual applications, can be as needed by above-mentioned functions Distribution to be completed by different functional modules, that is, be divided into different functional modules, to complete all or part of foregoing description Function.
One of ordinary skill in the art will appreciate that all or part of flow process in above-described embodiment method, can be by Computer (mobile terminal) program completes come the hardware to instruct correlation, and described computer (mobile terminal) program can be stored in one In computer (mobile terminal) read/write memory medium, program is upon execution, it may include the flow process of the embodiment of above-mentioned each method. Storage medium therein can be magnetic disc, CD, read-only memory (rom) or random access memory (ram) etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention Shield scope.

Claims (10)

1. a kind of method realizing document breaking point copy is it is characterised in that include:
When a, source file copy, judge whether described source file is resumed according to the corresponding local file of described source file;
B, when being judged as being resumed, in source file obtain be connected with local file do not copy data, do not copy described Shellfish data is continued in local file.
2. the method realizing document breaking point copy according to claim 1 is it is characterised in that before described step a, also wrap Include:
A01, when source file copy aborted, copied partial document is stored as of the same name with described source file local File.
3. the method realizing document breaking point copy according to claim 2 is it is characterised in that described step a01 specifically includes:
A011, when source file copy procedure is interrupted, judge current interrupt status;
If a012 normal interruption state, then delete copied partial document;If aborting state, then copied Partial document be stored as the local file of the same name with source file.
4. the method realizing document breaking point copy according to claim 1 is it is characterised in that described step a specifically includes:
When a1, source file copy, determine whether the local file of the same name with source file: have then execution step a2;Otherwise, carry out Acquiescence copy;
A2, judge whether the size of local file is equal with source file: be to terminate to copy, otherwise eject the dish whether resuming Single;
Execution step b when a3, detection user select to resume, detection user selects to carry out acquiescence copy when not resuming.
5. the method realizing document breaking point copy according to claim 1 is it is characterised in that described step b specifically includes:
B1, local file is converted to binary data stream and obtains its binary system byte length;
B2, source file is changed into corresponding binary data stream;
B3, when file resumes, in the binary data stream of source file, jump to and described binary system byte equal length Position;
B4, start to resume studies the binary data of source file resuming local file of the same name from described position.
6. the method realizing document breaking point copy according to claim 2 is it is characterised in that after described step b, also wrap Include:
C, judge source file copy whether complete;Copy completes, and terminates to copy, copy does not complete then execution step a01.
7. a kind of system realizing document breaking point copy is it is characterised in that include:
Whether judge module, when copying for source file, judge described source file according to the corresponding local file of described source file Resumed;
Resume module, for when being judged as being resumed, what in source file, acquisition was connected with local file does not copy data, The described data that do not copy is continued in local file.
8. the system realizing document breaking point copy according to claim 7 is it is characterised in that described system also includes:
Interim preserving module, for when source file copies aborted, copied partial document being stored as and described source File local file of the same name.
9. the system realizing document breaking point copy according to claim 7 is it is characterised in that described judge module specifically wraps Include:
Judging unit of the same name, when copying for source file, determines whether the local file of the same name with source file: have and then enter inspection Look into file size unit;Otherwise, carry out acquiescence copy;
Size judging unit, whether the size for judging local file is equal with source file: is to terminate to copy, otherwise eject The menu whether resuming;
Resume select unit, detection user enters when selecting to resume and resumes module, detection user selects to be given tacit consent to when not resuming Copy.
10. the system realizing document breaking point copy according to claim 7 is it is characterised in that the described module that resumes specifically is wrapped Include:
Length acquiring unit, for being converted to binary data stream by local file and obtaining its binary system byte length;
File translations unit, for changing into corresponding binary data stream by source file;
Position units, for when file resumes, in the binary data stream of source file, jumping to and described binary system byte The position of equal length;
Data-reading unit, for starting, from described position, the binary data of source file of resuming studies, and resumes basis of the same name In ground file.
CN201610684038.4A 2016-08-18 2016-08-18 Method and system for realizing file breakpoint copying Pending CN106339277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610684038.4A CN106339277A (en) 2016-08-18 2016-08-18 Method and system for realizing file breakpoint copying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610684038.4A CN106339277A (en) 2016-08-18 2016-08-18 Method and system for realizing file breakpoint copying

Publications (1)

Publication Number Publication Date
CN106339277A true CN106339277A (en) 2017-01-18

Family

ID=57825767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610684038.4A Pending CN106339277A (en) 2016-08-18 2016-08-18 Method and system for realizing file breakpoint copying

Country Status (1)

Country Link
CN (1) CN106339277A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168855A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 File copy monitoring method and device
CN111432008A (en) * 2020-03-30 2020-07-17 中科九度(北京)空间信息技术有限责任公司 Breakpoint multi-source continuous transmission data transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103123576A (en) * 2012-12-14 2013-05-29 厦门市美亚柏科信息股份有限公司 Computer storage medium replica method based on pointer
US20150142746A1 (en) * 2007-06-08 2015-05-21 Apple Inc. Manipulating Electronic Backups
US20160217047A1 (en) * 2013-02-01 2016-07-28 Symbolic Io Corporation Fast system state cloning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142746A1 (en) * 2007-06-08 2015-05-21 Apple Inc. Manipulating Electronic Backups
CN103123576A (en) * 2012-12-14 2013-05-29 厦门市美亚柏科信息股份有限公司 Computer storage medium replica method based on pointer
US20160217047A1 (en) * 2013-02-01 2016-07-28 Symbolic Io Corporation Fast system state cloning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌: "文件断点部分复制工具设计与实现", 《电脑编程技巧与维护》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168855A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 File copy monitoring method and device
CN111432008A (en) * 2020-03-30 2020-07-17 中科九度(北京)空间信息技术有限责任公司 Breakpoint multi-source continuous transmission data transmission method

Similar Documents

Publication Publication Date Title
CN102360298B (en) Software upgrading method of terminal equipment
KR102098581B1 (en) Terminal-based control method, device, and terminal for WAKELOCK
CN104808952B (en) data cache method and device
CN111176549B (en) Data storage method and device based on cloud storage and storage medium
CN107957906A (en) Application management method, computer installation, the computer-readable recording medium of terminal device
CN104679851B (en) Data deleting method and terminal
CN107943501A (en) Embedded device upgrade method, device, computer equipment and storage medium
CN101458644A (en) Document autosave method
CN101154173A (en) Method for policy-based data placement when restoring files from off-line storage
CN101739311A (en) Method and device for carrying out safety backup on memory data
CN104035842A (en) Method for deleting and recovering built-in application program
CN109753381A (en) Continuous data protection method based on object storage
CN106339277A (en) Method and system for realizing file breakpoint copying
CN102750202A (en) Data protection method and device
CN106203159A (en) A kind of method and apparatus of application program operation file
US12130712B2 (en) Data migration method and apparatus for database
CN104866245B (en) The method and apparatus of synchronisation snapshot between buffer memory device and storage system
US6256714B1 (en) Computer system with efficient memory usage for managing multiple application programs
CN109327526A (en) Portable storage device based on cloud storage
CN109829324B (en) A method for safe data storage and quick call and mobile terminal
CN108334383B (en) Information processing method and electronic equipment
US20030041075A1 (en) Data backup method
CN101320389B (en) File management method and apparatus
JP4641443B2 (en) Log information management apparatus, log information management method, and log information management program
CN107391639A (en) A kind of automatic method, mobile terminal and storage device for recovering recycle bin file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170118

RJ01 Rejection of invention patent application after publication