CN107145562A - A kind of method of data synchronization, apparatus and system - Google Patents
A kind of method of data synchronization, apparatus and system Download PDFInfo
- Publication number
- CN107145562A CN107145562A CN201710301920.0A CN201710301920A CN107145562A CN 107145562 A CN107145562 A CN 107145562A CN 201710301920 A CN201710301920 A CN 201710301920A CN 107145562 A CN107145562 A CN 107145562A
- Authority
- CN
- China
- Prior art keywords
- target
- data
- data warehouse
- target data
- file
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- 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)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiments of the invention provide a kind of method of data synchronization, apparatus and system, system includes source data warehouse, default storage region and the target data warehouse, wherein, the default storage region is used to store history synchronous documents, the history synchronous documents carry the mark of data, and method includes:Determine the target identification of target data to be synchronized;The object synchronization file whether being stored with corresponding to target identification in the default storage region of detection;When be stored with default storage region the object synchronization file corresponding to the target identification when, obtain the object synchronization file in default storage region;By the updating target data in acquired object synchronization file to target data warehouse.The scheme provided using the embodiment of the present invention, can reduce source data warehouse burden, and improve data synchronization efficiency.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of method of data synchronization, apparatus and system.
Background technology
In the prior art, a kind of common method of data synchronization is data warehouse synchronous method, i.e., by target data warehouse
Data are synchronized with source data depot data, wherein, be stored with latest data in source data warehouse.Existing data warehouse is same
The process of one step process is:Target data warehouse sends in data synchronization request, data synchronization request to source data warehouse and carried
The target identification of target data to be synchronized;Then, source data warehouse is exported from source data warehouse according to the target identification and is somebody's turn to do
Target data is sent to target data warehouse to object synchronization file, and by the object synchronization file;And then, target data warehouse
The object synchronization file is received, and by data Cun Chudao target data warehouses in the object synchronization file, then deletes the mesh
Mark synchronous documents.
When the quantity of target data warehouse is multiple, the data syn-chronization between each target data warehouse is separate
's.If each target data warehouse target data to be updated is the same, each target data warehouse can be to source number
Data synchronization request is sent according to warehouse, source data warehouse needs every time to respond data synchronization request, like this, just
Add the burden in source data warehouse.Also, source data warehouse often receives data synchronization request, it can all perform from source data storehouse
Target data is exported in storehouse to object synchronization file, the step of object synchronization file is sent to target data warehouse again afterwards.
Like this, the duration that target data warehouse carries out data syn-chronization will be increased, data synchronization efficiency is relatively low.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method of data synchronization, apparatus and system, to reduce source data storehouse
Storehouse is born, and improves data synchronization efficiency.Concrete technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of method of data synchronization, applied to the mesh in data synchronous system
Data warehouse is marked, the data synchronous system includes source data warehouse, default storage region and the target data warehouse, its
In, the default storage region is used for history synchronous documents, and the history synchronous documents carry the mark of data, methods described
Including:
Obtain the target identification of target data to be synchronized;
The object synchronization file whether being stored with corresponding to the target identification in the default storage region of detection;
When be stored with default storage region the object synchronization file corresponding to the target identification when, obtain described default
The object synchronization file in storage region;
By the updating target data in the acquired object synchronization file to the target data warehouse.
Alternatively, methods described also includes:
When be not stored with default storage region the object synchronization file corresponding to the target identification when, to source data storehouse
Storehouse, which is sent, carries the data synchronization request of the target identification, to cause the source data warehouse to receive the data same
After step request, the object synchronization file is generated based on the target data with the target identification, and be sent to described
Target data warehouse;
The object synchronization file that the source data warehouse is sent is received, and by received object synchronization file
Updating target data to the target data warehouse.
Alternatively, methods described also includes:
Whether verification storage is consistent with the target data in source data warehouse to the target data of target data warehouse, if
It is inconsistent, the step of returning to source data warehouse transmission data synchronization request.
Alternatively, the step for the object synchronization file corresponding to the target identification that is stored with default storage region is detected
After rapid, it is described obtain in the default storage region the object synchronization file the step of before, methods described also includes:
Mark is locked to object synchronization file addition;
It is described obtain in the default storage region the object synchronization file the step of after, methods described is also wrapped
Include:The locking of the synchronous documents is identified and removed.
To reach above-mentioned purpose, second aspect, the embodiment of the present invention additionally provides a kind of data synchronization unit, applied to number
According to the target data warehouse in synchronization system, the data synchronous system includes source data warehouse, presets storage region and described
Target data warehouse, wherein, the default storage region is used for history synchronous documents, and the history synchronous documents carry data
Mark, described device includes:
Identify determining module, the target identification for determining target data to be synchronized;
File detection module, for detecting the target whether being stored with corresponding to the target identification in default storage region
Synchronous documents, when the test results is yes, trigger file acquisition module;
The file acquisition module, for obtaining the object synchronization file in the default storage region;
Data update module, for by the updating target data in the acquired object synchronization file to the target
Data warehouse.
Alternatively, described device also includes:
Request sending module, the data synchronization request of the target identification is carried for being sent to source data warehouse, with
So that the source data warehouse is after the data synchronization request is received, based on the number of targets with the target identification
According to the generation object synchronization file, and it is sent to the target data warehouse;
File reception module, for receiving the object synchronization file that the source data warehouse is sent, and will be received
To object synchronization file in updating target data to the target data warehouse.
Alternatively, described device also includes:
Data check module, for verifying storage to the target data and the target in source data warehouse of target data warehouse
Whether data are consistent, if inconsistent, trigger the request sending module.
Alternatively, inspection described device also includes:Module is locked, for detecting default storage in the file detection module
It is stored with region after the object synchronization file corresponding to the target identification, obtains described pre- in the file acquisition module
If before the object synchronization file in storage region, mark is locked to object synchronization file addition;
Unlocked state, it is literary for the object synchronization in obtaining the default storage region in the file acquisition module
After part, the locking of the synchronous documents is identified and removed.
To reach above-mentioned purpose, the third aspect, the embodiment of the present invention additionally provides a kind of data synchronous system, the data
Synchronization system includes source data warehouse, default storage region and target data warehouse, wherein, the default storage region is used to go through
History synchronous documents, the history synchronous documents carry the mark of data;
The target data warehouse, the target identification of target data to be synchronized for obtaining;Detect the default storage
The object synchronization file whether being stored with region corresponding to the target identification;When the mesh that is stored with default storage region
During object synchronization file corresponding to mark, the object synchronization file in the default storage region is obtained;It will be obtained
Updating target data in the object synchronization file taken is to the target data warehouse;When in the default storage region not
Be stored with object synchronization file corresponding to the target identification when, sent to the source data warehouse and carry the target mark
The data synchronization request of knowledge;
The source data warehouse, for after the data synchronization request is received, based on the target identification
The target data generates the object synchronization file, and is sent to the target data warehouse;
The target data warehouse, for receiving the object synchronization file that the source data warehouse is sent, and by institute
Updating target data in the object synchronization file received is to the target data warehouse.
Alternatively, the source data warehouse is same based on the target data generation target with the target identification
After step file, the source data warehouse stores the object synchronization file into the default storage region.
Alternatively, after the source data warehouse finds the target data according to the target identification, based on
The target data of the target identification is generated before the object synchronization file, and the source data warehouse is to the number of targets
Mark is locked according to addition;
After the source data warehouse stores the object synchronization file into the default storage region, the source number
The locking of the target data is identified according to warehouse and removed.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, described computer-readable to deposit
Be stored with instruction in storage media, when run on a computer so that computer performs any of the above-described described data syn-chronization
Method.
5th aspect, the embodiment of the present invention additionally provides a kind of computer program product for including instruction, when it is being calculated
When being run on machine so that computer performs any of the above-described described method of data synchronization.
The object synchronization text asked using the embodiment of the present invention, the target data warehouse that is stored with default storage region
During part, target data warehouse can directly obtain object synchronization file in default storage region, be led without carrying out source data warehouse
Go out target data to object synchronization file, the step of object synchronization file is sent into target data warehouse again afterwards, Ke Yiti
High data synchronization efficiency.When multiple target data warehouses need synchronous same target data, each target data warehouse is checked
Whether default storage region is stored with object synchronization file, if then directly obtaining object synchronization text in default storage region
Part, it is not necessary to all send data synchronization request to source data warehouse, and then source data warehouse is without to each target data warehouse
The data synchronization request of transmission is responded, and can reduce source data warehouse burden.Certainly, implement the present invention any product or
Method it is not absolutely required to while reaching all the above advantage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of the first flow chart for method of data synchronization that Fig. 1 is provided by the embodiment of the present invention;
A kind of second of flow chart of method of data synchronization that Fig. 2 is provided by the embodiment of the present invention;
Fig. 3 obtains the first way schematic diagram of object synchronization file for the target data warehouse in embodiment two;
Fig. 4 obtains the second way schematic diagram of object synchronization file for the target data warehouse in embodiment two;
A kind of the first structural representation for data synchronization unit that Fig. 5 is provided by the embodiment of the present invention;
A kind of second of structural representation of data synchronization unit that Fig. 6 is provided by the embodiment of the present invention;
A kind of structural representation for data synchronous system that Fig. 7 is provided by the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It should be noted that for ease of describing, by the current number to be synchronized of target data warehouse in the embodiment of the present invention
It is corresponding according to target data is named as, the corresponding mark of current data to be synchronized is named as target identification, will currently be treated
The synchronous corresponding synchronous documents of data are named as object synchronization file.That is, the target mentioned by the embodiment of the present invention
" target " in mark is used only for from naming the mark of upper and other data to distinguish, and " target " in object synchronization file is only
For above being distinguished from name with other synchronous documents, " target " in target data to be synchronized is used only for distinguishing from name
Other data, and without any limiting meaning.
To reduce source data warehouse burden, and data synchronization efficiency is improved, the embodiments of the invention provide a kind of data
Synchronization system, the system includes:Source data warehouse, default storage region and target data warehouse.Wherein, preset in storage region
The history that is stored with synchronous documents, history synchronous documents carry the mark of data.
Specifically, target data warehouse is obtained after the target identification of target data to be synchronized, the default storage region of detection
In the object synchronization file that whether is stored with corresponding to target identification;It is stored with when in default storage region corresponding to target identification
Object synchronization file when, target data warehouse obtains the object synchronization file in default storage region, and by acquired mesh
The updating target data in synchronous documents is marked to target data warehouse.That is, detect that the history stored in default storage region is synchronous
In file, if having the history synchronous documents corresponding with target identification, if be stored with and target mark in default storage region
Sensible corresponding history synchronous documents, then regard the history synchronous documents as object synchronization file.
When be not stored with default storage region the object synchronization file corresponding to target identification when, target data warehouse to
Source data warehouse sends the data synchronization request for carrying target identification.Source data warehouse after data synchronization request is received,
Object synchronization file is generated based on the target data with target identification, and is sent to target data warehouse;Afterwards, target data
Warehouse receives the object synchronization file that source data warehouse is sent, and by the target data in received object synchronization file more
Newly arrive target data warehouse.
It is appreciated that default storage region can be to be between source data warehouse and target data warehouse in the system
Separate storage region, the default storage region can be specially storage server.
Method of data synchronization provided in an embodiment of the present invention, apparatus and system are described in detail below.
Embodiment one
Referring to Fig. 1, to reduce source data warehouse burden, and data synchronization efficiency is improved, present embodiments provide one kind
Method of data synchronization.The target data warehouse that this method can apply in data synchronous system, data synchronous system includes source
Data warehouse, default storage region and target data warehouse, wherein, presetting storage region is used for history synchronous documents, described to go through
History synchronous documents carry the mark of data;As shown in figure 1, this method comprises the following steps:
S110, obtains the target identification of target data to be synchronized.
Specifically, for ease of being synchronized to target data, the target mark of target data to be synchronized can be obtained first
Know, and utilize the follow-up handling process of target identification execution.For example, it is assumed that target data to be synchronized is《Thinkling sound's Ya lists》It is acute
Collection, then can obtain to be synchronized《Thinkling sound's Ya lists》The target identification of collection of drama, such as:Thinkling sound Ya lists or song thinkling sound's Ya lists etc., and utilizing recklessly
Should《Thinkling sound's Ya lists》The target identification of collection of drama performs follow-up handling process, so as to realize pair《Thinkling sound's Ya lists》The synchronization of collection of drama.Wherein,
《Thinkling sound's Ya lists》For the acute name of a video frequency program.
In one embodiment, target data warehouse can first determine target data to be synchronized, then obtain target
The target identification of data.For example, when the data in source data warehouse update, source data warehouse sends number to target data warehouse
According to update notification, the information of the data of renewal is carried in data update notification.Target data is received after data update notification, root
According to the information updated the data carried in data update notification, target data to be synchronized is determined, target data is then obtained
Target identification.For example, it is assumed that the information updated the data that data update notification is carried includes thinkling sound's Ya list collection of dramas, then target data
Warehouse determines that target data to be synchronized is according to the message《Thinkling sound's Ya lists》Collection of drama.Then obtain《Thinkling sound's Ya lists》The target mark of collection of drama
Know, such as:Thinkling sound Ya lists or recklessly song thinkling sound's Ya lists etc..And utilization should《Thinkling sound's Ya lists》The target identification of collection of drama performs follow-up processing stream
Journey, so as to realize pair《Thinkling sound's Ya lists》The synchronization of collection of drama.Wherein,《Thinkling sound's Ya lists》For the acute name of a video frequency program.
The object synchronization file whether being stored with corresponding to the target identification in S120, the default storage region of detection, such as
Fruit is to perform S130;
Specifically, target data warehouse is determined after the target identification of target data to be synchronized, by the default storage of detection
The object synchronization file whether being stored with region corresponding to the target identification of determination, if so, then performing S130, obtains default
Object synchronization file in storage region, and by the updating target data in acquired object synchronization file to target data storehouse
Storehouse.
It should be noted that default storage region is used to store history synchronous documents, history synchronous documents carry data
Mark.History synchronous documents are that source data warehouse is stored to the synchronous documents for presetting storage region.It should be noted that default
Data Identification is carried in synchronous documents in storage region.Whether stored when in the default storage region of target data warehouse detection
When having the object synchronization file corresponding to target identification, it is possible to use target identification enters with the synchronous documents in default storage region
Row matching.When the match is successful, the object synchronization file that is stored with default storage is judged, when matching unsuccessful, judge default
Be not stored with object synchronization file in storage region.Wherein, target data warehouse is using in target identification and default storage region
The process that is matched of synchronous documents can be:Judge to whether there is and mesh in all synchronous documents in default storage region
Mark as mark.If it does, judging that the match is successful, if it does not, judging that matching is unsuccessful.
It is understood that each synchronous documents in default storage region can have a predetermined life duration, and the source
Data warehouse can delete the synchronous documents for reaching corresponding predetermined life duration, so as to ensure the same of default storage region storage
Step file it is ageing.
S130, obtains the object synchronization file in the default storage region.
It is appreciated that when the object synchronization file being stored with default storage region corresponding to the target identification of target data
When, target data warehouse can directly obtain the object synchronization file stored in default storage region, will preset in storage region
Object synchronization file download into the local file system of the target data warehouse.
Specifically, in one embodiment, target data warehouse is stored with target in default storage region is detected
After synchronous documents, and before S130 steps are performed, target data warehouse can also lock mark to the addition of object synchronization file
Know, after S130 is performed, the mark of the object synchronization file of addition is removed.By same to presetting the target in storage region
Step file addition locks mark so that if other data warehouses are also required to by presetting the object synchronization text in storage region
Part carry out data syn-chronization, detect the object synchronization file carry locking mark when, can suspend to the same of the file destination
Step operation, can avoid multiple data warehouses from performing down operation to object synchronization file simultaneously, and then can avoid easily making
The problem of being malfunctioned into data syn-chronization.
For example, it is assumed that target data warehouse target data to be synchronized is《Thinkling sound's Ya lists》Collection of drama 33-34 collection, the number of targets
According to target identification be thinkling sound's Ya lists, when target data warehouse detects the thinkling sound's Ya list synchronous documents that are stored with default storage region
When, target data warehouse can lock mark to the addition of thinkling sound's Ya lists synchronous documents.When target data warehouse is in default storage region
Obtain after thinkling sound's Ya list synchronous documents, the locking of thinkling sound's Ya list synchronous documents is identified and removed by target data warehouse.Wherein,《Thinkling sound's Ya lists》
For the acute name of a video frequency program.
S140, by the updating target data in the acquired object synchronization file to the target data warehouse.
Specifically, target data warehouse, can be by the mesh of acquisition after the object synchronization file in obtaining default storage region
The updating target data in synchronous documents is marked into target data warehouse, i.e., is arrived the target data storage in object synchronization file
In target data warehouse.
Alternatively, updating target data of the target data warehouse in the object synchronization file by acquisition is to target data storehouse
Behind storehouse, the object synchronization file in locally downloading file system can be deleted.
The object synchronization text asked using the embodiment of the present invention, the target data warehouse that is stored with default storage region
During part, target data warehouse can directly obtain object synchronization file in default storage region, without being exported from source data warehouse
Object synchronization file is sent to target data warehouse by target data again afterwards to object synchronization file, can improve data same
Walk efficiency.When multiple target data warehouses need synchronous same target data, each target data warehouse checks default storage
Whether region is stored with object synchronization file, if then directly obtaining object synchronization file in default storage region, is not required to
Data synchronization request all is sent to source data warehouse, and then source data warehouse is without the number to the transmission of each target data warehouse
Responded according to synchronization request, source data warehouse burden can be reduced.
Embodiment two
Referring to Fig. 2, to reduce source data warehouse burden, and data synchronization efficiency is improved, present embodiments provide one kind
Method of data synchronization.The target data warehouse that this method can apply in data synchronous system, data synchronous system includes source
Data warehouse and target data warehouse;As shown in Fig. 2 this method comprises the following steps:
S210, determines the target identification of target data to be synchronized.
The object synchronization file whether being stored with corresponding to the target identification in S220, the default storage region of detection, such as
Fruit is to perform S230;Otherwise, S250 is performed;
Wherein, the default storage region is used for the mark and synchronous documents that correspondence stores data to be synchronized, Ren Yibiao
Knowing corresponding synchronous documents, the storage after the data synchronization request for carrying the mark is received is preset to described for source data warehouse
File that is in storage region and being generated based on the data to be synchronized with the mark.
Specifically, it is determined that going out after the target identification of target data to be synchronized, whether stored in the default storage region of detection
There is the object synchronization file corresponding to target identification, if so, then performing S230, obtain the object synchronization in default storage region
File, and the data in the acquired object synchronization file are updated to the target data warehouse.If it is not, holding
Row S250, the data synchronization request for carrying the target identification is sent to source data warehouse.
S230, obtains the object synchronization file in the default storage region.
S240, the data in the acquired object synchronization file are updated and arrive the target data warehouse.
It should be noted that S210-S240 can be as the step corresponding to the S110-S140 in embodiment one, this
In repeat no more.
S250, the data synchronization request for carrying the target identification is sent to source data warehouse, to cause the source number
According to warehouse after the data synchronization request is received, the mesh is generated based on the target data with the target identification
Synchronous documents are marked, and are sent to the target data warehouse.
When the corresponding object synchronization file of the target identification for detecting not have in default storage region to store target data,
Target data warehouse sends the data synchronization request for carrying target identification to source data warehouse.Source data warehouse is receiving number
After synchronization request, object synchronization file is generated based on the target data with the target identification, and be sent to target data storehouse
Storehouse.
Specifically, source data warehouse can have two based on the process for having tagged data generation synchronous documents to be synchronized
Kind.
The first:Source data warehouse will have tagged data to be synchronized and export to corresponding file, the initial text of generation
Part, and it regard the original document of generation as synchronous documents.It should be noted that may in the original document of source data warehouse generation
Carry the garbages such as error code.Therefore, source database warehouse using the original document of generation as synchronous documents and store arrive
After default storage region, when target data warehouse is detected, and object synchronization file is stored with default storage region, number of targets
Can also cleaning operation be performed to object synchronization file, then obtain the object synchronization file after cleaning according to warehouse.Or, number of targets
According to warehouse after default storage region obtains object synchronization file, cleaning operation is performed to object synchronization file.
Second:Target data is exported to original document by source data warehouse, and then original document is cleaned, generation
File is cleaned, and regard the cleaning file of generation as synchronous documents.It is understood that being carried out by the original document to generation
Cleaning, can remove the garbage in synchronous documents, improve the degree of accuracy of synchronous documents.Also, the file after cleaning is deposited
Store up in default storage region, can be directly in default memory block when there is target data warehouse to need synchronous same target data
The file after cleaning is obtained in domain, without being cleaned again to object synchronization file, synchronous efficiency can be further improved.
Specifically, in S250 steps, source data warehouse generates object synchronization based on the target data with target identification
After file, source data warehouse can also store the object synchronization file of generation into default storage region, i.e. S250 can be:
The data synchronization request for carrying the target identification is sent to source data warehouse, to cause the source data warehouse receiving
After the data synchronization request, the object synchronization file is generated based on the target data with the target identification, and
The target data warehouse is sent to, and the object synchronization file of generation will be stored into default storage region.Or, S250
Can also be:The data synchronization request for carrying the target identification is sent to source data warehouse, to cause the source data storehouse
It is same that storehouse generates the target after the data synchronization request is received, based on the target data with the target identification
Step file, and the object synchronization file of generation will be stored into default storage region, and it is sent to the target data warehouse.
More specifically, as shown in figure 3, when target data warehouse is detected in default storage region without storage number of targets
According to target identification corresponding object synchronization file when, target data warehouse sends to source data warehouse and carries target identification
Data synchronization request is 1..2. source data warehouse based on the target data with target identification after object synchronization file is generated, source
2. the object synchronization file of generation is sent to target data warehouse by data warehouse, and 2. object synchronization file is stored into default
In storage region.So that 2. target data warehouse directly receives the object synchronization file of source data warehouse transmission, and when other
Data warehouse can be detected directly when to updating target data in default storage region.
In another embodiment, as shown in figure 4, when target data warehouse detects not deposit in default storage region
When storing up the corresponding object synchronization file of target identification of target data, target data warehouse sends to source data warehouse and carries mesh
The data synchronization request of mark is 1..Source data warehouse is generating object synchronization file based on the target data with target identification
2. after, 2. generation object synchronization file can also be stored default storage region by source data warehouse, and to target data warehouse
Transmission has stored notice, and target data warehouse is connected to after the notice of storage of source data warehouse transmission, from default storage region
Obtain object synchronization file 2.., can also be directly in default storage region when other data warehouses are when to updating target data
In detect.
Source data warehouse, can be in order to other mesh by the way that the object synchronization file of generation is stored into default storage region
Mark data warehouse is when there is the target data to need synchronous, directly according to the target mark of data to be synchronized in default storage region
Know and search object synchronization file, and then directly by the object synchronization file download found to target data warehouse, then by mesh
Target data warehouse is arrived in the target data storage marked in synchronous documents.So, data synchronization efficiency, and other mesh can be improved
Mark data warehouse avoids to source data warehouse and sends data synchronization request progress data syn-chronization, can reduce source data warehouse
Burden.
S260, receives the object synchronization file that the source data warehouse is sent, and by received object synchronization
Updating target data in file is to the target data warehouse.
Specifically, target data warehouse, can be by reception after the object synchronization file of source data warehouse transmission is received
Updating target data in object synchronization file stores the target data in object synchronization file into target data warehouse
Into target data warehouse.
Alternatively, updating target data of the target data warehouse in the object synchronization file by acquisition is to target data storehouse
Behind storehouse, the object synchronization file in locally downloading file system can be deleted.
The object synchronization text asked using the embodiment of the present invention, the target data warehouse that is stored with default storage region
During part, target data warehouse can directly obtain object synchronization file in default storage region, be led without carrying out source data warehouse
Go out target data to object synchronization file, the step of object synchronization file is sent into target data warehouse again afterwards, Ke Yiti
High data synchronization efficiency.When multiple target data warehouses need synchronous same target data, each target data warehouse is checked
Whether default storage region is stored with object synchronization file, if then directly obtaining object synchronization text in default storage region
Part, it is not necessary to all send data synchronization request to source data warehouse, and then source data warehouse is without to each target data warehouse
The data synchronization request of transmission is responded, and can reduce source data warehouse burden.
Further, as an embodiment of the present embodiment, source data warehouse finds target according to target identification
After data, before the target data generation object synchronization file with target identification, source data warehouse is to target data
Addition locks mark;
After source data warehouse stores object synchronization file into default storage region, source data warehouse is by target data
Locking mark remove.
By locking mark to target data addition, same target data can be carried out in other target data warehouses same
During step, it is to avoid source data warehouse is responded to all target data warehouses for needing synchronous same target data, can be prevented
Target data warehouse is during object synchronization file is downloaded, and object synchronization file is changed.
For example, it is assumed that target data warehouse target data to be synchronized is《Thinkling sound's Ya lists》Collection of drama 33-34 collection, the number of targets
According to target identification be thinkling sound's Ya lists, when be not stored with default storage region thinkling sound's Ya list synchronous documents when, the target data storehouse
It is thinkling sound's Ya lists that storehouse, which sends the target identification carried in data synchronization request, the data synchronization request to source data warehouse, then, source
Data warehouse is after the data synchronization request is received, and can find target data according to thinkling sound's Ya lists is《Thinkling sound's Ya lists》Collection of drama
33-34 collection, source data warehouse can be right《Thinkling sound's Ya lists》The addition of collection of drama 33-34 collection locks mark, then will《Thinkling sound's Ya lists》Collection of drama 33-34
Collection exports to thinkling sound's Ya list synchronous documents, and by the storage of thinkling sound's Ya lists synchronous documents into default storage region.Afterwards, source data warehouse
Will《Thinkling sound's Ya lists》The locking mark of collection of drama 33-34 collection is removed.Wherein,《Thinkling sound's Ya lists》For the acute name of a video frequency program.
Also want synchronous when there are other target data warehouses《Thinkling sound's Ya lists》Collection of drama and detect and do not stored in default storage region
When having thinkling sound's Ya list synchronous documents, by locking mark to target data addition, source data warehouse is receiving other number of targets
After the data synchronization request sent according to warehouse, can have to other target data warehouse feedback target data and lock mark
Information, other target data warehouses just can determine now have target data warehouse synchronous《Thinkling sound's Ya lists》Collection of drama.So,
Other target data warehouses can select S210-S250 pairs provided again by the embodiment of the present invention that wait for a period of time
《Thinkling sound's Ya lists》Aggregation is synchronized, or the target data synchronous with other needs.Like this, increase can further be avoided
The burden in source data warehouse, improves data synchronization efficiency.Wherein,《Thinkling sound's Ya lists》For the acute name of a video frequency program.
Further, as the another embodiment of the present embodiment, this method can also include:
Whether verification storage is consistent with the target data in source data warehouse to the target data of target data warehouse, if
It is inconsistent, the step of returning to source data warehouse transmission data synchronization request.
Specifically, target data warehouse stores the target data in object synchronization file to after target data warehouse, mesh
Whether the target data that mark data warehouse can also verify storage is consistent with the target data in source data warehouse, if differed
Cause, be then probably that the object synchronization file stored in default storage region occurs in that mistake, it is also possible to which object synchronization file exists
Mistake is occurred in that in transmitting procedure.Now, target data warehouse will be backed within asks to source data warehouse transmission data syn-chronization
The step of asking.
Specifically, data check mark can be carried in the target data in source data warehouse, is stored by verifying
The data check of target data into target data warehouse identifies the data check carried with target data and identified whether unanimously,
Come verify storage to target data warehouse target data it is whether consistent with the target data in source data warehouse.Certainly, also may be used
With the target data in the target data and source data warehouse by other data verification methods to storing target data warehouse
Verified, do not repeated one by one here.
It is whether consistent with the target data in source data warehouse by the target data for verifying storage to target data warehouse,
The accuracy rate of data syn-chronization can be ensured.
Embodiment three
Corresponding with a kind of method of data synchronization that embodiment one is provided, the embodiment of the present invention additionally provides a kind of data
Sychronisation, the target data warehouse that the device can apply in data synchronous system, data synchronous system includes source data
Warehouse, default storage region and target data warehouse, wherein, default storage region is used to store history synchronous documents, and history is same
Step file carries the mark of data;As shown in figure 5, the device includes:
Identify determining module 510, the target identification for determining target data to be synchronized.
File detection module 520, for detecting in default storage region whether be stored with corresponding to the target identification
Object synchronization file, when the test results is yes, triggering file acquisition module 530.
File acquisition module 530, for obtaining the object synchronization file in the default storage region.
Data update module 540, for by the updating target data in the acquired object synchronization file to described
Target data warehouse.
The object synchronization text asked using the embodiment of the present invention, the target data warehouse that is stored with default storage region
During part, target data warehouse can directly obtain object synchronization file in default storage region, be led without carrying out source data warehouse
Go out target data to object synchronization file, the step of object synchronization file is sent into target data warehouse again afterwards, Ke Yiti
High data synchronization efficiency.When multiple target data warehouses need synchronous same target data, each target data warehouse is checked
Whether default storage region is stored with object synchronization file, if then directly obtaining object synchronization text in default storage region
Part, it is not necessary to all send data synchronization request to source data warehouse, and then source data warehouse is without to each target data warehouse
The data synchronization request of transmission is responded, and can reduce source data warehouse burden.
Example IV
Corresponding with a kind of method of data synchronization that embodiment two is provided, the embodiment of the present invention additionally provides a kind of data
Sychronisation, the target data warehouse that the device can apply in data synchronous system, data synchronous system includes source data
Warehouse, default storage region and target data warehouse, wherein, default storage region is used to store history synchronous documents, and history is same
Step file carries the mark of data;As shown in fig. 6, the device includes:
Identify determining module 610, the target identification of target data to be synchronized for obtaining
File detection module 620, for detecting in default storage region whether be stored with corresponding to the target identification
Object synchronization file, when the test results is yes, triggering file acquisition module 630, when testing result is no, trigger request hair
Send module 650.
File acquisition module 630, for obtaining the object synchronization file in the default storage region.
Data update module 640, for by the updating target data in the acquired object synchronization file to described
Target data warehouse.
Request sending module 650, the data synchronization request of the target identification is carried for being sent to source data warehouse,
To cause the source data warehouse after the data synchronization request is received, based on the target with the target identification
Data generate the object synchronization file, and are sent to the target data warehouse.
File reception module 660, for receiving the object synchronization file that the source data warehouse is sent, and will be connect
Updating target data in the object synchronization file received is to the target data warehouse.
The object synchronization text asked using the embodiment of the present invention, the target data warehouse that is stored with default storage region
During part, target data warehouse can directly obtain object synchronization file in default storage region, be led without carrying out source data warehouse
Go out target data to object synchronization file, the step of object synchronization file is sent into target data warehouse again afterwards, Ke Yiti
High data synchronization efficiency.When multiple target data warehouses need synchronous same target data, each target data warehouse is checked
Whether default storage region is stored with object synchronization file, if then directly obtaining object synchronization text in default storage region
Part, it is not necessary to all send data synchronization request to source data warehouse, and then source data warehouse is without to each target data warehouse
The data synchronization request of transmission is responded, and can reduce source data warehouse burden.
Specifically, the device can also include:
Data check module (not shown in Fig. 6), for verifying storage to the target data and source number of target data warehouse
It is whether consistent according to the target data in warehouse, if inconsistent, the step of returning to source data warehouse transmission data synchronization request.
Specifically, the device can also include:
Module (not shown in Fig. 6) is locked, for being stored with detecting default storage region in file detection module 620
After object synchronization file corresponding to target identification, the target in file acquisition module 630 obtains default storage region is same
Before step file, mark is locked to the addition of object synchronization file.
Unlocked state (not shown in Fig. 6), it is same for the target in obtaining default storage region in file acquisition module 630
After step file, the locking of synchronous documents is identified and removed.
Embodiment five
Referring to Fig. 7, the structural representation for a kind of data synchronous system that Fig. 7 is provided by the embodiment of the present invention, such as Fig. 7 institutes
Show, the data synchronous system includes source data warehouse 710, default storage region 720 and target data warehouse 730.
Wherein, the synchronous documents that storage region 720 is used to store data to be synchronized are preset, synchronous documents, which are carried, to be needed together
The mark of the data of step.
Target data warehouse 730, the target identification of target data to be synchronized for obtaining;The default storage region of detection
The object synchronization file whether being stored with 720 corresponding to target identification;When the target identification that is stored with default storage region 720
During corresponding object synchronization file, the object synchronization file in default storage region 720 is obtained;By acquired object synchronization
Updating target data in file is to target data warehouse 730;When not being stored with default storage region 720, target identification institute is right
During the object synchronization file answered, the data synchronization request for carrying target identification is sent to source data warehouse 710.
Source data warehouse 710, for after data synchronization request is received, based on the target data life with target identification
Into object synchronization file, and it is sent to target data warehouse 730.
Target data warehouse 730, the object synchronization file for receiving the transmission of source data warehouse 710, and will be received
Object synchronization file in updating target data to target data warehouse 730.
Specifically, after source data warehouse 710 is based on the target data generation object synchronization file with target identification, source
Data warehouse 710 stores object synchronization file into default storage region 720.
Specifically, after source data warehouse 710 finds the target data according to target identification, based on target mark
The target data of knowledge is generated before the object synchronization file, and source data warehouse 710 locks mark to target data addition;
After source data warehouse 710 stores object synchronization file into default storage region 720, source data warehouse 710
The locking of target data is identified and removed.
In the another embodiment that the present invention is provided, a kind of computer-readable recording medium is additionally provided, the computer can
The instruction that is stored with storage medium is read, when run on a computer so that computer performs any institute in above-described embodiment
The method of data synchronization stated.
In the another embodiment that the present invention is provided, a kind of computer program product for including instruction is additionally provided, when it
When running on computers so that computer performs any of the above-described described method of data synchronization.
In the above-described embodiments, it can come real wholly or partly by software, hardware, firmware or its any combination
It is existing.When implemented in software, it can realize in the form of a computer program product whole or in part.The computer program
Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or
Partly produce according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter
Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium
In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, numeral from web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another web-site, computer, server or
Data center is transmitted.The computer-readable recording medium can be any usable medium that computer can be accessed or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disc
SolidState Disk (SSD)) etc..
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device and
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to method
The part explanation of embodiment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (11)
1. a kind of method of data synchronization, it is characterised in that applied to the target data warehouse in data synchronous system, the data
Synchronization system includes source data warehouse, default storage region and the target data warehouse, wherein, the default storage region is used
In storage history synchronous documents, the history synchronous documents carry the mark of data, and methods described includes:
Obtain the target identification of target data to be synchronized;
The object synchronization file whether being stored with corresponding to the target identification in the default storage region of detection;
When be stored with default storage region the object synchronization file corresponding to the target identification when, obtain the default storage
The object synchronization file in region;
By the updating target data in the acquired object synchronization file to the target data warehouse.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
When be not stored with default storage region the object synchronization file corresponding to the target identification when, sent out to source data warehouse
Send the data synchronization request for carrying the target identification, with cause the source data warehouse receive the data syn-chronization please
After asking, the object synchronization file is generated based on the target data with the target identification, and be sent to the target
Data warehouse;
Receive the object synchronization file that the source data warehouse is sent, and by the mesh in received object synchronization file
Data are marked to update to the target data warehouse.
3. method according to claim 2, it is characterised in that methods described also includes:
Whether verification storage is consistent with the target data in source data warehouse to the target data of target data warehouse, if differed
Cause, the step of returning to source data warehouse transmission data synchronization request.
4. the method according to claim any one of 1-3, it is characterised in that detect and stored in default storage region
After the step of stating the object synchronization file corresponding to target identification, the target obtained in the default storage region
Before the step of synchronous documents, methods described also includes:Mark is locked to object synchronization file addition;
It is described obtain in the default storage region the object synchronization file the step of after, methods described also includes:Will
The locking mark of the synchronous documents is removed.
5. a kind of data synchronization unit, it is characterised in that applied to the target data warehouse in data synchronous system, the data
Synchronization system includes source data warehouse, default storage region and the target data warehouse, wherein, the default storage region is used
In storage history synchronous documents, the history synchronous documents carry the mark of data, and described device includes:
Identify determining module, the target identification for determining target data to be synchronized;
File detection module, for detecting the object synchronization whether being stored with corresponding to the target identification in default storage region
File, when the test results is yes, triggers file acquisition module;
The file acquisition module, for obtaining the object synchronization file in the default storage region;
Data update module, for by the updating target data in the acquired object synchronization file to the target data
Warehouse.
6. device according to claim 5, it is characterised in that described device also includes:
Request sending module, the data synchronization request of the target identification is carried for being sent to source data warehouse, to cause
The source data warehouse is after the data synchronization request is received, based on the target data life with the target identification
Into the object synchronization file, and it is sent to the target data warehouse;
File reception module, for receiving the object synchronization file that the source data warehouse is sent, and will be received
Updating target data in object synchronization file is to the target data warehouse.
7. device according to claim 6, it is characterised in that described device also includes:
Data check module, for verifying storage to the target data and the target data in source data warehouse of target data warehouse
It is whether consistent, if inconsistent, trigger the request sending module.
8. the device according to claim any one of 5-7, it is characterised in that described device also includes:Module is locked, is used for
The object synchronization file being stored with the file detection module detects default storage region corresponding to the target identification
Afterwards, before the object synchronization file during the file acquisition module obtains the default storage region, to the mesh
Mark synchronous documents addition and lock mark;
Unlocked state, for obtaining the default storage region in the file acquisition module in the object synchronization file it
Afterwards, the locking of the synchronous documents is identified and removed.
9. a kind of data synchronous system, it is characterised in that the data synchronous system includes source data warehouse, default storage region
And target data warehouse, wherein, the default storage region is used to store history synchronous documents, and the history synchronous documents are carried
There is the mark of data;
The target data warehouse, the target identification of target data to be synchronized for obtaining;Detect the default storage region
In the object synchronization file that whether is stored with corresponding to the target identification;When the target mark that is stored with default storage region
When knowing corresponding object synchronization file, the object synchronization file in the default storage region is obtained;Will be acquired
Updating target data in the object synchronization file is to the target data warehouse;Do not stored when in the default storage region
When having the object synchronization file corresponding to the target identification, sent to the source data warehouse and carry the target identification
Data synchronization request;
The source data warehouse, for after the data synchronization request is received, based on described in the target identification
Target data generates the object synchronization file, and is sent to the target data warehouse;
The target data warehouse, for receiving the object synchronization file that the source data warehouse is sent, and will be received
To object synchronization file in updating target data to the target data warehouse.
10. system according to claim 9, it is characterised in that the source data warehouse is based on having the target identification
The target data generate the object synchronization file after, the source data warehouse arrives the object synchronization file storage
In the default storage region.
11. system according to claim 10, it is characterised in that searched according to the target identification in the source data warehouse
To after the target data, based on the target data with the target identification generate the object synchronization file it
Before, the source data warehouse locks mark to target data addition;
After the source data warehouse stores the object synchronization file into the default storage region, the source data storehouse
The locking of the target data is identified and removed by storehouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710301920.0A CN107145562B (en) | 2017-05-02 | 2017-05-02 | Data synchronization method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710301920.0A CN107145562B (en) | 2017-05-02 | 2017-05-02 | Data synchronization method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107145562A true CN107145562A (en) | 2017-09-08 |
CN107145562B CN107145562B (en) | 2020-07-28 |
Family
ID=59774455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710301920.0A Active CN107145562B (en) | 2017-05-02 | 2017-05-02 | Data synchronization method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107145562B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107958204A (en) * | 2017-10-27 | 2018-04-24 | 深圳市牛鼎丰科技有限公司 | Reference report recognition methods, device, computer equipment and storage medium |
CN108038127A (en) * | 2017-11-08 | 2018-05-15 | 中国平安人寿保险股份有限公司 | A kind of method, apparatus, terminal device and the storage medium of data synchronization |
CN109558448A (en) * | 2018-10-10 | 2019-04-02 | 北京海数宝科技有限公司 | Data processing method, device, computer equipment and storage medium |
CN110287060A (en) * | 2019-06-06 | 2019-09-27 | 郑州阿帕斯科技有限公司 | A kind of processing method of data, device |
CN112115200A (en) * | 2020-09-16 | 2020-12-22 | 北京奇艺世纪科技有限公司 | Data synchronization method and device, electronic equipment and readable storage medium |
CN115080950A (en) * | 2022-07-20 | 2022-09-20 | 深圳竹云科技股份有限公司 | Identity information processing method and device, computer equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495910A (en) * | 2011-12-28 | 2012-06-13 | 畅捷通信息技术股份有限公司 | Device and method for data timing synchronization of heterogeneous system |
CN103399888A (en) * | 2013-07-19 | 2013-11-20 | 广东电网公司电力科学研究院 | Differential synchronization method and system for power grid model data |
CN103514223A (en) * | 2012-06-28 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data synchronism method and system of database |
CN103699580A (en) * | 2013-12-03 | 2014-04-02 | 中铁程科技有限责任公司 | Database synchronization method and database synchronization device |
CN103744949A (en) * | 2013-12-31 | 2014-04-23 | 金蝶软件(中国)有限公司 | Data integrating method and system |
CN103942259A (en) * | 2014-03-21 | 2014-07-23 | 浙江大学 | Method for achieving data caching in database synchronization process |
CN104462342A (en) * | 2014-12-04 | 2015-03-25 | 北京国双科技有限公司 | Synchronous processing method and device for database snapshots |
CN104462483A (en) * | 2014-12-18 | 2015-03-25 | 北京奇虎科技有限公司 | Data synchronizing method, device and system |
CN105912628A (en) * | 2016-04-07 | 2016-08-31 | 北京奇虎科技有限公司 | Synchronization method and device for master database and slave database |
US20160342675A1 (en) * | 2014-03-28 | 2016-11-24 | International Business Machines Corporation | Automatic adjustment of data replication based on data access |
US20170013046A1 (en) * | 2014-11-18 | 2017-01-12 | Primarydata, Inc. | Data-centric data storage |
-
2017
- 2017-05-02 CN CN201710301920.0A patent/CN107145562B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495910A (en) * | 2011-12-28 | 2012-06-13 | 畅捷通信息技术股份有限公司 | Device and method for data timing synchronization of heterogeneous system |
CN103514223A (en) * | 2012-06-28 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data synchronism method and system of database |
CN103399888A (en) * | 2013-07-19 | 2013-11-20 | 广东电网公司电力科学研究院 | Differential synchronization method and system for power grid model data |
CN103699580A (en) * | 2013-12-03 | 2014-04-02 | 中铁程科技有限责任公司 | Database synchronization method and database synchronization device |
CN103744949A (en) * | 2013-12-31 | 2014-04-23 | 金蝶软件(中国)有限公司 | Data integrating method and system |
CN103942259A (en) * | 2014-03-21 | 2014-07-23 | 浙江大学 | Method for achieving data caching in database synchronization process |
US20160342675A1 (en) * | 2014-03-28 | 2016-11-24 | International Business Machines Corporation | Automatic adjustment of data replication based on data access |
US20170013046A1 (en) * | 2014-11-18 | 2017-01-12 | Primarydata, Inc. | Data-centric data storage |
CN104462342A (en) * | 2014-12-04 | 2015-03-25 | 北京国双科技有限公司 | Synchronous processing method and device for database snapshots |
CN104462483A (en) * | 2014-12-18 | 2015-03-25 | 北京奇虎科技有限公司 | Data synchronizing method, device and system |
CN105912628A (en) * | 2016-04-07 | 2016-08-31 | 北京奇虎科技有限公司 | Synchronization method and device for master database and slave database |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107958204A (en) * | 2017-10-27 | 2018-04-24 | 深圳市牛鼎丰科技有限公司 | Reference report recognition methods, device, computer equipment and storage medium |
CN108038127A (en) * | 2017-11-08 | 2018-05-15 | 中国平安人寿保险股份有限公司 | A kind of method, apparatus, terminal device and the storage medium of data synchronization |
CN108038127B (en) * | 2017-11-08 | 2020-03-20 | 中国平安人寿保险股份有限公司 | Data synchronization method, device, terminal equipment and storage medium |
CN109558448A (en) * | 2018-10-10 | 2019-04-02 | 北京海数宝科技有限公司 | Data processing method, device, computer equipment and storage medium |
CN110287060A (en) * | 2019-06-06 | 2019-09-27 | 郑州阿帕斯科技有限公司 | A kind of processing method of data, device |
CN112115200A (en) * | 2020-09-16 | 2020-12-22 | 北京奇艺世纪科技有限公司 | Data synchronization method and device, electronic equipment and readable storage medium |
CN112115200B (en) * | 2020-09-16 | 2023-08-29 | 北京奇艺世纪科技有限公司 | Data synchronization method, device, electronic equipment and readable storage medium |
CN115080950A (en) * | 2022-07-20 | 2022-09-20 | 深圳竹云科技股份有限公司 | Identity information processing method and device, computer equipment and storage medium |
CN115080950B (en) * | 2022-07-20 | 2022-11-15 | 深圳竹云科技股份有限公司 | Identity information processing method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107145562B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107145562A (en) | A kind of method of data synchronization, apparatus and system | |
US10237295B2 (en) | Automated event ID field analysis on heterogeneous logs | |
US10417416B1 (en) | Methods and systems for detecting computer security threats | |
CN109995866B (en) | Distributed file verification method and device, computer device and storage medium | |
CN102483731B (en) | Have according to search load by the medium of the fingerprint database of equilibrium | |
CN109376078B (en) | Mobile application testing method, terminal equipment and medium | |
US7526530B2 (en) | System and method for cacheing web files | |
US20100106784A1 (en) | Electronic device with automatic software update function and method thereof | |
CN102483780A (en) | Anti-virus scanning | |
CN105515900A (en) | Method and device for acquiring on-line state of terminal | |
CN104780137A (en) | Data processing method, device, client, server and system | |
US7685174B2 (en) | Automatic regeneration of computer files | |
CN113342745A (en) | Method and device for verifying mirror image file, electronic equipment and storage medium | |
CN105095769A (en) | Information service software vulnerability detection method | |
CN107315825A (en) | A kind of index upgrade system, method and device | |
CN104980407A (en) | Misinformation detecting method and device | |
CN112202633B (en) | Block chain network testing method and device, electronic equipment and readable storage medium | |
CN109600254B (en) | Method for generating full-link log and related system | |
US9686310B2 (en) | Method and apparatus for repairing a file | |
CN104104666B (en) | Method of detecting abnormal cloud service and device | |
CN104462967A (en) | Method, device and system for file recovery | |
CN115203061B (en) | Interface automation test method and device, electronic equipment and storage medium | |
US9928049B2 (en) | Identifying unmatched registry entries | |
CN109597823B (en) | Data source configuration method, device, computer equipment and storage medium | |
CN109976828A (en) | A kind of method and device of configuration file |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |