CN115460226A - A data synchronization management system, method, equipment, medium and product - Google Patents
A data synchronization management system, method, equipment, medium and product Download PDFInfo
- Publication number
- CN115460226A CN115460226A CN202211167299.0A CN202211167299A CN115460226A CN 115460226 A CN115460226 A CN 115460226A CN 202211167299 A CN202211167299 A CN 202211167299A CN 115460226 A CN115460226 A CN 115460226A
- Authority
- CN
- China
- Prior art keywords
- data
- synchronization
- server
- service
- business
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及数据同步技术领域,尤其涉及一种数据同步管理系统、方法、设备、介质及产品。The embodiments of the present application relate to the technical field of data synchronization, and in particular to a data synchronization management system, method, device, medium, and product.
背景技术Background technique
随着互联网时代的快速发展,计算机存储能力与复杂算法不断发展,近年来的数据量呈指数型增长,用户对数据同步的质量要求越来越高,需要保证数据同步的准确性、及时性和安全性。With the rapid development of the Internet era, computer storage capabilities and complex algorithms continue to develop. In recent years, the amount of data has grown exponentially. Users have higher and higher requirements for the quality of data synchronization. It is necessary to ensure the accuracy, timeliness and safety.
在企业互联网的部署中,由于数据量规模不断增大,往往考虑多服务器群的互联网跨区域部署。而在跨区域多服务器群的互联网架构下,常常会出现因网络不稳定或业务系统异常,造成服务器群之间数据同步失败的情况。此外,现有的数据同步方法往往针对服务器群上的某个业务设定,方法的执行有业务场景限定,不具备适用性。In the deployment of the enterprise Internet, due to the continuous increase in the amount of data, cross-regional deployment of the Internet with multiple server groups is often considered. However, under the Internet architecture of cross-regional multi-server clusters, data synchronization between server clusters often fails due to network instability or abnormal business systems. In addition, the existing data synchronization methods are often set for a certain business on the server farm, and the execution of the method is limited by the business scenario, which is not applicable.
发明内容Contents of the invention
本申请实施例提供了一种数据同步管理系统、方法、设备、介质及产品,适用于不同业务应用的数据同步管理,提高了数据同步管理的通用性。Embodiments of the present application provide a data synchronization management system, method, device, medium, and product, which are suitable for data synchronization management of different business applications and improve the versatility of data synchronization management.
第一方面,本发明实施例提供了一种数据同步管理系统,包括至少两个服务器群;In the first aspect, the embodiment of the present invention provides a data synchronization management system, including at least two server groups;
各服务器群中包括至少一个业务服务器以及与各业务服务器关联的数据同步进程;Each server group includes at least one business server and a data synchronization process associated with each business server;
针对每个服务器群,For each server farm,
业务服务器,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程;The business server is used to generate a data synchronization message containing the business data to be synchronized and send it to the associated data synchronization process when there is a need for data cross-group synchronization;
数据同步进程,用于根据接收的数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将待同步业务数据传递到目标服务器群的目标业务服务器上。The data synchronization process is used to determine the target server group to be synchronized across groups according to the received data synchronization message, and transmit the service data to be synchronized to the target service server of the target server group through the generated synchronization data packet.
第二方面,本发明实施例提供了一种数据同步管理方法,由本发明实施例上述第一方面提供的数据同步管理系统所包括服务器群中的业务服务器和数据同步进程执行,方法包括:In the second aspect, the embodiment of the present invention provides a data synchronization management method, which is executed by the business server and the data synchronization process in the server group included in the data synchronization management system provided in the first aspect of the embodiment of the present invention. The method includes:
针对每个服务器群,所包含的业务服务器在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程;For each server group, when the included business servers have data cross-group synchronization requirements, generate a data synchronization message containing the business data to be synchronized, and send it to the associated data synchronization process;
数据同步进程根据接收的数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将待同步业务数据传递到目标服务器群的目标业务服务器上。The data synchronization process determines the target server group to be synchronized across groups according to the received data synchronization message, and transmits the service data to be synchronized to the target service server of the target server group through the generated synchronization data packet.
第三方面,本发明实施例提供了一种数据同步管理设备,作为本发明实施例上述第一方面提供的数据同步管理系统所包括服务器群中数据同步进程的执行设备,包括:In the third aspect, the embodiment of the present invention provides a data synchronization management device, as the execution device of the data synchronization process in the server group included in the data synchronization management system provided in the first aspect of the embodiment of the present invention, including:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序;storage means for storing one or more programs;
一个或多个程序被一个或多个处理器执行,使得一个或多个处理器用于实现本发明实施例上述第二方面提供的数据同步管理方法。One or more programs are executed by one or more processors, so that the one or more processors are used to implement the data synchronization management method provided in the second aspect of the embodiments of the present invention.
第四方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现本发明实施例上述第二方面提供的数据同步管理方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and is characterized in that, when the program is executed by a processor, the data synchronization management method provided in the above-mentioned second aspect of the embodiment of the present invention is implemented .
第五方面,本发明实施例提供了一种计算机程序产品,其特征在于,计算机程序产品包括计算机程序,计算机程序在被处理器执行时实现根据本发明实施例上述第二方面提供的数据同步管理方法。In the fifth aspect, the embodiment of the present invention provides a computer program product, which is characterized in that the computer program product includes a computer program, and when the computer program is executed by a processor, the data synchronization management provided according to the above-mentioned second aspect of the embodiment of the present invention is realized method.
本申请实施例公开了一种数据同步管理系统、方法、设备、介质及产品。该系统包括:包括至少两个服务器群,各服务器群中包括至少一个业务服务器以及与各业务服务器关联的数据同步进程;针对每个服务器群,业务服务器,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程;数据同步进程,用于根据接收的数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将待同步业务数据传递到目标服务器群的目标业务服务器上。上述技术方案,集成在服务器群中的各业务服务器均可以在具备数据跨群同步的需求时,通过服务器群内的数据同步进程进行业务数据到其他待同步服务器群上的有效同步。本技术方案作为一种通用的数据同步管理系统,在实现数据同步时无需考虑业务服务器上需要数据同步的为何种业务应用,可以直接通过所关联数据同步进程实现数据同步报文的转发,实现多种业务类型的数据同步。更好的保证了大规模互联网架构下应用业务数据同步的灵活性和有效性,也更好的体现了大规模互联网架构下的数据同步通用性。The embodiment of the application discloses a data synchronization management system, method, device, medium and product. The system includes: including at least two server groups, each server group includes at least one business server and a data synchronization process associated with each business server; for each server group, the business server is used when there is a need for data cross-group synchronization , generate a data synchronization message containing the business data to be synchronized, and send it to the associated data synchronization process; the data synchronization process is used to determine the target server group to be synchronized across groups according to the received data synchronization message, and pass the generated The synchronization data package transmits the service data to be synchronized to the target service server of the target server group. With the above technical solution, each business server integrated in the server group can effectively synchronize business data to other server groups to be synchronized through the data synchronization process in the server group when there is a need for cross-group synchronization of data. As a general-purpose data synchronization management system, this technical solution does not need to consider what kind of business application needs data synchronization on the business server when realizing data synchronization, and can directly realize the forwarding of data synchronization messages through the associated data synchronization process, realizing multiple Data synchronization of different business types. It better guarantees the flexibility and effectiveness of application business data synchronization under the large-scale Internet architecture, and better reflects the versatility of data synchronization under the large-scale Internet architecture.
应当理解,本部分所描述的内容并非旨在标识本申请的实施例的关键或重要特征,也不用于限制本申请的范围。本申请的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will be easily understood from the following description.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1给出了本申请实施例一提供的一种数据同步管理系统的结构框图;FIG. 1 shows a structural block diagram of a data synchronization management system provided in Embodiment 1 of the present application;
图2给出了本申请实施例一提供的一种数据同步管理系统的另一结构框图;FIG. 2 shows another structural block diagram of a data synchronization management system provided in Embodiment 1 of the present application;
图3给出了本申请实施例二提供的一种数据同步管理方法的流程示意图;FIG. 3 shows a schematic flowchart of a data synchronization management method provided in Embodiment 2 of the present application;
图4给出了本申请实施例二提供的一种数据同步管理方法的另一流程示意图;FIG. 4 shows another schematic flowchart of a data synchronization management method provided in Embodiment 2 of the present application;
图5给出了本申请实施例三提供的一种数据同步管理设备的硬件结构示意图。FIG. 5 shows a schematic diagram of a hardware structure of a data synchronization management device provided in Embodiment 3 of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例一Embodiment one
图1给出了本申请实施例一提供的一种数据同步管理系统的结构框图,该系统适用于对跨区域互联网架构下不同业务应用进行数据同步管理的情况,如图1所示,该数据同步管理系统包括:至少两个服务器群10;Figure 1 shows a structural block diagram of a data synchronization management system provided by Embodiment 1 of the present application. The system is suitable for data synchronization management of different business applications under the cross-regional Internet architecture. As shown in Figure 1, the data The synchronization management system includes: at least two
各服务器群10中包括一个数据同步进程102以及至少一个业务服务器101;各业务服务器101与数据同步进程102存在关联;Each
针对每个服务器群10,For each
业务服务器101,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程102;The
数据同步进程102,用于根据接收的所述数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将所述待同步业务数据传递到所述目标服务器群的目标业务服务器上。The
本发明实施例提供的一种数据同步管理系统,包括至少两个服务器群10,各服务器群10中包括一个数据同步进程102以及至少一个业务服务器101,各业务服务器101与数据同步进程102存在关联。其中,所述服务器群(Server cluster),即服务器集群,将至少两个服务器集中起来支持不同类型的业务运行。是一种大规模的互联网框架,可以跨区域进行业务服务,实现业务多区域同步,并有效避免因某服务器故障而破坏群集化资源的运行。A data synchronization management system provided by an embodiment of the present invention includes at least two
在本实施例中,所提供的数据同步管理系统主要用于在各服务器群中接收并处理来自不同客户端传递的不同种类型的数据同步任务。一般的,服务器群可以看作一个分布式系统架构,且可以实现全球服务部署,在该分布式系统架构下,可以通过对不同地域上服务器群的部署来构成本实施例中分布式的数据同步管理系统。In this embodiment, the provided data synchronization management system is mainly used for receiving and processing different types of data synchronization tasks delivered from different clients in each server group. Generally, the server farm can be regarded as a distributed system architecture, and can realize global service deployment. Under this distributed system architecture, the distributed data synchronization in this embodiment can be formed by deploying server farms in different regions. management system.
需要说明的是,数据同步管理系统的应用场景可以描述为:在各个服务器群10中,各业务服务器101接收来自不同业务客户端发出的业务处理需求,查询或接收到各所述业务具有不同跨区域数据同步需求,与各个与业务服务器101关联的数据同步进程102分别接收各业务服务器101传输的数据同步报文,根据所述数据同步报文将待同步业务数据直接转发至各目标业务服务器,对所述各跨群同步需求直接进行业务跨群同步服务,可选的,服务器群10至少有两个。示例性的,服务器群10可以是亚洲服务器群与欧洲服务器群等,亚洲服务器群中的业务服务器101接收数据跨群同步需求并传输至欧洲服务器群中的目标业务服务器。在亚洲存在一个及以上的客户端向欧洲的某几个客户端分别发起语音通话或文字消息即时通信等业务的数据跨群同步需求时,该数据跨群同步需求被亚洲服务器群中的不同业务服务器101接收,并根据数据同步进程102分别传输至欧洲服务器群中的某几个目标业务服务器,实现不同业务数据的跨集群同步服务。It should be noted that the application scenario of the data synchronization management system can be described as: in each
针对每个服务器群10,For each
业务服务器101,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程102。服务器群10中的至少一个业务服务器101,是用来运行业务的服务器,设置业务服务器101对待处理业务进行响应,不同的业务服务器101可以是对不同业务的响应,可以提供一个应用于业务匹配的相应执行处理。The
示例性的,当业务参与者存在某种需求时,可以通过客户端生成该类需求的业务请求,业务服务器101可以在接收到业务请求后,对业务进行与业务请求相匹配的处理,例如客户端产生即时通信、视频播放或线上会议等不同业务类型的同步请求时,服务器群10中提供不同的业务服务器101分别对上述各个不同业务进行相应的处理。Exemplarily, when a business participant has a certain demand, the client can generate a business request for this type of demand, and the
所述数据跨群同步需求,是客户端业务运行中产生的一种跨区域或跨多区域的数据同步请求,业务服务器101在对客户端进行业务响应的时候,业务本身具备或业务服务器101查询到客户端业务具备跨区域同步需求(数据跨群同步需求),生成包含待同步业务数据的数据同步报文。The data cross-group synchronization requirement is a cross-region or cross-multi-region data synchronization request generated during the operation of the client business. When the
示例性的,业务服务器101可以同时执行不同业务类型的业务同步,例如第一个业务服务器101可以支持上述即时通信的业务同步,第二个业务服务器101可以执行上述视频播放的业务同步,第三个业务服务器101可以执行上述线上会议的业务同步,同理,本数据同步管理系统中服务器群10中的每一个业务服务器101均可以同时为不同类型的业务提供同步服务。需要注意的是,如果所述业务同步具有跨群同步需求,业务服务器101同样能够同时实现多种业务类型的跨群数据同步。Exemplarily, the
所述待同步业务数据可以是业务Binlog(Binary Log)数据,该业务Binlog数据是一种二进制日志文件,用于记录对Mysql的数据更新或者潜在发生更新的SQL语句,当有数据写入到数据库时,还会同时把更新的SQL语句写入到对应的Binlog文件里,在使用Binlog前,首先需要确认是否开启了Binlog。Described business data to be synchronized can be business Binlog (Binary Log) data, and this business Binlog data is a kind of binary log file, is used for recording the SQL statement that the data update to Mysql or potential generation update, when data is written into database At the same time, the updated SQL statement will be written to the corresponding Binlog file at the same time. Before using Binlog, you first need to confirm whether Binlog is enabled.
所述数据同步报文包括待同步业务数据,将待同步业务数据封装成数据同步报文的格式,由业务服务器101发送给数据同步进程102。在本实施例中,所述数据同步报文的生成操作可以由业务服务器101在接收到数据跨群同步需求后执行。具体的,业务服务器可以获取到待同步业务数据,同时还可以确定出该待同步业务数据的业务类型,也可以确定出想要将待同步业务数据同步到哪个服务器群,由此可以获得到所期望同步到服务器群的群地址信息。业务服务器可以对上述获取的待同步数据、业务类型以及所期望同步到服务器群的群地址信息进行封装,最终形成数据同步报文。The data synchronization message includes service data to be synchronized, and the service data to be synchronized is encapsulated into a format of a data synchronization message, and is sent by the
在本实施例中,数据同步进程102,用于根据接收的所述数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将所述待同步业务数据传递到所述目标服务器群的目标业务服务器上。在本实施例中,一个服务器群10中创建有一个数据同步进程102,即一个服务器群10对应存在一个数据同步进程102。数据同步进程102可以创建于服务器群10中包括的任一台服务器上,该数据同步进程可以与服务器群10中的至少一个业务服务器101建立通信连接。In this embodiment, the
在本实施例中,与业务服务器101处于同一服务器群10中的数据同步进程102可以接收到该数据同步报文,并可以对该数据同步报文进行分析,确定出业务服务器101待跨群同步的目标服务器群。在本实施例中,所述目标服务器群是数据同步管理系统中的另一服务器群10,该目标服务器群中同样可以包含至少一个业务服务器101以及创建于服务器群10中任一服务器上的数据同步进程102。In this embodiment, the
接上述描述,该数据同步进程102可以在确定出目标服务器群之后,再根据数据同步报文中包含的报文内容生成同步数据包,并将该同步数据包发送给目标服务器群上的数据同步进程102。目标业务服务器可以由目标服务器群中的数据同步进程102根据接收的同步数据包,从目标服务器群包含的多个业务服务器中确定出。其中,所述目标业务服务器也可以是业务服务器101,二者是相对目标关系,业务服务器101也可以作为目标业务服务器存在。Following the above description, after the target server group is determined, the
具体的,该目标服务器群上的数据同步进程102可以获得同步数据包中的业务类型,然后从众多业务服务器101中选择与该业务类型相匹配的业务服务器101作为目标业务服务器;最终,目标服务器群上的数据同步进程102可以将同步数据包中的待同步业务数据同步到目标业务服务器上。Specifically, the
示例性的,业务服务器101可以在接受到客户端生成的业务服务请求后,响应业务服务请求的运行,如果在业务服务运行中检测到业务服务存在跨群同步的数据时,确定其具备数据跨群同步需求。之后,可以获得该业务服务的业务类型、待跨群同步的目标群标识、待同步业务数据及同步配置参数,并按照设定的同步协议报文格式将其封装,形成数据同步报文;最终将生成的数据同步报文发送至其所在服务器群上创建的数据同步进程102,数据同步进程102在接收到数据同步报文后,生成同步数据包,根据目标群标识将同步数据包从服务器群10的数据同步进程102传递到目标服务器群中,使得目标业务服务群可以根据其上创建的数据同步进程102将同步数据包中的待同步业务数据传输至从目标服务器群中确定出的目标业务服务器上。Exemplarily, after receiving the business service request generated by the client, the
其中,各所述服务器群中保存有服务器群配置文件;Wherein, a server group configuration file is stored in each of the server groups;
所述服务器群配置文件包括:各所述服务器群的群标识、群地址,以及各所述服务器群所包含业务服务器的业务类型及服务器地址。The server group configuration file includes: group identifiers and group addresses of each of the server groups, and service types and server addresses of service servers included in each of the server groups.
所述群标识与群地址是各服务器群10独有的身份标识(Identity document,ID)与IP(Internet Protocol,网络之间互连协议)地址,同理,各个业务服务器地址也是唯一的。每一个服务器群10与业务服务器101都拥有独属于自己的身份标识与互联网协议地址,所述群地址与服务器地址是一种互联网逻辑地址,而非物理意义上的地址。The group identifier and group address are the unique identity (Identity document, ID) and IP (Internet Protocol, Internet Protocol) address of each
需要注意的是,每一个业务服务器101接收到其所对应的不同业务类型的数据同步请求后,都可以获得该业务服务的业务类型、待跨群同步的目标群标识、待同步业务数据及同步配置参数,并按照设定的同步协议报文格式将其封装,形成数据同步报文,在数据同步进程102中生成各自的同步数据包,并根据每一个业务类型对应的待跨群同步的目标群标识发送给其对应的不同的目标服务器群,实现通用的多种业务类型的数据跨群同步。It should be noted that after each
本实施例一提供的一种数据同步管理系统,包括至少两个服务器群,各服务器群中包括至少一个业务服务器以及与各业务服务器关联的数据同步进程,针对每个服务器群中的业务服务器,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程,所述数据同步进程,用于根据接收的数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将待同步业务数据传递到目标服务器群的目标业务服务器上。集成在服务器群中的各业务服务器均可以在具备数据跨群同步的需求时,通过服务器群内的数据同步进程进行业务数据到其他待同步服务器群上的有效同步。本技术方案作为一种通用的数据同步管理系统,在实现数据同步时无需考虑业务服务器上需要数据同步的为何种业务应用,无论哪个业务服务器在业务运行中存在了跨群同步需求,均可以直接通过所关联的数据同步进程通用化的实现数据同步报文的转发,可同时支持多种业务系统的数据同步。更好的保证了大规模互联网架构下应用业务数据同步的灵活性和有效性,也更好的体现了大规模互联网架构下的数据同步通用性。A data synchronization management system provided in Embodiment 1 includes at least two server groups, each server group includes at least one business server and a data synchronization process associated with each business server, and for each business server in the server group, It is used to generate a data synchronization message containing the business data to be synchronized when there is a need for data synchronization across groups, and send it to the associated data synchronization process. The data synchronization process is used to determine the data to be synchronized according to the received data synchronization message. A target server group for cross-group synchronization, and transmits the service data to be synchronized to the target service server of the target server group through the generated synchronization data packet. Each business server integrated in the server group can effectively synchronize business data to other server groups to be synchronized through the data synchronization process in the server group when there is a need for cross-group synchronization of data. As a general-purpose data synchronization management system, this technical solution does not need to consider what kind of business application requires data synchronization on the business server when realizing data synchronization. No matter which business server has a cross-group synchronization requirement during business operation, it can directly Through the generalization of the associated data synchronization process, the forwarding of the data synchronization message can be realized, and the data synchronization of various business systems can be supported at the same time. It better guarantees the flexibility and effectiveness of application business data synchronization under the large-scale Internet architecture, and better reflects the versatility of data synchronization under the large-scale Internet architecture.
作为本实施例的第一可选实施例,在上述实施例的基础上,本第一可选实施例可以优化业务服务器具体用于执行下述步骤:As a first optional embodiment of this embodiment, on the basis of the foregoing embodiments, this first optional embodiment may optimize the service server to specifically perform the following steps:
a1)检测到业务服务运行中存在跨群同步的数据时,确定具备数据跨群同步需求。a1) When it is detected that there is cross-group synchronization data in the operation of the business service, it is determined that there is a requirement for data cross-group synchronization.
在各个服务器群10中,包括一个数据同步进程102以及与数据同步进程102存在关联的至少一个业务服务器101,业务服务器101接收来自不同客户端的业务服务请求。Each
可选的,所述业务服务请求可以是在本服务器群10中,利用不同业务服务器101与数据同步进程102之间的数据交互,即目标服务器群可以是本服务器群10,目标业务服务器可以是本服务器群10内的另一业务服务器101。能够在同一服务器群10内实现数据同步。Optionally, the business service request may be in the
可选的,所述业务服务请求可以是跨服务器群的,服务器群10中的业务服务器101检测到业务服务运行中的数据需要进行跨群同步,即跨越服务器群进行数据同步的业务请求,确定该业务具备数据跨群同步需求。Optionally, the business service request may be cross-server group, and the
b1)获得所述业务服务的业务类型、待跨群同步的目标群标识以及待同步业务数据,并获取相对所述业务服务的同步配置参数。b1) Obtain the business type of the business service, the target group identifier to be synchronized across groups, and the business data to be synchronized, and obtain synchronization configuration parameters relative to the business service.
所述业务类型是客户端需要进行数据跨群同步的业务的类型,例如可以是消息传输、视频通话或访问申请等业务类型。所述待跨群同步的目标群标识,为需要进行跨群数据同步的目标服务器群的身份标识,每一个服务器群10都有独属于该服务器群的身份标识,该身份标识唯一且确定。所述相对所述业务服务的同步配置参数,可以用来配置同步数据,例如对同步数据的顺序、属性或大小按预设的配置参数进行处理。The service type is a service type for which the client needs to synchronize data across groups, for example, it may be a service type such as message transmission, video call, or access application. The target group identifier to be synchronized across groups is the identity of the target server group that needs to perform cross-group data synchronization. Each
具体的,业务服务器101确定数据跨群同步需求后,开始获取待同步业务的具体信息,例如根据接受的业务服务请求获得所述业务服务的业务类型、待跨群同步的目标群标识以及待同步业务数据,并获取相对所述业务服务的同步配置参数。Specifically, after the
c1)按照设定的同步协议报文格式封装所述业务类型、目标群标识、待同步业务数据以及所述同步配置参数,形成所述数据同步报文,并发送至关联的数据同步进程。c1) Encapsulate the service type, target group identifier, service data to be synchronized and the synchronization configuration parameters according to the set synchronization protocol message format to form the data synchronization message and send it to the associated data synchronization process.
所述数据同步报文包括业务类型、目标群标识、待同步业务数据以及同步配置参数。其中,形成数据同步报文的同步协议报文格式可以是GRE封装协议、TCP/UDP协议、IP协议或LCP协议数据报文等,本实施例对封装数据报文的同步协议格式不做限定。所述数据同步报文集成了上述各数据信息,将零散的信息封装至一个数据同步报文中。业务服务器101将封装后的数据同步报文发送至与其关联的数据同步进程102。The data synchronization message includes service type, target group identifier, service data to be synchronized and synchronization configuration parameters. Wherein, the format of the synchronization protocol message forming the data synchronization message may be GRE encapsulation protocol, TCP/UDP protocol, IP protocol or LCP protocol data message, etc., and this embodiment does not limit the synchronization protocol format of the encapsulated data message. The data synchronization message integrates the above data information, and encapsulates scattered information into a data synchronization message. The
本发明可选实施例提供的一种业务服务器,检测到业务服务运行中存在跨群同步的数据时,确定具备数据跨群同步需求,获得所述业务服务的业务类型、待跨群同步的目标群标识以及待同步业务数据,并获取相对所述业务服务的同步配置参数,按照设定的同步协议报文格式封装上述内容,形成数据同步报文,并发送至关联的数据同步进程。本技术方案将待同步业务的业务类型、待跨群同步的目标群标识、待同步业务数据以及相对所述业务服务的同步配置参数封装成数据同步报文的形式,在进行数据同步时直接根据报文内容识别并转发至目标服务器群及目标业务服务器,无需根据特定业务定制数据同步机制,为大规模互联网架构下的通用化数据同步提供了逻辑执行的基础,保证了应用业务数据同步的灵活性。A business server provided by an optional embodiment of the present invention detects that there is cross-group synchronization data in the operation of the business service, determines that it has the data cross-group synchronization requirement, and obtains the business type of the business service and the target to be cross-group synchronization The group ID and the business data to be synchronized are obtained, and the synchronization configuration parameters corresponding to the business service are obtained, and the above content is encapsulated according to the set synchronization protocol message format to form a data synchronization message and sent to the associated data synchronization process. This technical solution encapsulates the business type of the business to be synchronized, the target group identifier to be synchronized across groups, the business data to be synchronized, and the synchronization configuration parameters relative to the business service into the form of a data synchronization message. The content of the message is identified and forwarded to the target server group and the target business server, without customizing the data synchronization mechanism according to the specific business, providing a logic execution basis for generalized data synchronization under the large-scale Internet architecture, and ensuring the flexibility of application business data synchronization sex.
作为本实施例的第二可选实施例,在上述实施例的基础上,图2给出了本实施例所提供的一种数据同步管理系统的另一种结构框图,具体的,本第二可选实施例可以对数据同步进程102进行优化,如图2所示,数据同步进程102包括:第一子进程1021、第二子进程1022、第三子进程1023和第四子进程1024。As a second optional embodiment of this embodiment, on the basis of the above embodiments, Fig. 2 shows another structural block diagram of a data synchronization management system provided by this embodiment, specifically, this second An optional embodiment may optimize the
其中,第一子进程1021,用于对接收的数据同步报文进行解析,获得包含的业务类型、目标群标识、待同步业务数据以及所述同步配置参数,所述同步配置参数中包括同步优先级及压缩设置参数。Among them, the first sub-process 1021 is used to analyze the received data synchronization message, and obtain the included service type, target group identifier, service data to be synchronized and the synchronization configuration parameters, the synchronization configuration parameters include synchronization priority level and compression settings parameters.
在数据同步进程102中,首先对来自于业务服务器101的数据同步报文进行解析,获取解析后的业务类型、目标群标识、待同步业务数据以及同步配置参数。其中,该数据同步报文报文是按标同步协议完成的数据同步,读取待同步业务数据binlog日志,并扫描配置的binlog存储路径,解析该同步协议数据并提取相关字段信息。如果有新的未完成同步数据文件,则根据同步协议解析该文件内容。所述同步配置参数中包括同步优先级及压缩设置参数,基于所述同步优先级,在业务服务器101的中待同步业务排序中,优先级越高的数据同步业务,能够越快且越准确地将业务数据同步至目标业务服务器。所述压缩设置参数,可以包括是否压缩、压缩格式、压缩方式或压缩率等参数,能够将所述待同步业务数据按所述压缩设置参数压缩成需要的目标业务数据。具体压缩设置参数本实施例不做限定。In the
具体的,该数据同步报文按标准同步协议进行数据同步传输,在数据同步报文已经传输至数据同步进程102后,在第一子进程1021内将数据同步报文解析,获得被封装为数据同步报文的业务类型、目标群标识、待同步业务数据以及同步配置参数,方便在后续进程中实现对上述信息的有效利用。Specifically, the data synchronization message is transmitted synchronously according to the standard synchronization protocol. After the data synchronization message has been transmitted to the
可选的,数据同步进程102在接收数据同步报文并将其解析后,将该数据同步报文持久化保存,可以有效防止因数据丢失而导致的数据同步失败。数据持久化保存后,将数据同步进程102已接受数据同步报文情况反馈给发送该数据同步报文的关联业务服务器101。Optionally, after receiving and parsing the data synchronization message, the
第二子进程1022,用于基于所述目标群标识确定待跨群同步的目标服务器群,并通过查找预设的服务器群配置文件确定所述目标服务器群的目标群地址。The
其中,所述预设的服务器群配置文件保存在各所述服务器群10中,所述服务器群配置文件包括:各所述服务器群10的群标识、群地址,以及各所述服务器群10所包含业务服务器101的业务类型及服务器地址。Wherein, the preset server group configuration file is stored in each of the
所述目标服务器群的目标群标识唯一且确定,根据唯一的目标群标识确定待跨群同步的目标服务器群并根据目标群标识在服务器群配置文件中查找并确定目标群地址。The target group identifier of the target server group is unique and definite, and the target server group to be synchronized across groups is determined according to the unique target group identifier, and the address of the target group is searched and determined in the server group configuration file according to the target group identifier.
具体的,解析后的数据同步报文中包括所述目标群标识,根据所述目标群标识可以精准的确定该业务服务的目标服务器群,在各个服务器群10中,都包括各自的服务器群配置文件,根据所述目标群标识,利用所述服务器群配置文件查找出目标群地址,为后续子进程提供逻辑位置基础。Specifically, the parsed data synchronization message includes the target group identifier, and the target server group for the business service can be accurately determined according to the target group identifier, and each
第三子进程1023,用于基于所述同步优先级确定当前满足所述业务服务的同步条件后,根据所述业务类型、压缩设置参数及所述待同步业务数据,形成同步数据包。The third sub-process 1023 is configured to form a synchronization data packet according to the service type, compression setting parameters and the service data to be synchronized after determining that the synchronization condition of the business service is currently satisfied based on the synchronization priority.
基于所述同步优先级确定当前业务的待同步数据是否为第一优先级同步业务数据,如果当前待同步业务优先级排序不是第一位,将第一优先级的待同步业务进行数据打包。如果当前待同步业务优先级排序为第一位,则将待同步业务的业务类型、压缩设置参数及待同步业务数据,形成同步数据包。Based on the synchronization priority, it is determined whether the data to be synchronized of the current service is the first-priority synchronization service data, and if the priority of the current service to be synchronized is not the first, the data is packaged for the first-priority service to be synchronized. If the current priority of the service to be synchronized is the first, the service type of the service to be synchronized, the compression setting parameters and the service data to be synchronized are formed into a synchronization data packet.
第四子进程1024,用于按照所述目标群地址,将所述同步数据包发送至所述目标服务器群。The
基于从服务器群配置文件中获取到的目标群地址,将所述同步数据包按唯一确定的IP地址从服务器群10发送至目标服务器群中。Based on the target group address obtained from the server group configuration file, the synchronization data packet is sent from the
在上述实施例的基础上,本第二可选实施例可以优化第三子进程1023用于执行下述步骤:On the basis of the foregoing embodiments, in this second optional embodiment, the
a2)按照同步优先级将所述业务服务添加至同步缓存表。a2) Add the business service to the synchronization cache table according to the synchronization priority.
所述同步缓存表可以同时存储多个待同步业务服务,提供静态表缓存。所述同步缓存表中包含多个待同步业务,并按同步优先级将各待同步业务按优先级从高到低的顺序排序,优先级高的待同步业务在所述同步缓存表中排名第一位,在调用待同步业务数据时,所述优先级排名第一位的待同步业务数据首先被调用至同步进程。The synchronization cache table can simultaneously store multiple business services to be synchronized and provide static table cache. The synchronization cache table contains a plurality of services to be synchronized, and according to the synchronization priority, the services to be synchronized are sorted in order of priority from high to low, and the services to be synchronized with high priority are ranked first in the synchronization cache table One, when invoking the service data to be synchronized, the service data to be synchronized with the first priority is called to the synchronization process first.
b2)检测到从所述同步缓存表调出所述业务服务时,确定满足所述业务服务的同步条件。b2) When it is detected that the business service is called out from the synchronization cache table, it is determined that the synchronization condition of the business service is met.
所述同步条件指的是,确定从所述同步缓存表中调出的业务服务具有跨群同步需求并在所述同步缓存表中优先级排名位于实时第一位。能够满足业务服务的同步条件,可以进行下一步的同步进程。The synchronization condition refers to determining that the business service called out from the synchronization cache table has a cross-group synchronization requirement and ranks first in real time in the priority ranking in the synchronization cache table. The synchronization condition of the business service can be met, and the next step of the synchronization process can be carried out.
c2)如果所述压缩设置参数为进行数据压缩,则对所述待同步业务数据进行压缩处理,获得目标业务数据,否则,将所述待同步数据作为目标业务数据。c2) If the compression setting parameter is data compression, compress the service data to be synchronized to obtain target service data; otherwise, use the data to be synchronized as target service data.
确定所属压缩设置参数中是否对待同步业务数据进行压缩,若需要进行数据压缩,则按预设的压缩设置参数中的其他压缩参数对所述待同步业务数据进行相应的数据压缩处理,获得目标业务数据。Determine whether to compress the business data to be synchronized in the corresponding compression setting parameters, if data compression is required, perform corresponding data compression processing on the business data to be synchronized according to other compression parameters in the preset compression setting parameters, and obtain the target business data.
具体的,如果所述压缩设置参数设定为对数据进行压缩,所述待同步业务数据可以继续按照压缩设置参数中的其他压缩参数进行压缩,例如可以是压缩格式、压缩方式或压缩率等,上述压缩设置参数压缩待同步业务数据后,根据压缩结果获得目标业务数据;如果所述压缩设置参数设定为不对所述待同步业务数据进行压缩,则该待同步业务数据本身就是目标业务数据。Specifically, if the compression setting parameter is set to compress data, the service data to be synchronized can continue to be compressed according to other compression parameters in the compression setting parameter, such as compression format, compression method or compression rate, etc. After the compression setting parameter compresses the service data to be synchronized, the target service data is obtained according to the compression result; if the compression setting parameter is set to not compress the service data to be synchronized, then the service data to be synchronized itself is the target service data.
d2)按照设定格式封装所述业务类型及所述目标业务数据,形成同步数据包。d2) encapsulating the service type and the target service data according to the set format to form a synchronous data packet.
所述设定封装格式与上述实施例中c1步骤内所述封装格式相同,本实施例在此不做过多赘述。所述同步数据包的生成操作可以由数据同步进程102在确定同步条件被满足后执行。具体的,第一子进程1021获得数据同步报文并进行解析,获得包含的业务类型、目标群标识、待同步业务数据以及所述同步配置参数,确定同步条件满足,即该待同步业务优先级为第一位时,将解析数据同步报文后获得的业务类型以及处理后的目标业务数据按设定格式封装成同步数据包。The set encapsulation format is the same as the encapsulation format in step c1 in the above-mentioned embodiment, and will not be described in detail here in this embodiment. The operation of generating the synchronization data packet may be performed by the
所述目标业务数据可以是压缩过的待同步业务数据,也可以是待同步业务数据本身,将所述目标业务数据与业务类型按设定格式封装,形成同步数据包。The target service data may be compressed service data to be synchronized, or the service data to be synchronized itself, and the target service data and service type are encapsulated in a set format to form a synchronization data packet.
本发明可选实施例提供的一种数据同步进程,包括第一子进程,用于对接收的数据同步报文进行解析,获得包含的业务类型、目标群标识、待同步业务数据以及同步配置参数;第二子进程,用于基于目标群标识确定待跨群同步的目标服务器群,并通过查找预设的服务器群配置文件确定目标服务器群的目标群地址;第三子进程,用于基于同步优先级确定当前满足业务服务的同步条件后,根据业务类型、压缩设置参数及待同步业务数据,形成同步数据包;第四子进程,用于按照目标群地址,将同步数据包发送至目标服务器群。本发明技术方案确定了正确的待同步业务数据并生成同步数据包,根据该业务对应的目标服务器群标识和地址发送该同步数据包。区别与现有技术的同步数据包,可以通过目标群标识与地址直接转发至目标服务器群,有效确认目标业务数据的准确性与数据跨群传输的高效性。A data synchronization process provided by an optional embodiment of the present invention includes a first sub-process for parsing a received data synchronization message to obtain the included service type, target group identifier, service data to be synchronized and synchronization configuration parameters ; The second sub-process is used to determine the target server group to be synchronized across groups based on the target group identifier, and determine the target group address of the target server group by searching the preset server group configuration file; the third sub-process is used to synchronize based on After the priority is determined to meet the synchronization conditions of the business service, a synchronization data packet is formed according to the business type, compression setting parameters and business data to be synchronized; the fourth sub-process is used to send the synchronization data packet to the target server according to the target group address group. The technical scheme of the invention determines the correct service data to be synchronized and generates a synchronization data packet, and sends the synchronization data packet according to the identification and address of the target server group corresponding to the service. The synchronization data packet, which is different from the prior art, can be directly forwarded to the target server group through the target group identifier and address, effectively confirming the accuracy of the target business data and the efficiency of data cross-group transmission.
作为本实施例一的第三可选实施例,在上述实施例的基础上,如图2所示,数据同步进程102还包括:第五子进程1025和第六子进程1026。As a third optional embodiment of the first embodiment, on the basis of the above embodiments, as shown in FIG. 2 , the
第五子进程1025,用于持久化保存从数据同步报文102中获得的待同步业务数据,并向业务服务器101反馈报文响应结果;The fifth sub-process 1025 is used to persistently save the business data to be synchronized obtained from the
所述持久化保存从所述数据同步报文中获得的待同步业务数据,可以有效防止数据在同步过程中丢失,即把数据保存到可永久保存的存储设备中(如磁盘)。持久化的主要应用是将内存中的对象存储在数据库中,或者存储在磁盘文件中、XML数据文件中等等。持久化是将程序数据在持久状态和瞬时状态间转换的机制。在待同步业务数据已同步至目标业务服务器后,所述持久化保存的待同步业务数据即可删除。The persistent saving of the service data to be synchronized obtained from the data synchronization message can effectively prevent data loss during the synchronization process, that is, save the data in a storage device (such as a disk) that can be stored permanently. The main application of persistence is to store objects in memory in a database, or in a disk file, in an XML data file, and so on. Persistence is the mechanism for converting program data between persistent and transient states. After the service data to be synchronized has been synchronized to the target service server, the persistently stored service data to be synchronized can be deleted.
具体的,在数据同步进程102中,第一子进程1021解析数据同步报文并获取同步数据包文中的待同步业务数据,为防止在数据同步的进程中,出现业务服务器101发生故障或服务器群10发生故障,导致数据丢失而无法完成数据同步服务的情况,将所述待同步业务数据持久化保存,并向业务服务器101反馈所述数据同步报文在数据同步进程102中的响应结果,完成数据同步的小循环。Specifically, in the
第六子进程1026,用于在向所述目标服务器群发送同步数据包后,删除持久化保存的所述待同步业务数据,并当接收到目标服务器群反馈的同步完成消息后,向业务服务器101反馈数据同步结果。The sixth sub-process 1026 is configured to delete the persistently stored service data to be synchronized after sending the synchronization data packet to the target server group, and send a message to the service server after receiving the synchronization completion message fed back by the target server group. 101 Feedback the data synchronization result.
具体的,所述向所述目标服务器群发送同步数据包后,删除持久化保存的所述待同步业务数据,该进程发生在发送同步数据包端的服务器群10中,该服务器群中数据同步进程102的第五子进程1025,将所述待同步业务数据持久化保存,在第六子进程1026中,该待同步业务数据已成功发送至目标服务器群,数据不会在该数据同步子进程中出现数据丢失的情况,即可从原服务器群10中删除。同时,在接收到目标服务器群反馈的已完成数据同步消息后,向原业务服务器101反馈数据同步结果,完成集群内消息循环,确定同步已完成。Specifically, after the synchronization data packet is sent to the target server group, the persistently stored service data to be synchronized is deleted. This process occurs in the
本发明可选实施例提供的一种数据同步进程,包括第五子进程,用于持久化保存从所述数据同步报文中获得的待同步业务数据,并向所述业务服务器反馈报文响应结果;第六子进程,用于在向所述目标服务器群发送同步数据包后,删除持久化保存的所述待同步业务数据,并当接收到目标服务器群反馈的同步完成消息后,向所述业务服务器反馈数据同步结果。本发明技术方案在推进数据同步进程时,保存待同步业务数据信息,有效防止数据在未完成同步时丢失,在阶段性完成数据同步后,清理待同步业务数据并反馈同步完成消息,减少无用消息占用内存,为后续其他业务的数据同步提供通道无干扰基础。有效提高了数据同步的安全性,体现了本数据同步管理系统的高效性。A data synchronization process provided by an optional embodiment of the present invention includes a fifth subprocess for persistently storing the service data to be synchronized obtained from the data synchronization message, and feeding back a message response to the service server Result; the sixth sub-process is used to delete the persistently stored business data to be synchronized after sending the synchronization data packet to the target server group, and after receiving the synchronization completion message fed back by the target server group, send a message to the target server group The above-mentioned service server feeds back the data synchronization result. The technical scheme of the present invention saves the business data information to be synchronized when advancing the data synchronization process, effectively prevents data loss when the synchronization is not completed, and clears the business data to be synchronized and feeds back the synchronization completion message after the data synchronization is completed in stages, reducing useless messages Occupies memory, providing channel interference-free basis for subsequent data synchronization of other services. The security of data synchronization is effectively improved, and the efficiency of the data synchronization management system is reflected.
作为本实施例一的第四可选实施例,在上述实施例的基础上,如图2所示,数据同步进程102还包括第七子进程1027。As a fourth optional embodiment of the first embodiment, on the basis of the foregoing embodiments, as shown in FIG. 2 , the
第七子进程1027,用于接收其他服务器群10发送的同步数据包,根据所述同步数据包确定目标业务服务器,并将同步数据包中的目标业务数据同步到所述目标服务器上。The seventh sub-process 1027 is configured to receive a synchronization data packet sent by
所述同步数据包包括业务类型及目标业务数据,根据所述业务类型确定与其相匹配的目标业务服务器。The synchronization data packet includes service type and target service data, and the matching target service server is determined according to the service type.
在上述优化的基础上,第七子进程1027具体可用于执行下述步骤:On the basis of the above optimization, the
a3)接收其他任一服务器群10发送的同步数据包并解析,获得业务类型及目标业务数据。a3) Receive and analyze the synchronization data packet sent by any
服务器群10作为目标服务器群时,接收来自其他任一服务器群发送的同步数据包。将同步数据包持久化保存并向发送同步数据包的服务器群10反馈数据同步结果后,解析该同步数据包,获得所述业务类型及目标业务数据。When the
b3)查找预设的服务器群配置文件,确定所述业务类型对应的业务服务器记为目标业务服务器,并获得所述目标业务服务器的目标服务器地址。b3) Search the preset server group configuration file, determine that the service server corresponding to the service type is recorded as the target service server, and obtain the target server address of the target service server.
每个服务器群10中都配置有预设的服务器群配置文件,所述服务器群配置文件包括:各所述服务器群10的群标识、群地址,以及各所述服务器群10所包含业务服务器101的业务类型及服务器地址。根据所述服务器群配置文件中所述业务类型与服务器地址之间的关联关系,查找与该业务类型相匹配的目标业务服务器,并获取该目标业务服务器地址。Each
c3)按照所述目标服务器地址,将所述目标业务数据发送给所述目标业务服务器,以使所述目标业务数据同步到所述目标业务服务器上。c3) Sending the target service data to the target service server according to the address of the target server, so that the target service data is synchronized to the target service server.
所述目标业务服务器地址唯一,按与业务类型相匹配的目标业务服务器地址向该目标业务服务器发送目标业务数据,完成数据跨群同步。目标业务服务器接收到所述目标业务数据后,向其所在的服务器群10反馈数据同步结果,所述服务器群10接收到反馈结果后,将该反馈结果发送至发起该数据同步服务的服务器群10,所述发起该数据同步服务的服务器群10接收到所述数据同步结果反馈后,将该反馈结果发送至与该业务对应的业务服务器101。The address of the target service server is unique, and the target service data is sent to the target service server according to the address of the target service server that matches the service type to complete data cross-group synchronization. After the target business server receives the target business data, it feeds back the data synchronization result to the
本发明可选实施例提供的一种数据同步进程,包括第七子进程,用于接收其他服务器群发送的同步数据包,根据所述同步数据包确定目标业务服务器,并将同步数据包中的目标业务数据同步到所述目标服务器上。本技术方案根据业务类型精准查询到目标业务服务器并完成数据的跨群同步,无需根据业务类型定制数据同步机制,实现了数据同步的通用性、灵活性与高效性。A data synchronization process provided by an optional embodiment of the present invention includes a seventh sub-process for receiving synchronization data packets sent by other server groups, determining the target service server according to the synchronization data packets, and synchronizing the data in the synchronization data packets The target service data is synchronized to the target server. This technical solution accurately queries the target business server according to the business type and completes the cross-group synchronization of data, without customizing the data synchronization mechanism according to the business type, and realizes the versatility, flexibility and efficiency of data synchronization.
此外,本实施例还优化第七子进程可用于执行下述步骤:In addition, this embodiment also optimizes that the seventh subprocess can be used to perform the following steps:
对所接收同步数据包中的目标业务数据进行持久化保存,防止所述目标数据业务在未同步至目标业务服务器或在同步过程中发生数据丢失而无法找回。提升了数据同步系统的安全性。The target service data in the received synchronization data packet is persistently saved to prevent the target data service from being lost and unable to be retrieved if it is not synchronized to the target service server or during the synchronization process. Improved the security of the data synchronization system.
当接收到目标业务服务器相对所述目标业务数据反馈的同步完成消息时,删除持久化保存的所述目标业务数据,并向发送所述同步数据包的服务器群反馈同步完成消息。有效减少了数据同步系统中内存的占用,为后续的业务同步提供充足的同步空间,提升数据同步系统的同步效率。When a synchronization completion message fed back by the target service server relative to the target service data is received, the persistently stored target service data is deleted, and a synchronization completion message is fed back to the server group that sent the synchronization data packet. It effectively reduces the memory usage in the data synchronization system, provides sufficient synchronization space for subsequent business synchronization, and improves the synchronization efficiency of the data synchronization system.
实施例二Embodiment two
图3给出了本申请实施例二提供的一种数据同步管理方法的流程示意图,该方法适用于对跨区域互联网架构下不同业务应用进行数据同步管理的情况,具体可以由本申请实施例一所提供的数据同步管理系统所包括服务器群中的业务服务器和数据同步进程来执行。Figure 3 shows a schematic flow diagram of a data synchronization management method provided in Embodiment 2 of the present application. This method is applicable to the situation of performing data synchronization management on different business applications under a cross-regional Internet architecture. The provided data synchronization management system includes business servers and data synchronization processes in the server group to execute.
如图3所示,本申请实施例二提供的一种数据同步管理方法,具体可以包括如下步骤:As shown in Figure 3, a data synchronization management method provided in Embodiment 2 of the present application may specifically include the following steps:
步骤301、针对每个服务器群,所包含的业务服务器在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程;
所述服务器群即服务器集群,将至少两个服务器集中起来支持不同类型的业务运行。是一种大规模的互联网框架,可以跨区域进行业务服务,实现业务多区域同步,并有效避免因某服务器故障而破坏群集化资源的运行。The server group is a server cluster, which gathers at least two servers to support different types of business operations. It is a large-scale Internet framework that can provide business services across regions, realize multi-region synchronization of business, and effectively avoid the disruption of the operation of clustered resources due to a server failure.
所述业务服务器,用于在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程。服务器群中的至少一个业务服务器,是用来运行业务的服务器,设置业务服务器对待处理业务进行响应,不同的业务服务器可以是对不同业务的响应,可以提供一个应用于业务匹配的相应执行处理。The service server is configured to generate a data synchronization message containing the service data to be synchronized and send it to an associated data synchronization process when there is a requirement for data synchronization across groups. At least one business server in the server group is a server for running business. The business server is set to respond to the business to be processed. Different business servers can respond to different businesses and provide a corresponding execution process for business matching.
示例性的,当业务参与者存在某种需求时,可以通过客户端生成该类需求的业务请求,业务服务器可以在接收到业务请求后,对业务进行与业务请求相匹配的处理,例如客户端产生即时通信、视频播放或线上会议等不同业务类型的请求时,服务器群中提供不同的业务服务器分别对上述各个不同业务进行相应的处理。Exemplarily, when a business participant has a certain demand, the client can generate a business request for this type of demand, and the business server can process the business according to the business request after receiving the business request. For example, the client When requests for different types of services such as instant messaging, video playback, or online conferences are generated, different service servers are provided in the server group to process the above-mentioned different services respectively.
所述数据跨群同步需求,是客户端业务运行中产生的一种跨区域或跨多区域的数据同步请求,业务服务器在对客户端进行业务响应的时候,业务本身具备或业务服务器查询到客户端业务具备跨区域同步需求(数据跨群同步需求),生成包含待同步业务数据的数据同步报文。所述待同步业务数据可以是业务Binlog数据,该业务Binlog数据是一种二进制日志文件,用于记录对Mysql的数据更新或者潜在发生更新的SQL语句,当有数据写入到数据库时,还会同时把更新的SQL语句写入到对应的Binlog文件里,在使用Binlog前,首先需要确认是否开启了Binlog。The data cross-group synchronization requirement is a cross-region or cross-multi-region data synchronization request generated during the operation of the client business. When the business server responds to the client, the business itself has or the business server queries the client. The terminal business has cross-regional synchronization requirements (data cross-group synchronization requirements), and generates data synchronization messages containing business data to be synchronized. The business data to be synchronized can be business Binlog data, and the business Binlog data is a binary log file used to record data updates to Mysql or potentially updated SQL statements. When data is written into the database, it will also At the same time, write the updated SQL statement into the corresponding Binlog file. Before using Binlog, you need to confirm whether Binlog is enabled.
所述数据同步报文包括待同步业务数据,将待同步业务数据封装成数据同步报文的格式,由业务服务器发送给数据同步进程。本实施例中,所述数据同步报文的生成操作可以由业务服务器在接收到数据跨群同步需求后执行。具体的,业务服务器可以获取到待同步业务数据,同时还可以确定出该待同步业务数据的业务类型,也可以确定出想要将待同步业务数据同步到哪个服务器群,由此可以获得到所期望同步到服务器群的群地址信息。业务服务器可以对上述获取的待同步数据、业务类型以及所期望同步到服务器群的群地址信息进行封装,最终形成数据同步报文。并将该数据同步报文发送至数据同步进程。The data synchronization message includes service data to be synchronized, and the service data to be synchronized is encapsulated into a format of a data synchronization message, which is sent to the data synchronization process by the service server. In this embodiment, the operation of generating the data synchronization message may be performed by the service server after receiving a data cross-group synchronization requirement. Specifically, the business server can obtain the business data to be synchronized, and can also determine the business type of the business data to be synchronized, and can also determine which server group the business data to be synchronized to be synchronized to, thereby obtaining all The group address information that is expected to be synchronized to the server group. The service server can encapsulate the acquired data to be synchronized, the service type and the group address information expected to be synchronized to the server group, and finally form a data synchronization message. And send the data synchronization message to the data synchronization process.
步骤302、所述数据同步进程根据接收的所述数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将所述待同步业务数据传递到所述目标服务器群的目标业务服务器上。
在本实施例中,一个服务器群中创建有一个数据同步进程,即一个服务器群对应存在一个数据同步进程。该数据同步进程可以创建于服务器群中包括的任一台服务器上,该数据同步进程可以与服务器群中的至少一个业务服务器建立通信连接。In this embodiment, one data synchronization process is created in one server group, that is, there is one data synchronization process corresponding to one server group. The data synchronization process can be created on any server included in the server group, and the data synchronization process can establish a communication connection with at least one service server in the server group.
在本实施例中,与业务服务器处于同一服务器群中的数据同步进程可以接收到该数据同步报文,并可以对该数据同步报文进行分析,确定出业务服务器待跨群同步的目标服务器群。在本实施例中,所述目标服务器群是数据同步管理系统中的另一服务器群,该目标服务器群中同样可以包含至少一个业务服务器以及创建于服务器群中任一服务器上的数据同步进程。In this embodiment, the data synchronization process in the same server group as the business server can receive the data synchronization message, and can analyze the data synchronization message to determine the target server group for the business server to be synchronized across groups . In this embodiment, the target server group is another server group in the data synchronization management system, and the target server group may also include at least one business server and a data synchronization process created on any server in the server group.
接上述描述,该数据同步进程可以在确定出目标服务器群之后,再根据数据同步报文中包含的报文内容生成同步数据包,并将该同步数据包发送给目标服务器群上的数据同步进程。目标业务服务器可以由目标服务器群中的数据同步进程根据接收的同步数据包,从目标服务器群包含的多个业务服务器中确定出。Following the above description, after the target server group is determined, the data synchronization process can generate a synchronization data packet according to the message content contained in the data synchronization message, and send the synchronization data packet to the data synchronization process on the target server group . The target service server can be determined from multiple service servers contained in the target server group by the data synchronization process in the target server group according to the received synchronization data packet.
具体的,该目标服务器群上的数据同步进程可以获得同步数据包中的业务类型,然后从众多业务服务器中选择与该业务类型相匹配的业务服务器作为目标业务服务器;最终,目标服务器群上的数据同步进程可以将同步数据包中的待同步业务数据同步到目标业务服务器上。Specifically, the data synchronization process on the target server group can obtain the service type in the synchronization data packet, and then select the service server matching the service type from many service servers as the target service server; finally, the target server group The data synchronization process can synchronize the service data to be synchronized in the synchronization data package to the target service server.
本申请实施例公开了一种数据同步管理方法,针对每个服务器群,所包含的业务服务器在具备数据跨群同步需求时,生成包含待同步业务数据的数据同步报文,并发送至关联的数据同步进程,所述数据同步进程根据接收的所述数据同步报文,确定待跨群同步的目标服务器群,并通过生成的同步数据包将所述待同步业务数据传递到所述目标服务器群的目标业务服务器上。上述技术方案,集成在服务器群中的各业务服务器均可以在具备数据跨群同步的需求时,通过服务器群内的数据同步进程进行业务数据到其他待同步服务器群上的有效同步。本技术方案在实现数据同步时无需考虑业务服务器上需要数据同步的为何种业务应用,只要存在数据同步需求,均可以直接通过所关联数据同步进程通用化的实现数据同步报文的转发。更好的保证了大规模互联网架构下应用业务数据同步的灵活性和有效性,也更好的体现了大规模互联网架构下的数据同步通用性。The embodiment of the present application discloses a data synchronization management method. For each server group, when the included business server has the requirement of cross-group data synchronization, it generates a data synchronization message containing the business data to be synchronized and sends it to the associated A data synchronization process, wherein the data synchronization process determines the target server group to be synchronized across groups according to the received data synchronization message, and transmits the business data to be synchronized to the target server group through the generated synchronization data packet on the target business server. With the above technical solution, each business server integrated in the server group can effectively synchronize business data to other server groups to be synchronized through the data synchronization process in the server group when there is a need for cross-group synchronization of data. This technical solution does not need to consider what kind of business application needs data synchronization on the business server when realizing data synchronization. As long as there is a need for data synchronization, it can directly realize the forwarding of data synchronization messages through the generalization of the associated data synchronization process. It better guarantees the flexibility and effectiveness of application business data synchronization under the large-scale Internet architecture, and better reflects the versatility of data synchronization under the large-scale Internet architecture.
为便于更好的理解上述实施例所提供数据同步管理系统,本实施例下述给出一个应用示例来说明的数据同步管理方法的具体实现。图4给出了本申请实施例所提供一种数据同步管理方法的示例流程图。In order to facilitate a better understanding of the data synchronization management system provided in the above embodiment, an application example is given below in this embodiment to illustrate the specific implementation of the data synchronization management method. FIG. 4 shows an example flow chart of a data synchronization management method provided by an embodiment of the present application.
如图4所示,以数据同步管理系统下的两个服务器群之间的数据同步为例,每个服务器群中包括一个数据同步进程和至少一个业务服务器,本示例中将其中一个服务器群作为具备跨群同步数据的源服务器群,将另一个服务器群作为对源服务器群上业务数据进行同步的目标服务器群。As shown in Figure 4, taking the data synchronization between two server groups under the data synchronization management system as an example, each server group includes a data synchronization process and at least one business server. In this example, one of the server groups is used as A source server group with cross-group synchronization data, and another server group is used as a target server group for synchronizing business data on the source server group.
具体的,该数据同步管理方法的实现包括下述步骤:Specifically, the implementation of the data synchronization management method includes the following steps:
S1、将业务类型、目标群标识、待同步业务数据以及同步配置参数封装成数据同步报文。S1. Encapsulate the service type, target group identifier, service data to be synchronized, and synchronization configuration parameters into a data synchronization message.
数据同步系统中包含至少两个服务器群,所述各服务器群中包括至少一个业务服务器以及与各所述业务服务器关联的数据同步进程,针对每个服务器群中的业务服务器,检测到业务服务运行中存在跨群同步的数据时,确定具备数据跨群同步需求,并获得所述业务服务的业务类型、待跨群同步的目标群标识以及待同步业务数据,并获取相对所述业务服务的同步配置参数,按照设定的同步协议报文格式封装所述业务类型、目标群标识、待同步业务数据以及所述同步配置参数,形成所述数据同步报文。所述同步配置参数中包括同步优先级与压缩设置参数。The data synchronization system includes at least two server groups, each server group includes at least one business server and a data synchronization process associated with each of the business servers, and for each business server in the server group, it is detected that the business service is running When there is cross-group synchronization data in , determine that there is a requirement for data cross-group synchronization, and obtain the business type of the business service, the target group identifier to be synchronized across groups, and the business data to be synchronized, and obtain the synchronization relative to the business service Configuring parameters, encapsulating the service type, target group identifier, service data to be synchronized, and the synchronization configuration parameters according to the set synchronization protocol message format to form the data synchronization message. The synchronization configuration parameters include synchronization priority and compression setting parameters.
S2、发送数据同步报文。S2. Sending a data synchronization message.
业务服务器将封装后的数据同步报文发送至相关联的数据同步进程。The service server sends the encapsulated data synchronization message to the associated data synchronization process.
S3、压缩并持久化保存数据同步报文。S3. Compress and persist the data synchronization message.
在数据同步进程中,将数据同步报文按所述压缩设置参数进行数据压缩,并将所述数据同步报文持久化保存在该数据同步进程中。In the data synchronization process, the data synchronization message is compressed according to the compression setting parameters, and the data synchronization message is persistently stored in the data synchronization process.
S4、将报文响应结果反馈至业务服务器。S4. Feedback the message response result to the service server.
数据同步进程接收并持久化保存所述数据同步报文后,将报文响应结果反馈至发送数据同步报文的业务服务器。After the data synchronization process receives and persists the data synchronization message, it feeds back the message response result to the service server that sent the data synchronization message.
S5、解析数据同步报文,获得包含的业务类型、目标群标识、待同步业务数据和同步配置参数。S5. Parse the data synchronization message to obtain the included service type, target group identifier, service data to be synchronized and synchronization configuration parameters.
S6、基于目标群标识确定待跨群同步的目标服务器群。S6. Determine a target server group to be synchronized across groups based on the target group identifier.
基于所述目标群标识确定待跨群同步的目标服务器群,并通过查找预设的服务器群配置文件确定所述目标服务器群的目标群地址。所述服务器群配置文件包括:各所述服务器群的群标识、群地址,以及各所述服务器群所包含业务服务器的业务类型及服务器地址。A target server group to be synchronized across groups is determined based on the target group identifier, and a target group address of the target server group is determined by searching a preset server group configuration file. The server group configuration file includes: group identifiers and group addresses of each of the server groups, and service types and server addresses of service servers included in each of the server groups.
S7、根据业务类型、压缩设置参数和待同步业务数据形成同步数据包,并发送至目标业务服务器群。S7. Form a synchronization data packet according to the service type, compression setting parameters and service data to be synchronized, and send it to the target service server group.
检测到从所述同步缓存表调出所述业务服务时,基于所述同步优先级确定当前满足所述业务服务的同步条件后,根据所述业务类型、压缩设置参数及所述待同步业务数据,形成同步数据包;其中,如果所述压缩设置参数为进行数据压缩,则对所述待同步业务数据进行压缩处理,获得目标业务数据,否则,将所述待同步数据作为目标业务数据;按照同步优先级将所述业务服务添加至同步缓存表;按照设定格式封装所述业务类型及所述目标业务数据,形成同步数据包。按照所述目标群地址,将所述同步数据包发送至所述目标服务器群。When it is detected that the business service is called out from the synchronization cache table, after determining that the synchronization condition of the business service is currently met based on the synchronization priority, according to the business type, compression setting parameters and the business data to be synchronized , forming a synchronization data packet; wherein, if the compression setting parameter is to perform data compression, then perform compression processing on the service data to be synchronized to obtain target service data, otherwise, use the data to be synchronized as target service data; according to The synchronization priority adds the business service to the synchronization cache table; encapsulates the business type and the target business data according to the set format to form a synchronization data packet. According to the address of the target group, the synchronization data packet is sent to the target server group.
可选的,持久化保存从所述数据同步报文中获得的待同步业务数据,并向所述业务服务器反馈报文响应结果;向所述目标服务器群发送同步数据包后,删除持久化保存的所述待同步业务数据,并当接收到目标服务器群反馈的同步完成消息后,向所述业务服务器反馈数据同步结果。Optionally, persistently save the business data to be synchronized obtained from the data synchronization message, and feed back the message response result to the business server; after sending the synchronization data packet to the target server group, delete the persistent storage The service data to be synchronized, and after receiving the synchronization completion message fed back by the target server group, feed back the data synchronization result to the service server.
S8、对同步数据包进行持久化保存。S8. Persistently save the synchronization data packet.
本服务器群作为目标服务器群存在时,接收其他服务器群发送的同步数据包,并对该同步数据包进行持久化保存。When the server group exists as the target server group, it receives the synchronization data packets sent by other server groups, and persists the synchronization data packets.
S9、向发送同步数据包的服务器群反馈同步完成消息。S9. Feedback a synchronization completion message to the server group sending the synchronization data packet.
S10、解析同步数据包并获得业务类型与目标业务数据。S10. Parse the synchronization data packet and obtain service type and target service data.
将当本服务器群作为目标服务器群接受到的同步数据包解析,获得业务类型与目标业务数据。Analyze the synchronization data packet received by the server group as the target server group to obtain the business type and target business data.
S11、确定目标业务服务器并获得目标服务器地址。S11. Determine the target service server and obtain the address of the target server.
查找预设的服务器群配置文件,确定所述业务类型对应的业务服务器记为目标业务服务器,并获得所述目标业务服务器的目标服务器地址;Searching for a preset server group configuration file, determining that the business server corresponding to the business type is recorded as the target business server, and obtaining the target server address of the target business server;
S12、向目标业务服务器发送目标业务数据。S12. Send the target service data to the target service server.
按照所述目标服务器地址,将所述目标业务数据发送给所述目标业务服务器,以使所述目标业务数据同步到所述目标业务服务器上。According to the address of the target server, the target service data is sent to the target service server, so that the target service data is synchronized to the target service server.
S13、反馈数据同步完成消息。S13. A data synchronization completion message is fed back.
当接收到目标业务服务器相对所述目标业务数据反馈的同步完成消息时,删除持久化保存的所述目标业务数据,并向发送所述同步数据包的服务器群反馈同步完成消息。When a synchronization completion message fed back by the target service server relative to the target service data is received, the persistently stored target service data is deleted, and a synchronization completion message is fed back to the server group that sent the synchronization data packet.
本申请实施例二提供的一种数据同步管理方法,将业务类型、目标群标识、待同步业务数据以及同步配置参数封装成数据同步报文并将该数据同步报文发送至数据同步进程,在数据同步进程中压缩并持久化保存数据同步报文,将报文响应结果反馈至业务服务器,解析数据同步报文,获得包含的业务类型、目标群标识、待同步业务数据和同步配置参数,基于目标群标识确定待跨群同步的目标服务器群,根据业务类型、压缩设置参数和待同步业务数据形成同步数据包,并发送至目标业务服务器群,在目标服务器群中对同步数据包进行持久化保存,向发送同步数据包的服务器群反馈同步完成消息,解析同步数据包并获得业务类型与目标业务数据,确定目标业务服务器并获得目标服务器地址,向目标业务服务器发送目标业务数据,最终向发送数据同步报文的业务服务器反馈数据同步完成消息。在本技术方案中,集成在服务器群中的各业务服务器均可以在具备数据跨群同步的需求时,通过服务器群内的数据同步进程进行业务数据到其他待同步服务器群上的有效同步。本技术方案在实现数据同步时无需考虑业务服务器上需要数据同步的为何种业务应用,只要存在数据同步需求,均可以直接通过所关联数据同步进程通用化的实现数据同步报文的转发。更好的保证了大规模互联网架构下应用业务数据同步的灵活性和有效性,也更好的体现了大规模互联网架构下的数据同步通用性。A data synchronization management method provided in Embodiment 2 of the present application encapsulates the service type, target group identifier, service data to be synchronized, and synchronization configuration parameters into a data synchronization message and sends the data synchronization message to the data synchronization process. During the data synchronization process, the data synchronization message is compressed and persisted, the message response result is fed back to the business server, the data synchronization message is parsed, and the included business type, target group identifier, business data to be synchronized and synchronization configuration parameters are obtained, based on The target group identifier determines the target server group to be synchronized across groups, forms a synchronization data packet according to the business type, compression setting parameters and business data to be synchronized, and sends it to the target business server group, and persists the synchronization data packet in the target server group Save, feed back the synchronization completion message to the server group that sent the synchronization data packet, analyze the synchronization data packet and obtain the business type and target business data, determine the target business server and obtain the target server address, send the target business data to the target business server, and finally send The service server of the data synchronization message feeds back a data synchronization completion message. In this technical solution, each business server integrated in the server group can effectively synchronize business data to other server groups to be synchronized through the data synchronization process in the server group when there is a requirement for cross-group synchronization of data. This technical solution does not need to consider what kind of business application needs data synchronization on the business server when realizing data synchronization. As long as there is a need for data synchronization, it can directly realize the forwarding of data synchronization messages through the generalization of the associated data synchronization process. It better guarantees the flexibility and effectiveness of application business data synchronization under the large-scale Internet architecture, and better reflects the versatility of data synchronization under the large-scale Internet architecture.
实施例三Embodiment Three
图5给出了本申请实施例三提供的一种数据同步管理设备的硬件结构示意图。本申请实施例提供了一种数据同步管理设备。FIG. 5 shows a schematic diagram of a hardware structure of a data synchronization management device provided in Embodiment 3 of the present application. An embodiment of the present application provides a data synchronization management device.
如图5所示,数据同步管理设备50包括至少一个处理器51,以及与至少一个处理器51通信连接的存储器,如只读存储器(ROM)52、随机访问存储器(RAM)53等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器51可以根据存储在只读存储器(ROM)52中的计算机程序或者从存储单元58加载到随机访问存储器(RAM)53中的计算机程序,来执行各种适当的动作和处理。在RAM 53中,还可存储数据同步管理设备50操作所需的各种程序和数据。处理器51、ROM 52以及RAM 53通过总线54彼此相连。输入/输出(I/O)接口55也连接至总线54。As shown in Figure 5, the data
数据同步管理设备50中的多个部件连接至I/O接口55,包括:输入单元56,例如键盘、鼠标等;输出单元57,例如各种类型的显示器、扬声器等;存储单元58,例如磁盘、光盘等;以及通信单元59,例如网卡、调制解调器、无线通信收发机等。通信单元59允许数据同步管理设备50通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the data
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例提供的数据同步管理方法。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the data synchronization management method provided in the embodiment of the present application is implemented.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现本申请实施例提供的数据同步管理方法。An embodiment of the present application further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the data synchronization management method provided in the embodiment of the present application is implemented.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the various steps described in this application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution of this application can be achieved, there is no limitation herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above specific implementation methods are not intended to limit the protection scope of the present application. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211167299.0A CN115460226A (en) | 2022-09-23 | 2022-09-23 | A data synchronization management system, method, equipment, medium and product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211167299.0A CN115460226A (en) | 2022-09-23 | 2022-09-23 | A data synchronization management system, method, equipment, medium and product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115460226A true CN115460226A (en) | 2022-12-09 |
Family
ID=84307737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211167299.0A Pending CN115460226A (en) | 2022-09-23 | 2022-09-23 | A data synchronization management system, method, equipment, medium and product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115460226A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367658A (en) * | 2020-02-24 | 2020-07-03 | 广州市百果园信息技术有限公司 | Live broadcast service system and process management method |
CN111385255A (en) * | 2018-12-28 | 2020-07-07 | 北京金山云网络技术有限公司 | Asynchronous call implementation method and device, server and server cluster |
CN112187916A (en) * | 2020-09-27 | 2021-01-05 | 中国银联股份有限公司 | Cross-system data synchronization method and device |
CN112463762A (en) * | 2020-11-06 | 2021-03-09 | 苏州浪潮智能科技有限公司 | Method, system, device and medium for cross-cluster real-time data migration and synchronization |
-
2022
- 2022-09-23 CN CN202211167299.0A patent/CN115460226A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385255A (en) * | 2018-12-28 | 2020-07-07 | 北京金山云网络技术有限公司 | Asynchronous call implementation method and device, server and server cluster |
CN111367658A (en) * | 2020-02-24 | 2020-07-03 | 广州市百果园信息技术有限公司 | Live broadcast service system and process management method |
CN112187916A (en) * | 2020-09-27 | 2021-01-05 | 中国银联股份有限公司 | Cross-system data synchronization method and device |
CN112463762A (en) * | 2020-11-06 | 2021-03-09 | 苏州浪潮智能科技有限公司 | Method, system, device and medium for cross-cluster real-time data migration and synchronization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107465767B (en) | Data synchronization method and system | |
WO2021121370A1 (en) | Message loss detection method and apparatus for message queue | |
CN109933439B (en) | Message transmission method, device, computer equipment and storage medium | |
US20080270485A1 (en) | Method For Processing Data Synchronization And Client Terminal, Server, And Data Synchronization System Thereof | |
CN113645304A (en) | Data service processing method and related equipment | |
EP4340333A1 (en) | Communication protocol conversion method, and device, system, and gateway device | |
WO2015090243A1 (en) | Ip management method, client and server | |
CN115023919B (en) | Firewall rule updating method and device, server and storage medium | |
CN114710549B (en) | A dynamic management method, system and business node for network cards in a container platform | |
US20190356624A1 (en) | Intermediary device for data message network routing | |
CN111818187A (en) | A kind of internal and external network communication method and system | |
CN115567388A (en) | Network slice configuration automatic update method, system, device and storage medium | |
CN118643076A (en) | System and method for distributed data query based on unidirectional isolated network | |
CN115629909A (en) | Service data processing method and device, electronic equipment and storage medium | |
CN113783826A (en) | Micro-service exception handling method and device | |
WO2025158261A1 (en) | Request processing method and apparatus, and task execution method and apparatus | |
CN108259605B (en) | Data calling system and method based on multiple data centers | |
CN108804711B (en) | A data processing method, device and computer-readable storage medium | |
CN114371944A (en) | Distributed service remote calling method, system, device and storage medium | |
CN114090288A (en) | Data pushing method and device | |
CN113315689B (en) | Information processing method, system, electronic device and readable storage medium | |
CN115460226A (en) | A data synchronization management system, method, equipment, medium and product | |
CN112187916A (en) | Cross-system data synchronization method and device | |
WO2017193814A1 (en) | Service chain generation method and system | |
CN115202894A (en) | Interface service calling method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |