CN107623707A - A kind of method and apparatus of data syn-chronization - Google Patents
A kind of method and apparatus of data syn-chronization Download PDFInfo
- Publication number
- CN107623707A CN107623707A CN201610556074.2A CN201610556074A CN107623707A CN 107623707 A CN107623707 A CN 107623707A CN 201610556074 A CN201610556074 A CN 201610556074A CN 107623707 A CN107623707 A CN 107623707A
- Authority
- CN
- China
- Prior art keywords
- event
- data
- equipment
- mark
- target data
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the present application discloses a kind of method of data syn-chronization.This method includes:The equipment for being used to perform data manipulation in system sends the first inquiry request for carrying benchmark event identifier to database, so that database root determines that object event identifies according to benchmark event identifier, target data mark corresponding to object event mark is searched in event table and is sent to the equipment;The equipment sends the second inquiry request for carrying target data mark to database, so that database searches target data information corresponding to target data mark in data message table and is sent to the equipment;The equipment receives and preserves target data information;Wherein, object event is identified for identifying the target data Action Events occurred in systems, and target data is identified for identifying target data information, and target data information is information caused by target data Action Events.In addition, the embodiment of the present application also discloses a kind of device of data syn-chronization.
Description
Technical field
The application is related to technical field of data processing, more particularly to a kind of method and apparatus of data syn-chronization.
Background technology
At present, many large scale systems need to carry substantial amounts of data manipulation.For processing of the lifting system to data manipulation
Substantial amounts of data manipulation can be assigned in multiple different equipment and perform by efficiency, system.Because different equipment is performing
Generate different data messages during different data manipulation, therefore, needed between each equipment for being used to performing data manipulation into
Row data syn-chronization, to cause the data message that is preserved in each equipment completely the same, so as to avoid data inconsistent and cause be
System can not normal operation.
In the prior art, the data syn-chronization between multiple equipment can use Open-Source Tools zookeeper to realize.Specifically
Ground, in systems with multiple equipment for performing data manipulation, grasped for each data performed in each equipment
Make, zookeeper servers create a directory for it and node and recorded in the directory node caused by the data manipulation
Data message.For any one equipment for performing data manipulation, the equipment is needed to be each in zookeeper servers
Individual directory node is monitored using a single thread, and so the equipment could find whether produced under each directory node
Directory node corresponding to new data manipulation is given birth to, so that could be by data message corresponding to all new data manipulations in system
It is synchronized to equipment local.But the directory node corresponding to there is mass data operation in zookeeper servers, should
Equipment needs to provide new caused data message on substantial amounts of thread monitoring zookeeper, and this is often beyond the device hardware
The upper limit of disposal ability, so as to cause the equipment to substantially reduce the speed of data syn-chronization and the load excessive of the equipment.
The content of the invention
The embodiment of the present application technical problem to be solved is to provide a kind of method and apparatus of data syn-chronization, to cause
Equipment for performing data manipulation can listen to all new caused data messages in system using a thread, so as to subtract
The load of the light equipment simultaneously improves the speed of data syn-chronization.
In a first aspect, the embodiment of the present application provides a kind of system of data syn-chronization, including database and for performing number
According to the equipment of operation;
The equipment, the first inquiry request of benchmark event identifier is carried for being sent to database, receives the number
The target data sent according to storehouse is identified, and the second inquiry request for carrying the target data mark is sent to the database,
And receive and preserve the target data information that the database is sent;
The database, for receiving first inquiry request, object event is determined according to the benchmark event identifier
Mark, the target data mark corresponding to the object event mark is searched in event table and is sent to the equipment, is connect
Second inquiry request is received, and, the target data corresponding to the target data mark is searched in data message table
Information is simultaneously sent to the equipment;
Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event
Identify for reflecting unsaved data message in the equipment;
The object event is identified for identifying the target data Action Events occurred in the system, the target
Data Identification is used to identify the target data information, and the target data information is caused by the target data Action Events
Information.
Second aspect, the embodiment of the present application provide a kind of method of data syn-chronization, applied in system be used for perform number
According to the equipment of operation, including:
The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the base
Quasi- event identifier determines that object event identifies, and target data mark corresponding to the object event mark is searched in event table simultaneously
Sent to the equipment, wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the mesh
Mark event identifier is used to reflect unsaved data message in the equipment;
The second inquiry request for carrying the target data mark is sent to the database, so that the database exists
Target data information corresponding to the target data mark is searched in data message table and is sent to the equipment;
Receive and preserve the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
The third aspect, the embodiment of the present application provide a kind of method of data syn-chronization, applied to the database in system, bag
Include:
The first inquiry request that receiving device is sent, the equipment are to be used to perform setting for data manipulation in the system
It is standby, benchmark event identifier is carried in first inquiry request, the benchmark event identifier is used to reflect in the equipment
The data message of preservation;
Determine that object event identifies according to the benchmark event identifier, and the object event mark is searched in event table
Corresponding target data mark is simultaneously sent to the equipment, and the object event identifies unsaved in the equipment for reflecting
Data message;
The second inquiry request that the equipment is sent is received, the target data mark is carried in second inquiry request
Know;
Target data information corresponding to the target data mark is searched in data message table and is sent to the equipment,
So that the equipment preserves the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
Fourth aspect, the embodiment of the present application provide a kind of device of data syn-chronization, are configured in system and are used to perform number
According to the equipment of operation, including:
First transmitting element, the first inquiry request of benchmark event identifier is carried for being sent to database, with toilet
State database root and determine that object event identifies according to the benchmark event identifier, the object event mark pair is searched in event table
The target data answered is identified and sent to the equipment, wherein, the benchmark event identifier, which is used to reflect in the equipment, has protected
The data message deposited, the object event are identified for reflecting unsaved data message in the equipment;
Second transmitting element, the second inquiry that the target data mark is carried for being sent to the database please
Ask, so that the database searches target data information corresponding to target data mark and to described in data message table
Equipment is sent;
First storage unit, for receiving and preserving the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
5th aspect, the embodiment of the present application provide a kind of device of data syn-chronization, the database being configured in system, bag
Include:
First receiving unit, the first inquiry request sent for receiving device, the equipment are to be used in the system
The equipment for performing data manipulation, benchmark event identifier is carried in first inquiry request, the benchmark event identifier is used for
Reflect in the equipment data message preserved;
First searching unit, for determining that object event identifies according to the benchmark event identifier, and looked into event table
Look for target data mark corresponding to the object event mark and sent to the equipment, the object event is identified for reflecting
Unsaved data message in the equipment;
Second receiving unit, for receiving the second inquiry request of the equipment transmission, taken in second inquiry request
Identified with the target data;
Second searching unit, for searching target data information corresponding to the target data mark in data message table
And sent to the equipment, so that the equipment preserves the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
6th aspect, the embodiment of the present application provides a kind of monitor method of data manipulation event, applied to being used in system
In the equipment for performing data manipulation, including:
The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the base
Quasi- event identifier determines that object event identifies, and target data mark corresponding to the object event mark is searched in event table simultaneously
Sent to the equipment;
The object event mark that the database is sent is received, and the system is identified according to object event mark
Equipment described in system does not cross the target data Action Events of data synchronously;
Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event
Identify for reflecting unsaved data message in the equipment, the object event is identified for identifying to go out in the system
The target data Action Events now crossed.
7th aspect, the embodiment of the present application provides a kind of monitor method of data manipulation event, applied in system
Database, including:
The first inquiry request that receiving device is sent, the equipment are to be used to perform setting for data manipulation in the system
It is standby, benchmark event identifier is carried in first inquiry request, the benchmark event identifier is used to reflect in the equipment
The data message of preservation;
Determine that object event identifies according to the benchmark event identifier, and the object event mark is searched in event table
Corresponding target data mark is simultaneously sent to the equipment, and the object event identifies unsaved in the equipment for reflecting
Data message;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
Eighth aspect, the embodiment of the present application provide a kind of monitoring device of data manipulation event, are configured in system and use
In the equipment for performing data manipulation, including:
Transmitting element, the first inquiry request of benchmark event identifier is carried for being sent to database, so as to the number
Determine that object event identifies according to the benchmark event identifier according to storehouse, searched in event table corresponding to the object event mark
Target data is identified and sent to the equipment.
Receiving unit, the object event mark sent for receiving the database;
Recognition unit, for identifying that equipment does not cross data synchronously described in the system according to object event mark
Target data Action Events;
Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event
Identify for reflecting unsaved data message in the equipment, the object event is identified for identifying to go out in the system
The target data Action Events now crossed.
9th aspect, the embodiment of the present application provide a kind of monitoring device of data manipulation event, it is characterised in that configuration
Database in system, including:
Receiving unit, the first inquiry request sent for receiving device, the equipment are to be used to perform in the system
The equipment of data manipulation, benchmark event identifier is carried in first inquiry request, and the benchmark event identifier is used to reflect
The data message preserved in the equipment;
Searching unit, for determining that object event identifies according to the benchmark event identifier, and institute is searched in event table
State target data mark corresponding to object event mark and sent to the equipment, the object event identifies described for reflecting
Unsaved data message in equipment;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
Tenth aspect, the embodiment of the present application provide a kind of system of data syn-chronization, including database and for performing number
According to the equipment of operation;
The equipment, for after first object data manipulation event is performed, generation to correspond to the first object number
According to Action Events recording instruction and to the database send;
The database, for receiving the recording instruction, the first mesh is distributed for the first object data manipulation event
Event identifier and first object Data Identification are marked, the first object event identifier is corresponding with the first object Data Identification
Ground recorded in event table, by the first mesh caused by the first object Data Identification and the first object data manipulation event
Mark data message accordingly recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
Tenth on the one hand, and the embodiment of the present application provides a kind of method of data syn-chronization, applied to being used to perform in system
The equipment of data manipulation, including:
After first object data manipulation event is performed, note of the generation corresponding to the first object data manipulation event
Record instruction is simultaneously sent to the database, so that the database receives the recording instruction, is grasped for the first object data
Make event distribution first object event identifier and first object Data Identification, by the first object event identifier and described first
Target data mark accordingly recorded in event table, by the first object Data Identification and the first object data manipulation
First object data message accordingly recorded in data message table caused by event;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
12nd aspect, the embodiment of the present application provides a kind of method of data syn-chronization, applied to the database in system,
Including:
What receiving device was sent after first object data manipulation event is performed corresponds to first object data behaviour
Make the recording instruction of event, the equipment is the equipment for being used to perform data manipulation in the system;
According to the recording instruction, first object event identifier and first is distributed for the first object data manipulation event
Target data identifies, and the first object event identifier and the first object Data Identification accordingly recorded into event table
In, the first object Data Identification is corresponding with first object data message caused by the first object data manipulation event
Ground recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
13rd aspect, the embodiment of the present application provide a kind of device of data syn-chronization, are configured in system and are used to perform
The equipment of data manipulation, including:
Generation unit, for after first object data manipulation event is performed, generation to correspond to the first object number
According to the recording instruction of Action Events;
First transmitting element, for sending the recording instruction to the database, so as to described in database reception
Recording instruction, first object event identifier and first object Data Identification are distributed for the first object data manipulation event, will
The first object event identifier accordingly recorded in event table with the first object Data Identification, by the first object
Data Identification accordingly recorded data message with first object data message caused by the first object data manipulation event
In table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
Fourteenth aspect, the embodiment of the present application provide a kind of device of data syn-chronization, the database being configured in system,
Including:
First receiving unit, correspond to institute for what receiving device was sent after first object data manipulation event is performed
The recording instruction of first object data manipulation event is stated, the equipment is the equipment for being used to perform data manipulation in the system;
Event recording unit, for according to the recording instruction, first to be distributed for the first object data manipulation event
Object event identifies and first object Data Identification, by the first object event identifier and the first object Data Identification pair
It recorded in event table with answering, by first caused by the first object Data Identification and the first object data manipulation event
Target data information accordingly recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
Compared with prior art, the application has advantages below:
According to the technical scheme of the embodiment of the present application, data information memory is in the thing in database caused by data manipulation
In part table and data message table, event table is used to record the mapping relations between event identifier and Data Identification, data message table
For the mapping relations between record data mark and data message.Event identifier with mapping relations, Data Identification sum
It is believed that breath corresponds in system the same data manipulation event occurred, wherein, the event identifier is used to identify the data manipulation
Event, the data message are information caused by the data manipulation event, and the Data Identification is used to identify the data message.If system
In be used to performing the equipment of data manipulation and need synchrodata, the equipment is sent to database carries the of benchmark event identifier
One inquiry request.The database root determines that object event identifies according to the benchmark event identifier, and the target thing is searched in event table
Target data corresponding to part mark is identified and sent to the set preparation, wherein, the benchmark event identifier is used to reflect the equipment
The data message preserved, the object event are identified for reflecting unsaved data message in the equipment.The equipment in response to
Target data mark is received, the second inquiry request for carrying target data mark is sent to the database.The database
Target data information corresponding to target data mark is searched in data message table and is sent to the equipment.The equipment receives simultaneously
Preserve the target data information.So it is achieved that and the target data information is synchronized to the equipment.As can be seen here, for for
For the equipment for performing data manipulation, it is only necessary to looked into using a thread to database sends carrying benchmark event identifier first
Ask ask simultaneously receive target data mark, it is possible to listen to all emerging data manipulation events in system, then pass through to
The second inquiry request can that database sends carrying target data mark is synchronized to all new caused data letters in system
Breath, exceed so as to avoid equipment because taking a large amount of threads to the monitoring that data message is newly produced in system at the hardware of equipment
The reason ability upper limit, the speed of equipment synchrodata is not only increased, also mitigate the load pressure of equipment itself.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the network system block schematic illustration involved by an application scenarios in the embodiment of the present application;
Fig. 2 is the block schematic illustration of network system example involved in the embodiment of the present application;
Fig. 3 is a kind of system schematic of data syn-chronization in the embodiment of the present application;
Fig. 4 is a kind of system schematic of data syn-chronization in the embodiment of the present application;
Fig. 5 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Fig. 6 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Fig. 7 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Fig. 8 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Fig. 9 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Figure 10 is a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application;
Figure 11 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application;
Figure 12 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application;
Figure 13 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application;
Figure 14 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application;
Figure 15 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application;
Figure 16 is a kind of structural representation of the device of data syn-chronization in the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only this
Apply for part of the embodiment, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of the application protection.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer, service
Device computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including any of the above system or equipment
DCE etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in distribution counts environment, in these DCEs, by leading to
Cross communication network and connected remote processing devices perform task.In a distributed computing environment, program module can position
In the local and remote computer-readable storage medium including storage device.
Present inventor has found by research, in the prior art, is used to perform data manipulation with multiple
In the system of equipment, if the data manipulation quantity occurred in system is huge, equipment will become to the synchronizing speed of data message
It is very slow, also, the load of equipment in itself can also become too much.And why prior art has these, reason is,
For each data manipulation occurred in system, zookeeper servers are its node and in the mesh of creating a directory
Data message caused by the data manipulation is recorded in record node, therefore, the equipment needs for performing data manipulation are
Each directory node is monitored using a single thread in zookeeper servers, and so the equipment could be found
Whether new data manipulation corresponding to directory node is occurred under each directory node, so that could be by all new productions in system
Raw data message is synchronized to equipment local, and in the case of occurring the data manipulation of substantial amounts in systems,
There is directory node corresponding to mass data operation, therefore, the equipment needs to provide substantial amounts of thread in zookeeper servers
New caused data message on zookeeper is monitored, this is often beyond the upper limit of the device hardware disposal ability, so as to cause
The speed of data syn-chronization is substantially reduced the equipment and the load excessive of the equipment.
In order to solve the above mentioned problem of prior art, in the embodiment of the present application, data message caused by data manipulation
It is stored in the event table and data message table of database, wherein, the data manipulation event occurred in system passes through event table
Recorded, caused data message is recorded by data message in system.Specifically, event table is used to record event mark
Know the mapping relations between Data Identification, data message table is used for the mapping that record data is identified between data message and closed
System.Event identifier, Data Identification and data message with mapping relations correspond in system the same data manipulation occurred
Event, wherein, the event identifier is used to identify the data manipulation event, and the data message is believed caused by the data manipulation event
Breath, the Data Identification are used to identify the data message.For the equipment for performing data manipulation, it is only necessary to using one
Thread sends the first inquiry request for carrying benchmark event identifier to database, and database can is based on being used to reflect the equipment
On the benchmark event identifier of data message that has preserved determine to be used to reflect unsaved data in the equipment in event table
The object event mark of information, and target data corresponding with object event mark is returned to the equipment based on event table and identified,
So as to which the equipment can obtains database base by sending the second inquiry request of carrying target data mark to database
In the return of data message table and the corresponding target data information of target data mark, so as to realize target data on the device
The synchronization of information.As can be seen here, the equipment only needs to listen to all emerging numbers in system using a thread can
According to Action Events and target data mark is received, then by sending the second inquiry request for carrying target data and identifying to database
Can is synchronized to all new caused data messages in system, so as to avoid equipment because to newly producing data message in system
Monitoring take a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increase the speed of equipment synchrodata,
Also mitigate the load pressure of equipment itself.
For example, one of scene of the embodiment of the present application, such as distributed system as shown in Figure 1 can be applied to
System.There are multiple equipment 101 for being used to perform data manipulation within the system.Each equipment 101 can be entered with database 102
Row interaction.
Event table and data message table, the data manipulation event that all devices 101 performed are stored with database 102
Recorded by event table, data message caused by the execution data manipulation event of all devices 101 passes through data message table
Recorded.Specifically, event table is used to record the mapping relations between event identifier and Data Identification, and data message table is used for
Record data identifies the mapping relations between data message.Event identifier with mapping relations, Data Identification sum it is believed that
Breath corresponds to same data manipulation event, wherein, the event identifier is used to identify the data manipulation event, and the data message is this
Information caused by data manipulation event, the Data Identification are used to identify the data message.
For any one equipment 101, the equipment 101 sends to database and carries the first of benchmark event identifier
Inquiry request, the benchmark event identifier are used to reflect in the equipment 101 data message preserved.Database 102 is according to the base
Quasi- event identifier can determine the object event mark for reflecting unsaved data message in the equipment 101 in event table
Know, and target data corresponding in event table searching object event mark is identified and sent to the equipment 101.The sound of equipment 101
Ying Yu receives target data mark, and the second inquiry request for carrying target data mark is sent to database 102.Database
102 in data message table search target data mark corresponding to target data information sent to the equipment 101.The equipment 101
Receive and preserve target data information.So it is achieved that the synchronous target data information in the equipment 101.
As a kind of example, said system for example can be distributed execution system as shown in Figure 2.The equipment 101
Such as can be control server 201 in distributed execution system, the database 102 for example can be distributed to perform system
Database 202 in system.In addition, also include client task execute server 203 in distributed execution system.Wherein, control
Server 201 is resource management layer, is responsible for the distribution of task, the distribution of resource, the data manipulation such as api interface of client are held
OK.Client task execute server 103 is tasks carrying layer, is responsible for performing the task that control server 101 distributes.Database
103 for the data manipulation event occurred in storage system and its caused data message.In distributed execution system, control
Control server 101 can be by horizontal extension Cheng Duotai, each execution for controlling data manipulation in the sharing system of server 101, therefore,
Each control server 101 is needed caused by the data manipulation from other the synchronous control execution of servers 101 of database 103
Data message.That is, control server 101 is the equipment 101 for being used to perform data manipulation in aforementioned system.
It is understood that above-mentioned scene is only the Sample Scenario that the embodiment of the present application provides, the embodiment of the present application
It is not limited to this scene.
Below in conjunction with the accompanying drawings, the various non-limiting embodiments of the application are described in detail.
Example system
Referring to Fig. 3, a kind of system schematic of data syn-chronization in the embodiment of the present application is shown.The system of the present embodiment can
With including database 302 and for performing the equipment 301 of data manipulation.Wherein:
The equipment 301, the first inquiry request of benchmark event identifier is carried for being sent to database 302, received
The target data mark that the database 302 is sent, sent to the database 302 and carry the of the target data mark
Two inquiry requests, and, receive and preserve the target data information that the database 302 is sent;
The database 302, for receiving first inquiry request, target thing is determined according to the benchmark event identifier
Part is identified, and the target data mark corresponding to the object event mark is searched in event table and is sent out to the equipment 301
Send, receive second inquiry request, and, the target corresponding to the target data mark is searched in data message table
Data message is simultaneously sent to the equipment 301;
Wherein, the benchmark event identifier is used to reflect in the equipment 301 data message preserved, the target thing
Part is identified for reflecting unsaved data message in the equipment 301;
The object event is identified for identifying the target data Action Events occurred in the system, the target
Data Identification is used to identify the target data information, and the target data information is caused by the target data Action Events
Information.
In some embodiments of the present embodiment:
The equipment 301, is additionally operable to the triggering command in response to starting up, and sending the 3rd to the database 302 looks into
Request is ask, and, receive and preserve data message all in the data message table;
The database 302, it is additionally operable to receive the 3rd inquiry request, in response to the 3rd inquiry request by the data
All data messages are sent to the equipment 301 in information table.
In other embodiments of the present embodiment, the benchmark event identifier is for representing that reference data operates thing
First coding of the appearance order of part in the system, the reference data Action Events are to have been protected in the equipment 301
The event finally occurred in data manipulation event corresponding to the data message deposited, the object event are identified as representing institute
The second coding of the appearance order of target data Action Events in the system is stated, second coding is more than described first and compiled
Code.
In the other embodiment of the present embodiment, the equipment 301, it is additionally operable to:
Judge represented the second appearance order of the object event mark relative to represented by the benchmark event identifier
The first appearance order whether be incremental order;
In response to first appearance order relative to second appearance order be incremental order, execution it is described to institute
State database and send the second inquiry request for carrying the target data mark;
The order not being incremented by relative to second appearance order in response to first appearance order, records the mesh
Mark event identifier and judge it is nearest n time record object event identify whether it is identical, and in response to nearest n times record target thing
Part mark is identical, performs the second inquiry request for being sent to the database and carrying the target data mark, wherein, n is
Preset value.
In some other embodiments of the present embodiment,
It is described that the second inquiry request for carrying the target data mark is sent to the database 302, be specially:It is logical
Cross button.onrelease corresponding to target event type and sent to the database 302 and carry the of target data mark
Two inquiry requests;
The target data information for receiving and preserving the database 302 and send, it is specially:Pass through the object event
Button.onrelease corresponding to type receives and preserves the target data information;
The database 302, it is additionally operable to search object event corresponding to the object event mark in the event table
Type is simultaneously sent to the equipment 302;
Wherein, the object event type is used for the action type for representing the target data Action Events.
In the present embodiment again in some other embodiments, described sent to database carries the of benchmark event identifier
One inquiry request, it is specially:According to the polling cycle pre-set, sent to the database and carry the benchmark event mark
The first inquiry request known.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, then the second inquiry request can by sending carrying target data mark to database are same
All new caused data messages in system are walked, so as to avoid equipment because being accounted for the monitoring that data message is newly produced in system
Exceed the hardware processing capability upper limit of equipment with a large amount of threads, not only increase the speed of equipment synchrodata, also mitigate
The load pressure of equipment itself.
Referring to Fig. 4, a kind of system schematic of data syn-chronization in the embodiment of the present application is shown.The system of the present embodiment can
With including database 402 and for performing the equipment 401 of data manipulation.Wherein:
The equipment 402, for after first object data manipulation event is performed, generation to correspond to the first object
The recording instruction of data manipulation event is simultaneously sent to the database 401;
The database 401, for receiving the recording instruction, for first object data manipulation event distribution first
Object event identifies and first object Data Identification, by the first object event identifier and the first object Data Identification pair
It recorded in event table with answering, by first caused by the first object Data Identification and the first object data manipulation event
Target data information accordingly recorded in data message table;
The event table and the data message table are for other to be used to perform in addition to the equipment 401 in the system
The synchronous first object data message of the equipment of data manipulation.
In some embodiments of the present embodiment:
The equipment 401, the first inquiry that can be also used for carrying benchmark event identifier to the transmission of database 402 please
Ask, receive the second target data mark that the database 402 is sent, sent to the database 402 and carry described second
Second inquiry request of target data mark, and, receive and preserve second target data that the database 402 is sent
Information;
It the database 402, can be also used for receiving first inquiry request, determined according to the benchmark event identifier
Second object event is identified, and the second target data mark corresponding to the second object event mark is searched in event table
And sent to the equipment 401, second inquiry request is received, and, second target is searched in data message table
Second target data information corresponding to Data Identification is simultaneously sent to the equipment 401;
Wherein, the benchmark event identifier is used to reflect in the equipment 401 data message preserved, second mesh
Mark event identifier is used to reflect unsaved data message in the equipment 401;
Second target data information is information caused by the second target data Action Events, second target data
Event is that other are used to perform the data manipulation thing that the equipment of data manipulation performed in addition to the equipment 401 in the system
Part.
In other embodiments of the present embodiment, the benchmark event identifier can be for representing that reference data is grasped
Make the first coding of the appearance order of event in the system, the reference data Action Events are in the equipment 401
The event finally occurred in data manipulation event corresponding to the data message preserved, the object event are identified as table
Show the second coding of the appearance order of the second target data Action Events in the system, second coding is more than institute
State the first coding.
In the other embodiment of the present embodiment, the equipment 401, it can be also used for:
Judge represented the second appearance order of the second object event mark relative to the benchmark event identifier institute
Whether the first appearance order represented is incremental order;
In response to first appearance order relative to second appearance order be incremental order, execution it is described to institute
State database and send the second inquiry request for carrying the second target data mark;
In response to first appearance order relative to the order that is not incremented by of second appearance order, described the is recorded
Two object events identify and judge it is nearest n times record the second object event identify whether it is identical;
It is identical in response to the second object event mark of nearest n times record, perform to the database and sent carrying
The second inquiry request of the second target data mark is stated, wherein, n is preset value.
In the present embodiment, for the equipment for performing data manipulation, data manipulation event performed by it and
Caused data message can recorded in the event table and data message table of database, and so, other equipment only needs to use
One thread sends inquiry request to database, it is possible to all emerging data manipulation events in system are listened to, so as to
Further can is synchronized to all new caused data messages in system, so avoids equipment because to newly being produced in system
The monitoring of data message takes a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increases equipment synchrodata
Speed, also mitigate the load pressure of equipment itself.
Illustrative methods
Referring to Fig. 5, a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application is shown.The present embodiment
Method can apply in system be used for the equipment for performing data manipulation.Methods described for example specifically may comprise steps of:
501st, the first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to institute
State benchmark event identifier and determine that object event identifies, target data mark corresponding to the object event mark is searched in event table
Know and sent to the equipment, wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, institute
Object event is stated to identify for reflecting unsaved data message in the equipment.
In the present embodiment, event table and data message table are stored with database, system performs data manipulation and produced
Data message recorded by the two tables of data.Wherein, event table is used in record system what is occurred
Data manipulation event, data message table are used for being produced in data manipulation event accordingly record system because performing data manipulation
All data messages.
In event table, the mapping relations between event identifier and Data Identification can be specifically recorded.For example, in event table
In be that each data manipulation event for occurring sets a list item in system, the list item includes being used to identify the data manipulation
The event identifier of event and the event information for describing the data manipulation event, data mark is included in the event information
Know, the Data Identification is used to identify data message caused by the data manipulation event.
It is understood that except Data Identification, the event information can also include other and be used to describe the data manipulation
The information of event.As a kind of example, in the system as shown in fig. 3, the event information for example can be including " task 1 is added to
In client executing server 1 ", " increase client executing server 1 is into control server " etc..
In some embodiments of the present embodiment, event identifier, event type, number can be specifically recorded in event table
According to the mapping relations between mark three.For example, in event table in the list item of a data Action Events, including data behaviour
Make event identifier, event type and the event information of event.Included in the event information and be used to identify the data manipulation event
The Data Identification of caused data message.The event type represents the type of the data manipulation event.As a kind of example, scheming
In system shown in 1, the type of data manipulation event can for example include " newly-increased task ", " newly-increased client executing clothes
Business device " etc..
In data message table, the mapping relations between data message can be specifically identified with record data.For example, in number
According in information table be system in caused by each data message set a list item, the list item include the data message and
For identifying the Data Identification of the data message.
In the present embodiment, data manipulation can for example include the operation of increase data, delete the operation and modification of data
The operation of data.Each data manipulation that system performed may be regarded as an event.In systems, data manipulation
Event can be identified by event identifier.Each the data manipulation event occurred in system has an event mark
Know, also, the event identifier of each data manipulation event is different, so, event identifier can be played and identified and distinguish not
With the effect of data manipulation.As a kind of example, for a data Action Events, its event identifier can be a volume
Code value, the encoded radio can represent the appearance order of the data manipulation event in systems.For example, go out for first in system
Existing data manipulation event, its event identifier can be encoded radio " 1 ".And for example, grasped for the data of second appearance in system
Make event, its event identifier can be encoded radio " 2 ".
In addition, in systems, data message can be identified by Data Identification.In system because perform data manipulation and
Each caused data message has a Data Identification, also, the Data Identification of each data message be it is different, this
Sample, Data Identification can play a part of identifying and distinguish different pieces of information information.
When implementing data syn-chronization, the equipment can generate the first inquiry request for carrying benchmark event identifier
And sent to database, the benchmark event identifier can reflect the data message preserved in the equipment.Database response
In receiving the first inquiry request, benchmark event identifier can be obtained according to the first inquiry request.According to the benchmark event identifier,
Determine that object event identifies in all event identifiers that database can record in event table, object event mark is to use
In the event identifier for reflecting unsaved data message in the equipment, specifically, object event mark is target data
The event identifier of Action Events, data message caused by the target data Action Events are not preserve currently on said device
Data message.After object event mark is determined, database can be according to the mapping relationship searching recorded in event table
Go out target data mark corresponding to object event mark, and the target data found out is sent to the equipment and is identified.
In some embodiments of the present embodiment, database, can be by target after object event mark is found
Event identifier sends jointly to the equipment with Data Identification.Even, database can be by object event mark described in event table
Mapping relations where knowing all are sent to the equipment, including object event mark and its corresponding object event information, target
Event type etc..
It should be noted that the determination identified according to benchmark event identifier to object event, can there is a variety of implementations.
As a kind of example, the reference data Action Events for being used to identify for benchmark event identifier, reference data behaviour
It is all data messages that the equipment has preserved to make data message caused by event, is identified for object event for marking
The target data Action Events of knowledge, data message caused by the target data Action Events are unsaved in the equipment
All data messages.Specifically, the equipment can record when preserving data message caused by each data manipulation event
The event identifier of the data manipulation event.If desired data syn-chronization, all event marks that the equipment can be currently to have recorded
Knowledge is used as benchmark event identifier, and the first inquiry request for carrying benchmark event identifier is sent to database.Database response in
The first inquiry request is received, the thing for being not belonging to benchmark event identifier can be searched in the currently stored event identifier of event table
Part mark identifies as object event.
As another example, the event identifier of data manipulation event is particularly for representing data manipulation event in system
In appearance order coding, that is, the benchmark event identifier be for representing reference data Action Events in the system
In appearance order the first coding, the object event is identified as representing the target data Action Events in the system
Second coding of the appearance order in system, wherein, the second coding is more than the first coding.It is used for what is identified for benchmark event identifier
Reference data Action Events, the reference data Action Events are the numbers corresponding to the data message preserved in the apparatus
According to the event finally occurred in Action Events, in other words, the reference data Action Events are for producing in the equipment
The event finally occurred in all data manipulation events of all data messages preserved, that is, for producing described set
In all data manipulation events of all data messages preserved in standby, the event identifier of reference data Action Events is coding
Value maximum.Specifically, the equipment can record the number when preserving data message caused by each data manipulation event
According to the event identifier of Action Events.If desired data syn-chronization, the equipment can be in all event identifiers currently recorded
Choose encoded radio maximum one is used as benchmark event identifier, and the first inquiry for carrying benchmark event identifier is sent to database
Request.Database response can search coding in receiving the first inquiry request in the currently stored event identifier of event table
Value identifies more than the event identifier of benchmark event identifier as object event.
It is understood that in view of can constantly occur new data manipulation event in system, can not in database yet
Occurs new data message disconnectedly.In order that the equipment can be constantly new in sync database data message, at this
In some embodiments of embodiment, step 501 for example can be specially:According to the polling cycle pre-set, to the number
The first inquiry request for carrying the benchmark event identifier is sent according to storehouse.
502nd, the second inquiry request for carrying the target data mark is sent to the database, so as to the data
Target data information corresponding to the target data mark is searched in data message table and is sent to the equipment in storehouse.
In specific implementation, the equipment, can be with response to receiving feedback information of the database to the first inquiry request
Target data mark is obtained from feedback information.Then, the equipment regeneration carries the second inquiry of target data mark
Ask and sent to database.Database response can obtain mesh in receiving the second inquiry request, according to the first inquiry request
Mark Data Identification.After target data mark is obtained, database can be looked into according to the mapping relations recorded in data message table
Data message corresponding to target data mark is found out, and the target data found out is sent to the equipment and is identified.
In some embodiments of the present embodiment, the event identifier of data manipulation event is particularly for expression data behaviour
Make the coding of the appearance order of event in systems, the equipment is preserving data message caused by each data manipulation event
The event identifier of the Shi Jilu data manipulation events, benchmark event identifier are the maximum encoded radios of the equipment current record, mesh
Mark event identifier is the event that encoded radio is more than benchmark event identifier in the currently stored event identifier of the event table of database
Mark.Now, to avoid equipment missing data information in data syn-chronization, the equipment can be limited in object event mark
Know the corresponding data message of target data mark that desynchronizes again under conditions of the order incremental with the expression of both benchmark event identifiers.
Specifically, in the case where object event mark is sent to the equipment by database, the present embodiment can also for example include:Sentence
Represented the second appearance order of the disconnected object event mark occurs relative to first represented by the benchmark event identifier
Whether order is incremental order;Relative to second appearance order it is incremental suitable in response to first appearance order
Sequence, perform step 502;The order not being incremented by relative to second appearance order in response to first appearance order, note
Record the object event identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is preset value;Response
It is identical in the object event mark of nearest n times record, perform step 402.
It is understood that incremental order can be with specifically, reference data Action Events and target data Action Events
It is the continuous multiple data manipulation events of appearance order in system, wherein, reference data Action Events are prior to all in system
What target data Action Events occurred.That is, incremental order can be presented as, benchmark event identifier is with object event mark
Multiple continuous encoded radios, wherein, the encoded radio of benchmark event identifier is less than the encoded radio of all object events mark.More have
Body, if target data Action Events only have 1, incremental order can be presented as, benchmark event identifier represents base value
It is the data manipulation event of m-th of appearance in system according to Action Events, object event mark represents that target data Action Events are
The data manipulation event of the m+1 appearance in system.That is, benchmark event identifier is encoded radio " m ", object event is identified as volume
Code value " m+1 ".If target data Action Events have multiple, by taking n target data Action Events as an example, incremental order can be with body
It is now that the data manipulation event of m-th of appearance, n target data Action Events are respectively in benchmark event identifier expression system
M+1, m+2 in system ..., the data manipulation event of m+n appearance.That is, benchmark event identifier is encoded radio " m ", n
Object event mark be respectively encoded radio " m+1 ", " m+2 " ..., " m+n ".
In some embodiments of the present embodiment, database by target data mark except being sent to the equipment, also
Object event type can be sent to the equipment.Can be that different event types configure different things on said device
Part processing routine, pass through data message corresponding to the synchronous event type of button.onrelease corresponding to event type.Specifically,
Step 502 for example can be specially:Sent and carried to the database by button.onrelease corresponding to object event type
There is the second inquiry request of the target data mark;Wherein, the object event type is the database in the event
Object event type corresponding to the object event mark is searched in table and is sent to the equipment, the object event type
For representing the action type of the target data Action Events.
503rd, receive and preserve the target data information.
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
It is understood that the equipment saves the target data information, that is, the target data information
It has been synchronized in the equipment.
In some embodiments of the present embodiment, database by target data mark except being sent to the equipment, also
Object event type can be sent to the equipment.Can be that different event types configure different things on said device
Part processing routine, pass through data message corresponding to the synchronous event type of button.onrelease corresponding to event type.Specifically,
Step 503 for example can be specially:Received by button.onrelease corresponding to the object event type and preserve the mesh
Mark data message;Wherein, the object event type is that the database searches the object event mark in the event table
Object event type corresponding to knowledge is simultaneously sent to the equipment, and the object event type is used to represent target data behaviour
Make the action type of event.
It should be noted that in order to avoid losing data message in the equipment restarting process, to support under thermal starting
Data syn-chronization function, the present embodiment can also for example include:In response to the triggering command of starting up, sent to the database
3rd inquiry request, so that the database response is in the 3rd inquiry request, data all in the data message table are believed
Breath is sent to the equipment;Receive and preserve data message all in the data message table.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, then the second inquiry request can by sending carrying target data mark to database are same
All new caused data messages in system are walked, so as to avoid equipment because being accounted for the monitoring that data message is newly produced in system
Exceed the hardware processing capability upper limit of equipment with a large amount of threads, not only increase the speed of equipment synchrodata, also mitigate
The load pressure of equipment itself.
Referring to Fig. 6, a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application is shown.The present embodiment
The database that method can apply in system.Methods described for example specifically may comprise steps of:
601st, the first inquiry request that receiving device is sent, the equipment are to be used to perform data manipulation in the system
Equipment, benchmark event identifier is carried in first inquiry request, and the benchmark event identifier is used to reflect the equipment
The data message preserved;
602nd, determine that object event identifies according to the benchmark event identifier, and the object event is searched in event table
Target data mark corresponding to mark is simultaneously sent to the equipment, and the object event identifies not to be protected for reflecting in the equipment
The data message deposited;
603rd, the second inquiry request that the equipment is sent is received, the number of targets is carried in second inquiry request
According to mark;
604th, target data information corresponding to target data mark is searched in data message table and to the equipment
Send, so that the equipment preserves the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
Optionally, methods described also includes:
The 3rd inquiry request that the equipment is sent is received, the 3rd inquiry request is that the equipment opens in response to start
Dynamic triggering command and send;
In response to the 3rd inquiry request, search data message all in the data message table and sent out to the equipment
Send, so that the equipment receives and preserves the data message in the data message table.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
The coding of sequence, the reference data Action Events are the data manipulation thing corresponding to the data message preserved in the apparatus
The event finally occurred in part, the object event are identified as representing the target data Action Events in the system
Appearance order coding, the benchmark event identifier more than the object event identify.
Optionally, methods described also includes:
Object event type corresponding to the object event mark is searched in the event table and is sent to the equipment,
So that the equipment sends second inquiry request and reception by event handler corresponding to the object event type
And preserve the target data information;
Wherein, the object event type is used for the action type for representing the target data Action Events.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, then the second inquiry request can by sending carrying target data mark to database are same
All new caused data messages in system are walked, so as to avoid equipment because being accounted for the monitoring that data message is newly produced in system
Exceed the hardware processing capability upper limit of equipment with a large amount of threads, not only increase the speed of equipment synchrodata, also mitigate
The load pressure of equipment itself.
Referring to Fig. 7, a kind of schematic flow sheet of the monitor method of data manipulation event in the embodiment of the present application is shown.This
The method of embodiment can apply in system be used for the equipment for performing data manipulation.Methods described for example specifically can include with
Lower step:
701st, the first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to institute
State benchmark event identifier and determine that object event identifies, target data mark corresponding to the object event mark is searched in event table
Know and sent to the equipment.
702nd, the object event mark that the database is sent is received, and identification institute is identified according to the object event
State the target data Action Events that equipment described in system does not cross data synchronously;
Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event
Identify for reflecting unsaved data message in the equipment, the object event is identified for identifying to go out in the system
The target data Action Events now crossed.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
First coding of sequence, the reference data Action Events are the data behaviour corresponding to the data message preserved in the apparatus
Make the event finally occurred in event, the object event is identified as representing the target data Action Events in the system
Second coding of the appearance order in system, second coding are more than the described first coding.
Optionally, it is described to identify that equipment described in the system does not cross the mesh of data synchronously according to object event mark
Data manipulation event is marked, including:
Judge represented the second appearance order of the object event mark relative to represented by the benchmark event identifier
The first appearance order whether be incremental order;
In response to first appearance order relative to second appearance order be incremental order, by the target thing
Target data Action Events corresponding to part mark are identified as the target data behaviour that equipment described in the system does not cross data synchronously
Make event;
The order not being incremented by relative to second appearance order in response to first appearance order, records the mesh
Mark event identifier and judge it is nearest n time record object event identify whether it is identical, wherein, n is preset value;
It is identical in response to the object event mark of nearest n times record, by target data corresponding to object event mark
Action Events are identified as the target data Action Events that equipment described in the system does not cross data synchronously.
Optionally, it is described that the first inquiry request for carrying benchmark event identifier is sent to database, be specially:
According to the polling cycle pre-set, carry the first of the benchmark event identifier to database transmission and look into
Ask request.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, so as to avoid equipment because taking a large amount of threads to the monitoring that data message is newly produced in system
And exceed the hardware processing capability upper limit of equipment, alleviate the load pressure of equipment itself.
Referring to Fig. 8, a kind of schematic flow sheet of the monitor method of data manipulation event in the embodiment of the present application is shown.This
The database that the method for embodiment can apply in system.Methods described for example specifically may comprise steps of:
801st, the first inquiry request that receiving device is sent, the equipment are to be used to perform data manipulation in the system
Equipment, benchmark event identifier is carried in first inquiry request, and the benchmark event identifier is used to reflect the equipment
The data message preserved;
802nd, determine that object event identifies according to the benchmark event identifier, and the object event is searched in event table
Target data mark corresponding to mark is simultaneously sent to the equipment, and the object event identifies not to be protected for reflecting in the equipment
The data message deposited;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
The coding of sequence, the reference data Action Events are the data manipulation thing corresponding to the data message preserved in the apparatus
The event finally occurred in part, the object event are identified as representing the target data Action Events in the system
Appearance order coding, the benchmark event identifier more than the object event identify.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, so as to avoid equipment because taking a large amount of threads to the monitoring that data message is newly produced in system
And exceed the hardware processing capability upper limit of equipment, alleviate the load pressure of equipment itself.
It is understood that for an equipment for being used to perform data manipulation in distributed system, on the one hand it is certainly
Event table and data message table that can be by the data manipulation logout that itself is performed to database during body execution data manipulation
In, on the other hand it can synchronous other equipment performs from the event table and data message table of database data manipulation event
Caused data message.Specifically, Fig. 9 shows a kind of flow signal of method of data syn-chronization in the embodiment of the present application
Figure.The method of the present embodiment can apply in system be used for the equipment for performing data manipulation.Methods described for example specifically can be with
Comprise the following steps:
901st, after first object data manipulation event is performed, generation corresponds to the first object data manipulation event
Recording instruction;
902nd, the recording instruction is sent to the database, so that the database receives the recording instruction, for institute
First object data manipulation event distribution first object event identifier and first object Data Identification are stated, by the first object thing
Part, which identifies, accordingly recorded in event table with the first object Data Identification, by the first object Data Identification with it is described
First object data message caused by first object data manipulation event accordingly recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
In some embodiments of the present embodiment, methods described can also include:
The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the base
Quasi- event identifier determines that the second object event identifies, and is searched in event table described the corresponding to second object event mark
Two target datas are identified and sent to the equipment, wherein, the benchmark event identifier, which is used to reflect in the equipment, have been preserved
Data message, second object event identified for reflecting unsaved data message in the equipment;
The second inquiry request for carrying the second target data mark is sent to the database, so as to the data
Second target data information corresponding to the second target data mark is searched in data message table and is set to described in storehouse
Preparation is sent;
Receive and preserve second target data information that the database is sent;
Wherein, second target data information is information caused by the second target data Action Events, second mesh
Mark data event is that other are used to perform the data behaviour that the equipment of data manipulation performed in addition to the equipment in the system
Make event.
In other embodiments of the present embodiment, the benchmark event identifier can be for representing that reference data is grasped
Make the first coding of the appearance order of event in the system, the reference data Action Events can be in the apparatus
The event finally occurred in data manipulation event corresponding to the data message preserved, the object event are identified as table
Show the second coding of the appearance order of the second target data Action Events in the system, second coding is more than institute
State the first coding.
In the other embodiment of the present embodiment, methods described can also include:
Judge represented the second appearance order of the second object event mark relative to the benchmark event identifier institute
Whether the first appearance order represented is incremental order;
In response to first appearance order relative to second appearance order be incremental order, execution it is described to institute
State database and send the second inquiry request for carrying the second target data mark;
In response to first appearance order relative to the order that is not incremented by of second appearance order, described the is recorded
Two object events identify and judge it is nearest n times record the second object event identify whether it is identical;
It is identical in response to the second object event mark of nearest n times record, perform to the database and sent carrying
The second inquiry request of the second target data mark is stated, wherein, n is preset value.
In the present embodiment, for the equipment for performing data manipulation, data manipulation event performed by it and
Caused data message can recorded in the event table and data message table of database, and so, other equipment only needs to use
One thread sends inquiry request to database, it is possible to all emerging data manipulation events in system are listened to, so as to
Further can is synchronized to all new caused data messages in system, so avoids equipment because to newly being produced in system
The monitoring of data message takes a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increases equipment synchrodata
Speed, also mitigate the load pressure of equipment itself.
In addition, Figure 10 shows a kind of schematic flow sheet of the method for data syn-chronization in the embodiment of the present application.The present embodiment
The database that can apply in system of method.Methods described for example specifically may comprise steps of:
What the 1001st, receiving device was sent after first object data manipulation event is performed corresponds to the first object number
According to the recording instruction of Action Events, the equipment is the equipment for being used to perform data manipulation in the system;
1002nd, according to the recording instruction, first object event identifier is distributed for the first object data manipulation event
With first object Data Identification, the first object event identifier and the first object Data Identification accordingly be recorded into thing
In part table, by first object data message caused by the first object Data Identification and the first object data manipulation event
Accordingly it recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
In some embodiments of the present embodiment, methods described can also include:
The first inquiry request that the equipment is sent is received, benchmark event identifier is carried in first inquiry request,
The benchmark event identifier is used to reflect in the equipment data message preserved;
Determine that the second object event identifies according to the benchmark event identifier, the second target thing is searched in event table
The second target data mark corresponding to part mark is simultaneously sent to the equipment, and second object event is identified for reflecting
Unsaved data message in the equipment;
The second inquiry request that the equipment is sent is received, second number of targets is carried in second inquiry request
According to mark;
Searched in data message table second target data information corresponding to second target data mark and to
The equipment is sent, so that the equipment preserves the target data information;
Wherein, second target data information is information caused by the second target data Action Events, second mesh
Mark data event is that other are used to perform the data behaviour that the equipment of data manipulation performed in addition to the equipment in the system
Make event.
In other embodiments of the present embodiment, the benchmark event identifier is for representing that reference data operates thing
First coding of the appearance order of part in the system, the reference data Action Events have preserved in the apparatus
The event finally occurred in data manipulation event corresponding to data message, the object event are identified as representing described the
Second coding of the appearance order of two target data Action Events in the system, second coding are more than described first and compiled
Code.
In the present embodiment, for the equipment for performing data manipulation, data manipulation event performed by it and
Caused data message can recorded in the event table and data message table of database, and so, other equipment only needs to use
One thread sends inquiry request to database, it is possible to all emerging data manipulation events in system are listened to, so as to
Further can is synchronized to all new caused data messages in system, so avoids equipment because to newly being produced in system
The monitoring of data message takes a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increases equipment synchrodata
Speed, also mitigate the load pressure of equipment itself.
Example devices
Referring to Figure 11, a kind of structural representation of the device of data syn-chronization in the embodiment of the present application is shown.The present embodiment
Device can be configured at the equipment for being used to perform data manipulation in system, described device can for example include:
First transmitting element 1101, the first inquiry request of benchmark event identifier is carried for being sent to database, with
Toilet states database root and determines that object event identifies according to the benchmark event identifier, and the object event mark is searched in event table
Target data mark corresponding to knowledge is simultaneously sent to the equipment, wherein, the benchmark event identifier is used to reflect the equipment
The data message preserved, the object event are identified for reflecting unsaved data message in the equipment;
Second transmitting element 1102, the second inquiry of the target data mark is carried for being sent to the database
Request, so that the database searches target data information corresponding to target data mark and to institute in data message table
State equipment transmission;
First storage unit 1103, for receiving and preserving the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
Optionally, described device also includes:
3rd transmitting element, for the triggering command in response to starting up, sending the 3rd inquiry to the database please
Ask, so that the database response is in the 3rd inquiry request, data message all in the data message table is sent to institute
State equipment;
Second storage unit, for receiving and preserving data message all in the data message table.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
First coding of sequence, the reference data Action Events are the data behaviour corresponding to the data message preserved in the apparatus
Make the event finally occurred in event, the object event is identified as representing the target data Action Events in the system
Second coding of the appearance order in system, second coding are more than the described first coding.
Optionally, described device also includes:
First judging unit, for judging represented the second appearance order of the object event mark relative to the base
Whether the first appearance order represented by quasi- event identifier is incremental order;
First execution unit, for being sequentially sequentially incremental relative to second appearance in response to first appearance
Sequentially, second inquiry request for being sent to the database and carrying the target data mark is performed;
Second judging unit, for not being incremented by relative to second appearance order in response to first appearance order
Order, record the object event identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is pre-
If value;
Second execution unit, it is identical for the object event mark in response to nearest n times record, perform to the database
Send the second inquiry request for carrying the target data mark.
Optionally, second transmitting element 1102, is specifically used for:Pass through event handling journey corresponding to object event type
Sequence sends the second inquiry request for carrying the target data mark to the database;
First storage unit 1103, is specifically used for:Pass through button.onrelease corresponding to the object event type
Receive and preserve the target data information;
Wherein, the object event type is that the database searches the object event mark pair in the event table
The object event type answered simultaneously is sent to the equipment, and the object event type is used to represent the target data operation thing
The action type of part.
Optionally, first transmitting element 1101, is specifically used for:According to the polling cycle pre-set, to the number
The first inquiry request for carrying the benchmark event identifier is sent according to storehouse.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, then the second inquiry request can by sending carrying target data mark to database are same
All new caused data messages in system are walked, so as to avoid equipment because being accounted for the monitoring that data message is newly produced in system
Exceed the hardware processing capability upper limit of equipment with a large amount of threads, not only increase the speed of equipment synchrodata, also mitigate
The load pressure of equipment itself.
Referring to Figure 12, a kind of structural representation of the device of data syn-chronization in the embodiment of the present application is shown.The present embodiment
Device can be configured at database in system, described device can for example include:
First receiving unit 1201, the first inquiry request sent for receiving device, the equipment are in the system
Equipment for performing data manipulation, benchmark event identifier, the benchmark event identifier are carried in first inquiry request
For reflecting in the equipment data message preserved;
First searching unit 1202, for determining that object event identifies according to the benchmark event identifier, and in event table
Middle to search target data mark corresponding to the object event mark and sent to the equipment, the object event, which identifies, to be used for
Reflect unsaved data message in the equipment;
Second receiving unit 1203, the second inquiry request sent for receiving the equipment, second inquiry request
In carry target data mark;
Second searching unit 1204, for searching target data corresponding to the target data mark in data message table
Information is simultaneously sent to the equipment, so that the equipment preserves the target data information;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system, institute
State target data to identify for identifying the target data information, the target data information is the target data Action Events
Caused information.
Optionally, described device also includes:
3rd receiving unit, the 3rd inquiry request sent for receiving the equipment, the 3rd inquiry request is institute
Equipment is stated to send in response to the triggering command of starting up;
3rd searching unit, in response to the 3rd inquiry request, searching data letter all in the data message table
Cease and sent to the equipment, so that the equipment receives and preserves the data message in the data message table.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
The coding of sequence, the reference data Action Events are the data manipulation thing corresponding to the data message preserved in the apparatus
The event finally occurred in part, the object event are identified as representing the target data Action Events in the system
Appearance order coding, the benchmark event identifier more than the object event identify.
Optionally, described device also includes:
4th searching unit, for searching object event type corresponding to the object event mark in the event table
And sent to the equipment, so that the equipment sends described second by event handler corresponding to the object event type
Inquiry request and reception simultaneously preserve the target data information;
Wherein, the object event type is used for the action type for representing the target data Action Events.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, then the second inquiry request can by sending carrying target data mark to database are same
All new caused data messages in system are walked, so as to avoid equipment because being accounted for the monitoring that data message is newly produced in system
Exceed the hardware processing capability upper limit of equipment with a large amount of threads, not only increase the speed of equipment synchrodata, also mitigate
The load pressure of equipment itself.
Referring to Figure 13, a kind of structural representation of the monitoring device of data manipulation event in the embodiment of the present application is shown.
The device of the present embodiment can be configured at the equipment for being used to perform data manipulation in system.Described device can for example include:
Transmitting element 1301, the first inquiry request of benchmark event identifier is carried for being sent to database, with toilet
State database root and determine that object event identifies according to the benchmark event identifier, the object event mark pair is searched in event table
The target data answered is identified and sent to the equipment.
Receiving unit 1302, the object event mark sent for receiving the database;
Recognition unit 1303, for identifying that equipment described in the system is not synchronous excessively several according to object event mark
According to target data Action Events;
Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event
Identify for reflecting unsaved data message in the equipment, the object event is identified for identifying to go out in the system
The target data Action Events now crossed.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
First coding of sequence, the reference data Action Events are the data behaviour corresponding to the data message preserved in the apparatus
Make the event finally occurred in event, the object event is identified as representing the target data Action Events in the system
Second coding of the appearance order in system, second coding are more than the described first coding.
Optionally, the recognition unit 1303 is specifically used for:
Judge represented the second appearance order of the object event mark relative to represented by the benchmark event identifier
The first appearance order whether be incremental order;
In response to first appearance order relative to second appearance order be incremental order, by the target thing
Target data Action Events corresponding to part mark are identified as the target data behaviour that equipment described in the system does not cross data synchronously
Make event;
The order not being incremented by relative to second appearance order in response to first appearance order, records the mesh
Mark event identifier and judge it is nearest n time record object event identify whether it is identical, wherein, n is preset value;
It is identical in response to the object event mark of nearest n times record, by target data corresponding to object event mark
Action Events are identified as the target data Action Events that equipment described in the system does not cross data synchronously.
Optionally, the transmitting element 1301 is specifically used for:
According to the polling cycle pre-set, carry the first of the benchmark event identifier to database transmission and look into
Ask request.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, so as to avoid equipment because taking a large amount of threads to the monitoring that data message is newly produced in system
And exceed the hardware processing capability upper limit of equipment, alleviate the load pressure of equipment itself.
Referring to Figure 14, a kind of structural representation of the monitor method of data manipulation event in the embodiment of the present application is shown.
The device of the present embodiment can be configured at the database in system.Described device can for example include:
Receiving unit 1401, the first inquiry request sent for receiving device, the equipment are to be used in the system
The equipment for performing data manipulation, benchmark event identifier is carried in first inquiry request, the benchmark event identifier is used for
Reflect in the equipment data message preserved;
Searching unit 1402, for determining that object event identifies according to the benchmark event identifier, and looked into event table
Look for target data mark corresponding to the object event mark and sent to the equipment, the object event is identified for reflecting
Unsaved data message in the equipment;
Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
The coding of sequence, the reference data Action Events are the data manipulation thing corresponding to the data message preserved in the apparatus
The event finally occurred in part, the object event are identified as representing the target data Action Events in the system
Appearance order coding, the benchmark event identifier more than the object event identify.
In the present embodiment, for the equipment for performing data manipulation, it is only necessary to using a thread to data
Storehouse sends the first inquiry request for carrying benchmark event identifier and receives target data mark, it is possible to listens in system and owns
Emerging data manipulation event, so as to avoid equipment because taking a large amount of threads to the monitoring that data message is newly produced in system
And exceed the hardware processing capability upper limit of equipment, alleviate the load pressure of equipment itself.
Referring to Figure 15, a kind of structural representation of the device of data syn-chronization in the embodiment of the present application is shown.The present embodiment
Device can be configured at the equipment for being used to perform data manipulation in system, described device can for example include:
Generation unit 1501, for after first object data manipulation event is performed, generation to correspond to first mesh
Mark the recording instruction of data manipulation event;
First transmitting element 1502, for sending the recording instruction to the database, so that the database receives
The recording instruction, first object event identifier and first object data mark are distributed for the first object data manipulation event
Know, the first object event identifier and the first object Data Identification accordingly recorded in event table, by described the
One target data mark accordingly recorded number with first object data message caused by the first object data manipulation event
According in information table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
Optionally, described device also includes:
Second transmitting element, the first inquiry request of benchmark event identifier is carried for being sent to database, with toilet
State database root and determine that the second object event identifies according to the benchmark event identifier, the second target thing is searched in event table
The second target data mark corresponding to part mark is simultaneously sent to the equipment, wherein, the benchmark event identifier is used for anti-
The data message preserved is reflected in the equipment, and second object event is identified for reflecting unsaved number in the equipment
It is believed that breath;
3rd transmitting element, the second inquiry of the second target data mark is carried for being sent to the database
Request, so that the database searches second number of targets corresponding to the second target data mark in data message table
It is believed that cease and sent to the equipment;
Storage unit, second target data information sent for receiving and preserving the database;
Wherein, second target data information is information caused by the second target data Action Events, second mesh
Mark data event is that other are used to perform the data behaviour that the equipment of data manipulation performed in addition to the equipment in the system
Make event.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
First coding of sequence, the reference data Action Events are the data behaviour corresponding to the data message preserved in the apparatus
Make the event finally occurred in event, the object event is identified as representing the second target data Action Events in institute
The second coding of the appearance order in system is stated, second coding is more than the described first coding.
Optionally, described device also includes:
First judging unit, for judging represented the second appearance order of the second object event mark relative to institute
Whether the first appearance order stated represented by benchmark event identifier is incremental order;
First execution unit, for being sequentially sequentially incremental relative to second appearance in response to first appearance
Sequentially, second inquiry request for being sent to the database and carrying the second target data mark is performed;
Second judging unit, for not being incremented by relative to second appearance order in response to first appearance order
Order, record second object event identify and judge it is nearest n times record the second object event identify whether it is identical;
Second execution unit, it is identical for the second object event mark in response to nearest n times record, perform to the number
The second inquiry request for carrying the second target data mark is sent according to storehouse, wherein, n is preset value.
In the present embodiment, for the equipment for performing data manipulation, data manipulation event performed by it and
Caused data message can recorded in the event table and data message table of database, and so, other equipment only needs to use
One thread sends inquiry request to database, it is possible to all emerging data manipulation events in system are listened to, so as to
Further can is synchronized to all new caused data messages in system, so avoids equipment because to newly being produced in system
The monitoring of data message takes a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increases equipment synchrodata
Speed, also mitigate the load pressure of equipment itself.
Referring to Figure 16, a kind of structural representation of the device of data syn-chronization in the embodiment of the present application is shown.The present embodiment
Device can be configured at database in system, described device can for example include:
First receiving unit 1601, the correspondence sent for receiving device after first object data manipulation event is performed
In the recording instruction of the first object data manipulation event, the equipment is to be used to perform setting for data manipulation in the system
It is standby;
Event recording unit 1602, for according to the recording instruction, being distributed for the first object data manipulation event
First object event identifier and first object Data Identification, by the first object event identifier and the first object data mark
Knowledge accordingly recorded in event table, by caused by the first object Data Identification and the first object data manipulation event
First object data message accordingly recorded in data message table;
The event table and the data message table are for other to be used to perform number in addition to the equipment in the system
According to the synchronous first object data message of equipment of operation.
Optionally, described device also includes:
Second receiving unit, for receiving the first inquiry request of the equipment transmission, taken in first inquiry request
With benchmark event identifier, the benchmark event identifier is used to reflect in the equipment data message preserved;
First searching unit, for determining that the second object event identifies according to the benchmark event identifier, in event table
Search the second target data mark corresponding to the second object event mark and sent to the equipment, second mesh
Mark event identifier is used to reflect unsaved data message in the equipment;
Second receiving unit, for receiving the second inquiry request of the equipment transmission, taken in second inquiry request
Identified with second target data;
Second searching unit, for being searched in data message table described second corresponding to the second target data mark
Target data information is simultaneously sent to the equipment, so that the equipment preserves the target data information;
Wherein, second target data information is information caused by the second target data Action Events, second mesh
Mark data event is that other are used to perform the data behaviour that the equipment of data manipulation performed in addition to the equipment in the system
Make event.
Optionally, the benchmark event identifier is for representing that the appearance of reference data Action Events in the system is suitable
First coding of sequence, the reference data Action Events are the data behaviour corresponding to the data message preserved in the apparatus
Make the event finally occurred in event, the object event is identified as representing the second target data Action Events in institute
The second coding of the appearance order in system is stated, second coding is more than the described first coding.
In the present embodiment, for the equipment for performing data manipulation, data manipulation event performed by it and
Caused data message can recorded in the event table and data message table of database, and so, other equipment only needs to use
One thread sends inquiry request to database, it is possible to all emerging data manipulation events in system are listened to, so as to
Further can is synchronized to all new caused data messages in system, so avoids equipment because to newly being produced in system
The monitoring of data message takes a large amount of threads beyond the hardware processing capability upper limit of equipment, not only increases equipment synchrodata
Speed, also mitigate the load pressure of equipment itself.
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 and deposited between these entities or operation
In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute
State in process, method, article or the equipment of key element and other identical element also be present.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Apparatus embodiments described above are only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, you can to understand and implement.
Described above is only the embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as the protection domain of the application.
Claims (51)
- A kind of 1. system of data syn-chronization, it is characterised in that the equipment including database and for performing data manipulation;The equipment, the first inquiry request of benchmark event identifier is carried for being sent to database, receives the database The target data mark of transmission, the second inquiry request for carrying the target data mark is sent to the database, and, Receive and preserve the target data information that the database is sent;The database, for receiving first inquiry request, determine that object event identifies according to the benchmark event identifier, The target data mark corresponding to the object event mark is searched in event table and is sent to the equipment, described in reception Second inquiry request, and, the target data information corresponding to the target data mark is searched in data message table simultaneously Sent to the equipment;Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event mark For reflecting unsaved data message in the equipment;The object event is identified for identifying the target data Action Events occurred in the system, the target data Identify for identifying the target data information, the target data information is believed caused by the target data Action Events Breath.
- 2. system according to claim 1, it is characterised in thatThe equipment, the triggering command in response to starting up is additionally operable to, the 3rd inquiry request is sent to the database, with And receive and preserve data message all in the data message table;The database, it is additionally operable to receive the 3rd inquiry request, in response to the 3rd inquiry request by the data message table In all data message be sent to the equipment.
- 3. system according to claim 1, it is characterised in that the benchmark event identifier is for representing that reference data is grasped Make the first coding of the appearance order of event in the system, the reference data Action Events are to have protected in the apparatus The event finally occurred in data manipulation event corresponding to the data message deposited, the object event are identified as representing institute The second coding of the appearance order of target data Action Events in the system is stated, second coding is more than described first and compiled Code.
- 4. system according to claim 3, it is characterised in that the equipment, be additionally operable to:Judge represented the second appearance order of object event mark relative to the represented by the benchmark event identifier Whether one appearance order is incremental order;In response to first appearance order relative to second appearance order be incremental order, execution it is described to the number The second inquiry request for carrying the target data mark is sent according to storehouse;The order not being incremented by relative to second appearance order in response to first appearance order, records the target thing Part identify and judge it is nearest n times record object event identify whether it is identical;It is identical in response to the object event mark of nearest n times record, perform to database transmission and carry the number of targets According to the second inquiry request of mark, wherein, n is preset value.
- 5. system according to claim 1, it is characterised in thatIt is described that the second inquiry request for carrying the target data mark is sent to the database, be specially:Pass through target The second inquiry that button.onrelease corresponding to event type carries the target data mark to database transmission please Ask;The target data information for receiving and preserving the database and send, it is specially:Pass through the object event type pair The button.onrelease answered receives and preserves the target data information;The database, be additionally operable to search in the event table object event type corresponding to the object event mark and to The equipment is sent;Wherein, the object event type is used for the action type for representing the target data Action Events.
- 6. system according to claim 1, it is characterised in thatIt is described that the first inquiry request for carrying benchmark event identifier is sent to database, be specially:According to the wheel pre-set The cycle is ask, the first inquiry request for carrying the benchmark event identifier is sent to the database.
- A kind of 7. method of data syn-chronization, it is characterised in that the equipment applied to being used to perform data manipulation in system, including:The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the benchmark thing Part mark determines object event mark, target data mark corresponding to object event mark is searched in event table and to institute Equipment transmission is stated, wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the target thing Part is identified for reflecting unsaved data message in the equipment;The second inquiry request for carrying the target data mark is sent to the database, so that the database is in data Target data information corresponding to the target data mark is searched in information table and is sent to the equipment;Receive and preserve the target data information;Wherein, the object event is identified for identifying the target data Action Events occurred in the system, the mesh Mark Data Identification is used to identify the target data information, and the target data information is that the target data Action Events produce Information.
- 8. according to the method for claim 7, it is characterised in that also include:In response to the triggering command of starting up, the 3rd inquiry request is sent to the database, so as to the database response In the 3rd inquiry request, data message all in the data message table is sent to the equipment;Receive and preserve data message all in the data message table.
- 9. according to the method for claim 7, it is characterised in that the benchmark event identifier is for representing that reference data is grasped Make the first coding of the appearance order of event in the system, the reference data Action Events are to have protected in the apparatus The event finally occurred in data manipulation event corresponding to the data message deposited, the object event are identified as representing institute The second coding of the appearance order of target data Action Events in the system is stated, second coding is more than described first and compiled Code.
- 10. according to the method for claim 9, it is characterised in that also include:Judge represented the second appearance order of object event mark relative to the represented by the benchmark event identifier Whether one appearance order is incremental order;In response to first appearance order relative to second appearance order be incremental order, execution it is described to the number The second inquiry request for carrying the target data mark is sent according to storehouse;The order not being incremented by relative to second appearance order in response to first appearance order, records the target thing Part identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is preset value;It is identical in response to the object event mark of nearest n times record, perform to database transmission and carry the number of targets According to the second inquiry request of mark.
- 11. according to the method for claim 7, it is characterised in that described sent to the database carries the target Second inquiry request of Data Identification, it is specially:By button.onrelease corresponding to object event type to the database Send the second inquiry request for carrying the target data mark;It is described to receive and preserve the target data information, be specially:Pass through event handling corresponding to the object event type Program receives and preserves the target data information;Wherein, the object event type is that the database is searched in the event table corresponding to the object event mark Object event type and to the equipment send, the object event type be used for represent the target data Action Events Action type.
- 12. according to the method for claim 7, it is characterised in that described sent to database carries benchmark event identifier The first inquiry request, be specially:According to the polling cycle pre-set, the first inquiry that the benchmark event identifier is carried to database transmission please Ask.
- A kind of 13. method of data syn-chronization, it is characterised in that applied to the database in system, including:The first inquiry request that receiving device is sent, the equipment are the equipment for performing data manipulation, institute in the system State and benchmark event identifier is carried in the first inquiry request, the benchmark event identifier is used to reflect in the equipment what is preserved Data message;Determine that object event identifies according to the benchmark event identifier, and search the object event mark in event table and correspond to Target data mark and sent to the equipment, the object event is identified for reflecting unsaved data in the equipment Information;The second inquiry request that the equipment is sent is received, the target data mark is carried in second inquiry request;Target data information corresponding to the target data mark is searched in data message table and is sent to the equipment, so as to The equipment preserves the target data information;Wherein, the object event is identified for identifying the target data Action Events occurred in the system, the mesh Mark Data Identification is used to identify the target data information, and the target data information is that the target data Action Events produce Information.
- 14. according to the method for claim 13, it is characterised in that also include:The 3rd inquiry request that the equipment is sent is received, the 3rd inquiry request is the equipment in response to starting up Triggering command and send;In response to the 3rd inquiry request, search data message all in the data message table and sent to the equipment, with Toilet states equipment and receives and preserve the data message in the data message table.
- 15. according to the method for claim 13, it is characterised in that the benchmark event identifier is for representing reference data The coding of the appearance order of Action Events in the system, the reference data Action Events are to have preserved in the apparatus Data message corresponding to data manipulation event in the event that finally occurs, the object event is identified as representing described The coding of the appearance order of target data Action Events in the system, the benchmark event identifier are more than the object event Mark.
- 16. according to the method for claim 13, it is characterised in that also include:Object event type corresponding to the object event mark is searched in the event table and is sent to the equipment, so as to The equipment sends second inquiry request and reception by event handler corresponding to the object event type and protected Deposit the target data information;Wherein, the object event type is used for the action type for representing the target data Action Events.
- A kind of 17. device of data syn-chronization, it is characterised in that the equipment for being used to perform data manipulation in system is configured at, including:First transmitting element, the first inquiry request of benchmark event identifier is carried for being sent to database, so as to the number Determine that object event identifies according to the benchmark event identifier according to storehouse, searched in event table corresponding to the object event mark Target data is identified and sent to the equipment, wherein, the benchmark event identifier is used to reflect in the equipment what is preserved Data message, the object event are identified for reflecting unsaved data message in the equipment;Second transmitting element, the second inquiry request of the target data mark is carried for being sent to the database, with Toilet states database and target data information corresponding to target data mark is searched in data message table and to the equipment Send;First storage unit, for receiving and preserving the target data information;Wherein, the object event is identified for identifying the target data Action Events occurred in the system, the mesh Mark Data Identification is used to identify the target data information, and the target data information is that the target data Action Events produce Information.
- 18. device according to claim 17, it is characterised in that also include:3rd transmitting element, for the triggering command in response to starting up, the 3rd inquiry request is sent to the database, with Toilet states database response in the 3rd inquiry request, and data message all in the data message table is sent into described set It is standby;Second storage unit, for receiving and preserving data message all in the data message table.
- 19. device according to claim 17, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the target data Action Events in the system, second coding are more than described first Coding.
- 20. device according to claim 19, it is characterised in that also include:First judging unit, for judging represented the second appearance order of the object event mark relative to the benchmark thing Whether represented the first appearance order of part mark is incremental order;First execution unit, for relative to second appearance order being incremental suitable in response to first appearance order Sequence, perform second inquiry request for being sent to the database and carrying the target data mark;Second judging unit, it is suitable for not being incremented by relative to second appearance order in response to first appearance order Sequence, record the object event identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is default Value;Second execution unit, it is identical for the object event mark in response to nearest n times record, perform and sent to the database Carry the second inquiry request of the target data mark.
- 21. device according to claim 17, it is characterised in that second transmitting element, be specifically used for:Pass through target The second inquiry that button.onrelease corresponding to event type carries the target data mark to database transmission please Ask;First storage unit, is specifically used for:Receive and protect by button.onrelease corresponding to the object event type Deposit the target data information;Wherein, the object event type is that the database is searched in the event table corresponding to the object event mark Object event type and to the equipment send, the object event type be used for represent the target data Action Events Action type.
- 22. device according to claim 17, it is characterised in that first transmitting element, be specifically used for:According to advance The polling cycle of setting, the first inquiry request for carrying the benchmark event identifier is sent to the database.
- A kind of 23. device of data syn-chronization, it is characterised in that the database being configured in system, including:First receiving unit, the first inquiry request sent for receiving device, the equipment are to be used to perform in the system The equipment of data manipulation, benchmark event identifier is carried in first inquiry request, and the benchmark event identifier is used to reflect The data message preserved in the equipment;First searching unit, for determining that object event identifies according to the benchmark event identifier, and institute is searched in event table State target data mark corresponding to object event mark and sent to the equipment, the object event identifies described for reflecting Unsaved data message in equipment;Second receiving unit, for receiving the second inquiry request of the equipment transmission, carried in second inquiry request The target data mark;Second searching unit, for searched in data message table target data information corresponding to target data mark and to The equipment is sent, so that the equipment preserves the target data information;Wherein, the object event is identified for identifying the target data Action Events occurred in the system, the mesh Mark Data Identification is used to identify the target data information, and the target data information is that the target data Action Events produce Information.
- 24. device according to claim 23, it is characterised in that also include:3rd receiving unit, the 3rd inquiry request sent for receiving the equipment, the 3rd inquiry request is described sets It is standby to be sent in response to the triggering command of starting up;3rd searching unit, in response to the 3rd inquiry request, searching data message all in the data message table simultaneously Sent to the equipment, so that the equipment receives and preserves the data message in the data message table.
- 25. device according to claim 23, it is characterised in that the benchmark event identifier is for representing reference data The coding of the appearance order of Action Events in the system, the reference data Action Events are to have preserved in the apparatus Data message corresponding to data manipulation event in the event that finally occurs, the object event is identified as representing described The coding of the appearance order of target data Action Events in the system, the benchmark event identifier are more than the object event Mark.
- 26. device according to claim 23, it is characterised in that also include:4th searching unit, for searched in the event table object event type corresponding to object event mark and to The equipment is sent, so that the equipment sends second inquiry by event handler corresponding to the object event type Ask and receive and preserve the target data information;Wherein, the object event type is used for the action type for representing the target data Action Events.
- A kind of 27. monitor method of data manipulation event, it is characterised in that applied in system be used for perform setting for data manipulation It is standby, including:The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the benchmark thing Part mark determines object event mark, target data mark corresponding to object event mark is searched in event table and to institute State equipment transmission;The object event mark that the database is sent is received, and is identified according to object event mark in the system The equipment does not cross the target data Action Events of data synchronously;Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event mark For reflecting unsaved data message in the equipment, the object event identifies to be occurred in the system for identifying Target data Action Events.
- 28. according to the method for claim 27, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the target data Action Events in the system, second coding are more than described first Coding.
- 29. according to the method for claim 28, it is characterised in that described that the system is identified according to object event mark Equipment described in system does not cross the target data Action Events of data synchronously, including:Judge represented the second appearance order of object event mark relative to the represented by the benchmark event identifier Whether one appearance order is incremental order;In response to first appearance order relative to second appearance order be incremental order, by the object event mark Target data Action Events corresponding to knowledge are identified as the target data operation thing that equipment described in the system does not cross data synchronously Part;The order not being incremented by relative to second appearance order in response to first appearance order, records the target thing Part identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is preset value;It is identical in response to the object event mark of nearest n times record, target data corresponding to object event mark is operated Event recognition is the target data Action Events that equipment described in the system does not cross data synchronously.
- 30. according to the method for claim 27, it is characterised in that described sent to database carries benchmark event identifier The first inquiry request, be specially:According to the polling cycle pre-set, the first inquiry that the benchmark event identifier is carried to database transmission please Ask.
- A kind of 31. monitor method of data manipulation event, it is characterised in that applied to the database in system, including:The first inquiry request that receiving device is sent, the equipment are the equipment for performing data manipulation, institute in the system State and benchmark event identifier is carried in the first inquiry request, the benchmark event identifier is used to reflect in the equipment what is preserved Data message;Determine that object event identifies according to the benchmark event identifier, and search the object event mark in event table and correspond to Target data mark and sent to the equipment, the object event is identified for reflecting unsaved data in the equipment Information;Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
- 32. according to the method for claim 31, it is characterised in that the benchmark event identifier is for representing reference data The coding of the appearance order of Action Events in the system, the reference data Action Events are to have preserved in the apparatus Data message corresponding to data manipulation event in the event that finally occurs, the object event is identified as representing described The coding of the appearance order of target data Action Events in the system, the benchmark event identifier are more than the object event Mark.
- 33. a kind of monitoring device of data manipulation event, it is characterised in that be configured in system and be used to perform setting for data manipulation It is standby, including:Transmitting element, the first inquiry request of benchmark event identifier is carried for being sent to database, so as to the database Determine that object event identifies according to the benchmark event identifier, target corresponding to the object event mark is searched in event table Data Identification is simultaneously sent to the equipment.Receiving unit, the object event mark sent for receiving the database;Recognition unit, for identifying that equipment described in the system does not cross the target of data synchronously according to object event mark Data manipulation event;Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, the object event mark For reflecting unsaved data message in the equipment, the object event identifies to be occurred in the system for identifying Target data Action Events.
- 34. device according to claim 33, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the target data Action Events in the system, second coding are more than described first Coding.
- 35. device according to claim 34, it is characterised in that the recognition unit is specifically used for:Judge represented the second appearance order of object event mark relative to the represented by the benchmark event identifier Whether one appearance order is incremental order;In response to first appearance order relative to second appearance order be incremental order, by the object event mark Target data Action Events corresponding to knowledge are identified as the target data operation thing that equipment described in the system does not cross data synchronously Part;The order not being incremented by relative to second appearance order in response to first appearance order, records the target thing Part identify and judge it is nearest n times record object event identify whether it is identical, wherein, n is preset value;It is identical in response to the object event mark of nearest n times record, target data corresponding to object event mark is operated Event recognition is the target data Action Events that equipment described in the system does not cross data synchronously.
- 36. device according to claim 33, it is characterised in that the transmitting element is specifically used for:According to the polling cycle pre-set, the first inquiry that the benchmark event identifier is carried to database transmission please Ask.
- A kind of 37. monitoring device of data manipulation event, it is characterised in that the database being configured in system, including:Receiving unit, the first inquiry request sent for receiving device, the equipment are to be used to perform data in the system The equipment of operation, carries benchmark event identifier in first inquiry request, and the benchmark event identifier is used to reflecting described The data message preserved in equipment;Searching unit, for determining that object event identifies according to the benchmark event identifier, and the mesh is searched in event table Mark target data mark corresponding to event identifier and sent to the equipment, the object event is identified for reflecting the equipment Upper unsaved data message;Wherein, the object event is identified for identifying the target data Action Events occurred in the system.
- 38. the device according to claim 37, it is characterised in that the benchmark event identifier is for representing reference data The coding of the appearance order of Action Events in the system, the reference data Action Events are to have preserved in the apparatus Data message corresponding to data manipulation event in the event that finally occurs, the object event is identified as representing described The coding of the appearance order of target data Action Events in the system, the benchmark event identifier are more than the object event Mark.
- A kind of 39. system of data syn-chronization, it is characterised in that the equipment including database and for performing data manipulation;The equipment, for after first object data manipulation event is performed, generation to correspond to the first object data and grasped Make the recording instruction of event and sent to the database;The database, for receiving the recording instruction, first object thing is distributed for the first object data manipulation event Part identifies and first object Data Identification, and the first object event identifier and the first object Data Identification are accordingly remembered Record in event table, by first object number caused by the first object Data Identification and the first object data manipulation event It is believed that breath accordingly recorded in data message table;The event table and the data message table are for other to be used to perform data behaviour in addition to the equipment in the system The synchronous first object data message of the equipment of work.
- 40. the system according to claim 39, it is characterised in thatThe equipment, the first inquiry request of benchmark event identifier is carried for being sent to database, receives the database The the second target data mark sent, the second inquiry that the second target data mark is carried to database transmission please Ask, and, receive and preserve second target data information that the database is sent;The database, for receiving first inquiry request, the second object event is determined according to the benchmark event identifier Mark, the second target data mark corresponding to second object event mark is searched in event table and to the equipment Send, receive second inquiry request, and, institute corresponding to the second target data mark is searched in data message table State the second target data information and sent to the equipment;Wherein, the benchmark event identifier is used to reflect in the equipment data message preserved, second object event Identify for reflecting unsaved data message in the equipment;Second target data information is information caused by the second target data Action Events, the second target data event It is that other are used to perform the data manipulation event that the equipment of data manipulation performed in addition to the equipment in the system.
- 41. system according to claim 40, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the second target data Action Events in the system, second coding are more than described First coding.
- 42. system according to claim 41, it is characterised in that the equipment, be additionally operable to:Judge represented the second appearance order of the second object event mark relative to represented by the benchmark event identifier The first appearance order whether be incremental order;In response to first appearance order relative to second appearance order be incremental order, execution it is described to the number The second inquiry request for carrying the second target data mark is sent according to storehouse;The order not being incremented by relative to second appearance order in response to first appearance order, records second mesh Mark event identifier and judge it is nearest n time record the second object event identify whether it is identical;It is identical in response to the second object event mark of nearest n times record, perform to send to the database and carry described the Second inquiry request of two target datas mark, wherein, n is preset value.
- A kind of 43. method of data syn-chronization, it is characterised in that the equipment applied to being used to perform data manipulation in system, including:After first object data manipulation event is performed, generation refers to corresponding to the record of the first object data manipulation event Make and sent to the database, be the first object data manipulation thing so that the database receives the recording instruction Part distributes first object event identifier and first object Data Identification, by the first object event identifier and the first object Data Identification accordingly recorded in event table, by the first object Data Identification and the first object data manipulation event Caused first object data message accordingly recorded in data message table;The event table and the data message table are for other to be used to perform data behaviour in addition to the equipment in the system The synchronous first object data message of the equipment of work.
- 44. according to the method for claim 43, it is characterised in that also include:The first inquiry request for carrying benchmark event identifier is sent to database, so that the database root is according to the benchmark thing Part mark determines the second object event mark, and second mesh corresponding to the second object event mark is searched in event table Mark Data Identification and sent to the equipment, wherein, the benchmark event identifier is used to reflect in the equipment number preserved It is believed that breath, second object event is identified for reflecting unsaved data message in the equipment;The second inquiry request for carrying the second target data mark is sent to the database, so that the database exists Second target data information corresponding to the second target data mark is searched in data message table and is sent out to the equipment Send;Receive and preserve second target data information that the database is sent;Wherein, second target data information is information caused by the second target data Action Events, second number of targets It is the data manipulation thing that other were performed for performing the equipment of data manipulation in addition to the equipment in the system according to event Part.
- 45. according to the method for claim 44, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the second target data Action Events in the system, second coding are more than described First coding.
- 46. according to the method for claim 45, it is characterised in that also include:Judge represented the second appearance order of the second object event mark relative to represented by the benchmark event identifier The first appearance order whether be incremental order;In response to first appearance order relative to second appearance order be incremental order, execution it is described to the number The second inquiry request for carrying the second target data mark is sent according to storehouse;The order not being incremented by relative to second appearance order in response to first appearance order, records second mesh Mark event identifier and judge it is nearest n time record the second object event identify whether it is identical;It is identical in response to the second object event mark of nearest n times record, perform to send to the database and carry described the Second inquiry request of two target datas mark, wherein, n is preset value.
- A kind of 47. method of data syn-chronization, it is characterised in that applied to the database in system, including:What receiving device was sent after first object data manipulation event is performed corresponds to the first object data manipulation thing The recording instruction of part, the equipment are the equipment for being used to perform data manipulation in the system;According to the recording instruction, first object event identifier and first object are distributed for the first object data manipulation event Data Identification, the first object event identifier and the first object Data Identification accordingly recorded in event table, will The first object Data Identification is accordingly remembered with first object data message caused by the first object data manipulation event Record in data message table;The event table and the data message table are for other to be used to perform data behaviour in addition to the equipment in the system The synchronous first object data message of the equipment of work.
- 48. according to the method for claim 47, it is characterised in that also include:The first inquiry request that the equipment is sent is received, benchmark event identifier is carried in first inquiry request, it is described Benchmark event identifier is used to reflect in the equipment data message preserved;Determine that the second object event identifies according to the benchmark event identifier, the second object event mark is searched in event table The second target data mark corresponding to knowledge is simultaneously sent to the equipment, and second object event identifies described for reflecting Unsaved data message in equipment;The second inquiry request that the equipment is sent is received, the second target data mark is carried in second inquiry request Know;Second target data information corresponding to second target data mark is searched in data message table and to described Equipment is sent, so that the equipment preserves the target data information;Wherein, second target data information is information caused by the second target data Action Events, second number of targets It is the data manipulation thing that other were performed for performing the equipment of data manipulation in addition to the equipment in the system according to event Part.
- 49. according to the method for claim 48, it is characterised in that the benchmark event identifier is for representing reference data First coding of the appearance order of Action Events in the system, the reference data Action Events is in the apparatus The event finally occurred in data manipulation event corresponding to the data message of preservation, the object event are identified as representing Second coding of the appearance order of the second target data Action Events in the system, second coding are more than described First coding.
- A kind of 50. device of data syn-chronization, it is characterised in that the equipment for being used to perform data manipulation in system is configured at, including:Generation unit, for after first object data manipulation event is performed, generation to correspond to the first object data and grasped Make the recording instruction of event;First transmitting element, for sending the recording instruction to the database, so that the database receives the record Instruction, first object event identifier and first object Data Identification are distributed for the first object data manipulation event, by described in First object event identifier accordingly recorded in event table with the first object Data Identification, by the first object data Mark accordingly recorded in data message table with first object data message caused by the first object data manipulation event;The event table and the data message table are for other to be used to perform data behaviour in addition to the equipment in the system The synchronous first object data message of the equipment of work.
- A kind of 51. device of data syn-chronization, it is characterised in that the database being configured in system, including:First receiving unit, correspond to described for what receiving device was sent after first object data manipulation event is performed The recording instruction of one target data Action Events, the equipment are the equipment for being used to perform data manipulation in the system;Event recording unit, for according to the recording instruction, first object to be distributed for the first object data manipulation event Event identifier and first object Data Identification, by the first object event identifier and the first object Data Identification accordingly It recorded in event table, by first object caused by the first object Data Identification and the first object data manipulation event Data message accordingly recorded in data message table;The event table and the data message table are for other to be used to perform data behaviour in addition to the equipment in the system The synchronous first object data message of the equipment of work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610556074.2A CN107623707A (en) | 2016-07-14 | 2016-07-14 | A kind of method and apparatus of data syn-chronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610556074.2A CN107623707A (en) | 2016-07-14 | 2016-07-14 | A kind of method and apparatus of data syn-chronization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107623707A true CN107623707A (en) | 2018-01-23 |
Family
ID=61087712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610556074.2A Pending CN107623707A (en) | 2016-07-14 | 2016-07-14 | A kind of method and apparatus of data syn-chronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107623707A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989391A (en) * | 2018-06-19 | 2018-12-11 | 北京百悟科技有限公司 | A kind of method and device of consistency treatment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030046433A1 (en) * | 2001-07-25 | 2003-03-06 | Omer Luzzatti | Method to synchronize information between online devices |
CN103605809A (en) * | 2013-12-10 | 2014-02-26 | 厦门诚创网络有限公司 | Data synchronization method |
CN104809201A (en) * | 2015-04-24 | 2015-07-29 | 联动优势科技有限公司 | Database synchronization method and device |
-
2016
- 2016-07-14 CN CN201610556074.2A patent/CN107623707A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030046433A1 (en) * | 2001-07-25 | 2003-03-06 | Omer Luzzatti | Method to synchronize information between online devices |
CN103605809A (en) * | 2013-12-10 | 2014-02-26 | 厦门诚创网络有限公司 | Data synchronization method |
CN104809201A (en) * | 2015-04-24 | 2015-07-29 | 联动优势科技有限公司 | Database synchronization method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989391A (en) * | 2018-06-19 | 2018-12-11 | 北京百悟科技有限公司 | A kind of method and device of consistency treatment |
CN108989391B (en) * | 2018-06-19 | 2021-09-07 | 北京百悟科技有限公司 | Consistency processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170279840A1 (en) | Automated event id field analysis on heterogeneous logs | |
CN107094158B (en) | Automatic change intranet security fragile analytic system | |
US20160381035A1 (en) | Management of data of user groups and maintenance of communication thereof | |
CN103500191B (en) | Flow table configuration, query and table item deleting method and device | |
CN105516266B (en) | A kind of business monitoring method, system and relevant device | |
CN102968498A (en) | Method and device for processing data | |
CN107656695A (en) | A kind of data storage, delet method, device and distributed memory system | |
CN107977254B (en) | Method for responding to request in cloud data system and computer-readable storage medium | |
CN108885557A (en) | Task in batches | |
CN104618304A (en) | Data processing method and data processing system | |
CN105956032A (en) | Cache data synchronization method, system and apparatus | |
CN108880885A (en) | A kind of message processing method and device | |
CN106888264B (en) | A kind of method for interchanging data and device | |
CN111200525A (en) | Network shooting range scene re-engraving method and system, electronic equipment and storage medium | |
CN107623707A (en) | A kind of method and apparatus of data syn-chronization | |
CN103226501A (en) | Logic backup method and logic backup system for database | |
CN105117333A (en) | Method and system for management of test cases | |
CN105430624B (en) | A kind of method and device of acquisition of information | |
CN109829821A (en) | A kind of abnormal processing method of digital asset address transfer, apparatus and system | |
CN104123217A (en) | Capture method and system of execution instruction of service server | |
CN204906437U (en) | Big data storage application network framework | |
CN108154343B (en) | Emergency processing method and system for enterprise-level information system | |
CN101677314B (en) | Method, device and system of identification of synchronous data operation | |
CN103902663A (en) | File synchronization method and device | |
CN104881411B (en) | The processing method and processing device of file between storage system |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1250098 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180123 |
|
RJ01 | Rejection of invention patent application after publication |