CN103873519B - A kind of method of data synchronization, client, server, terminal and system - Google Patents

A kind of method of data synchronization, client, server, terminal and system Download PDF

Info

Publication number
CN103873519B
CN103873519B CN201210543951.4A CN201210543951A CN103873519B CN 103873519 B CN103873519 B CN 103873519B CN 201210543951 A CN201210543951 A CN 201210543951A CN 103873519 B CN103873519 B CN 103873519B
Authority
CN
China
Prior art keywords
synchronization rules
client
terminal device
synchronization
equipment
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
CN201210543951.4A
Other languages
Chinese (zh)
Other versions
CN103873519A (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 CN201210543951.4A priority Critical patent/CN103873519B/en
Publication of CN103873519A publication Critical patent/CN103873519A/en
Application granted granted Critical
Publication of CN103873519B publication Critical patent/CN103873519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of method of data synchronization, client, server, terminal and system, can be managed collectively and coordinate the data syn-chronization on each terminal device.The method of data synchronization includes:Cloud storage system received server-side passes through the equipment synchronization rules list of user described in management of webpage interface display to after the request of user management synchronization rules;After the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, cloud storage system server end by by modification synchronization rules and in presence terminal device between information push-mechanism, notify the terminal device update synchronization rules;By modification synchronization rules and in presence terminal device client receive synchronization rules update notification after, new synchronization rules are actively obtained to cloud storage system server end, after new synchronization rules are received, according to the synchronous terminal device local data of the synchronization rules.

Description

A kind of method of data synchronization, client, server, terminal and system
Technical field
The present invention relates to data processing field, and in particular to a kind of method of data synchronization, client, server, terminal and System.
Background technology
Prior art provide cloud storage system, including the software client of multiple different system platforms, based on internet Management of webpage interface and cloud storage service device.Assuming that the intelligent terminal that user holds includes:It is notebook one, desk-top One, machine, smart mobile phone one, iPad mono-.When user uses one intelligent terminal of any of the above, client can all incite somebody to action User file is fully synchronized on current intelligent terminal on cloud storage service device.Going out for two problems can be caused by so doing It is existing:
1st, the various intelligent terminal storage space volumes of user are different, and notebook, the storage space volume of desktop computer are bright It is aobvious more than smart mobile phone, iPad equipment, synchronous whole user file can cause user's smart mobile phone, the memory space on iPad Largely taken, influence the normal use of equipment;
2nd, user on different intelligent terminal device to the difference that needs of file, such as:The desktop computer that company uses is not The happy video of sync tone is needed, and the file that need not be worked asynchronously on the notebook in family, using more on smart mobile phone It is music, and sees that video and photo are more convenient on iPad, on the one hand synchronous whole user file can takes intelligent terminal Resource, on the other hand the file synchronization there is also potential safety hazard, the working document of concerning security matters or comprising individual privacy set to multiple It is standby upper, add the possibility divulged a secret.
In addition, existing network storage and synchronizing software can only be by directly operating certain equipment(That is the intelligent terminal Presence need to be in)To set the file synchronization of the equipment under user account regular.User needs the hand in each equipment It is dynamic that file synchronization rule is set, and can not inquire about or manage at any time synchronization rules different on multiple intelligent terminals.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method of data synchronization, client, server, terminal and it is System, can be managed collectively and coordinate the data syn-chronization on each terminal device.
In order to solve the above technical problems, the invention provides a kind of method of data synchronization, including:
Cloud storage system received server-side passes through management of webpage interface display to after the request of user management synchronization rules The equipment synchronization rules list of the user;
After the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, cloud storage system Server end by by modification synchronization rules and in presence terminal device between information push-mechanism, notice The terminal device updates synchronization rules;
By modification synchronization rules and the client of terminal device in presence receive synchronization rules update notification Afterwards, new synchronization rules are actively obtained to cloud storage system server end, after new synchronization rules are received, according to the synchronization Terminal device local data described in regular and synchronized.
Further, methods described also includes:
Cloud storage system received server-side passes through management of webpage interface display to after the request of user management synchronous regime The equipment synchronous regime list of the user;
When the synchronous regime of any of equipment synchronous regime list or several terminal devices is modified to start synchronous, Cloud storage system server end by by modification synchronous regime and in presence terminal device between information push away Mechanism is sent, notifies the terminal device client to synchronize;And/or
When the synchronous regime of any of equipment synchronous regime list or several terminal devices be modified to pause it is synchronous or When stopping synchronous, cloud storage system server end records the synchronous regime, when receiving by the terminal device of modification synchronous regime Client send synchronization rules request after, not to the client send synchronization rules.
Further, methods described also includes:
After cloud storage system received server-side checks the request of data modification history to user, pass through management of webpage interface The data modification history list of the user is shown, data modification history list includes the modification record of file, And FileVersion corresponding to changing every time;
When user selection by certain change corresponding to FileVersion be synchronized in line terminal equipment when, cloud storage system service Device end carries out same by the information push-mechanism between the terminal device, the notice client in line terminal equipment Step.
In order to solve the above technical problems, present invention also offers a kind of method of data synchronization, including:
After client logs in cloud storage system server end, this client institute is asked to the cloud storage system server end In the synchronization rules of terminal device;
The cloud storage system server end searches the current use that server end preserves according to the mark of the terminal device The equipment synchronization rules list at family, the synchronization rules of the terminal device are sent to the client, the equipment is synchronously advised All Terminal Equipment Identifiers of active user, and synchronization rules corresponding to each terminal device are then preserved in list, it is different Synchronization rules corresponding to terminal device are identical or different;
After the synchronization rules of terminal device where the client receives this client, according to the synchronization rules and the cloud Complete synchronous in storage system service device end.
Further, when client first logs into cloud storage system server end, the cloud storage system server end According to the mark of the terminal device, the equipment synchronization rules list for the active user that lookup server end preserves, by the end The synchronization rules of end equipment are sent to the client, including:
The mark of cloud storage system server end terminal device according to where the client, search server end and protect The equipment synchronization rules list of the active user deposited, if server end is judged without the Terminal Equipment Identifier, by described in Terminal Equipment Identifier is write in the equipment synchronization rules list of the user, and the synchronous rule of acquiescence are set for the terminal device Then, the synchronization rules are sent to the client.
Further, methods described also includes:
Cloud storage system received server-side passes through management of webpage interface display to after the request of user management synchronization rules The equipment synchronization rules list of the user;
After the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, cloud storage system Server end by by modification synchronization rules and in presence terminal device between information push-mechanism, notice The terminal device updates synchronization rules;
By modification synchronization rules and the client of terminal device in presence receive synchronization rules update notification Afterwards, new synchronization rules are actively obtained to cloud storage system server end, it is same according to the synchronization rules after synchronization rules are received Walk the terminal device local data.
In order to solve the above technical problems, present invention also offers a kind of server for realizing data syn-chronization, including receiving area Module, synchronization rules sending module and synchronization module are managed, wherein:
The receiving processing module, the synchronization of terminal device where asking the client for what is sent in reception customer side The request message of rule;
The synchronization rules sending module, for after the receiving processing module receives the request message, according to The mark of the terminal device, the equipment synchronization rules list for the active user that server end preserves is searched, the terminal is set Standby synchronization rules are sent to the client, and all terminals that active user is preserved in the equipment synchronization rules list are set Standby mark, and synchronization rules corresponding to each terminal device, synchronization rules corresponding to different terminal equipment are identical or different;
The synchronization module, for synchronous with client completion.
Further, the synchronization rules sending module is searched server end and preserved according to the mark of the terminal device Active user equipment synchronization rules list, the synchronization rules of the terminal device are sent to the client, including:
The mark of synchronization rules sending module terminal device according to where the client, search server end and preserve Active user equipment synchronization rules list, if server end is judged without the Terminal Equipment Identifier, by the end End equipment mark is write in the equipment synchronization rules list of the user, and the synchronization rules of acquiescence are set for the terminal device, The synchronization rules are sent to the client.
Further, the receiving processing module, it is additionally operable to after the request of user management synchronization rules is received, passes through The equipment synchronization rules list of user described in management of webpage interface display;
The server also includes message pushing module, and it is used for when any of described equipment synchronization rules list or several After the synchronization rules of individual terminal device are changed, by with by modification synchronization rules and in presence terminal device it Between information push-mechanism, notify the terminal device update synchronization rules;
The synchronization rules sending module, it is additionally operable to the request in the new synchronization rules of the acquisition for receiving client transmission Afterwards, new synchronization rules are sent to the client.
Further, the receiving processing module, it is additionally operable to after the request of user management synchronous regime is received, passes through The equipment synchronous regime list of user described in management of webpage interface display;
The message pushing module, it is additionally operable to the synchronization when any of equipment synchronous regime list or several terminal devices When state is modified to start synchronous, by by modification synchronous regime and in presence terminal device between letter Push-mechanism is ceased, notifies the terminal device client to synchronize.
Further, the receiving processing module, it is additionally operable to after the request of user management synchronous regime is received, passes through The equipment synchronous regime list of user described in management of webpage interface display;
The synchronization rules sending module, it is additionally operable to the synchronous regime for working as any terminal equipment in equipment synchronous regime list When being modified to suspend synchronously or stopping synchronous, when the synchronization rules request that the client for receiving the terminal device is sent Afterwards, synchronization rules are not sent to the client.
Further, the receiving processing module, it is additionally operable to after receiving user and checking the request of data modification history, By the data modification history list of user described in management of webpage interface display, data modification history list includes The modification record of file, and FileVersion corresponding to modification every time;
The message pushing module, be additionally operable to when user selection by certain change corresponding to FileVersion be synchronized to online end During end equipment, by the information push-mechanism between the terminal device, the notice client in line terminal equipment is entered Row is synchronous.
In order to solve the above technical problems, realizing the client of data syn-chronization present invention also offers a kind of, including ask modulus Block and synchronization module, wherein:
The request module, for after client logs in cloud storage system server end, being taken to the cloud storage system The synchronization rules of terminal device where this client is asked at business device end;
The synchronization module, for after the synchronization rules of terminal device where receiving this client, synchronously being advised according to this It is then synchronous with the cloud storage system server end completion.
Further, the request module, it is additionally operable to receiving the synchronization rules of cloud storage system server end transmission more After new notice, new synchronization rules are actively obtained to cloud storage system server end;
The synchronization module, it is additionally operable to after new synchronization rules are received, according to the synchronous terminal of the synchronization rules Equipment local data.
Further, the request module is additionally operable to send any one or more requests in following request:User manages The request of synchronization rules, the request of user management synchronous regime are managed, user checks the request of data modification history;And for After the notice synchronized for receiving the transmission of cloud storage system server end, actively obtained to cloud storage system server end current Synchronization rules.
In order to solve the above technical problems, present invention also offers a kind of intelligent terminal for realizing data syn-chronization, the intelligence Energy terminal device includes above-mentioned client.
In order to solve the above technical problems, present invention also offers a kind of system for realizing data syn-chronization, including above-mentioned client End and server.
Realize that the file synchronization rule in the intelligent terminal to all access cloud storage systems is managed.User is only Need the equipment that access is found on the management of webpage interface based on internet, and management and more new file directly under the equipment Synchronization rules.User can carry out pipe by web browser to the file synchronization rule in all devices under oneself account Reason, that is, realize same account on different devices using identical or different file synchronization rule.For example, some files are set Or file synchronizes or asynchronous in synchronizer is specified, and remotely deletes the synchronization being stored on designated computer or mobile phone File or folder.User may not necessarily synchronize rule respectively by using technical scheme in multiple equipment Set, and rule setting can be synchronized to multiple equipment by the way that webpage is unified, reduce operational trouble.Even if some sets It is standby to be in off-line state, file synchronization rule setting can also be carried out by webpage, can be according to rule when equipment is networked again The management to its file is then realized, i.e., advance synchronization rules pipe is carried out to the file in the intelligent terminal of off-line state Reason.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of the present invention 1;
Fig. 2 is the flow chart of the embodiment of the present invention 2;
Fig. 3 is the flow chart of the embodiment of the present invention 3;
Fig. 4 is the flow chart of the embodiment of the present invention 4;
Fig. 5 is the flow chart of the embodiment of the present invention 5;
Fig. 6 is the flow chart of the embodiment of the present invention 6;
Fig. 7 is the server architecture schematic diagram of the embodiment of the present invention 8;
Fig. 8 is the server architecture schematic diagram of the embodiment of the present invention 9;
Fig. 9 is the client terminal structure schematic diagram of the embodiment of the present invention 11.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Before illustrating to embodiment, first the concept hereinafter occurred is introduced:
Cloud storage system described herein includes one or more high in the clouds storage servers(During multiple high in the clouds storage servers For high in the clouds storage server set, offer service is united by multiple high in the clouds storage server groups), for preserving for using All data at family.Cloud storage system has server end, is interacted for the client with installing on the terminal device.Server End is the collection of programs for having specific function, and it can be loaded on any one server, can be also simply referred to as server.
Terminal device described herein includes the various intelligent terminals with operating system that user uses, including calculates Machine, smart mobile phone, hand-held tablet device etc..Terminal device can be presence or off-line state.Wherein, off-line state refers to Installing terminal equipment has simultaneously logged in client, but client is not attached with server;Presence refers to that terminal device is pacified Fill and logged in client, and client is normally connected with server.
After file synchronization refers to client and server by internet or mobile Internet connection, remain specific The consistent a kind of mechanism of the store path of file or folder, modification time, version, content.
Embodiment 1
How the present embodiment description realizes data syn-chronization, as shown in figure 1, comprising the following steps:
Step 101, after client logs in cloud storage system server end, this visitor is asked to the cloud storage system server end The synchronization rules of terminal device where the end of family;
Step 102, the cloud storage system server end searches working as server end preservation according to the mark of the terminal device The synchronization rules of the terminal device are sent to the client by the equipment synchronization rules list of preceding user;
In this specific embodiment, all Terminal Equipment Identifiers of active user are preserved in the equipment synchronization rules list, And synchronization rules corresponding to each terminal device, synchronization rules corresponding to different terminal equipment are identical or different.
In this specific embodiment, all terminal devices of active user refer to all installations of the user and logged client End, and logged in the terminal device of cloud storage system server end.
In this specific embodiment, the mark of terminal device can be with the model of using terminal equipment.
Step 103, after the client receives the synchronization rules of terminal device where this client, according to the synchronization rules with The cloud storage system server end is completed synchronous.
Synchronous data category in need or mark are recorded in synchronization rules, client selects needs according to the synchronization rules Synchronous data.
Synchrodata described herein includes file, file, video, picture etc., is specifically dependent upon the content of user's storage.
If client request is to being judged as without synchronization after the synchronization rules of the terminal device, it is possible to uses Family sets the terminal device asynchronous, and high in the clouds and local file need not be synchronous, or need synchronous data due to occupied etc. Reason can not realize synchronization, then client terminates synchronous flow.
Embodiment 2
The present embodiment is a kind of special circumstances of the scheme of above-described embodiment 1 --- terminal device first login cloud storage system Server end, the processing of cloud storage system server end can be slightly different with embodiment 1.As shown in Fig. 2 comprise the following steps:
Step 201, client first logs into cloud storage system server end, and this client institute is asked to the cloud storage system In the synchronization rules of terminal device;
Step 202, the mark of cloud storage system server end terminal device according to where the client, searches server The equipment synchronization rules list of the active user preserved is held, judges that server end without the Terminal Equipment Identifier, then sets the terminal Standby mark is write in the equipment synchronization rules list of the user, and the synchronization rules of acquiescence are set for the terminal device, and should Synchronization rules are sent to the client;
Step 203, with step 103.
Embodiment 3
The present embodiment introduces the terminal device list management of cloud storage system server end, and terminal device list is used to record All intelligent terminals in presence and/or off-line state of user.As shown in figure 3, comprise the following steps:
Step 301, the terminal device installed and log in client logs in cloud storage system server end by the client;
Cloud storage system server end, which is logged in, above by the client refers to that client and server normally connects.
Step 302, cloud storage system server end searches the user of server end preservation according to the Terminal Equipment Identifier Terminal device list, judge whether there is the Terminal Equipment Identifier in the terminal device list, if so, going to step 303, otherwise Go to step 304;
Step 303, connection status corresponding to the Terminal Equipment Identifier in the terminal device list is revised as online;
Step 304, the Terminal Equipment Identifier is recorded in terminal device list, and will be connected corresponding to the Terminal Equipment Identifier It is online to connect state recording.
When client is logged off, i.e., no longer it is connected with server end, then cloud storage system server end changes the terminal Connection status corresponding to terminal device where the client is off-line state in list of devices.
Embodiment 4
The present embodiment describes how user manages synchronization rules, in order to realize the function, cloud storage system server end to User provides management of webpage interface, manages the flow of synchronization rules as shown in figure 4, comprising the following steps:
Step 401, user logs in the management of webpage interface of cloud storage system server end and asks to manage synchronization rules, cloud Storage system service device terminates receive the requests of user management synchronization rules after, pass through the management of webpage interface display user's Equipment synchronization rules list;
User can pass through the webpage for the terminal device logs cloud storage system server end for having installed and having logged in client Administration interface, can also be by not installing the terminal device logs of client.User can be provided with web page browsing by any The terminal of device logs in the management of webpage interface at storage system service device end.
During user logs in the management of webpage interface of cloud storage system server end, in security consideration, Yun Cun Storage system server end needs to carry out the user authentication, and the method for authentication can refer to existing auth method reality It is existing, repeat no more herein.
So-called request management synchronization rules refer to that user clicks on the option or button of management synchronization rules.
Step 402, after the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, Yun Cun Storage system server end by by modification synchronization rules and in presence terminal device between information pusher System, the terminal device is notified to update synchronization rules;
On backstage, management of webpage interface can be by the content uploading that user changes to cloud storage system server end.
Cloud storage system server end only to by modification synchronization rules and terminal device in presence push it is logical Know, the terminal of off-line state can use the flow of embodiment 1 complete based on the synchronization rules newly changed at next login service device end Into synchronization.
If terminal device and server end be in long connection status, briefly, i.e. both holding companies for a long time State is connect, when there is message to need to be sent to terminal device, server end then passes through the connects chain of server and the terminal device The road direction terminal device PUSH message.
Step 403, after the client positioned at the terminal device receives synchronization rules update notification, actively to cloud storage system Server end obtains new synchronization rules, after synchronization rules are received, according to the synchronous terminal device local number of the synchronization rules According to.
It can be realized to same user by above-mentioned synchronization rules management process(Account)Different terminal equipment, use Different synchronization rules.
A kind of synchronization rules list is achieved in that, each terminal device of corresponding user, lists all of the user File or folder, user can select to need synchronous or need not be synchronous data by choosing mode.It is synchronous by changing The addition and deletion of data on the achievable different terminal equipment of rule, in addition, user can also be understood by the synchronization rules list There is which data on to which terminal device.
The setting of all terminal device synchronization rules can be disposably completed by above-mentioned workflow user, without by every Individual terminal device is configured.
In addition to the synchronization rules management described in the present embodiment, in other embodiments, user utilizes the cloud storage system The management of webpage interface of system server end can also realize any one or a few in following operation:Management by synchronization, data are repaiied Change history management, Terminal Equipment Identifier modification.Illustrate separately below.
Embodiment 5
When user's selection synchronizes management, cloud storage system server end passes through the management of webpage interface display user All terminal devices synchronous regime list, provide one of following functions for each terminal device:Start synchronous mistake manually Journey, the current ongoing synchronizing process of pause, stop synchronizing process.Synchronous regime list includes Terminal Equipment Identifier, correspondingly Connection status and synchronous regime, the only terminal device in presence can synchronize.If user selects to cancel Or stop synchronously, then the terminal device will not also synchronize when logging in next time, be set until user changes.
Idiographic flow is as shown in figure 5, comprise the following steps:
Step 501, cloud storage system received server-side passes through management of webpage to after the request of user management synchronous regime The equipment synchronous regime list of user described in interface display;
Step 502, when the synchronous regime of any of equipment synchronous regime list or several terminal devices is modified to out When beginning synchronous, cloud storage system server end by by modification synchronous regime and in presence terminal device between Information push-mechanism, notify the terminal device client to synchronize;
Step 503, when the synchronous regime of any of equipment synchronous regime list or several terminal devices is modified to temporarily Stop synchronous or when stopping synchronous, cloud storage system server end records the synchronous regime, when receiving by modification synchronous regime After the synchronization rules request that the client of terminal device is sent, synchronization rules are not sent to the client.
Situation may only occur in which any one in a management process described in above-mentioned steps 502 and step 503, May both occur.If either way occurring, the two steps do not have fixed sequencing.
Embodiment 6
When data modification history is checked in user's selection, cloud storage system server end should by management of webpage interface display The data modification history list of all terminal devices of user, one or more of work(is provided for each terminal device Energy:Consult data modification historical record, recover historical data.Data modification history list includes the modification note of file Record, and FileVersion corresponding to modification every time.By the data modification history list, user can be deleted by mistake in file or After file destroyed, from cloud server transfer history file and recovered.
Idiographic flow is as shown in fig. 6, comprise the following steps:
Step 601, after cloud storage system received server-side checks the request of data modification history to user, webpage is passed through Administration interface shows the data modification history list of the user, and data modification history list includes repairing for file Change record, and FileVersion corresponding to modification every time;
Step 602, when user select by certain change corresponding to FileVersion be synchronized to some in line terminal equipment when, cloud Storage system service device end notifies the terminal device client to carry out by the information push-mechanism between the terminal device It is synchronous.
Embodiment 7
When user changes Terminal Equipment Identifier, user can change the Terminal Equipment Identifier of system default for ease of identification Title, the Terminal Equipment Identifier of cloud storage system server end record user's modification, but server end and client internal needle Therefore the mark of the terminal device will not be changed.
Embodiment 8
The server of data syn-chronization is realized in the present embodiment introduction(I.e. above-mentioned server end), as shown in fig. 7, comprises receiving area Module 801, synchronization rules sending module 802 and synchronization module 803 are managed, wherein:
The receiving processing module 801, terminal device where asking the client for what is sent in reception customer side The request message of synchronization rules;
The synchronization rules sending module 802, for after the receiving processing module receives the request message, root According to the mark of the terminal device, the equipment synchronization rules list for the active user that lookup server end preserves, by the terminal The synchronization rules of equipment are sent to the client, and all terminals of active user are preserved in the equipment synchronization rules list Device identification, and synchronization rules corresponding to each terminal device, synchronization rules corresponding to different terminal equipment are identical or not Together;
The synchronization module 803, for synchronous with client completion.
In a specific embodiment, synchronization rules sending module searches server according to the mark of the terminal device The equipment synchronization rules list of the active user preserved is held, the synchronization rules of the terminal device are sent to the client, Including:
The mark of synchronization rules sending module terminal device according to where the client, search working as server end preservation The equipment synchronization rules list of preceding user, if judging that without the Terminal Equipment Identifier, the terminal is set for server end Standby mark is write in the equipment synchronization rules list of the user, and the synchronization rules of acquiescence are set for the terminal device, by institute State synchronization rules and be sent to the client.
Embodiment 9
In the present embodiment, except sending mould including receiving processing module 901 in the same manner as in Example 8, synchronization rules Outside block 902 and synchronization module 903, in addition to message pushing module 904, as shown in figure 8, the present embodiment and the area of embodiment 8 It is not:
The receiving processing module 901, is additionally operable to after the request of user management synchronization rules is received, and passes through webpage pipe Manage the equipment synchronization rules list of user described in interface display;
The message pushing module 904, for when any of described equipment synchronization rules list or several terminal devices Synchronization rules changed after, by by modification synchronization rules and in presence terminal device between information push away Mechanism is sent, notifies the terminal device to update synchronization rules;
The synchronization rules sending module 902, it is additionally operable in the new synchronization rules of the acquisition for receiving client transmission After request, new synchronization rules are sent to the client.
, can be by receiving when the synchronization rules of certain terminal device are changed in equipment synchronization rules list in specific implementation Processing module perceives, or is perceived by a newly-increased module, and receiving processing module or newly-increased module trigger message pushing module to end End sends notice, can also be perceived from message pushing module itself and notify that this depends on specific implementation to terminal transmission.
Embodiment 10
The receiving processing module of server, synchronization rules sending module and synchronization module are except with implementation in the present embodiment Outside function described in example 8, can also have other different functions according to scene difference:
Scene 1, client send the request of user management synchronous regime
Receiving processing module is additionally operable to after the request of user management synchronous regime is received, and is shown by management of webpage interface Show the equipment synchronous regime list of the user;
Message pushing module is additionally operable to the synchronous regime when any of equipment synchronous regime list or several terminal devices When being modified to start synchronous, by by modification synchronous regime and in presence terminal device between information push away Mechanism is sent, notifies the terminal device client to synchronize.
Scene 2, client send the request of user management synchronous regime
Receiving processing module is additionally operable to after the request of user management synchronous regime is received, and is shown by management of webpage interface Show the equipment synchronous regime list of the user;
The synchronous regime that synchronization rules sending module is additionally operable to work as any terminal equipment in equipment synchronous regime list is repaiied When being changed to suspend synchronously or stopping synchronous, after the synchronization rules request that the client for receiving the terminal device is sent, no Synchronization rules are sent to the client.
Scene 3, client send the request that user checks data modification history
Receiving processing module is additionally operable to after receiving user and checking the request of data modification history, by management of webpage circle Face shows the data modification history list of the user, and data modification history list includes the modification note of file Record, and FileVersion corresponding to modification every time;
Message pushing module be additionally operable to when user's selection by certain change corresponding to FileVersion be synchronized to online terminal and set When standby, by the information push-mechanism between the terminal device, the notice client in line terminal equipment carries out same Step.
Embodiment 11
The client of data syn-chronization is realized in the present embodiment introduction, as shown in figure 9, including request module 1101 and synchronization module 1102, wherein:
The request module 1101, for client log in cloud storage system server end after, to the cloud storage system The synchronization rules of terminal device where system server end asks this client;
The synchronization module 1102, it is same according to this for after the synchronization rules of terminal device where receiving this client Walk regular synchronous with the cloud storage system server end completion.
Embodiment 12
The request module of client and synchronization module also have in addition to the function in embodiment 11 in the present embodiment Following functions:
Request module be additionally operable to receive cloud storage system server end transmission synchronization rules update notification after, actively to Cloud storage system server end obtains new synchronization rules;
Synchronization module is additionally operable to after new synchronization rules are received, according to the synchronous terminal device sheet of the synchronization rules Ground data.
Embodiment 13
The request module of client is in addition to the function in embodiment 11 in the present embodiment, also with following functions:
Request module is additionally operable to send any one or more requests in following request:User management synchronization rules are asked Ask, the request of user management synchronous regime, user checks the request of data modification history;And for receiving cloud storage system After the notice synchronized that server end is sent, actively current sync rule is obtained to cloud storage system server end.
Client in above-described embodiment 11 or 12 or 13 may be disposed in intelligent terminal, and the intelligent terminal can Realize the synchronization of data.
The server of above-described embodiment 8 and the client of embodiment 11 may make up a kind of system for realizing data syn-chronization;On State the server of embodiment 9 and the client of embodiment 12 may make up another system for realizing data syn-chronization;Above-described embodiment 10 server and the client of embodiment 13 may make up another system for realizing data syn-chronization.
Using example
With Kingsoft fast disk under Windows operating system(Trade mark)Illustrated exemplified by Dropbox.
Cloud storage system server end provides management of webpage interface to user, for showing all devices under the user account On All Files supply user management.
User enters Kingsoft fast disk website by web browser, and with after personal user's name and password login, webpage pipe Managing interface can include the individual subscriber accounts information on the personal account page.In addition, the management of webpage interface also has synchronously Regulation management entrance, data modification history management entrance etc..User can see under the account all ends in synchronization rules management End equipment, and need synchronous or need not be synchronous content to be set per station terminal equipment.
When user logs in client using personal account on the terminal device, the equipment for the terminal device that client obtains Numbering reports to cloud storage system server end, after server end reads the device numbering, if judge user's login is one The new terminal device of platform, then server end the equipment is included into whole equipment file management system, the new equipment is given tacit consent to Synchronization rules create and other configurations.
When user is in Windows version fast disks(Trade mark)Distinguish on Dropbox software client with being directed to same computer on website After setting different synchronization rules, server end can be performed according to the time of rule settings by the rule of nearest time.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, each module/unit in above-described embodiment can be realized in the form of hardware, can also use the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence Know those skilled in the art when can be made according to the present invention it is various it is corresponding change and deformation, but these corresponding change and become Shape should all belong to the protection domain of appended claims of the invention.

Claims (17)

1. a kind of method of data synchronization, including:
Cloud storage system received server-side is to after the request of user management synchronization rules, by described in management of webpage interface display The equipment synchronization rules list of user;
After the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, cloud storage system service Device end by by modification synchronization rules and in presence terminal device between information push-mechanism, notify the end End equipment updates synchronization rules;
By modification synchronization rules and terminal device in presence client receive synchronization rules update notification after, it is main Trend cloud storage system server end obtains new synchronization rules, after new synchronization rules are received, according to the synchronization rules The synchronous terminal device local data;
Wherein, the synchronization rules include needing synchronous data category or mark, and the client is selected according to the synchronization rules Selecting needs synchronous data, and the synchronous data include file and/or file.
2. the method as described in claim 1, it is characterised in that:
Methods described also includes:
Cloud storage system received server-side is to after the request of user management synchronous regime, by described in management of webpage interface display The equipment synchronous regime list of user;
When the synchronous regime of any of equipment synchronous regime list or several terminal devices is modified to start synchronous, Yun Cun Storage system server end by by modification synchronous regime and in presence terminal device between information pusher System, notifies the terminal device client to synchronize;And/or
When the synchronous regime of any of equipment synchronous regime list or several terminal devices is modified to pause synchronously or stops When synchronous, cloud storage system server end records the synchronous regime, when receiving by the visitor of the terminal device of modification synchronous regime After the synchronization rules request that family end is sent, synchronization rules are not sent to the client.
3. the method as described in claim 1, it is characterised in that:
Methods described also includes:
After cloud storage system received server-side checks the request of data modification history to user, pass through management of webpage interface display The data modification history list of the user, data modification history list include the modification record of file, and FileVersion corresponding to modification every time;
When user selection by certain change corresponding to FileVersion be synchronized in line terminal equipment when, cloud storage system server end By the information push-mechanism between the terminal device, the notice client in line terminal equipment synchronizes.
4. a kind of method of data synchronization, including:
After client logs in cloud storage system server end, where asking this client to the cloud storage system server end eventually The synchronization rules of end equipment;
The cloud storage system server end searches the active user's that server end preserves according to the mark of the terminal device Equipment synchronization rules list, the synchronization rules of the terminal device are sent to the client, the equipment synchronization rules row All Terminal Equipment Identifiers of active user, and synchronization rules corresponding to each terminal device, different terminals are preserved in table Synchronization rules corresponding to equipment are identical or different;
After the synchronization rules of terminal device where the client receives this client, according to the synchronization rules and the cloud storage System server terminal is completed synchronous;
Wherein, the synchronization rules include needing synchronous data category or mark, and the client is selected according to the synchronization rules Selecting needs synchronous data, and the synchronous data include file and/or file.
5. method as claimed in claim 4, it is characterised in that:
When client first logs into cloud storage system server end, the cloud storage system server end is set according to the terminal Standby mark, the equipment synchronization rules list for the active user that server end preserves is searched, the synchronization of the terminal device is advised The client is then sent to, including:
The mark of cloud storage system server end terminal device according to where the client, search what server end preserved The equipment synchronization rules list of active user, if server end is judged without the Terminal Equipment Identifier, by the terminal Device identification is write in the equipment synchronization rules list of the user, and the synchronization rules of acquiescence are set for the terminal device, will The synchronization rules are sent to the client.
6. method as claimed in claim 4, it is characterised in that:
Methods described also includes:
Cloud storage system received server-side is to after the request of user management synchronization rules, by described in management of webpage interface display The equipment synchronization rules list of user;
After the synchronization rules of any of equipment synchronization rules list or several terminal devices are changed, cloud storage system service Device end by by modification synchronization rules and in presence terminal device between information push-mechanism, notify the end End equipment updates synchronization rules;
By modification synchronization rules and terminal device in presence client receive synchronization rules update notification after, it is main Trend cloud storage system server end obtains new synchronization rules, after synchronization rules are received, synchronously should according to the synchronization rules Terminal device local data.
7. a kind of server for realizing data syn-chronization, including receiving processing module, synchronization rules sending module and synchronization module, Wherein:
The receiving processing module, the synchronization rules of terminal device where asking the client for what is sent in reception client Request message;
The synchronization rules sending module, for after the receiving processing module receives the request message, according to described The mark of terminal device, the equipment synchronization rules list for the active user that server end preserves is searched, by the terminal device Synchronization rules are sent to the client, and all terminal device marks of active user are preserved in the equipment synchronization rules list Know, and synchronization rules corresponding to each terminal device, synchronization rules corresponding to different terminal equipment are identical or different;
The synchronization module, for synchronous with client completion;
Wherein, the synchronization rules include needing synchronous data category or mark, and the client is selected according to the synchronization rules Selecting needs synchronous data, and the synchronous data include file and/or file.
8. server as claimed in claim 7, it is characterised in that:
The synchronization rules sending module searches setting for the active user that server end preserves according to the mark of the terminal device The synchronization rules of the terminal device are sent to the client by standby synchronization rules list, including:
The mark of synchronization rules sending module terminal device according to where the client, search working as server end preservation The equipment synchronization rules list of preceding user, if judging that without the Terminal Equipment Identifier, the terminal is set for server end Standby mark is write in the equipment synchronization rules list of the user, and the synchronization rules of acquiescence are set for the terminal device, by institute State synchronization rules and be sent to the client.
9. server as claimed in claim 7 or 8, it is characterised in that:
The receiving processing module, it is additionally operable to after the request of user management synchronization rules is received, passes through management of webpage interface Show the equipment synchronization rules list of the user;
The server also includes message pushing module, and it was used for when any of described equipment synchronization rules list or several ends After the synchronization rules of end equipment are changed, by by modification synchronization rules and in presence terminal device between Information push-mechanism, the terminal device is notified to update synchronization rules;
The synchronization rules sending module, it is additionally operable to after the request of the new synchronization rules of the acquisition for receiving client transmission, New synchronization rules are sent to the client.
10. server as claimed in claim 9, it is characterised in that:
The receiving processing module, it is additionally operable to after the request of user management synchronous regime is received, passes through management of webpage interface Show the equipment synchronous regime list of the user;
The message pushing module, it is additionally operable to the synchronous regime when any of equipment synchronous regime list or several terminal devices When being modified to start synchronous, by by modification synchronous regime and in presence terminal device between information push away Mechanism is sent, notifies the terminal device client to synchronize.
11. server as claimed in claim 9, it is characterised in that:
The receiving processing module, it is additionally operable to after the request of user management synchronous regime is received, passes through management of webpage interface Show the equipment synchronous regime list of the user;
The synchronization rules sending module, the synchronous regime for being additionally operable to work as any terminal equipment in equipment synchronous regime list are repaiied When being changed to suspend synchronously or stopping synchronous, after the synchronization rules request that the client for receiving the terminal device is sent, no Synchronization rules are sent to the client.
12. server as claimed in claim 9, it is characterised in that:
The receiving processing module, it is additionally operable to after receiving user and checking the request of data modification history, passes through management of webpage The data modification history list of user described in interface display, data modification history list include the modification note of file Record, and FileVersion corresponding to modification every time;
The message pushing module, be additionally operable to when user's selection by certain change corresponding to FileVersion be synchronized to online terminal and set When standby, by the information push-mechanism between the terminal device, the notice client in line terminal equipment carries out same Step.
13. a kind of client for realizing data syn-chronization, including request module and synchronization module, wherein:
The request module, for client log in cloud storage system server end after, to the cloud storage system server The synchronization rules of terminal device where this client is asked at end;
The synchronization module, for after the synchronization rules of terminal device where receiving this client, according to the synchronization rules with The cloud storage system server end is completed synchronous;
Wherein, the synchronization rules include needing synchronous data category or mark, and the client is selected according to the synchronization rules Selecting needs synchronous data, and the synchronous data include file and/or file.
14. client as claimed in claim 13, it is characterised in that:
The request module, it is additionally operable to after the synchronization rules update notification of cloud storage system server end transmission is received, actively New synchronization rules are obtained to cloud storage system server end;
The synchronization module, it is additionally operable to after new synchronization rules are received, according to the synchronous terminal device of the synchronization rules Local data.
15. client as claimed in claim 13, it is characterised in that:
The request module is additionally operable to send any one or more requests in following request:User management synchronization rules are asked Ask, the request of user management synchronous regime, user checks the request of data modification history;And for receiving cloud storage system After the notice synchronized that server end is sent, actively current sync rule is obtained to cloud storage system server end.
16. a kind of intelligent terminal for realizing data syn-chronization, the client as described in any claim in claim 13-15 End.
17. a kind of system for realizing data syn-chronization, including client and server end, wherein:
The server end is server as claimed in claim 7 or 8;The client is visitor as claimed in claim 13 Family end;Or
The server end is server as claimed in claim 9;The client is client as claimed in claim 14 End;Or
The server end is the server as described in claim 10 or 11 or 12;The client is such as claim 15 institute The client stated.
CN201210543951.4A 2012-12-14 2012-12-14 A kind of method of data synchronization, client, server, terminal and system Active CN103873519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210543951.4A CN103873519B (en) 2012-12-14 2012-12-14 A kind of method of data synchronization, client, server, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210543951.4A CN103873519B (en) 2012-12-14 2012-12-14 A kind of method of data synchronization, client, server, terminal and system

Publications (2)

Publication Number Publication Date
CN103873519A CN103873519A (en) 2014-06-18
CN103873519B true CN103873519B (en) 2018-03-27

Family

ID=50911640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210543951.4A Active CN103873519B (en) 2012-12-14 2012-12-14 A kind of method of data synchronization, client, server, terminal and system

Country Status (1)

Country Link
CN (1) CN103873519B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921703B (en) * 2015-12-25 2020-11-27 阿里巴巴集团控股有限公司 Cross-border data synchronization method and system, and domestic and overseas data centers
CN105872072A (en) * 2016-04-29 2016-08-17 乐视控股(北京)有限公司 Data synchronization control method and device
CN106302130B (en) * 2016-09-14 2019-07-05 广东欧珀移动通信有限公司 A kind of method and device that chat message difference is synchronous
CN107040578B (en) * 2016-12-30 2020-09-01 平安科技(深圳)有限公司 Data synchronization method, device and system
CN108111374B (en) * 2017-11-16 2019-09-20 百度在线网络技术(北京)有限公司 Method, apparatus, equipment and the computer storage medium of synchronizer list
CN110769061B (en) * 2019-10-24 2021-02-26 华为技术有限公司 Data synchronization method and equipment
CN111224935A (en) * 2019-11-01 2020-06-02 杭州迪普科技股份有限公司 Synchronization method and device for user login state
CN115065653A (en) * 2022-05-10 2022-09-16 北京达佳互联信息技术有限公司 Session processing method, device and communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044235A1 (en) * 2003-07-30 2005-02-24 Balahura Robert Eugene System, computer product and method for enabling wireless data synchronization
CN102089760A (en) * 2008-03-04 2011-06-08 苹果公司 Synchronization server process

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083580B (en) * 2006-05-30 2010-05-12 华为技术有限公司 Method for obtaining electronic business guide update of mobile terminal and server and terminal
CN100454311C (en) * 2006-12-25 2009-01-21 华为技术有限公司 Data synchronous method and device based on SQL

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044235A1 (en) * 2003-07-30 2005-02-24 Balahura Robert Eugene System, computer product and method for enabling wireless data synchronization
CN102089760A (en) * 2008-03-04 2011-06-08 苹果公司 Synchronization server process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
我有时光机 误存文件也不怕;刘卓;《电脑爱好者》;20120315(第2012/06期);第34页 *

Also Published As

Publication number Publication date
CN103873519A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN103873519B (en) A kind of method of data synchronization, client, server, terminal and system
CN106156359B (en) A kind of data synchronization updating method under cloud computing platform
EP3595243B1 (en) Email integration with shared folder based integrated workspaces
CN106250270B (en) A kind of data back up method under cloud computing platform
US9979784B2 (en) Method for cloud data backup and recovery
CN103220358B (en) The online file synchronisation method in a kind of multiple terminals, system, server and terminal unit
CN103905495B (en) A kind of synchronous method and background server of application
CN101841537B (en) Method and system for realizing file sharing access control based on protocol proxy
CN101854392B (en) Personal data management method based on cloud computing environment
CN102510384A (en) Personal data sharing interactive processing method and server
US9705759B2 (en) Data leakage protection in cloud applications
US11425571B2 (en) Device configuration method, apparatus and system
CN103401902A (en) Portable cloud storage system and method
CN102413168A (en) Presenting availability statuses of synchronized objects
CN109309730A (en) A kind of believable document transmission method and system
CN105407117A (en) Distributed data backup method, device and system
CN101169799A (en) Operation information collection system and method
CN107580032B (en) Data processing method, device and equipment
CN103490978A (en) Terminal, server and message monitoring method
KR20130011130A (en) Memo synchronization system, mobile system and memo synchronization method for synchronizing memo data
CN107566195A (en) Mirror image warehouse processing method and system
CN102521390B (en) Database management and monitoring system based on pin function
CN106294387A (en) Data migration method and device
CN107770030B (en) Stage equipment control system, control method and control device based on VPN technology
CN112583918A (en) Intranet and extranet document interaction system, method and storage medium

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

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: Data synchronization method, client end, server, terminal and system

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
GR01 Patent grant
GR01 Patent grant