CN103200211B - A kind of method of data synchronization, system and equipment - Google Patents
A kind of method of data synchronization, system and equipment Download PDFInfo
- Publication number
- CN103200211B CN103200211B CN201210004837.4A CN201210004837A CN103200211B CN 103200211 B CN103200211 B CN 103200211B CN 201210004837 A CN201210004837 A CN 201210004837A CN 103200211 B CN103200211 B CN 103200211B
- Authority
- CN
- China
- Prior art keywords
- sync
- sync client
- data synchronization
- client
- data
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of method of data synchronization and system.The method includes: sync control server receives the synchronous service registration request of sync client, stores the user profile that this registration request carries;The user profile that sync control server stores according to self, forwards data synchronization session information between the sync client participating in simultaneous session;According to described data synchronization session information, directly carry out data transmission between the sync client participating in simultaneous session.The application present invention can reduce the pressure of server end.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of data synchronization, system and equipment.
Background technology
Along with the fast development of mobile Internet and the large area of intelligent terminal are popularized, subscriber equipment is increasingly
Variation, occurs in that PC (PC), laptop computer, smart mobile phone, palm PC (PDA)
Etc. the subscriber equipment of various ways, a user usually has multiple subscriber equipment.Along with people are to user
Improving constantly of the Functional Requirement of equipment, and the variation of subscriber equipment, make people create to
The demand of data resources synchronization is carried out between different user devices.
At present, the scheme carrying out data syn-chronization between different user devices is: based on client/server
(C/S) model carries out data syn-chronization.Specifically: user preserves the data of oneself on the webserver,
From multiple clients, data can be operated, thus can keep the unification of data in multiple client
And without each client is operated respectively, simplify the operating process of user, improve efficiency and use
Family requirement of real-time, and provide well support for mobile office.
Fig. 1 is the data synchronous system composition schematic diagram being currently based on C/S model.
As it is shown in figure 1, the data synchronous system being currently based on C/S model include central database server,
Sync server, Web server, mobile terminal and fixed clients.
Wherein, central database server uses LDAP (LDAP).LDAP
Directory service is a kind of special Database Systems, and it is specifically designed for reading, browsing and carry out with search operation
Specific optimization, is widely used in basic, the management of critical information, such as user profile, network
Resource information etc..
Data in central database server can be revised by two kinds of approach: 1. fixed clients is passed through
Record in central database is modified by Web page through Web server;2. mobile client is passed through
Sync server accesses central database and its synchronization.
Data synchronous system shown in Fig. 1 uses syncML agreement to realize data syn-chronization.SyncML synchronizes
Data exchange process in the session flow process of agreement main definitions data syn-chronization operation, conversation procedure, with
The handshake procedure of step both sides and the type etc. of data syn-chronization.
Data synchronous system shown in Fig. 1 in synchronizing process, the control process of data syn-chronization and transmitting procedure
Bind mutually, i.e. control information and data message is required for through controlling server, therefore, can be at clothes
Business device end produces huge pressure, is in particular in:
When multi-user carries out the data syn-chronization of big data quantity, the process of server end and storage pressure are drastically
Promote.
It addition, data synchronous system based on C/S model, also result in the data accumulation of magnanimity in minority
Calculating center so that webserver over loading and the disposal ability of great amount of terminals is idle, this nothing
It is suspected to be a kind of huge waste;And, the pregnable weakness of C/S model, data synchronous system is good for
Strong property and safety are had higher requirement.
Summary of the invention
In view of this, the invention provides a kind of method of data synchronization, system and equipment, in order to reduce clothes
The pressure of business device end.
Technical scheme is specifically achieved in that
A kind of method of data synchronization, the method includes:
Sync control server receives the synchronous service registration request of sync client, stores this registration request
The user profile carried;
The user profile that sync control server stores according to self, at the sync client participating in simultaneous session
Data synchronization session information is forwarded between end;
According to described data synchronization session information, directly enter between the sync client participating in simultaneous session
Row data are transmitted.
A kind of data synchronous system, this system includes sync control server and sync client;
Described sync control server, for receiving the synchronous service registration request of sync client, storage
The user profile that this registration request carries, according to the user profile of self storage, is participating in simultaneous session
Data synchronization session information is forwarded between sync client;
Described sync client, for according to described data synchronization session information, directly with the Tong Bu meeting of participation
Other sync client of words carry out data transmission.
A kind of sync control server, this sync control server includes synchronous service Registering modules, synchronization
The always online module of client and simultaneous session control module;
Described synchronous service Registering modules, for receiving the synchronous service registration request of sync client, deposits
Store up the user profile of this sync client;
The always online module of described sync client, for receive that sync client periodically sends or
The synchronous service registration request sent when sync client own user information updating, by this synchronous service
Registration request issues described synchronous service Registering modules;
Described simultaneous session control module, sets up request, root for receiving the simultaneous session of sync client
The user profile safeguarded according to the always online module of described sync client, inquires the same of simultaneous session opposite end
Step client, forwards data synchronization session information between the sync client participating in described simultaneous session.
A kind of sync client, this sync client include synchronous service Registering modules, always online module,
Simultaneous session control module and data simultaneous module;
Described synchronous service Registering modules, for sending synchronous service registration request to sync server, should
Synchronous service registration request carries the user profile of sync client;
Described always online module, for periodically or sync client self user profile more
Time new, send synchronous service registration request to sync control server, this synchronous service registration request is taken
With the user profile of sync client,
Described simultaneous session control module, for when there is a need to the data synchronized, taking by Synchronization Control
Business device, with other sync client interaction data simultaneous session information participating in data syn-chronization;
Described data simultaneous module, for according to described data synchronization session information, the most Tong Bu with other
Client carries out data transmission.
From such scheme, owing in the present invention, the control process of data syn-chronization is divided mutually with transmitting procedure
From, data transmission is directly carried out between the subscriber devices, it is thus possible to reduce the pressure to service end, and
And also ensure that the real-time that data are transmitted, improve data synchronization efficiency.
Accompanying drawing explanation
Fig. 1 is the data synchronous system composition schematic diagram being currently based on C/S model.
Fig. 2 is the method for data synchronization flow chart that the present invention provides.
Fig. 3 is the detail flowchart that two subscriber equipmenies that the present invention provides carry out data syn-chronization.
Fig. 4 is the composition schematic diagram of the data synchronous system that the present invention provides.
Fig. 5 is the structure chart of the sync control server that the present invention provides.
Fig. 6 is the structure chart of the sync client that the present invention provides.
Detailed description of the invention
The invention provides the method for data synchronization of a kind of novelty, system and equipment, use data syn-chronization control
The method that system is separated with transmission carries out data syn-chronization, specifically includes:
Sync control server receives the synchronous service registration request of sync client, stores this registration request
The user profile carried;The user profile that sync control server stores according to self, is participating in synchronization meeting
Data synchronization session information is forwarded between the sync client of words;According to described data synchronization session information,
Directly carry out data transmission between the sync client participating in simultaneous session.
Visible, use the present invention, first subscriber equipment to need not the data of oneself are saved in network service
On device, when needs and other subscriber equipment carry out data syn-chronization, need to send to network service end and control to ask
Asking order, service end is when receiving this order, and carrying out being processed and forwarded to opposite end as required needs data
The subscriber equipment synchronized, after establishing control stream between the subscriber equipment needing to carry out data syn-chronization,
Data syn-chronization just can be directly carried out between subscriber equipment, and without again through network server end, thus drop
The low pressure of server side.
Further, since the control process of data syn-chronization and transmitting procedure are separated, data transmission directly with
Carry out between the equipment of family, hereby it is ensured that the real-time of data transmission, improve data synchronization efficiency.And
And, owing to data store in a user device, therefore, also provide higher being good for for data synchronous system
Strong property and safety.
Fig. 2 is the method for data synchronization flow chart that the present invention provides.
As in figure 2 it is shown, this flow process includes:
Step 201, subscriber equipment is initiated synchronous service registration to sync control server, and is kept this user
Equipment is always online.
In this step, subscriber equipment can be by periodically sending synchronous service to sync control server
Registration request, keeps this subscriber equipment always online, i.e. keeps storing in described sync control server
The information such as the IP address and the port numbers that have this subscriber equipment.Subscriber equipment can also be by sending out at self information
During changing, send synchronous service registration request to sync control server, please in the registration of this synchronous service
Carry the information self updated in asking, keep this subscriber equipment always online.
Wherein, described synchronous service registration request can be session initiation protocol (Session Initiation
Protocol, SIP) registration message.
Step 202, subscriber equipment passes through sync control server and another Tong Bu meeting of subscriber equipment interaction data
Words information, thus set up data synchronization session between the subscriber devices.
Step 203, according to data synchronization session information, carries out data transmission the most between the subscriber devices.
Step 204, when needs terminate data synchronization session, subscriber equipment is tied by sync control server
Bundle and the simultaneous session of another subscriber equipment.
The most for a specific example, the method for data synchronization providing the present invention is illustrative,
Specifically refer to Fig. 3.
Fig. 3 is the detail flowchart that two subscriber equipmenies that the present invention provides carry out data syn-chronization.
Flow process shown in Fig. 3 includes four-stage: the step 201 in step 1-step 10 corresponding diagram 2, is user
Equipment carries out synchronous service registration and keeps terminal always online stage, step 11-step 18 corresponding diagram
Step 202 in 2, is to obtain data synchronization session to control the stage of information, the step in step 19 corresponding diagram 2
Rapid 203, it is to set up between the subscriber devices data synchronization session the stage directly carried out data transmission, step
Step 204 in rapid 20-step 23 corresponding diagram 2, is the stage terminating data synchronization session.
As it is shown on figure 3, this flow process specifically includes following steps:
Step 1: subscriber equipment 1 (UE1) sends registration request (REGISTER) to sync control server,
Purpose is to allow sync control server obtain the log-on message of active user.
Described log-on message generally comprises the IP address of subscriber equipment, port numbers etc..
Step 2: sync control server pass through back-end authentication, know IP address not in data base,
Just the challenge information not authenticated to UE1 loopback 401, including the token needed for safety certification.
Step 3:UE1 is identified according to safety certification token and after password encryption, is again used
REGISTER message report is to sync control server.
Step 4: the user profile in REGISTER message is deciphered by sync control server, by certification
After verifying that this user profile is legal, by this user profile registered database, and return to UE1 and successfully ring
Answer message 200OK.
Step 5: in order to keep user UE1 online, UE1 need to be every certain time, such as 1 minute, periodically
Registration message is cycled through again to sync control server.
Step 6-10: subscriber equipment 2 (UE2) is also required to periodic cyclic equally and sends REGISTER registration
Request is to sync control server, in order to allow sync control server obtain the user profile of UE2.
Step 11:UE1 sends invites (INVITE) message to sync control server.
The INVITE sent in this step contains the element information of data synchronization session (session),
The data type synchronized including current UE 1 request data and the synchronous protocol etc. used.
Step 12: sync control server returns to UE1 and attempts (Trying) message, represents this synchronization
Control server and have been received by the INVITE that UE1 sends, it is processed.
Step 13: sync control server, by being authenticated UE1, confirms that user UE1 certification is led to
Later, the address whether comprising this user UE1 in the via header field in INVITE request message is checked.If
Carrying the address of UE1 in via header field in INVITE request message, sync control server exists
The Via header field of INVITE request message inserts the address of self, and to indicated by the To territory of INVITE
Called subscriber equipment UE2 forward INVITE request.
Step 14:UE2 returns Trying message, represents that UE2 has been received by sync control server and sends
INVITE request.
Step 15:UE2 is after receiving the INVITE that sync control server forwards, first by UE1
Data type and synchronous protocol that desired data synchronizes mate, and by the user profile of self, such as
IP address, port numbers etc., be encapsulated in 200 OK message to be sent, the most again to Synchronization Control service
Device sends this 200 OK message, represents and is properly received and processes INVITE request.
Step 16: after sync control server receives this 200 OK message, is forwarded to this 200 OK message
UE1。
Visible, through the forwarding of sync control server, the information of UE2 has just been forwarded to UE1.
Step 17:UE1 has just got and the data synchronization session of terminal UE 2 after receiving 200 OK message
Control information, and finally send an ACK confirmation message to sync control server, represent that this message becomes
Merit receives.
Step 18: sync control server forwarding ACK message to UE2, it was demonstrated that UE1 has received UE2
The 200 OK response messages sent, now UE1 with UE2 just establishes SIP control and is connected, and is ready to
Get well and the data syn-chronization of UE1.
Step 19:UE1, according to the data synchronization session information acquired, needs synchronization to every kind respectively
Data type, the synchronous protocol that selection consults with UE2, such as syncML agreement or rSync agreement,
Data syn-chronization is carried out with UE2.
Step 20:UE1 sends BYE to sync control server and terminates synchronizing information, and expression request terminates
This synchronizing process.
Step 21: when sync control server receives the BYE message that UE1 sends, loopback terminates response and disappears
Breath, represents that request terminates.
Step 22: sync control server sends BYE to UE2 asks message, request to terminate Synchronization Control
Process, prepares to reclaim the simultaneous session information that this synchronizing process is set up simultaneously, and is receiving UE2's
After 200 OK message, delete the simultaneous session information that this synchronizing process is set up, thus realize described
The recovery of simultaneous session information.
Step 23:UE2 terminates synchronous transfer, to sync control server loopback 200 OK message, represents
Successfully terminate this synchronous transfer process.
Fig. 4 is the composition schematic diagram of the data synchronous system that the present invention provides.
As shown in Figure 4, this system includes sync control server 401 and multiple sync client 402.
Sync control server 401, is the webserver for realizing data syn-chronization, specifically for receiving
The synchronous service registration request of sync client 402, stores the user carried in this synchronous service registration request
Information, thus set up and keep the IP on-line joining process with sync client 402, according to the user of self storage
Information, forwards data synchronization session information between the sync client participating in simultaneous session, thus realizes
Data synchronization session between different sync client 402 controls, the foundation of such as data synchronization session, dimension
Hold and remove.
Wherein, sync control server 401 is by storage and the IP address of renewal sync client 402 and end
Slogan, sets up and keeps the IP on-line joining process with sync client 402.
Sync client 402 is a module in subscriber equipment, such as can be arranged on mobile phone, PDA,
In the various equipment such as PC, sync client 402 is by wireless network or the Internet and sync control server
401 communications.
Sync client 402, specifically for sending synchronous service registration request to sync control server 401,
Thus set up and keep the IP on-line joining process with sync control server 401, pass through sync control server
401 control the data synchronization session with other sync client 402, forward according to sync control server
Data synchronization session information, directly carries out data transmission with other sync client 402 described.
Sync client 402 by sending and update self IP address and end to sync control server 401
Slogan, sets up and keeps the IP on-line joining process with sync control server 401.
Sync client 402 controls the number with other sync client 402 by sync control server 401
According to simultaneous session, specifically may include that sync client 402 set up by sync control server 401,
Maintain and remove the data synchronization session with other sync client 402.
Wherein, data synchronization session is set up by sync control server 401 particularly as follows: participate in data syn-chronization
The sync client 402 of session obtains other of participation data synchronization session by sync control server 401
The simultaneous session information of sync client 402.More specifically, the sync client of data synchronization session is participated in
First local simultaneous session information is forwarded to other by sync control server 401 and synchronizes visitor by end 402
Family end 402, desired data, after receiving this simultaneous session information, is synchronized by other sync client 402
Data type and synchronous protocol mate, and according to matching result, again by Synchronization Control service
The simultaneous session information of himself is forwarded in former sync client 402 by device 401, the most former sync client
End 402 and other sync client 402 all obtain the simultaneous session information of the other side, the most conveniently can carry out
Synchronous transfer.Described simultaneous session information includes: the IP address of other sync client 402 described, port
Number, need synchronize data type and the synchronous protocol etc. of employing.
Data synchronization session is maintained particularly as follows: participate in data synchronization session by sync control server 401
The simultaneous session information that self updates, by sync control server 401, is issued ginseng by sync client 402
Other sync client 402 with data synchronization session.
Data synchronization session is deleted particularly as follows: sync control server 401 by sync control server 401
Delete the data synchronization session information of this data synchronization process.
Below the concrete structure of sync control server 401 and sync client 402 is introduced, specifically
Refer to Fig. 5 and Fig. 6.
Fig. 5 is the structure chart of the sync control server that the present invention provides.
As it is shown in figure 5, sync control server includes synchronous service Registering modules 501, sync client forever
Far away from wire module 502, simultaneous session control module 503.
Synchronous service Registering modules 501, for receiving the synchronous service registration request of sync client, storage
The user profile of this sync client.
The always online module of sync client 502, for setting up and keeping the IP between sync client
On-line joining process.
The always online module of sync client 502, specifically may be used for receiving sync client and periodically sends
Synchronous service registration request or when sync client own user information updating send synchronous service
Registration request, issues described synchronous service Registering modules 501 by this synchronous service registration request, thus sets up
And keep the IP on-line joining process between sync client.
Simultaneous session control module 503, controls for realizing the data synchronization session between sync client,
Including data synchronization session foundation, safeguard and delete.
Simultaneous session control module 503, sets up request specifically for receiving the simultaneous session of sync client,
Described simultaneous session is set up in request and is carried data synchronization session information, forever exists according to sync client
The IP of the sync client that wire module 502 is safeguarded connects, and inquires the sync client of opposite end, is synchronizing visitor
Forward data synchronization session information between the end of family, thus set up the data synchronization session between sync client.
Wherein, synchronous service Registering modules 501, for registering in the synchronous service receiving sync client
After request, inquiry has the most stored in this synchronous service registration request sent of this sync client and has carried
User profile, if stored, the user profile keeping this sync client is constant, if do not stored,
Then this sync client is authenticated, after certification is passed through, updates the user profile of this sync client.
Simultaneous session control module 503, is additionally operable to the data synchronization session safeguarding between sync client.
Simultaneous session control module 503, specifically for updating data synchronization session information, the data that will update
Simultaneous session information, is transmitted to participate in the sync client of data synchronization session in real time.
Simultaneous session control module 503, is additionally operable to receive sync client and terminates asking of data synchronization session
Ask, delete this data synchronization session information.Wherein, sync client typically completes at data syn-chronization
After, send the request terminating data synchronization session to simultaneous session control module 503, certainly, be also not excluded for
Sync client at other in particular cases, sends end data syn-chronization meeting to simultaneous session control module 503
The request of words.
Wherein, described data synchronization session information is to set up the context (context) required for data syn-chronization
Information, includes but not limited to following information: the IP address of sync client, the port numbers of simultaneous session,
Need data type, the synchronous protocol etc. of employing synchronized.
Fig. 6 is the structure chart of the sync client that the present invention provides.
As shown in Figure 6, sync client include synchronous service Registering modules 601, always online module 602,
Simultaneous session control module 603 and data simultaneous module 604.
Synchronous service Registering modules 601, for sending synchronous service registration request to sync server.This is same
Step service registration request carries the essential information of sync client, such as, the IP ground of sync client
Location and port numbers etc..
Always online module 602, for periodically or sync client self user profile update
Time, send synchronous service registration request to sync control server, this synchronous service registration request carries
There is the user profile of sync client, thus set up and keep the IP on-line joining process between server.
The always online of this always online module 602 place subscriber equipment is realized by always online module 602
After so that data syn-chronization can be carried out between each always online subscriber equipment at any time.
Simultaneous session control module 603, is used for and sync control server communication, completes between subscriber equipment
Simultaneous session control, including simultaneous session foundation, safeguard and delete.
Simultaneous session control module 603, specifically for when subscriber equipment there is a need to the data synchronized, passing through
The simultaneous session control module of sync control server and another subscriber equipment sets up data synchronization session.
Wherein, synchronous service Registering modules 601, for receiving the challenge information of sync control server, its
Include the token needed for safety certification, according to described token, mark and the password of this sync client are added
Issue sync control server after close to be authenticated.
Simultaneous session control module 603 sets up data synchronization session particularly as follows: simultaneous session control module 603
Context required for Tong Bu with other simultaneous session control module 603 interaction datas participating in data syn-chronization
Information.Described contextual information is specifically including but not limited to following information: the IP address of subscriber equipment, with
The port numbers of step session, the data type of needs synchronization, the synchronous protocol etc. of employing.
Data simultaneous module 604, the data synchronization session set up according to simultaneous session control module 603, directly
Connect and carry out data transmission with other data simultaneous module, i.e. when carrying out data transmission, it is not necessary to Jing Guotong
Step controls server, but the most directly carries out.
Data simultaneous module 604, the context set up with specific reference to simultaneous session, use the synchronization association decided through consultation
View (SyncML or rSync) is respectively completed the synchronization of every kind of data.
Wherein, simultaneous session contextual information of the present invention, can describe with xml, name one
Individual specific example illustrates:
Visible, that the present invention provides data syn-chronization scheme, it is not necessary to server carries out data relay, it is possible to have
Effect reduces the load of server, improves synchronous efficiency.
Using the present invention, subscriber equipment, when data syn-chronization, can select different agreements to carry out as required
Data syn-chronization, the method supports polytype data syn-chronization, for example, it is possible to the storage according to data is special
Point, the presentation mode of data, synchronization triggering mode etc., use syncML agreement or rSync agreement real
Existing data syn-chronization.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within bright spirit and principle, any modification, equivalent substitution and improvement etc. done, should be included in this
Within the scope of bright protection.
Claims (11)
1. a method of data synchronization, it is characterised in that the method includes:
Sync control server receives the synchronous service registration request of sync client, stores this registration request
The user profile carried;
The user profile that sync control server stores according to self, at the sync client participating in simultaneous session
Data synchronization session information is forwarded between end;
According to described data synchronization session information, directly enter between the sync client participating in simultaneous session
Row data are transmitted;
Wherein, described forwarding data synchronization session information bag between the sync client participating in simultaneous session
Include:
Subscriber equipment passes through sync control server and another subscriber equipment interaction data simultaneous session information,
Thus set up data synchronization session between the subscriber devices;
Described user profile includes IP address and the port numbers of sync client place subscriber equipment;
Described data synchronization session information includes the IP address of sync client place subscriber equipment, port
Number, need synchronize data type and the Data Synchronization Protocol of employing.
Method the most according to claim 1, it is characterised in that sync control server receives and synchronizes
The synchronization registration service request of client includes:
Sync control server receives that the sync client cycle sends or sends when user profile updates
Synchronous service registration request.
Method the most according to claim 1, it is characterised in that this registration request of described storage carries
User profile include:
Sync control server inquiry has stored this synchronous service registration sent of this sync client the most
The user profile carried in request, if it is, keep the user profile of this sync client constant, otherwise,
This sync client is authenticated, after certification is passed through, updates the user profile of this sync client.
Method the most according to claim 2, it is characterised in that described sync control server according to
The user profile of self storage, forwards data synchronization session between the sync client participating in simultaneous session
Information includes:
Sync control server receives the simultaneous session of the first sync client and sets up request, this simultaneous session
Set up the data synchronization session information carrying the first sync client in request;
The user profile that sync control server stores according to self, inquires and participates in the second of simultaneous session
Sync client, forwards the data synchronization session of described first sync client to this second sync client
Information;
Second sync client is by the data synchronization session information of the first sync client and this second Tong Bu visitor
The data synchronization session information of family end support is mated, and the data synchronization session information after coupling is passed through
Sync control server is transmitted to the first sync client.
Method the most according to claim 1, it is characterised in that the method also includes:
When needs update or terminate data synchronization session, sync client passes through sync control server,
Update or delete the data synchronization session information with another sync client.
6. a data synchronous system, it is characterised in that this system includes sync control server and synchronization
Client;
Described sync control server, for receiving the synchronous service registration request of sync client, storage
The user profile that this registration request carries, according to the user profile of self storage, is participating in simultaneous session
Data synchronization session information is forwarded between sync client;
Described sync client, for according to described data synchronization session information, directly with the Tong Bu meeting of participation
Other sync client of words carry out data transmission;
Wherein, described forwarding data synchronization session information bag between the sync client participating in simultaneous session
Include:
Subscriber equipment passes through sync control server and another subscriber equipment interaction data simultaneous session information,
Thus set up data synchronization session between the subscriber devices;
Described user profile includes IP address and the port numbers of sync client place subscriber equipment;
Described data synchronization session information includes the IP address of sync client place subscriber equipment, port
Number, need synchronize data type and the Data Synchronization Protocol of employing.
7. a sync control server, it is characterised in that this sync control server includes synchronous service
The always online module of Registering modules, sync client and simultaneous session control module;
Described synchronous service Registering modules, for receiving the synchronous service registration request of sync client, deposits
Store up the user profile of this sync client;
The always online module of described sync client, for receive that sync client periodically sends or
The synchronous service registration request sent when sync client own user information updating, by this synchronous service
Registration request issues described synchronous service Registering modules;
Described simultaneous session control module, sets up request, institute for receiving the simultaneous session of sync client
State in simultaneous session foundation request and carry data synchronization session information, eternal according to described sync client
In the user profile that wire module is safeguarded, inquire the sync client of simultaneous session opposite end, described in participating in
Data synchronization session information is forwarded between the sync client of simultaneous session;
Wherein, described forwarding data synchronization session letter between the sync client participating in described simultaneous session
Breath includes:
Subscriber equipment passes through sync control server and another subscriber equipment interaction data simultaneous session information,
Thus set up data synchronization session between the subscriber devices;
Described user profile includes IP address and the port numbers of sync client place subscriber equipment;
Described data synchronization session information includes the IP address of sync client place subscriber equipment, port
Number, need synchronize data type and the Data Synchronization Protocol of employing.
Sync control server the most according to claim 7, it is characterised in that
Described synchronous service Registering modules, for receiving the synchronous service registration request of sync client
After, inquiry has stored the use carried in this synchronous service registration request sent of this sync client the most
Family information, if stored, the user profile keeping this sync client is constant, if do not stored, then
This sync client is authenticated, after certification is passed through, updates the user profile of this sync client.
Sync control server the most according to claim 7, it is characterised in that
Described simultaneous session control module, is additionally operable to the data synchronization session information that will update, forwards in real time
Give the sync client participating in data synchronization session, receive sync client and terminate asking of data synchronization session
Ask, delete this data synchronization session information.
10. a sync client, it is characterised in that this sync client includes that synchronous service registers mould
Block, always online module, simultaneous session control module and data simultaneous module;
Described synchronous service Registering modules, for sending synchronous service registration request to sync server, should
Synchronous service registration request carries the user profile of sync client;
Described always online module, for periodically or sync client self user profile more
Time new, send synchronous service registration request to sync control server, this synchronous service registration request is taken
User profile with sync client;
Described simultaneous session control module, for when there is a need to the data synchronized, taking by Synchronization Control
Business device, with other sync client interaction data simultaneous session information participating in data syn-chronization;
Described data simultaneous module, for according to described data synchronization session information, the most Tong Bu with other
Client carries out data transmission;
Wherein, described user profile includes IP address and the port numbers of sync client place subscriber equipment;
Described data synchronization session information includes the IP address of sync client place subscriber equipment, port
Number, need synchronize data type and the Data Synchronization Protocol of employing.
11. sync client according to claim 10, it is characterised in that
Described synchronous service Registering modules, for receiving the challenge information of sync control server, wherein wraps
Include the token needed for safety certification, according to described token by after the mark of this sync client and password encryption
Issue sync control server to be authenticated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210004837.4A CN103200211B (en) | 2012-01-04 | 2012-01-04 | A kind of method of data synchronization, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210004837.4A CN103200211B (en) | 2012-01-04 | 2012-01-04 | A kind of method of data synchronization, system and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103200211A CN103200211A (en) | 2013-07-10 |
CN103200211B true CN103200211B (en) | 2016-12-14 |
Family
ID=48722568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210004837.4A Active CN103200211B (en) | 2012-01-04 | 2012-01-04 | A kind of method of data synchronization, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103200211B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376062B (en) * | 2015-10-26 | 2019-05-31 | 努比亚技术有限公司 | A kind of communication security exchange method, apparatus and system |
CN116561089B (en) * | 2023-07-10 | 2023-09-19 | 成都泛联智存科技有限公司 | Data synchronization method, device, client and computer readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137065A (en) * | 2010-01-25 | 2011-07-27 | ***通信集团公司 | Communication method, terminals and system applied in multiple networks |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4118800B2 (en) * | 2003-12-26 | 2008-07-16 | ソフトバンクモバイル株式会社 | Presence display system and gateway device |
KR101017365B1 (en) * | 2006-02-14 | 2011-02-28 | 삼성전자주식회사 | Method for synchronizing multiple CDS devices, CDS devices and system thereof. |
CN101257375B (en) * | 2006-12-31 | 2012-08-08 | 华为技术有限公司 | Method and device for realizing multi-terminal message synchronization |
-
2012
- 2012-01-04 CN CN201210004837.4A patent/CN103200211B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137065A (en) * | 2010-01-25 | 2011-07-27 | ***通信集团公司 | Communication method, terminals and system applied in multiple networks |
Non-Patent Citations (2)
Title |
---|
基于P2P-SIP融合技术的VoIP***设计研究;黄文聪;《中国优秀硕士学位论文全文数据库信息科技辑》;20091215;第I136-111页 * |
面向异构网络视频点播***关键技术的研究;黄宏杰;《中国优秀硕士学位论文全文数据库信息科技辑》;20111215;第I136-626页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103200211A (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101217431B (en) | A method and system of photos in synchronous mobile terminal network TV and network album | |
CN102664871B (en) | A kind of processing method of intelligent terminal address list | |
CN103188207B (en) | A kind of cross-domain single sign-on realization method and system | |
CN1838594B (en) | Systems and methods for adaptive authentication | |
CN102196035B (en) | For providing the method and system of unified web service discovery | |
EP2710776B1 (en) | Anonymous signalling | |
CN101039310B (en) | Link sharing service apparatus and communication method thereof | |
US11632255B2 (en) | Method and system for storing and retrieving electronic files using blockchains | |
US20130035079A1 (en) | Method and system for establishing data commuication channels | |
CN104811371A (en) | Brand-new instant messaging system | |
CN102780575A (en) | Method and system for creating and managing schedule on basis of social network | |
JP2003510902A (en) | Wide area network synchronization | |
CN103812900A (en) | Data synchronization method, device and system | |
CN104104661A (en) | Client, server, and remote user dialing authentication capability negotiation method and system | |
CN105681260A (en) | Cloud storage file transmission method, fusion communication platform, sending end and system | |
CN101588366A (en) | System and method for accessing enterprise information system based on SaaS | |
CN109041036A (en) | WIFI connection method and equipment | |
Lai et al. | AnyCharge: An IoT-based wireless charging service for the public | |
CN102647432A (en) | Authentication information transmission method, device and authentication middleware | |
CN101562477A (en) | Method and system for time management, client and server based on mobile internet | |
CN103200211B (en) | A kind of method of data synchronization, system and equipment | |
CN109120727A (en) | Distributed message supplying system | |
CN102714653A (en) | System and method for accessing private digital content | |
CN102158477A (en) | Communication system and information interaction method | |
CN110417636A (en) | A kind of the self-organizing instantaneous communication system and its method of decentralization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |