[go: up one dir, main page]

CN103916409B - A kind of method of data syn-chronization, terminal and system - Google Patents

A kind of method of data syn-chronization, terminal and system Download PDF

Info

Publication number
CN103916409B
CN103916409B CN201210591622.7A CN201210591622A CN103916409B CN 103916409 B CN103916409 B CN 103916409B CN 201210591622 A CN201210591622 A CN 201210591622A CN 103916409 B CN103916409 B CN 103916409B
Authority
CN
China
Prior art keywords
synchronization
data
terminal
information
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210591622.7A
Other languages
Chinese (zh)
Other versions
CN103916409A (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 CN201210591622.7A priority Critical patent/CN103916409B/en
Publication of CN103916409A publication Critical patent/CN103916409A/en
Application granted granted Critical
Publication of CN103916409B publication Critical patent/CN103916409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

本发明公开了一种数据同步方法、终端与系统,所述方法包括:当前终端将多个业务对应的本地副本配置为一个本地共享信息副本;若当前终端中本地共享信息副本的数据发生更新时,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。本发明中,终端通过配置的本地共享信息副本中保存多种业务对应的个人信息,在所述本地共享信息副本中的数据有更新时,所述终端就可以根据同步协议向对应的服务器发送同步信息,多个服务器根据所述同步信息进行数据更新,实现了多个业务对应服务器的数据同步。

The invention discloses a data synchronization method, terminal and system. The method includes: the current terminal configures local copies corresponding to multiple services as a local shared information copy; if the data of the local shared information copy in the current terminal is updated The current terminal sends the first synchronization information carrying update data to the multiple servers corresponding to the multiple services according to the synchronization protocol among the multiple servers corresponding to the multiple services, so that the multiple servers according to the The first synchronization information performs data update. In the present invention, the terminal saves personal information corresponding to various services in the configured local shared information copy, and when the data in the local shared information copy is updated, the terminal can send a synchronization message to the corresponding server according to the synchronization protocol. information, multiple servers update data according to the synchronization information, and realize data synchronization of multiple service-corresponding servers.

Description

一种数据同步的方法、终端与系统A data synchronization method, terminal and system

技术领域technical field

本发明涉及移动通信技术,特别是涉及一种数据同步的方法、终端与系统。The present invention relates to mobile communication technology, in particular to a data synchronization method, terminal and system.

背景技术Background technique

用户在使用不同服务提供商提供的业务时,比如,gmail业务、hotmail业务和中国移动彩云业务,所述每种业务对应的个人信息,比如通讯录(Contact)、日程(Calendar)、任务(Task)、便签(Note)以及电子邮件(Email)等均由PIMS(个人信息管理器,PersonalInformation Management System)来帮助用户管理的。并且所述个人信息根据业务的不同保存在不同的服务器中,同时,在终端中保存对应业务的个人信息副本。比如,对于gmail、hotmail和中国移动彩云这三种不同的业务来说,参考图1所示,为现有技术中,所述三种业务对应个人信息在终端上的存储形式及与服务器之间的对应关系的示意图。When users use services provided by different service providers, such as gmail service, hotmail service and China Mobile Caiyun service, the personal information corresponding to each service, such as Contact, Calendar, Task ), notes (Note) and e-mail (Email) are all managed by PIMS (Personal Information Manager, Personal Information Management System) to help users. And the personal information is stored in different servers according to different services, and at the same time, a copy of the personal information corresponding to the service is stored in the terminal. For example, for the three different services of gmail, hotmail, and China Mobile Caiyun, refer to Figure 1, which shows that in the prior art, the three services correspond to the storage form of personal information on the terminal and the communication with the server. A schematic diagram of the corresponding relationship.

图1中,gmail业务的个人信息保存在服务器1中,在终端对应副本为S1本地副本,hotmail业务的个人信息保存在服务器2中,在终端对应副本为S2本地副本,中国移动彩云业务的个人信息保存在服务器3中,在终端对应副本为S3本地副本。参考图1所示,以通讯录信息为例,当用户使用gmail业务向待通信用户发送电子邮件时,如果服务器1中没有保存待通信用户的通讯信息,则所述用户在终端上使用gmail业务与待通信用户进行通信时,只能手工将所述待通信用户的信息录入到终端的S1本地副本中;然后所述终端根据与服务器1之间的同步协议将所述录入到S1本地副本中的待通信用户信息发送给服务器1,实现所述终端与所述服务器1的信息同步。In Figure 1, the personal information of the gmail service is stored in server 1, and the corresponding copy on the terminal is the local copy of S1. The personal information of the hotmail service is stored on server 2, and the corresponding copy on the terminal is the local copy of S2. The information is stored in server 3, and the corresponding copy on the terminal is the local copy of S3. Referring to Fig. 1, taking the address book information as an example, when the user uses the gmail service to send emails to the user to be communicated, if the communication information of the user to be communicated is not saved in the server 1, then the user uses the gmail service on the terminal When communicating with the user to be communicated, the information of the user to be communicated can only be manually entered into the local copy of S1 of the terminal; The user information to be communicated is sent to the server 1, so as to realize the information synchronization between the terminal and the server 1.

在这种情况下,若用户此时使用hotmail业务与所述待通信用户进行通信时,如果服务器2中也没有保存待通信用户的通讯信息,则用户必须再次将所述待通信用户的信息录入到所述终端的S2本地副本中。因此,用户有在不同服务器中实现信息同步的需求,但是在现有技术中,三个本地副本在终端上是单独保存的,并且每个本地副本都单独与一个服务器具有同步协议用来实现信息同步。比如,所述终端中的S1本地副本只与服务器1具有同步协议,因此只能与服务器1进行信息同步,而无法与服务器2和服务器3实现信息同步,给用户在使用不同业务对应的个人信息时带来了不便。In this case, if the user uses the hotmail service to communicate with the user to be communicated at this time, if the communication information of the user to be communicated is not saved in the server 2, the user must enter the information of the user to be communicated again. to the local copy of S2 in said terminal. Therefore, users have the requirement to realize information synchronization in different servers, but in the prior art, three local copies are stored separately on the terminal, and each local copy has a synchronization protocol with a server alone to realize information Synchronize. For example, the local copy of S1 in the terminal only has a synchronization agreement with server 1, so it can only synchronize information with server 1, but cannot achieve information synchronization with server 2 and server 3, giving users personal information corresponding to different services caused inconvenience.

发明内容Contents of the invention

本发明提供一种数据同步的方法、终端与系统,以解决现有技术中,无法实现多个服务器之间的数据同步的技术问题,给用户使用不同业务对应的个人信息时提供便利。The present invention provides a data synchronization method, terminal and system to solve the technical problem that data synchronization between multiple servers cannot be realized in the prior art, and provide convenience for users when using personal information corresponding to different services.

为解决上述技术问题,本发明提供一种数据同步的方法、终端与系统,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides a data synchronization method, terminal and system, and the present invention provides the following technical solutions:

一种数据同步的方法,该方法包括:A method for synchronizing data, the method comprising:

当前终端将多个业务对应的本地副本配置为一个本地共享信息副本;The current terminal configures the local copies corresponding to multiple services as a local shared information copy;

若当前终端中本地共享信息副本的数据发生更新时,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。If the data of the local shared information copy in the current terminal is updated, the current terminal sends the first message carrying the updated data to the multiple servers corresponding to the multiple services according to the synchronization protocol between the multiple servers corresponding to the multiple services. Synchronization information, so that the multiple servers perform data update according to the first synchronization information.

优选的,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,包括:Preferably, the current terminal sends the first synchronization information carrying update data to the multiple servers corresponding to the multiple services according to the synchronization protocol between the multiple servers corresponding to the multiple services, including:

当前终端通过多个同步代理,向所述多个服务器发送携带更新数据的第一同步信息。The current terminal sends the first synchronization information carrying update data to the multiple servers through multiple synchronization agents.

优选的,所述多个服务器根据所述第一同步信息进行数据更新之后,还包括:Preferably, after the plurality of servers perform data update according to the first synchronization information, it further includes:

所述多个服务器中的任一服务器向同步终端集合中的当前终端以外的其它终端发送携带所述更新数据的第二同步信息,所述同步终端集合中的其它终端均与当前终端有相同的配置;Any server among the plurality of servers sends the second synchronization information carrying the update data to other terminals in the synchronous terminal set except the current terminal, and the other terminals in the synchronous terminal set all have the same configuration;

所述其它终端根据所述第二同步信息更新自身的本地共享信息副本中的数据。The other terminal updates data in its local copy of shared information according to the second synchronization information.

优选的,若所述多个服务器中的当前服务器的数据发生更新,所述方法还包括:Preferably, if the data of the current server among the plurality of servers is updated, the method further includes:

当前服务器向同步终端集合中的多个终端发送携带当前服务器中更新数据的第三同步信息;The current server sends third synchronization information carrying updated data in the current server to multiple terminals in the synchronization terminal set;

所述多个终端根据所述第三同步信息在终端的本地共享信息副本中更新信息。The multiple terminals update information in the local copies of shared information of the terminals according to the third synchronization information.

优选的,所述多个终端根据所述第三同步信息在终端的本地共享信息副本中更新信息之后,还包括:Preferably, after the multiple terminals update the information in the local shared information copy of the terminal according to the third synchronization information, it further includes:

同步终端集合中的任一终端向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息;Any terminal in the synchronization terminal set sends fourth synchronization information carrying updated data in the current server to other servers in the plurality of servers except the current server;

所述其它服务器根据所述第四同步信息更新服务器中的数据。The other server updates data in the server according to the fourth synchronization information.

本发明还提供一种终端,所述终端包括:The present invention also provides a terminal, and the terminal includes:

配置单元,用于将多个业务对应的本地副本配置为一个本地共享信息副本;A configuration unit, configured to configure local copies corresponding to multiple services as a local shared information copy;

第一发送单元,用于根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。The first sending unit is configured to send first synchronization information carrying update data to multiple servers corresponding to the multiple services according to a synchronization protocol among multiple servers corresponding to the multiple services, so that the multiple The server performs data update according to the first synchronization information.

优选的,所述终端还包括:Preferably, the terminal also includes:

第一接收单元,用于接收多个服务器中的任一服务器发送的携带所述更新数据的第二同步信息;a first receiving unit, configured to receive second synchronization information carrying the update data sent by any server among the plurality of servers;

第一更新单元,用于根据所述第二同步信息更新本地共享信息副本中的信息。A first updating unit, configured to update information in the local shared information copy according to the second synchronization information.

优选的,所述终端还包括:Preferably, the terminal also includes:

第二接收单元,用于所述多个服务器中的当前服务器的数据发生更新时,接收当前服务器发送的携带所述更新数据的第三同步信息;The second receiving unit is configured to receive third synchronization information carrying the updated data sent by the current server when the data of the current server among the plurality of servers is updated;

第二更新单元,用于根据所述第三同步信息更新本地共享信息副本中的数据。A second updating unit, configured to update data in the local shared information copy according to the third synchronization information.

优选的,所述终端还包括:Preferably, the terminal also includes:

转发单元,用于所述第二更新单元根据所述第三同步信息更新本地共享信息副本中的数据之后,向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息。A forwarding unit, configured to, after the second updating unit updates the data in the local shared information copy according to the third synchronization information, send an update carrying the update in the current server to a server other than the current server among the plurality of servers. The fourth synchronization information of the data.

本发明还提供一种数据同步系统,所述系统包括同步终端集合和同步服务器集合,所述同步终端集合包括至少两个终端、同步服务器集合包括至少两个服务器;The present invention also provides a data synchronization system, the system includes a synchronization terminal set and a synchronization server set, the synchronization terminal set includes at least two terminals, and the synchronization server set includes at least two servers;

所述同步终端集合中的任一终端为权利要求6至9任一项所述的终端;Any terminal in the synchronous terminal set is the terminal described in any one of claims 6 to 9;

所述同步服务器集合中的任一服务器包括:Any server in the set of synchronization servers includes:

第三接收单元,用于接收所述至少两个终端中的当前终端发送的携带更新数据的第一同步信息;A third receiving unit, configured to receive first synchronization information carrying update data sent by a current terminal among the at least two terminals;

第三更新单元,用于根据所述第一同步信息中的更新信息进行数据更新。A third updating unit, configured to update data according to the update information in the first synchronization information.

优选的,所述服务器还包括:Preferably, the server also includes:

第二发送单元,用于第三更新单元根据所述第一同步信息中的更新信息进行数据更新之后,向所述至少两个终端中当前终端以外的其它终端发送携带所述更新数据的第二同步信息。The second sending unit is configured to send, after the third updating unit performs data update according to the update information in the first synchronization information, to other terminals other than the current terminal among the at least two terminals, the second update data carrying the update data. Synchronization information.

优选的,所述服务器还包括:Preferably, the server also includes:

第三发送单元,用于所述服务器中的信息发生更新时,向所述至少两个终端发送携带更新数据的第三同步信息。The third sending unit is configured to send third synchronization information carrying updated data to the at least two terminals when the information in the server is updated.

优选的,所述服务器还包括:Preferably, the server also includes:

第四接收单元,用于接收所述同步终端集合中任一终端发送的第四同步信息;a fourth receiving unit, configured to receive fourth synchronization information sent by any terminal in the synchronization terminal set;

第四更新单元,用于根据所述第四同步信息进行数据更新。A fourth updating unit, configured to update data according to the fourth synchronization information.

本发明的技术方案中,当前终端中配置了对应多种业务的个人信息的本地共享信息副本,当所述本地共享信息副本中的数据有更新时,所述终端根据同步协议向对应的服务器发送同步信息,以便所述多个服务器根据所述同步信息进行数据更新,实现了多个业务对应服务器的数据同步。In the technical solution of the present invention, the current terminal is configured with local shared information copies of personal information corresponding to various services, and when the data in the local shared information copies is updated, the terminal sends a copy to the corresponding server according to the synchronization protocol. Synchronize information, so that the multiple servers perform data update according to the synchronization information, realizing data synchronization of multiple service-corresponding servers.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in this application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为现有技术中所述三种业务对应个人信息在终端上的存储形式及与服务器之间的对应关系的示意图;FIG. 1 is a schematic diagram of the storage form of the personal information corresponding to the three types of services on the terminal and the corresponding relationship with the server in the prior art;

图2为本发明一种数据同步方法实施例1的流程图;FIG. 2 is a flow chart of Embodiment 1 of a data synchronization method of the present invention;

图3为本发明中当前终端的结构示意图;FIG. 3 is a schematic structural diagram of the current terminal in the present invention;

图4为本发明一种数据同步方法实施例2的流程图;FIG. 4 is a flow chart of Embodiment 2 of a data synchronization method of the present invention;

图5为本发明一种数据同步方法实施例3的流程图;5 is a flow chart of Embodiment 3 of a data synchronization method of the present invention;

图6为本发明一种终端实施例1的结构示意图;FIG. 6 is a schematic structural diagram of a terminal embodiment 1 of the present invention;

图7为本发明一种终端实施例2的结构示意图;FIG. 7 is a schematic structural diagram of a terminal embodiment 2 of the present invention;

图8为本发明一种终端实施例3的结构示意图;FIG. 8 is a schematic structural diagram of a terminal embodiment 3 of the present invention;

图9为本发明一种数据同步系统的结构示意图;9 is a schematic structural diagram of a data synchronization system of the present invention;

图10为本发明一种数据同步系统中服务器的结构示意图;FIG. 10 is a schematic structural diagram of a server in a data synchronization system of the present invention;

图11为本发明一种数据同步系统中服务器的另一种结构示意图。FIG. 11 is another structural schematic diagram of a server in a data synchronization system of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

参考图2所示,为本发明提供的一种数据同步方法实施例1的流程图,本实施例具体可以包括:Referring to FIG. 2 , it is a flow chart of Embodiment 1 of a data synchronization method provided by the present invention. This embodiment may specifically include:

步骤201:当前终端将多个业务对应的本地副本配置为一个本地共享信息副本。Step 201: the current terminal configures local copies corresponding to multiple services as a local shared information copy.

为了便于说明所述当前终端配置的本地共享信息副本,参考图1所示,以终端上配置S1本地副本、S2本地副本和S3本地副本为例,那么当前终端中配置的本地共享信息副本包括S1本地副本、S2本地副本和S3本地副本的所有数据。In order to facilitate the description of the local shared information copy configured by the current terminal, as shown in FIG. All data for local replicas, S2 local replicas, and S3 local replicas.

步骤202:若当前终端中本地共享信息副本的数据发生更新时,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。Step 202: If the data of the local shared information copy in the current terminal is updated, the current terminal sends updates to the multiple servers corresponding to the multiple services according to the synchronization protocol between the multiple servers corresponding to the multiple services The first synchronization information of the data, so that the multiple servers perform data update according to the first synchronization information.

优选的,所述当前终端可以通过同步代理向所述用户的同步服务器集合中的多个服务器发送携带更新信息的第一同步信息。所述同步代理是同步协议的具体实例,参考图1所示,假设当前终端与服务器1、当前终端与服务器2之间使用相同的同步协议,则当前终端与服务器1的同步代理、当前终端与服务器2的同步代理执行相同的协议与相同的通信流程,只是同步的目标服务器不同。Preferably, the current terminal may send the first synchronization information carrying update information to multiple servers in the user's synchronization server set through a synchronization agent. The synchronization agent is a specific example of a synchronization protocol. As shown in FIG. 1, assuming that the current terminal and server 1, the current terminal and server 2 use the same synchronization protocol, the synchronization agent of the current terminal and server 1, the current terminal and server 1 The synchronization agent of server 2 executes the same protocol and the same communication process, but the synchronization target server is different.

参考图3所示,为配置本地共享信息副本的当前终端的结构示意图,图3中所示的其他本地副本与图1所示的本地副本是类似的,只不过对应的服务器不同。Referring to FIG. 3 , it is a schematic structural diagram of a current terminal configured with a local copy of shared information. The other local copies shown in FIG. 3 are similar to the local copy shown in FIG. 1 , except that the corresponding servers are different.

若当前终端的本地共享信息副本中的数据有更新时,所述更新指数据的增加、删除和修改,对于发生了更新的数据,在当前终端上会生成唯一的对应于所述发生更新的数据的标识GUID;If the data in the local shared information copy of the current terminal is updated, the update refers to the addition, deletion and modification of data. For the updated data, the current terminal will generate unique data corresponding to the update. The identification GUID;

此处同步信息可以有多种实现形式,如以SyncML(Synchronization MarkupLanguage)为例的话,举例如下,此处仅以SyncML示例说明,SyncML是一种与平台无关的信息同步标准协议,则所述GUID以及目标服务器的指示字段如以下消息中加粗的字体所示:Synchronization information here can have multiple implementation forms, such as taking SyncML (Synchronization MarkupLanguage) as an example, for example, as follows, here is only an example of SyncML, SyncML is a platform-independent information synchronization standard protocol, then the GUID and the indicated fields for the target server are shown in bold font in the following message:

此时,当前终端通过不同的同步代理就可以将包括更新数据的第一同步信息发送给多个业务对应的多个服务器了,以便所述多个服务器及时更新服务器数据。其中,所述第一同步信息包括更新的数据、数据同步发起端标识、目标服务器标识。At this point, the current terminal can send the first synchronization information including update data to multiple servers corresponding to multiple services through different synchronization agents, so that the multiple servers can update server data in time. Wherein, the first synchronization information includes updated data, a data synchronization initiator identifier, and a target server identifier.

本实施例的技术方案中,当前终端中配置了对应多种业务的个人信息的本地共享信息副本,当所述本地共享信息副本中的数据有更新时,所述终端根据同步协议向对应的服务器发送同步信息,以便所述多个服务器根据所述同步信息进行数据更新,实现了多个业务对应服务器的数据同步。In the technical solution of this embodiment, local shared information copies of personal information corresponding to various services are configured in the current terminal. The synchronization information is sent, so that the multiple servers perform data update according to the synchronization information, realizing the data synchronization of multiple service-corresponding servers.

在所述实施例1的基础上,进一步的可以实现所述多个服务器与同步终端集合中的多个终端之间的信息同步,所述同步终端集合是指同一个用户具有的需要进行数据同步的终端组成的集合。参考图4所示,为本发明提供的一种数据同步方法实施例2的流程图,本实施例具体可以包括:On the basis of the first embodiment, it is further possible to implement information synchronization between the multiple servers and multiple terminals in the synchronization terminal set. The synchronization terminal set refers to the data synchronization required by the same user. A collection of terminals. Referring to FIG. 4, it is a flow chart of Embodiment 2 of a data synchronization method provided by the present invention. This embodiment may specifically include:

步骤401:当前终端将多个业务对应的本地副本配置为一个本地共享信息副本。Step 401: the current terminal configures local copies corresponding to multiple services as a local shared information copy.

步骤402:当前终端为所述本地共享信息副本配置多个同步代理。Step 402: The current terminal configures multiple synchronization agents for the local shared information copy.

步骤403:当前终端的本地共享信息副本中的数据有更新时,所述当前终端向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息。Step 403: When the data in the local shared information copy of the current terminal is updated, the current terminal sends first synchronization information carrying updated data to multiple servers corresponding to the multiple services.

步骤404:所述多个服务器根据所述第一同步信息中的更新数据在服务器中进行数据更新。Step 404: The multiple servers perform data update in the servers according to the update data in the first synchronization information.

所述多个服务器接收到所述当前终端发送的携带更新数据的第一同步信息后,提取更新数据的内容,并在服务器中进行数据更新。如果所述更新为增加,则在服务器中增加第一同步信息中携带的更新数据;如果所述更新为删除,则服务器中删除第一同步信息中携带的更新数据;如果所述更新为修改,则对服务器中对相应的数据根据第一同步信息进行修改。After the multiple servers receive the first synchronization information carrying update data sent by the current terminal, they extract content of the update data, and perform data update in the servers. If the update is an increase, the update data carried in the first synchronization information is added to the server; if the update is deletion, the server deletes the update data carried in the first synchronization information; if the update is a modification, Then modify the corresponding data in the server according to the first synchronization information.

所述步骤401-步骤404的实现方式可以参考所述实施例1中的步骤201-步骤202,这里不再赘述。For the implementation of steps 401 to 404, reference may be made to steps 201 to 202 in Embodiment 1, which will not be repeated here.

步骤405:所述多个服务器中的任一服务器向同步终端集合中的当前终端以外的其它终端发送携带所述更新数据的第二同步信息。Step 405: Any server among the plurality of servers sends the second synchronization information carrying the update data to other terminals in the synchronization terminal set except the current terminal.

通过所述步骤401-步骤404实现了多个服务器之间的数据同步,如果要进一步的实现所述多个服务器与同步终端集合中的多个终端之间的数据同步,那么需要所述多个服务器中的任一服务器向当前终端以外的其它终端发送同步信息,这里,记向当前终端以外的其它终端发送同步信息的所述多个服务器中的任一服务器为主同步服务器。具体的,可以采用在第一同步信息中指示主同步服务器的方式来实现,所述主同步服务器是所述多个服务器中的任一服务器。Through the steps 401-404, the data synchronization between multiple servers is realized. If the data synchronization between the multiple servers and multiple terminals in the synchronization terminal set is to be further realized, then the multiple Any server among the servers sends synchronization information to other terminals other than the current terminal. Here, any server among the plurality of servers that sends synchronization information to other terminals other than the current terminal is recorded as the master synchronization server. Specifically, it may be realized by indicating a main synchronization server in the first synchronization information, and the main synchronization server is any server among the plurality of servers.

首先,所述主同步服务器要向同步终端集合中的当前终端以外的其它终端发送携带所述更新数据的第二同步信息。所述第二同步信息中携带的更新数据与当前终端在第一同步信息中携带的更新数据相同,不同的是,第二同步信息中的同步发起端为服务器,接收端为同步终端集合中的终端。First, the master synchronization server sends the second synchronization information carrying the update data to other terminals in the synchronization terminal set except the current terminal. The update data carried in the second synchronization information is the same as the update data carried by the current terminal in the first synchronization information. terminal.

在实际应用中,终端与服务器的同步的实现过程一般采用以下两种方式:(1)终端周期性的向服务器发送同步请求,服务器在响应消息中告知终端需要同步,然后两者进行同步过程;(2)服务器主动向终端发送通知消息,通知终端进行信息同步,然后两者进行同步过程。In practical applications, the synchronization process between the terminal and the server generally adopts the following two methods: (1) The terminal periodically sends a synchronization request to the server, and the server informs the terminal that synchronization is required in the response message, and then the two perform the synchronization process; (2) The server actively sends a notification message to the terminal to notify the terminal to perform information synchronization, and then the two perform the synchronization process.

步骤406:所述其它终端根据所述第二同步信息更新自身的本地共享信息副本中的数据。Step 406: The other terminal updates data in its local copy of shared information according to the second synchronization information.

其他终端接收第二同步信息后,根据第二同步信息中指示的更新数据就可以更新自身本地共享信息副本中的数据了。After other terminals receive the second synchronization information, they can update the data in their local copy of the shared information according to the update data indicated in the second synchronization information.

本实施例中,除了能够是实现所述实施例1的有益效果外,进一步的,主同步服务器要向当前终端外的终端发送同步信息进行数据同步,实现了同步终端集合中终端的信息同步,至此,就实现了多个服务器和多个终端之间的信息同步,为用户使用个人信息提供了便利。In this embodiment, in addition to realizing the beneficial effects of Embodiment 1, further, the main synchronization server needs to send synchronization information to terminals other than the current terminal to perform data synchronization, thereby realizing information synchronization of terminals in the synchronization terminal set, So far, information synchronization between multiple servers and multiple terminals has been realized, which provides convenience for users to use personal information.

需要说明的是,在实际操作中,当前终端也可以先向主同步服务器发送同步信息,然后,主同步服务器向其他终端进行数据同步,最后,当前终端再进行与其他服务器数据同步的过程;或者,当前终端向第一同步信息指示的主同步服务器发送同步信息后,进行与其他服务器数据同步的过程,最后,再进行主同步服务器与其他终端数据同步的过程。It should be noted that, in actual operation, the current terminal may first send synchronization information to the main synchronization server, then the main synchronization server performs data synchronization with other terminals, and finally, the current terminal performs data synchronization with other servers; or , after the current terminal sends synchronization information to the primary synchronization server indicated by the first synchronization information, it performs a process of data synchronization with other servers, and finally, performs a process of data synchronization between the primary synchronization server and other terminals.

由实施例1和实施例2可以看出,同步终端集合中的任何一个终端的信息发生更新的时候,都可以实现终端与服务器之间的信息同步,当然在实际应用中,还存在这样一种情况,即多个服务器中的任一服务器上的数据发生更新。此时,可以参考图5所示,为本发明提供的一种数据同步方法实施例3的流程图,本实施例对多个服务器中的任一服务器数据发生更新时,如何实现多个服务器与同步终端集合中多个终端的信息同步进行详细介绍。本实施例具体可以包括:It can be seen from Embodiment 1 and Embodiment 2 that when the information of any terminal in the synchronous terminal set is updated, the information synchronization between the terminal and the server can be realized. Of course, in practical applications, there is such a A situation where data is updated on any of multiple servers. At this point, you can refer to FIG. 5 , which is a flow chart of Embodiment 3 of a data synchronization method provided by the present invention. When any server data in multiple servers is updated in this embodiment, how to realize multiple servers and The information synchronization of multiple terminals in the synchronous terminal set is described in detail. This embodiment can specifically include:

步骤501:当前服务器向同步终端集合中的多个终端发送携带当前服务器中更新数据的第三同步信息。Step 501: The current server sends third synchronization information carrying updated data in the current server to multiple terminals in the synchronization terminal set.

所述当前服务器即为多个服务器中数据发生更新的服务器。所述当前服务器中数据发生更新是指所述当前服务器中的数据发生了新增、删除或者修改,对于发生了更新的数据,在当前服务器上会生成唯一的对应于所述发生更新的数据的标识GUID;The current server is the server whose data is updated among the multiple servers. The update of the data in the current server means that the data in the current server has been added, deleted or modified. For the updated data, a unique corresponding to the updated data will be generated on the current server. Identify the GUID;

所述第三同步信息中携带所述发生更新的数据的GUID外,同时还要指示更新数据的发起端标识、接收端标识,In addition to carrying the GUID of the updated data in the third synchronization information, it also indicates the identity of the originator and the identity of the receiver of the updated data,

步骤502:所述多个终端根据所述第三同步信息在终端的本地共享信息副本中更新信息。Step 502: The multiple terminals update information in the local copies of shared information of the terminals according to the third synchronization information.

同步终端集合中的多个终端接收到所述当前服务器携带更新数据的同步信息后,提取更新的数据,并更新本身的信息副本中的数据。After receiving the synchronization information carrying updated data from the current server, multiple terminals in the synchronous terminal set extract the updated data and update the data in their information copy.

步骤503:同步终端集合中的任一终端向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息。Step 503: Any terminal in the synchronizing terminal set sends fourth synchronization information carrying updated data in the current server to other servers among the plurality of servers except the current server.

与所述步骤405类似,如果要进一步的实现所述多个服务器与同步终端集合中的多个终端之间的数据同步,那么需要所述多个终端中的任一终端向当前服务器以外的其它服务器发送同步信息。具体的,可以采用在第三同步信息中指示主同步终端的方式来实现,所述主同步终端是所述多个终端中的任一终端。Similar to the step 405, if the data synchronization between the multiple servers and the multiple terminals in the synchronization terminal set is to be further realized, then any terminal in the multiple terminals needs to send data to other terminals other than the current server. The server sends synchronization information. Specifically, it may be implemented by indicating a master synchronization terminal in the third synchronization information, where the master synchronization terminal is any terminal among the plurality of terminals.

这里,将所述任一终端记为主同步终端,主同步终端的终端除了更新本身的本地共享信息副本的数据外,还需要触发与其他服务器之间的数据同步。所述第三同步信息中携带了需要同步的数据、同步发起方标识和接收方标识。Here, any one of the terminals is referred to as the primary synchronization terminal, and the terminal of the primary synchronization terminal needs to trigger data synchronization with other servers in addition to updating the data of its own local shared information copy. The third synchronization information carries data to be synchronized, an identifier of a synchronization initiator, and an identifier of a receiver.

步骤504:所述其它服务器根据所述第四同步信息更新服务器中的数据。Step 504: The other server updates data in the server according to the fourth synchronization information.

除了当前服务器以外的其他服务器在接收到主同步终端发送的同步信息以后,提取需要更新的数据,更新服务器中的数据。需要说明的是,在实际操作中,当前服务器也可以先向第三同步信息指示的主同步终端发送同步信息,然后,主同步终端向其他服务器进行数据同步,最后,当前服务器再进行与其他终端数据同步的过程;或者,当前终端向第三同步信息指示的主同步终端发送同步信息后,进行与其他终端数据同步的过程,最后,再进行主同步终端与其他服务器数据同步的过程。After receiving the synchronization information sent by the master synchronization terminal, other servers except the current server extract the data to be updated and update the data in the server. It should be noted that, in actual operation, the current server may first send synchronization information to the main synchronization terminal indicated by the third synchronization information, then the main synchronization terminal performs data synchronization with other servers, and finally, the current server performs data synchronization with other terminals A process of data synchronization; or, after the current terminal sends synchronization information to the main synchronization terminal indicated by the third synchronization information, it performs a data synchronization process with other terminals, and finally, performs a data synchronization process between the main synchronization terminal and other servers.

本实施例的技术方案中,在所述多个服务器中的当前服务器数据发生更新时,通过当前服务器发起数据同步流程,最终实现多个服务器和同步终端集合中的多个终端之间的信息同步。对用户在不同的服务器与终端之间共享信息带来了便利。In the technical solution of this embodiment, when the current server data in the multiple servers is updated, the current server initiates the data synchronization process, and finally realizes the information synchronization between multiple servers and multiple terminals in the synchronization terminal set . It is convenient for users to share information between different servers and terminals.

相应的,本发明还提供一种终端,参考图6所示,为本发明提供的一种终端实施例1的结构示意图,所述终端包括:Correspondingly, the present invention also provides a terminal. Referring to FIG. 6 , which is a schematic structural diagram of a terminal embodiment 1 provided by the present invention, the terminal includes:

配置单元601,用于将多个业务对应的本地副本配置为一个本地共享信息副本;Configuration unit 601, configured to configure local copies corresponding to multiple services as a local shared information copy;

第一发送单元602,用于根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。The first sending unit 602 is configured to send first synchronization information carrying update data to multiple servers corresponding to the multiple services according to a synchronization protocol among the multiple servers corresponding to the multiple services, so that the multiple A server performs data update according to the first synchronization information.

终端中各模块所实现的功能与方法实施例1中方法操作步骤对应,这里不再赘述。The functions realized by each module in the terminal correspond to the operation steps of the method in the method embodiment 1, and will not be repeated here.

优选的,参考图7所示,为本发明提供的一种终端实施例2的结构示意图,除了包括所述图6所示的单元外,所述终端还包括:Preferably, referring to FIG. 7 , which is a schematic structural diagram of a terminal embodiment 2 provided by the present invention, in addition to the units shown in FIG. 6 , the terminal further includes:

第一接收单元701,用于接收多个服务器中的任一服务器发送的携带所述更新数据的第二同步信息;The first receiving unit 701 is configured to receive the second synchronization information carrying the update data sent by any server among the plurality of servers;

第一更新单元702,用于根据所述第二同步信息更新本地共享信息副本中的信息。The first updating unit 702 is configured to update information in the local shared information copy according to the second synchronization information.

终端中各模块所实现的功能与方法实施例2中方法操作步骤对应,这里不再赘述。The functions realized by each module in the terminal correspond to the operation steps of the method in the method embodiment 2, and will not be repeated here.

优选的,参考图8所示,为本发明提供的一种终端实施例3的结构示意图,除了包括所述图6、图7所示的单元外,所述终端还包括:Preferably, referring to FIG. 8, which is a schematic structural diagram of a terminal embodiment 3 provided by the present invention, in addition to the units shown in FIG. 6 and FIG. 7, the terminal also includes:

第二接收单元801,用于所述多个服务器中的当前服务器的数据发生更新时,接收当前服务器发送的携带所述更新数据的第三同步信息;The second receiving unit 801 is configured to receive third synchronization information carrying the updated data sent by the current server when the data of the current server among the plurality of servers is updated;

第二更新单元802,用于根据所述第三同步信息更新本地共享信息副本中的数据。The second updating unit 802 is configured to update the data in the local shared information copy according to the third synchronization information.

转发单元803,用于所述第二更新单元根据所述第三同步信息更新本地共享信息副本中的数据之后,向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息。The forwarding unit 803 is configured to, after the second updating unit updates the data in the local shared information copy according to the third synchronization information, send the data carried in the current server to a server other than the current server among the plurality of servers. The fourth synchronization information of the updated data.

终端中各模块所实现的功能与方法实施例3中方法操作步骤对应,这里不再赘述。The functions realized by each module in the terminal correspond to the operation steps of the method in the method embodiment 3, and will not be repeated here.

相应的,本发明提供一种数据同步系统,参考图9所示,为本发明提供一种数据同步系统的结构示意图,所述系统包括同步终端集合901和同步服务器集合902;Correspondingly, the present invention provides a data synchronization system, as shown in FIG. 9 , which is a schematic structural diagram of a data synchronization system provided by the present invention. The system includes a synchronization terminal set 901 and a synchronization server set 902;

所述同步终端集合901包括至少两个终端,所述同步服务器集合902包括至少两个服务器;The synchronization terminal set 901 includes at least two terminals, and the synchronization server set 902 includes at least two servers;

所述终端为图6-图8任一图所示的终端;The terminal is the terminal shown in any one of Figures 6-8;

参考图10所示,为所述至少两个服务器中的任一服务器的结构示意图,所述服务器包括:Referring to FIG. 10 , which is a schematic structural diagram of any server in the at least two servers, the server includes:

第三接收单元1001,用于接收所述至少两个终端中的当前终端发送的携带更新数据的第一同步信息;A third receiving unit 1001, configured to receive first synchronization information carrying update data sent by a current terminal among the at least two terminals;

第三更新单元1002,用于根据所述第一同步信息中的更新信息进行数据更新。The third updating unit 1002 is configured to update data according to the update information in the first synchronization information.

优选的,参考图11所示,为所述服务器的另一结构示意图,除了包括图10所示的单元外,所述服务器还包括:Preferably, referring to FIG. 11, which is another schematic structural diagram of the server, in addition to the units shown in FIG. 10, the server also includes:

第二发送单元1101,用于第三更新单元根据所述第一同步信息中的更新信息进行数据更新之后,向所述至少两个终端中当前终端以外的其它终端发送携带所述更新数据的第二同步信息;The second sending unit 1101 is configured to, after the third updating unit performs data update according to the update information in the first synchronization information, send the second update data carrying the update data to terminals other than the current terminal among the at least two terminals 2. Synchronization information;

第三发送单元1102,用于所述服务器中的信息发生更新时,向所述至少两个终端发送携带更新数据的第三同步信息;The third sending unit 1102 is configured to send third synchronization information carrying updated data to the at least two terminals when the information in the server is updated;

第四接收单元1103,用于接收所述同步终端集合中任一终端发送的第四同步信息;A fourth receiving unit 1103, configured to receive fourth synchronization information sent by any terminal in the synchronization terminal set;

第四更新单元1104,用于根据所述第四同步信息进行数据更新。The fourth updating unit 1104 is configured to update data according to the fourth synchronization information.

需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that the terms "comprising", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes none other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

对于系统实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the system embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The system embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.

以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The foregoing is only a specific embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, some improvements and modifications can also be made without departing from the principle of the present invention. It should be regarded as the protection scope of the present invention.

Claims (12)

1.一种数据同步的方法,其特征在于,所述方法包括:1. A method for data synchronization, characterized in that the method comprises: 当前终端将多个业务对应的个人信息的本地副本配置为一个本地共享信息副本;The current terminal configures the local copy of personal information corresponding to multiple businesses as a local copy of shared information; 若当前终端中本地共享信息副本的数据发生更新时,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。If the data of the local shared information copy in the current terminal is updated, the current terminal sends the first message carrying the updated data to the multiple servers corresponding to the multiple services according to the synchronization protocol between the multiple servers corresponding to the multiple services. Synchronization information, so that the multiple servers perform data update according to the first synchronization information. 2.根据权利要求1所述的方法,其特征在于,当前终端根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,包括:2. The method according to claim 1, wherein the current terminal sends a message carrying update data to a plurality of servers corresponding to the plurality of services according to a synchronization protocol between the plurality of servers corresponding to the plurality of services. First synchronization information, including: 当前终端通过多个同步代理,向所述多个服务器发送携带更新数据的第一同步信息。The current terminal sends the first synchronization information carrying update data to the multiple servers through multiple synchronization agents. 3.根据权利要求1所述的方法,其特征在于,所述多个服务器根据所述第一同步信息进行数据更新之后,还包括:3. The method according to claim 1, wherein after the multiple servers perform data update according to the first synchronization information, further comprising: 所述多个服务器中的任一服务器向同步终端集合中的当前终端以外的其它终端发送携带所述更新数据的第二同步信息,所述同步终端集合中的其它终端均与当前终端有相同的配置;Any server among the plurality of servers sends the second synchronization information carrying the update data to other terminals in the synchronous terminal set except the current terminal, and the other terminals in the synchronous terminal set all have the same configuration; 所述其它终端根据所述第二同步信息更新自身的本地共享信息副本中的数据。The other terminal updates data in its local copy of shared information according to the second synchronization information. 4.根据权利要求1所述的方法,其特征在于,若所述多个服务器中的当前服务器的数据发生更新,所述方法还包括:4. The method according to claim 1, wherein if the data of the current server among the plurality of servers is updated, the method further comprises: 当前服务器向同步终端集合中的多个终端发送携带当前服务器中更新数据的第三同步信息;The current server sends third synchronization information carrying updated data in the current server to multiple terminals in the synchronization terminal set; 所述多个终端根据所述第三同步信息在终端的本地共享信息副本中更新信息。The multiple terminals update information in the local copies of shared information of the terminals according to the third synchronization information. 5.根据权利要求4所述的方法,其特征在于,所述多个终端根据所述第三同步信息在终端的本地共享信息副本中更新信息之后,还包括:5. The method according to claim 4, wherein after the multiple terminals update information in the local shared information copy of the terminal according to the third synchronization information, further comprising: 同步终端集合中的任一终端向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息;Any terminal in the synchronization terminal set sends fourth synchronization information carrying updated data in the current server to other servers in the plurality of servers except the current server; 所述其它服务器根据所述第四同步信息更新服务器中的数据。The other server updates data in the server according to the fourth synchronization information. 6.一种数据同步终端,其特征在于,所述终端包括:6. A data synchronization terminal, characterized in that the terminal comprises: 配置单元,用于将多个业务对应的个人信息的本地副本配置为一个本地共享信息副本;A configuration unit, configured to configure local copies of personal information corresponding to multiple businesses as a local copy of shared information; 第一发送单元,用于根据与所述多个业务对应的多个服务器之间的同步协议向所述多个业务对应的多个服务器发送携带更新数据的第一同步信息,以便所述多个服务器根据所述第一同步信息进行数据更新。The first sending unit is configured to send first synchronization information carrying update data to multiple servers corresponding to the multiple services according to a synchronization protocol among multiple servers corresponding to the multiple services, so that the multiple The server performs data update according to the first synchronization information. 7.根据所述权利要求6所述的终端,其特征在于,所述终端还包括:7. The terminal according to claim 6, further comprising: 第二接收单元,用于所述多个服务器中的当前服务器的数据发生更新时,接收当前服务器发送的携带当前服务器中更新数据的第三同步信息;The second receiving unit is used for receiving the third synchronization information sent by the current server and carrying the updated data in the current server when the data of the current server among the plurality of servers is updated; 第二更新单元,用于根据所述第三同步信息更新本地共享信息副本中的数据。A second updating unit, configured to update data in the local shared information copy according to the third synchronization information. 8.根据权利要求7所述的终端,其特征在于,所述终端还包括:8. The terminal according to claim 7, further comprising: 转发单元,用于所述第二更新单元根据所述第三同步信息更新本地共享信息副本中的数据之后,向所述多个服务器中的当前服务器以外的其它服务器发送携带所述当前服务器中更新数据的第四同步信息。A forwarding unit, configured to, after the second updating unit updates the data in the local shared information copy according to the third synchronization information, send an update carrying the update in the current server to a server other than the current server among the plurality of servers. The fourth synchronization information of the data. 9.一种数据同步系统,其特征在于,所述系统包括同步终端集合和同步服务器集合,所述同步终端集合包括至少两个终端,所述同步服务器集合包括至少两个服务器;9. A data synchronization system, characterized in that the system includes a synchronization terminal set and a synchronization server set, the synchronization terminal set includes at least two terminals, and the synchronization server set includes at least two servers; 所述同步终端集合为同一个用户具有的需要进行数据同步的终端组成的集合,所述同步终端集合中的任一终端为权利要求6至8任一项所述的终端;The set of synchronous terminals is a set of terminals owned by the same user that need to perform data synchronization, and any terminal in the set of synchronous terminals is the terminal described in any one of claims 6 to 8; 所述同步服务器集合中的任一服务器包括:Any server in the set of synchronization servers includes: 第三接收单元,用于接收所述至少两个终端中的当前终端发送的携带更新数据的第一同步信息;A third receiving unit, configured to receive first synchronization information carrying update data sent by a current terminal among the at least two terminals; 第三更新单元,用于根据所述第一同步信息中的更新数据进行数据更新。A third updating unit, configured to update data according to the update data in the first synchronization information. 10.根据权利要求9所述的系统,其特征在于,所述服务器还包括:10. The system according to claim 9, wherein the server further comprises: 第二发送单元,用于第三更新单元根据所述第一同步信息中的更新数据进行数据更新之后,向所述至少两个终端中当前终端以外的其它终端发送携带所述更新数据的第二同步信息。The second sending unit is configured to send the second update data carrying the update data to terminals other than the current terminal among the at least two terminals after the third update unit performs data update according to the update data in the first synchronization information. Synchronization information. 11.根据权利要求9所述的系统,其特征在于,所述服务器还包括:11. The system according to claim 9, wherein the server further comprises: 第三发送单元,用于所述服务器中的信息发生更新时,向所述至少两个终端发送携带服务器中更新数据的第三同步信息。The third sending unit is configured to send third synchronization information carrying updated data in the server to the at least two terminals when the information in the server is updated. 12.根据权利要求11所述的系统,其特征在于,所述服务器还包括:12. The system according to claim 11, wherein the server further comprises: 第四接收单元,用于接收所述同步终端集合中任一终端发送的第四同步信息;a fourth receiving unit, configured to receive fourth synchronization information sent by any terminal in the synchronization terminal set; 第四更新单元,用于根据所述第四同步信息进行数据更新。A fourth updating unit, configured to update data according to the fourth synchronization information.
CN201210591622.7A 2012-12-30 2012-12-30 A kind of method of data syn-chronization, terminal and system Active CN103916409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210591622.7A CN103916409B (en) 2012-12-30 2012-12-30 A kind of method of data syn-chronization, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591622.7A CN103916409B (en) 2012-12-30 2012-12-30 A kind of method of data syn-chronization, terminal and system

Publications (2)

Publication Number Publication Date
CN103916409A CN103916409A (en) 2014-07-09
CN103916409B true CN103916409B (en) 2017-11-21

Family

ID=51041816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591622.7A Active CN103916409B (en) 2012-12-30 2012-12-30 A kind of method of data syn-chronization, terminal and system

Country Status (1)

Country Link
CN (1) CN103916409B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162865A (en) * 2015-09-14 2015-12-16 海智网聚网络技术(北京)有限公司 Method and device for data synchronization
CN107770232A (en) * 2016-08-22 2018-03-06 南京中兴软件有限责任公司 A kind of method of data synchronization and device
CN113067848B (en) * 2021-02-05 2023-09-26 厦门亿联网络技术股份有限公司 Call record synchronization method and system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976275A (en) * 2006-12-15 2007-06-06 深圳市戴文科技有限公司 Data synchronizing system and method
CN101068141A (en) * 2006-08-18 2007-11-07 腾讯科技(深圳)有限公司 Data synchronizing method and device between communication terminal and network communication system
CN101426026A (en) * 2008-09-17 2009-05-06 北京六维世纪网络技术有限公司 Method and system for data synchronization between multiple servers
CN102016846A (en) * 2008-03-04 2011-04-13 苹果公司 Data synchronization protocol
WO2012016509A1 (en) * 2010-08-03 2012-02-09 上海合合信息科技发展有限公司 Method and system for management by network and for automatic update of contact information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9549025B2 (en) * 2006-05-09 2017-01-17 International Business Machines Corporation Protocol optimization for client and server synchronization
CN101257375B (en) * 2006-12-31 2012-08-08 华为技术有限公司 Method and device for realizing multi-terminal message synchronization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068141A (en) * 2006-08-18 2007-11-07 腾讯科技(深圳)有限公司 Data synchronizing method and device between communication terminal and network communication system
CN1976275A (en) * 2006-12-15 2007-06-06 深圳市戴文科技有限公司 Data synchronizing system and method
CN102016846A (en) * 2008-03-04 2011-04-13 苹果公司 Data synchronization protocol
CN101426026A (en) * 2008-09-17 2009-05-06 北京六维世纪网络技术有限公司 Method and system for data synchronization between multiple servers
WO2012016509A1 (en) * 2010-08-03 2012-02-09 上海合合信息科技发展有限公司 Method and system for management by network and for automatic update of contact information

Also Published As

Publication number Publication date
CN103916409A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN1846202B (en) Synchronization of application records based on mail server
CN103491055B (en) A kind of method of the synchronizing information between multiple client, client and server
US7720920B2 (en) Client side based data synchronization and storage
US10122665B2 (en) Distributed synchronization data in a message management service
CN103095829B (en) Realize the network contact list system of version management and rights management
US8463859B2 (en) Email system including synchronization server(s) providing synchronization based upon synchronization indicators stored on mobile devices and related methods
CN102014168A (en) Cloud service-based method and device of interconnection address books
JP2007531935A (en) Device group management using virtual device domains
CN102769640B (en) The update method of user profile, server and system
CN103188130A (en) Social network user information correlation method and correlation device
CN110391974A (en) A message synchronization method, server, terminal and system
WO2014029276A1 (en) Communication method and device
CN101340425A (en) Method and device for data synchronization between terminals
CN103685385A (en) Method, system and device for file synchronization
CN106209581A (en) Information processing method, device, server and terminal unit
CN105991592B (en) With person part maintaining method, device and server
WO2014154009A1 (en) Method, apparatus, receiving end, sending end and device for group communication
CN103916409B (en) A kind of method of data syn-chronization, terminal and system
CN102185701A (en) Method and system for realizing group information interaction
CN106487637B (en) An application message processing system, method and application device
CN106657360A (en) Synchronization method and system for NIS servers under Linux system
CN109391658A (en) A kind of account data synchronous method and its equipment, storage medium, terminal
CN101317408B (en) Method and system for providing asynchronous communication through internet
CN103685510B (en) Multi-terminal-oriented media resource synchronization method and system based on server operation
CN207150620U (en) An instant messaging system for the interconnection of internal and external networks in the electric power industry

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant