CN102202073A - Distributed system and data synchronization method thereof - Google Patents

Distributed system and data synchronization method thereof Download PDF

Info

Publication number
CN102202073A
CN102202073A CN2010101314031A CN201010131403A CN102202073A CN 102202073 A CN102202073 A CN 102202073A CN 2010101314031 A CN2010101314031 A CN 2010101314031A CN 201010131403 A CN201010131403 A CN 201010131403A CN 102202073 A CN102202073 A CN 102202073A
Authority
CN
China
Prior art keywords
data
tables
name
updated
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101314031A
Other languages
Chinese (zh)
Other versions
CN102202073B (en
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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010131403.1A priority Critical patent/CN102202073B/en
Publication of CN102202073A publication Critical patent/CN102202073A/en
Application granted granted Critical
Publication of CN102202073B publication Critical patent/CN102202073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a distributed system and a data synchronization method thereof. The method comprises the following steps of: when updating of data of a data sheet stored in a main server is monitored, determining whether data of the updated data sheet need to be synchronized to a corresponding service server; if the data of the updated data sheet need to be synchronized to the corresponding service server, acquiring configuration information of the updated data sheet and the address information of the corresponding service server; generating a synchronous notice message according to the acquired configuration information and transmitting the generated synchronous notice message to the service server through the acquired address information; and synchronizing the data of the updated data sheet according to the configuration information in the received synchronous notice message by using the service server. By adopting the method, automatic synchronization of the data sheet is realized, and the civilization complexity is lowered.

Description

A kind of distributed system and method for data synchronization thereof
Technical field
The present invention relates to communication technical field, particularly relate to a kind of distributed system and method for data synchronization thereof.
Background technology
Along with company information and professional more and more huger, in the process of IT application in enterprises, for enterprise information system, the service distribution formula installs to dispose has become best choice, and in distributed system, the storage mode of information is stored by database.Wherein, master data base is used to preserve user's configuration information or professional summary information, and is carried out the displaying of service configuration information and summary information by the user; And Service Database is used for the storage service data, when user interface need be showed concrete business information, then needs to inquire about in the corresponding service database.
As shown in Figure 1, structural representation for a kind of distributed system, wherein, master data base is business configuration database Master, corresponding with distributed master server, and each Service Database (for example, Service Database slave1 and Service Database slave2) is corresponding with the distributed service server.When the user is configured business, and when storing master data base into, then need corresponding configuration information is synchronized to from master data base in the relevant Service Database, to keep the consistency of configuration information in master data base and the Service Database.
In the prior art, master data base and Service Database need synchronous configuration information all just to determine when system development, for example, when comprising information such as corresponding table, field, unique identification in this configuration information, then when system development, need determine which table synchronously, which field, and the configuration informations such as unique identification of table.
But, the present application people finds in implementation procedure, in the prior art practical application, there is following problem: after distributed system is reached the standard grade, when needing the synchronisation requirement of more newly-increased configuration informations, these configuration informations can't be synchronized to from master data base in the corresponding business database automatically, thereby need develop again the existing distributed system, and when needing synchrodata between the newly-increased distributed server, also need original distributed system is carried out adaptive exploitation again, thereby cause lacking versatility and autgmentability.For example, need to determine the A field of synchronous meter A during the distributed system exploitation, if newly-increased synchronisation requirement is the B field of synchronous meter A, then need the existing distributed system is developed again, the distributed system after the exploitation need to determine A field and the B field of synchronous meter A again.
Summary of the invention
The invention provides a kind of distributed system and method for data synchronization thereof,, simplify the complexity of becoming civilized to realize the synchronous automatically of tables of data.
In order to achieve the above object, the present invention proposes a kind of method of data synchronization of distributed system, this method is applied to comprise in the distributed system of master server and at least one service server, said method comprising the steps of:
When the data that monitor the tables of data that described master server stores were updated, the data sync that need to determine whether the described tables of data that will be updated was to the corresponding service server;
When the data sync of the described tables of data that will be updated is to corresponding described service server if desired, then obtain the address information of the configuration information and the corresponding described service server of the described tables of data that is updated;
Generate the synchronization notice message according to the described configuration information that obtains, and the described synchronization notice message that will generate sends to described service server by the described address information of obtaining;
Described service server is according to the described configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
The data sync that determines whether the described tables of data that needs will be updated specifically comprises to the corresponding service server:
Whether the table name of judging the described tables of data that is updated is recorded in the service lists of safeguarding in advance, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server;
Wherein, table name and this table name corresponding service sign of the tables of data that need be synchronized to described service server have been write down in the described service lists.
Described method also comprises:
When newly-increased described when needing the data in synchronization table in described service server, add the described table name of data in synchronization table and this table name corresponding service sign of needing to described service lists.
Obtain the address information of the configuration information and the corresponding described service server of the described tables of data that is updated, specifically comprise:
According to the table name of the described tables of data that is updated, from system's table of described system database, obtain the described configuration information of the tables of data that is updated; And
In described service lists, search the described service identification of the table name correspondence of the described tables of data that is updated; And, from described master server, obtain the described address information corresponding the business service address table of storage in advance with the described service identification that finds according to the described service identification that finds.
The described configuration information of described tables of data comprises at least: table name, field name information, field type information, uniqueness identification information;
Generate the synchronization notice message according to the described configuration information that obtains, specifically comprise:
Generate described synchronization notice message according to described table name, described field name information, described field type information and described uniqueness identification information.
Described service server is according to the described configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out specifically comprising synchronously:
Described service server is resolved the described synchronization notice message that receives, to obtain described table name, described field name information, described field type information and described uniqueness identification information;
Whether described service server judging self has stored the of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, then described service server is according to the described table name, described field name information, described field type information and the described uniqueness identification information that obtain, newly-built described tables of data of the same name, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name;
If store corresponding tables of data described of the same name, described field name, described field type and the described uniqueness identification information that then described service server basis is obtained,, the described field name of described tables of data of the same name, described field type and uniqueness identification information are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the described tables of data of the same name.
A kind of distributed system, described distributed system comprise master server and at least one service server, and this distributed system also comprises:
Monitoring unit, whether the data that are used to monitor the tables of data that described master server stores are updated;
Determining unit is connected with described monitoring means, is used for when data that described monitoring unit monitors the tables of data that described master server stores are updated, and the data sync that need to determine whether the described tables of data that will be updated is in the corresponding service server;
Acquiring unit, be connected with described determining unit, the data sync that is used for determining the described tables of data that needs will be updated when described determining unit is during to corresponding described service server, obtains the address information of the described service server of the configuration information of the described tables of data that is updated and correspondence;
Notification unit is connected with described acquiring unit, be used for generating the synchronization notice message according to the described configuration information that obtains, and the described notice message that will generate sends to corresponding described service server by the described address information of obtaining;
Described service server is according to the configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
Described system also comprises:
The service lists memory cell is connected with described determining unit, is used to store the service lists of safeguarding in advance; Wherein, described service lists has write down table name and this table name corresponding service sign of the tables of data that need be synchronized to described service server;
Described determining unit specifically is used for, whether the table name of judging the described tables of data that is updated is recorded in the described service lists, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server.
Described system also comprises:
The service lists updating block when newly-increased described when needing the data in synchronization table in described service server, is used for adding the described table name of data in synchronization table and this table name corresponding service sign of needing to described service lists.
Store system's table and business service address table in the described master server; Wherein,
Described system table stores table name, field name information, field type information, uniqueness identification information at least;
This business service address table stores more than one service identification and each this service identification corresponding address information.
Described acquiring unit comprises:
First obtains subelement, is used for the table name according to the described tables of data that is updated, and obtains the described configuration information of the tables of data that is updated from described system table; And
Second obtains subelement, be used for searching the described service identification of the table name correspondence of the described tables of data that is updated in described service lists, and, from described business service address table, obtain the described address information corresponding with the described service identification that finds according to the described service identification that finds.
Described notification unit, specifically being used for obtaining subelement according to described first obtains described table name, described field name information, described field type information, described uniqueness identification information and generates described synchronization notice message, and, the described synchronization notice message that generates is sent to described service server according to the described address information that second acquisition unit obtains.
Described service server also comprises:
The synchrodata memory cell is used to store tables of data of the same name; Wherein, the table name in the described tables of data of the same name is identical with the table name of tables of data in the described master server;
Resolution unit is used for receiving and resolving described synchronization notice message, to obtain described table name, described field name information, described field type information and described uniqueness identification information;
Lock unit is used for judging whether the synchrodata memory cell has stored the described of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, the described table name that then described lock unit obtains according to described resolution unit, described field name information, described field type information and described uniqueness identification information, newly-built described tables of data of the same name in described synchrodata memory cell, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name;
If store corresponding tables of data described of the same name, the described field name that then described lock unit obtains according to described resolution unit, described field type and described uniqueness identification information, the described uniqueness identification information of described tables of data of the same name, described field name and described field type are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the corresponding tables of data described of the same name.
Compared with prior art, the present invention has the following advantages:
By using the tables of data watch-dog, realize the synchronous automatically of tables of data, simplify the complexity of becoming civilized; And have extensibility, if the demand of newly-increased synchrodata table only needs this table name and affiliated traffic ID are joined in traffic ID-table name tabulation and can realize, and need not original system is carried out adaptive exploitation.
Description of drawings
Fig. 1 is a distributed system architecture schematic diagram in the prior art;
Fig. 2 is the method for data synchronization flow chart of a kind of distributed system of the present invention's proposition;
Fig. 3 is the schematic diagram of a kind of application scenarios of the present invention;
Fig. 4 is the method for data synchronization flow chart of a kind of distributed system that corresponding application scenarios shown in Figure 3 proposed;
Fig. 5 is a kind of message format schematic diagram of synchronization notice message;
Fig. 6 is the message format schematic diagram of synchronization notice message of the employee table of corresponding diagram 5;
Fig. 7 A and Fig. 7 B are the structure chart of a kind of distributed system of the present invention's proposition.
Embodiment
Among the present invention, by using the tables of data on the tables of data watch-dog monitoring master server, when thereby the user carries out business configuration when causing the content of tables of data upgraded, then whether the table name of the tables of data of tables of data watch-dog inquiry variation is the table name that configuration information need be updated to synchronously service server, if the time, then configuration information is notified to service server, and by the synchronous configuration information of service server, thereby realized the synchronous automatically of tables of data, simplified the complexity of becoming civilized.
Based on above-mentioned thought, the invention provides a kind of method of data synchronization of distributed system, be applied to comprise in the distributed system of tables of data watch-dog, master server (corresponding) and service server (corresponding) with Service Database with master data base.Wherein, this tables of data watch-dog is realized by modules such as monitoring unit, determining unit, acquiring unit, notification units.These modules that constitute this tables of data watch-dog both can have been distinguished isolated operation in this distributed system, on master server or the service server, also can integral body be embodied as the tables of data watch-dog, and this tables of data watch-dog equally promptly can operate on the master server, also may operate on other the equipment, perhaps independent operating is as long as this tables of data watch-dog can monitor the tables of data on the master server.
In embodiments of the present invention, be example with the whole tables of data watch-dog of realizing of above-mentioned each modular unit, the operation method of distributed data base in the embodiment of the invention and distributed data base is illustrated.
Concrete, on master server, stored tables of data, this tables of data is the list item of business configuration correspondence.For example, an employee shown in the table 1 shows employee, is used to store the essential information of employee of company, wherein, the tables of data of this employee's table for storing on the master server, the employee's of the said firm essential information is the corresponding business configuration.In table 1, comprise following field: id (uniqueness sign), name (title), phone fields such as (phones).
Table 1
Id Name ?phone
1 Zhang San ?13800138000
2 Li Si ?13800138001
3 The king two ?13800138002
Further, on the tables of data watch-dog, safeguarded service lists, stored the corresponding relation of service identification (ID) in this service lists with table name, and the table name that writes down in this service lists is the table name that needs to be synchronized to the tables of data of service server on the master server, this traffic ID be used for identifying distributed system operate on some service servers business (for example, Business Name etc.), for example, when the employee's table shown in the above-mentioned table of storing on need be with master server 1 was synchronized to the corresponding business service device, the industry ID that stores in the service lists and the relation of table name were as shown in table 2.
Table 2
Traffic ID Table name
1 (expression employee business) Employee's table
?2
In the embodiment of the invention, the situation of change of tables of data on the described tables of data watch-dog monitoring master server, when the tables of data on the master server changes, whether described tables of data watch-dog is recorded in the service lists by the table name of the tables of data that inquiry changes, if the table name of the tables of data that changes is recorded in the service lists, then need the configuration information of this tables of data correspondence is synchronized on the corresponding service server, so as with the data sync of this tables of data to the corresponding service server.When newly-increased when needing the data in synchronization table in service server, only need get final product needing the table name of data in synchronization table and this table name corresponding service sign to add service lists to.Wherein, this is newly-increased to need the data in synchronization table to be meant, in the master server newly-built and need be synchronized to stored in corresponding service data in server table and the master server but be not synchronized to tables of data in the service server as yet.
Based on above-mentioned situation, the user carries out business configuration, and when the content of tables of data had been carried out the operation more than one of increase, modification or deletion, the method for data synchronization that the embodiment of the invention provides as shown in Figure 2, further may further comprise the steps:
When the content that step 201, tables of data watch-dog monitor this tables of data was upgraded, the data sync that need to determine whether the described tables of data that will be updated was to the corresponding service server.If, execution in step 202.
In this step, the data sync that determines whether the described tables of data that needs will be updated is to the corresponding service server, specifically comprise: whether the table name of judging the described tables of data that is updated is recorded in the service lists of safeguarding in advance, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server.If the table name of the tables of data that is updated is not recorded in the described service lists, then table name need not the data sync after this tables of data renewal to service server.
Concrete, the user need upgrade (for example, operations such as increase, modification or deletion) to the content of tables of data when carrying out business configuration, and at this moment, the tables of data watch-dog can monitor user's aforesaid operations.For example, for the employee shown in the table 1 table, if when the user carries out business configuration, need deletion king's two record, and when increasing Zhao five record, then the user can carry out corresponding operation at configuration interface, the employee after the operation shows as shown in table 3.
Table 3
Id Name ?phone
1 Zhang San ?13800138000
2 Li Si ?13800138001
4 Zhao five ?13800138003
After the user carries out aforesaid operations, then the tables of data watch-dog can monitor user's aforesaid operations, and promptly the tables of data watch-dog monitors employee table and changes, and whether inquire about employee's table then has corresponding record in described service lists, if execution in step 202 then sometimes.
Be understandable that, in the tables of data watch-dog, in service lists, stored the corresponding relation of table name and traffic ID in advance, and the table name in the tables of data of this table name and master server is identical, promptly according to table name in the tables of data and the table name in the service lists, this tables of data watch-dog can inquire the table name of tables of data of variation whether in described service lists.For example, the record that has table name 1, table name 2 when service lists, and user's modification is in the tables of data during the pairing business configuration content of table name 3, and then the table name of the tables of data of Bian Huaing then need not the data of the tables of data of table name 3 are carried out synchronously not in described service lists.
Step 202 when the data sync of the described tables of data that will be updated is to corresponding described service server if desired, is then obtained the address information of the configuration information and the corresponding described service server of the described tables of data that is updated.
When the table name of the tables of data that changes has corresponding record in described service lists, pairing configuration information of table name and data that this tables of data then is described need be synchronized in the service server, at this moment, this tables of data watch-dog need be inquired about corresponding configuration information from the tables of data of master server, the i.e. corresponding professional configuration information of this table name (can be the corresponding professional descriptor of this table name), for example, field name information, field type information, uniqueness identification information etc.Certainly, in the practical application, this configuration information is not limited to above-mentioned information, gives unnecessary details no longer in detail among the present invention.
Concrete, when having obtained the table name of tables of data, then can (this system's table be by database maintenance at system's table of database, for example, any one databases such as MS SQLServer, Oracle) this tables of data of inquiry (for example in, above-mentioned employee's table) configuration information comprises the field name information of this employee's table, the field type information of each field correspondence, the attributes such as uniqueness identification information of this employee's table.
In addition, owing to stored the corresponding relation of traffic ID and table name in the service lists in the tables of data watch-dog, when the table name of the tables of data of knowing variation, according to this table name, and above-mentioned corresponding relation, then the tables of data watch-dog can be known corresponding service ID; And, can the synchronization notice message be sent to this service server according to this IP address then according to the IP address that this traffic ID continues to find service server.
It should be noted that in distributed system, all safeguarded the corresponding relation of traffic ID and corresponding service server ip address,, then can find the IP address of service server promptly according to this traffic ID.
Step 203 generate the synchronization notice message according to the described configuration information that obtains, and the described synchronization notice message that will generate sends to described service server by the described address information of obtaining.
When configuration information (professional descriptor) obtain finish after, need generate the synchronization notice message according to this configuration information, be about to field name information, field type information, uniqueness identification information etc. and be combined into corresponding synchronization notice message.
Step 204, described service server be according to the described configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
After service server received this synchronization notice message, described service server was resolved the described synchronization notice message that receives, to obtain described table name, described uniqueness identification information, described field name information and described field type information; Whether described service server judging self has stored the of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, then described service server is according to described table name, described uniqueness identification information, described field name information and the described field type information obtained, newly-built described tables of data of the same name, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name; If store corresponding tables of data described of the same name, then described service server is according to the described uniqueness identification information, described field name and the described field type that obtain, the uniqueness identification information of described tables of data of the same name, described field name and described field type are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the described tables of data of the same name.
For example, the configuration information that carries in the synchronization notice message is name and phone, and table name is employee's table; And the configuration information in the tables of data of the same name of service server (being that the employee shows) is when being name, illustrate that then the configuration information in the synchronization notice message is different with the configuration information in this tables of data of the same name, configuration information phone need be updated in the tables of data of the same name of this service server.
Be understandable that, be not limited among the present invention by using the configuration information in the above-mentioned mode synchronous service server data table, those skilled in the art can be according to the enlightenment of the embodiment of the invention, the method of synchronization to configuration information changes, for example, when the tables of data watch-dog knows that tables of data on the master server changes, only the table name of the tables of data that changes is notified to the corresponding service server by the synchronization notice message, and service server only relatively the table name of this tables of data whether corresponding tables of data is being arranged from one's body; If have, then service server initiatively obtains the configuration information of this table name correspondence from master server, and upgrade configuration information in self the tables of data, the data that read the tables of data that changes by table name from master server are recorded in self stored configuration information in the data updated table again; If do not have, then set up on the service server tables of data of the same name (this tables of data of the same name be meant with master server on the identical tables of data of table name of the tables of data of storing); Give unnecessary details no longer in detail among this mode the present invention.
Further, after said process was finished, this service server also needed to inquire about the content in the tables of data that changes from master server, and according to the content in the tables of data of the same name of the content update in the tables of data of this variation self.And for the process of the content in the tables of data of the same name of more clearly setting forth this renewal self, and the technical scheme that the present invention proposes further clearly is described, below in conjunction with application scenarios shown in Figure 3 the present invention is further detailed.In Fig. 3, comprise tables of data watch-dog, master server (corresponding master data base), service server (corresponding Service Database).As shown in Figure 4, the method for data synchronization of this distributed system may further comprise the steps:
Step 401, the user carries out business configuration, and to the content in the tables of data increase, operation such as modification or deletion.
Step 402, when the tables of data watch-dog monitors tables of data when changing, the tabulation of tables of data watch-dog inquiry business.Since the tables of data watch-dog can be real-time the monitor data table, then when the user carried out business configuration, the tables of data watch-dog can monitor the variation of tables of data.
Implementation process sees also the associated description of Fig. 2 among the embodiment, does not repeat them here.
Step 403, when the tables of data watch-dog knew that according to monitored results the table name of the tables of data that changes has corresponding record in service lists, then the tables of data watch-dog generated the synchronization notice message.
Implementation process is asked for an interview the associated description of Fig. 2 among the embodiment, does not repeat them here.
When configuration information (professional descriptor) obtain finish after, need generate the synchronization notice message according to the descriptor of business, be about to field name information, field type information, uniqueness identification information etc. and be combined into corresponding synchronization notice message.As shown in Figure 5, message format schematic diagram for a kind of synchronization notice message, wherein, Fig. 5 represents the synchronous table of needs (SyncTable), at least carried following information: table name (TableName), field identification (IdentityField, this field identification are the uniqueness identification information), field name information (FieldName), field type information (FieldType).If the synchronization notice message issues with XML (Extensible Markup Language, extend markup language) document format, then corresponding above-mentioned employee shows the situation of employee, and corresponding synchronization notice message as shown in Figure 6.In Fig. 6, table name is employee, and the uniqueness identification field is called id, and its field type is int, and the field name of other fields comprises name and phone, and its field type is respectively varchar (64) and varchar (16).
Step 404, the IP address of tables of data watch-dog inquiry business server, and the synchronization notice message is sent to service server according to this IP address.
Concrete, because when the tables of data watch-dog is known traffic ID by service lists, the IP address that finds service server according to this traffic ID (promptly, can determine to need with on the data sync of this tables of data that changes certain service server in the distributed system), can the synchronization notice message be sent to this service server according to this IP address then.
Step 405, service server receives the synchronization notice message.
Step 406, service server is resolved the synchronization notice message, and obtaining needs synchronous configuration information.
Step 407, whether the service server inquiry exists tables of data of the same name, if there is no, and then according to the configuration information in the synchronization notice message, newly-built tables of data of the same name; If exist, then relatively the configuration information of this tables of data whether with the synchronization notice message in accordant configuration information, if inconsistent, then according to the configuration information in the configuration information update in the synchronization notice message self tables of data of the same name.
Concrete, in service server, also stored with master server in corresponding tables of data, for example, when having stored the employee shown in the table 1 in the master server when showing, when needs with this tables of data in the corresponding service server sync are, then also need the employee's table shown in the storage list 1 in the corresponding service server.
When the user carries out business configuration the employee shown in the table 1 table is revised as the employee shown in the table 3 when showing, then the tables of data watch-dog is to the synchronization notice message of service server transmission, as shown in Figure 6, when service server receives above-mentioned synchronization notice message, resolve this synchronization notice message, service server will inquire about whether there is tables of data of the same name, whether i.e. inquiry deposits employee's table, and stored employee table in this service server this moment, at this moment, the configuration information that then needs further the tables of data of self relatively whether with the synchronization notice message in accordant configuration information.Wherein, field name in the configuration information of employee's table of storing in this service server comprises Id, name and three fields of phone, and also carried the configuration information of above-mentioned three fields in the synchronization notice message, be the configuration information of tables of data and the accordant configuration information in this synchronization notice message, do not need additionally to increase field name.If when also having carried the field name of address and corresponding field type in the synchronization notice message, configuration information and the configuration information in this synchronization notice message that tables of data then is described are inconsistent, at this moment, need show additionally to increase field name address this employee, promptly, service server receives the synchronization notice message, after resolving the synchronization notice message, obtain the configuration information of synchronous meter, whether there is tables of data of the same name in the query traffic data storehouse, if there is tables of data of the same name, then judge data list structure of the same name, whether field type is consistent with tables of data in the database, if consistent then the list structure or the field type of tables of data of the same name do not upgraded, if inconsistent, then updating form structure or field type.
Step 408, service server are inquired about the content of this table name correspondence from master server, and according to the content in the tables of data of the same name of the content update self of this table name correspondence.Wherein, the content of this table name correspondence is the content in the tables of data of variation.
Concrete, service server has known that the table name of the tables of data of variation is employee in above-mentioned steps, in this step, this service server can be according to the content of this table name employee this table name correspondence of inquiry in the master server, the content that inquires is as shown in table 3, and the tables of data of the same name of the employee of self correspondence is the employee tables of data (as shown in table 1) before changing in the master data base, promptly this service server need be according to the content of the employee tables of data of the content update in this table 3 self storage, thereby make the data of the employee tables of data in this service server can be synchronized to the content shown in the table 3, the data that are about to employee table in the master server are updated in the employee tables of data of this service server synchronously.
Further, whether service server content synchronization in the employee tables of data in master server is updated in the process in the employee tables of data of self storage, need relatively in content and the master server in self the employee tables of data content in the employee tables of data consistent.Wherein, the information that has Zhang San, Li Si and king two in the employee tables of data of storing in this service server, and in the master server in the employee table in have Zhang San, Li Si and Zhao's five information, therefore, need to delete the information of king two in employee's table of storing in the service server, and increase Zhao five information according to the content in the employee table in the master server.
It should be noted that, because in field identification, field name information and field type information, field name information and field type information be not unique sign (for example, have several Zhang San), therefore, when whether the content during employee shows in the content in self tables of data relatively and the master server is consistent, need compare according to field identification (uniqueness sign), this comparison procedure is specially: service server knows that the tables of data of master server is content A, and data query table content is B in service server.By poll A and B, the Identity Field:(1 of more every record respectively) if the value of the Identity Field of certain bar record only is present among the A, it is newly-increased to show that then this is recorded as, and need insert this record in B; (2) if the value of the Identity Field of certain bar record only is present among the B, show that then this record deleted by the user, need in B, delete this record; (3) if the value of the IdentityField of certain bar record is present among A, the B simultaneously, show that then this record may be modified, according to the corresponding record among the value renewal B of this record of A.
In summary it can be seen, among the present invention,, the tables of data that changes on the master server can be synchronized to service server automatically, thereby simplify complexity of developing by using the tables of data watch-dog; And have extensibility, and newly-increased if desired synchrodata table, traffic ID joins in the service lists and gets final product under then only the table name of this tables of data need being reached, and does not need original system is carried out adaptive exploitation.
Wherein, the inventive method can be adjusted each sequence of steps according to actual needs.
Based on the inventive concept same with said method, the invention allows for a kind of distributed system that to use said method, described distributed system comprises master server and at least one service server, shown in Fig. 7 A and Fig. 7 B, wherein, Fig. 7 A is the structural representation of tables of data watch-dog, and Fig. 7 B is the structural representation of service server.This distributed system also comprises:
Monitoring unit 10, whether the data that are used to monitor the tables of data that described master server stores are updated.
Determining unit 20, be connected with described monitoring means 10, be used for when data that described monitoring unit 10 monitors the tables of data that described master server stores are updated, the data sync that need to determine whether the described tables of data that will be updated is in the corresponding service server.
Acquiring unit 30, be connected with described determining unit 20, the data sync that is used for determining the described tables of data that needs will be updated when described determining unit 20 is during to corresponding described service server, obtains the address information of the described service server of the configuration information of the described tables of data that is updated and correspondence.
Notification unit 40 is connected with described acquiring unit 30, be used for generating the synchronization notice message according to the described configuration information that obtains, and the described notice message that will generate sends to corresponding described service server by the described address information of obtaining.
Described service server is according to the configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
Among the present invention, described system also comprises:
Service lists memory cell 50 is connected with described determining unit 20, is used to store the service lists of safeguarding in advance; Wherein, described service lists has write down table name and this table name corresponding service sign of the tables of data that need be synchronized to described service server.
Described determining unit 20 specifically is used for, whether the table name of judging the described tables of data that is updated is recorded in the described service lists, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server.
Described system also comprises:
Service lists updating block 60, be connected with service lists memory cell 50, when newly-increased described when needing the data in synchronization table in described service server, be used for adding the described table name of data in synchronization table and this table name corresponding service sign of needing to described service lists.
Among the present invention, store system's table and business service address table in the described master server; Wherein,
Described system table stores table name, field name information, field type information, uniqueness identification information at least; This business service address table stores more than one service identification and each this service identification corresponding address information.
In view of the situation, described acquiring unit 30 comprises:
First obtains subelement 31, is used for the table name according to the described tables of data that is updated, and obtains the described configuration information of the tables of data that is updated from described system table; And
Second obtains subelement 32, be used for searching the described service identification of the table name correspondence of the described tables of data that is updated in described service lists, and, from described business service address table, obtain the described address information corresponding with the described service identification that finds according to the described service identification that finds.
Among the present invention, described notification unit 40, specifically being used for obtaining subelement according to described first obtains described table name, described field name information, described field type information, described uniqueness identification information and generates described synchronization notice message, and, the described synchronization notice message that generates is sent to described service server according to the described address information that second acquisition unit obtains.
Among the present invention, described service server also comprises:
Synchrodata memory cell 70 is used to store tables of data of the same name; Wherein, the table name in the described tables of data of the same name is identical with the table name of tables of data in the described master server;
Resolution unit 80 is used for receiving and resolving described synchronization notice message, to obtain described table name, described field name information and described field type information, described uniqueness identification information;
Lock unit 90 is used for judging whether the synchrodata memory cell has stored the described of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, the described table name that then described lock unit obtains according to described resolution unit, described field name information, described field type information and described uniqueness identification information, newly-built described tables of data of the same name in described synchrodata memory cell, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name;
If store corresponding tables of data described of the same name, described field name of described field type and described uniqueness identification information that then described lock unit obtains according to described resolution unit, the described field name of described tables of data of the same name, described field type and described uniqueness identification information are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the corresponding tables of data described of the same name.
As mentioned above, each unit module of this system can be integrated in one in the embodiment of the invention, also can separate deployment.The said units module can be merged into a device, as the tables of data watch-dog, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (13)

1. the method for data synchronization of a distributed system is characterized in that, this method is applied to comprise in the distributed system of master server and at least one service server, said method comprising the steps of:
When the data that monitor the tables of data that described master server stores were updated, the data sync that need to determine whether the described tables of data that will be updated was to the corresponding service server;
When the data sync of the described tables of data that will be updated is to corresponding described service server if desired, then obtain the address information of the configuration information and the corresponding described service server of the described tables of data that is updated;
Generate the synchronization notice message according to the described configuration information that obtains, and the described synchronization notice message that will generate sends to described service server by the described address information of obtaining;
Described service server is according to the described configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
2. the method for claim 1 is characterized in that, the data sync that determines whether the described tables of data that needs will be updated specifically comprises to the corresponding service server:
Whether the table name of judging the described tables of data that is updated is recorded in the service lists of safeguarding in advance, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server;
Wherein, table name and this table name corresponding service sign of the tables of data that need be synchronized to described service server have been write down in the described service lists.
3. method as claimed in claim 2 is characterized in that, described method also comprises:
When newly-increased described when needing the data in synchronization table in described service server, add the described table name of data in synchronization table and this table name corresponding service sign of needing to described service lists.
4. method as claimed in claim 2 is characterized in that, obtains the address information of the configuration information and the corresponding described service server of the described tables of data that is updated, and specifically comprises:
According to the table name of the described tables of data that is updated, from system's table of described system database, obtain the described configuration information of the tables of data that is updated; And
In described service lists, search the described service identification of the table name correspondence of the described tables of data that is updated; And, from described master server, obtain the described address information corresponding the business service address table of storage in advance with the described service identification that finds according to the described service identification that finds.
5. method as claimed in claim 4 is characterized in that, the described configuration information of described tables of data comprises at least: table name, field name information, field type information, uniqueness identification information;
Generate the synchronization notice message according to the described configuration information that obtains, specifically comprise:
Generate described synchronization notice message according to described table name, described field name information, described field type information and described uniqueness identification information.
6. method as claimed in claim 5 is characterized in that, described service server is according to the described configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out specifically comprising synchronously:
Described service server is resolved the described synchronization notice message that receives, to obtain described table name, described field name information, described field type information and described uniqueness identification information;
Whether described service server judging self has stored the of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, then described service server is according to the described table name, described field name information, described field type information and the described uniqueness identification information that obtain, newly-built described tables of data of the same name, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name;
If store corresponding tables of data described of the same name, then described service server is according to the described field name, described field type and the uniqueness identification information that obtain, the described field name of described tables of data of the same name, described field type and described uniqueness identification information are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the described tables of data of the same name.
7. distributed system, described distributed system comprise master server and at least one service server, it is characterized in that this distributed system also comprises:
Monitoring unit, whether the data that are used to monitor the tables of data that described master server stores are updated;
Determining unit is connected with described monitoring means, is used for when data that described monitoring unit monitors the tables of data that described master server stores are updated, and the data sync that need to determine whether the described tables of data that will be updated is in the corresponding service server;
Acquiring unit, be connected with described determining unit, the data sync that is used for determining the described tables of data that needs will be updated when described determining unit is during to corresponding described service server, obtains the address information of the described service server of the configuration information of the described tables of data that is updated and correspondence;
Notification unit is connected with described acquiring unit, be used for generating the synchronization notice message according to the described configuration information that obtains, and the described notice message that will generate sends to corresponding described service server by the described address information of obtaining;
Described service server is according to the configuration information in the described synchronization notice message that receives, and the data of the described tables of data that is updated are carried out synchronously.
8. system as claimed in claim 7 is characterized in that, described system also comprises:
The service lists memory cell is connected with described determining unit, is used to store the service lists of safeguarding in advance; Wherein, described service lists has write down table name and this table name corresponding service sign of the tables of data that need be synchronized to described service server;
Described determining unit specifically is used for, whether the table name of judging the described tables of data that is updated is recorded in the described service lists, if the described table name of the described tables of data that is updated is recorded in the described service lists, then the data sync of definite described tables of data that need will be updated is to corresponding described service server.
9. system as claimed in claim 8 is characterized in that, described system also comprises:
The service lists updating block when newly-increased described when needing the data in synchronization table in described service server, is used for adding the described table name of data in synchronization table and this table name corresponding service sign of needing to described service lists.
10. system as claimed in claim 8 is characterized in that, stores system's table and business service address table in the described master server; Wherein,
Described system table stores table name, field name information, field type information, uniqueness identification information at least;
This business service address table stores more than one service identification and each this service identification corresponding address information.
11. system according to claim 10 is characterized in that, described acquiring unit comprises:
First obtains subelement, is used for the table name according to the described tables of data that is updated, and obtains the described configuration information of the tables of data that is updated from described system table; And
Second obtains subelement, be used for searching the described service identification of the table name correspondence of the described tables of data that is updated in described service lists, and, from described business service address table, obtain the described address information corresponding with the described service identification that finds according to the described service identification that finds.
12. system as claimed in claim 11 is characterized in that,
Described notification unit, specifically being used for obtaining subelement according to described first obtains described table name, described field name information, described field type information, described uniqueness identification information and generates described synchronization notice message, and, the described synchronization notice message that generates is sent to described service server according to the described address information that second acquisition unit obtains.
13. system as claimed in claim 12 is characterized in that, described service server also comprises:
The synchrodata memory cell is used to store tables of data of the same name; Wherein, the table name in the described tables of data of the same name is identical with the table name of tables of data in the described master server;
Resolution unit is used for receiving and resolving described synchronization notice message, to obtain described table name, described field name information, described field type information and described uniqueness identification information;
Lock unit is used for judging whether the synchrodata memory cell has stored the described of the same name tables of data corresponding with the described table name that obtains; If the tables of data described of the same name of not storage correspondence, the described table name that then described lock unit obtains according to described resolution unit, described field name information, described field type information and described uniqueness identification information, newly-built described tables of data of the same name in described synchrodata memory cell, and from described master server, read the data of this tables of data that is updated according to the table name of newly-built described tables of data of the same name, the described data that read are recorded in the newly-built tables of data described of the same name;
If store corresponding tables of data described of the same name, the described field name that then described lock unit obtains according to described resolution unit, described field type and described uniqueness identification information, the described uniqueness identification information of described tables of data of the same name, described field name and described field type are upgraded, and from described master server, read the data of this tables of data that is updated according to the table name of described tables of data of the same name, the described data that read are recorded in the corresponding tables of data described of the same name.
CN201010131403.1A 2010-03-24 2010-03-24 Distributed system and data synchronization method thereof Active CN102202073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010131403.1A CN102202073B (en) 2010-03-24 2010-03-24 Distributed system and data synchronization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010131403.1A CN102202073B (en) 2010-03-24 2010-03-24 Distributed system and data synchronization method thereof

Publications (2)

Publication Number Publication Date
CN102202073A true CN102202073A (en) 2011-09-28
CN102202073B CN102202073B (en) 2014-05-07

Family

ID=44662468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010131403.1A Active CN102202073B (en) 2010-03-24 2010-03-24 Distributed system and data synchronization method thereof

Country Status (1)

Country Link
CN (1) CN102202073B (en)

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387213A (en) * 2011-10-25 2012-03-21 中兴通讯股份有限公司 Data synchronization method and device
CN102724295A (en) * 2012-05-24 2012-10-10 中国电子科技集团公司第十五研究所 Data synchronization method and system
CN102915338A (en) * 2012-09-18 2013-02-06 浪潮(北京)电子信息产业有限公司 Data synchronization method of distributed file systems and file systems
CN103051686A (en) * 2012-12-10 2013-04-17 北京普泽天玑数据技术有限公司 Method and system for isolating dynamic application of distributed system
WO2013064020A1 (en) * 2011-11-03 2013-05-10 中兴通讯股份有限公司 Data compatible method, inter-board message compatible method and corresponding systems
CN103577422A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Bidirectional-mapping-relation data processing method and system
CN103856517A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Synchronous equalization system and method thereof
CN103997525A (en) * 2014-05-21 2014-08-20 北京紫光天禾软件系统技术有限公司 Distributed data synchronization method and system
CN104410511A (en) * 2014-10-27 2015-03-11 浪潮(北京)电子信息产业有限公司 Server management method and system
WO2015035816A1 (en) * 2013-09-12 2015-03-19 中兴通讯股份有限公司 Nginx server configuration maintenance method and system
WO2016045545A1 (en) * 2014-09-28 2016-03-31 阿里巴巴集团控股有限公司 Data interaction method and system, and server
CN105512283A (en) * 2015-12-04 2016-04-20 国网江西省电力公司信息通信分公司 Data quality management and control method and device
CN105610985A (en) * 2016-03-14 2016-05-25 北京国电通网络技术有限公司 Method for synchronizing IP (Internet Protocol) addresses of servers
CN105824916A (en) * 2016-03-16 2016-08-03 上海携程商务有限公司 System and method for synchronizing data
CN105847378A (en) * 2016-04-13 2016-08-10 北京思特奇信息技术股份有限公司 Big data synchronizing method and system
CN106708891A (en) * 2015-11-17 2017-05-24 中兴通讯股份有限公司 Network management data synchronizing method and device
CN106709066A (en) * 2017-01-19 2017-05-24 杭州数梦工场科技有限公司 Data synchronization method and device
CN106777019A (en) * 2016-12-08 2017-05-31 腾讯科技(深圳)有限公司 The monitoring method and monitoring server of a kind of HBase systems
CN106815286A (en) * 2016-12-05 2017-06-09 大唐网络有限公司 Document handling method
CN106874389A (en) * 2017-01-11 2017-06-20 腾讯科技(深圳)有限公司 The moving method and device of data
WO2017114111A1 (en) * 2015-12-31 2017-07-06 语联网(武汉)信息技术有限公司 Asynchronous data synchronization method for distributed system
CN102722514B (en) * 2011-12-30 2017-11-10 新奥特(北京)视频技术有限公司 A kind of method that Remote Dynamic creates database
CN108234307A (en) * 2016-12-21 2018-06-29 丛林网络公司 Network method, network equipment and non-transitory computer-readable storage media
CN108228695A (en) * 2017-06-30 2018-06-29 勤智数码科技股份有限公司 A kind of dynamic real-time update method of business datum
CN108270609A (en) * 2017-01-04 2018-07-10 武汉斗鱼网络科技有限公司 A kind of method and device for the configuration file for updating Website server
CN108696595A (en) * 2018-05-28 2018-10-23 郑州云海信息技术有限公司 Distributed type assemblies method of data synchronization, master node, slave node, system and medium
CN109325030A (en) * 2018-09-03 2019-02-12 平安国际融资租赁有限公司 Message processing method, device, computer equipment and storage medium
CN109408565A (en) * 2018-10-19 2019-03-01 浪潮软件集团有限公司 Data synchronous interaction method, system and data interaction platform
CN110365809A (en) * 2019-07-23 2019-10-22 中南民族大学 Distributed server address configuration system and method
CN110704273A (en) * 2019-08-28 2020-01-17 贝壳技术有限公司 Configuration information processing method and device, electronic equipment and storage medium
CN111061745A (en) * 2019-10-10 2020-04-24 望海康信(北京)科技股份公司 Data synchronization system and method
CN111831661A (en) * 2020-07-20 2020-10-27 江苏云柜网络技术有限公司 Database filing method based on express business logic
CN112131239A (en) * 2020-09-30 2020-12-25 腾讯科技(深圳)有限公司 Data processing method, computer equipment and readable storage medium
CN113254535A (en) * 2021-06-08 2021-08-13 成都新潮传媒集团有限公司 Method and device for synchronizing data from mongodb to mysql and computer readable storage medium
US11095742B2 (en) 2019-03-27 2021-08-17 Juniper Networks, Inc. Query proxy for delivery of dynamic system state
US11316744B2 (en) 2016-12-21 2022-04-26 Juniper Networks, Inc. Organizing execution of distributed operating systems for network devices
US11316775B2 (en) 2016-12-21 2022-04-26 Juniper Networks, Inc. Maintaining coherency in distributed operating systems for network devices
WO2023138533A1 (en) * 2022-01-22 2023-07-27 华为技术有限公司 Service collaboration method, electronic device, readable storage medium, and chip system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1493984A (en) * 2002-11-01 2004-05-05 英业达股份有限公司 Distribution type data synchronous system and its method
WO2009084941A2 (en) * 2007-12-28 2009-07-09 Multimedia Research Lab Sdn Bhd A method for information conferencing and a system therefor
CN101521606A (en) * 2009-04-10 2009-09-02 北京星网锐捷网络技术有限公司 Log information processing method, log server and communication system
CN101540726A (en) * 2009-04-27 2009-09-23 华为技术有限公司 Method, client, server and system of synchronous data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1493984A (en) * 2002-11-01 2004-05-05 英业达股份有限公司 Distribution type data synchronous system and its method
WO2009084941A2 (en) * 2007-12-28 2009-07-09 Multimedia Research Lab Sdn Bhd A method for information conferencing and a system therefor
CN101521606A (en) * 2009-04-10 2009-09-02 北京星网锐捷网络技术有限公司 Log information processing method, log server and communication system
CN101540726A (en) * 2009-04-27 2009-09-23 华为技术有限公司 Method, client, server and system of synchronous data

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013060132A1 (en) * 2011-10-25 2013-05-02 中兴通讯股份有限公司 Data synchronization method and device
CN102387213A (en) * 2011-10-25 2012-03-21 中兴通讯股份有限公司 Data synchronization method and device
WO2013064020A1 (en) * 2011-11-03 2013-05-10 中兴通讯股份有限公司 Data compatible method, inter-board message compatible method and corresponding systems
CN102722514B (en) * 2011-12-30 2017-11-10 新奥特(北京)视频技术有限公司 A kind of method that Remote Dynamic creates database
CN102724295B (en) * 2012-05-24 2016-05-18 中国电子科技集团公司第十五研究所 Method of data synchronization and system
CN102724295A (en) * 2012-05-24 2012-10-10 中国电子科技集团公司第十五研究所 Data synchronization method and system
CN103577422A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Bidirectional-mapping-relation data processing method and system
CN103577422B (en) * 2012-07-24 2017-11-14 腾讯科技(深圳)有限公司 The processing method and system of a kind of Bidirectional-mappindatalation datalation
CN102915338A (en) * 2012-09-18 2013-02-06 浪潮(北京)电子信息产业有限公司 Data synchronization method of distributed file systems and file systems
CN103856517A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Synchronous equalization system and method thereof
CN103051686A (en) * 2012-12-10 2013-04-17 北京普泽天玑数据技术有限公司 Method and system for isolating dynamic application of distributed system
WO2015035816A1 (en) * 2013-09-12 2015-03-19 中兴通讯股份有限公司 Nginx server configuration maintenance method and system
CN103997525B (en) * 2014-05-21 2017-10-20 北京天禾元创软件股份有限公司 A kind of Distributed Data Synchronization method and system
CN103997525A (en) * 2014-05-21 2014-08-20 北京紫光天禾软件系统技术有限公司 Distributed data synchronization method and system
WO2016045545A1 (en) * 2014-09-28 2016-03-31 阿里巴巴集团控股有限公司 Data interaction method and system, and server
CN104410511B (en) * 2014-10-27 2018-07-06 浪潮(北京)电子信息产业有限公司 A kind of server management method and system
CN104410511A (en) * 2014-10-27 2015-03-11 浪潮(北京)电子信息产业有限公司 Server management method and system
CN106708891A (en) * 2015-11-17 2017-05-24 中兴通讯股份有限公司 Network management data synchronizing method and device
CN105512283A (en) * 2015-12-04 2016-04-20 国网江西省电力公司信息通信分公司 Data quality management and control method and device
WO2017092447A1 (en) * 2015-12-04 2017-06-08 Jiangxi Electric Power Corporation Information And Communications Branch Of State Grid Method and apparatus for data quality management and control
CN105512283B (en) * 2015-12-04 2019-05-03 国网江西省电力公司信息通信分公司 Data quality management control method and device
US10248674B2 (en) 2015-12-04 2019-04-02 Jiangxi Electric Power Corporation Information And Communications Branch Of State Grid Method and apparatus for data quality management and control
WO2017114111A1 (en) * 2015-12-31 2017-07-06 语联网(武汉)信息技术有限公司 Asynchronous data synchronization method for distributed system
CN105610985B (en) * 2016-03-14 2018-10-09 北京国电通网络技术有限公司 A kind of synchronous method of server ip address
CN105610985A (en) * 2016-03-14 2016-05-25 北京国电通网络技术有限公司 Method for synchronizing IP (Internet Protocol) addresses of servers
CN105824916A (en) * 2016-03-16 2016-08-03 上海携程商务有限公司 System and method for synchronizing data
CN105824916B (en) * 2016-03-16 2019-05-31 上海携程商务有限公司 Data synchronous system and method
CN105847378A (en) * 2016-04-13 2016-08-10 北京思特奇信息技术股份有限公司 Big data synchronizing method and system
CN105847378B (en) * 2016-04-13 2019-06-28 北京思特奇信息技术股份有限公司 A kind of method and system for realizing that big data is synchronous
CN106815286A (en) * 2016-12-05 2017-06-09 大唐网络有限公司 Document handling method
CN106777019B (en) * 2016-12-08 2019-08-27 腾讯科技(深圳)有限公司 A kind of monitoring method and monitoring server of HBase system
CN106777019A (en) * 2016-12-08 2017-05-31 腾讯科技(深圳)有限公司 The monitoring method and monitoring server of a kind of HBase systems
CN108234307A (en) * 2016-12-21 2018-06-29 丛林网络公司 Network method, network equipment and non-transitory computer-readable storage media
US11316744B2 (en) 2016-12-21 2022-04-26 Juniper Networks, Inc. Organizing execution of distributed operating systems for network devices
US11924044B2 (en) 2016-12-21 2024-03-05 Juniper Networks, Inc. Organizing execution of distributed operating systems for network devices
US11316775B2 (en) 2016-12-21 2022-04-26 Juniper Networks, Inc. Maintaining coherency in distributed operating systems for network devices
US11265216B2 (en) 2016-12-21 2022-03-01 Juniper Networks, Inc. Communicating state information in distributed operating systems
CN108234307B (en) * 2016-12-21 2021-03-19 瞻博网络公司 Network method, network device, and non-transitory computer-readable storage medium
US10887173B2 (en) 2016-12-21 2021-01-05 Juniper Networks, Inc. Communicating state information in distributed operating systems
CN108270609A (en) * 2017-01-04 2018-07-10 武汉斗鱼网络科技有限公司 A kind of method and device for the configuration file for updating Website server
CN106874389A (en) * 2017-01-11 2017-06-20 腾讯科技(深圳)有限公司 The moving method and device of data
CN106709066A (en) * 2017-01-19 2017-05-24 杭州数梦工场科技有限公司 Data synchronization method and device
CN108228695A (en) * 2017-06-30 2018-06-29 勤智数码科技股份有限公司 A kind of dynamic real-time update method of business datum
CN108696595A (en) * 2018-05-28 2018-10-23 郑州云海信息技术有限公司 Distributed type assemblies method of data synchronization, master node, slave node, system and medium
CN109325030B (en) * 2018-09-03 2023-08-18 平安国际融资租赁有限公司 Message processing method, device, computer equipment and storage medium
CN109325030A (en) * 2018-09-03 2019-02-12 平安国际融资租赁有限公司 Message processing method, device, computer equipment and storage medium
CN109408565A (en) * 2018-10-19 2019-03-01 浪潮软件集团有限公司 Data synchronous interaction method, system and data interaction platform
CN109408565B (en) * 2018-10-19 2021-09-28 浪潮软件科技有限公司 Data synchronous interaction method, system and data interaction platform
US11095742B2 (en) 2019-03-27 2021-08-17 Juniper Networks, Inc. Query proxy for delivery of dynamic system state
CN110365809A (en) * 2019-07-23 2019-10-22 中南民族大学 Distributed server address configuration system and method
CN110704273B (en) * 2019-08-28 2024-01-05 贝壳技术有限公司 Processing method and device of configuration information, electronic equipment and storage medium
CN110704273A (en) * 2019-08-28 2020-01-17 贝壳技术有限公司 Configuration information processing method and device, electronic equipment and storage medium
CN111061745A (en) * 2019-10-10 2020-04-24 望海康信(北京)科技股份公司 Data synchronization system and method
CN111831661A (en) * 2020-07-20 2020-10-27 江苏云柜网络技术有限公司 Database filing method based on express business logic
CN112131239A (en) * 2020-09-30 2020-12-25 腾讯科技(深圳)有限公司 Data processing method, computer equipment and readable storage medium
CN113254535A (en) * 2021-06-08 2021-08-13 成都新潮传媒集团有限公司 Method and device for synchronizing data from mongodb to mysql and computer readable storage medium
WO2023138533A1 (en) * 2022-01-22 2023-07-27 华为技术有限公司 Service collaboration method, electronic device, readable storage medium, and chip system

Also Published As

Publication number Publication date
CN102202073B (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN102202073B (en) Distributed system and data synchronization method thereof
CN102129478B (en) Database synchronization method and system thereof
CN100449548C (en) Method and system for synchronizing data base
US8296198B2 (en) Method and system for distribution of information
CN109299157B (en) Data export method and device for distributed big single table
CN103634144B (en) The configuration file management method of many IDC clusters, system and equipment
CN101464895A (en) Method, system and apparatus for updating internal memory data
US9002787B2 (en) Method and apparatus for tracking device management data changes
CN101216832A (en) Data synchronization process and device
CN103064757A (en) Method and system for backing up data
CN104657430A (en) Method and system for data acquisition
CN105138927A (en) Privacy data protection method and apparatus
CN106709066B (en) Data synchronization method and device
CN111090803A (en) Data processing method and device, electronic equipment and storage medium
CN101751421B (en) Anisomerous synchronization method, system and device of database in video monitoring system
CN114185991A (en) Method and related device for realizing data synchronization based on distributed database
CN105446824A (en) Table increment obtaining method and remote data backup method
US7599903B2 (en) Systems and methods for extracting data sets from an online relational database into a data warehouse
CN110505290A (en) A kind of synchronous method and device of contact information
CN107656943B (en) Task query method and server
CN101610225B (en) Method, system and device for synchronous processing
CN108900497B (en) Data synchronization method and system between heterogeneous systems
CN100571172C (en) A kind of multi-vendor alarm and control system and alarm method thereof in the telecommunication management network
CN111090648B (en) Relational database data synchronization conflict resolution method
CN105530299A (en) Directory service log realization method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.