CN103023988B - File synchronisation method, server, client and terminal device - Google Patents

File synchronisation method, server, client and terminal device Download PDF

Info

Publication number
CN103023988B
CN103023988B CN201210491796.6A CN201210491796A CN103023988B CN 103023988 B CN103023988 B CN 103023988B CN 201210491796 A CN201210491796 A CN 201210491796A CN 103023988 B CN103023988 B CN 103023988B
Authority
CN
China
Prior art keywords
file
synchronization
client
file synchronization
information
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.)
Active
Application number
CN201210491796.6A
Other languages
Chinese (zh)
Other versions
CN103023988A (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201210491796.6A priority Critical patent/CN103023988B/en
Publication of CN103023988A publication Critical patent/CN103023988A/en
Application granted granted Critical
Publication of CN103023988B publication Critical patent/CN103023988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of file synchronisation method, file synchronization server and file synchronization client, the method comprises: when file synchronization server obtains file from the first file synchronization client, the recorded information that creates or obtain this file, described recorded information comprises the situation of the uploading information of this file; Obtain in the process of described file the recorded information of described this file of file synchronization server real-time update; Described file synchronization server is to the recorded information of the synchronous described file of the second file synchronization client and described file, or according to the recorded information of file, only synchronously uploads successful file to the second file synchronization client. File synchronisation method of the present invention, server, client and terminal device, can avoid losing file or repeatedly uploading or download because of erroneous judgement.

Description

File synchronisation method, server, client and terminal device
Technical field
The present invention relates to file synchronization field, especially a kind of file synchronisation method, server, clientAnd terminal device.
Background technology
In cloud storage system, the terminal device quantity of user's access constantly increases, so-called terminal device bagDraw together notebook computer, desktop computer, MP4, TV, panel computer, mobile communication equipment etc., user alsoCan carry out personal settings to each equipment. The various Synchronization Network dish products that prior art provides, can makeUser is connected file synchronization server with various terminal devices, help user and realize on each terminal deviceFile-sharing and management.
So-called Synchronization Network dish, for example fast disk board (trade mark) net dish General Requirements is protected between multiple devicesHold identical file data consistent.
But sometimes there will be, the file newly adding on a computer, may not have Complete Synchronization to arrive service end,Just shut down or disconnected network. On an other computer, download so this not file of Complete SynchronizationTime just incomplete, this can cause existing system prompting user not download, but does not do any other prompting,This can make user puzzled in do not understand can not be synchronous reason, and be synchronized to what degree, cause usingFamily can not take adequate measures to process according to different reasons, and serious causes File lose and repeatLower biography.
Summary of the invention
The technical problem to be solved in the present invention be to provide a kind of file synchronisation method, server, client andTerminal device, solves the problem of losing file or repeatedly uploading or download because of erroneous judgement.
For solving the problems of the technologies described above, the invention provides a kind of file synchronisation method, the method comprises:
When file synchronization server obtains file from the first file synchronization client, create or obtain this fileRecorded information, described recorded information comprises the situation of the uploading information of this file;
Obtain in the process of described file the record letter of described this file of file synchronization server real-time updateBreath;
Described file synchronization server is to the synchronous described file of the second file synchronization client and described fileRecorded information, or according to the recorded information of file, only synchronously upload successfully to the second file synchronization clientFile.
For solving the problems of the technologies described above, the invention provides a kind of file synchronization server, this file synchronizationServer comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, the recorded information of synchronous described file, or according to the recorded information of file, only to the second literary compositionPart sync client is synchronously uploaded successful file. .
For solving the problems of the technologies described above, the invention provides a kind of file synchronization client, this file synchronizationClient comprises:
Listed files receiver module, transmits up-to-date listed files for receiving file synchronization server, itsComprise the recorded information of each file;
Download module, for determine the file that needs renewal according to this listed files, and from file synchronization serviceDevice is downloaded.
For solving the problems of the technologies described above, the invention provides another kind of file synchronization client, described fileSync client comprises:
File directory synchronization module, the up-to-date file directory sending for receiving file synchronization server,In this file directory, only comprise and upload successful file;
File synchronization module, for determine the file that needs renewal according to this file directory, and from file synchronizationServer is downloaded the file that needs renewal.
For solving the problems of the technologies described above, the invention provides terminal device described in a kind of terminal device and compriseDescribed file synchronization client.
The each file synchronization client of the present invention and file synchronization server stores comprise that file uploads the literary composition of situationPart recorded information, user can be known file record information by output device, thereby corresponding file is enteredThe management that row is correct and synchronous processing.
Brief description of the drawings
Fig. 1 is the schematic diagram of file synchronisation method embodiment 1 of the present invention;
Fig. 2 is file synchronization server of the present invention showing to the second synchronous described file of file synchronization clientIntention;
Fig. 3 is the schematic diagram of file synchronisation method embodiment 2 of the present invention;
Fig. 4 is the schematic diagram of file synchronization server example 1 of the present invention;
Fig. 5 is the schematic diagram of file synchronization server example 2 of the present invention;
Fig. 6 is the schematic diagram of file synchronization server example 3 of the present invention;
Fig. 7 is the schematic diagram of file synchronization client implementation example 1 of the present invention;
Fig. 8 is the schematic diagram of file synchronization client implementation example 2 of the present invention,
Detailed description of the invention
Research finds why prior art can not real-time implementation point out file shape in the various terminal devices of userState reason is because the file layout situation on the state of the each equipment of investigation and the each equipment of collection needs fileBetween synchronization server and various places mobile device, cooperate. Possible newly-increased or minimizing terminal device at any time,And variation file content makes investigation work become complicated, and hardware between the equipment of various places, software,Network environment difference also causes effectively realizing.
It should be noted that, describe for the ease of difference, in the present invention, by the file synchronization of upload fileClient is called " upload file sync client " or " the first file synchronization client ", will receive literary compositionThe file synchronization client of part is called " download file sync client " or " the second file synchronization client ".
The file syn chronizing system the present invention relates to comprises file synchronization server and each file synchronization clientEnd, this file syn chronizing system possesses synchronizing function. It is pointed out that described herein upload and underCarry can not be simple be interpreted as it is only upload and download file, particularly, for certain sync clientThe file not having, realizes the merit from file synchronization server and alternative document sync client download fileCan; The file existing for sync client, realizes from other functions of synchronous documents everywhere, therefore thisInvention " uploading " and " download " is defined as and comprised synchronous implication.
Embodiment 1
In file management method embodiment 1 of the present invention, file synchronization server end real-time update comprises fileUpload situation recording of information information, and when to the second file synchronization client synchronous documents, synchronously shouldThe recorded information of file, makes the second file synchronization client can understand in time the situation of uploading of this file,So that in the time of failed download, take correct measure to be remedied, as shown in the figure, embodiment of the method 1 is wrappedDraw together:
Step 101: when file synchronization server obtains file from the first file synchronization client, create orObtain the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
The recorded information of described file also comprises filename, file type, file number or file size.
The described situation information of uploading is to show to upload successfully, need upload, uploading or uploading the letter of failureBreath, wherein needs to upload, is uploading or uploading unsuccessfully all expressions and do not upload successfully.
Preferably, described in, uploading situation information adopts bit identification to represent. Such as 01 expression need be uploaded, 10Represent to upload, 11 represent to upload successfully, and 00 represents to upload failure.
Alternatively, the file that described file synchronization server obtains is file synchronization client active upload,Described the first file synchronization client is before file described in active upload, first to described file synchronization serverUpload the file directory of file to be uploaded, described file synchronization server is according to the each literary composition of this file directory creatingThe recorded information of part.
In the time that a local file synchronization customer end A will start upload file, this file sync client AFirst submit to total file number that one of file synchronization server need to upload to file synchronization server,Be spanned file catalogue a.
Pass for ongoing file between two mobile terminal devices that file synchronization client is installedDefeated, it is all simultaneously online that we are not limited to two mobile terminal devices, due to file synchronization serverExist, we can realize the state of each file of simultaneous display in file directory, such a carryingShow, can well tell user file in the direct variable condition of different machines. For example one is fallenThe computer of line will be uploaded N file originally, had in fact only uploaded the situation of m file, can be prompted toCarrying out synchronous the machine.
In another interchangeable scheme, file synchronization server obtains before file, the first file synchronization clientFirst upload the file directory of file to be uploaded to described file synchronization server, described file synchronization serverDetermine the file that need upload according to this file directory, and create the recorded information of each file, and described in requiringThe file that the need of the first file synchronization client upload are uploaded.
In this case, the situation of the uploading information in the recorded information of the file of establishment is " need upload ",If employing bit-wise is 01.
For the situation of transfer files between file synchronization customer end A and file synchronization customer end B, fileSync client A and B record respectively two places file directory b1 and b2, and it is same that this catalogue is recorded in fileIn step customer end A and B, and file synchronization customer end A and B are respectively on file synchronization serverPass this file directory b1 and b2. File synchronization server is obtaining file synchronization customer end A and B respectivelyAfter the file directory b1 and b2 uploading, carry out verification and determine final file directory b.
As an expansion, file synchronization customer end A and B can arrange certain file synchronization client and holdLoad upload file catalogue b is to the task of file synchronization server.
Step 102: obtain in the process of described file described file synchronization server real-time update this articleThe recorded information of part;
After file starts to upload, file synchronization server is by the situation of the uploading letter in the recorded information of this fileBreath is updated to " uploading ", if adopt bit to represent, is " 10 ".
If in file upload procedure, break down, cause file upload procedure to be interrupted, file synchronization clothesBusiness device is " uploading failure " by the situation of the uploading information updating in the recorded information of this file, if adopt ratioSpecial expression is 00.
If file is uploaded smoothly, the situation of the uploading information in the recorded information of this file upgraded is for " to uploadSuccess ".
Step 103: described file synchronization server to the synchronous described file of the second file synchronization client andThe recorded information of described file.
Particularly, user can by show or the way of output such as printing obtain the first file synchronization client,The recorded information of file in the second file synchronization client.
Certainly, actual conditions there will be, and many installations need to be supported simultaneously and process to file synchronization serverThere is the mobile terminal device of file synchronization client to upload download. File synchronization server need to be from multiple literary compositionsPart sync client is obtained file, and creates accordingly or obtain the recorded information of All Files. Meanwhile, literary compositionThe recorded information of part synchronization server real-time update All Files. File synchronization server has demand to manyRecorded information and the file of the synchronous All Files of file synchronization client. Certainly, be guaranteed efficiency and jointBandwidth-saving, file synchronization server is only synchronously uploaded successful file to file synchronization client.
As shown in Figure 2, file synchronization server is to the step of the synchronous described file of the second file synchronization clientSuddenly comprise:
Step 201: described file synchronization server in real time timing or according to application to the second file synchronizationClient is transmitted up-to-date listed files, comprising the recorded information of each file;
File synchronization server transmits listed files to other active terminals equipment in real time, like this other onePlatform computer document sync client B obtains listed files in real time, same owing to having recorded file in listed filesStep customer end A upload situation information to file synchronization server, just can be clear and definite see there are how many literary compositionsPart needs to download, and has and how much successfully uploads, and has and how much is also uploading, and has and how much uploads failure.
Step 202: the second file synchronization client is determined the file that needs renewal according to this listed files;
Step 203: the second file synchronization client is downloaded or only for all files that upgrade that needDownload and need to upgrade and upload successful file.
The second file synchronization client sends download request for all files that upgrade that need, inevitableGround, for the file of uploading failure, this second file synchronization client also cannot be downloaded successfully.
For above defect, there are two kinds of settling modes:
Settling mode one: file synchronization client judges that the recorded information of the file of failed download is updated toWhile passing successfully, again download;
Because downloading this file when, downloaded the recorded information of this file, the file of download file withWalking client can recognize, the reason of this failed download is that file is uploaded failure, this file synchronization visitorThe file of family end this failed download in the up-to-date listed files that judges file synchronization server subsequent deliveryThe situation of uploading information updating when uploading successfully, again initiate download request for this file.
Settling mode two: the recorded information of described file also comprises the download situation letter of file synchronization clientBreath, the method also comprises:
File synchronization server is in the time of described second this file of file synchronization client downloads, and real-time update shouldThe download situation information of file synchronization client;
If cause failed download because uploading failure, file synchronization server judges the situation of the uploading letter of this fileBreath when uploading successfully, notifies described the second file synchronization client again to download.
There is new equipment access or withdraw from, file synchronization server update and the corresponding file directory of deletion, andAnd preserve a backup and file synchronization server, give historical record for change for user.
The file directory that file synchronization client obtains, also provides user task interface, supplies user to variousState manages.
For example: to the abnormal file of upper download, provide deletion, again upload the assignment options such as download forFamily is selected, and carries out.
Embodiment 2
In file management method embodiment 2 of the present invention, file synchronization server end real-time update comprises fileUpload situation recording of information information, and according to this recorded information, only same to the second file synchronization clientStep is uploaded successful file, has effectively avoided the unsuccessful literary composition of uploading of the second file synchronization client downloadsPart and the problem of the failed download that causes as shown in Figure 3, comprising:
Step 301: when file synchronization server obtains file from the first file synchronization client, create orObtain the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Except uploading situation information, the recorded information of described file also comprises and is not limited to filename, fileType, file number or file size.
The described situation information of uploading is to show to upload successfully, need upload, uploading or uploading the letter of failureBreath, wherein needs to upload, is uploading or uploading unsuccessfully all expressions and do not upload successfully.
Preferably, described in, uploading situation information adopts bit identification to represent. Such as 01 expression need be uploaded, 10Represent to upload, 11 represent to upload successfully, and 00 represents to upload failure.
In this embodiment 2, the first file synchronization client is directly uploaded certain file to file synchronization server,The situation of uploading information in the recorded information of this file creating is " uploading ", if adopt bitMode is 10.
Step 302: obtain in the process of described file described file synchronization server real-time update this articleThe recorded information of part;
If in file upload procedure, break down, cause file upload procedure terminal, file synchronization clothesBusiness device is " uploading failure " by the situation of the uploading information updating in the recorded information of this file, if adopt ratioSpecial expression is 10.
If file is uploaded smoothly, the situation of the uploading information in the recorded information of this file upgraded is for " to uploadSuccess ".
Step 303: described file synchronization server is according to the recorded information of file, only same to the second fileStep client is synchronously uploaded successful file.
File synchronization server carries out the second file synchronization client and synchronously uploads successful file and have following twoThe mode of kind:
Mode one:
Described file synchronization server transmits to the second file synchronization client in real time or regularly or according to applicationUp-to-date file directory, only comprises in this file directory and uploads successful file;
The second file synchronization client is determined the file that needs renewal according to this file directory, take from file synchronizationBusiness device is downloaded the file that this need to upgrade.
Mode two:
Described file synchronization server transmits to the second file synchronization client in real time or regularly or according to applicationUp-to-date listed files, comprising the recorded information of each file;
The second file synchronization client is determined the file that needs renewal according to this listed files, take from file synchronizationBusiness device is downloaded all files that need renewal;
File synchronization server is refused for the download of not uploading successful file according to the recorded information of fileRequest, and in the situation of the uploading information updating that judge this refusal download file when uploading successfully, notify instituteStating the second file synchronization client downloads again.
File synchronization server is preserved and real-time update file synchronization server and All Files sync clientFile directory, and latest list information is sent to each file synchronization client.
File synchronization client can obtain the file directory of active state or silent status equipment. Active meterCalculation machine equipment refers to, at open state and logged in the computer equipment of file synchronization client, exitsThe computer equipment of file synchronization client, our the called after terminal device of mourning in silence.
For the file transfer state of the computer equipment of mourning in silence, we are still at file synchronization server recordThere is file directory. Therefore, enliven computer equipment and will see all literary compositions in active and the computer equipment of mourning in silencePart transmission situation.
In order to realize said method, corresponding to embodiment of the method, 1 the present invention also provides file synchronization serviceDevice, as shown in Figure 4, this file synchronization server comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, also comprise the recorded information of synchronous described file.
As mentioned above, the recorded information of described file also comprise filename, file type, file number orFile size.
Alternatively, described in, uploading situation information adopts bit identification to represent. The described situation information of uploading is for tableBrightly upload successfully, need upload, uploading or uploading the information of failure, wherein need to upload, uploadOr upload unsuccessfully and all to represent not upload successfully.
Preferably, the file that described file synchronization module also sends for receiving the first file synchronization clientCatalogue, described recorded information creation module is according to the recorded information of the each file of this file directory creating.
Alternatively, described file synchronization server also comprises that listed files issues module, for real-time or fixedTime or according to application transmit up-to-date listed files to the second file synchronization client, comprising each fileRecorded information.
Preferably, the recorded information of described file also comprises the download situation letter of the second file synchronization clientBreath, this recorded information more new module also for when described second this file of file synchronization client downloads,The download situation information of this second file synchronization client of real-time update; If because file is uploaded under failure causesCarry unsuccessfully, the situation of the uploading information that described file synchronization module judges this file when uploading successfully, noticeDescribed the second file synchronization client is downloaded again.
Corresponding to embodiment of the method 2, the present invention also provides a kind of file synchronization server, as Fig. 5 instituteShow, this file synchronization server comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, according to the recorded information of file, only synchronously upload successfully to the second file synchronization clientFile.
As mentioned above, the recorded information of described file also comprise filename, file type, file number orFile size.
Alternatively, described in, uploading situation information adopts bit identification to represent. The described situation information of uploading is for tableBrightly upload successfully, need upload, uploading or uploading the information of failure, wherein need to upload, uploadOr upload unsuccessfully and all to represent not upload successfully.
As previously mentioned, the literary composition that described file synchronization module also sends for receiving the first file synchronization clientPart catalogue, described recorded information creation module is according to the recorded information of the each file of this file directory creating.
Preferably, as shown in Figure 5, the file synchronization module of described file synchronization server comprises file orderRecord synchronous submodule and file synchronization submodule, wherein:
The synchronous submodule of described file directory, in real time timing or according to application to the second file synchronizationClient is transmitted up-to-date file directory, only comprises and upload successful file in this file directory;
Described file synchronization submodule, for sending this file directory to the second file synchronization clientFile.
In the technical scheme of another replacement, as shown in Figure 6, described file synchronization module comprises:
Download request validity judgement submodule, for refusing for not uploading according to the recorded information of fileThe successfully download request of file;
Download management submodule, judges that the situation of the uploading information updating of refusing the file of downloading is for uploading successfullyTime, notify described the second file synchronization client again to download.
Corresponding to embodiment of the method 1, the present invention also provides a kind of file synchronization client, as Fig. 7 instituteShow, this file sync client comprises:
Listed files receiver module, transmits up-to-date listed files for receiving file synchronization server, itsComprise the recorded information of each file;
Download module, for determine the file that needs renewal according to this listed files, and from file synchronization serviceDevice is downloaded.
Particularly, described download module is downloaded all files that need renewal, and or only downloads and upload successfullyFile.
Preferably, described download module is also updated to for the recorded information of the file that judges failed downloadWhile passing successfully, again download.
Corresponding to embodiment of the method 2, the present invention also provides a kind of file synchronization client, as Fig. 8 instituteShow, described file synchronization client comprises: file directory synchronization module and file synchronization module, wherein:
File directory synchronization module, the up-to-date file directory sending for receiving file synchronization server,In this file directory, only comprise and upload successful file;
File synchronization module, for determine the file that needs renewal according to this file directory, and from file synchronizationServer is downloaded the file that needs renewal.
Preferably, the file synchronization client shown in Fig. 7,8 also comprises output module, for exporting thisThe file of file synchronization client stores and the recorded information of file, check and manage for user.
Corresponding to embodiment of the method 1 and 2, the present invention also provides a kind of terminal device, this terminal deviceComprise the file synchronization client shown in Fig. 7 above or Fig. 8.
The each file synchronization client of the present invention and file synchronization server stores comprise that file uploads the literary composition of situationPart recorded information, user can be known file record information by output device, thereby corresponding file is enteredThe management that row is correct and synchronous processing.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through programCarry out instruction related hardware and complete, described program can be stored in computer-readable recording medium, as read-onlyMemory, disk or CD etc. Alternatively, all or part of step of above-described embodiment also can be usedOne or more integrated circuits are realized. Correspondingly, the each module/unit in above-described embodiment can adoptThe form of hardware realizes, and also can adopt the form of software function module to realize. The present invention is not restricted to and appointsThe combination of the hardware and software of what particular form.
Module in system/device/apparatus described in the embodiment of the present invention is only to carry out according to its functionA kind of example of dividing, understandably, in the situation that system/device/apparatus realizes identical function, thisThose skilled in the art can provide one or more other function dividing mode, can be by wherein in the time of concrete applicationAny one or more functional modules adopt a functional entity device or unit to realize, undeniable ground,Above mapping mode is all within the application's protection domain.
Obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making the prerequisite of creative workLower obtained every other embodiment, belongs to the scope of protection of the invention.

Claims (28)

1. a file synchronisation method, is characterized in that, the method comprises:
When file synchronization server obtains file from the first file synchronization client, create or obtain this fileRecorded information, described recorded information comprises the situation of the uploading information of this file;
Obtain in the process of described file the record letter of described this file of file synchronization server real-time updateBreath;
Described file synchronization server is to the synchronous described file of the second file synchronization client and described fileRecorded information, or according to the recorded information of file, only synchronously upload successfully to the second file synchronization clientFile.
2. the method for claim 1, is characterized in that: the recorded information of described file is also wrappedDraw together filename, file type, file number or file size.
3. the method for claim 1, is characterized in that: described in upload situation information adopt bitMark represents.
4. the method for claim 1, is characterized in that: described in upload situation information on showingPass successfully, need upload, upload or uploading the information of failure, wherein need to upload, uploading or onPass and unsuccessfully all represent not upload successfully.
5. the method for claim 1, is characterized in that: described file synchronization server is to secondThe synchronous described file of file synchronization client comprises:
Described file synchronization server transmits to the second file synchronization client in real time or regularly or according to applicationUp-to-date listed files, comprising the recorded information of each file;
Described the second file synchronization client is determined the file that needs renewal according to this listed files;
The second file synchronization client is downloaded or is only downloaded for all files that need to upgrade and needs to upgradeAnd upload successful file.
6. method as claimed in claim 5, is characterized in that, the second file synchronization client forWhen all files that need to upgrade are downloaded:
Described the second file synchronization client judges that the recorded information of the file of failed download is updated to and uploads intoWhen merit, again download; Or,
The recorded information of described file also comprises the download situation information of the second file synchronization client, fileSynchronization server in the time of described second this file of file synchronization client downloads, this second file of real-time updateThe download situation information of sync client;
Cause failed download if upload failure because of file, file synchronization server judge this file on convey feelingsCondition information when uploading successfully, notifies described the second file synchronization client again to download.
7. the method for claim 1, is characterized in that, described file synchronization server only toThe step that the second file synchronization client is synchronously uploaded successful file comprises:
Described file synchronization server transmits to the second file synchronization client in real time or regularly or according to applicationUp-to-date file directory, only comprises in this file directory and uploads successful file;
The second file synchronization client is determined the file that needs renewal according to this file directory, and from file synchronizationServer is downloaded the file that needs renewal.
8. the method for claim 1, is characterized in that, described file synchronization server only toThe step that the second file synchronization client is synchronously uploaded successful file comprises:
Described file synchronization server transmits to the second file synchronization client in real time or regularly or according to applicationUp-to-date listed files, comprising the recorded information of each file;
The second file synchronization client is determined the file that needs renewal according to this listed files, take from file synchronizationBusiness device is downloaded the described file that needs renewal;
File synchronization server is refused for the download of not uploading successful file according to the recorded information of fileRequest, and in the situation of the uploading information updating that judge file that refusal is downloaded when uploading successfully, notify instituteStating the second file synchronization client downloads again.
9. a file synchronization server, is characterized in that, this file synchronization server comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, the recorded information of synchronous described file, or according to the recorded information of file, only to the second literary compositionPart sync client is synchronously uploaded successful file.
10. file synchronization server as claimed in claim 9, is characterized in that: described file synchronizationServer also comprises that listed files issues module, for real-time or timing or same to the second file according to applicationStep client is transmitted up-to-date listed files, comprising the recorded information of each file.
11. file synchronization servers as claimed in claim 9, is characterized in that:
The recorded information of described file also comprises the download situation information of the second file synchronization client, this noteRecord information updating module is also for when described second this file of file synchronization client downloads, real-time updateThe download situation information of this second file synchronization client;
Cause failed download if upload failure because of file, described file synchronization module judges uploading of this fileSituation information when uploading successfully, notifies described the second file synchronization client again to download.
12. file synchronization servers as claimed in claim 11, is characterized in that, described file is sameStep module comprises the synchronous submodule of file directory and file synchronization submodule, wherein:
The synchronous submodule of described file directory, in real time timing or according to application to the second file synchronizationClient is transmitted up-to-date file directory, only comprises and upload successful file in this file directory;
Described file synchronization submodule, for sending this file directory to the second file synchronization clientFile.
13. file synchronization servers as claimed in claim 11, is characterized in that: described file is sameStep module comprises:
Download request validity judgement submodule, for refusing for not uploading according to the recorded information of fileThe successfully download request of file;
Download management submodule, judges that the situation of the uploading information updating of refusing the file of downloading is for uploading successfullyTime, notify described the second file synchronization client again to download.
14. 1 kinds of file synchronization clients, is characterized in that, this file sync client comprises:
Listed files receiver module, transmits up-to-date listed files for receiving file synchronization server, itsComprise the recorded information of each file; Described recorded information comprises the situation of the uploading information of this file;
Download module, for determine the file that needs renewal according to this listed files, and from file synchronization serviceDevice is downloaded;
Wherein, described file synchronization server comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, the recorded information of synchronous described file, or according to the recorded information of file, only to the second literary compositionPart sync client is synchronously uploaded successful file.
15. file synchronization clients as claimed in claim 14, is characterized in that: described download mouldPiece is downloaded all files that need renewal, or only downloads and upload successful file.
16. file synchronization clients as claimed in claim 14, is characterized in that: described download mouldPiece is also for judging that the recorded information of file of failed download is updated to while uploading successfully, downloads again.
17. file synchronization clients as claimed in claim 14, is characterized in that: described file synchronizationClient also comprises output module, for exporting the file of this file sync client storage and the note of fileRecord information, checks and manages for user.
18. file synchronization clients as claimed in claim 14, is characterized in that: described file is sameStep server also comprises that listed files issues module, in real time timing or according to application to the second fileSync client is transmitted up-to-date listed files, comprising the recorded information of each file.
19. file synchronization clients as claimed in claim 14, is characterized in that:
The recorded information of described file also comprises the download situation information of the second file synchronization client, this noteRecord information updating module is also for when described second this file of file synchronization client downloads, real-time updateThe download situation information of this second file synchronization client;
Cause failed download if upload failure because of file, described file synchronization module judges uploading of this fileSituation information when uploading successfully, notifies described the second file synchronization client again to download.
20. file synchronization clients as claimed in claim 19, is characterized in that, described file is sameStep module comprises the synchronous submodule of file directory and file synchronization submodule, wherein:
The synchronous submodule of described file directory, in real time timing or according to application to the second file synchronizationClient is transmitted up-to-date file directory, only comprises and upload successful file in this file directory;
Described file synchronization submodule, for sending this file directory to the second file synchronization clientFile.
21. file synchronization clients as claimed in claim 19, is characterized in that: described file is sameStep module comprises:
Download request validity judgement submodule, for refusing for not uploading according to the recorded information of fileThe successfully download request of file;
Download management submodule, judges that the situation of the uploading information updating of refusing the file of downloading is for uploading successfullyTime, notify described the second file synchronization client again to download.
22. 1 kinds of file synchronization clients, is characterized in that, described file synchronization client comprises:
File directory synchronization module, the up-to-date file directory sending for receiving file synchronization server,In this file directory, only comprise and upload successful file;
File synchronization module, for determine the file that needs renewal according to this file directory, and from file synchronizationServer is downloaded the file that needs renewal;
Wherein, described file synchronization server comprises:
Recorded information creation module, while obtaining file from the first file synchronization client, for creating or obtainingGet the recorded information of this file, described recorded information comprises the situation of the uploading information of this file;
Recorded information is new module more, obtains in the process of described file, for the note of this file of real-time updateRecord information;
File synchronization module, for realizing file synchronization, wherein to the second synchronous institute of file synchronization clientWhile stating file, the recorded information of synchronous described file, or according to the recorded information of file, only to the second literary compositionPart sync client is synchronously uploaded successful file.
23. file synchronization clients as claimed in claim 22, is characterized in that: described file is sameStep client also comprises output module, for exporting the file of this file sync client storage and fileRecorded information, checks and manages for user.
24. file synchronization clients as claimed in claim 22, is characterized in that: described file is sameStep server also comprises that listed files issues module, in real time timing or according to application to the second fileSync client is transmitted up-to-date listed files, comprising the recorded information of each file.
25. file synchronization clients as claimed in claim 22, is characterized in that:
The recorded information of described file also comprises the download situation information of the second file synchronization client, this noteRecord information updating module is also for when described second this file of file synchronization client downloads, real-time updateThe download situation information of this second file synchronization client;
Cause failed download if upload failure because of file, described file synchronization module judges uploading of this fileSituation information when uploading successfully, notifies described the second file synchronization client again to download.
26. file synchronization clients as claimed in claim 25, is characterized in that, described file is sameStep module comprises the synchronous submodule of file directory and file synchronization submodule, wherein:
The synchronous submodule of described file directory, in real time timing or according to application to the second file synchronizationClient is transmitted up-to-date file directory, only comprises and upload successful file in this file directory;
Described file synchronization submodule, for sending this file directory to the second file synchronization clientFile.
27. file synchronization clients as claimed in claim 25, is characterized in that: described file is sameStep module comprises:
Download request validity judgement submodule, for refusing for not uploading according to the recorded information of fileThe successfully download request of file;
Download management submodule, judges that the situation of the uploading information updating of refusing the file of downloading is for uploading successfullyTime, notify described the second file synchronization client again to download.
28. 1 kinds of terminal devices, is characterized in that, described terminal device comprise as claim 14 toFile synchronization client in 27 described in any one.
CN201210491796.6A 2012-11-27 2012-11-27 File synchronisation method, server, client and terminal device Active CN103023988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210491796.6A CN103023988B (en) 2012-11-27 2012-11-27 File synchronisation method, server, client and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210491796.6A CN103023988B (en) 2012-11-27 2012-11-27 File synchronisation method, server, client and terminal device

Publications (2)

Publication Number Publication Date
CN103023988A CN103023988A (en) 2013-04-03
CN103023988B true CN103023988B (en) 2016-05-04

Family

ID=47972112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210491796.6A Active CN103023988B (en) 2012-11-27 2012-11-27 File synchronisation method, server, client and terminal device

Country Status (1)

Country Link
CN (1) CN103023988B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200267A (en) * 2013-04-11 2013-07-10 天脉聚源(北京)传媒科技有限公司 File management method and file management system
CN103179216A (en) * 2013-04-16 2013-06-26 上海同岩土木工程科技有限公司 File scanning and automatic unloading method based on Twain protocol
CN103220358B (en) * 2013-04-19 2016-12-28 深圳如果技术有限公司 The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit
CN103310154B (en) * 2013-06-04 2016-12-28 腾讯科技(深圳)有限公司 The method, apparatus and system that information security processes
CN104283932A (en) * 2013-07-12 2015-01-14 鸿富锦精密工业(深圳)有限公司 File synchronization system and method
CN104917785B (en) * 2014-03-10 2018-09-21 中国银联股份有限公司 File generated state table, file generated state report and document transmission system
CN104539690B (en) * 2014-12-24 2018-05-04 大连理工大学 A kind of Server remote method of data synchronization detected based on feedback mechanism and MD5 codes
CN104601707A (en) * 2015-01-21 2015-05-06 苏州蓝海彤翔系统科技有限公司 Network disk data processing method and device
CN106603614A (en) * 2015-10-20 2017-04-26 北京国双科技有限公司 File transmission method and device
CN105357290A (en) * 2015-10-26 2016-02-24 无锡天脉聚源传媒科技有限公司 Video relevant information synchronization processing method and device
CN108933724A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 A kind of information sharing method and system, terminal and server
CN110097690A (en) * 2018-01-31 2019-08-06 鸿富锦精密工业(武汉)有限公司 Vending machine and its communication means
CN108306966B (en) * 2018-01-31 2022-01-21 腾讯科技(深圳)有限公司 Document processing method, device, system, terminal and server
CN108647256A (en) * 2018-04-23 2018-10-12 平安科技(深圳)有限公司 File synchronisation method, device, computer installation and storage medium
CN112753028A (en) * 2018-09-28 2021-05-04 亚马逊科技公司 Client-side file system for remote repository
CN111953687B (en) * 2020-08-12 2023-06-09 腾讯科技(深圳)有限公司 Verification method and device for file synchronization, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489052A (en) * 2002-10-11 2004-04-14 鸿富锦精密工业(深圳)有限公司 Multi-node file syn chronizing system and method
CN1988535A (en) * 2005-12-23 2007-06-27 腾讯科技(深圳)有限公司 Synchronous method, system for file storage and customer terminal
CN101127879A (en) * 2007-10-10 2008-02-20 张福泉 Stream media VoD system for intelligent access data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383839A (en) * 2007-09-04 2009-03-11 阿里巴巴集团控股有限公司 Data distribution system based on data server and implementation method
JP2012243104A (en) * 2011-05-19 2012-12-10 Buffalo Inc File management device and control program thereof
CN102306189B (en) * 2011-08-31 2013-06-05 北京金山软件有限公司 Client and method for client to show status of network disk file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489052A (en) * 2002-10-11 2004-04-14 鸿富锦精密工业(深圳)有限公司 Multi-node file syn chronizing system and method
CN1988535A (en) * 2005-12-23 2007-06-27 腾讯科技(深圳)有限公司 Synchronous method, system for file storage and customer terminal
CN101127879A (en) * 2007-10-10 2008-02-20 张福泉 Stream media VoD system for intelligent access data

Also Published As

Publication number Publication date
CN103023988A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103023988B (en) File synchronisation method, server, client and terminal device
EP3179701B1 (en) File upload and download methods and associated server
US9979784B2 (en) Method for cloud data backup and recovery
US20180034646A1 (en) Method and apparatus for seamless remote renewal of offline generated digital identity certificates to field deployed hardware security modules
CN103220358B (en) The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit
US20170295467A1 (en) Kiosk System for Downloading Media Content
CN101483576B (en) Version management implementing method in distributed system
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
CN104539690B (en) A kind of Server remote method of data synchronization detected based on feedback mechanism and MD5 codes
CN102510384A (en) Personal data sharing interactive processing method and server
CN108093015B (en) File transmission system
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
CN102821161A (en) Method, device and system for network security auditing
CN102035859A (en) Method, system and device for displaying upload progress
KR101429956B1 (en) Cloud storage server and system by use of virtual nas and method thereof
CN104615455A (en) Remote upgrading method and device for IPMC program of ATCA structure
CN101472050A (en) Method and system for updating software, digital television receive terminal and server
CN103763380B (en) A kind of method and system of synchronous demonstrating data
CN111597536A (en) Hadoop cluster kerberos high-availability authentication method
CN102055605B (en) Disaster tolerance system and method applied to AAA (authentication, authorization and accounting) server
CN112838935A (en) Electronic data exchange method and system
KR101402115B1 (en) File syncronization method for multi user and multi terminal
CN103929450A (en) Data synchronization method and data synchronization device
CN111343220B (en) Repeater, distributed file transmission method, distributed file transmission system, medium and electronic equipment
CN111031109A (en) Method for network safety equipment backup and synchronous management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130403

Assignee: Xunlei Network Technology Co., Ltd., Shenzhen

Assignor: Beijing Jinshan cloud Network Technology Co., Ltd.|Beijing Jinshan cloud Technology Co., Ltd.

Contract record no.: 2014990000908

Denomination of invention: File synchronization method, file synchronization server, file synchronization client side and terminal device

License type: Common License

Record date: 20141210

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
C14 Grant of patent or utility model
GR01 Patent grant