CN104092718A - Distributed system and configuration information updating method in distributed system - Google Patents
Distributed system and configuration information updating method in distributed system Download PDFInfo
- Publication number
- CN104092718A CN104092718A CN201310687405.2A CN201310687405A CN104092718A CN 104092718 A CN104092718 A CN 104092718A CN 201310687405 A CN201310687405 A CN 201310687405A CN 104092718 A CN104092718 A CN 104092718A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- subscription client
- renewal
- client
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a distributed system and a configuration information updating method in the distributed system. The system comprises a configuration client, a server cluster, a configuration information updating device and at least one subscription client. The server cluster is used for storing configuration information. The configuration information updating device is used for monitoring the server cluster, judging whether a configuration information change event occurs in the server cluster, acquiring updated configuration information from the server cluster when the configuration information change event occurs, sending a message which comprises the updated configuration information to each subscription client, and confirming whether each subscription client successfully receives the updated configuration information. According to the invention, the configuration information updating device is used to confirm whether each subscription client successfully receives the updated configuration information; whether each subscription client can successfully update the configuration information is timely determined; defects in the prior art are overcome; and the reliability of configuration information updating in the distributed system is effectively improved.
Description
Technical field
The present invention relates to field of computer technology, particularly the update method of configuration information in a kind of distributed system and distributed system.
Background technology
Distributed system as distributed real time computation system in, each distributed component is often distributed in different server nodes, for cooperation that can be correct between each distributed component, often need to share some configuration informations, and need configuration information to be revised dynamically and Fast synchronization.
In existing distributed system, high availability and event notification mechanism that the technology of the synchronous configuration information of each distributed component is generally used ZooKeeper to be provided are realized.ZooKeeper is a reliable coherent system for large-scale distributed system, and the function providing comprises configuring maintenance, name Service, distributed synchronization and group service etc.The target of ZooKeeper is exactly the key service that packaged complexity is easily made mistakes, and the interface and the performance system efficient, function-stable that are simple and easy to use are offered to user.Fig. 1 is the scene graph that adopts ZooKeeper Reconfigurations information in existing distributed computing system.Connecting ZooKeeper cluster by a client (Client) leaves configuration information on a node server (service) or multiple node server (service) of ZooKeeper cluster, as shown in Figure 1, comprise three node server A, server B and server C with ZooKeeper cluster, comprise that six clients (Client) customer end A, customer end B, client C, client D, client E and client F are example, describe the more new technological process of configuration information.Specifically can comprise the steps: 1, client E writes to configuration information in ZooKeeper cluster in server B and server C as configuration client.2, distributed component customer end A, customer end B, client C, client D and the client F that needs configuration information is connected ZooKeeper cluster and removes to read and subscribe to this configuration information as subscribing to client respectively, so-called change of subscribing to configuration information in server B in the ZooKeeper cluster that namely utilizes event notification mechanism monitoring that ZooKeeper itself provides to store configuration information and server C node.3, in the time that configuration information is changed, the assembly of corresponding subscription configuration information can receive node configuration information and changes event, and subscriber can be according to this event, removes to obtain on ZooKeeper namely configuration information of up-to-date node data.4, the client that obtains new configuration information can upgrade in time and synchronous up-to-date configuration information, then makes corresponding change.Each client (Client) is that the heartbeat mechanism providing by ZooKeeper keeps being connected with the server node in ZooKeeper cluster.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: in the distributed system of above-mentioned prior art in the renewal process of configuration information, the informing mechanism of ZooKeeper is disposable, after notifying once, the client of subscribing to can be cancelled, and whether the client of subscribing to is notified and the success or not of Reconfigurations information all can not be guaranteed.Do not receive for a long time notice and only have when subscribing to client, now need the client of subscribing to again to go to subscribe to, namely again to the corresponding configuration node server registration of ZooKeeper action listener.Therefore, in existing distributed system, the update scheme reliability of configuration information is lower.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides the update method of configuration information in a kind of distributed system and distributed system.Described technical scheme is as follows:
On the one hand, provide a kind of distributed system, described system comprises updating device and at least one subscription client of configuration client, server cluster, configuration information; Described server cluster, for store configuration information; Described server cluster comprises at least one station server;
Described configuration client, communicates with the each described server in described server cluster, for upgrading the described configuration information of described server cluster;
The updating device of described configuration information, for described server cluster is monitored, judges that in described server cluster, whether configuration information occurring changes event;
The updating device of described configuration information also, in the time there is configuration information change event, obtains the configuration information of renewal from described server cluster;
The updating device of described configuration information, also for sending the message of the configuration information that comprises described renewal to each described subscription client;
The updating device of described configuration information, also for confirming whether each described subscription client successfully receives the configuration information of described renewal;
Each described subscription client, is connected with the updating device of described configuration information respectively, the message of the configuration information that comprises described renewal sending for receiving the updating device of described configuration information.
On the other hand, provide the update method of configuration information in a kind of distributed system, described distributed system comprises updating device and at least one subscription client of configuration client, server cluster, configuration information; Described method comprises:
Described configuration client is upgraded the configuration information in described server cluster;
The updating device of described configuration information is monitored described server cluster, judges that in described server cluster, whether configuration information occurring changes event;
In the time there is configuration information change event, the updating device of described configuration information obtains the configuration information of renewal from described server cluster;
The updating device of described configuration information sends the message of the configuration information that comprises described renewal to each described subscription client;
The updating device of described configuration information confirms whether each described subscription client successfully receives the configuration information of described renewal.
The update method of configuration information in the distributed system of the embodiment of the present invention and distributed system, when the configuration information in configuration client update server cluster, updating device by configuration information is monitored server cluster, judges that in server cluster, whether configuration information occurring changes event; In the time there is configuration information change event, the updating device of configuration information obtains the configuration information of renewal from server cluster; Send the message of the configuration information that comprises renewal to each subscription client; And confirm to subscribe to client and whether successfully receive the configuration information of renewal.In the technical scheme of the embodiment of the present invention, the updating device of configuration information is also used for confirming to subscribe to client and whether successfully receives the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the scene graph that adopts ZooKeeper Reconfigurations information in existing distributed computing system.
The structural representation of the distributed system that Fig. 2 provides for one embodiment of the invention.
The structural representation of the distributed system that Fig. 3 provides for another embodiment of the present invention.
The structural representation of the distributed system that Fig. 4 provides for yet another embodiment of the invention.
Configuration information update process schematic diagram in the distributed system that Fig. 5 provides for the embodiment of the present invention.
The flow chart of the update method of configuration information in the distributed system that Fig. 6 provides for one embodiment of the invention.
The flow chart of the update method of configuration information in the distributed system that Fig. 7 provides for another embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The structural representation of the distributed system that Fig. 2 provides for one embodiment of the invention.As shown in Figure 2, the distributed system of the present embodiment specifically can comprise updating device 40 and at least one subscription client 50 of configuration client 20, server cluster 30, configuration information.
Wherein server cluster 30 is for store configuration information; In server cluster, 30 comprise at least one station server; Configuration client 20 communicates with the each server in server cluster 30, for the configuration information of update server cluster 30; Configuration information for example, in can update server cluster 30 in each or multiple servers.Renewal in the present embodiment can comprise and newly writes or revise etc. operation.
The updating device 40 of configuration information is connected with server cluster 30, and server cluster 30 is monitored, and judges that in server cluster 30, whether configuration information occurring changes event; Particularly, the each server communication in updating device 40 and the server cluster 30 of configuration information, monitors the each server 31 in server cluster 30, judges that in each server, whether configuration information occurring changes event.In the time there is configuration information change event, in the server of the updating device 40 of configuration information from the server cluster 30 of generation configuration information change event, obtain the configuration information of renewal, and send the message of the configuration information that comprises renewal to each subscription client 50.
Accordingly, respectively subscribe to client 50 and be connected with the updating device 40 of configuration information, respectively subscribe to the message of client 50 for the configuration information that comprises renewal that receives the updating device 40 of configuration information and send.The updating device 40 of configuration information is connected with each subscription client 50, and the updating device of configuration information 40 is confirmed to subscribe to clients 50 and whether successfully received the configuration information of the renewal that the updating device 40 of configuration information sends.Each subscription client 50 in the present embodiment is equivalent to the distributed component in distributed system, when each distributed component carries out Business Processing, need to get in time the configuration information of renewal, therefore also can be called as computation module or the processing components in distributed system.
The distributed system of the present embodiment, when the configuration information in configuration client update server cluster, is monitored server cluster by the updating device of configuration information, judges that in server cluster, whether configuration information occurring changes event; In the time there is configuration information change event, the updating device of configuration information obtains the configuration information of renewal from server cluster; Send the message of the configuration information that comprises renewal to each subscription client; And confirm to subscribe to client and whether successfully receive the configuration information of renewal.In the technical scheme of the present embodiment, the updating device of configuration information is also used for confirming to subscribe to client and whether successfully receives the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.
Alternatively, the updating device 40 of configuration information, also for changing the server of event and obtaining the configuration information of renewal from there is configuration information, and generate configuration information mark, the configuration information that this configuration information mark sends to this subscription client 50 for unique identification.The now updating device 40 of configuration information, specifically for sending and comprise the configuration information of renewal and the message of configuration information mark to subscribing to client 50, and sets up configuration information mark in self inside and subscribes to the mapping relations of the mark of client 50.
Accordingly, subscribing to client 50 sides, subscribe to client 50, the message of the configuration information that comprises renewal sending for the updating device 40 that receives configuration information and configuration information mark, and according to the configuration information of the configuration information update of the renewal in message self, and from message, obtain configuration information mark, then send the response message of the mark that comprises configuration information mark and this subscription client 50 to the updating device 40 of configuration information.
Further alternatively, the updating device 40 of configuration information, also subscribes to for receiving the response message that client 50 transmissions comprise the mark of configuration information mark and this subscription client 50.And find corresponding configuration information to identify and subscribe to the mapping relations of the mark of client 50 according to the mark of the subscription client 50 in response message, therefrom obtain configuration information mark; The configuration information mark that configuration information mark in the mapping relations of then this locality being stored and subscription client 50 send compares, judge that whether both are identical, if identical, determine and subscribe to client 50 Reconfigurations information successes, otherwise determine that subscription client 50 Reconfigurations information are unsuccessful.Subscribe to client 50 Reconfigurations information if determine unsuccessful, the now updating device 40 of configuration information, also for again comprising the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions.The distributed system that is the present embodiment provides retransmission mechanism.
Further alternatively, the updating device 40 of configuration information, if also for not receiving in Preset Time section while subscribing to the response message that client 50 feeds back, determine and subscribe to the client 50 unsuccessful configuration information that receives; The now updating device 40 of configuration information, also for again comprising the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions.The distributed system that is the present embodiment provides the scheme that postpones and retransmit.
Following embodiment introduces in detail distributed system operation principle in a kind of concrete workflow of distributed system, in this embodiment taking to one subscribe to client 50 send the configuration information upgrading as example illustrates technical scheme of the present invention.
Configuration client 20 is monitored each server in server cluster 30, judges that in each server, whether configuration information occurring changes event.In the time there is configuration information change event, the updating device 40 of configuration information obtains the configuration information of renewal from the server of generation configuration information change event, and generating configuration information mark, this configuration information mark is used for the configuration information that unique identification sends to this subscription client 50; Then the updating device 40 of configuration information comprises the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions.The updating device 40 of configuration information is set up configuration information mark and is subscribed to the mapping relations of the mark of client 50.
When subscribing to client 50 while receiving the message of the configuration information that comprises renewal that the updating device 40 of configuration information sends and configuration information mark, according to the configuration information of the configuration information update of the renewal in message self, and from message, obtain configuration information mark, then send the response message of the mark that comprises configuration information mark and this subscription client 50 to the updating device 40 of configuration information.The updating device 40 of configuration information finds corresponding configuration information mark according to the mark of the subscription client 50 in response message and subscribes to the mapping relations of the mark of client 50, therefrom obtains configuration information mark; The configuration information mark that configuration information mark in the mapping relations of then this locality being stored and subscription client 50 send compares, judge that whether both are identical, if identical, determine and subscribe to client 50 Reconfigurations information successes, otherwise determine that subscription client 50 Reconfigurations information are unsuccessful.Subscribe to client 50 Reconfigurations information if determine unsuccessful, now the updating device 40 of configuration information comprises the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions again.Hence one can see that, and the distributed system of the present embodiment provides the retransmission mechanism of configuration information in the process of Reconfigurations information, improved the efficiency of Reconfigurations information.
And if the updating device 40 of configuration information do not receive while subscribing to the response message that client 50 feeds back in Preset Time section, determine and subscribe to the client 50 unsuccessful configuration information that receives; Now the updating device 40 of configuration information comprises the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions again.Due to known, the distributed system of the present embodiment provides the scheme that postpones and retransmit, and has improved the efficiency of Reconfigurations information.
The distributed system of the present embodiment, confirm to subscribe to client by the updating device of configuration information and whether successfully receive the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.And in the process of Reconfigurations information, provide the retransmission mechanism of configuration information, can be in the time determining the unsuccessful configuration information of receiving renewal of subscription client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.Further, delay scheme is also provided in Reconfigurations information scheme, after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
And in prior art, in the time that subscriber is too much, can be to causing the monitoring a large amount of to the data of a node and read-write, be easy to cause configuration information update to postpone or failed situation generation, and configuration component in the embodiment of the present invention with confirm that assembly can separate, and can also carry out separately the expansion of linear distribution formula, thereby can spread the work, avoid monitoring and reading writing working to load on same node, can upgrade configuration information timely and effectively.
The structural representation of the distributed system that Fig. 3 provides for another embodiment of the present invention.As shown in Figure 3, the distributed system of the present embodiment, on the above basis embodiment illustrated in fig. 2, is carried out further more specifically bright to the updating device of configuration information.The updating device 40 of the configuration information of the present embodiment as shown in Figure 3 comprises configuration component 10 and confirms assembly 11.Configuration component 10, for server cluster 30 is monitored, judges that in server cluster 30, whether configuration information occurring changes event; Configuration component 10 also, in the time there is configuration information change event, obtains the configuration information of renewal from server cluster 30; Configuration component 10 is also for sending the message of the configuration information that comprises renewal to subscription client 50; Confirm whether assembly 11 successfully receives the configuration information of the renewal that configuration component 10 sends for confirming to subscribe to client 50.
It should be noted that, in order to increase treatment effeciency, in the updating device 40 of configuration information, also can comprise multiple configuration components 10 and multiple confirmation assembly 11, in the present embodiment, all illustrate taking one as example.And as shown in Figure 3, the server cluster 30 with distributed system of the present embodiment comprises at least one station server 31; For example, fit end 20 is connected with each server 31, can upgrade the configuration information in each server 31.In the distributed system of the present embodiment, wherein in the updating device 40 of configuration information, configuration component 10 is monitored the server cluster 30 of store configuration information in distributed system, in this server cluster 30, can comprise one or multiple servers 31.Particularly, configuration component 10 is connected with the every station server 31 in server cluster 30, configuration component 10 can be monitored the every station server 31 in server cluster 30, to judge that in server cluster 30, whether configuration information occurring changes event, wherein configuration information change event namely judges whether the configuration information in server cluster 30 changes, and changes and is configuration information change event.Change when event when there is configuration information, there is to obtain in server 31 that configuration information changes event the configuration information of renewal in configuration component 10 from server cluster 30; And to the message of subscribing to client 50 and send the configuration information that comprises renewal.Subscription client 50 in the present embodiment is each distributed component in distributed system, each distributed component subscribes to client 50 needs this configuration information that upgrades in time in Business Processing, and carry out service computation, therefore also can computation module or processing components.Therefore,, in the time that configuration information changes, need to send the configuration information upgrading, the configuration information upgrading in time in self for subscription client 50 to subscribing to client 50 in time by this configuration component.
Confirmation assembly 11 in the present embodiment can with subscribe to logical 50 letters of client, follow the trail of subscribing to client 50, confirm to subscribe to client 50 and whether successfully receive the configuration information of the renewal that configuration component 10 sends.For example confirm that assembly 11 can be inquired and subscribe to client 50, confirm whether it successfully receives the configuration information of the renewal that configuration component 10 sends.Or also can with subscribe to client 50 and arrange, in the time subscribing to the configuration information that client 50 successfully receives the renewal that configuration component 10 sends.To confirming that assembly 11 sends a confirmation, confirm that to inform assembly 11 subscribes to client and successfully receive the configuration information of the renewal that configuration component 10 sends.Or confirm that assembly 11 also can employing mode realize the tracking to subscribing to client 50, confirm to subscribe to client 50 and whether successfully receive the configuration information of the renewal that configuration component 10 sends, do not repeat them here.
In the present embodiment, configuration component 10 is for sending to subscribing to client 50 configuration information upgrading, confirm that assembly 11 is for following the trail of subscribing to client 50, confirm whether subscribe to client 50 successfully receives the configuration information of the renewal that configuration component 10 sends, configuration component 10 and confirmation assembly 11 can distributedly be worked simultaneously, improve the operating efficiency of configuration information update device.
The updating device of the distributed system configuration information of the present embodiment, monitors server cluster by the configuration component of the updating device by configuration information, judges that in server cluster, whether configuration information occurring changes event; In the time there is configuration information change event, configuration component obtains the configuration information of renewal from server cluster; Configuration component sends the message of the configuration information that comprises renewal to subscription client; Confirm whether assembly confirmation subscription client successfully receives the configuration information of the renewal of configuration component transmission.In the technical scheme of the present embodiment, the confirmation assembly of the updating device by configuration information is confirmed to subscribe to client and whether is successfully received the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.
And in prior art, in the time that subscriber is too much, can be to causing the monitoring a large amount of to the data of a node and read-write, be easy to cause configuration information update to postpone or failed situation generation, and configuration component in the embodiment of the present invention with confirm that assembly can separate, and can also carry out separately the expansion of linear distribution formula, thereby can spread the work, avoid monitoring and reading writing working to load on same node, can upgrade configuration information timely and effectively.
Further alternatively, on the basis of the technical scheme of above-described embodiment, configuration component 10 is also for generating configuration information mark, configuration information mark for unique identification to the configuration information of subscribing to client 50 and sending; Configuration component 10 is specifically for comprising the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions.
Configuration component 10 is after obtaining configuration information, before sending configuration information to subscription client 50, can be first for this configuration information sending to this subscription client 50 generates a configuration information mark, this configuration information mark can arrange length according to the actual requirements, for example can be 64, or 32 or other length etc.The configuration information of this renewal that configuration component 10 sends is like this exactly unique.
Further alternatively, on the basis of the technical scheme of above-described embodiment, configuration component 10 with confirm that assembly 11 is connected, configuration component 10 is also for comprising configuration information mark to confirming that assembly 11 sends.Like this, the configuration information of confirming the configuration information of assembly 11 renewal that can send to this subscription client 50 according to this unique identification identifies to follow the tracks of this subscription client 50, confirms whether this subscription client 50 successfully receives the configuration information of this renewal that configuration component 110 sends.
It should be noted that, in order to improve treatment effeciency, configuration component 10 in the updating device 40 of the configuration information in the distributed system shown in Fig. 3 can be also multiple, like this, configuration component 10 also needs to confirming that assembly 11 sends the mark of configuration component 10, like this, when follow-up confirmation assembly 11 is during to configuration component 10 feedback response message, can send response message to the configuration component of the mark correspondence of this configuration component 10.
Further alternatively, confirm that assembly 11 also subscribes to for receiving the response message that comprises configuration information mark that client 50 sends, subscribe to configuration information that client 50 sends and be designated and subscribe to that client 50 obtains from the message that receives configuration component and send; Confirm that assembly 11 identifies and subscribe to specifically for the configuration information sending according to configuration component 10 the configuration information mark that client 50 sends, and confirms to subscribe to client 50 and whether successfully receives the configuration information of renewal.
For example known according to above-mentioned record, after subscribing to client 50 and receiving the message of the configuration information that comprises renewal that configuration component 10 sends and configuration information mark, can get this configuration information mark, then to confirming that assembly 11 feedbacks comprise the response message of this configuration information mark.Confirm that like this assembly 11 just receives two configuration information marks, one is that configuration component 10 sends, another is subscribed to client 50 and sends, and now confirms that assembly 11 can identify to judge whether subscription client 50 successfully receives the configuration information of renewal according to these two configuration informations that receive.Whether identically for example confirm assembly 11 specifically for the configuration information mark that judges configuration component 10 and send and subscribe to the configuration information mark that client 50 sends, if identical, determine that subscribing to client 50 successfully receives the configuration information of the renewal that configuration component sends; Otherwise, determine the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client 50.
Further, confirm the configuration information mark that assembly 11 judges that configuration component 10 sends and subscribe to configuration information mark that client 50 sends when whether identical, specifically can be in the following way:
The configuration information mark that the configuration information mark that confirmation assembly 11 sends configuration component 10 and subscription client 50 send is carried out XOR (exclusive OR; Be abbreviated as XOR) operation, the value of being confirmed, and judge whether confirmation value is 0, if 0, determine configuration information mark in the message that configuration component 10 sends and to subscribe to the configuration information the returning mark that client 50 sends identical, now subscribe to the successful Reconfigurations information of client 50; Otherwise not identical, now subscribe to the unsuccessful Reconfigurations information of client 50.
It should be noted that, in the time that multiple subscription clients 50 are subscribed to configuration information simultaneously, now need to subscribe to client 50 to each when configuration component 10 follows the trail of, now configuration component 10 is except sending to confirmation assembly 11 mark of configuration information mark and configuration component 10, also, to confirming that assembly 10 sends the mark of the subscription client 50 of the configuration information for receiving this renewal, be convenient to confirm assembly 11 these subscription clients 50 of tracking.Can adopt the mode of mapping to store in 50 marks of confirming configuration information mark in assembly 11, the mark of confirming assembly 11 and subscription client.When subscribing to client 50 to confirming in the response message that feeds back of assembly 11 except comprising configuration information mark, yet comprise the mark of subscribing to client 50, like this, in the mark mapping of confirming can identify, confirm according to the subscription mark of client 50 and the configuration information of storage in assembly 11 mark and the subscription client 50 of assembly 11, get the mark of the configuration information that configuration component 10 sends, and then the configuration information that configuration component 10 is sent mark and subscribe to the configuration information mark that client 50 sends and judge processing.
Further alternatively, on the basis of the technical scheme of above-described embodiment, wherein confirm that assembly 11, also in the time determining that subscription client 50 is successfully received the configuration information of renewal of configuration component transmission, successfully receives the response message of configuration information to configuration component 10 transmission subscription clients 50.Configuration component 10 just can be learnt and send to the configuration information of the renewal of subscribing to client 50 to send successfully like this, subscribes to client 50 and is also updated successfully, and has improved the reliability of Reconfigurations information in distributed system.
Or alternatively, on the basis of the technical scheme of above-described embodiment, while confirming assembly 11 also for definite configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client 50, send and subscribe to the unsuccessful response message that receives configuration information of client 50 to configuration component 10; Accordingly now, configuration component 10 is being also for receiving the confirmation after the unsuccessful response message that receives configuration information of subscription client 50 that assembly 11 sends, and again sends and comprises the configuration information of renewal and the message of configuration information mark to subscribing to client 50.For example confirm the configuration information mark that assembly 11 sends configuration component 10 and subscribe to configuration information mark that client 50 sends that to carry out the xor operation value of being confirmed be not at 0 o'clock, can send and subscribe to the unsuccessful response message that receives configuration information of client 50 to configuration component 10; Accordingly now, configuration component 10 comprises the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions again.
In the distributed system of prior art in the renewal process of configuration information, the informing mechanism of ZooKeeper is disposable, after notifying once, the client of subscription can be cancelled, and whether the client of subscribing to is notified and the success or not of Reconfigurations information all can not be guaranteed.Do not receive for a long time notice and only have when subscribing to client, now need the client of subscribing to again to go to subscribe to, namely again to the corresponding configuration node server registration of ZooKeeper action listener.Hence one can see that, and in the update scheme of existing configuration information, informing mechanism is disposable, when subscribing to client for the first time when the unsuccessful configuration information that receives renewal, do not support to retransmit, and need to subscribe to client, subscription procedure is very complicated again, and efficiency is lower.And the technical scheme of employing above-described embodiment, the retransmission mechanism of configuration information is provided in the process of Reconfigurations information, can be in the time determining the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
Further alternatively, on the basis of the technical scheme of above-described embodiment, if wherein configuration component 10, also for do not receive the confirmation subscription client 50 successes that assembly 11 sends or the unsuccessful response message that receives configuration information in Preset Time section time, is determined and is subscribed to the unsuccessful configuration information that receives of client 50; Now configuration component 10 is also for again comprising the configuration information of renewal and the message of configuration information mark to subscribing to client 50 transmissions.
By adopting such scheme, Reconfigurations information scheme provided by the invention also provides delay scheme, if when configuration component does not receive the confirmation subscription client success that assembly sends or the unsuccessful response message that receives configuration information in Preset Time section, determine and subscribe to the unsuccessful configuration information that receives of client; Now configuration component again sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client.Compared with prior art, do not need to subscribe to client and again subscribe to configuration information yet, and directly after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
All technical schemes of above-described embodiment can adopt combinable mode combination in any, form optional embodiment of the present invention, illustrate no longer one by one at this.
The technical scheme of above-described embodiment, confirm to subscribe to client and whether successfully receive the configuration information of renewal by confirming assembly, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.And in the process of Reconfigurations information, provide the retransmission mechanism of configuration information, can be in the time determining the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.Further, delay scheme is also provided in Reconfigurations information scheme, after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
And in prior art, in the time that subscriber is too much, can be to causing the monitoring a large amount of to the data of a node and read-write, be easy to cause configuration information update to postpone or failed situation generation, and configuration component in the embodiment of the present invention with confirm that assembly can separate, and can also carry out separately the expansion of linear distribution formula, thereby can spread the work, avoid monitoring and reading writing working to load on same node, can upgrade configuration information timely and effectively.
The structural representation of the distributed system that Fig. 4 provides for yet another embodiment of the invention.As shown in Figure 4, the distributed system of the present embodiment on above-mentioned Fig. 2 and basis embodiment illustrated in fig. 3, with one particularly application scenarios introduce technical scheme of the present invention.
As shown in Figure 4, the server cluster 30 of the present embodiment can adopt ZooKeeper cluster 30 ' to realize, and this ZooKeeper cluster 30 ' is a high available DDM and system coordination framework.Based on the realization to Paxos algorithm, make this framework ensure the strong consistency of data in distributed environment, as long as be no more than the server of half when machine (if the not enough half of the number of servers of normal service, so original cluster may be divided into the zookeeper service that two information cannot be consistent), this service just can normally move, and therefore utilizes Zookeeper to ensure the reliable memory of configuration information.Accordingly now, user can write configuration information by configuration client 20 server node of the upper store configuration information of ZooKeeper, or change is stored in the configuration information on this server node.
The updating device 40 of the configuration information in the present embodiment can utilize Storm streaming computing platform to realize, the Spout interface (namely data source fetch interface) that Storm streaming computing platform provides is realized a ConfigSpout assembly 10 ' for realizing the function of configuration component 10, the data that are used for the node of monitoring ZooKeeper cluster store configuration information change event, and real-time read up-to-date configuration information and configuration information packaging be one can order object, then the stream data interface that utilizes Storm streaming computing platform to provide, configuration information is sent as the stream of config_stream by name, for example this config_stream comprises configuration information and configuration information mark.Confirm that assembly 11 can adopt and in Storm streaming computing platform, design Acker assembly 11 ' and realize, being responsible for configuration information update successfully confirms and in the time upgrading unsuccessfully, notifies ConfigSpout assembly 10 ' that configuration information is carried out to overtime repeating transmission, subscribe to client 50 can adopt the Bolt assembly 50 ' designing in Storm streaming computing platform to realize, in Fig. 4 taking comprise three Bolt assemblies 50 ' as example illustrates technical scheme of the present invention.Bolt assembly 50 ' is for subscribing to the Distributed Calculation assembly of configuration information, and Storm streaming computing platform is responsible for ConfigSpout assembly 10 ', the fault-tolerant and distributed function of Acker assembly 11 ' and Bolt assembly 50 ' etc.
The Bolt assembly 50 ' (Distributed Calculation component interface) of configuration information is subscribed to the config_stream of ConfigSpout assembly 10 ' in the mode of AllGrouping (broadcast), and utilizes the real-time forwarding capability of ConfigSpout assembly 10 ' to the Bolt assembly 50 ' that Storm streaming computing platform provides to make real-time the obtaining up-to-date configuration information and upgrade timely oneself configuration of subscriber.
Due to ConfigSpout assembly 10 ', Bolt assembly 50 ' and Acker assembly 11 ' they are all the assemblies of Storm streaming computing platform Plays, therefore all can expand by distributed linear, then the heartbeat mechanism providing by Storm streaming computing platform.And in Storm streaming computing platform, also have its processor, while service for stopping providing when certain assembly, this processor in Storm streaming computing platform can be accordingly this assembly of pull-up again, thereby carry out fault-tolerant processing.
In the time that Bolt assembly 50 ' has upgraded configuration, send a response message that confirmation is updated successfully need to Acker assembly 11 ', in this response message, can comprise configuration information mark.Acker assembly 11 ' can carry out the calculating of confirmation according to certain algorithm, in the time that Acker assembly 11 ' has received that Bolt assembly 50 ' has upgraded the confirmation of configuration, can notify the configuration information of ConfigSpout assembly the 10 ' current transmission, Bolt assembly 50 ' has upgraded, if within configurable a period of time, ConfigSpout assembly 10 ' is never received the config update successful information that Acker assembly 11 ' sends over, and ConfigSpout assembly 10 ' can resend portion by up-to-date configuration information.
In the present embodiment, ConfigSpout assembly 10 ' can send configuration information to multiple Bolt assemblies 50 ', just as the structure of a Tuple tree.Taking configuration information update process schematic diagram in the distributed system shown in Fig. 5 as example, Fig. 5 sends configuration information as example taking ConfigSpout assembly 10 ' to three Bolt assemblies 50 '.In the present embodiment, Acker assembly 11 ' is responsible for following the tracks of each Tuple that comprises configuration information that ConfigSpout assembly 10 ' sends.In the time that a tuple is created by ConfigSpout assembly 10 ', it can be endowed the spout-tuple-id of 64 is that configuration information mark is also carried at and in Tuple, sends to Bolt assembly 50 '.The spout-tuple-id of 64 is sent to Acker assembly 11 ' by ConfigSpout assembly 10 ' simultaneously, Acker assembly 11 ' is exactly to utilize this spout-tuple-id to remove to follow the tracks of the Bolt assembly 50 ' being associated with this Tuple that comprises configuration information, because Bolt assembly 50 ' can send a response message to Acker assembly 11 ' after Reconfigurations information completes, and in response message, carry the spout-tuple-id of 64 in the message that receives the 10 ' transmission of ConfigSpout assembly.
It should be noted that, ConfigSpout assembly 10 ' also will also send to Acker assembly 11 ' by the mark of this ConfigSpout assembly 10 ', can store like this mapping that spout-tuple-id arrives a pair of value in Acker assembly 11 '.This first value to value is the id that creates the ConfigSpout assembly 10 ' of this tuple, and this is to use for send message in completing processing tuple, and the process of wherein subscription client 50 configuration informations being upgraded is a tuple.Second value is the ackval of 64 "; ack val is an expression of the state of whole tuple, and the tupleidspout-tuple-id that it is just replied Bolt assembly corresponding spout-tuple-id 50 ' is simply that the tupleidspout-tuple-id of configuration information mark and the 10 ' transmission of ConfigSpout assembly is XOR together with configuration information identifies (XOR).Find ack val when Acker assembly 11 ' and become 0, Acker assembly 11 ' determines that the configuration information Tuple that spout-tuple-id is corresponding has been finished dealing with by Bolt assembly 50 ', and Acker assembly 11 ' just can be notified Reconfigurations information success of the Bolt assembly 50 ' that Config Spout assembly 10 ' spout-tuple-id is corresponding.After handling, Acker assembly 11 ' finds that ack val has been not 0, Acker assembly 11 ' can notify Bolt assembly 50 ' the Reconfigurations information that Config Spout assembly 10 ' spout-tuple-id is corresponding unsuccessful, and ConfigSpout assembly 10 ' resends up-to-date configuration information to Bolt assembly 50 ' portion.Be the mechanism of supporting to retransmit configuration information in the present embodiment scheme.ConfigSpout assembly 10 ' also for do not receive any message of Acker assembly 11 ' in Preset Time section time, resends up-to-date configuration information to Bolt assembly 50 ' portion.Be in the present embodiment scheme, to support delay to lay equal stress on to send out the mechanism of configuration information.
The distributed system of the present embodiment, confirm to subscribe to client by the confirmation assembly in the updating device of configuration information and whether successfully receive the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.And in the process of Reconfigurations information, provide the retransmission mechanism of configuration information, can be in the time determining the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.Further, delay scheme is also provided in Reconfigurations information scheme, after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.And in prior art, in the time that subscriber is too much, can be to causing the monitoring a large amount of to the data of a node and read-write, be easy to cause configuration information update to postpone or failed situation generation, and configuration component in the embodiment of the present invention with confirm that assembly can separate, and can also carry out separately the expansion of linear distribution formula, thereby can spread the work, avoid monitoring and reading writing working to load on same node, can upgrade configuration information timely and effectively.
The flow chart of the update method of configuration information in the distributed system that Fig. 6 provides for one embodiment of the invention.The distributed system of the present embodiment comprises updating device and at least one subscription client of configuration client, server cluster, configuration information, specifically can be with reference to the arbitrary described distributed system of above-mentioned Fig. 2-Fig. 4.As shown in Figure 6, the update method of configuration information in the distributed system of the present embodiment, specifically can comprise the steps:
100, the configuration information in configuration client update server cluster;
Renewal in the present embodiment comprises the configuration information in amendment server cluster, or in server cluster, writes new configuration information.
101, the updating device of configuration information is monitored server cluster, judges that in server cluster, whether configuration information occurring changes event;
The update method of configuration information in the distributed system of the present embodiment, for renewal that each distributed component of distributed system is configured to information as the subscription client in the present embodiment with synchronize.Wherein the updating device of configuration information is specifically monitored the Servers-all in server cluster, judges that in server cluster, whether configuration information occurring in arbitrary station server changes event.Configuration information change event in the present embodiment refers to configuration information and sends change, is specifically as follows and newly writes configuration information or configuration information generation amendment etc. change.
102, in the time there is configuration information change event, the updating device of configuration information obtains the configuration information of renewal from server cluster;
When configuration information sends while changing, the updating device of configuration information occurs to obtain the configuration information of renewal in server that configuration information changes from server cluster.
103, the updating device of configuration information sends the message of the configuration information that comprises renewal to each subscription client;
Subscription client in the present embodiment is the distributed component in distributed system, when each distributed component carries out practical business processing, need to get in time up-to-date configuration information.Therefore when in the time that configuration information sends change, after the updating device of configuration information gets the configuration information of renewal, need to send to subscription client in time the message of the configuration information that comprises renewal.
104, the updating device of configuration information confirms whether each subscription client successfully receives the configuration information of renewal.
The update method of the configuration information of the present embodiment, identical by adopting renewal that said method realizes configuration information and above-mentioned relevant apparatus embodiment to realize the realization mechanism of renewal of configuration information, can, with reference to the record of above-described embodiment, not repeat them here in detail.
The update method of the configuration information of the present embodiment, by server cluster being monitored by the updating device of configuration information, judges that in server cluster, whether configuration information occurring changes event; In the time there is configuration information change event, the updating device of configuration information obtains the configuration information of renewal from server cluster; The updating device of configuration information sends the message of the configuration information that comprises renewal to subscription client; And confirm to subscribe to client and whether successfully receive the configuration information of renewal.In the technical scheme of the present embodiment, confirm to subscribe to client by the updating device of configuration information and whether successfully receive the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.
Alternatively, on the basis of the technical scheme of above-described embodiment, wherein the updating device of configuration information comprises configuration component and confirms assembly.Accordingly, step 101 in above-described embodiment " updating device of configuration information is monitored server cluster; judge in server cluster, whether configuration information to occur and change event ", specifically can comprise: configuration component is monitored server cluster, judge that in server cluster, whether configuration information occurring changes event.
Accordingly, step 102 " in the time there is configuration information change event; the updating device of configuration information obtains the configuration information of renewal from server cluster ", specifically can comprise: in the time there is configuration information change event, configuration component obtains the configuration information of renewal from server cluster.
Further accordingly, " updating device of configuration information sends the message ", specifically can comprise: configuration component sends the message of the configuration information that comprises renewal to each subscription client " of the configuration information that comprises renewal to step 103 to each subscription client.
Further accordingly, " updating device of configuration information confirms that whether each subscription client successfully receives the configuration information of the renewal of configuration component transmission, specifically can comprise to step 1034: configuration component confirms whether each subscription client successfully receives the configuration information of the renewal of configuration component transmission.
Further alternatively, on the basis of the technical scheme of above-described embodiment, wherein step " configuration component sends the message of the configuration information that comprises renewal to subscription client " before, can also comprise: configuration component generates configuration information mark the configuration information that configuration information mark sends to subscription client for unique identification.
Accordingly now, step " configuration component sends the message of the configuration information that comprises renewal to subscription client ", specifically can comprise that configuration component sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client.
Further alternatively, on the basis of the technical scheme of above-described embodiment, step " configuration component generates configuration information mark " afterwards, can also comprise: configuration component comprises configuration information mark to confirming that assembly sends.
Further alternatively, on the basis of the technical scheme of above-described embodiment, step " configuration component to subscribe to client send comprise the configuration information of renewal and the message of configuration information mark " afterwards, can also comprise the steps:
(1) confirming that assembly receives subscribes to the response message that comprises configuration information mark that client sends, and the configuration information that this subscription client sends is designated subscribes to that client obtains from the message that receives configuration component and send;
(2) confirm the configuration information mark that assembly sends according to configuration component and subscribe to the configuration information mark that client sends, confirming to subscribe to client and whether successfully receive the configuration information of renewal.
For example confirm that assembly specifically can judge whether the configuration information of configuration component transmission identifies the configuration information mark sending with subscription client identical, if identical, definite subscription client is successfully received the configuration information of the renewal of configuration component transmission; Otherwise, determine the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client.
Further, on the basis of the technical scheme of above-described embodiment, can also comprise following two kinds of situations:
If when the first confirmation definite subscription of assembly client is successfully received the configuration information of renewal of configuration component transmission, confirm that assembly successfully receives the response message of configuration information to configuration component transmission subscription client;
If when the second confirmation assembly is determined the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, send the unsuccessful response message that receives configuration information of subscription client to configuration component;
Accordingly now, configuration component is receiving the confirmation after the unsuccessful response message that receives configuration information of subscription client of assembly transmission, again sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client.
Two kinds of situations arranged side by side when above-mentioned the first situation and the second situation.Above-mentioned the second situation provides the retransmission mechanism of configuration information, has improved the efficiency of configuration information update.
Further, on the basis of the technical scheme of above-described embodiment, the scheme of above-described embodiment can also comprise the steps:
(a) if when configuration component does not receive the confirmation subscription client success that assembly sends or the unsuccessful response message that receives configuration information in Preset Time section, determine and subscribe to the unsuccessful configuration information that receives of client;
(b) configuration component again sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client.
Such scheme provides delay the retransmission mechanism of configuration information, has improved the renewal efficiency of configuration information.
Above-mentioned all optional technical schemes, can adopt any combinable mode combination in any, form optional embodiment of the present invention, and this is no longer going to repeat them.
The update method of the configuration information of above-described embodiment, identical by adopting renewal that said method realizes configuration information and above-mentioned relevant apparatus embodiment to realize the realization mechanism of renewal of configuration information, can, with reference to the record of above-described embodiment, not repeat them here in detail.
The update method of the configuration information of above-described embodiment, confirm to subscribe to client by the confirmation assembly in the updating device of configuration information and whether successfully receive the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.And in the process of Reconfigurations information, provide the retransmission mechanism of configuration information, can be in the time determining the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.Further, delay scheme is also provided in Reconfigurations information scheme, after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
The flow chart of the update method of configuration information in the distributed system that Fig. 7 provides for another embodiment of the present invention.As shown in Figure 7, in the distributed system of the present embodiment, the update method of configuration information is applied in the update method of the configuration information of above-mentioned Fig. 5 and follow-up optional embodiment thereof in distributed system, specifically introduces the technical scheme of the embodiment of the present invention.As shown in Figure 6, the update method of configuration information in the distributed system of the present embodiment, specifically can comprise the steps:
200, the configuration information in configuration client update server cluster;
Wherein server cluster comprises at least one station server; Configuration client can update server cluster in configuration information in each or multiple servers.Renewal in the present embodiment can comprise and newly writes or revise etc. operation.
201, configuration component is monitored server cluster, judges that in server cluster, whether configuration information occurring changes event; In the time there is configuration information change event, execution step 202; Otherwise continue monitoring;
In the present embodiment, configuration component specifically can be monitored the each server in server cluster, judges that in each server, whether configuration information occurring changes event.
202, configuration component obtains the configuration information of renewal from server cluster; Execution step 203;
Particularly, configuration component can obtain the configuration information of renewal from the generation configuration information that monitors changes the server of event.
203, configuration component is to send to the configuration information of subscribing to client to generate configuration information mark; Execution step 204;
In the present embodiment, the configuration information that this configuration information mark sends to this subscription client for unique identification.This configuration information mark can be set to 64 or 32 or 16 etc. according to the actual requirements.
204, configuration component sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client; Execution step 205;
205, configuration component is to confirming that assembly sends the mark of configuration component mark, configuration information mark and this subscription client; Execution step 206;
The mark of this subscription client and configuration information mark are used for following the trail of subscribing to client, to determine whether subscribe to client successfully receives configuration information, and successful Reconfigurations information.Configuration component identifies for the ease of follow-up confirmation assembly to corresponding configuration component feedback response message.
Wherein step 205 and step 204 can not have sequencing restriction.
206, confirmation assembly is set up the mapping relations of the mark of configuration component mark, configuration information mark and subscription client; Execution step 207;
It should be noted that, in the time only having one to subscribe to client subscription configuration information, configuration component can, not to confirming that assembly sends the mark of subscribing to client, not know which subscription client is follow-up to confirming assembly feedback message because only have a subscription client can not exist.Because in order to improve treatment effeciency, in the time having multiple subscription client, can carry out according to step 205 and 206.
207, when subscription client is received the configuration information that comprises renewal of configuration component transmission and the message of configuration information mark, according to the configuration information of the configuration information update of the renewal in message self, and to confirming that assembly sends the feedback information that comprises configuration information mark and subscribe to the configuration information of client identification; Carry out 208;
208, confirm that assembly finds according to subscribing to client identification the mapping relations that corresponding configuration component identifies, configuration information identifies and subscribe to the mark of client, and obtain the configuration information mark that configuration component corresponding in mapping relations sends, and from the feedback information of subscription client, obtain configuration information mark; Execution step 209;
209, confirm whether the configuration information mark that assembly judge that configuration component sends is identical with the configuration information mark of subscribing to client feedback, if when identical, perform step 210; If otherwise when not identical, execution step 211;
210, confirm the definite success of client Reconfigurations information, the execution step 212 of subscribing to of assembly;
211, confirm that the definite client Reconfigurations information of subscribing to of assembly is unsuccessful, execution step 213;
212, confirm that assembly sends and subscribes to the success of client Reconfigurations information to corresponding configuration component according to configuration component mark in mapping relations, finishes.
213, confirm that assembly sends subscription client Reconfigurations information according to configuration component mark in mapping relations to corresponding configuration component unsuccessful, execution step 214;
214, configuration component again sends and comprises the configuration information of renewal and the message of configuration information mark, execution step 207 to subscription client.
In above-described embodiment, also comprise: if when configuration component does not receive the confirmation subscription client success that assembly sends or the unsuccessful response message that receives configuration information in Preset Time section, determine and subscribe to the unsuccessful configuration information that receives of client; Now configuration component again sends and comprises the configuration information of renewal and the message of configuration information mark to subscription client.Due to known, in the configuration information update scheme of the distributed system of the present embodiment, also provide the scheme that postpones and retransmit, improve the efficiency of Reconfigurations information.
The update method of configuration information in the distributed system of the present embodiment, confirm to subscribe to client by the confirmation assembly in the updating device of configuration information and whether successfully receive the configuration information of renewal, thereby can determine in time subscribe to client whether can successful Reconfigurations information, overcome defect of the prior art, effectively improved the reliability of configuration information update in distributed system.And in the process of Reconfigurations information, provide the retransmission mechanism of configuration information, can be in the time determining the configuration information of subscribing to the unsuccessful renewal of receiving configuration component transmission of client, again there is to subscribing to client the configuration information upgrading, again go to subscribe to and need not subscribe to client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.Further, delay scheme is also provided in Reconfigurations information scheme, after Preset Time section, if do not receive response message, again send and comprise the configuration information of renewal and the message of configuration information mark to subscription client, reduce the complexity of subscribing to client Reconfigurations information, improved the efficiency of Reconfigurations information.
It should be noted that: the updating device of the configuration information that above-described embodiment provides is in the time of Reconfigurations information, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of device, to complete all or part of function described above.In addition, the updating device of the configuration information that above-described embodiment provides and the update method embodiment of configuration information belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (16)
1. a distributed system, is characterized in that, described system comprises updating device and at least one subscription client of configuration client, server cluster, configuration information;
Described server cluster, for store configuration information; Described server cluster comprises at least one station server;
Described configuration client, communicates with the each described server in described server cluster, for upgrading the described configuration information of described server cluster;
The updating device of described configuration information, for described server cluster is monitored, judges that in described server cluster, whether configuration information occurring changes event;
The updating device of described configuration information also, in the time there is configuration information change event, obtains the configuration information of renewal from described server cluster;
The updating device of described configuration information, also for sending the message of the configuration information that comprises described renewal to each described subscription client;
The updating device of described configuration information, also for confirming whether each described subscription client successfully receives the configuration information of described renewal;
Each described subscription client, is connected with the updating device of described configuration information respectively, the message of the configuration information that comprises described renewal sending for receiving the updating device of described configuration information.
2. system according to claim 1, is characterized in that, the updating device of described configuration information comprises configuration component and confirms assembly;
Described configuration component, for described server cluster is monitored, judges that in described server cluster, whether configuration information occurring changes event;
Described configuration component also, in the time there is configuration information change event, obtains the configuration information of renewal from described server cluster;
Described configuration component, also for sending the message of the configuration information that comprises described renewal to each described subscription client;
Described confirmation assembly, for confirming whether each described subscription client successfully receives the configuration information of the described renewal of described configuration component transmission.
3. system according to claim 2, is characterized in that, described configuration component, and also for generating configuration information mark, the described configuration information that described configuration information mark sends to described subscription client for unique identification;
Described configuration component, comprises the configuration information of described renewal and the message of described configuration information mark specifically for sending to described subscription client.
4. system according to claim 3, is characterized in that, described configuration component, also for sending described configuration information mark to described confirmation assembly.
5. system according to claim 4, it is characterized in that, described confirmation assembly, the response message that comprises configuration information mark also sending for receiving described subscription client, the described configuration information that described subscription client sends is designated that described subscription client obtains from the described message that receives described configuration component and send;
Described confirmation assembly, specifically for the described configuration information mark that the described configuration information sending according to described configuration component identifies and described subscription client sends, confirms whether described subscription client successfully receives the configuration information of described renewal.
6. according to the system of claim 5, it is characterized in that, described confirmation assembly, whether identical specifically for judging the described configuration information mark that described configuration information identifies and described subscription client sends that described configuration component sends, if identical, determine that described subscription client successfully receives the configuration information of the described renewal that described configuration component sends; Otherwise, the configuration information of the unsuccessful described renewal of receiving described configuration component transmission of definite described subscription client.
7. system according to claim 6, it is characterized in that, described confirmation assembly, also in the time determining that described subscription client is successfully received the configuration information of the described renewal that described configuration component sends, send described subscription client and successfully receive the response message of described configuration information to described configuration component;
Or described confirmation assembly, also when determining the unsuccessful configuration information of receiving the described renewal that described configuration component sends of described subscription client, sends the unsuccessful response message that receives described configuration information of described subscription client to described configuration component; Accordingly now, described configuration component, also, for receiving after the unsuccessful response message that receives described configuration information of described subscription client of described confirmation assembly transmission, again send and comprise the configuration information of described renewal and the described message of described configuration information mark to described subscription client.
8. system according to claim 7, it is characterized in that, described configuration component, if also for do not receive described subscription client success that described confirmation assembly sends or the unsuccessful response message that receives described configuration information in Preset Time section time, determine that described subscription client is unsuccessful to receive described configuration information;
Described configuration component, also for again sending and comprise the configuration information of described renewal and the described message of described configuration information mark to described subscription client.
9. a update method for configuration information in distributed system, is characterized in that, described distributed system comprises updating device and at least one subscription client of configuration client, server cluster, configuration information; Described method comprises:
Described configuration client is upgraded the configuration information in described server cluster;
The updating device of described configuration information is monitored described server cluster, judges that in described server cluster, whether configuration information occurring changes event;
In the time there is configuration information change event, the updating device of described configuration information obtains the configuration information of renewal from described server cluster;
The updating device of described configuration information sends the message of the configuration information that comprises described renewal to each described subscription client;
The updating device of described configuration information confirms whether each described subscription client successfully receives the configuration information of described renewal.
10. method according to claim 9, is characterized in that, the updating device of described configuration information comprises configuration component and confirms assembly;
The updating device of described configuration information is monitored described server cluster, judge that in described server cluster, whether configuration information occurring changes event, specifically comprise: described configuration component is monitored described server cluster, judge that in described server cluster, whether configuration information occurring changes event;
In the time there is configuration information change event, the updating device of described configuration information obtains the configuration information of renewal from described server cluster, specifically comprise: in the time there is configuration information change event, described configuration component obtains the configuration information of renewal from described server cluster;
The updating device of described configuration information sends the message of the configuration information that comprises described renewal to each described subscription client, specifically comprise: described configuration component sends the message of the configuration information that comprises described renewal to each described subscription client;
The updating device of described configuration information confirms that whether each described subscription client successfully receives the configuration information of the described renewal of described configuration component transmission, specifically comprises: described configuration component confirms whether each described subscription client successfully receives the configuration information of the described renewal of described configuration component transmission.
11. methods according to claim 10, is characterized in that, before described configuration component comprises the message of configuration information of described renewal to the transmission of subscription client, described method also comprises:
Described configuration component generates configuration information mark, the described configuration information that described configuration information mark sends to described subscription client for unique identification;
Described configuration component sends the message of the configuration information that comprises described renewal to subscription client, comprising: described configuration component sends and comprises the configuration information of described renewal and the message of described configuration information mark to described subscription client.
12. methods according to claim 11, is characterized in that, after described configuration component generates configuration information mark, described method also comprises:
Described configuration component sends described configuration information mark to described confirmation assembly.
13. methods according to claim 12, is characterized in that, described configuration component is after described subscription client transmission comprises the configuration information of described renewal and the message of described configuration information mark, and described method also comprises:
Described confirmation assembly receives the response message that comprises configuration information mark that described subscription client sends, and the described configuration information that described subscription client sends is designated that described subscription client obtains from the described message that receives described configuration component and send;
The described configuration information mark that the described configuration information mark that described confirmation assembly sends according to described configuration component and described subscription client send, confirms whether described subscription client successfully receives the configuration information of described renewal.
14. methods according to claim 13, it is characterized in that, the described configuration information mark that the described configuration information mark that described confirmation assembly sends according to described configuration component and described subscription client send, confirm that whether described subscription client successfully receives the configuration information of described renewal, specifically comprises:
Described confirmation assembly judges whether the described configuration information mark that described configuration information identifies and described subscription client sends that described configuration component sends is identical, if identical, determine that described subscription client successfully receives the configuration information of the described renewal that described configuration component sends; Otherwise, the configuration information of the unsuccessful described renewal of receiving described configuration component transmission of definite described subscription client.
15. methods according to claim 14, is characterized in that, described method also comprises:
If described confirmation assembly determines when described subscription client is successfully received the configuration information of the described renewal that described configuration component sends, send described subscription client and successfully receive the response message of described configuration information to described configuration component;
Or, if when described confirmation assembly is determined the configuration information of the unsuccessful described renewal of receiving described configuration component transmission of described subscription client, send the unsuccessful response message that receives described configuration information of described subscription client to described configuration component;
Accordingly now, described configuration component is receiving after the unsuccessful response message that receives described configuration information of described subscription client of described confirmation assembly transmission, again sends and comprises the configuration information of described renewal and the described message of described configuration information mark to described subscription client.
16. methods according to claim 15, is characterized in that, described method also comprises:
If when described configuration component does not receive described subscription client success that described confirmation assembly sends or the unsuccessful response message that receives described configuration information in Preset Time section, determine that described subscription client is unsuccessful to receive described configuration information;
Described configuration component again sends and comprises the configuration information of described renewal and the described message of described configuration information mark to described subscription client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310687405.2A CN104092718B (en) | 2013-12-12 | 2013-12-12 | The update method of configuration information in distributed system and distributed system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310687405.2A CN104092718B (en) | 2013-12-12 | 2013-12-12 | The update method of configuration information in distributed system and distributed system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104092718A true CN104092718A (en) | 2014-10-08 |
CN104092718B CN104092718B (en) | 2017-10-24 |
Family
ID=51640398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310687405.2A Active CN104092718B (en) | 2013-12-12 | 2013-12-12 | The update method of configuration information in distributed system and distributed system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104092718B (en) |
Cited By (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954482A (en) * | 2015-06-29 | 2015-09-30 | 上海瀚之友信息技术服务有限公司 | Configuration management system and method |
CN105204949A (en) * | 2015-08-27 | 2015-12-30 | 威盛电子股份有限公司 | Method and device for actively triggering system broadcast |
CN105323151A (en) * | 2015-11-16 | 2016-02-10 | 东软集团股份有限公司 | Message processing reliability tracking method and device |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN105630994A (en) * | 2015-12-25 | 2016-06-01 | 浪潮电子信息产业股份有限公司 | Data processing method, device and system based on storm |
CN105791000A (en) * | 2014-12-26 | 2016-07-20 | 阿尔卡特朗讯 | Method and equipment for configuring application |
CN105871584A (en) * | 2015-12-02 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, device and system for updating client configuration in key value pair database |
CN105867837A (en) * | 2015-12-02 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, equipment and system for updating configurations of clients in distributed high-speed cache systems |
CN106060138A (en) * | 2016-06-06 | 2016-10-26 | 北京小米移动软件有限公司 | Method and apparatus for updating data |
WO2017016130A1 (en) * | 2015-07-30 | 2017-02-02 | 中兴通讯股份有限公司 | Message processing method and device |
CN106412029A (en) * | 2016-09-13 | 2017-02-15 | 乐视控股(北京)有限公司 | Configuration information receiving method and device, and configuration information transmitting method and device |
CN106453512A (en) * | 2016-09-05 | 2017-02-22 | 努比亚技术有限公司 | Redis cluster information monitoring device and method |
CN106502915A (en) * | 2016-12-05 | 2017-03-15 | 广州唯品会信息科技有限公司 | Method for testing software and system |
CN106572173A (en) * | 2016-11-07 | 2017-04-19 | 网易无尾熊(杭州)科技有限公司 | Method, apparatus and system for updating configuration information |
CN106656219A (en) * | 2016-12-16 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Parameter injection method and equipment |
CN107357555A (en) * | 2016-05-09 | 2017-11-17 | 阿里巴巴集团控股有限公司 | Configure method for pushing and device, system |
CN107391276A (en) * | 2017-07-05 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Distributed monitor method, interception control device and system |
CN107451147A (en) * | 2016-05-31 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of kafka clusters switching at runtime |
CN107733715A (en) * | 2017-10-26 | 2018-02-23 | 苏州蜗牛数字科技股份有限公司 | The management system and method for configuration information in a kind of distributed system |
CN107769970A (en) * | 2017-10-20 | 2018-03-06 | 北京集奥聚合科技有限公司 | The processing method and system of configuration information in a kind of distributed system |
CN107947960A (en) * | 2017-10-13 | 2018-04-20 | 用友网络科技股份有限公司 | The method for pushing and system of configuration information, the method for reseptance and system of configuration information |
CN108170763A (en) * | 2017-12-25 | 2018-06-15 | 江南大学 | A kind of Distributed Calculation common recognition algorithm of low latency |
CN108984544A (en) * | 2017-05-31 | 2018-12-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of distributed system modification configuration information |
CN109087107A (en) * | 2018-07-04 | 2018-12-25 | 恒生电子股份有限公司 | Method for real-time monitoring, system and electronic equipment based on distributed memory database |
CN109086390A (en) * | 2018-07-27 | 2018-12-25 | 北京中关村科金技术有限公司 | A kind of realization data consistency method for real-time monitoring |
CN109154897A (en) * | 2016-05-17 | 2019-01-04 | 起元技术有限责任公司 | Reconfigurable distributed treatment |
CN109150662A (en) * | 2018-08-30 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | Method for message transmission, distributed system, equipment, medium and unmanned vehicle |
CN109240608A (en) * | 2018-08-22 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of configuration information synchronous method and device |
CN109582381A (en) * | 2018-10-12 | 2019-04-05 | 中国建设银行股份有限公司 | File type configuration information synchronization system, method and storage medium |
CN110493326A (en) * | 2019-08-02 | 2019-11-22 | 泰华智慧产业集团股份有限公司 | System and method based on zookeeper management cluster configuration file |
CN110580767A (en) * | 2018-06-11 | 2019-12-17 | 山东新北洋信息技术股份有限公司 | configuration management method and device for vending machine |
CN110798349A (en) * | 2019-10-28 | 2020-02-14 | 国家计算机网络与信息安全管理中心 | Configuration distribution and receiving method, equipment and computer readable storage medium |
CN111163159A (en) * | 2019-12-27 | 2020-05-15 | 中国平安人寿保险股份有限公司 | Message subscription method, device, server and computer readable storage medium |
CN111193789A (en) * | 2019-12-25 | 2020-05-22 | 微民保险代理有限公司 | Subscription information pushing method and device, computer equipment and readable storage medium |
CN111224826A (en) * | 2020-01-07 | 2020-06-02 | 深圳市网心科技有限公司 | Configuration updating method, device, system and medium based on distributed system |
CN111371898A (en) * | 2020-03-13 | 2020-07-03 | 北京锐安科技有限公司 | Message monitoring method, device, equipment and storage medium |
WO2020211361A1 (en) * | 2019-04-16 | 2020-10-22 | 平安科技(深圳)有限公司 | Method for preventing loss of node change notification, device and computer apparatus |
CN111857800A (en) * | 2020-07-01 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Dynamic component configuration method and device, electronic equipment and storage medium |
CN111884844A (en) * | 2020-07-20 | 2020-11-03 | 中国建设银行股份有限公司 | Message service access method and device based on zookeeper |
CN111934904A (en) * | 2014-12-10 | 2020-11-13 | 华为技术有限公司 | Capacity expansion method, controller and system |
CN112532450A (en) * | 2020-11-30 | 2021-03-19 | 安徽中科美络信息技术有限公司 | Dynamic updating method and system for data stream distribution process configuration |
WO2021072967A1 (en) * | 2019-10-17 | 2021-04-22 | 厦门网宿有限公司 | Method and device for managing configuration information |
CN112822036A (en) * | 2020-12-28 | 2021-05-18 | 苏宁消费金融有限公司 | Configuration data synchronization method of distributed system |
CN113805910A (en) * | 2020-11-26 | 2021-12-17 | 北京沃东天骏信息技术有限公司 | Method and system for sharing data in application |
CN114982204A (en) * | 2020-01-22 | 2022-08-30 | 发那科株式会社 | Control device for industrial machine |
CN116126552A (en) * | 2022-12-26 | 2023-05-16 | 国家气象信息中心(中国气象局气象数据中心) | Mass meteorological observation data processing method and device based on Storm |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499995A (en) * | 2008-01-29 | 2009-08-05 | 华为技术有限公司 | Service scheduling method, system and apparatus for service scheduling |
CN201886473U (en) * | 2010-02-08 | 2011-06-29 | 阿里巴巴集团控股有限公司 | Configuration file-updating system, configuration server and application servers |
CN102394901A (en) * | 2011-06-23 | 2012-03-28 | 北京新媒传信科技有限公司 | Server cluster system and updating method of monitoring policies in same |
CN102916974A (en) * | 2012-11-07 | 2013-02-06 | 曙光信息产业股份有限公司 | Cluster configuration updating method |
US20130198350A1 (en) * | 2001-06-05 | 2013-08-01 | Daniel Moore | Multi-Class Heterogeneous Clients in a Clustered Filesystem |
-
2013
- 2013-12-12 CN CN201310687405.2A patent/CN104092718B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130198350A1 (en) * | 2001-06-05 | 2013-08-01 | Daniel Moore | Multi-Class Heterogeneous Clients in a Clustered Filesystem |
CN101499995A (en) * | 2008-01-29 | 2009-08-05 | 华为技术有限公司 | Service scheduling method, system and apparatus for service scheduling |
CN201886473U (en) * | 2010-02-08 | 2011-06-29 | 阿里巴巴集团控股有限公司 | Configuration file-updating system, configuration server and application servers |
CN102394901A (en) * | 2011-06-23 | 2012-03-28 | 北京新媒传信科技有限公司 | Server cluster system and updating method of monitoring policies in same |
CN102916974A (en) * | 2012-11-07 | 2013-02-06 | 曙光信息产业股份有限公司 | Cluster configuration updating method |
Cited By (67)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111934904A (en) * | 2014-12-10 | 2020-11-13 | 华为技术有限公司 | Capacity expansion method, controller and system |
CN111934904B (en) * | 2014-12-10 | 2023-11-03 | 华为技术有限公司 | Capacity expansion method, controller and system |
CN105791000A (en) * | 2014-12-26 | 2016-07-20 | 阿尔卡特朗讯 | Method and equipment for configuring application |
CN104954482A (en) * | 2015-06-29 | 2015-09-30 | 上海瀚之友信息技术服务有限公司 | Configuration management system and method |
WO2017016130A1 (en) * | 2015-07-30 | 2017-02-02 | 中兴通讯股份有限公司 | Message processing method and device |
CN105204949B (en) * | 2015-08-27 | 2021-06-08 | 威盛电子股份有限公司 | Method and device for actively triggering system broadcast in encryption process of mobile phone secure digital card |
CN105204949A (en) * | 2015-08-27 | 2015-12-30 | 威盛电子股份有限公司 | Method and device for actively triggering system broadcast |
CN105323151B (en) * | 2015-11-16 | 2018-09-14 | 东软集团股份有限公司 | A kind of Message Processing reliability method for tracing and device |
CN105323151A (en) * | 2015-11-16 | 2016-02-10 | 东软集团股份有限公司 | Message processing reliability tracking method and device |
WO2017092347A1 (en) * | 2015-12-02 | 2017-06-08 | 乐视控股(北京)有限公司 | Method, device and system for updating client configuration in memcached system |
CN105871584A (en) * | 2015-12-02 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, device and system for updating client configuration in key value pair database |
CN105867837A (en) * | 2015-12-02 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, equipment and system for updating configurations of clients in distributed high-speed cache systems |
WO2017092348A1 (en) * | 2015-12-02 | 2017-06-08 | 乐视控股(北京)有限公司 | Updating method, configuration and system for key-value pair database of client terminal |
CN105515872B (en) * | 2015-12-23 | 2019-05-28 | 北京奇虎科技有限公司 | The update method of configuration information, apparatus and system |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN105630994A (en) * | 2015-12-25 | 2016-06-01 | 浪潮电子信息产业股份有限公司 | Data processing method, device and system based on storm |
CN107357555B (en) * | 2016-05-09 | 2020-11-17 | 阿里巴巴集团控股有限公司 | Configuration pushing method, device and system |
CN107357555A (en) * | 2016-05-09 | 2017-11-17 | 阿里巴巴集团控股有限公司 | Configure method for pushing and device, system |
CN109154897A (en) * | 2016-05-17 | 2019-01-04 | 起元技术有限责任公司 | Reconfigurable distributed treatment |
CN109154897B (en) * | 2016-05-17 | 2022-01-21 | 起元技术有限责任公司 | Distributed processing method, storage medium, and distributed processing system |
CN107451147A (en) * | 2016-05-31 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of kafka clusters switching at runtime |
CN107451147B (en) * | 2016-05-31 | 2020-07-31 | 北京京东尚科信息技术有限公司 | Method and device for dynamically switching kafka clusters |
CN106060138A (en) * | 2016-06-06 | 2016-10-26 | 北京小米移动软件有限公司 | Method and apparatus for updating data |
CN106453512A (en) * | 2016-09-05 | 2017-02-22 | 努比亚技术有限公司 | Redis cluster information monitoring device and method |
CN106412029A (en) * | 2016-09-13 | 2017-02-15 | 乐视控股(北京)有限公司 | Configuration information receiving method and device, and configuration information transmitting method and device |
CN106572173A (en) * | 2016-11-07 | 2017-04-19 | 网易无尾熊(杭州)科技有限公司 | Method, apparatus and system for updating configuration information |
CN106502915A (en) * | 2016-12-05 | 2017-03-15 | 广州唯品会信息科技有限公司 | Method for testing software and system |
CN106656219A (en) * | 2016-12-16 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Parameter injection method and equipment |
CN108984544A (en) * | 2017-05-31 | 2018-12-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of distributed system modification configuration information |
CN108984544B (en) * | 2017-05-31 | 2021-04-30 | 北京京东尚科信息技术有限公司 | Method and device for modifying configuration information of distributed system |
CN107391276B (en) * | 2017-07-05 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Distributed monitor method, interception control device and system |
CN107391276A (en) * | 2017-07-05 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Distributed monitor method, interception control device and system |
CN107947960A (en) * | 2017-10-13 | 2018-04-20 | 用友网络科技股份有限公司 | The method for pushing and system of configuration information, the method for reseptance and system of configuration information |
CN107769970A (en) * | 2017-10-20 | 2018-03-06 | 北京集奥聚合科技有限公司 | The processing method and system of configuration information in a kind of distributed system |
CN107733715A (en) * | 2017-10-26 | 2018-02-23 | 苏州蜗牛数字科技股份有限公司 | The management system and method for configuration information in a kind of distributed system |
CN108170763A (en) * | 2017-12-25 | 2018-06-15 | 江南大学 | A kind of Distributed Calculation common recognition algorithm of low latency |
CN108170763B (en) * | 2017-12-25 | 2021-07-27 | 江南大学 | Low-delay distributed computing consensus algorithm |
CN110580767A (en) * | 2018-06-11 | 2019-12-17 | 山东新北洋信息技术股份有限公司 | configuration management method and device for vending machine |
CN109087107B (en) * | 2018-07-04 | 2020-11-17 | 恒生电子股份有限公司 | Real-time monitoring method and system based on distributed memory database and electronic equipment |
CN109087107A (en) * | 2018-07-04 | 2018-12-25 | 恒生电子股份有限公司 | Method for real-time monitoring, system and electronic equipment based on distributed memory database |
CN109086390A (en) * | 2018-07-27 | 2018-12-25 | 北京中关村科金技术有限公司 | A kind of realization data consistency method for real-time monitoring |
CN109240608B (en) * | 2018-08-22 | 2021-08-31 | 郑州云海信息技术有限公司 | Configuration information synchronization method and device |
CN109240608A (en) * | 2018-08-22 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of configuration information synchronous method and device |
CN109150662B (en) * | 2018-08-30 | 2020-08-21 | 百度在线网络技术(北京)有限公司 | Message transmission method, distributed system, device, medium, and unmanned vehicle |
CN109150662A (en) * | 2018-08-30 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | Method for message transmission, distributed system, equipment, medium and unmanned vehicle |
CN109582381A (en) * | 2018-10-12 | 2019-04-05 | 中国建设银行股份有限公司 | File type configuration information synchronization system, method and storage medium |
WO2020211361A1 (en) * | 2019-04-16 | 2020-10-22 | 平安科技(深圳)有限公司 | Method for preventing loss of node change notification, device and computer apparatus |
CN110493326B (en) * | 2019-08-02 | 2021-11-12 | 泰华智慧产业集团股份有限公司 | Zookeeper-based cluster configuration file management system and method |
CN110493326A (en) * | 2019-08-02 | 2019-11-22 | 泰华智慧产业集团股份有限公司 | System and method based on zookeeper management cluster configuration file |
WO2021072967A1 (en) * | 2019-10-17 | 2021-04-22 | 厦门网宿有限公司 | Method and device for managing configuration information |
CN110798349B (en) * | 2019-10-28 | 2023-02-28 | 国家计算机网络与信息安全管理中心 | Configuration distribution and receiving method, equipment and computer readable storage medium |
CN110798349A (en) * | 2019-10-28 | 2020-02-14 | 国家计算机网络与信息安全管理中心 | Configuration distribution and receiving method, equipment and computer readable storage medium |
CN111193789A (en) * | 2019-12-25 | 2020-05-22 | 微民保险代理有限公司 | Subscription information pushing method and device, computer equipment and readable storage medium |
CN111163159A (en) * | 2019-12-27 | 2020-05-15 | 中国平安人寿保险股份有限公司 | Message subscription method, device, server and computer readable storage medium |
CN111163159B (en) * | 2019-12-27 | 2023-07-14 | 中国平安人寿保险股份有限公司 | Message subscription method, device, server and computer readable storage medium |
CN111224826B (en) * | 2020-01-07 | 2023-04-28 | 深圳市网心科技有限公司 | Configuration updating method, device, system and medium based on distributed system |
CN111224826A (en) * | 2020-01-07 | 2020-06-02 | 深圳市网心科技有限公司 | Configuration updating method, device, system and medium based on distributed system |
CN114982204A (en) * | 2020-01-22 | 2022-08-30 | 发那科株式会社 | Control device for industrial machine |
CN111371898A (en) * | 2020-03-13 | 2020-07-03 | 北京锐安科技有限公司 | Message monitoring method, device, equipment and storage medium |
CN111371898B (en) * | 2020-03-13 | 2022-07-08 | 北京锐安科技有限公司 | Message monitoring method, device, equipment and storage medium |
CN111857800A (en) * | 2020-07-01 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Dynamic component configuration method and device, electronic equipment and storage medium |
CN111884844A (en) * | 2020-07-20 | 2020-11-03 | 中国建设银行股份有限公司 | Message service access method and device based on zookeeper |
CN113805910A (en) * | 2020-11-26 | 2021-12-17 | 北京沃东天骏信息技术有限公司 | Method and system for sharing data in application |
CN113805910B (en) * | 2020-11-26 | 2024-05-17 | 北京沃东天骏信息技术有限公司 | Method and system for sharing data in application |
CN112532450A (en) * | 2020-11-30 | 2021-03-19 | 安徽中科美络信息技术有限公司 | Dynamic updating method and system for data stream distribution process configuration |
CN112822036A (en) * | 2020-12-28 | 2021-05-18 | 苏宁消费金融有限公司 | Configuration data synchronization method of distributed system |
CN116126552A (en) * | 2022-12-26 | 2023-05-16 | 国家气象信息中心(中国气象局气象数据中心) | Mass meteorological observation data processing method and device based on Storm |
Also Published As
Publication number | Publication date |
---|---|
CN104092718B (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104092718A (en) | Distributed system and configuration information updating method in distributed system | |
US9424149B2 (en) | Systems and methods for fault tolerant communications | |
EP2354875A2 (en) | Peer-to-Peer exchange of data resources in a control system | |
CN110795503A (en) | Multi-cluster data synchronization method and related device of distributed storage system | |
CN106878363B (en) | Information processing method, device and system | |
CN109799948B (en) | Data storage method and device | |
CN107517227B (en) | Session implementation method and device for distributed consistency system | |
CN113742031A (en) | Node state information acquisition method and device, electronic equipment and readable storage medium | |
US11223522B1 (en) | Context-based intelligent re-initiation of microservices | |
CN104850416A (en) | Upgrading system, method and device and cloud computing node | |
CN109522043B (en) | Method and device for managing configuration data and storage medium | |
CN104252397A (en) | Realizing method for supporting automatic backup of cloud platform user file | |
EP3457668B1 (en) | Clustering in unified communication and collaboration services | |
CN111400041A (en) | Server configuration file management method and device and computer readable storage medium | |
CN102984174B (en) | Reliability guarantee method and system in a kind of distribution subscription system | |
WO2017071384A1 (en) | Message processing method and apparatus | |
US20220066436A1 (en) | Industrial field device replacement system | |
CN103297477B (en) | A kind of data acquisition reporting system and data processing method and proxy server | |
CN109947599B (en) | Multi-cluster management method and device and intra-cluster management method and device | |
CN110233791B (en) | Data deduplication method and device | |
CN111162938A (en) | Data processing system and method | |
CN114090687A (en) | Data synchronization method and device | |
CN114610798A (en) | Resource allocation management method, system, device, storage medium and electronic equipment | |
CN111064618A (en) | Method, device, equipment and storage medium for realizing high availability of server | |
CN104796228B (en) | A kind of method, apparatus and system of information transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |