CN102611724B - Server notice data synchronization and synchronization server migration method, system and device - Google Patents

Server notice data synchronization and synchronization server migration method, system and device Download PDF

Info

Publication number
CN102611724B
CN102611724B CN201110026588.4A CN201110026588A CN102611724B CN 102611724 B CN102611724 B CN 102611724B CN 201110026588 A CN201110026588 A CN 201110026588A CN 102611724 B CN102611724 B CN 102611724B
Authority
CN
China
Prior art keywords
server
synchronization
information
parameter configuration
terminal
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
CN201110026588.4A
Other languages
Chinese (zh)
Other versions
CN102611724A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110026588.4A priority Critical patent/CN102611724B/en
Publication of CN102611724A publication Critical patent/CN102611724A/en
Application granted granted Critical
Publication of CN102611724B publication Critical patent/CN102611724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a server notice data synchronization and synchronization server migration method, system and device which are used for solving the problems that the spending of a server side is great and the safety of personal information of a user can not be guaranteed in the existing server notice data synchronization process. The method comprises the following steps that: after a terminal receives synchronization notice information sent by a server, user data synchronization is carried out with the server according to sender number information of the server for sending the synchronization notice information and accessing authentication code information stored by the synchronization server when the synchronization notice information authentication passes. According to the embodiment of the invention, the synchronization notice information can be authenticated according to an accessing authentication code and a sender number of the server for sending the synchronization notice information; and the process does not need to be provided with a key and the sender number of the server is unique, so that the spending of the server side is small and the safety of the personal information of the user is guaranteed.

Description

Server notification data synchronous and synchronization server moving method, system and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of server notification data synchronous and synchronization server moving method, system and device.
Background technology
Data syn-chronization is the method ensureing the data consistency that user terminal and server are preserved.Server can be adopted in data synchronization process to notify synchronous mode, server notice is synchronously indicate client to initiate a kind of simultaneous operation by server specified type by server, the client simultaneous operation of type of specifying according to server more afterwards, carries out corresponding synchronizing process.The type of data syn-chronization comprises: bi-directional synchronization (Two-waySync) or fast synchronous, slow synchronous (Slow Sync)), the type such as client one-way synchronization (One-way Sync FromClient Only), client refreshes (Refresh Sync From Client Only), server one-way synchronization (One-way Sync From Server Only) and server refreshing (Refresh Sync From ServerOnly).
Can be accomplished in several ways alternately between server and terminal in server notice synchronizing process, such as can by modes such as the IP link in data communication network, the short message (SMS) in mobile communications network or destructuring replenish user data (USSD).Fig. 1 is server notification data synchronizing process in prior art, and this process comprises the following steps:
S101: synchronization server sends synchronization notice information to terminal.
S102: the synchronization notice information that end-on receives carries out certification, when certification is passed through, carries out step S103; Or not certification, directly carry out step S103.
S103: it is mutual that terminal and synchronization server carry out synchronous anchor point, synchronization server by the type feedback of data syn-chronization to terminal.
S104: the synchronous type that terminal is determined according to synchronization server, self change data is sent to synchronization server, synchronization server issues data change instruction to terminal, after terminal completes data processing, sets up the mapping relations with data record on synchronization server.
In the process that above-mentioned server notification data is synchronous, terminal needs the synchronization notice message to synchronization server triggers to carry out certification, or not certification is directly initiated synchronous according to this synchronization notice information.If terminal needs certification, the method for certification can be adopted to have: terminal carries out certification according to the shared key of the user's input received to this synchronization notice information; Or terminal carries out certification according to this synchronization notice information of preset unified double secret key; Again or, when synchronization notice information that synchronization server issues adopts business password to be encrypted, then terminal carries out certification according to this synchronization notice information of business codon pair of preserving.
In said process, terminal not certification directly initiates synchronous mode according to this synchronization notice information, when the synchronization server declared in this notice synchronization message is for personation, terminal is when carrying out data syn-chronization, the information of user can be uploaded on the synchronization server of this personation, thus reveal the key message of user; In another situation, if when this personation server carries the address of a certain synchronization server of operator in this synchronization notice information, a large amount of terminals all can send synchrodata to this server, thus causes this server and attack instantaneously, affects the operation of this server normal function.
When adopting the shared key mode of user's input to carry out certification to this synchronization notice information, service side needs other shared key distribution mechanisms that this shared key is distributed to user in advance, need to depend on user interactions in notice synchronizing process, cause interference to user, user need remember and accurately input this shared key; In addition, when user is when terminal is not other, the normal operation of data syn-chronization can also be affected.And adopt terminal preset to unify the mode of key, if the key that each terminal adopts is identical, therefore this key does not inherently have fail safe, if during the different key of different terminal preset, then can increase the complexity of the management of terminal key, terminal release management.When employing business password carries out the mode of certification, need server end to generate synchronization notice information according to each terminal, expense is larger; In addition, for the user in mobile communications network, usually use the Radius server of WAP gateway to provide the identity information authentication of user, user does not know this password, thus causes this authentication mode in most of the cases not possess operability.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of server notification data synchronous and synchronization server moving method, system and device, in order to solve in existing server notification data synchronizing process, server side expense is large, cannot ensure the problem of userspersonal information's fail safe.
A kind of server notification data synchronous method that the embodiment of the present invention provides, comprising:
The synchronization notice information that terminal reception server sends;
In the parameter configuration of the synchronization server self preserved, extract the short message access code information of synchronization server;
According to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information;
When sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carry out user data synchronization with described server.
Synchronization server moving method during a kind of server notification data that the embodiment of the present invention provides is synchronous, comprising:
Current first server of carrying out user data synchronization with terminal, when determining the user data information of described terminal to be moved to second server, obtain the parameter configuration of described second server, wherein in this parameter configuration, comprise the short message access code information of this second server;
The parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, indicate described terminal to carry out follow-up data synchronous service according to the short message access code information of described second server and described second server.
A kind of server notification data synchro system that the embodiment of the present invention provides, comprising:
Terminal, for the synchronization notice information that reception server sends, in the parameter configuration of the synchronization server self preserved, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information, when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carry out user data synchronization with described server;
Server, for sending synchronization notice information to described terminal, and carries out user data synchronization with described terminal.
Synchronization server migratory system during a kind of server notification data that the embodiment of the present invention provides is synchronous, comprising:
First server, during for determining the data message of described terminal to be moved to second server, obtain the parameter configuration of described second server, wherein comprise the short message access code information of this second server in this parameter configuration, the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets, when carrying out user data synchronization with described terminal, this synchronization packets is sent to described terminal;
Terminal, for receiving the synchronization packets that described first server sends, short message access code information and described second server according to synchronously putting second server in packet carry out follow-up data synchronous service.
A kind of server notification data synchronizer that the embodiment of the present invention provides, comprising:
Receiver module, for the synchronization notice information that reception server sends;
Authentication module, for in the parameter configuration of synchronization server of preserving at self, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information;
Synchronization module, for when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carries out data syn-chronization with described server.
Synchronization server moving apparatus during a kind of server notification data that the embodiment of the present invention provides is synchronous, comprising:
Acquisition module, during for determining the data message of described terminal to be moved to second server, obtaining the parameter configuration of described second server, wherein comprising the short message access code information of this second server in this parameter configuration;
Sending module, for being carried in the Controlling vertex information of synchronization packets by the parameter configuration of the described second server obtained, when carrying out user data synchronization with described terminal, is sent to described terminal by this synchronization packets.
A kind of server notification data that the embodiment of the present invention provides synchronous and synchronization server moving method, system and device, in data synchronization process when terminal receives the synchronization notice information of server transmission, according to the sender number information of the server of this synchronization notice information of transmission, and the access authentication code information of the synchronization server self preserved, when this synchronization notice authentification of message is passed through, carry out user data synchronization with this server.Owing to saving the access authentication code of the server carrying out user data synchronization with it in terminal in embodiments of the present invention, so when receiving the synchronization notice information that server sends, can according to this access authentication code, and the sender number of the server sending this synchronization notice information carries out certification to this synchronization notice information, and because this process is without the need to carrying out cipher key configuration, the sender number of server is unique, therefore server side expense is little, and ensure that the fail safe of userspersonal information.
Accompanying drawing explanation
Fig. 1 is server notification data synchronizing process in prior art;
The structural representation of a kind of server notification data synchro system that Fig. 2 provides for the embodiment of the present invention;
The process that the server notification data that Fig. 3 provides for the embodiment of the present invention is synchronous;
What Fig. 4 provided for the embodiment of the present invention changes for the address information of synchronization server, is described server notification data synchronizing process;
The synchronous middle synchronization server transition process of a kind of server notification data that Fig. 5 provides for the embodiment of the present invention;
The detailed implementation process of the synchronous middle synchronization server migration of a kind of server notification data that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the system of the synchronous middle server migration of a kind of server notification data that Fig. 7 provides for the embodiment of the present invention;
A kind of server notification data synchronizer structural representation that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the device of the synchronous middle server migration of a kind of server notification data that Fig. 9 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention carries out user data synchronization based on server advice method, and in the user data synchronization process of this server triggers, terminal and server are undertaken by the short message in mobile communications network alternately.
Below in conjunction with Figure of description, the embodiment of the present invention is described in detail.
The structural representation of a kind of server notification data synchro system that Fig. 2 provides for the embodiment of the present invention, this system comprises:
Terminal 21, for the synchronization notice information that reception server sends, in the parameter configuration of the synchronization server self preserved, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information, when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carry out user data synchronization with described server;
Server 22, for sending synchronization notice information to described terminal, and carries out user data synchronization with described terminal.
Wherein, server and terminal send synchronization notice information based on short message channel by Short Message Service Gateway, sms center, carry out the synchronous of user data information by the synchronizing channel in mobile data communication network.Namely concrete when monitoring server changes to user data information, or by short message channel, synchronization notice information is sent to end side by Short Message Service Gateway, sms center according to the time interval of setting.
After terminal to receive the synchronization notice information that server sends by short message channel, certification is carried out to this synchronization notice information.In order in the process of data syn-chronization, reduce the expense of server-side management authenticate key, ensure the fail safe of userspersonal information, preserve the parameter configuration of the synchronization server carrying out user data synchronization with it in the embodiment of the present invention in the terminal, in this parameter configuration, comprise the information such as the short message access code information of synchronization server, synchronizing address information, database-name.After terminal receives the synchronization notice information of server transmission, need to carry out certification to this synchronization notice information, to ensure the fail safe that subsequent customer data is synchronous.
Terminal is when carrying out certification to this synchronization notice information, in the parameter configuration of the synchronization server self preserved, extract the short message access code information of synchronization server, the sender number information judging this synchronization notice information whether with the short message access code information matches extracted, when the short message access code information matches of the sender number information of this synchronization notice information and extraction, then certification is passed through, user data synchronization is carried out with this server, otherwise, think this server not trusted, ignore this message, data synchronization process terminates.
Terminal self preserves the information of the short message access code carrying out synchronous server with it, be such as 1086066, when terminal receives the synchronization notice information of server transmission, according to the sender number information of the server of this synchronization notice information of transmission, when determining whether this sender number information mates with the short message access code information of self preserving, this sender number information of coupling that can be concrete and this short message access code information, or prefix and this short message access code information of mating this sender number information.This is because server is when the information of transmission, short message access code information and suffix may be carried in its sender number information, such as 1086066123, wherein 1086066 is the prefix of this sender number, 123 is suffix, during therefore concrete coupling, need to mate with the short message access code information of self preserving according to the prefix of this sender number information, certification is carried out to the server of this transmission synchronization notice information.
In embodiments of the present invention, because operator has control completely to short message channel, can ensure to carry out the integrality of mutual information, reliability and fail safe by short message channel, therefore adopt short message access code to carry out certification to synchronization notice information, user data synchronization can be carried out with server and improve reliable safety assurance for follow-up.
When the short message access code information of the synchronization server that terminal is preserved according to self, and the sender number information of the server sending this synchronization notice information carries out certification, and after certification passes through, terminal carries out the synchronous of user data with server by mobile data communication network.In this user data synchronization process, server can carry this wheel synchronization type information in this synchronization notice information, the wheel synchronization type information that terminal is carried in this synchronization notice information according to server, adopts respective synchronization type and server to carry out user data synchronization.
Terminal obtains the address information of this server, sends synchronization request according to this address information to server, and the database corresponding to this server carries out user data synchronization.In order to ensure the safety of personal information in data synchronization process, and avoid server under attack, also comprise in the parameter configuration of the synchronization server preserved in embodiments of the present invention: the identification information (can be such as the name information of database) etc. of at least one in the address information of synchronization server and domain-name information and port information and sync database.Namely, in embodiments of the present invention when saving the short message access code information of the synchronization server carrying out user data synchronization with it in the terminal, the identification information etc. of at least one in the address information of this synchronization server and domain-name information and port information and sync database is also preserved for the short message access code information of this synchronization server.
When comprising the address information of synchronization server in the parameter configuration of the synchronization server preserved in terminal, terminal is in the parameter configuration of the synchronization server self preserved, search the address information of synchronization server corresponding to this short breath access code information, using this address information of searching address information as the described server obtained, carry out data syn-chronization with described server.When comprising the domain-name information of synchronization server in the parameter configuration of the synchronization server preserved in terminal, terminal is in the parameter configuration of the synchronization server self preserved, search the domain-name information of synchronization server corresponding to this short breath access code information, determine corresponding synchronization server address by domain name mapping in synchronizing process, carry out data syn-chronization with described server.
Concrete carries out in the process of data syn-chronization in terminal and server, and terminal also needs the identification information knowing port information and database, to carry out the synchronous of user data by corresponding port with the associated databases in server.
The process that the server notification data that Fig. 3 provides for the embodiment of the present invention is synchronous, this process comprises the following steps:
S301: the synchronization notice information that terminal reception server sends.
When the user data that server recognizes this terminal changes, send synchronization notice information to terminal; Or server is when determining to need to initiate user data synchronization process to terminal according to the time interval of setting, send synchronization notice information to this terminal; Or meet given degree server initiate synchronous tactful time, send synchronization notice information to terminal.
S302: in the parameter configuration of the synchronization server self preserved, extracts the short message access code information of synchronization server.
S303: according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, carry out certification to described synchronization notice information.
Namely judge this sender number information, whether mate with the short message access code information extracted.
S304: when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carry out user data synchronization with described server.
The parameter configuration of carrying out the server of user data synchronization with it of preserving in terminal, can be configured, or the mode by software merit rating before carrying out user data synchronization is kept at this locality when this terminal is dispatched from the factory by producer.
In embodiments of the present invention when modifying to the parameter configuration of synchronization server, the such as address information of this synchronization server self, domain-name information, port information, when database information changes, or when the short message access code of this synchronization server changes, again or when changing to other servers with the server that terminal carries out user data synchronization, the current server carrying out user data synchronization with this terminal needs the parameter configuration after by this change to be encapsulated in synchronization packets to be sent to end side, the parameter configuration of notification terminal side to the synchronization server that self preserves upgrades.
Because the parameter configuration after this change is sent to end side with the form of data syn-chronization bag, for the ease of synchronization server bearing parameter configuration information in synchronization packets, in the embodiment of the present invention, Controlling vertex information is set in synchronization packets, this parameter configuration is encapsulated in Controlling vertex, the synchronization packets comprising this Controlling vertex information is sent to terminal.When comprising this Controlling vertex information in terminal recognition to synchronization packets, the parameter configuration of carrying in Controlling vertex information is adopted to upgrade the relevant parameter configuration information self preserved.
What Fig. 4 provided for the embodiment of the present invention changes for the address information of synchronization server, and be described server notification data synchronizing process, this process comprises the following steps:
S401: when server is determined to carry out user data synchronization with terminal, sends synchronization notice information to terminal.
S402: after terminal receives the synchronization notice information of server transmission, in the parameter configuration of the synchronization server self preserved, extracts the short message access code information of synchronization server.
S403: according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, carry out certification to described synchronization notice information.
S404: when the sender number information of the server sending this synchronization notice information is identical with the short message access code information of the synchronization server of extraction, terminal to server sends synchronization request.
S405: after server receives the synchronization request of terminal transmission, and arrange Controlling vertex information in this synchronization packets, is encapsulated in the address information of self after change in Controlling vertex information, is sent to terminal by synchronization packets.
Server by synchronization packets to terminal in the parameter configuration of preserving upgrade time, in order to save Internet resources, can only parameter configuration to be updated be carried in this ginseng Controlling vertex information, the whole parameter configuration of this synchronization server after renewal can certainly be carried in the synchronization packets at Controlling vertex information place and be sent to end side.
S406: after terminal receives the synchronization packets that server issues, recognizes in this synchronization packets when comprising Controlling vertex information, resolves the parameter configuration to be updated obtaining and comprise in this synchronization packets.
Because the synchronous of user data between terminal with server is also sent by the form of packet, therefore after terminal receives packet, need whether comprise Controlling vertex information according in this packet, judge whether this synchronization packets comprises parameter configuration.
S407: terminal adopts the parameter configuration to be updated of resolving and obtaining, upgrades the relevant parameter configuration information that this locality is preserved.
Namely terminal receive server send comprise the synchronization packets of Controlling vertex information after, according to the address information of resolving the synchronization server to be updated comprised in the Controlling vertex information of acquisition, the address information of the synchronization server that this locality is preserved is upgraded.
When the server with terminal synchronizes moves to second server by first server, this first server is when carrying out data syn-chronization with terminal, the parameter configuration of the information such as the short message access code information comprising this second server, synchronizing address information and Database Identification information is needed to be sent to terminal, after first server and this terminal completing user data syn-chronization, user data information corresponding for this terminal is moved to second server by first server, so that the follow-up follow-up data to this user of second server adapter leads to synchronizing process.
A kind of synchronization server transition process that Fig. 5 provides for the embodiment of the present invention, this process comprises the following steps:
S501: current first server of carrying out user data synchronization with terminal, when determining the user data information of described terminal to be moved to second server, obtain the parameter configuration of described second server, wherein in this parameter configuration, comprise the short message access code information of this second server.
For the ease of second server when having taken over the user data synchronization process of this terminal, terminal can be verified this to carry out user data synchronization server with it, and current first server of carrying out user data synchronization with terminal needs the Information encapsulations such as the short message access code information of second server, synchronizing address information, Database Identification information to be sent to end side in the Controlling vertex information of synchronization packets.
S502: the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, indicate described terminal to carry out follow-up data synchronous service according to the short message access code information of described second server and described second server.
When the server carrying out user data synchronization with terminal moves to second server by first server, first server needs carrying out in the process of user data synchronization with terminal, to the parameter configuration of the short message access code of this second server be comprised, be sent to end side by the Controlling vertex information of synchronization packets.And in order to ensure the consistency of this end-user listening data, first server with terminal completing user data syn-chronization after, immediately the data message of this terminal after synchronous is moved to second server.After second server receives this user data information of first server transmission, for this user opens an account, and when the user data information recognizing this terminal changes, or sending synchronization notice information according to the server notice synchronization policy of setting to this terminal, triggering terminal is synchronous with second server.
The detailed implementation process of a kind of synchronization server migration that Fig. 6 provides for the embodiment of the present invention, this process comprises the following steps:
S601: when first server is determined to carry out user data synchronization with terminal, sends synchronization notice information to terminal.
S602: after terminal receives the synchronization notice information of first server transmission, in the parameter configuration of the synchronization server self preserved, extracts the short message access code information of synchronization server.
S603: according to the sender number information of the first server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, carry out certification to described synchronization notice information.
S604: when sending the short message access code information matches of the sender number information of first server of this synchronization notice information and the synchronization server of extraction, terminal sends synchronization request to first server.
S605: first server obtains the parameter configuration of described second server, wherein comprises the short message access code information of this second server in this parameter configuration after receiving the synchronization request of terminal transmission.
S606: the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, indicate described terminal to carry out follow-up data synchronous service according to the short message access code of described second server and described second server.
S607: carry out user data synchronization with this terminal.
S608: the data message of this user after synchronous is moved to second server by first server.
S609: second server is opened an account for this user, and takes over the user data synchronization business of this terminal.
Afterwards, when this second server is determined to need to carry out user data synchronization with this terminal, synchronization notice information is sent to described terminal, and adopt the short message access code information of the synchronization server self preserved to the sender number information of this second server in terminal, when being verified, the synchronization request that receiving terminal sends, carries out the synchronous of user data with this terminal.
In addition, when the parameter configuration of this second server self changes, second server sends synchronization notice information to terminal, and self amended parameter configuration is carried in the Controlling vertex information of synchronization packets, be sent to terminal, so that terminal adopts the parameter configuration in this parameter configuration data bag, the relevant parameter configuration information that self preserves is upgraded.This concrete process comprises:
Described second server sends synchronization notice information to described terminal; And receive the synchronization request that described terminal sends, wherein this synchronization request is that described terminal adopts the short message access code of self to this synchronization notice authentification of message by rear transmission; If second server has the amendment of parameter configuration, then self amended parameter configuration is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, indicate described terminal to upgrade according to the parameter configuration of parameter configuration to the synchronization server that self preserves of carrying in described Controlling vertex information; And with described terminal, to carry out user data information synchronous.
Or, described terminal adopts the synchronizing information obtained from first server, comprise synchronizing address, Database Identification information etc. and send synchronization request to second server, if second server has the amendment of parameter configuration, then self amended parameter configuration is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, indicate described terminal to upgrade the synchronization server parameter configuration of self preserving according to the parameter configuration of carrying in described Controlling vertex information, and to carry out user data information synchronous with described terminal.
Below with a specific embodiment, to server notification data in the embodiment of the present invention, in synchronous and synchronization server transition process, the expression of Controlling vertex and transmission mechanism are described.
Special data object type is increased in embodiments of the present invention in order to reduce, the synchronous protocol stack of terminal and server and bearing protocol are impacted, the data object bear control information of employing standard, expands the information needed for Controlling vertex by the extension mechanism of standard.For the most frequently used address list data object (vCard), illustrate and how to pass through existing synchronous protocol Bearer Control node.
Table 1 is the content of Controlling vertex, and this Controlling vertex comprises: the information such as domain name, authentication mechanism of synchronization server short message access code, synchronization server:
Table 1
Above-mentioned table 1 determines whether comprise Controlling vertex information in this synchronization packets whether to preserve mark " 9 " in synchronization packets, in addition, can also identify in this synchronization packets comprise Controlling vertex information in this synchronization packets with " GUID 0 ".
Identify Controlling vertex for synchronization server by the GUID 0 that Replace order, use are fixed below to be described.If certain parameter configuration item does not change, can not send.Server must first send configuration information and send associated person information again, and terminal should first processing configuration information reprocessing associated person information.As shown below with the Controlling vertex Examples of information of vCard object Feng Zhuanhou:
BEGIN:VCARD
VERSION:2.1
X-TYPE:9
X-ALERT-SMS:1086066
X-SYNC-URL:http\://datasync.mnet.cn
X-SYNC-DB-NUM:2
X-SYNC-DB:./contact
X-SYNC-DB:./calendar
END:VCARD
Below illustrate use thought of the present invention by synchronization server by first server datasync.mnet.cn move to second server datasync.domain.com, simultaneously the short message access code of server is moved to by 1,086,066 1077077 process: suppose subscription client last time and datasync.mnet.cn successful synchronization (basic synchronization optimum configurations normally, synchronization server address datasync.mnet.cn, short message access code 1086066)
First server sends synchronization notice information to user, 1086066 sender number are used to be handed down to terminal, after terminal receives this synchronization notice information, judge that this information is server notice synchronizing information, judge sender's number information of the synchronous note of notice received, consistent with the short message access code information of the synchronization server that this locality stores, therefore, terminal initiates data syn-chronization to first server.
After first server receives the synchronization request of terminal, by the vCard data object encapsulation of new parameter configuration (synchronization server address datasync.domain.com, short message access code 1077077), and send to terminal with replace parameter configuration data bag.After terminal receives data object, according to GUID equal 0 or node type X-TYPE equal to comprise Controlling vertex information in this packet of 9 judgements, then use the local parameter configuration of preserving of the method for replacement amendment.And other user data synchronous with first server.
After user data synchronization completes, the user data of first server side and end side is completely the same, and therefore, first server (datasync.mnet.cn) can mark the user as user to be migrated.First server moves the user data of this terminal to second server (datasync.domain.com), comprise master data (address list) and the related synchronization control data (as: synchronous anchor point, Terminal Equipment Identifier etc.) of user, second server is opened an account for this user, after this, second server takes over the follow-up data synchronous service of this terminal.So far, server side, end side all complete seamless business migration, avoid the inconsistency of user data in data migration process and repeat synchronous.
Said process is for end side start, the process of server migration is described, when terminal is not started shooting, then first server first can retain the user data of terminal, when starting up of terminal, terminal initiatively can report boot-strap information to server side, when after server determination starting up of terminal, server migration is carried out according to said process, or, first server also can send synchronization notice information according to the time interval of setting to terminal, after terminal sends synchronization request to first server, carries out server migration according to subsequent process.
The structural representation of the system of the synchronous middle server migration of a kind of server notification data that Fig. 7 provides for the embodiment of the present invention, this system comprises:
First server 71, during for determining the data message of described terminal to be moved to second server, obtain the parameter configuration of described second server, wherein comprise the short message access code information of this second server in this parameter configuration, the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets, when carrying out user data synchronization with described terminal, this synchronization packets is sent to described terminal;
Terminal 72, for receiving the synchronization packets that described first server sends, short message access code information and described second server according to synchronously putting second server in packet carry out follow-up data synchronous service.
In described system,
The user data information of the described terminal after synchronous, also for after carrying out user data synchronization with described terminal, is moved to described second server by described first server 71.
Described system also comprises:
Second server 73, for sending synchronization notice information to described terminal, and receiving the synchronization request of described terminal transmission, self amended parameter configuration being carried in the Controlling vertex information of synchronization packets, being sent to described terminal;
Described terminal 72 also for, certification is carried out according to the sender number information of short message access code information to this this second server that self preserves, when certification by time send synchronization request, and receive the synchronization packets of described second server transmission, identify in this synchronization packets when comprising Controlling vertex information, according to the parameter configuration of carrying in described synchronization packets, the relevant parameter configuration information of the synchronization server that self preserves is upgraded.
A kind of server notification data synchronizer structural representation that Fig. 8 provides for the embodiment of the present invention, this device comprises:
Receiver module 81, for the synchronization notice information that reception server sends;
Authentication module 82, for in the parameter configuration of synchronization server of preserving at self, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information;
Synchronization module 83, for when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carries out data syn-chronization with described server.
Described synchronization module 83 specifically for, in the parameter configuration that self preserves, search the address information of synchronization server corresponding to this short breath access code information, using this address information of searching address information as the described server obtained, user data synchronization is carried out with described server, or, in the parameter configuration that self preserves, search the domain-name information of synchronization server corresponding to this short breath access code information, determine the address information that this domain-name information is corresponding, using this address information of determining address information as this server obtained, user data synchronization is carried out with described server.
Described synchronization module 83 also for, when the parameter information of described server self changes, or when changing with the server that self place equipment carries out data syn-chronization, receive the synchronization packets that the current server carrying out data syn-chronization with it returns, identify in this synchronization packets when comprising Controlling vertex information, adopt the parameter configuration of carrying in this synchronization packets, the relevant parameter configuration information of the synchronization server that this locality is preserved is upgraded.
The structural representation of the device of the synchronous middle server migration of a kind of server notification data that Fig. 9 provides for the embodiment of the present invention, this device comprises:
Acquisition module 91, during for determining the data message of described terminal to be moved to second server, obtaining the parameter configuration of described second server, wherein comprising the short message access code information of this second server in this parameter configuration;
Sending module 92, for being carried in the Controlling vertex information of synchronization packets by the parameter configuration of the described second server obtained, when carrying out user data synchronization with described terminal, is sent to described terminal by this synchronization packets.
Described sending module 92 also for, after carrying out user data synchronization with described terminal, the user data information of the described terminal after synchronous is moved to described second server.
In described device,
Described sending module 92 also for, synchronization notice information is sent to described terminal, when receiving the synchronization request that described terminal sends, self amended parameter configuration is carried in the Controlling vertex information of synchronization packets, be sent to described terminal, indicate described terminal according to the parameter configuration of carrying in described synchronization packets, the relevant parameter configuration information of the synchronization server that self preserves is upgraded, wherein this synchronization request is the short message access code information that described terminal adopts in the configuration information self preserved, to the sender number authentification of message of this this second server by time send.
A kind of server notification data that the embodiment of the present invention provides synchronous and synchronization server moving method, system and device, in data synchronization process when terminal receives the synchronization notice information of server transmission, according to the sender number of the server of this synchronization notice information of transmission, and the access authentication code of the synchronization server self preserved, when this synchronization notice authentification of message is passed through, carry out user data synchronization with this server.Owing to saving the access authentication code of the server carrying out user data synchronization with it in terminal in embodiments of the present invention, so when receiving the synchronization notice information that server sends, can according to this access authentication code, and the sender number of the server sending this synchronization notice information carries out certification to this synchronization notice information, and due to the sender number of server unique, without the need to carrying out cipher key configuration, therefore server side expense is little, and ensure that the fail safe of userspersonal information.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (17)

1. a server notification data synchronous method, is characterized in that, comprising:
The synchronization notice information that terminal reception server sends;
That preserves at self carries out in the parameter configuration of the synchronization server of user data synchronization with it, extract the short message access code information of synchronization server;
According to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information;
When sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carry out user data synchronization with described server;
Wherein, when the parameter configuration of described server self changes, or when changing with the server that described terminal carries out data syn-chronization, carry out user data synchronization with described server and also comprise:
Receive the synchronization packets that described server returns;
Identify in this synchronization packets when comprising Controlling vertex information, adopt the parameter configuration of carrying in this synchronization packets, the relevant parameter configuration information of the synchronization server that this locality is preserved is upgraded;
Wherein, described Controlling vertex information be the data object carrying of employing standard and be obtained by the expansion of the extension mechanism of standard.
2. the method for claim 1, is characterized in that, described parameter configuration also comprises:
At least one in the address information of synchronization server and domain-name information and the identification information of port information and sync database.
3. method as claimed in claim 2, is characterized in that, carry out user data synchronization comprise with described server:
Obtain the address information of described server, carry out user data synchronization with described server.
4. method as claimed in claim 3, it is characterized in that, the address information obtaining described server comprises:
In the parameter configuration of the synchronization server self preserved, search the address information of synchronization server corresponding to this short message access code information, using this address information of searching address information as the described server obtained; Or,
In the parameter configuration of the synchronization server self preserved, search the domain-name information of synchronization server corresponding to this short message access code information, determine the address information that this domain-name information is corresponding, using this address information of determining address information as this server obtained.
5. a method for the synchronous middle synchronization server migration of server notification data, it is characterized in that, described method comprises:
Current first server of carrying out user data synchronization with terminal, when determining the user data information of described terminal to be moved to second server, obtain the parameter configuration of described second server, wherein in this parameter configuration, comprise the short message access code information of this second server;
The parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets and is sent to described terminal, notify that the parameter configuration of carrying out the synchronization server of user data synchronization with it that described terminal is preserved self upgrades and indicates described terminal to carry out follow-up data synchronous service according to the short message access code information of described second server and described second server;
Wherein, described Controlling vertex information be the data object carrying of employing standard and be obtained by the expansion of the extension mechanism of standard.
6. method as claimed in claim 5, it is characterized in that, described method also comprises:
After described first server and described terminal carry out user data synchronization, the user data information of the described terminal after synchronous is moved to described second server.
7. the method as described in claim 5 or 6, is characterized in that, described method also comprises:
Described second server sends synchronization notice information to described terminal; And,
Receive the synchronization request that described terminal sends, wherein this synchronization request is the short message access code information that described terminal adopts in the configuration information self preserved, to the sender number authentification of message of this this second server by time send;
Self amended parameter configuration is carried in the Controlling vertex information of synchronization packets, be sent to described terminal, indicate described terminal according to the parameter configuration of carrying in described synchronization packets, the relevant parameter configuration information of the synchronization server that self preserves is upgraded.
8. a server notification data synchro system, is characterized in that, described system comprises:
Terminal, for the synchronization notice information that reception server sends, that preserves at self carries out in the parameter configuration of the synchronization server of user data synchronization with it, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information, when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, user data synchronization is carried out with described server,
Server, for sending synchronization notice information to described terminal, and carries out user data synchronization with described terminal;
Wherein, described terminal specifically for, synchronization request is sent to described server, and receive the synchronization packets that described server returns, identify in this synchronization packets when comprising Controlling vertex information, adopt the parameter configuration of carrying in this parameter configuration data bag, the relevant parameter configuration information of the synchronization server that this locality is preserved is upgraded; Wherein, described Controlling vertex information be the data object carrying of employing standard and be obtained by the expansion of the extension mechanism of standard;
Described server specifically for, receive described terminal send synchronization request, to described terminal return parameters configuration data bag.
9. system as claimed in claim 8, it is characterized in that, described terminal specifically for, in the parameter configuration that self preserves, search the address information of synchronization server corresponding to this short message access code information, using this address information of searching address information as the described server obtained, user data synchronization is carried out with described server, or, in the parameter configuration that self preserves, search the domain-name information of synchronization server corresponding to this short breath access code information, determine the address information that this domain-name information is corresponding, using this address information of determining address information as this server obtained, user data synchronization is carried out with described server.
10. a system for the synchronous middle server migration of server notification data, it is characterized in that, described system comprises:
First server, during for determining the data message of terminal to be moved to second server, obtain the parameter configuration of described second server, wherein comprise the short message access code information of this second server in this parameter configuration, the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets, when carrying out user data synchronization with described terminal, this synchronization packets is sent to described terminal, notify that the parameter configuration of carrying out the synchronization server of user data synchronization with it that described terminal is preserved self upgrades and indicates described terminal to carry out follow-up data synchronous service according to the short message access code information of described second server and described second server, wherein, described Controlling vertex information be the data object carrying of employing standard and be obtained by the expansion of the extension mechanism of standard,
Terminal, for receiving the synchronization packets that described first server sends, carries out follow-up data synchronous service according to the short message access code information of second server in described synchronization packets and described second server.
11. systems as claimed in claim 10, is characterized in that, in described system,
Described first server also for, after carrying out user data synchronization with described terminal, the user data information of the described terminal after synchronous is moved to described second server.
12. systems as described in claim 10 or 11, it is characterized in that, described system also comprises:
Second server, for sending synchronization notice information to described terminal, and receiving the synchronization request of described terminal transmission, self amended parameter configuration being carried in the Controlling vertex information of synchronization packets, being sent to described terminal;
Described terminal also for, certification is carried out according to the sender number information of short message access code information to this this second server that self preserves, when certification by time send synchronization request, and receive the synchronization packets of described second server transmission, identify in this synchronization packets when comprising Controlling vertex information, according to the parameter configuration of carrying in described synchronization packets, the relevant parameter configuration information of the synchronization server that self preserves is upgraded.
13. 1 kinds of server notification data synchronizers, it is characterized in that, described device comprises:
Receiver module, for the synchronization notice information that reception server sends;
Authentication module, carry out in the parameter configuration of the synchronization server of user data synchronization with it for what preserve at self, extract the short message access code information of synchronization server, according to the sender number information of the server of this synchronization notice information of transmission, and the short message access code information of the synchronization server extracted, certification is carried out to described synchronization notice information;
Synchronization module, for when sending the short message access code information matches of the sender number information of server of this synchronization notice information and the synchronization server of extraction, carries out data syn-chronization with described server;
Wherein, described synchronization module also for, when the parameter information of described server self changes, or when changing with the server that self place equipment carries out data syn-chronization, receive the synchronization packets that the current server carrying out data syn-chronization with it returns, identify in this synchronization packets when comprising Controlling vertex information, adopt the parameter configuration of carrying in this synchronization packets, the relevant parameter configuration information of the synchronization server that this locality is preserved is upgraded;
Wherein, described Controlling vertex information be the data object carrying of employing standard and be obtained by the expansion of the extension mechanism of standard.
14. devices as claimed in claim 13, it is characterized in that, described synchronization module specifically for, in the parameter configuration that self preserves, search the address information of synchronization server corresponding to this short message access code information, using this address information of searching address information as the described server obtained, user data synchronization is carried out with described server, or, in the parameter configuration that self preserves, search the domain-name information of synchronization server corresponding to this short breath access code information, determine the address information that this domain-name information is corresponding, using this address information of determining address information as this server obtained, user data synchronization is carried out with described server.
The device of server migration during 15. 1 kinds of server notification datas are synchronous, it is characterized in that, described device comprises:
Acquisition module, during for determining the data message of terminal to be moved to second server, obtaining the parameter configuration of described second server, wherein comprising the short message access code information of this second server in this parameter configuration;
Sending module, for the parameter configuration of the described second server obtained is carried in the Controlling vertex information of synchronization packets, when carrying out user data synchronization with described terminal, this synchronization packets is sent to described terminal, notify that the parameter configuration of carrying out the synchronization server of user data synchronization with it that described terminal is preserved self upgrades and indicates described terminal to carry out follow-up data synchronous service according to the short message access code information of described second server and described second server, wherein, described Controlling vertex information is the data object carrying of employing standard, and be obtained by the extension mechanism expansion of standard.
16. devices as claimed in claim 15, is characterized in that, described sending module also for, after carrying out user data synchronization with described terminal, the user data information of the described terminal after synchronous is moved to described second server.
17. devices as described in claim 15 or 16, is characterized in that, in described device,
Described sending module also for, synchronization notice information is sent to described terminal, when receiving the synchronization request that described terminal sends, self amended parameter configuration is carried in the Controlling vertex information of synchronization packets, be sent to described terminal, indicate described terminal according to the parameter configuration of carrying in described synchronization packets, the relevant parameter configuration information of the synchronization server that self preserves is upgraded, wherein this synchronization request is the short message access code information that described terminal adopts in the configuration information self preserved, to the sender number authentification of message of this this second server by time send.
CN201110026588.4A 2011-01-25 2011-01-25 Server notice data synchronization and synchronization server migration method, system and device Active CN102611724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110026588.4A CN102611724B (en) 2011-01-25 2011-01-25 Server notice data synchronization and synchronization server migration method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110026588.4A CN102611724B (en) 2011-01-25 2011-01-25 Server notice data synchronization and synchronization server migration method, system and device

Publications (2)

Publication Number Publication Date
CN102611724A CN102611724A (en) 2012-07-25
CN102611724B true CN102611724B (en) 2015-04-22

Family

ID=46528877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110026588.4A Active CN102611724B (en) 2011-01-25 2011-01-25 Server notice data synchronization and synchronization server migration method, system and device

Country Status (1)

Country Link
CN (1) CN102611724B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685333B (en) * 2012-08-31 2018-01-19 腾讯科技(深圳)有限公司 Method of data synchronization, terminal device, registrar and web page server
CN103152560A (en) * 2013-04-03 2013-06-12 北京瑞迅宏成数据通信技术有限公司 Intelligent monitoring equipment for the 3rd generation telecommunication (3G) videos and short message remote activation method for intelligent monitoring equipment
CN103235809A (en) * 2013-04-23 2013-08-07 长春吉联科技集团有限公司 Method for data acquisition of summary report
CN103475512A (en) * 2013-09-02 2013-12-25 中国联合网络通信集团有限公司 Internet of Things remote management platform migration method, device and Internet of Things terminal
CN104038303B (en) * 2014-06-09 2017-01-18 常青 Remote aiding method and system
CN105635074A (en) * 2014-11-06 2016-06-01 中兴通讯股份有限公司 Method, server, client and system for realizing data synchronization
CN108875016A (en) * 2018-06-20 2018-11-23 上海百林通信网络科技服务股份有限公司 A kind of sample technology of sharing and evaluation method based on face recognition application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668060A (en) * 2005-04-06 2005-09-14 海信集团有限公司 An automatic prepaying method for mobile terminal
CN101296422A (en) * 2008-06-20 2008-10-29 中兴通讯股份有限公司 Data backup method, short message platform and client terminal
CN101494534A (en) * 2008-01-21 2009-07-29 华为技术有限公司 Method, apparatus and system for synchronizing data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925754B2 (en) * 2003-11-21 2011-04-12 Microsoft Corporation Method and computer program product to provide synch notifications to client devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668060A (en) * 2005-04-06 2005-09-14 海信集团有限公司 An automatic prepaying method for mobile terminal
CN101494534A (en) * 2008-01-21 2009-07-29 华为技术有限公司 Method, apparatus and system for synchronizing data
CN101296422A (en) * 2008-06-20 2008-10-29 中兴通讯股份有限公司 Data backup method, short message platform and client terminal

Also Published As

Publication number Publication date
CN102611724A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN102611724B (en) Server notice data synchronization and synchronization server migration method, system and device
US9979784B2 (en) Method for cloud data backup and recovery
EP2858393B1 (en) Subscription manager secure routing device switching method and device
WO2019062384A1 (en) Method and device for public network user accessing private network
CN107172001B (en) Control method and device of website proxy server and key proxy server
CN101595689B (en) Change of subscriber information in a multi-chassis network access environment
CN108243413B (en) Method and system for wireless access to railway information network
CN102143492B (en) Method for establishing virtual private network (VPN) connection, mobile terminal and server
CN104104661A (en) Client, server, and remote user dialing authentication capability negotiation method and system
CN112187495A (en) Communication method and communication system of terminal and server
US20230164234A1 (en) Service continuity event notification method, and apparatus
CN110875857B (en) Method, device and system for reporting disconnected network state
CN102651860A (en) Equipment management method and device
US9961626B2 (en) Method and device for accessing an internet protocol multimedia subsystem type subsystem
CN114375036A (en) Method and device for data synchronization of 5G network, UDM device and storage medium
JP5327896B2 (en) Wireless LAN access point and wireless terminal connection maintaining method
EP2158786B1 (en) Association of a mobile user identifier and a radio identifier of a mobile phone
US11930558B2 (en) Method for providing subscription profiles, subscriber identity module and subscription server
CN101087263B (en) A method and system for capturing user status information via search engine
CN103501534A (en) Method for time synchronization on mobile equipment
EP1650674B1 (en) System and method for integrating continuous synchronization on a host handheld device
CN113824789A (en) Configuration method, device, equipment and storage medium of path descriptor
CN101883419A (en) Synchronization method of client-side information and system
CN107070722B (en) Intelligent terminal configuration platform and configuration method
US20190312929A1 (en) Information synchronization method and device

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