CN108270814A - A kind of method of data synchronization and device - Google Patents
A kind of method of data synchronization and device Download PDFInfo
- Publication number
- CN108270814A CN108270814A CN201611261744.4A CN201611261744A CN108270814A CN 108270814 A CN108270814 A CN 108270814A CN 201611261744 A CN201611261744 A CN 201611261744A CN 108270814 A CN108270814 A CN 108270814A
- Authority
- CN
- China
- Prior art keywords
- equipment
- data
- synchronization policy
- synchronization
- differentiation
- 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
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application provides a kind of method of data synchronization and device, to solve the problem of method of data synchronization data transmission of the prior art occupies excessive bandwidth, reduces the synchronous efficiency of differentiation data and poor flexibility.In the method, after first equipment determines that initial data changes, synchronization policy request is sent to the second equipment, receive the synchronization policy that second equipment is sent, and according to the synchronization policy, retrieval meets the differentiation data of the search condition in the initial data, and the differentiation data is synchronized to second equipment.In this way, first equipment only transmits the differentiation data, the bandwidth occupancy of data transmission is reduced, improves the synchronous efficiency of the differentiation data;Also, second equipment allows second equipment to ask for qualified differentiation data to first equipment according to self-demand, so as to improve the flexibility of data synchronization by sending synchronization policy to first equipment.
Description
Technical field
This application involves field of communication technology more particularly to a kind of method of data synchronization and device.
Background technology
In many application scenarios (for example, the system comprising master/slave device or the client comprising central server and distal end
The system at end) in, identical data can be stored in different equipment.Based on certain business needs, these are distributed in difference and set
Standby data needs synchronize processing, i.e., after data within one device change and (are also known as differentiation data), separately
Data in one equipment also will correspondingly generate same variation.This just needs to carry out the data being distributed in distinct device
Synchronization process.
Traditional method of data synchronization includes full dose and synchronizes and two methods of increment synchronization.In full dose synchronous method, number
Total data is sent to not changed second equipment according to changed first equipment, second equipment is by reception
The original data of data cover.In increment synchronization method, preserve identical data the first equipment and the second equipment according to identical
Rule, former data are divided into different data blocks, determine that some data data in the block change in first equipment
Afterwards, by the transmission of data blocks to second equipment, the data block of reception is covered corresponding former number by second equipment
According to block.
By it is discussed above it is found that full dose synchronize and increment synchronization method described in the first equipment can be transmitted across it is more
Redundant data, this can cause data transmission to occupy excessive bandwidth, reduce the synchronous efficiency of differentiation data.In addition, upper
It states in method, is to determine that data changes in the first equipment, actively set after generating differentiation data to described second
Preparation send total data or the data block comprising differentiation data, but the reception that second equipment can only be passive these numbers
According to causing above-mentioned method of data synchronization flexibility poor.
Invention content
The application provides a kind of method of data synchronization and device, to solve method of data synchronization data of the prior art
The problem of transmitting and occupy excessive bandwidth, reducing the synchronous efficiency of differentiation data and poor flexibility.
The specific technical solution that the application provides is as follows:
In a first aspect, the embodiment of the present application provides a kind of method of data synchronization, including:
After first equipment determines that the initial data of itself storage changes, synchronization policy request is sent to the second equipment,
Second equipment is stored with the initial data;
First equipment receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data
Search condition;
First equipment is retrieved described in meeting according to the synchronization policy in the initial data after changing
The differentiation data of search condition, and the differentiation data is synchronized to second equipment.
With reference to first aspect, in the first possible realization method of first aspect, first equipment determines itself
The initial data of storage changes, including:
After first equipment performs change operation to the initial data, log information is generated and by the log information
It is saved in log information file;Wherein, the relevant parameter of the change operation, the parameter packet are included in the log information
It includes with the next item down or combination:The action type of the change operation, the change operation for data belonging to data type;
When first equipment determines to have newly-increased log information in the log information file, the institute of itself storage is determined
Initial data is stated to change;
First equipment sends the synchronization policy to second equipment and asks, including:
First equipment sends the synchronization policy request for carrying the parameter to second equipment.
With reference to first aspect, the possible realization method of the first of first aspect, second in first aspect are possible
In realization method,
The synchronization policy further includes document format data and storage address;
The differentiation data is synchronized to second equipment by first equipment, including:
The first equipment generation form is the document format data, and the data comprising the differentiation data are literary
Part;
The data file is stored in the corresponding storage location of the storage address by first equipment, and to described
Message is completed in the storage of two equipment transmission data files so that second equipment according to the storage address from the storage location
Download the data file.
With reference to first aspect, the possible realization method of the first of first aspect, the third in first aspect are possible
In realization method, after the differentiation data is synchronized to second equipment by first equipment, further include:
What the first equipment reception second equipment was sent synchronously completes notification message.
Second aspect, the embodiment of the present application provide a kind of method of data synchronization, including:
Second equipment determines synchronization policy after the synchronization policy request of the first equipment transmission is received, wherein, it is described same
Step strategy includes data retrieval condition;The identical initial data is stored in first equipment and the second equipment;
Second equipment sends the synchronization policy to first equipment;
Second equipment obtains what the search condition of first equipment in the synchronization policy retrieved
Differentiation data, and the differentiation data is synchronized in the initial data in second equipment.
With reference to second aspect, in the first possible realization method of second aspect,
The related of change operation is performed to the initial data in the synchronization policy request comprising first equipment to join
Number, the parameter are included with the next item down or combination:The data institute that the action type of the change operation, the change operation are directed to
The data type of category;
Second equipment determines the synchronization policy, including:
Second equipment generates the synchronization policy according to the parameter.
With reference to the first possible realization method of second aspect, second aspect, second in second aspect is possible
In realization method,
The synchronization policy further includes document format data and storage address;Wherein, the document format data is used to lead to
Know that the differentiation data is converted to the data file of the document format data by first equipment, the storage address is used
The data file is stored in the corresponding storage location of the storage address in notifying first equipment;
Second equipment obtains what the search condition of first equipment in the synchronization policy retrieved
Differentiation data, including:
Second equipment is after the data file storage completion message that first equipment is sent is received, according to described
Storage address in synchronization policy downloads the data file.
With reference to the first possible realization method of second aspect, second aspect, second in second aspect is possible
In realization method, the differentiation data is synchronized in the initial data in second equipment in second equipment
Later, the method further includes:
Second equipment synchronously completes notification message to first equipment transmission.
The third aspect, the embodiment of the present application provide a kind of first equipment, including:
Processing unit, the initial data for determining itself storage change;
Transmitting element, for sending synchronization policy request to the second equipment, second equipment is stored with the original number
According to;
Receiving unit, for receiving the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data
Search condition;
The processing unit is additionally operable to according to the synchronization policy, is retrieved in the initial data after changing
Meet the differentiation data of the search condition, and the differentiation data is synchronized to second equipment.
With reference to the third aspect, in the first possible realization method of the third aspect, the processing unit is determining certainly
When the initial data of body storage changes, it is specifically used for:
After performing change operation to the initial data, generate log information and the log information is saved in daily record letter
It ceases in file;Wherein, include the relevant parameter of the change operation in the log information, the parameter include with the next item down or
Combination:The action type of the change operation, the change operation for data belonging to data type;
When determining to have newly-increased log information in the log information file, the initial data hair of itself storage is determined
Changing;
The transmitting element when sending the synchronization policy request to second equipment, is specifically used for:
The synchronization policy request for carrying the parameter is sent to second equipment.
With reference to the first possible realization method of the third aspect, the third aspect, second in the third aspect is possible
In realization method,
The synchronization policy further includes document format data and storage address;
The processing unit when the differentiation data is synchronized to second equipment, is specifically used for:
Generation form is the document format data, and includes the data file of the differentiation data;
The data file is stored in the corresponding storage location of the storage address, and send number to second equipment
It is stored according to file and completes message, so that second equipment downloads the data according to the storage address from the storage location
File.
With reference to the first possible realization method of the third aspect, the third aspect, the third in the third aspect is possible
In realization method, the receiving unit is additionally operable to:
After the differentiation data is synchronized to second equipment by the processing unit, second equipment is received
What is sent synchronously completes notification message.
Fourth aspect, the embodiment of the present application provide a kind of second equipment, including:
Receiving unit, for receiving the synchronization policy request that the first equipment is sent;
Determination unit, for determining synchronization policy, wherein, the synchronization policy includes data retrieval condition;Described first
The identical initial data is stored in equipment and the second equipment;
Transmitting element, for sending the synchronization policy to first equipment;
Processing unit is retrieved for obtaining the search condition of first equipment in the synchronization policy
Differentiation data, and the differentiation data is synchronized in the initial data in second equipment.
With reference to fourth aspect, in the first possible realization method of fourth aspect,
The related of change operation is performed to the initial data in the synchronization policy request comprising first equipment to join
Number, the parameter are included with the next item down or combination:The data institute that the action type of the change operation, the change operation are directed to
The data type of category;
The determination unit when determining the synchronization policy, is specifically used for:
The synchronization policy is generated according to the parameter.
With reference to the first possible realization method of fourth aspect, fourth aspect, second in fourth aspect is possible
In realization method,
The synchronization policy further includes document format data and storage address;Wherein, the document format data is used to lead to
Know that the differentiation data is converted to the data file of the document format data by first equipment, the storage address is used
The data file is stored in the corresponding storage location of the storage address in notifying first equipment;
The receiving unit, is additionally operable to:
It receives the data file storage that first equipment is sent and completes message
The processing unit is retrieved obtaining the search condition of first equipment in the synchronization policy
Differentiation data when, be specifically used for:
After the data file storage completion message for receiving that first equipment is sent in the receiving unit, according to described
Storage address in synchronization policy downloads the data file.
With reference to the first possible realization method of fourth aspect, fourth aspect, second in fourth aspect is possible
In realization method, the transmitting element is additionally operable to:
The differentiation data is synchronized to it in the initial data in second equipment in the processing unit
Afterwards, notification message is synchronously completed to first equipment transmission.
In the embodiment of the present application, after the first equipment determines that initial data changes, synchronization policy is sent to the second equipment
Request receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data retrieval condition, and according to
The synchronization policy retrieves the differentiation data for meeting the search condition, by the differentiation number in the initial data
According to being synchronized to second equipment.In the method, first equipment only transmits the differentiation data, reduces data biography
Defeated bandwidth occupancy improves the synchronous efficiency of the differentiation data;Also, second equipment to described first by setting
Preparation send synchronization policy, and second equipment is allow to ask for qualified difference to first equipment according to self-demand
Change data, so as to improve the flexibility of data synchronization.
Description of the drawings
Fig. 1 is a kind of structure chart of data synchronous system provided by the embodiments of the present application;
Fig. 2 is a kind of flow chart of method of data synchronization provided by the embodiments of the present application;
Fig. 3 is the flow chart of another method of data synchronization provided by the embodiments of the present application;
Fig. 4 is a kind of exemplary flow chart of method of data synchronization provided by the embodiments of the present application;
Fig. 5 is a kind of structure chart of first equipment provided by the embodiments of the present application;
Fig. 6 is a kind of structure chart of second equipment provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail below in conjunction with attached drawing.
The embodiment of the present application provides a kind of method of data synchronization and device, to solve the data side of synchronization of the prior art
In method, the first equipment can be transmitted across more redundant datas, and data transmission is caused to occupy excessive bandwidth, reduces differentiation data
Synchronous efficiency and determine that data changes in first equipment, generate after differentiation data actively to second
Equipment sends total data or the data block comprising differentiation data, but the reception that second equipment can only be passive these numbers
According to the problem of causing method of data synchronization flexibility poor.Wherein, herein described method and apparatus are based on same invention structure
Think, since the principle that method and device solves the problems, such as is similar, the implementation of apparatus and method can repeat part with cross-reference
It repeats no more.
In the embodiment of the present application, after the first equipment determines that initial data changes, synchronization policy is sent to the second equipment
Request receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data retrieval condition, and according to
The synchronization policy retrieves the differentiation data for meeting the search condition, by the differentiation number in the initial data
According to being synchronized to second equipment.In the method, first equipment only transmits the differentiation data, reduces data biography
Defeated bandwidth occupancy improves the synchronous efficiency of the differentiation data;Also, second equipment to described first by setting
Preparation send synchronization policy, and second equipment is allow to ask for qualified difference to first equipment according to self-demand
Change data, so as to improve the flexibility of data synchronization.
In order to more clearly from describe the technical solution of the embodiment of the present application, below in conjunction with the accompanying drawings, to the embodiment of the present application
The method of data synchronization and device of offer are described in detail.
The embodiment of the present application provides a kind of data synchronous system, as shown in Figure 1, the framework of the system includes:First sets
Standby and the second equipment, wherein,
First equipment and second equipment store identical initial data, wherein, first equipment can with but
It is not limited to terminal device, server etc.;Second equipment can be server etc..
First equipment is sent after the initial data for determining itself storage changes to second equipment
Synchronization policy is asked;
Second equipment determines synchronization policy after the synchronization policy request that first equipment is sent is received,
In, the synchronization policy includes data retrieval condition, and the search condition is used for institute of first equipment after changing
It states and data to be synchronized is retrieved in initial data;And the synchronization policy is sent to first equipment;
First equipment is retrieved described in meeting according to the synchronization policy in the initial data after changing
The differentiation data of search condition, and the differentiation data is synchronized to second equipment;
Second equipment obtains what the search condition of first equipment in the synchronization policy retrieved
The differentiation data, and the differentiation data is synchronized in the initial data in second equipment.
By above method, first equipment and second equipment in the data synchronous system just complete number
According to synchronization.In the method, first equipment only transmits the differentiation data, reduces the bandwidth occupancy of data transmission,
Improve the synchronous efficiency of the differentiation data;Also, second equipment to first equipment by sending synchronous plan
Slightly, second equipment is allow to ask for qualified differentiation data to first equipment according to self-demand, so as to
Improve the flexibility that data synchronize.
The data synchronous system can be adapted for the various scenes that identical initial data is preserved in two different equipment
In, for example, the scene of active and standby synchronization, in this scenario, first equipment are main equipment, second equipment is standby equipment;
In another example including the central server scene synchronous with remote client end, in this scenario, first equipment is distant client
It holds, server centered on second equipment.
Optionally, also comprising other first equipment in the data synchronous system, the initial data in each first equipment
Identical with the initial data in second equipment, above-mentioned method of data synchronization realization and institute may be used in any one first equipment
The data for stating the second equipment synchronize.
The embodiment of the present application provides a kind of method of data synchronization, suitable for data synchronous system as shown in Figure 1, in institute
It states in data synchronous system, the first equipment and the second equipment store identical initial data.As shown in fig.2, the tool of this method
Body flow includes:
Step 201:After first equipment determines that the initial data of itself storage changes, set to described second
Preparation send synchronization policy to ask.
Optionally, first equipment determine itself storage the initial data change, can specifically be divided into
Lower two steps:
A, it after first equipment performs change operation to the initial data, generates log information and believes the daily record
Breath is saved in log information file;Wherein, the relevant parameter of the change operation, the parameter are included in the log information
Including with the next item down or combination:The action type of the change operation, the change operation for data belonging to data class
Type;Optionally, the action type can be modification (update), delete (delete) or increase (insert) etc.;The number
Can be audio, video or commodity price etc. according to type;
B, when first equipment determines to have newly-increased log information in the log information file, itself storage is determined
The initial data changes.
Optionally, in above-mentioned steps A, first equipment can supervise the initial data by trigger
Control when performing change operation to the initial data, such as performs the initial data variations such as modification, deletion or increase
During operation, the trigger can be triggered so that first equipment generates the log information and is saved in log information file
In.
In above-mentioned steps B, first equipment can be set with log information file described in real time scan or every first
Fixed cycle (such as 3 minutes) scans the log information file, when in first device scan to the log information file
There are during newly-increased log information, determine that the initial data changes.
By the above method, first equipment can accurately determine the initial data and change in real time, carry
The real-time that high data synchronize, and first equipment can accurately determine the data changed, so that described
The data that first equipment is changed in synchronizing process described in transmission, reduce the transmission of redundant data.
Optionally, after first equipment determines that the initial data changes by the above method, that is, institute is determined
It states in log information file after there is newly-increased log information, first equipment sends to second equipment and carries the operation
The synchronization policy of type and/or the data type is asked, so that second equipment is asked according to the synchronization policy
In the above-mentioned parameter that includes determine synchronization policy.
Step 202:First equipment receives the synchronization policy that second equipment is sent, wherein, the synchronization policy
Include data retrieval condition.
The search condition is retrieved to be synchronized for first equipment in the initial data after changing
Data.
Wherein, the synchronization policy is after first equipment performs step 202, and second equipment is according to described same
What the action type and/or the data type in step strategy request determined.
Step 203:First equipment is retrieved according to the synchronization policy in the initial data after changing
Meet the differentiation data of the search condition, and the differentiation data is synchronized to second equipment.
Optionally, the search condition can be included with the next item down or combination:It is the action type of the change operation, described
Change operation for data belonging to data type, search key information (such as film name, commodity price section etc.).This
Sample, the search condition that first equipment can be provided according to second equipment, accurately retrieving second equipment needs
The differentiation data wanted.
Optionally, the search condition can also include first equipment and the same step number of the second equipment last time execution
According to the time of flow, in this way, first equipment can retrieve last time according to the search condition performs synchrodata flow
The differentiation data for meeting above-mentioned condition in time to the period at current time, so as to fulfill same by once triggering
Step operation, the differentiation data of multiple change operations that second equipment is allow to synchronize in a period of time improve data
Synchronous efficiency.
Optionally, the differentiation data is synchronized to second equipment by first equipment, can be divided into following two
Kind mode:
First way:The differentiation data is sent to second equipment by first equipment, so that described
The direct synchrodata of two equipment.
The second way:When the synchronization policy further includes document format data and storage address, first equipment
Generation form is the document format data, and includes the data file of the differentiation data;
The data file is stored in the corresponding storage location of the storage address by first equipment, and to described
Message is completed in the storage of two equipment transmission data files so that second equipment according to the storage address from the storage location
Download the data file.
Wherein, the storage location can be in first equipment, can also be in other individual equipment.
Optionally, after the differentiation data is synchronized to second equipment by first equipment, described
After two device datas synchronously complete, notification message can be synchronously completed to first equipment transmission, so that first equipment exists
Receive the synchronizing process for synchronously completing and second equipment being determined after notification message.
It is described when the data synchronous system also needs synchronous with second equipment execution data comprising other equipment
Other equipment can also use above-mentioned flow to realize.In order to ensure in the data synchronous system in multiple equipment each equipment with
Second equipment performs the accuracy and high efficiency of synchrodata flow, and each equipment (includes first equipment, subsequently only
Illustrated by taking first equipment as an example) before the synchronization policy request is sent to second equipment, generation synchronizes
Serial number, and during the entire process of the synchronous serial number is present in synchrodata flow, i.e., described synchronization policy request
In also comprising synchronous serial number, message is completed in the data file storage and described synchronously complete also includes institute in notification message
State synchronous serial number.It is in this way, described synchronous by being carried in first equipment and the message of interaction in second equipment
Serial number can improve first equipment efficiency and accuracy synchronous with second equipment realization data.
Using method of data synchronization provided by the embodiments of the present application, after the first equipment determines that initial data changes, to
Second equipment sends synchronization policy request, receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes
Data retrieval condition, and according to the synchronization policy, the differentiation for meeting the search condition is retrieved in the initial data
The differentiation data is synchronized to second equipment by data.In the method, first equipment only transmits the difference
Change data, reduce the bandwidth occupancy of data transmission, improve the synchronous efficiency of the differentiation data;Also, described second
Equipment allows second equipment to be set according to self-demand to described first by sending synchronization policy to first equipment
It is standby to ask for qualified differentiation data, so as to improve the flexibility of data synchronization.
Based on above example, the embodiment of the present application additionally provides another method of data synchronization, suitable for as shown in Figure 1
Data synchronous system, in the data synchronous system, the first equipment and the second equipment store identical initial data.It refers to
Shown in Fig. 3, the idiographic flow of this method includes:
Step 301:Second equipment determines to synchronize after the synchronization policy request that first equipment is sent is received
Strategy, wherein, the synchronization policy includes data retrieval condition.
The search condition is retrieved to be synchronized for first equipment in the initial data after changing
Data.
Optionally, change operation is performed to the initial data comprising first equipment in the synchronization policy request
Relevant parameter, the parameter are included with the next item down or combination:The action type of the change operation, the change operation are directed to
Data type belonging to data;Optionally, the action type can be update, delete or insert etc.;The data
Type can be audio, video or commodity price etc..
Second equipment determines the synchronization policy, and specific method can be:Second equipment is according to the operation
Type and/or the data type generate the synchronization policy.Following two situations can be specifically divided into:
The first situation:Synchronization policy in second equipment is public for multiple equipment in the data synchronous system
In the case of or the data synchronous system only comprising in the case of first equipment and second equipment, described second
Equipment generates the synchronization policy according to the action type and/or the data type.
The second situation:In the case where second equipment sets different synchronization policies for different equipment, institute
State the Internet protocol (Internet Protocol, IP) that second terminal equipment parses the first equipment in the synchronization policy request
Address, and in the IP address of local maintenance and the correspondence of device identification, search the IP address pair with first equipment
The mark of the first equipment answered;
Second equipment is formulated according to the mark of first equipment and parameter generation for first equipment
The synchronization policy.
Since synchronous service demand of second equipment in data synchronization process is different, second equipment
The search condition can be dynamically adjusted, so that second equipment can obtain the differentiation data of synchronous service needs.Example
Such as, the action type of the change operation, the change operation can be directed to by second equipment according to synchronous service demand
Data belonging to data type, one or combination are made in search key information (such as film name, commodity price section etc.)
It is carried in the synchronization policy for the search condition, and by the search condition.
Optionally, without performing synchronization again in a period of time after second equipment is performing a simultaneously operating
During operation, first equipment and the second equipment last time can be performed the time of synchrodata flow by second equipment
It is carried in the synchronization policy as the search condition, the second equipment described in this way can obtain the first equipment retrieval
The last time arrived performs the qualified differentiation data in time to the period at current time of synchrodata flow,
Multiple change operations in a period of time are synchronized so as to fulfill second equipment by once triggering simultaneously operating, is allow
Differentiation data improves the efficiency of data synchronization.
Step 302:Second equipment sends the synchronization policy to first equipment.
Step 303:Second equipment obtains the search condition of first equipment in the synchronization policy
The differentiation data retrieved, and the differentiation data is synchronized in the initial data in second equipment.
Optionally, second equipment obtains search condition inspection of first equipment in the synchronization policy
The differentiation data that rope arrives can specifically be divided into following two situations:
The first situation:When second equipment needs real-time execution data to synchronize flow, second equipment can be with
The differentiation data that first equipment described in real-time reception is sent.
The real-time of the second device data synchronization can be improved by the above method.
The second situation:When second equipment needs asynchronous execution data to synchronize flow, second equipment can be with
Document format data, storage address are carried, and in the data file for receiving the first equipment transmission in the synchronization policy
After message is completed in storage, the storage address in the synchronization policy downloads the data file;Wherein, the data file
Form is described for notifying first equipment that the differentiation data is converted to the data file of the document format data
Storage address is used to notify first equipment that the data file is stored in the corresponding storage location of the storage address.
By the above method, second equipment can adjust data according to synchronous service demand and synchronize flow, improve
The flexibility that data synchronize, in addition, the data file comprising the differentiation data is stored in the storage location, makes institute
It states differentiation data and does not allow easy to be lost, repeatedly download, carry in the case of failed download before so as to fulfill second equipment
The fault-tolerance that high data synchronize.
Optionally, in the above-mentioned methods, second equipment can be according in real time or according to the second setting period execution
The differentiation data is synchronized in the initial data in second equipment, increases second equipment in this way
Initiative can make the second equipment synchrodata more flexible.
In addition, the differentiation data in the data file is being synchronized to second equipment by second equipment
In the initial data in when, first the differentiation data and the initial data can be compared, when by comparing
When determining to have the partial data identical with the initial data in the differentiation data, by the identical partial data mistake
It filters, the data obtained after synchronous filtering, can improve data synchronization efficiency to avoid synchronizing redundant data in this way.
Optionally, second equipment is after the synchronization policy request that first equipment is sent is received, for described
First equipment generates record log, and the record log is stored in record log table, wherein, it is wrapped in the record log
It includes but is not limited to:In the mark of first equipment, step status information, synchronized result status information, the synchronization policy
Described storage address etc..Wherein, the step status information is synchronous with second equipment execution data for first equipment
A certain specific steps in flow, such as the step status information can be that second equipment receives the synchronization policy
Request, second equipment have sent described synchronization policy etc. to first equipment;The synchronized result status information is institute
State the first equipment and second equipment perform a data simultaneously operating as a result, for example, not completing, having completed.
Optionally, it when second equipment performs step 302, can uniformly be obtained at the specified data file acquisition moment
It is unfinished all record logs to take synchronized result status information in the record log;And obtain all record logs
In the corresponding data file of all storage address.The second terminal equipment batch synchronization data can be realized in this way, improved
Synchronous efficiency.
With reference to the record log table, second equipment can be by inquiring the synchronization in the record log table
Result phase information and the step status information determine the state that the data in data synchronization process synchronize, described when determining
When synchronized result status information is does not complete, can the step be continued to execute according to step corresponding to the step status information
Data later synchronize flow, so that data synchronize flow and complete, can cause to count to avoid some data sync breaks in this way
It can not know according to synchronization failure or can not continue, so as to improve the fault-tolerance of data synchronization.
Optionally, the original number being synchronized to the differentiation data in second equipment in second equipment
After in, the method further includes:
Second equipment synchronously completes notification message to first equipment transmission.
Optionally, when second equipment often complete one it is subsynchronous or often carry out a synchronizing step, real-time update institute
Record log table is stated, so that second equipment monitors synchronizing process according to the record log table.
Optionally, when the data synchronous system also needs second equipment and the other equipment comprising other equipment
When performing data synchronization, second equipment can also use above-mentioned flow to realize.
In addition, in above-mentioned data synchronous system, in order to ensure each to be set in multiple equipment in the data synchronous system
The standby accuracy and high efficiency that synchrodata flow is performed with second equipment, each equipment (comprising first equipment, after
It is continuous only to be illustrated by taking first equipment as an example) before the synchronization policy request is sent to second equipment, generation
Synchronous serial number.And during the entire process of the synchronous serial number is present in synchrodata flow, i.e., described first equipment
The synchronous serial number is carried in synchronization policy request and data file storage is completed in message.So that institute
State the second equipment get after the synchronous serial number the synchronous serial number is carried it is in the synchronization policy and described
It synchronously completes in notification message, and second equipment is directed to the institute of first equipment according to the synchronous serial number generation
Record log is stated, the synchronous serial number is recorded in the synchronization log table.
In the above-mentioned methods, it is described same by being carried in the message of interaction in first equipment and second equipment
Serial number is walked, first equipment efficiency and accuracy synchronous with second equipment realization data can be improved.
Optionally, when updating the record log table, second equipment is according to inciting somebody to action the synchronous serial number
What newer record log was updated.The second equipment described in this way can just can determine that described first by a record log
The data synchronization process of equipment and second equipment.
Using method of data synchronization provided by the embodiments of the present application, second equipment is receiving the first equipment hair
After the synchronization policy request sent, synchronization policy is determined, wherein, the synchronization policy includes data retrieval condition;And by described
One equipment is synchronized to according to the differentiation data that the search condition retrieves in the initial data in second equipment.
In the method, first equipment only transmits the differentiation data, reduces the bandwidth occupancy of data transmission, improves institute
State the synchronous efficiency of differentiation data;Also, second equipment is made described by sending synchronization policy to first equipment
Second equipment can ask for qualified differentiation data according to self-demand to first equipment, same so as to improve data
The flexibility of step.
Based on above example, the embodiment of the present application provides a kind of example of method of data synchronization, which is suitable for
Data synchronous system as shown in Figure 1, in the data synchronous system, the first equipment and the second equipment store identical original
Data.As shown in fig.4, the exemplary idiographic flow includes:
Step 401:After first equipment performs change operation to the initial data, log information is generated and by described in
Log information is saved in log information file.
Wherein, include the relevant parameter of the change operation in the log information, the parameter include with the next item down or
Combination:The action type of the change operation, the change operation for data belonging to data type.
Step 402:When first equipment determines to have newly-increased log information in the log information file, itself is determined
The initial data of storage changes.
Step 403:First equipment sends synchronization policy request to the second equipment, wherein in synchronization policy request
Carry the parameter.
Step 404:The parameter during second equipment is asked according to the synchronization policy generates synchronization policy.
Wherein, the synchronization policy includes data retrieval condition, and the search condition is occurring for first equipment
Data to be synchronized are retrieved in the initial data after variation;Further include document format data, storage address, the data text
Part form is used to notify first equipment that the differentiation data is converted to the data file of the document format data, institute
Storage address is stated for notifying first equipment that the data file is stored in the corresponding storage location of the storage address.
Step 405:The synchronization policy is sent to first equipment by second equipment.
Step 406:First equipment is retrieved according to the synchronization policy in the initial data after changing
Meet the differentiation data of the search condition.
Step 407:The first equipment generation form is the document format data, and include the differentiation data
Data file.
Step 408:The data file is stored in the corresponding storage location of the storage address by first equipment.
Step 409:First equipment stores to the second equipment transmission data file and completes message, so that described the
Two equipment download the data file according to the storage address from the storage location.
Step 410:Storage address of second equipment in the synchronization policy downloads the data file.
Step 411:The differentiation data in the data file is synchronized to described second and set by second equipment
In the initial data in standby.
Optionally, second equipment is set the differentiation data in the data file is synchronized to described second
When in the initial data in standby, first the differentiation data and the initial data can be compared, when passing through ratio
When relatively determining to have the partial data identical with the initial data in the differentiation data, by the identical partial data
It filters, the data obtained after synchronous filtering, can improve data synchronization efficiency to avoid synchronizing redundant data in this way.
Step 412:Second equipment synchronously completes notification message to first equipment transmission.
Using method of data synchronization provided by the embodiments of the present application, after the first equipment determines that initial data changes, to
Second equipment sends synchronization policy request, receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes
Data retrieval condition, the search condition is retrieved for first equipment in the initial data after changing to be treated together
Data of step, and according to the synchronization policy, in the initial data retrieval meet the differentiation data of the search condition,
The differentiation data is synchronized to second equipment.In the method, first equipment only transmits the differentiation number
According to reducing the bandwidth occupancy of data transmission, improve the synchronous efficiency of the differentiation data;Also, second equipment
By sending synchronization policy to first equipment, allow second equipment according to self-demand to the first equipment rope
Qualified differentiation data is wanted, so as to improve the flexibility of data synchronization.
Based on above example, the embodiment of the present application provides a kind of first equipment, which, which has, realizes such as Fig. 2
The function of shown a kind of method of data synchronization, as shown in figure 5, first equipment 500 includes:Processing unit 501, transmitting element
502 and receiving unit 503, wherein,
The processing unit 501, the initial data for determining itself storage change;
The transmitting element 502, for sending synchronization policy request to the second equipment, second equipment is stored with described
Initial data;
The receiving unit 503, for receiving the synchronization policy that second equipment is sent, wherein, the synchronization policy
Include data retrieval condition;
The processing unit 501 is additionally operable to according to the synchronization policy, is examined in the initial data after changing
The differentiation data of search condition described in Suo Fuhe, and the differentiation data is synchronized to second equipment.
Optionally, the processing unit 501, it is specific to use when the initial data for determining itself storage changes
In:
After performing change operation to the initial data, generate log information and the log information is saved in daily record letter
It ceases in file;Wherein, include the relevant parameter of the change operation in the log information, the parameter include with the next item down or
Combination:The action type of the change operation, the change operation for data belonging to data type;
When determining to have newly-increased log information in the log information file, the initial data hair of itself storage is determined
Changing;
The transmitting element 502 when sending the synchronization policy request to second equipment, is specifically used for:
The synchronization policy request for carrying the parameter is sent to second equipment.
Optionally, the synchronization policy further includes document format data and storage address;
The processing unit 501, when the differentiation data is synchronized to second equipment, is specifically used for:
Generation form is the document format data, and includes the data file of the differentiation data;
The data file is stored in the corresponding storage location of the storage address, and send number to second equipment
It is stored according to file and completes message, so that second equipment downloads the data according to the storage address from the storage location
File.
Optionally, the receiving unit 503, is additionally operable to:
After the differentiation data is synchronized to second equipment by the processing unit 501, described second is received
What equipment was sent synchronously completes notification message.
Using the first equipment provided by the embodiments of the present application, after determining that initial data changes, sent to the second equipment
Synchronization policy is asked, and receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data retrieval item
Part, and according to the synchronization policy, the differentiation data for meeting the search condition is retrieved in the initial data, by described in
Differentiation data is synchronized to second equipment.In the method, first equipment only transmits the differentiation data, reduces
The bandwidth occupancy of data transmission improves the synchronous efficiency of the differentiation data;Also, second equipment is by institute
It states the first equipment and sends synchronization policy, second equipment is allow to be asked for according to self-demand to first equipment and meets item
The differentiation data of part, so as to improve the flexibility of data synchronization.
Based on above example, the embodiment of the present application provides a kind of second equipment, which, which has, realizes such as Fig. 3
The function of shown a kind of method of data synchronization, as shown in fig. 6, second equipment 600 includes:Receiving unit 601, determination unit
602nd, transmitting element 603 and processing unit 604, wherein,
The receiving unit 601, for receiving the synchronization policy request that the first equipment is sent;
The determination unit 602, for determining synchronization policy, wherein, the synchronization policy includes data retrieval condition;Institute
It states in the first equipment and the second equipment 600 and is stored with the identical initial data;
The transmitting element 603, for sending the synchronization policy to first equipment;
The processing unit 604, for obtaining the search condition of first equipment in the synchronization policy
The differentiation data retrieved, and the differentiation data is synchronized in the initial data in second equipment.
Optionally, change operation is performed to the initial data comprising first equipment in the synchronization policy request
Relevant parameter, the parameter are included with the next item down or combination:The action type of the change operation, the change operation are directed to
Data type belonging to data;
The determination unit 602, when determining the synchronization policy, is specifically used for:
The synchronization policy is generated according to the parameter.
Optionally, the synchronization policy further includes document format data and storage address;Wherein, the document format data
For notifying first equipment that the differentiation data is converted to the data file of the document format data, the storage
Address is used to notify first equipment that the data file is stored in the corresponding storage location of the storage address;
The receiving unit 601, is additionally operable to:
It receives the data file storage that first equipment is sent and completes message
The processing unit 604 is obtaining search condition inspection of first equipment in the synchronization policy
During the differentiation data that rope arrives, it is specifically used for:
After the data file storage completion message for receiving that first equipment is sent in the receiving unit 601, according to
Storage address in the synchronization policy downloads the data file.
The optional transmitting element 603, is additionally operable to:
The original number being synchronized to the differentiation data in the processing unit 604 in second equipment 600
After in, notification message is synchronously completed to first equipment transmission.
Using the second equipment provided by the embodiments of the present application, after the synchronization policy request of the first equipment transmission is received,
Determine synchronization policy, wherein, the synchronization policy includes data retrieval condition;And by first equipment according to the retrieval item
The differentiation data that part retrieves is synchronized in the initial data in second equipment.In the method, described first
Equipment only transmits the differentiation data, reduces the bandwidth occupancy of data transmission, improves the synchronization of the differentiation data
Efficiency;Also, second equipment allows second equipment according to certainly by sending synchronization policy to first equipment
Body demand asks for qualified differentiation data to first equipment, so as to improve the flexibility of data synchronization.
In conclusion using method of data synchronization provided in an embodiment of the present invention, the first equipment determines initial data
After variation, synchronization policy request is sent to the second equipment, receives the synchronization policy that second equipment is sent, wherein, it is described same
Step strategy includes data retrieval condition, and according to the synchronization policy, is retrieved in the initial data and meet the retrieval item
The differentiation data is synchronized to second equipment by the differentiation data of part.In the method, first equipment only passes
The defeated differentiation data reduces the bandwidth occupancy of data transmission, improves the synchronous efficiency of the differentiation data;And
And second equipment allows second equipment according to self-demand by sending synchronization policy to first equipment
Qualified differentiation data is asked for first equipment, so as to improve the flexibility of data synchronization.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out the embodiment of the present application various modification and variations without departing from this Shen
Please embodiment spirit and scope.In this way, if these modifications and variations of the embodiment of the present application belong to the application claim
And its within the scope of equivalent technologies, then the application is also intended to include these modifications and variations.
Claims (14)
1. a kind of method of data synchronization, which is characterized in that including:
After first equipment determines that the initial data of itself storage changes, synchronization policy request is sent to the second equipment, it is described
Second equipment is stored with the initial data;
First equipment receives the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data retrieval
Condition;
First equipment is retrieved in the initial data after changing according to the synchronization policy and meets the retrieval
The differentiation data of condition, and the differentiation data is synchronized to second equipment.
2. the method as described in claim 1, which is characterized in that first equipment determines the initial data of itself storage
It changes, including:
After first equipment performs change operation to the initial data, generate log information and preserve the log information
Into log information file;Wherein, include the relevant parameter of the change operation in the log information, the parameter include with
The next item down or combination:The action type of the change operation, the change operation for data belonging to data type;
When first equipment determines to have newly-increased log information in the log information file, the original of itself storage is determined
Beginning data change;
First equipment sends the synchronization policy to second equipment and asks, including:
First equipment sends the synchronization policy request for carrying the parameter to second equipment.
3. method as claimed in claim 1 or 2, which is characterized in that
The synchronization policy further includes document format data and storage address;
The differentiation data is synchronized to second equipment by first equipment, including:
The first equipment generation form is the document format data, and include the data file of the differentiation data;
The data file is stored in the corresponding storage location of the storage address, and set to described second by first equipment
Preparation send data file storage to complete message, so that second equipment is downloaded according to the storage address from the storage location
The data file.
4. method as claimed in claim 1 or 2, which is characterized in that the differentiation data is synchronized to by first equipment
After second equipment, further include:
What the first equipment reception second equipment was sent synchronously completes notification message.
5. a kind of method of data synchronization, which is characterized in that including:
Second equipment determines synchronization policy after the synchronization policy request of the first equipment transmission is received, wherein, the synchronous plan
Slightly include data retrieval condition;The identical initial data is stored in first equipment and the second equipment;
Second equipment sends the synchronization policy to first equipment;
Second equipment obtains the difference that the search condition of first equipment in the synchronization policy retrieves
Change data, and the differentiation data is synchronized in the initial data in second equipment.
6. method as claimed in claim 5, which is characterized in that
Perform the relevant parameter of change operation, institute in the synchronization policy request to the initial data comprising first equipment
Parameter is stated to include with the next item down or combination:The action type of the change operation, the change operation for data belonging to
Data type;
Second equipment determines the synchronization policy, including:
Second equipment generates the synchronization policy according to the parameter.
7. such as method described in claim 5 or 6, which is characterized in that
The synchronization policy further includes document format data and storage address;Wherein, the document format data is used to notify institute
The data file that the differentiation data is converted to the document format data by the first equipment is stated, the storage address is used to lead to
Know that the data file is stored in the corresponding storage location of the storage address by first equipment;
Second equipment obtains the difference that the search condition of first equipment in the synchronization policy retrieves
Change data, including:
Second equipment is after the data file storage completion message that first equipment is sent is received, according to the synchronization
Storage address in strategy downloads the data file.
8. such as method described in claim 5 or 6, which is characterized in that synchronize the differentiation data in second equipment
After into the initial data in second equipment, the method further includes:
Second equipment synchronously completes notification message to first equipment transmission.
9. a kind of first equipment, which is characterized in that including:
Processing unit, the initial data for determining itself storage change;
Transmitting element, for sending synchronization policy request to the second equipment, second equipment is stored with the initial data;
Receiving unit, for receiving the synchronization policy that second equipment is sent, wherein, the synchronization policy includes data retrieval
Condition;
The processing unit is additionally operable to according to the synchronization policy, is retrieved and is met in the initial data after changing
The differentiation data of the search condition, and the differentiation data is synchronized to second equipment.
10. the first equipment as claimed in claim 9, which is characterized in that the processing unit is being determined described in itself storage
When initial data changes, it is specifically used for:
After performing change operation to the initial data, generate log information and the log information is saved in log information text
In part;Wherein, the relevant parameter of the change operation is included in the log information, the parameter is included with the next item down or group
It closes:The action type of the change operation, the change operation for data belonging to data type;
When determining to have newly-increased log information in the log information file, determine that the initial data of itself storage becomes
Change;
The transmitting element when sending the synchronization policy request to second equipment, is specifically used for:
The synchronization policy request for carrying the parameter is sent to second equipment.
11. the first equipment as described in claim 9 or 10, which is characterized in that
The synchronization policy further includes document format data and storage address;
The processing unit when the differentiation data is synchronized to second equipment, is specifically used for:
Generation form is the document format data, and includes the data file of the differentiation data;
The data file is stored in the corresponding storage location of the storage address, and literary to the second equipment transmission data
Message is completed in part storage, so that second equipment downloads the data text according to the storage address from the storage location
Part.
12. a kind of second equipment, which is characterized in that including:
Receiving unit, for receiving the synchronization policy request that the first equipment is sent;
Determination unit, for determining synchronization policy, wherein, the synchronization policy includes data retrieval condition;First equipment
The identical initial data with being stored in the second equipment;
Transmitting element, for sending the synchronization policy to first equipment;
Processing unit, for obtaining the difference that the search condition of first equipment in the synchronization policy retrieves
Change data, and the differentiation data is synchronized in the initial data in second equipment.
13. the second equipment as claimed in claim 12, which is characterized in that
Perform the relevant parameter of change operation, institute in the synchronization policy request to the initial data comprising first equipment
Parameter is stated to include with the next item down or combination:The action type of the change operation, the change operation for data belonging to
Data type;
The determination unit when determining the synchronization policy, is specifically used for:
The synchronization policy is generated according to the parameter.
14. the second equipment as described in claim 12 or 13, which is characterized in that
The synchronization policy further includes document format data and storage address;Wherein, the document format data is used to notify institute
The data file that the differentiation data is converted to the document format data by the first equipment is stated, the storage address is used to lead to
Know that the data file is stored in the corresponding storage location of the storage address by first equipment;
The receiving unit, is additionally operable to:
It receives the data file storage that first equipment is sent and completes message
The processing unit, in the difference that the search condition of acquisition first equipment in the synchronization policy retrieves
During alienation data, it is specifically used for:
After the data file storage completion message for receiving that first equipment is sent in the receiving unit, according to the synchronization
Storage address in strategy downloads the data file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611261744.4A CN108270814A (en) | 2016-12-30 | 2016-12-30 | A kind of method of data synchronization and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611261744.4A CN108270814A (en) | 2016-12-30 | 2016-12-30 | A kind of method of data synchronization and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108270814A true CN108270814A (en) | 2018-07-10 |
Family
ID=62755065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611261744.4A Pending CN108270814A (en) | 2016-12-30 | 2016-12-30 | A kind of method of data synchronization and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108270814A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558448A (en) * | 2018-10-10 | 2019-04-02 | 北京海数宝科技有限公司 | Data processing method, device, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101370032A (en) * | 2008-09-09 | 2009-02-18 | 中兴通讯股份有限公司 | Modification log maintenance method and apparatus for data synchronization |
CN101436207A (en) * | 2008-12-16 | 2009-05-20 | 浪潮通信信息系统有限公司 | Data restoring and synchronizing method based on log snapshot |
CN101459503A (en) * | 2007-12-12 | 2009-06-17 | 华为技术有限公司 | Method and device for implementing data synchronization |
CN101656624A (en) * | 2008-08-18 | 2010-02-24 | 中兴通讯股份有限公司 | Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method |
CN101778134A (en) * | 2010-01-11 | 2010-07-14 | 青岛海信移动通信技术股份有限公司 | Data synchronization method and mobile communication terminal |
US20140013008A1 (en) * | 2012-07-05 | 2014-01-09 | Eric Lazarus | Managing data in a data queue including synchronization of media on multiple devices |
CN103701913A (en) * | 2013-12-30 | 2014-04-02 | 优视科技有限公司 | Data synchronization method and device |
CN106254094A (en) * | 2016-07-19 | 2016-12-21 | 中国银联股份有限公司 | A kind of method of data synchronization and system |
-
2016
- 2016-12-30 CN CN201611261744.4A patent/CN108270814A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459503A (en) * | 2007-12-12 | 2009-06-17 | 华为技术有限公司 | Method and device for implementing data synchronization |
CN101656624A (en) * | 2008-08-18 | 2010-02-24 | 中兴通讯股份有限公司 | Multi-node application-level disaster recovery system and multi-node application-level disaster recovery method |
CN101370032A (en) * | 2008-09-09 | 2009-02-18 | 中兴通讯股份有限公司 | Modification log maintenance method and apparatus for data synchronization |
CN101436207A (en) * | 2008-12-16 | 2009-05-20 | 浪潮通信信息系统有限公司 | Data restoring and synchronizing method based on log snapshot |
CN101778134A (en) * | 2010-01-11 | 2010-07-14 | 青岛海信移动通信技术股份有限公司 | Data synchronization method and mobile communication terminal |
US20140013008A1 (en) * | 2012-07-05 | 2014-01-09 | Eric Lazarus | Managing data in a data queue including synchronization of media on multiple devices |
CN103701913A (en) * | 2013-12-30 | 2014-04-02 | 优视科技有限公司 | Data synchronization method and device |
CN106254094A (en) * | 2016-07-19 | 2016-12-21 | 中国银联股份有限公司 | A kind of method of data synchronization and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558448A (en) * | 2018-10-10 | 2019-04-02 | 北京海数宝科技有限公司 | Data processing method, device, computer equipment and storage medium |
CN109558448B (en) * | 2018-10-10 | 2021-04-06 | 北京海数宝科技有限公司 | Data processing method, data processing device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107483627A (en) | A kind of file distributing, method for down loading, Distributor, client and system | |
EP3063925B1 (en) | Synchronizing event history for multiple clients | |
CN103544303B (en) | A kind of method of data synchronization, system and equipment | |
CN105187950B (en) | A kind of method, apparatus and system that video file plays | |
CN104184756A (en) | Data synchronization method, device and system | |
US11265182B2 (en) | Messaging to enforce operation serialization for consistency of a distributed data structure | |
US11212342B2 (en) | Merge trees for collaboration | |
CN110245181A (en) | Data synchronous synchronous method, device and computer storage medium | |
CN111831748A (en) | Data synchronization method, device and storage medium | |
JP6116240B2 (en) | Transmission device, transmission method, and program | |
CN105335186B (en) | Data downloading management method and system | |
CN106911769B (en) | Cloud platform routing data processing method and physical server of cloud platform | |
CN110113495A (en) | Long-range control method, device, electronic equipment and the system of APP | |
CN111222008A (en) | Terminal information management method and device, electronic equipment and medium | |
CN108628901A (en) | A kind of data-updating method and device | |
CN111698281B (en) | Resource downloading method and device, electronic equipment and storage medium | |
CN111008209B (en) | Data reconciliation method, device and system, storage medium and electronic device | |
CN108270814A (en) | A kind of method of data synchronization and device | |
CN108696443A (en) | A kind of method, apparatus, equipment and storage medium that terminal data synchronizes | |
CN111147226B (en) | Data storage method, device and storage medium | |
WO2016197897A1 (en) | Converged communication interaction method, device and system | |
JP2007299019A (en) | Data communication system, server device, data communication method used therefor, and program thereof | |
CN105933352B (en) | Method of data synchronization, client and system between client-based server | |
CN112738153B (en) | Gateway selection method, system, device, server and medium in service system | |
CN109213955B (en) | Data processing method and related equipment |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180710 |