CN103220358A - Multi-terminal on-line file synchronizing method, system, server, and terminal device - Google Patents

Multi-terminal on-line file synchronizing method, system, server, and terminal device Download PDF

Info

Publication number
CN103220358A
CN103220358A CN2013101407006A CN201310140700A CN103220358A CN 103220358 A CN103220358 A CN 103220358A CN 2013101407006 A CN2013101407006 A CN 2013101407006A CN 201310140700 A CN201310140700 A CN 201310140700A CN 103220358 A CN103220358 A CN 103220358A
Authority
CN
China
Prior art keywords
file
terminal
snapshot
tabulation
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101407006A
Other languages
Chinese (zh)
Other versions
CN103220358B (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.)
If Shenzhen Technology Co., Ltd.
Original Assignee
李晶
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 李晶 filed Critical 李晶
Priority to CN201310140700.6A priority Critical patent/CN103220358B/en
Publication of CN103220358A publication Critical patent/CN103220358A/en
Application granted granted Critical
Publication of CN103220358B publication Critical patent/CN103220358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a multi-terminal on-line file synchronizing method. The method includes the steps: obtaining a server file list snapshot, wherein the server file list snapshot comprises server file list information when last synchronization ends; comparing the server file list snapshot with first terminal file snapshot information, and obtaining a first terminal file list snapshot, wherein the first terminal file list snapshot comprises first terminal list updating operation; obtaining a second terminal file list snapshot through a server, wherein the second terminal file list snapshot comprises second terminal file list updating operation; determining file identification and file operation which are to be synchronized according to the first terminal file list snapshot and the second terminal file list snapshot, and conducting file synchronization to a first terminal, a second terminal and the server according to the file identification and the file operation which are to be synchronized. The multi-terminal on-line file synchronizing method can effectively resolve the problem of real-time performance of file synchronization when multiple terminals are on line simultaneously and well avoids the collision problem of the file synchronization.

Description

The online file synchronisation method in a kind of multiple terminals, system, server and terminal equipment
Technical field
The present invention relates to communication technique field, be specifically related to the online file synchronisation method in a kind of multiple terminals, system, server and terminal equipment.
Background technology
Along with the development of mechanics of communication, backup and distribution that increasing people uses cloud to store to carry out local file.For example, mobile phone users can directly be transferred to high in the clouds by data network with the photo of taking, and re-uses PC and logs on the photo of downloading behind the high in the clouds with synchronous transmission.When cloud storage system during, generally be to adopt independent synchronous mode or offline synchronization mode with process that the multiple terminals is connected.When a plurality of terminals are simultaneously synchronous,, cause occurring easily in the synchronizing process file synchronization mistake because the file in the multiple terminals is inconsistent.If adopt the method for synchronization of offline synchronization, then be difficult to guarantee the real-time of file.
Summary of the invention
The invention provides online file synchronisation method in a kind of multiple terminals and system, can improve the real-time of multiple terminals on-line synchronous, solve the problem that the multiple terminals file synchronization is made mistakes.
The invention provides the online file synchronisation method in a kind of multiple terminals, comprising:
Obtain server file tabulation snapshot, described server file tabulation snapshot comprises last server file list information during with EOS;
The described server file tabulation snapshot and the first terminal document list information are compared, obtain first terminal document tabulation snapshot, described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Obtain second terminal document tabulation snapshot by described server, described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
According to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation according to described, described first terminal and described second terminal and described server carry out file synchronization.
Simultaneously, the present invention goes back embodiment also provides a kind of multiple terminals online file syn chronizing system, comprises at least the first terminal, and with the server and second terminal of described first terminal called;
Described first terminal is used to obtain server file tabulation snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
Described first terminal also is used for the described server file tabulation snapshot and the first terminal document list information are compared, and obtains first terminal document tabulation snapshot, and described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Described first terminal also is used for obtaining second terminal document tabulation snapshot by described server, and described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
Described first terminal, be further used for according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described second terminal and described server according to described.
Simultaneously, the embodiment of the invention also provides a kind of server, comprising:
The listed files snapshot module is used for storage server listed files snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
Upgrade operational module, be used for according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, after determining to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described first terminal and described second terminal according to described.
Simultaneously, the embodiment of the invention also provides a kind of terminal equipment, comprising:
Server file tabulation acquisition module is used to obtain server file tabulation snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
The local file comparison module is used for described server file tabulation snapshot and local file list information are compared, and obtains first terminal document tabulation snapshot, and described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Far-end file snapshot acquisition module is used for obtaining second terminal document tabulation snapshot by described server, and described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
The file synchronization module, be used for according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described second terminal and described server according to described.
From technique scheme as can be seen, because the embodiment of the invention adopts tabulate snapshot and the first terminal document list information of server file compared, obtain first terminal document tabulation snapshot, first terminal document tabulation snapshot comprises described first terminal document list update operation; Obtain second terminal document tabulation snapshot by server, second terminal document tabulation snapshot comprises the operation of the second terminal document list update; According to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, according to treating synchronous file identification and operation, first terminal and second terminal and described server carry out file synchronization.Therefore, when effectively having avoided first terminal and second terminal simultaneously online, make mistakes, also make the online file synchronization in multiple terminals to carry out in real time, avoided user's wait, the fine user experience that improved because file synchronization appears in local file tabulation difference.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart schematic diagram of the online file synchronisation method in embodiment of the invention multiple terminals;
Fig. 2 is the online file syn chronizing system structural representation in embodiment of the invention multiple terminals;
Fig. 3 is an embodiment of the invention service module structural representation;
Fig. 4 is an embodiment of the invention terminal equipment structural representation;
Fig. 5 is an embodiment of the invention multiple terminals online file synchronization application flow schematic diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of multiple terminals online file synchronisation method, in the time of can effectively avoiding the multiple terminals simultaneously online, because local file tabulation difference file synchronization occurs and makes mistakes, also make the online file synchronization in multiple terminals to carry out in real time, avoided user's wait, the fine user experience that improved.The embodiment of the invention also provides the online file syn chronizing system in multiple terminals, server and terminal equipment.Below be elaborated respectively.
Please in conjunction with referring to Fig. 1, the online file synchronisation method in embodiment of the invention multiple terminals comprises the steps:
Step 102 is obtained server file tabulation snapshot, and this server file tabulation snapshot comprises last server file list information during with EOS.The listed files snapshot of server can the include file title, the temporal information of document creation and modification, and file identification information, the size of file, and last hyposynchronous temporal information etc.
Particularly, the information of one or more files in the tabulation of server file list information include file.The listed files snapshot is meant the map information of some time listed files.Wherein, listed files snapshot include file list information and file status, file status can be provided with an initial condition, in the later stage comparison procedure, are used for reflecting the renewal operation of file in the listed files, thus the operation of decision back expectation synchronous documents.
Step 104 compares tabulate snapshot and the first terminal document list information of server file, obtains first terminal document tabulation snapshot, and first terminal document tabulation snapshot comprises the operation of the first terminal document list update.
Particularly, the first terminal scanning local file list information, compare with server listed files snapshot, obtain the renewal operation that the local file tabulation has been finished with respect to the server file tabulation, this renewal operation is meant with respect to the renewal operation of server file tabulation snapshot, for example adds, deletion and modification etc.Wherein first terminal document tabulation snapshot can comprise all files list information, also can only comprise the more listed files information of new portion.
Step 106, obtain second terminal document tabulation snapshot by server, second terminal document tabulation snapshot comprises the operation of the second terminal document list update, and this renewals operation is meant with respect to the renewal of server file tabulation snapshot and operates, and for example adds, deletion and modification etc.Wherein second terminal document tabulation snapshot can comprise all files list information, also can only comprise the more listed files information of new portion.
Particularly, first terminal to server sends second terminal document tabulation snapshot request, and server is asked according to this, sends the listed files snapshot request to second terminal.Second terminal to server returns local second terminal document tabulation snapshot.
Step 108 according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determines to treat synchronous file identification and operation, and according to treating synchronous file identification and operation, first terminal and second terminal and server carry out file synchronization.
Particularly, according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, need to determine the listed files of renewal, comprising file identification and file operation.According to these file identifications and operation, file and server on first terminal and second terminal are consistent.For example, have the abc.doc file on first terminal, not exist, and belong to the new file of creating on second terminal, then be synchronized to abc.doc on the server after, be synchronized to again on first terminal.
Preferably, according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, specifically comprise: the operating time of first terminal document tabulation and institute's second terminal document operating time of tabulating relatively, with the operating time later as treating synchronous file identification and operation.Can finely avoid the file conflict like this, improve user's experience, prevent losing of user's update content.
Preferably, according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, specifically comprise: merge first terminal document tabulation snapshot and second terminal document tabulation snapshot, according to the listed files snapshot after merging, determine to treat synchronous file identification and operation.Can so that the listed files snapshot of user after according to a merging determine fast with synchronous file identification and operation, carry out file synchronization fast.
Preferably, according to treating synchronous file identification and operation, first terminal and second terminal and server carry out file synchronization, specifically comprise: if a plurality of same files are arranged, and the early stage file and the file identification of then deletion redundancy.Can improve the disposal ability of system well, reduce redundant garbage files, improve user experience for file.
Preferably, before the early stage file and file identification of deletion redundancy, the early stage file and the file identification of redundancy are backuped on the server, when the early stage file of the redundancy that undeletes when needs and file identification, utilize the version that backups on the server to be synchronized to and treat synchronous terminal equipment.Prevent from synchronous process the file mistake is deleted, cause the user can't find before synchronous file, make that the ray machine function found the own file of deleting when the user can utilize, comprehensively provide file synchronization and backup for the user.
Server file tabulation snapshot comprises terminal and server last time with the EOS information of part tabulation hereinafter, can be stored on the server, and first terminal is obtained this server file tabulation snapshot from server.In addition, whether server file tabulation snapshot can include file sign, file path, document creation time, be catalogue, or file status, and wherein, file identification can be a filename, also can be the alternative document flag information; File status is used for reflecting the renewal operation at the file in the listed files.In addition, server file tabulation snapshot can further include version number, this version number's sign be last during with EOS, the version information for the treatment of listed files under the synchronous directory of terminal and server.
Need to prove, if first terminal is that operation is synchronous for the first time, promptly there is not last synchronizing process, then there is not server file tabulation snapshot on the server, perhaps, even there is server file tabulation snapshot on the server, but read failure, such as losing or damaging, all need file and catalogue under the direct scanning of home synchronous directory of server, rebuild server file tabulation snapshot.
For example, provide the example of a server file tabulation snapshot below:
In this example, server file tabulation snapshot comprises the relevant information of a.txt file under A.txt, B.txt, abc catalogue and the abc catalogue, every whether record comprises file identification, file path, document creation time, is catalogue and file status, wherein, whether is catalogue one row, 0 representation file, 1 represents catalogue; File status is initially set to initial.
By the above embodiment of the invention, when effectively having avoided first terminal and second terminal simultaneously online, make mistakes, also make the online file synchronization in multiple terminals to carry out in real time because file synchronization appears in local file tabulation difference, avoided user's wait, the fine user experience that improved.
Please in conjunction with referring to Fig. 2, the embodiment of the invention, a kind of multiple terminals on-line synchronous system 200 comprises:
Comprise at least the first terminal 202, and with the server 204 and second terminal 206 of first terminal called;
First terminal 202 is used to obtain server 204 listed files snapshots, and server file tabulation snapshot comprises last server file list information during with EOS.First terminal 202 compares tabulate snapshot and the first terminal document list information of server file, obtains first terminal document tabulation snapshot, and this first terminal document tabulation snapshot comprises the operation of the first terminal document list update.First terminal 202 is obtained second terminal document tabulation snapshot by server 204, and second terminal document tabulation snapshot comprises the operation of the second terminal document list update; First terminal 202 further according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determines to treat synchronous file identification and operation, according to treating synchronous file identification and operation, carries out file synchronization with second terminal 206 and server 204.
Particularly, the file synchronization of first terminal 202 and second terminal 206, after can earlier file loading being arrived server 204 based on second terminal 206, download this document by first terminal 202 from server 204 again, to guarantee the consistency of first terminal 202 and second terminal, 206 files.
Please in conjunction with referring to Fig. 3, server 204 further comprises:
Listed files snapshot module 302 is used for storage server listed files snapshot, and server file tabulation snapshot comprises last server file list information during with EOS.
Upgrade operational module 304, be used for after determining to treat synchronous file identification and operating,, carrying out file synchronization with first terminal and second terminal according to treating synchronous file identification and operation according to first terminal document tabulation snapshot and second terminal document tabulation snapshot.
Alternatively, server 204 can also comprise backup module 306, be used for if a plurality of same files are arranged, the early stage file and the file identification of then deletion redundancy, before the early stage file and file identification of deletion redundancy, the early stage file of redundancy is backuped on the server 204, when the early stage file of the redundancy that undeletes when needs and file identification, utilize the version that backups on the server 204 to be synchronized to and treat synchronous terminal equipment.The implication of this same file is that the title of file is identical, and file size is also identical.
Please in conjunction with referring to Fig. 4, a kind of terminal equipment 400 comprises:
Server file tabulation acquisition module 402 is used to obtain server file tabulation snapshot, and server file tabulation snapshot comprises last server file list information during with EOS;
Local file comparison module 404 is used for tabulate snapshot and local file list information of server file compared, and obtains first terminal document tabulation snapshot, and first terminal document tabulation snapshot comprises the operation of the first terminal document list update;
Far-end file snapshot acquisition module 406 is used for obtaining second terminal document tabulation snapshot by server, and second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
File synchronization module 408 is used for determining to treat synchronous file identification and operation according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, according to treating synchronous file identification and operation, carries out file synchronization with second terminal and server.
Alternatively, terminal equipment 400 can also comprise: notification module 410, be used for after file synchronization is finished, and send a notification message to second terminal by server, notification message comprises file identification and the operation that this is subsynchronous.
Please in conjunction with referring to Fig. 5, the online file synchronisation method in the multiple terminals of the embodiment of the invention comprises the steps:
Step 502, first terminal to server sends logging request.
Particularly, first terminal to server sends logging request, and this logging request comprises user ID, and wherein, user ID can be user name or password.This logging request can further include the terminal iidentification of first terminal eventually, and when a plurality of terminals utilized same user name to login simultaneously, server can come distinguishing terminal according to terminal iidentification.
Step 504, server carries out login authentication to the first terminal logging request, and auth response is returned to first terminal in the checking back.
Particularly, after server receives logging request, obtain the user ID in the logging request, by query subscriber database information, the authority of checking user ID, and send the checking result to terminal.Server can also further be verified terminal iidentification, to distinguish different terminals.
Step 506, acquisition request server file tabulation snapshot, this server file tabulation snapshot comprise last server file list information during with EOS.The listed files snapshot of server can the include file title, the temporal information of document creation and modification, and file identification information, the size of file, and last hyposynchronous temporal information etc.
Particularly, the information of one or more files in the tabulation of server file list information include file.The listed files snapshot is meant the map information of some time listed files.Wherein, listed files snapshot include file list information and file status, file status can be provided with an initial condition, in the later stage comparison procedure, are used for reflecting the renewal operation of the many files of listed files, thus the operation of decision back expectation synchronous documents.
Step 508, server returns server file tabulation snapshot to first terminal, and this server file tabulation snapshot comprises last server file list information during with EOS.The listed files snapshot of server can the include file title, the temporal information of document creation and modification, and file identification information, the size of file, and last hyposynchronous temporal information etc.
Particularly, the information of one or more files in the tabulation of server file list information include file.The listed files snapshot is meant the map information of some time listed files.Wherein, listed files snapshot include file list information and file status, file status can be provided with an initial condition, in the later stage comparison procedure, are used for reflecting the renewal operation of the many files of listed files, thus the operation of decision back expectation synchronous documents.
Step 510, the tabulation of the first terminal scanning local file, to scan the relevant information of file (such as file identification, file path, the document creation time, whether be catalogue, or file status etc.) and the information in the server listed files snapshot (such as file identification, file path, the document creation time, whether be catalogue, or file status etc.) compare, judge the situation of change of current file with respect to corresponding informance in the server file tabulation snapshot, and generate the first listed files snapshot, the first listed files snapshot can be the first listed files snapshot that upgrades, and also can be a snapshot that regenerates.
Preferably, with the file status of renewal operation note in the first listed files snapshot of each file, file status becomes the renewal operation by initial initial state at this moment, upgrades operation and comprises this locality interpolation, local deletion or local modification etc.
Step 512, the first terminal to server request, second terminal document tabulation snapshot.
Particularly, first terminal to server is initiated a listed files request of obtaining other online terminals, first terminal can directly be obtained online second terminal document tabulation snapshot to server, also can just initiate a non-directional listed files snapshot request to server, and judge which is arranged by the online terminal under the same number of the account by server, judge online terminal according to log-on message.
Step 514, server sends the listed files snapshot to the second online terminal and obtains request.
Step 516, second terminal to server are returned second terminal document tabulation snapshot.
Step 518, server returns second terminal document tabulation snapshot to first terminal.
Step 520 according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determines to treat synchronous file identification and operation.
Step 522, according to treating synchronous file identification and operation, first terminal and second terminal and server carry out file synchronization.
Particularly, according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, need to determine the listed files of renewal, comprising file identification and file operation.According to these file identifications and operation, file and server on first terminal and second terminal are consistent.For example, have the abc.doc file on first terminal, not exist, and belong to the new file of creating on second terminal, then be synchronized to abc.doc on the server after, be synchronized to again on first terminal.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
Because the embodiment of the invention adopts tabulate snapshot and the first terminal document list information of server file compared, obtain first terminal document tabulation snapshot, first terminal document tabulation snapshot comprises described first terminal document list update operation; Obtain second terminal document tabulation snapshot by server, second terminal document tabulation snapshot comprises the operation of the second terminal document list update; According to first terminal document tabulation snapshot and second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, according to treating synchronous file identification and operation, first terminal and second terminal and described server carry out file synchronization.Therefore, when effectively having avoided first terminal and second terminal simultaneously online, make mistakes, also make the online file synchronization in multiple terminals to carry out in real time, avoided user's wait, the fine user experience that improved because file synchronization appears in local file tabulation difference.
More than the online file synchronisation method in the multiple terminals that the embodiment of the invention provided, system, server and terminal equipment are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the online file synchronisation method in multiple terminals is characterized in that, comprising:
Obtain server file tabulation snapshot, described server file tabulation snapshot comprises last server file list information during with EOS;
The described server file tabulation snapshot and the first terminal document list information are compared, obtain first terminal document tabulation snapshot, described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Obtain second terminal document tabulation snapshot by described server, described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
According to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation according to described, described first terminal and described second terminal and described server carry out file synchronization.
2. method according to claim 1, it is characterized in that, described according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, specifically comprise: the operating time of the operating time of more described first terminal document tabulation and the tabulation of described second terminal document, with the operating time later as treating synchronous file identification and operation.
3. method according to claim 1, it is characterized in that, described according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, specifically comprise: merge described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, according to the listed files snapshot after merging, determine to treat synchronous file identification and operation.
4. method according to claim 1 and 2, it is characterized in that, describedly treat synchronous file identification and operation according to described, described first terminal and described second terminal and described server carry out file synchronization, specifically comprise: if a plurality of same files are arranged, the early stage file and the file identification of then deletion redundancy.
5. method according to claim 4, it is characterized in that, described method is before the early stage file and file identification of deletion redundancy, the early stage file and the file identification of described redundancy are backuped on the described server, when needs recover the early stage file of redundancy of described deletion and file identification, utilize described early stage file that backups to the described redundancy on the described server and file identification version to be synchronized to and treat synchronous terminal equipment.
6. the online file syn chronizing system in multiple terminals is characterized in that, comprises first terminal, second terminal at least, and with the server of described first terminal called;
Described first terminal is used to obtain server file tabulation snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
Described first terminal also is used for the described server file tabulation snapshot and the first terminal document list information are compared, and obtains first terminal document tabulation snapshot, and described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Described first terminal also is used for obtaining second terminal document tabulation snapshot by described server, and described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
Described first terminal, be further used for according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described second terminal and described server according to described.
7. a server is characterized in that, comprising:
The listed files snapshot module is used for storage server listed files snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
Upgrade operational module, be used for according to first terminal document tabulation snapshot and second terminal document tabulation snapshot, after determining to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described first terminal and described second terminal according to described.
8. server according to claim 7, it is characterized in that, described server also comprises: backup module, be used for if a plurality of same files are arranged, the early stage file and the file identification of then deletion redundancy, before the early stage file and file identification of deletion redundancy, the early stage file and the file identification of described redundancy are backed up to described backup module, when needs recover the early stage file of redundancy of described deletion and file identification, utilize the early stage file of the described described redundancy that backups to described backup module and file identification version to be synchronized to and treat synchronous terminal equipment.
9. a terminal equipment is characterized in that, comprising:
Server file tabulation acquisition module is used to obtain server file tabulation snapshot, and described server file tabulation snapshot comprises last server file list information during with EOS;
The local file comparison module is used for described server file tabulation snapshot and local file list information are compared, and obtains first terminal document tabulation snapshot, and described first terminal document tabulation snapshot comprises described first terminal document list update operation;
Far-end file snapshot acquisition module is used for obtaining second terminal document tabulation snapshot by described server, and described second terminal document tabulation snapshot comprises the operation of the second terminal document list update;
The file synchronization module, be used for according to described first terminal document tabulation snapshot and described second terminal document tabulation snapshot, determine to treat synchronous file identification and operation, treat synchronous file identification and operation, carry out file synchronization with described second terminal and described server according to described.
10. terminal equipment according to claim 9, it is characterized in that described terminal equipment also comprises: notification module is used for after file synchronization is finished, send a notification message to described second terminal by described server, described notification message comprises file identification and the operation that this is subsynchronous.
CN201310140700.6A 2013-04-19 2013-04-19 The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit Active CN103220358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310140700.6A CN103220358B (en) 2013-04-19 2013-04-19 The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310140700.6A CN103220358B (en) 2013-04-19 2013-04-19 The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit

Publications (2)

Publication Number Publication Date
CN103220358A true CN103220358A (en) 2013-07-24
CN103220358B CN103220358B (en) 2016-12-28

Family

ID=48817809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310140700.6A Active CN103220358B (en) 2013-04-19 2013-04-19 The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit

Country Status (1)

Country Link
CN (1) CN103220358B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488248A (en) * 2014-04-15 2015-04-01 华为技术有限公司 File synchronization method, server and terminal
CN104636125A (en) * 2013-11-13 2015-05-20 联想(北京)有限公司 Information processing method and device
CN105119995A (en) * 2015-08-27 2015-12-02 北京恒华伟业科技股份有限公司 File cloud saving method, terminal equipment and backup server
CN105357290A (en) * 2015-10-26 2016-02-24 无锡天脉聚源传媒科技有限公司 Video relevant information synchronization processing method and device
CN105915572A (en) * 2015-12-12 2016-08-31 乐视移动智能信息技术(北京)有限公司 Mobile terminal data conflict processing method and device
CN106101265A (en) * 2016-07-26 2016-11-09 浪潮软件股份有限公司 A kind of method carrying out file synchronization between Dropbox and desktop end
CN106453498A (en) * 2016-09-08 2017-02-22 北京小米移动软件有限公司 File synchronization method and apparatus
CN106790378A (en) * 2016-11-11 2017-05-31 北京奇虎科技有限公司 The full synchronous method of data of equipment room, apparatus and system
CN106790535A (en) * 2016-12-22 2017-05-31 深圳爱拼信息科技有限公司 A kind of college entrance will table synchronous method and server
CN107566881A (en) * 2017-08-31 2018-01-09 深圳创维-Rgb电子有限公司 A kind of VR apparatus control methods, device and system
CN107666495A (en) * 2016-07-27 2018-02-06 平安科技(深圳)有限公司 The disaster recovery method and terminal of a kind of application
WO2018219178A1 (en) * 2017-05-27 2018-12-06 Oppo广东移动通信有限公司 Data synchronization method and apparatus, server, and storage medium
CN111190962A (en) * 2019-12-24 2020-05-22 深圳市优必选科技股份有限公司 File synchronization method and device and local terminal
CN111787074A (en) * 2020-06-18 2020-10-16 杭州美创科技有限公司 File synchronization method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404338A (en) * 2011-12-13 2012-04-04 华为技术有限公司 File synchronization method and device
CN102739808A (en) * 2012-07-27 2012-10-17 优视科技有限公司 Cloud storage server, user terminal as well as system and method for transmitting cloud end data
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404338A (en) * 2011-12-13 2012-04-04 华为技术有限公司 File synchronization method and device
CN102739808A (en) * 2012-07-27 2012-10-17 优视科技有限公司 Cloud storage server, user terminal as well as system and method for transmitting cloud end data
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636125A (en) * 2013-11-13 2015-05-20 联想(北京)有限公司 Information processing method and device
CN104636125B (en) * 2013-11-13 2018-03-23 联想(北京)有限公司 A kind of information processing method and device
CN104488248B (en) * 2014-04-15 2017-09-08 华为技术有限公司 A kind of file synchronisation method, server and terminal
WO2015157904A1 (en) * 2014-04-15 2015-10-22 华为技术有限公司 File synchronization method, server, and terminal
CN104488248A (en) * 2014-04-15 2015-04-01 华为技术有限公司 File synchronization method, server and terminal
CN105119995A (en) * 2015-08-27 2015-12-02 北京恒华伟业科技股份有限公司 File cloud saving method, terminal equipment and backup server
CN105357290A (en) * 2015-10-26 2016-02-24 无锡天脉聚源传媒科技有限公司 Video relevant information synchronization processing method and device
CN105915572A (en) * 2015-12-12 2016-08-31 乐视移动智能信息技术(北京)有限公司 Mobile terminal data conflict processing method and device
CN106101265A (en) * 2016-07-26 2016-11-09 浪潮软件股份有限公司 A kind of method carrying out file synchronization between Dropbox and desktop end
CN107666495A (en) * 2016-07-27 2018-02-06 平安科技(深圳)有限公司 The disaster recovery method and terminal of a kind of application
CN107666495B (en) * 2016-07-27 2020-11-10 平安科技(深圳)有限公司 Disaster recovery method and terminal for application
CN106453498B (en) * 2016-09-08 2020-09-08 北京小米移动软件有限公司 File synchronization method and device
CN106453498A (en) * 2016-09-08 2017-02-22 北京小米移动软件有限公司 File synchronization method and apparatus
CN106790378A (en) * 2016-11-11 2017-05-31 北京奇虎科技有限公司 The full synchronous method of data of equipment room, apparatus and system
CN106790535A (en) * 2016-12-22 2017-05-31 深圳爱拼信息科技有限公司 A kind of college entrance will table synchronous method and server
WO2018219178A1 (en) * 2017-05-27 2018-12-06 Oppo广东移动通信有限公司 Data synchronization method and apparatus, server, and storage medium
CN107566881A (en) * 2017-08-31 2018-01-09 深圳创维-Rgb电子有限公司 A kind of VR apparatus control methods, device and system
CN111190962A (en) * 2019-12-24 2020-05-22 深圳市优必选科技股份有限公司 File synchronization method and device and local terminal
CN111190962B (en) * 2019-12-24 2024-02-09 深圳市优必选科技股份有限公司 File synchronization method and device and local terminal
CN111787074A (en) * 2020-06-18 2020-10-16 杭州美创科技有限公司 File synchronization method and terminal
CN111787074B (en) * 2020-06-18 2023-04-21 杭州美创科技股份有限公司 File synchronization method and terminal

Also Published As

Publication number Publication date
CN103220358B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CN103220358A (en) Multi-terminal on-line file synchronizing method, system, server, and terminal device
CN102404338B (en) File synchronization method and device
CN106250270B (en) A kind of data back up method under cloud computing platform
CN106331098B (en) Server cluster system
CN106156359B (en) A kind of data synchronization updating method under cloud computing platform
CN1988535B (en) Synchronous method, system for file storage and customer terminal
CN103023988B (en) File synchronisation method, server, client and terminal device
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
WO2007113836A2 (en) Peer to peer syncronization system and method
CN102843361A (en) Implementation of instant messaging information synchronization based on cloud synchronization
CN103873519B (en) A kind of method of data synchronization, client, server, terminal and system
CN109495874B (en) Profile downloading method and device
US8612799B2 (en) Method and apparatus of backing up subversion repository
CN106850724B (en) Data pushing method and device
CN105827740A (en) Method, equipment and system for contact person information backup
US10318385B2 (en) Service recovery using snapshots and interservice messages
CN102841794A (en) Method, device and system for reinstalling operating system of terminal equipment
CN110995871A (en) Method for realizing high availability of KV storage service
CN109947592B (en) Data synchronization method, device and related equipment
CN116560904A (en) NAS data backup disaster recovery method, system, terminal and storage medium
CN105577767A (en) Contact person information backup method and apparatus
CN104468767A (en) Method and system for detecting cloud storage data collision
CN110958287A (en) Operation object data synchronization method, device and system
CN114157435A (en) Document processing method and device based on block chain technology and client
CN110990348B (en) Message notification method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Qu Weitao

Document name: Notification of Approving Refund

DD01 Delivery of document by public notice
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Liu Jinfeng

Inventor after: Li Jing

Inventor before: Li Jing

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20161116

Address after: 518000 Nanshan District City, Guangdong province digital cultural industry base, east block, 407, 408,

Applicant after: If Shenzhen Technology Co., Ltd.

Address before: 518112, Shenzhen, Guangdong, Longgang, Buji, China green Villa 8, 2 units 5B

Applicant before: Li Jing

C14 Grant of patent or utility model
GR01 Patent grant