CN110038299A - A kind of method of data synchronization and device - Google Patents

A kind of method of data synchronization and device Download PDF

Info

Publication number
CN110038299A
CN110038299A CN201910309923.8A CN201910309923A CN110038299A CN 110038299 A CN110038299 A CN 110038299A CN 201910309923 A CN201910309923 A CN 201910309923A CN 110038299 A CN110038299 A CN 110038299A
Authority
CN
China
Prior art keywords
data
synchronized
version number
primary server
minimum
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
Application number
CN201910309923.8A
Other languages
Chinese (zh)
Inventor
李俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910309923.8A priority Critical patent/CN110038299A/en
Publication of CN110038299A publication Critical patent/CN110038299A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses a kind of method of data synchronization and device, for realizing that whole players participate in ranking lists, and the function of real-time synchronization whole ranking list data in bandwidth resources using in limited CPU.It include: primary server setting first time threshold;The primary server caches the first data to be synchronized, which is the more new data of the joint account stored by the period of the first time threshold, which carries the total data version number in first data to be synchronized;The data synchronization request of primary server reception child servers;When time interval between the data synchronization request and previous secondary data synchronization request is less than or equal to the first time threshold, first data to be synchronized are sent to the child servers by the primary server, so that the child servers update original ranking list data according to first data to be synchronized.

Description

A kind of method of data synchronization and device
Technical field
This application involves field of play more particularly to a kind of method of data synchronization and device.
Background technique
Usually there is ranking list in game, i.e., according to certain game rule all ginseng player's ordered arrangements, and shows The list of all players.Current each Game Zone corresponds to a server program, referred to as the son clothes (terminal device of its framework Referred to as child servers);Also some server programs are responsible for collecting the data for handling all sub- clothes, realize that some all players are common The game function of participation, referred to as main clothes (terminal device of its framework is known as primary server).These hundreds and thousands of height clothes and master Clothes are respectively erected on different terminal devices (or being server), these terminal devices pass through network interconnection, composition distribution Formula server cluster.
Main clothes have the function of each ranking list of integration, i.e., the ranking list in the main clothes accommodates all players, then the master Clothes need for the ranking list of real-time change to be synchronized to all son clothes.But since participation players are relatively more, the behaviour of multiple players Work instruction will lead to ranking list variation frequently and ranking list is larger.
When the ranking list data are synchronized to son using traditional algorithm and take by the main clothes, it usually needs send ranking list in sub- clothes After data synchronization request, main clothes need the initial data by more new data and son clothes to merge calculating.And in gaming, together It walks in the available central processing unit of this function of ranking list (Central Processing Unit/Processor, CPU) Deposit limited bandwidth resources, therefore currently in order to can Fast synchronization ranking list data, ranking list rule are usually taken using siding stopping Mould limits participation players number and setting ranking list minimum refresh interval.It cannot achieve whole player's ginsengs in ranking list in this way With, and the function of real-time synchronization ranking list data.
Summary of the invention
The embodiment of the present application provides a kind of method of data synchronization and device, for providing using in limited CPU in bandwidth Realize that whole players participate in ranking list, and the function of real-time synchronization whole ranking list data in source.
In a first aspect, the embodiment of the present application provides a kind of method of data synchronization, applied to synchronous game ranking list data Scene specifically includes: first time threshold is arranged in primary server;The primary server cache the first data to be synchronized, this first to Synchrodata is the more new data of the joint account stored by the period of the first time threshold, which takes With the total data version number in first data to be synchronized;The primary server receives the data synchronization request of child servers, should Data synchronization request carries initial data version number;Time between the data synchronization request and previous secondary data synchronization request When interval is less than or equal to the first time threshold, which is sent to the child servers for first data to be synchronized, So that the child servers update original ranking list data according to first data to be synchronized.
In the present embodiment, which takes the terminal device set up by main in game, which is in game Son takes set up terminal device.In gaming, the various operations of sub- clothes may trigger the change of the ranking list data in main clothes, and After ranking list data change each time, the ranking list data after primary server change are carried out using versions of data number The ranking list data that label, the i.e. versions of data number are used to indicate different moments.
In technical solution provided by the embodiments of the present application, which has merged by period storage of first time threshold The more new data calculated, the more new data of the preservation is as data to be synchronized;Then the primary server is receiving the sub-services When the data synchronization request that device is sent, which judges this time data synchronization request that the child servers are sent and preceding primary When whether the time interval of data synchronization request is less than or equal to the first time threshold, the primary server is by the data to be synchronized It is sent to the child servers.The primary server is after receiving the data synchronization request of child servers in this way, without remerging Data to be synchronized are calculated, the response speed of CPU is improved, to realize the function of real-time synchronization whole ranking list data.
Optionally, the time interval between the data synchronization request and previous secondary data synchronization request be greater than this first when Between threshold value when, which is sent to the child servers for total data.In the present embodiment, if before and after the child servers twice The time interval of the data synchronization request of transmission is less than the first time threshold, then illustrates that the data of primary server change are more than Preset threshold, at this moment the primary server sends whole data and gives the child servers, so that the child servers and the main clothes The data of business device are fully synchronized.
Optionally, after the data to be synchronized are sent to the child servers by the primary server, this method further include: should Primary server determines that the child servers are active server;The primary server is pushed to the child servers in preset time range More new data.In the present embodiment, the primary server is (alternatively referred to as fast synchronous and slow in conjunction with passive push mode by active push It is synchronous), it can effectively guarantee the synchronous validity of data in this way.
Optionally, method of data synchronization further include: default second time threshold is arranged in the primary server;The primary server The second data to be synchronized are cached, which is the joint account stored by the period of the second time threshold More new data, second data to be synchronized carry total data version number in second data to be synchronized;The primary server receives After the data synchronization request of child servers, this method further include: the primary server according in first data to be synchronized most Small data version number, the minimum data version number in second data to be synchronized and the initial data version number determine that target waits for together Step data;The primary server sends target data to be synchronized and gives the child servers.In the present embodiment, the primary server is according to more A time cycle stores change data respectively, after receiving the data synchronization request of child servers, according to the child servers Initial data version number determine immediate change data, guarantee the synchronous correctness of data.
Optionally, the primary server according in first data to be synchronized minimum data version number, this is second to be synchronized Minimum data version number in data and the initial data version number determine target data to be synchronized include: the primary server successively Judging the minimum data version number in minimum data version number and second data to be synchronized in first data to be synchronized is It is no to be less than the initial data version number;If the minimum data version number in first data to be synchronized is less than or equal to the original number It is greater than the initial data version number according to the minimum data version number in version number and second data to be synchronized, then the primary server Determine first data to be synchronized as target data to be synchronized;If the minimum data version number in second data to be synchronized It is greater than the initial data less than or equal to the minimum data version number in the initial data version number and first data to be synchronized Version number, then the primary server determines second data to be synchronized as target data to be synchronized;If second number to be synchronized The minimum data version number in minimum data version number and first data to be synchronized in is respectively less than or is equal to the original number According to version number, then the primary server determines minimum data version number and the initial data version number in first data to be synchronized The first gap and second data to be synchronized in minimum data version number and the initial data version number the second gap;If First gap is less than second gap, then the primary server determines first data to be synchronized as target number to be synchronized According to;If first gap is greater than second gap, which determines that second data to be synchronized wait for together as the target Step data;If first gap is equal to second gap, the primary server arbitrarily determine first data to be synchronized or this Two data to be synchronized are as target data to be synchronized.
Optionally, it includes: that the primary server establishes preceding data structure with after which, which caches the first data to be synchronized, Data structure;First more new data is stored in the preceding data structure by the primary server, which is the period 1 More new data, the cycle duration be the first time threshold;When updating duration more than or equal to the period 1, the main clothes The first update data conversion storage is stored in the preceding data structure in the rear data structure, and by the second more new data by business device, should Second more new data is the more new data in second round;When the update duration is greater than or equal to the second round, the main clothes Business device deletes the first more new data;This second is updated data conversion storage in the rear data structure by the primary server, and by third More new data is stored in the preceding data structure, and the third more new data is the more new data in the period 3.It, should in the present embodiment Primary server is similarly adopted in a like fashion when caching second data to be synchronized, and specific details are not described herein again.
Second aspect, the embodiment of the present application provide a kind of data synchronization unit, which, which has, realizes above-mentioned first aspect Or in fourth aspect website behavior function.The function can also be executed corresponding soft by hardware realization by hardware Part is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
In a possible implementation, the device include unit for executing each step of the above first aspect or Module.For example, the device includes: setup module, for first time threshold to be arranged;Memory module, for caching first to same Step data, first data to be synchronized are the joint account stored using the first time threshold that the setup module is arranged as the period More new data, which carries the total data version number in first data to be synchronized;Receiving module is used In the data synchronization request for receiving child servers, which carries initial data version number;Sending module, in the number When being less than or equal to the first time threshold according to the time interval between synchronization request and previous secondary data synchronization request, this is deposited First data to be synchronized of storage module storage are sent to the child servers, so that the child servers are first to be synchronized according to this Data update initial data.
Optionally, the memory module is also used to save the necessary program instruction of primary server and data.
In one possible implementation, which includes: processor and transceiver, which is configured as supporting Primary server executes corresponding function in the method that above-mentioned first aspect provides.Transceiver is used to indicate primary server and sub-services Communication between device sends information or instruction involved in the above method to child servers.Optionally, this device can also wrap Memory is included, which saves the necessary program instruction of primary server and data for coupling with processor.
In one possible implementation, when the device is the chip in primary server, which includes: processing mould Block and transceiver module, the processing module for example can be processor, this processor is for being arranged first time threshold;And it can be right Indicate that memory module caches the first data to be synchronized, which is the first time threshold being arranged with the setup module Value is the more new data of the joint account of period storage, which carries complete in first data to be synchronized Portion's versions of data number;The transceiver module for example can be input/output interface, pin or circuit on the chip etc., Ke Yijie The data synchronization request of child servers is received, which carries initial data version number, and sends to and this chip coupling In other chips or module closed.The computer executed instructions of storage unit storage can be performed in the processing module, to support main clothes Business device executes the method that above-mentioned first aspect provides.Optionally, which can be the storage unit in the chip, such as post Storage, caching etc., the storage unit can also be the storage unit positioned at the chip exterior, such as read-only memory (read-only Memory, ROM) or can store the other kinds of static storage device of static information and instruction, random access memory (random access memory, RAM) etc..
Wherein, the processor that any of the above-described place mentions can be a general central processor (Central Processing Unit, CPU), microprocessor, application-specific integrated circuit (application-specific Integrated circuit, ASIC), or one or more program execution for controlling above-mentioned various aspects method of data synchronization Integrated circuit.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, computer storage medium storage There is computer instruction, the computer instruction is for executing the method that any possible embodiment is somebody's turn to do in above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer program product comprising instruction, when its on computers When operation, so that computer executes the method that either side is somebody's turn to do in above-mentioned various aspects.
5th aspect, the embodiment of the present application provides a kind of communication system, the system include the access point that above-mentioned aspect is somebody's turn to do and Website.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that the primary server at the first time Threshold value is the more new data for storing joint account in the period, and the more new data of the preservation is as data to be synchronized;Then the main clothes For business device when receiving the data synchronization request of child servers transmission, which judges this of child servers transmission When whether the time interval of data synchronization request and previous secondary data synchronization request is less than or equal to the first time threshold, the master The data to be synchronized are sent to the child servers by server.The primary server is synchronous in the data for receiving child servers in this way After request, data to be synchronized are calculated without remerging, improve the response speed of CPU, to realize that real-time synchronization is all arranged The function of row list data.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of method of data synchronization in the embodiment of the present application;
Fig. 2 is a schematic diagram of data buffer storage in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram of method of data synchronization in the embodiment of the present application;
Fig. 4 is another schematic diagram of data buffer storage in the embodiment of the present application;
Fig. 5 is one embodiment schematic diagram of data synchronization unit in the embodiment of the present application;
Fig. 6 is another embodiment schematic diagram of data synchronization unit in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of method of data synchronization and device, for providing using in limited CPU in bandwidth Realize that whole players participate in ranking list, and the function of real-time synchronization whole ranking list data in source.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
Usually there is ranking list in game, i.e., according to certain game rule all ginseng player's ordered arrangements, and shows The list of all players.Current each Game Zone corresponds to a server program, referred to as the son clothes (terminal device of its framework Referred to as child servers);Also some server programs are responsible for collecting the data for handling all sub- clothes, realize that some all players are common The game function of participation, referred to as main clothes (terminal device of its framework is known as primary server).These hundreds and thousands of height clothes and master Clothes are respectively erected on different terminal devices (or being server), these terminal devices pass through network interconnection, composition distribution Formula server cluster.Main clothes have the function of each ranking list of integration, i.e., the ranking list in the main clothes accommodates all players, then The main clothes need for the ranking list of real-time change to be synchronized to all son clothes.But since participation players are relatively more, multiple players Operational order will lead to ranking list change frequently and ranking list it is larger.The main clothes use traditional algorithm by the ranking list number According to when being synchronized to son and taking, it usually needs after sub- clothes send ranking list data synchronization request, main clothes need will more new data and The initial data of son clothes merges calculating.And in gaming, the synchronous available central processing unit of this function of ranking list (Central Processing Unit/Processor, CPU) memory bandwidth resource is limited, therefore currently in order to can be quick Synchronous ranking list data, usually take ranking list scale using siding stopping, limit participation players number and setting ranking list most Small refresh interval.It cannot achieve whole players in ranking list in this way to participate in, and the function of real-time synchronization ranking list data.
In order to solve this problem, the embodiment of the present application provides a kind of method of data synchronization, is applied to synchronous game seniority among brothers and sisters The scene of list data, specifically includes: first time threshold is arranged in primary server;The primary server caches the first data to be synchronized, First data to be synchronized are the more new data of the joint account stored by the period of the first time threshold, this is first to same Step data carries the total data version number in first data to be synchronized;The data that the primary server receives child servers are synchronous Request, the data synchronization request carry initial data version number;The data synchronization request and previous secondary data synchronization request it Between time interval be less than or equal to the first time threshold when, which is sent to the son for first data to be synchronized Server, so that the child servers update original ranking list data according to first data to be synchronized.
In the present embodiment, which then increases by one for ranking list data when each ranking list data change A data version number, such as primary data version number are V0, then after one-shot change occurs for ranking list data, versions of data number It is updated to V1;On the basis of versions of data number is V1, if the ranking list data change again, the versions of data number is more It is newly V2, and so on, which can successively increase.
Referring specifically to shown in Fig. 1, one embodiment of method of data synchronization in the embodiment of the present application is specifically included:
101, first time threshold is arranged in primary server.
First time threshold is arranged for buffer update data in the primary server.In the present embodiment, the first time threshold It can be other possible time thresholds such as 2 minutes, 5 minutes, 10 minutes, concrete condition is safeguarded by primary server.
102, the primary server caches the first data to be synchronized, first number to be synchronized by the period of the first time threshold According to the more new data for joint account, which carries the total data version in first data to be synchronized Number.
The primary server caches first data to be synchronized by the period of the first time threshold, wherein this is first to same Step data is the more new data of joint account and first data to be synchronized carry whole numbers in first data to be synchronized According to version number.
Optionally, which can adopt the following technical scheme that the main clothes when caching first data to be synchronized Business device establishes preceding data structure and rear data structure;First more new data is stored in the preceding data structure by the primary server, should First more new data is the more new data in the period 1, and wherein the cycle duration is the second time threshold;Updating duration When more than or equal to the period 1, which first updates data conversion storage in the rear data structure for this, and by second More new data is stored in the preceding data structure, which is the more new data in second round;In the update duration When more than or equal to the second round, which deletes the first more new data;The primary server by this second update number According to unloading in the rear data structure, and third more new data is stored in the preceding data structure, the third more new data is third More new data in period.The preceding data structure of the data to be synchronized can be as shown in Fig. 2, carve with rear data structure at the beginning When, the data that data and the child servers of primary server storage store are fully synchronized, then updated in versions of data by V1 When to V5, since data update duration without departing from the cycle duration of period 1, wherein the cycle duration is default for primary server First time threshold, then more new data is stored in the preceding data structure by the primary server, i.e., wraps in the preceding data structure Included by initial time to versions of data number be V5 data, at this moment the versions of data number in first data to be synchronized be V2 extremely V5;During versions of data is updated to V7 by V1, when data update duration is greater than a cycle duration less than two periods It is long, wherein when versions of data is updated to V6 by V1, data a length of a cycle duration when updating, then the primary server should Initial time to V6 data by preceding data structure unloading in rear data structure, and when versions of data is updated to V7 by V6, The more new data of versions of data V6 to V7 is stored in the preceding data structure by the primary server, at this moment first data to be synchronized In versions of data number be V2 to V7;During versions of data is updated to V11 by V1, data update duration and were equal to for two weeks When phase duration, wherein when versions of data is updated to V6 by V1, data a length of a cycle duration, the then main service when updating Device is by the data of the initial time to V6 by preceding data structure unloading in rear data structure;It is updated in versions of data by V6 When V11, a length of a cycle duration when data update, then to be V6 by the versions of data number be the primary server to versions of data number The more new data of V11 is stored in the preceding data structure, and at this moment the versions of data number in first data to be synchronized is V2 to V11; During versions of data is updated to V12 by V1, (it is greater than two periods when data renewal time was greater than positioned at the period 3 Less than three cycle durations of duration), which deletes the data of the initial time to V6;It is updated in versions of data by V6 When to V11, data a length of a cycle when updating, then to be V6 by the versions of data number be the primary server to versions of data number The more new data of V11 is by preceding data structure unloading in rear data structure, and versions of data number is V11 is to versions of data number Before the more new data of V12 is stored in data structure, at this moment the versions of data number in first data to be synchronized is V6 to V12.
103, the primary server receives child servers data synchronization request, which carries initial data version Number.
The primary server receives the data synchronization request of child servers transmission.It is understood that the data are synchronized and are asked The initial data version number for asking middle carrying child servers to store.
104, the time interval between the data synchronization request and previous secondary data synchronization request be less than or equal to this When one time threshold, which is sent to the child servers for first data to be synchronized.
If the child servers were this time sent between data synchronization request and the preceding primary time sent between data synchronization request Every being less than or equal to the first time threshold, then first data to be synchronized can be transmitted directly to the sub- clothes by the primary server Business device.
Optionally, if the child servers are this time sent between data synchronization request and preceding primary transmission data synchronization request Time interval is greater than the first time threshold, then the primary server needs for total data to be sent to the child servers.
Under scene of game, the operational order between each child servers can all cause the ranking list data of primary server to be sent out It is raw, therefore in the first time threshold, the data to be synchronized of primary server storage can be bigger.If the child servers are twice The time interval for sending data synchronization request is less than the first time threshold, then the primary server can be directly to be synchronized by this Data are sent to the child servers;If the time interval that the child servers send data synchronization request twice is more than the first time Threshold value, then the primary server, which has, can delete part more new data, therefore the primary server is needed whole ranking list numbers According to being sent to the child servers.
105, the child servers update original ranking list data according to first data to be synchronized.
The child servers are after receiving first data to be synchronized, by first data to be synchronized and original ranking list Data merge calculating, obtain new ranking list data.
For example the versions of data number of the original ranking list data of the child servers is V1, and the number of first data to be synchronized It is V2 to V7 according to version number, then the versions of data number of the updated ranking list data of the child servers is V7.
It is understood that the child servers are receiving the first data to be synchronized of primary server transmission, and complete After the update of original ranking list data, i.e. the child servers slow synchronization that completes data.On this basis, the primary server It can determine that the child servers are active server, at this moment, as long as the primary server can be sent out according within the scope of the regular hour Raw data update, then the primary server gives the more new data active push to the child servers, i.e. the child servers complete data Fast synchronization.Data are synchronous with data synchronous combination slowly fastly in this way, can effectively save the resource consumption of data synchronization, and complete It is effectively synchronized at data.
In the embodiment of the present application, which stores the update number of joint account using first time threshold as the period According to the more new data of the preservation is as data to be synchronized;Then the primary server is in the data for receiving child servers transmission When synchronization request, which judges this time data synchronization request and the previous secondary data synchronization request that the child servers are sent Time interval when whether being less than or equal to the first time threshold, which is sent to the sub- clothes for the data to be synchronized Business device.The primary server in this way calculates number to be synchronized after receiving the data synchronization request of child servers, without remerging According to the response speed of CPU being improved, to realize the function of real-time synchronization whole ranking list data.
Described above is an exemplary arrangements of method of data synchronization, and the another of method of data synchronization is detailed below A exemplary arrangement please refers to shown in Fig. 3, another embodiment of the method for data synchronization of the embodiment of the present application, comprising:
301, primary server setting first time threshold and second time threshold.
First time threshold and second time threshold is arranged for buffer update data in the primary server.In the present embodiment, The first time threshold can be 2 minutes, the second time threshold be 5 minutes;Or, the first time threshold is 5 minutes, this Two time thresholds are 10 minutes, and concrete condition is safeguarded by primary server, herein without limitation.
302, the primary server caches the first data to be synchronized by the period of the first time threshold, with the second time threshold Value is to cache the second data to be synchronized the period, which is the more new data of joint account, this is first to same Step data carries the total data version number in first data to be synchronized, second data to be synchronized be joint account more New data, second data to be synchronized carry the total data version number in second data to be synchronized.
The primary server caches first data to be synchronized by the period of the first time threshold, wherein this is first to same Step data is the more new data of joint account and first data to be synchronized carry whole numbers in first data to be synchronized According to version number;The primary server caches second data to be synchronized by the period of the second time threshold, wherein this is second to same Step data is the more new data of joint account and second data to be synchronized carry whole numbers in second data to be synchronized According to version number.
Optionally, which can adopt the following technical scheme that the main clothes when caching first data to be synchronized Business device establishes preceding data structure and rear data structure;First more new data is stored in the preceding data structure by the primary server, should First more new data is the more new data in the period 1, which is the first time threshold;It is greater than updating duration When the period 1, which stores the first update data conversion storage in the rear data structure, and by the second more new data In the preceding data structure, which is the more new data in second round;Being greater than or equal in the update duration should When second round, which deletes the first more new data;The primary server is by the second update data conversion storage after this Data structure, and third more new data is stored in the preceding data structure, the third more new data is the update in the period 3 Data.The preceding data structures of the data to be synchronized and rear data structure can be with as shown in Fig. 2, when carving at the beginning, the main service The data and the data that store of the child servers of device storage are fully synchronized, then in versions of data by V1 update to V5 when, due to Data update duration without departing from the cycle duration of period 1, and wherein the cycle duration is the preset first time threshold of primary server Value, then more new data is stored in the preceding data structure by the primary server, i.e., include in the preceding data structure by it is initial when The data that versions of data number is V5 are carved into, at this moment the versions of data number in first data to be synchronized is V2 to V5;In data version During this is updated to V7 by V1, data update duration and are greater than less than two cycle durations of a cycle duration, wherein in number When being updated to V6 by V1 according to version, a length of a cycle duration when data update, then the primary server is by the initial time to V6 Data by preceding data structure unloading in rear data structure, and when versions of data is updated to V7 by V6, which will The more new data of versions of data V6 to V7 is stored in the preceding data structure, at this moment the versions of data in first data to be synchronized Number be V2 to V7;During versions of data is updated to V11 by V1, when data update duration equal to two cycle durations, In, when versions of data is updated to V6 by V1, data a length of a cycle duration when updating, the then when primary server is initial by this The data of V6 are carved by preceding data structure unloading in rear data structure;When versions of data is updated to V11 by V6, data update Shi Changwei a cycle duration, then the versions of data number is more new data that V6 is V11 to versions of data number by the primary server It is stored in the preceding data structure, at this moment the versions of data number in first data to be synchronized is V2 to V11;In versions of data by V1 During being updated to V12, (it is greater than two cycle durations less than three weeks when data renewal time was greater than positioned at the period 3 Phase duration), which deletes the data of the initial time to V6;When versions of data is updated to V11 by V6, data are more A length of a cycle when new, then the primary server by the versions of data number be V6 to versions of data number be V11 more new data by Preceding data structure unloading is in rear data structure, and versions of data number is V11 is stored in the more new data that versions of data number is V12 In preceding data structure, at this moment the versions of data number in first data to be synchronized is V6 to V12.It is understood that the main clothes When business device caches second data to be synchronized, technical solution as above is also used, details are not described herein again for concrete scheme.
And the primary server stores more new data using the first time threshold and the second time threshold as the period respectively Concrete condition can be as shown in Figure 4: in the more new data stored using first time threshold as the period, by initial time to number When according to version being V12, if the child servers are seted out out data synchronization request at the V12 moment, the primary server save first Data to be synchronized include the more new data of versions of data V6 to versions of data V12;Using second time threshold as the period When the more new data of storage, when being V12 by initial time to versions of data, counted if the child servers are seted out out at the V12 moment According to synchronization request, then the primary server save the second data to be synchronized include initial time to versions of data V12 more New data.
303, the primary server receives child servers data synchronization request, which carries initial data version Number.
The primary server receives the data synchronization request of child servers transmission, wherein carries in the data synchronization request The initial data version number of child servers storage.In the present embodiment, in an illustrative scheme, it is assumed that the child servers Initial data version number is V1.
304, the primary server is according to the minimum data version number in first data to be synchronized, second data to be synchronized In minimum data version number and the initial data version number determine target data to be synchronized.
The primary server successively judges minimum data version number and second number to be synchronized in first data to be synchronized Whether the minimum data version number in is less than the initial data version number;If the minimum data version in first data to be synchronized It is original that this number minimum data version number being less than or equal in the initial data version number and second data to be synchronized is greater than this Versions of data number, then the primary server determines first data to be synchronized as target data to be synchronized;If this is second to same Minimum data version number in step data is less than or equal to the minimum in the initial data version number and first data to be synchronized Versions of data number is greater than the initial data version number, then the primary server determines that second data to be synchronized wait for together as the target Step data;If the minimum data version in minimum data version number and first data to be synchronized in second data to be synchronized Number be respectively less than or be equal to the initial data version number, then the primary server determines the minimum data version in first data to be synchronized Minimum data version number in this number the first gap and second data to be synchronized with the initial data version number is original with this Second gap of versions of data number;If first gap is less than second gap, which determines that this is first to be synchronized Data are as target data to be synchronized;If first gap be greater than second gap, the primary server determine this second to Synchrodata is as target data to be synchronized;If first gap is equal to second gap, which is arbitrarily determined First data to be synchronized or second data to be synchronized are as target data to be synchronized;If in second data to be synchronized Minimum data version number in minimum data version number and first data to be synchronized is all larger than or is equal to the initial data version Number (that is, the child servers this time send data synchronization request and it is preceding it is primary transmission data synchronization request time interval it is big In the first time threshold, and it is greater than the second time threshold), then the primary server determines that whole ranking list data are the target Data to be synchronized.
It include versions of data number by taking Fig. 4 as an example, in first data to be synchronized is V6 to versions of data number in the present embodiment It include versions of data number for the more new data of V12, in second data to be synchronized is the update number that V1 is V12 to versions of data number According to;If the versions of data number of the original ranking list data in the child servers is V1, which determines this second to same Step data is target data to be synchronized;If the versions of data number of the original ranking list data in the child servers is V6, this The minimum data version number of one data to be synchronized is equal to the versions of data number of the original ranking list data in the child servers, this The minimum data version number of two data to be synchronized is less than the versions of data number of the original ranking list data in the child servers;At this moment The primary server determines the difference of the minimum data version number of first data to be synchronized and the versions of data number of the original ranking list Away from being 0, and the gap of the versions of data number of the minimum data version number of second data to be synchronized and the original ranking list is 5, Then the primary server determines that first data to be synchronized are target data to be synchronized.
305, target data to be synchronized are sent to the child servers by the primary server.
306, the child servers update original ranking list data according to the object synchronization data.
The child servers are after receiving target data to be synchronized, by target data to be synchronized and original ranking list Data merge calculating, obtain new ranking list data.
For example the versions of data number of the original ranking list data of the child servers is V1, and the number of first data to be synchronized It is V2 to V7 according to version number, then the versions of data number of the updated ranking list data of the child servers is V7.
It is understood that the child servers are receiving the target data to be synchronized of primary server transmission, and complete After the update of original ranking list data, i.e. the child servers slow synchronization that completes data.On this basis, the primary server It can determine that the child servers are active server, at this moment, as long as the primary server can be sent out according within the scope of the regular hour Raw data update, then the primary server gives the more new data active push to the child servers, i.e. the child servers complete data Fast synchronization.Data are synchronous with data synchronous combination slowly fastly in this way, can effectively save the resource consumption of data synchronization, and complete It is effectively synchronized at data.
In the embodiment of the present application, which stores the update number of joint account using first time threshold as the period According to the more new data of the preservation is as data to be synchronized;Then the primary server is in the data for receiving child servers transmission When synchronization request, which judges this time data synchronization request and the previous secondary data synchronization request that the child servers are sent Time interval when whether being less than or equal to the first time threshold, which is sent to the sub- clothes for the data to be synchronized Business device.The primary server in this way calculates number to be synchronized after receiving the data synchronization request of child servers, without remerging According to the response speed of CPU being improved, to realize the function of real-time synchronization whole ranking list data.
Described above is method of data synchronization in the embodiment of the present application, and data synchronization unit is described below, referring specifically to Shown in Fig. 5, one embodiment of data synchronization unit in the embodiment of the present application is specifically included:
Setup module 501, for first time threshold to be arranged;
Memory module 502, for caching the first data to be synchronized, which is to be with first time threshold The more new data of the joint account of period storage, first data to be synchronized carry whole numbers in first data to be synchronized According to version number;
Receiving module 503, for receiving the data synchronization request of child servers, which carries initial data Version number;
Sending module 504, the time interval between the data synchronization request and previous secondary data synchronization request be less than or When equal to the first time threshold, which is sent to the child servers so that the child servers according to First data to be synchronized update initial data.
Optionally, the sending module 504 is also used between the data synchronization request and previous secondary data synchronization request When time interval is greater than the first time threshold, total data is sent to the child servers.
Optionally, which further includes processing module 505, the processing module 505, for determining the sub-services Device is active server;The sending module 504 is also used to push more new data to the child servers in preset time range.
Optionally, the setup module 501, is also used to be arranged default second time threshold;
The memory module 502 is also used to cache the second data to be synchronized, which is with second time Threshold value is the more new data of the joint account of period storage, which carries complete in second data to be synchronized Portion's versions of data number;
The processing module 505, be also used to the primary server according in first data to be synchronized minimum data version number, Minimum data version number and the initial data version number in second data to be synchronized determine target data to be synchronized;
The sending module 504 is also used to send target data to be synchronized and gives the child servers.
Optionally, processing module 505, specifically for successively judging the minimum data version in first data to be synchronized Number and second data to be synchronized in minimum data version number whether be less than the initial data version number;
If minimum data version number in first data to be synchronized be less than or equal to the initial data version number and this Minimum data version number in two data to be synchronized is greater than the initial data version number, it is determined that the first data conduct to be synchronized Target data to be synchronized;
If minimum data version number in second data to be synchronized be less than or equal to the initial data version number and this Minimum data version number in one data to be synchronized is greater than the initial data version number, it is determined that the second data conduct to be synchronized Target data to be synchronized;
If the minimum data version in minimum data version number and first data to be synchronized in second data to be synchronized This number is respectively less than or is equal to the initial data version number, it is determined that minimum data version number in first data to be synchronized with should Minimum data version number and the initial data version in first gap of initial data version number and second data to be synchronized Number the second gap;
If first gap is less than second gap, it is determined that first data to be synchronized are as target number to be synchronized According to;
If first gap is greater than second gap, it is determined that second data to be synchronized are as target number to be synchronized According to;
If first gap is equal to second gap, first data to be synchronized or second number to be synchronized are arbitrarily determined According to as target data to be synchronized.
The memory module 502, specifically for establishing preceding data structure and rear data structure;
First more new data is stored in the preceding data structure, which is the update number in the period 1 According to the cycle duration is the first time threshold;
When updating duration and being greater than or equal to the period 1, this first is updated into data conversion storage in the rear data structure, And the second more new data is stored in the preceding data structure, which is the more new data in second round;
When the update duration is greater than or equal to the second round, the first more new data is deleted;
The second update data conversion storage is stored in the preceding data knot in the rear data structure, and by third more new data Structure, the third more new data are the more new data in the period 3.
Optionally, which is used to indicate different moments corresponding ranking list data.
Referring specifically to shown in Fig. 6, another embodiment of data synchronization unit in the embodiment of the present application, comprising:
Transceiver 601, processor 602, bus 603;
The transceiver 601 is connect with the processor 602 by the bus 603;
The bus 603 can be Peripheral Component Interconnect standard (peripheral component interconnect, PCI) bus or expanding the industrial standard structure (extended industry standard architecture, EISA) bus Deng.The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, only with a thick line table in Fig. 6 Show, it is not intended that an only bus or a type of bus.
Processor 602 can be central processing unit (central processing unit, CPU), network processing unit The combination of (network processor, NP) or CPU and NP.
Processor 602 can further include hardware chip.Above-mentioned hardware chip can be specific integrated circuit (application-specific integrated circuit, ASIC), programmable logic device (programmable Logic device, PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices (complex Programmable logic device, CPLD), field programmable gate array (field-programmable gate Array, FPGA), Universal Array Logic (generic array logic, GAL) or any combination thereof.
Shown in Figure 6, which can also include memory 604.The memory 604 may include volatile Property memory (volatile memory), such as random access memory (random-access memory, RAM);Memory It also may include nonvolatile memory (non-volatile memory), such as flash memory (flash memory), firmly Disk (hard disk drive, HDD) or solid state hard disk (solid-state drive, SSD);Memory 604 can also include The combination of the memory of mentioned kind.
Optionally, memory 604 can be also used for storage program instruction, and processor 602 calls to be stored in the memory 604 Program instruction, the one or more steps or in which optional embodiment in above-mentioned multiple embodiments can be executed, realize The function of the data synchronization unit in the above method.
The processor 602 executes following steps:
First time threshold is set;
The memory 604 executes following steps:
The first data to be synchronized are cached, which is the conjunction stored by the period of the first time threshold And the more new data calculated, first data to be synchronized carry the total data version number in first data to be synchronized;
The transceiver 601 executes following steps:
The data synchronization request of child servers is received, which carries initial data version number;
Time interval between the data synchronization request and previous secondary data synchronization request be less than or equal to this first when Between threshold value when, which is sent to the child servers, so that the child servers are first to be synchronized according to this Data update initial data.
Optionally, the transceiver 601 executes following steps: in the data synchronization request and previous secondary data synchronization request Between time interval be greater than the first time threshold when, total data is sent to the child servers.
Optionally, the processor 602 executes following steps: determining that the child servers are active server;The transceiver 601, it executes following steps: pushing more new data to the child servers in preset time range.
Optionally, the processor 602 executes following steps: default second time threshold is arranged;
The memory 604 executes following steps: the second data to be synchronized of caching, second data to be synchronized be with this Two time thresholds are the more new data of the joint account of period storage, which carries second number to be synchronized According to middle total data version number;
The processor 602 executes following steps: according in first data to be synchronized minimum data version number, this Minimum data version number and the initial data version number in two data to be synchronized determine target data to be synchronized;
The transceiver 601 executes following steps: sending target data to be synchronized and give the child servers.
Optionally, the processor 602 executes following steps: successively judging the minimum data in first data to be synchronized Whether the minimum data version number in version number and second data to be synchronized is less than the initial data version number;
If minimum data version number in first data to be synchronized be less than or equal to the initial data version number and this Minimum data version number in two data to be synchronized is greater than the initial data version number, it is determined that the first data conduct to be synchronized Target data to be synchronized;
If minimum data version number in second data to be synchronized be less than or equal to the initial data version number and this Minimum data version number in one data to be synchronized is greater than the initial data version number, it is determined that the second data conduct to be synchronized Target data to be synchronized;
If the minimum data version in minimum data version number and first data to be synchronized in second data to be synchronized This number is respectively less than or is equal to the initial data version number, it is determined that minimum data version number in first data to be synchronized with should Minimum data version number and the initial data version in first gap of initial data version number and second data to be synchronized Number the second gap;
If first gap is less than second gap, it is determined that first data to be synchronized are as target number to be synchronized According to;
If first gap is greater than second gap, it is determined that second data to be synchronized are as target number to be synchronized According to;
If first gap is equal to second gap, first data to be synchronized or second number to be synchronized are arbitrarily determined According to as target data to be synchronized.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (15)

1. a kind of method of data synchronization, the scene applied to synchronous game ranking list data characterized by comprising
First time threshold is arranged in primary server;
The primary server caches the first data to be synchronized, and it is all that first data to be synchronized, which are with the first time threshold, The more new data of the joint account of phase storage, it is corresponding complete that first data to be synchronized carry first data to be synchronized Portion's versions of data number;
The primary server receives the data synchronization request of child servers;
When time interval between the data synchronization request and previous secondary data synchronization request is less than or equal to described first Between threshold value when, the described first data to be synchronized are sent to the child servers by the primary server, so that the sub-services Device updates original ranking list data according to the described first data to be synchronized.
2. the method according to claim 1, wherein the data synchronization request and previous secondary data synchronize ask When time cycle between asking is greater than the first time threshold, total data is sent to the sub-services by the primary server Device.
3. the method according to claim 1, wherein the described first data to be synchronized are sent out in the primary server After giving the child servers, the method also includes:
The primary server determines that the child servers are active server;
The primary server pushes more new data to the active server in preset time range.
4. the method according to claim 1, wherein the method also includes:
Default second time threshold is arranged in the primary server;
The primary server caches the second data to be synchronized, and it is all that second data to be synchronized, which are with the second time threshold, The more new data of the joint account of phase storage, second data to be synchronized carry whole numbers in second data to be synchronized According to version number;
After the primary server receives the data synchronization request of child servers, the method also includes:
The primary server according in the described first data to be synchronized minimum data version number, in second data to be synchronized Minimum data version number and the initial data version number determine target data to be synchronized;
The primary server sends the target data to be synchronized to the child servers.
5. according to the method described in claim 4, it is characterized in that, the primary server is according in the described first data to be synchronized Minimum data version number, the minimum data version number in second data to be synchronized and the initial data version number determine Target data to be synchronized include:
The primary server successively judges minimum data version number in the described first data to be synchronized and described second to be synchronized Whether the minimum data version number in data is less than the initial data version number;
If minimum data version number in first data to be synchronized is less than or equal to the initial data version number and described Minimum data version number in second data to be synchronized is greater than the initial data version number, then described in the primary server determination First data to be synchronized are as target data to be synchronized;
If minimum data version number in second data to be synchronized is less than or equal to the initial data version number and described Minimum data version number in first data to be synchronized is greater than the initial data version number, then described in the primary server determination Second data to be synchronized are as target data to be synchronized;
If the minimum data version in minimum data version number and first data to be synchronized in second data to be synchronized This number is respectively less than or is equal to the initial data version number, then the primary server determines in the described first data to be synchronized most Minimum data version in the first gap and second data to be synchronized of small data version number and the initial data version number This number with the second gap of the initial data version number;
If first gap is less than second gap, the primary server determines the described first data to be synchronized as institute State target data to be synchronized;
If first gap is greater than second gap, the primary server determines the described second data to be synchronized as institute State target data to be synchronized;
If first gap be equal to second gap, the primary server arbitrarily determine the described first data to be synchronized or Second data to be synchronized are as target data to be synchronized.
6. the method according to any one of claims 1 to 5, which is characterized in that the primary server caching first is to same Step data includes:
The primary server establishes preceding data structure and rear data structure;
First more new data is stored in the preceding data structure by the primary server, and the described first more new data is the period 1 Interior more new data, the cycle duration are the first time threshold;
When updating duration more than or equal to the period 1, the primary server updates data conversion storage in institute for described first Rear data structure is stated, and the second more new data is stored in the preceding data structure, the described second more new data is second round Interior more new data;
When the update duration is greater than or equal to the second round, the primary server deletes the described first more new data; Data conversion storage data structure after described is updated by described second, and third more new data is stored in the preceding data structure, The third more new data is the more new data in the period 3.
7. the method according to any one of claims 1 to 5, which is characterized in that the versions of data number is used to indicate not Corresponding ranking list data in the same time.
8. a kind of data synchronization unit characterized by comprising
Setup module, for first time threshold to be arranged;
Memory module, for caching the first data to be synchronized, first data to be synchronized are to be arranged with the setup module First time threshold is the more new data of the joint account of period storage, first data to be synchronized carry described first to Total data version number in synchrodata;
Receiving module, for receiving the data synchronization request of child servers, the data synchronization request carries initial data version Number;
Sending module, the time interval between the data synchronization request and previous secondary data synchronization request are less than or equal to institute When stating first time threshold, the described first data to be synchronized that the memory module is stored are sent to the child servers, with So that the child servers update initial data according to the described first data to be synchronized.
9. data synchronization unit according to claim 8, which is characterized in that the sending module is also used in the number When being greater than the first time threshold according to the time interval between synchronization request and previous secondary data synchronization request, by total data It is sent to the child servers.
10. data synchronization unit according to claim 8, which is characterized in that the data synchronization unit further includes processing Module, the processing module, for determining that the child servers are active server;The sending module is also used to default More new data is pushed to the active server in time range.
11. data synchronization unit according to claim 8, which is characterized in that the setup module is also used to be arranged default Second time threshold;
The memory module, is also used to cache the second data to be synchronized, and second data to be synchronized are with the setup module The second time threshold being arranged is the more new data of the joint account of period storage, and second data to be synchronized carry Total data version number in second data to be synchronized;
The processing module, be also used to according in the described first data to be synchronized minimum data version number, described second to same Minimum data version number and the initial data version number in step data determine target data to be synchronized;
The sending module is also used to send the determining target data to be synchronized of the processing module to the sub-services Device.
12. data synchrodata according to claim 11, which is characterized in that the processing module is specifically used for successively Judge the minimum data version in the minimum data version number and second data to be synchronized in the described first data to be synchronized Number whether be less than the initial data version number;
If minimum data version number in first data to be synchronized is less than or equal to the initial data version number and described Minimum data version number in second data to be synchronized is greater than the initial data version number, it is determined that first number to be synchronized According to as target data to be synchronized;
If minimum data version number in second data to be synchronized is less than or equal to the initial data version number and described Minimum data version number in first data to be synchronized is greater than the initial data version number, it is determined that second number to be synchronized According to as target data to be synchronized;
If the minimum data version in minimum data version number and first data to be synchronized in second data to be synchronized This number is respectively less than or is equal to the initial data version number, it is determined that the minimum data version number in first data to be synchronized With in the first gap and second data to be synchronized of the initial data version number minimum data version number and the original Second gap of beginning versions of data number;
If first gap is less than second gap, it is determined that first data to be synchronized are to be synchronized as the target Data;
If first gap is greater than second gap, it is determined that second data to be synchronized are to be synchronized as the target Data;
If first gap is equal to second gap, the described first data to be synchronized or described second are arbitrarily determined to same Step data is as target data to be synchronized.
13. the data synchronization unit according to any one of claim 8 to 12, which is characterized in that the memory module, tool Body is for establishing preceding data structure and rear data structure;
First more new data is stored in the preceding data structure, the described first more new data is the update number in the period 1 According to the cycle duration is the first time threshold;
When updating duration more than or equal to the period 1, data conversion storage data knot after described is updated by described first Structure, and the second more new data is stored in the preceding data structure, the described second more new data is the update number in second round According to;
When the update duration is greater than or equal to the second round, the described first more new data is deleted;More by described second New data unloading data structure after described, and third more new data is stored in the preceding data structure, the third updates Data are the more new data in the period 3.
14. the data synchronization unit according to any one of claim 8 to 12, which is characterized in that the versions of data number It is used to indicate different moments corresponding ranking list data.
15. a kind of data synchronization unit characterized by comprising processor and memory, wherein have in the memory Computer-readable program, the processor is by running the program in the memory, for completing in claim 1 to 7 Described in any item methods.
CN201910309923.8A 2019-04-17 2019-04-17 A kind of method of data synchronization and device Pending CN110038299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910309923.8A CN110038299A (en) 2019-04-17 2019-04-17 A kind of method of data synchronization and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910309923.8A CN110038299A (en) 2019-04-17 2019-04-17 A kind of method of data synchronization and device

Publications (1)

Publication Number Publication Date
CN110038299A true CN110038299A (en) 2019-07-23

Family

ID=67277504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910309923.8A Pending CN110038299A (en) 2019-04-17 2019-04-17 A kind of method of data synchronization and device

Country Status (1)

Country Link
CN (1) CN110038299A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553895A (en) * 2022-04-24 2022-05-27 浙江中控技术股份有限公司 Data synchronization method, system, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018732A1 (en) * 2001-07-16 2003-01-23 Jacobs Dean Bernard Data replication protocol
CN106357782A (en) * 2016-09-29 2017-01-25 苏州科达科技股份有限公司 Multilevel architecture for data synchronization, data synchronization method and fault handling method
CN107172169A (en) * 2017-05-27 2017-09-15 广东欧珀移动通信有限公司 Method of data synchronization, device, server and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018732A1 (en) * 2001-07-16 2003-01-23 Jacobs Dean Bernard Data replication protocol
CN106357782A (en) * 2016-09-29 2017-01-25 苏州科达科技股份有限公司 Multilevel architecture for data synchronization, data synchronization method and fault handling method
CN107172169A (en) * 2017-05-27 2017-09-15 广东欧珀移动通信有限公司 Method of data synchronization, device, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553895A (en) * 2022-04-24 2022-05-27 浙江中控技术股份有限公司 Data synchronization method, system, storage medium and electronic equipment
CN114553895B (en) * 2022-04-24 2022-07-22 浙江中控技术股份有限公司 Data synchronization method, system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN104618155B (en) A kind of virtual machine fault-tolerant method, apparatus and system
CN103297456B (en) Access method and the distributed system of resource is shared under a kind of distributed system
CN114281521B (en) Method, system, equipment and medium for optimizing deep learning heterogeneous resource communication efficiency
CN115880132B (en) Graphics processor, matrix multiplication task processing method, device and storage medium
CN113656176B (en) Cloud equipment distribution method, device and system, electronic equipment, medium and product
CN108744504A (en) The processing method and processing device of game data, game server, games system
CN110740155B (en) Request processing method and device in distributed system
CN113850394B (en) Federal learning method and device, electronic equipment and storage medium
CN109344126A (en) Processing method, device, storage medium and the electronic device of textures
CN111338787B (en) Data processing method and device, storage medium and electronic device
CN111782473A (en) Distributed log data processing method, device and system
CN108228812A (en) Adaptive host node switching method and device
CN109214512A (en) A kind of parameter exchange method, apparatus, server and the storage medium of deep learning
US20100325280A1 (en) Load Balance Connections Per Server In Multi-Core/Multi-Blade System
CN110038299A (en) A kind of method of data synchronization and device
CN106953933B (en) A kind of information push method and device, electronic equipment
CN106447755A (en) Animation rendering system
CN114579311B (en) Method, device, equipment and storage medium for executing distributed computing task
CN108306926B (en) Method and device for pushing gateway service data of Internet of vehicles equipment
CN115277499B (en) Delay parameter determination method and device of MAC (media access control) equipment, hardware platform and medium
CN106980463A (en) The method for controlling quality of service and device of storage system
CN115484233A (en) Method, device, equipment and medium for forwarding link aggregation message in digital communication chip
CN114915516A (en) Communication method and device
CN111045700A (en) Data updating method, device, system, storage medium and electronic equipment
CN112156475B (en) Business data processing method and device, electronic 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190723