CN102262674A - Data synchronization method and system for distributed memory database - Google Patents

Data synchronization method and system for distributed memory database Download PDF

Info

Publication number
CN102262674A
CN102262674A CN2011102296266A CN201110229626A CN102262674A CN 102262674 A CN102262674 A CN 102262674A CN 2011102296266 A CN2011102296266 A CN 2011102296266A CN 201110229626 A CN201110229626 A CN 201110229626A CN 102262674 A CN102262674 A CN 102262674A
Authority
CN
China
Prior art keywords
database
data
application program
title
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011102296266A
Other languages
Chinese (zh)
Inventor
林秋利
程国向
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN2011102296266A priority Critical patent/CN102262674A/en
Publication of CN102262674A publication Critical patent/CN102262674A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a data synchronization method and system for a distributed memory database, and the method and system provided by the invention are used for avoiding data redundancy on a database agent of the distributed memory database and lightening the load of a database server and the database agent of the distributed memory database. The data synchronization method for the distributed memory database provided by the invention comprises the following steps: the database agent determines the name of an application program through registering the application program and transmits a synchronization request to the database server so as to acquire the data of the application program, wherein the synchronization request comprises the name of the application program; and the database agent acquires data record corresponding to the application program name which is transmitted by the database server.

Description

A kind of method of data synchronization of distributed memory database and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method of data synchronization and system of distributed memory database.
Background technology
Real-time for database in the communications industry requires than higher, so produced memory database, and present most systems all is the multitask multi-process, concurrent visit to database is frequent the generation, this just requires database to can be good at supporting concurrent visit, distributed data base just becomes a kind of inevitable like this, and under distributed mode, how synchronously concurrent memory bank data how irredundant distribution and requirement and that do not influence real-time just become key issue, though some ripe memory databases are arranged at present, for example grind database etc. certainly, but still have certain limitation in the processing to these problems.
For distributed memory database, generally all adopt the mode of operation of servers/proxies, server generally is distributed on the main controlled node, and the agency is distributed on the peripheral node, the complete or collected works of management database on the server, the subclass of distributed data base only on the agency; Whole memory database all needs file backup, server at first from the file load data to internal memory, the agency is according to the data subset of distribution principle from server request oneself; The tissue of internal memory is generally concentrated segmentation tissue, and the record organization of each table is in a continuous internal memory, and index organization is in a continuous internal memory; Database variation along with system in the process of operation needs his-and-hers watches to operate, and the content of change need in time be synchronized on each node, and server is responsible for the data of needs deposit are write dish in addition.
Go up the distribution of data for the agency, have with the table is that division principle carries out distribution process, also have with the veneer is the distribution process that division principle carries out, also have plenty of duplicating of entire database, it is redundant that these methods all might make the distribution of data exist, promptly there are unwanted data on the agency, and under the situation that redundant data exists, also increased the burden that main controlled node and peripheral node carry out data sync.
For data synchronization, present most of memory database is synchronous whole piece record to real-time synchronous way, but so synchronous existing problems, it is the problem of sequential, different agencies needs different data objects, and when a plurality of agencies are carried out data sync, the phenomenon that the different pieces of information object of a plurality of agency's needs covers mutually might appear, though also can avoid covering by the serialized method of concurrent operations, but flow process control is too complicated, has global node, peripheral node, can not consider all unusually in the system of complexity such as active and standby, and the serialization of a plurality of concurrent operations also can make real-time property of synchronizing bad.
Summary of the invention
The embodiment of the invention provides a kind of method of data synchronization and system of distributed memory database, in order to the data redundancy on the database broker of avoiding distributed memory database, alleviate the burden of the database server and the database broker of distributed memory database.
The method of data synchronization of a kind of distributed memory database that the embodiment of the invention provides comprises:
Database broker is determined the title of application program by the registration of application program, and sends synchronization request to database server, to obtain this application's data, comprises the title of application program in the wherein said synchronization request;
Database broker obtains the corresponding data recording of the title with application program that database server sends.
The method of data synchronization of a kind of distributed memory database that the embodiment of the invention provides comprises:
Database server receives the synchronization request that database broker sends, and therefrom obtains the title of application program;
Database server is searched and the corresponding data recording of the title of application program according to the title of application program, and that will find sends to described database broker with the corresponding data recording of title application program.
The data synchronous system of a kind of distributed memory database that the embodiment of the invention provides comprises:
The synchronization request unit is used for the registration by application program, determines the title of application program, and sends synchronization request to database server, to obtain this application's data, comprises the title of application program in the wherein said synchronization request;
Obtain synchronous data hierarchy, be used to obtain the corresponding data recording of the title with application program that database server sends.
The data synchronous system of a kind of distributed memory database that the embodiment of the invention provides comprises:
The synchronization request receiving element is used to receive the synchronization request that database broker sends, and therefrom obtains the title of application program;
The synchrodata transmitting element is used for the title according to application program, searches and the corresponding data recording of the title of application program, and that will find sends to described database broker with the corresponding data recording of title application program.
The embodiment of the invention, database broker are determined the title of application program by the registration of application program, and send synchronization request to database server, to obtain this application's data, comprise the title of application program in the wherein said synchronization request; Database broker obtains the corresponding data recording of the title with application program that database server sends, thereby avoided the data redundancy on the database broker of distributed memory database, alleviated the burden of the database server and the database broker of distributed memory database.
The embodiment of the invention, database server receives the synchronization request that database broker sends, and therefrom obtains the title of application program; Database server is according to the title of application program, search and the corresponding data recording of the title of application program, and that will find send to database broker with the corresponding data recording of title application program, thereby avoided the data redundancy on the database broker of distributed memory database, alleviated the burden of the database server and the database broker of distributed memory database.
Description of drawings
The schematic flow sheet of the method for data synchronization of a kind of distributed memory database of acting on behalf of side that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the method for data synchronization of a kind of distributed memory database of the server side that Fig. 2 provides for the embodiment of the invention;
The DATA DISTRIBUTION principle synoptic diagram that Fig. 3 provides for the embodiment of the invention;
The memory organization synoptic diagram that Fig. 4 provides for the embodiment of the invention;
The field sync form synoptic diagram that Fig. 5 provides for the embodiment of the invention;
The system architecture synoptic diagram of the distributed memory database that Fig. 6 provides for the embodiment of the invention;
The structural representation of the data synchronous system of a kind of distributed memory database that Fig. 7 provides for the embodiment of the invention;
The structural representation of the data synchronous system of a kind of distributed memory database that Fig. 8 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of method of data synchronization and system of distributed memory database, in order to the data redundancy on the database broker of avoiding distributed memory database, alleviate the burden of the database server and the database broker of distributed memory database.
Based on problems of the prior art, the embodiment of the invention provides a kind of irredundant preferably distribution principle and by the method for field sync, satisfied the requirement of the communications industry to memory database, can solve problems of the prior art well, the system that database broker in the embodiment of the invention (being called for short the agency) and database server (abbreviation server) are formed, can called after based on the distributed memory management system of SAF standard, the SAF standard is a kind of standard that high availability service is provided, this standard has proposed a kind of SAF framework, all proposed corresponding standard at each service under this framework, the technical scheme that the embodiment of the invention provides is based on that information model service regulation in the SAF standard proposes.
If data can be carried out synchronously according to the requirement of using, the data that distribute on each node just can satisfy the requirement of application to database so, have reduced the data synchronization process like this; And behind data change, the database main controlled node knows which peripheral node is data should be synchronized on, and this just needs a distribution principle and determines how to carry out DATA DISTRIBUTION.
At first introduce some notions that the embodiment of the invention relates to:
Static data: the data of having only webmaster can increase, delete, revise by server, application program can be inquired about.
Service data: the data of having only the application program on the agency can increase, delete, revise, webmaster can be inquired about.
Static data and service data can be kept in xml file or the database, and these two kinds of data can not separatedly be deposited, and only are required to be attribute of field agreement to represent that this field is static fields or dynamic field.
Configuration change:, for example increase record, deletion record, amendment record to the single job of static data.
The configuration change collection: all configuration changes in business process, these configuration changes or all come into force, or all do not come into force.
Operation change:, for example increase record, deletion record, amendment record to the single job of service data.
Data object (abbreviation object): entity of a record expression in the reality, or physical entity, or logic entity, no matter be that physical entity or logic entity all can be regarded an object as.
Class: object of a record expression, the table of describing record is called class.
A plurality of objects constitute a table.
The embodiment of the invention by increase the information of application program in table, allows database server know which application program which object belongs to; Register to database broker by application program, allow the agency know to need to ask which application's data on this agency; By the request of agency, allow server know the distribution situation of application program to server; Thereby server under the situation of proxy requests and data change, can intelligence with synchronization of data objects to the agency of owning application; In addition, owing to undertaken synchronous by field during data modification, therefore avoided the mutual interference mutually of static data change and service data change, make system not need to consider the concurrent processing and the control of static data change and service data change, simplify system's realization, reduced probability of errors simultaneously.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described.
Acting on behalf of side, referring to Fig. 1, the method for data synchronization of a kind of distributed memory database that the embodiment of the invention provides comprises:
S101, database broker determine the title of application program by the registration of application program, and send synchronization request to database server, to obtain this application's data, comprise the title of application program in the wherein said synchronization request;
S102, database broker obtain the corresponding data recording of the title with application program that database server sends.
Preferably, this method comprises that also configuration change is synchronous:
Database broker receives the data object of the needs change of database server transmission;
Database broker carries out verification by application process to described data object;
When verification succeeds, database broker utilizes described data object to upgrade local data base.
Preferably, this method also comprises the operation change synchronously:
Database broker upgrades local data base by application process, and with the field of change according to the form group bag of consult determining with database server in advance and send to database server.
Preferably, the data recording of described database broker storage comprises the field of the incidence relation of this record and another record.
At server side, referring to Fig. 2, the method for data synchronization of a kind of distributed memory database that the embodiment of the invention provides comprises step:
S201, database server receive the synchronization request that database broker sends, and therefrom obtain the title of application program;
S202, database server search and the corresponding data recording of the title of application program according to the title of application program, and that will find send to database broker with the corresponding data recording of title application program.
Preferably, this method comprises that also configuration change is synchronous:
Database server obtains the configuration change collection by business process, comprising the data object of needs change;
Database server is according to the log-on message of database broker, to database broker send need change data object;
Database server utilizes described data object to upgrade local data base according to the check results of database broker to described data object, perhaps abandons described business process.
Preferably, this method also comprises the operation change synchronously:
Database server receives the packet that database broker sends, and according to consulting definite form with database broker in advance, resolves described packet, obtains the field of change, and utilizes the field of change to upgrade local data base.
Preferably, the data recording of described database server stores comprises the field of the incidence relation of this record and another record.
Provide the detailed description of the technical scheme that the embodiment of the invention provides below.
Irredundant distribution principle: data are divided according to implementor's (being application program), in every table, increase implementor's field, a corresponding application person (the being application program) name of each implementor, this name may refer to the application entity of a reality, it also may be the abstract entity (when same object is used in same the table in a plurality of application) of a plurality of application entities, application program need be to the name of database broker registration oneself initialized the time, the agency sends synchronization request by this name to database server, server travels through all records in all tables, all records that will comprise the apply names of request are synchronized to database broker, obtain data with EOS offspring reason by call back function notification application (being application component), it is the interface that application component calls this system, name according to the implementor in the record in interface is the application component return recording, simultaneously server need be with agency's log-on message (comprising the source IP and the port numbers of the application program of acting on behalf of the place, the name of application program, relevant call back function) registers, need be synchronized to which agency so that in configuration change, determine change.Wherein, a plurality of records of same apply names in can corresponding a plurality of tables.
By this principle, the data that each agency goes up initial distribution all are the data of application program oneself, because during application initialization to agency of trademark registration, the agency is to the record of this application program of server requests, and server is synchronous with the agency by the name of implementor's name in relatively writing down and application program, after the agency is synchronized to record, the call back function of invokes application, application program is obtained data in call back function, after call back function returned, application program just got access to the initialization data of oneself.Application program can will arrive all data that oneself need in that initial phase is disposable like this, does not have redundant data to exist, and access of database is all finished getting final product later in this locality; When data change, by the log-on message that writes down on the server, changed content is synchronized on the corresponding peripheral node, being about to changed content is synchronized on the agency, the call back function of agency and then invokes application, application program is obtained data by the interface that provides of agency is provided in call back function, interface only returns the data of application program oneself according to the log-on message of application program.
Wherein, peripheral node can be a veneer, also can be a process.
Distributed synchronization process under this principle as shown in Figure 3, that the representative of each english abbreviation is the name of an application component (being application program), for example NTF, SMF, PLM and CLM among this Fig. 3.The object of the content representation application component that data are pointed.
Memory organization:
Because the object in the reality all has set membership, be to have incidence relation between each object, every record organizes no longer according to the sequential organization mode that writes down in the his-and-hers watches, but become object tree according to the set membership tissue of object, the table of having avoided like this having incidence relation carries out association by redundant field, only need in table, increase the association that the parent object field can be represented, Zu Zhi benefit is the parent object of access object very easily like this, also can visit all subobjects of an object very easily, thereby carry out for object set that operation is very easy with set membership.
The memory organization of object, is organized according to set membership when object is organized in internal memory automatically referring to Fig. 4, set membership can directly find from tree, each circle is represented an object, and each object comprises a plurality of object information, and each object information comprises a plurality of attribute informations.
For configuration change, also with the configuration change object tissue be and the similar tree of tree shown in Figure 4, during the application access object, begin layering traversal object (being called for short the layering traversal) from tree root, also can travel through each subtree (being called for short degree of depth traversal) according to the degree of depth of tree, particularly: the configuration change object is organized as the change tree according to the set membership of object, the agency provides next (next) interface to be used to travel through this tree, provide one to go into to join to judge that the layering traversal still is a degree of depth traversal in this interface, configuration change at first will change object synchronization to relevant agency by server, the agency will change group of objects and be made into the configuration change tree, the call back function of proxy call application program obtains data, and call back function calls the next interface and obtains one's own change object.
The layering traversal: root is the 0th layer, the object that begins to belong to this application program from root with every layer returns by the next interface, this layer of traversal finishes, travel through the object of one deck down then, whenever traverse an object, return by the next interface, do not belong to this application program, directly travel through next object.
Degree of depth traversal: begin traversal from root,, all travel through up to all parent objects and their subobject and to finish, whenever traverse an object, return, do not belong to this application program, directly travel through next object by the next interface up to leaf node.
Obtain configuration change by above-mentioned different access method and concentrate relevant object, the attribute of each object points to array of pointers, attribute of each pointed, Zu Zhi benefit is that the attribute of object can independently upgrade like this, the renewal of each attribute is not disturbed mutually.When being the attribute of upgating object, the attribute of object is organized in the structure array, and each structure is represented an attribute updating information, comprises the new value of attribute-name, attribute type, attribute etc., can upgrade one or more property value, constant attribute is unaffected.
Configuration change is synchronous: when webmaster is configured change, need the configuration change collection be sent to server end by business process, server end with the configuration change set cache in extra buffer, and according to agency log-on message configuration change is synchronized on the relevant agency, promptly be synchronized in the application corresponding process according to the implementor in the record, the change object that the agency will be synchronized to is organized into interim configuration change tree according to the set membership of object, do not directly apply to local data base, treat with behind the EOS, the agency carries out verification by call back function notice application process to data and (specifically adopts the data check rule of application program oneself definition, such as field scope verification etc.), if data are after all verification is passed through, the agency that server end is relevant with all is applied to configuration change collection or subclass in the local data base, if data check failure, abandon this business process on the server, each agency goes up and discharges interim configuration change tree, the benefit of doing like this is, need when revising data, not back up, save the EMS memory occupation of database so greatly entire database.
Wherein, described business process, it is an atom process of data configuration, the webmaster that webmaster is issued the configuration change data object on the network element is adaptive, the adaptive parsing configuration change of network element data object, and with announcement server, configuration data is organized in the server analysis, and be synchronized on each related proxy, server is the most whole process of synchronized result notice webmaster.
Wherein, described log-on message according to the agency is synchronized to configuration change on the relevant agency, comprising:
Step 1: server is provided with agency's log-on message (comprising application name), and is provided with implementor's name (being the application name title) in the object (i.e. record).
Step 2: on the server configuration object is organized chaining according to implementor's title.
Step 3: carry out synchronously at each implementor on the server, at each implementor, the group of objects bag that this implementor is correlated with sends on the agency, up to all same EOS of all implementors.
The operation change is synchronous: when application process is moved change, api interface on the application call agency is new database more directly, because the operation change may need to notify webmaster, so the content of operation change need be synchronized to server end, the agency notifies the field of change on the server according to the form of determining, specifically comprise: the attribute that upgrades according to structure array organization, is sent out message to server, resolve the memory database of information updating server itself on the server.Upgrade local database according to the operation changed content on the server, each agency knows if desired that mutually to the renewal of service data, intermediary notifies by notification service, the purpose that issue and the subscription by this intermediary reaches the renewal of notice service data.
In configuration change changes synchronously with operation synchronously, in order not make configuration change and operation change conflict mutually, the both carries out synchronously at the change field of record, avoid whole piece to write down when synchronous problem owing to both sequential and caused the problem that covers mutually, the most important thing is synchronous form according to field sync, transmit leg must and be resolved the change data according to identical format organization with the take over party.
Agency and server are arranged the field sync form in advance, synchronous form as shown in Figure 5, wherein object name be can an object of unique identification field, the object name is overall unique in entire database.Source address, i.e. Dai Li IP address and port numbers.Shown in Figure 5 is organized formats to object information, and transmit leg is according to this form group bag, and the take over party is according to this format analysis bag, and the size of every bag is no more than 64k, and all is complete record in the bag.
Referring to Fig. 6, the system of the distributed memory database that the embodiment of the invention provides comprises:
Server and agency include both interaction process modules, and the function of these functional modules is all finished by a plurality of assembly cooperations;
Data access API is the kernel interface, and visit and the operation of database to local data itself is provided;
Application access API provides access of database and operation to application program, and these interfaces provide all basic skills of present data, comprises increase, deletion, revises and according to the inquiry of various filterconditions.
Except with the upper module, need on the server to finish primary data from the file to the internal memory loading and internal storage data after changing write dish, and the active and standby maintenance work of server, with the stability of enhanced system, and the data of the system of being convenient to after restarting are recovered.
Shown in Fig. 6 on the database broker with server interaction process unit, referring to Fig. 7, specifically can comprise:
Synchronization request unit 11 is used for the registration by application program, determines the title of application program, and sends synchronization request to database server, to obtain this application's data, comprises the title of application program in the wherein said synchronization request;
Obtain synchronous data hierarchy 12, be used to obtain the corresponding data recording of the title with application program that database server sends.
Preferably, this system also comprises:
Configuration change lock unit 13 is used to receive the data object of the needs change that database server sends; By application process described data object is carried out verification; When verification succeeds, utilize described data object to upgrade local data base.
Preferably, this system also comprises:
Operation change lock unit 14 is used for upgrading local data base by application process, and with the field of change according to consulting the form group bag of determining and send to database server with database server in advance.
Preferably, the data recording of described system storage comprises the field of the incidence relation of this record and another record.
Proxy requests processing unit shown in Fig. 6 on the database server referring to Fig. 8, specifically can comprise:
Synchronization request receiving element 21 is used to receive the synchronization request that database broker sends, and therefrom obtains the title of application program;
Synchrodata transmitting element 22 is used for the title according to application program, searches and the corresponding data recording of the title of application program, and that will find sends to database broker with the corresponding data recording of title application program.
Preferably, this system also comprises:
Configuration change lock unit 23 is used for obtaining the configuration change collection by business process, comprising the data object of needs change; According to the log-on message of database broker, to database broker send to need change data object; According to the check results of database broker to described data object, utilize described data object to upgrade local data base, perhaps abandon described business process.
Preferably, this system also comprises:
Operation change lock unit 24 is used to receive the packet that database broker sends, and according to consulting definite form with database broker in advance, resolves described packet, obtains the field of change, and utilizes the field of change to upgrade local data base.
Preferably, the data recording of described system storage comprises the field of the incidence relation of this record and another record.
In sum, the technical scheme that the embodiment of the invention provides, comprise irredundant distribution principle, by memory organization of field sync principle and data etc., avoided the concurrency conflict problem in the synchronizing process, simplify the synchronizing process of distributed memory database, made distributed memory database really possess real-time; Break-even DATA DISTRIBUTION makes the databases on each node take minimizing simultaneously, for internal memory limited on the veneer in the communication system has won valuable memory source, also avoid the system CPU expense that causes synchronously of redundant data, improved the stable and maintainable of distributed memory database.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computing machine or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (16)

1. the method for data synchronization of a distributed memory database is characterized in that, this method comprises:
Database broker is determined the title of application program by the registration of application program, and sends synchronization request to database server, to obtain this application's data, comprises the title of application program in the wherein said synchronization request;
Database broker obtains the corresponding data recording of the title with application program that database server sends.
2. method according to claim 1 is characterized in that, this method also comprises:
Database broker receives the data object of the needs change of database server transmission;
Database broker carries out verification by application process to described data object;
When verification succeeds, database broker utilizes described data object to upgrade local data base.
3. method according to claim 1 is characterized in that, this method also comprises:
Database broker upgrades local data base by application process, and with the field of change according to the form group bag of consult determining with database server in advance and send to database server.
4. according to claim 1,2 or 3 described methods, it is characterized in that the data recording of described database broker storage comprises the field of the incidence relation of this record and another record.
5. the method for data synchronization of a distributed memory database is characterized in that, this method comprises:
Database server receives the synchronization request that database broker sends, and therefrom obtains the title of application program;
Database server is searched and the corresponding data recording of the title of application program according to the title of application program, and that will find sends to described database broker with the corresponding data recording of title application program.
6. method according to claim 5 is characterized in that, this method also comprises:
Database server obtains the configuration change collection by business process, comprising the data object of needs change;
Database server is according to the log-on message of database broker, to database broker send need change data object;
Database server utilizes described data object to upgrade local data base according to the check results of database broker to described data object, perhaps abandons described business process.
7. method according to claim 5 is characterized in that, this method also comprises:
Database server receives the packet that database broker sends, and according to consulting definite form with database broker in advance, resolves described packet, obtains the field of change, and utilizes the field of change to upgrade local data base.
8. according to claim 5,6 or 7 described methods, it is characterized in that the data recording of described database server stores comprises the field of the incidence relation of this record and another record.
9. the data synchronous system of a distributed memory database is characterized in that, this system comprises:
The synchronization request unit is used for the registration by application program, determines the title of application program, and sends synchronization request to database server, to obtain this application's data, comprises the title of application program in the wherein said synchronization request;
Obtain synchronous data hierarchy, be used to obtain the corresponding data recording of the title with application program that database server sends.
10. system according to claim 9 is characterized in that, this system also comprises:
The configuration change lock unit is used to receive the data object of the needs change that database server sends; By application process described data object is carried out verification; When verification succeeds, utilize described data object to upgrade local data base.
11. system according to claim 9 is characterized in that, this system also comprises:
Operation change lock unit is used for upgrading local data base by application process, and with the field of change according to consulting the form group bag of determining and send to database server with database server in advance.
12., it is characterized in that the data recording of described system storage comprises the field of the incidence relation of this record and another record according to claim 9,10 or 11 described systems.
13. the data synchronous system of a distributed memory database is characterized in that, this system comprises:
The synchronization request receiving element is used to receive the synchronization request that database broker sends, and therefrom obtains the title of application program;
The synchrodata transmitting element is used for the title according to application program, searches and the corresponding data recording of the title of application program, and that will find sends to described database broker with the corresponding data recording of title application program.
14. system according to claim 13 is characterized in that, this system also comprises:
The configuration change lock unit is used for obtaining the configuration change collection by business process, comprising the data object of needs change; According to the log-on message of database broker, to database broker send to need change data object; According to the check results of database broker to described data object, utilize described data object to upgrade local data base, perhaps abandon described business process.
15. system according to claim 13 is characterized in that, this system also comprises:
Operation change lock unit is used to receive the packet that database broker sends, and according to consulting definite form with database broker in advance, resolves described packet, obtains the field of change, and utilizes the field of change to upgrade local data base.
16., it is characterized in that the data recording of described system storage comprises the field of the incidence relation of this record and another record according to claim 13,14 or 15 described systems.
CN2011102296266A 2011-08-11 2011-08-11 Data synchronization method and system for distributed memory database Pending CN102262674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102296266A CN102262674A (en) 2011-08-11 2011-08-11 Data synchronization method and system for distributed memory database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102296266A CN102262674A (en) 2011-08-11 2011-08-11 Data synchronization method and system for distributed memory database

Publications (1)

Publication Number Publication Date
CN102262674A true CN102262674A (en) 2011-11-30

Family

ID=45009302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102296266A Pending CN102262674A (en) 2011-08-11 2011-08-11 Data synchronization method and system for distributed memory database

Country Status (1)

Country Link
CN (1) CN102262674A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542007A (en) * 2011-12-13 2012-07-04 中国电子科技集团公司第十五研究所 Method and system for synchronization of relational databases
CN103186624A (en) * 2011-12-31 2013-07-03 北京亿阳信通科技有限公司 Data synchronization method and data synchronization device
CN103793533A (en) * 2014-02-27 2014-05-14 大唐移动通信设备有限公司 Distributed data synchronizing method and device
CN103902617A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Distributed database synchronization method and system
CN106599061A (en) * 2016-11-16 2017-04-26 成都九洲电子信息系统股份有限公司 SQLite-based embedded database synchronization method
CN106649632A (en) * 2016-12-07 2017-05-10 北京众享比特科技有限公司 Data synchronism method and system
CN107656981A (en) * 2017-09-08 2018-02-02 中国科学院计算机网络信息中心 A kind of data sharing and management method and system based on identification technology
CN108255938A (en) * 2017-12-07 2018-07-06 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne Embedded Main Memory Database image generation and loading method
CN110471746A (en) * 2019-08-22 2019-11-19 中国工商银行股份有限公司 A kind of distributed transaction callback method, apparatus and system
CN111552487A (en) * 2019-02-11 2020-08-18 福建省天奕网络科技有限公司 H5 cross-engine client local data proxy method and storage medium
CN113076329A (en) * 2020-01-03 2021-07-06 上海亲平信息科技股份有限公司 Memory database
CN113297246A (en) * 2020-06-16 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, computing device and storage medium
CN114924806A (en) * 2022-04-07 2022-08-19 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information
CN115544046A (en) * 2022-11-25 2022-12-30 成都交大光芒科技股份有限公司 Object data hierarchical updating method, device, equipment and storage medium
CN116560864A (en) * 2023-07-06 2023-08-08 苏州浪潮智能科技有限公司 Method, device, system, equipment and storage medium for realizing distributed lock

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212557B1 (en) * 1990-01-29 2001-04-03 Compaq Computer Corporation Method and apparatus for synchronizing upgrades in distributed network data processing systems
CN1647071A (en) * 2001-10-24 2005-07-27 Bea系统公司 Data synchronization
CN101582920A (en) * 2009-06-09 2009-11-18 中兴通讯股份有限公司 Method and device for verifying and synchronizing data blocks in distributed file system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212557B1 (en) * 1990-01-29 2001-04-03 Compaq Computer Corporation Method and apparatus for synchronizing upgrades in distributed network data processing systems
CN1647071A (en) * 2001-10-24 2005-07-27 Bea系统公司 Data synchronization
CN101582920A (en) * 2009-06-09 2009-11-18 中兴通讯股份有限公司 Method and device for verifying and synchronizing data blocks in distributed file system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542007A (en) * 2011-12-13 2012-07-04 中国电子科技集团公司第十五研究所 Method and system for synchronization of relational databases
CN103186624A (en) * 2011-12-31 2013-07-03 北京亿阳信通科技有限公司 Data synchronization method and data synchronization device
CN103186624B (en) * 2011-12-31 2017-10-20 亿阳信通股份有限公司 A kind of method of data synchronization and data synchronization unit
CN103902617A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Distributed database synchronization method and system
CN103902617B (en) * 2012-12-28 2017-06-09 华为技术有限公司 Distributed data base synchronous method and system
CN103793533A (en) * 2014-02-27 2014-05-14 大唐移动通信设备有限公司 Distributed data synchronizing method and device
CN103793533B (en) * 2014-02-27 2017-12-08 大唐移动通信设备有限公司 A kind of Distributed Data Synchronization method and apparatus
CN106599061B (en) * 2016-11-16 2020-06-30 成都九洲电子信息系统股份有限公司 SQLite-based embedded database synchronization method
CN106599061A (en) * 2016-11-16 2017-04-26 成都九洲电子信息系统股份有限公司 SQLite-based embedded database synchronization method
CN106649632A (en) * 2016-12-07 2017-05-10 北京众享比特科技有限公司 Data synchronism method and system
CN107656981A (en) * 2017-09-08 2018-02-02 中国科学院计算机网络信息中心 A kind of data sharing and management method and system based on identification technology
CN108255938A (en) * 2017-12-07 2018-07-06 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne Embedded Main Memory Database image generation and loading method
CN111552487A (en) * 2019-02-11 2020-08-18 福建省天奕网络科技有限公司 H5 cross-engine client local data proxy method and storage medium
CN111552487B (en) * 2019-02-11 2022-07-05 福建省天奕网络科技有限公司 H5 cross-engine client local data proxy method and storage medium
CN110471746A (en) * 2019-08-22 2019-11-19 中国工商银行股份有限公司 A kind of distributed transaction callback method, apparatus and system
CN110471746B (en) * 2019-08-22 2022-04-19 中国工商银行股份有限公司 Distributed transaction callback method, device and system
CN113076329A (en) * 2020-01-03 2021-07-06 上海亲平信息科技股份有限公司 Memory database
CN113297246A (en) * 2020-06-16 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, computing device and storage medium
CN114924806A (en) * 2022-04-07 2022-08-19 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information
CN114924806B (en) * 2022-04-07 2024-03-26 南京慧尔视软件科技有限公司 Dynamic synchronization method, device, equipment and medium for configuration information
CN115544046A (en) * 2022-11-25 2022-12-30 成都交大光芒科技股份有限公司 Object data hierarchical updating method, device, equipment and storage medium
CN116560864A (en) * 2023-07-06 2023-08-08 苏州浪潮智能科技有限公司 Method, device, system, equipment and storage medium for realizing distributed lock
CN116560864B (en) * 2023-07-06 2023-11-03 苏州浪潮智能科技有限公司 Method, device, system, equipment and storage medium for realizing distributed lock

Similar Documents

Publication Publication Date Title
CN102262674A (en) Data synchronization method and system for distributed memory database
EP2932370B1 (en) System and method for performing a transaction in a massively parallel processing database
Levandoski et al. Deuteronomy: Transaction support for cloud data
US9286368B2 (en) Linking framework for information technology management
KR101863398B1 (en) Method and system for synchronization mechanism on multi-server reservation system
CN100454311C (en) Data synchronous method and device based on SQL
CN111881223B (en) Data management method, device, system and storage medium
CN107787490A (en) Function is directly connected in distributed data base grid
CN101042767A (en) Web services database cluster structure and method thereof
CN103345502B (en) Transaction processing method and system of distributed type database
CN101360123B (en) Network system and management method thereof
CN104160381A (en) Managing tenant-specific data sets in a multi-tenant environment
CN103605698A (en) Cloud database system used for distributed heterogeneous data resource integration
CN103473696A (en) Method and system for collecting, analyzing and distributing internet business information
CN102103518A (en) System for managing resources in virtual environment and implementation method thereof
CN104517181B (en) Enterprise content management system and method for nuclear power station
CN112162846B (en) Transaction processing method, device and computer readable storage medium
GB2348985A (en) Centralized affinity maintenance in a workload managed client/server system
CN101799826A (en) Networking data sharing system and method based on virtual view
KR20140063512A (en) Method and system for centralized reservation context management on multi-server reservation system
CN102917009A (en) Method and system for collecting and storing stock data based on cloud computing technology
US8527995B2 (en) Synchronization system for entities maintained by multiple applications
CN1829974B (en) Parallel recovery by non-failed nodes
CN1271812C (en) Wireless facility synchronizing system and method
US20090100082A1 (en) Replication and mapping mechanism for recreating memory durations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111130