Method and system for distribution of configuration information
A technology for configuring information and publishing modules, which is applied in the field of network and communication, and can solve problems such as inconsistent configuration information of configuration servers and failure to publish new configuration information.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Figure 5A Schematic diagram of the structure of the distribution system of configuration information in this embodiment, such as Figure 5A As shown, in this embodiment, the configuration server 2 mainly includes: a determination module 20 and a first publishing module 22 ; and the bootstrap node 4 mainly includes: a receiving module 40 and a second publishing module 42 . The following describes the configuration server 2 and the bootstrap node 4 in this embodiment respectively.
[0060] The configuration server 2 includes: a determination module 20, configured to determine that the configuration information of the peer-to-peer network is modified, triggering the first publishing module 22, in a specific application, the configuration information of the peer-to-peer network is provided by the configuration server, therefore, the determination module 20 That is, it is judged whether the configuration information on the configuration server has been modified, and if so,...
Embodiment 2
[0067] Figure 6 It is a schematic structural diagram of the distribution system of the configuration information in this embodiment, such as Figure 6 As shown, in this embodiment, the bootstrap node 4 includes: a first sending module 41, a first receiving module 43, a judging module 45 and a publishing module 47; and the configuration server 2 includes: a second receiving module 21 and a second sending module twenty three.
[0068] The bootstrap node 4 and configuration server 2 in this embodiment will be described respectively below.
[0069] The bootstrap node 4 includes: a first sending module 41 , a first receiving module 43 , a judging module 45 and a publishing module 47 . Wherein, the first sending module 41 is configured to periodically send a request for obtaining configuration information to the configuration server 2 according to a preset period. Duration, use the timer to calculate the cycle, whenever the timer is overtime, trigger the first sending module 41,...
Embodiment 3
[0093] In this embodiment, the first method for publishing new configuration information by the configuration server is described. In this embodiment, after the configuration on the configuration server is modified, it needs to be released to some peer nodes (guide nodes), specifically: after the configuration information on the configuration server is modified, notify the guide node D that the configuration has been modified, and then guide the node D gets the new configuration from the configuration server.
[0094] Figure 9 It is a flow chart of the configuration server sending new configuration information to the bootstrap node in this embodiment, such as Figure 9 As shown, it mainly includes the following steps:
[0095] Step 901, modify the configuration information in the configuration file on the configuration server;
[0096] In a specific application, the configuration is an XML file. When modifying, you need to add one to the configuration serial number. If the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 