Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed configuration updating management method and system and medium

A configuration update and distributed technology, applied in software maintenance/management, software deployment, version control, etc., can solve problems such as data disorder and frequent access to cache servers, so as to improve work efficiency, speed up configuration update speed, and avoid online The effect of the accident

Pending Publication Date: 2021-12-31
苏州九宫数字科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention mainly solves the problem that when the configuration information is changed, manual operation is required to update the synchronous configuration information in the existing technical scheme, data disorder is easy to occur, and the caching server is frequently accessed when the caching technology is used.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed configuration updating management method and system and medium
  • Distributed configuration updating management method and system and medium
  • Distributed configuration updating management method and system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] The embodiment of the present invention provides a distributed configuration update management method, please refer to Figure 1 to Figure 3 , including the following steps:

[0065] S100, initialization:

[0066] S101. Build a cache service:

[0067] Build a cache environment and build a cache service, which is used to publish configuration change messages.

[0068] In order to explain the present invention more clearly, redis is used here to build the cache service, so it is necessary to build the redis environment first, and build the redis cache service; it should be noted that the choice of redis to build the cache service here is only to make a summary of the present invention Examples are used to explain and illustrate, but the protection scope of the present invention cannot be limited accordingly.

[0069] S102. Build a listening thread:

[0070] When the server is started and initialized, a listening thread that can monitor the message channel of the cache...

Embodiment 2

[0094] The embodiment of the present invention provides a distributed configuration update management system, please refer to Figure 4 to Figure 6 , including: initialization module, configuration change module and configuration update module;

[0095] Initialize the module:

[0096] The initialization module is used to build the cache service and listening thread, and perform the message monitoring operation; the initialization module includes building the cache service unit, building the listening thread unit and starting the listening unit;

[0097] Build the cache service unit:

[0098] Build a cache service unit to build a cache service environment and build a cache service;

[0099] Specifically, the cache service unit is constructed to build a cache environment, and a cache service is constructed, and the cache service is used to publish configuration change messages.

[0100] In order to explain the present invention more clearly, redis is used here to build the ca...

Embodiment 3

[0133] Embodiment 3 has a computer-readable storage medium, and the storage medium is used to store computer software instructions used to implement the distributed configuration update management method described in Embodiment 1 above, which includes instructions for distributed configuration update The program set by the management method; specifically, the executable program can be built into the distributed configuration update management system described in Embodiment 2, so that the distributed configuration update management system can execute the built-in executable The program implements the distributed configuration update management method of the first embodiment.

[0134] The serial numbers of the embodiments disclosed in the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a distributed configuration update management method and system and a medium, and the method comprises the following steps: constructing a cache service and a monitoring thread, and executing a message monitoring operation; acquiring configuration information, executing configuration information updating operation to acquire updated configuration information; executing a message publishing operation through the cache service; acquiring a monitoring result of the message monitoring operation; executing configuration information acquisition operation according to the monitoring result and the updated configuration information; by means of the mode, related information of the server does not need to be known, and when the server starts initialization, the monitoring thread is constructed to monitor the cache service, the configuration change information is obtained in real time, and the configuration information on the server is updated in real time; each server synchronizes configuration information, so that online accidents caused by different configurations are avoided; and each server can read the updated configuration information to the cache, so that the configuration updating speed is accelerated, and the working efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of distributed configuration management, in particular to a method, system and medium for distributed configuration update management. Background technique [0002] With the popularization of the Internet and the increasing number of Internet users, multi-server is essential for the server. Usually we store the configuration in the database, and each server reads the configuration from the database into memory. However, after the configuration is updated, how to quickly and efficiently synchronize it to each server is a problem worth considering. [0003] The following problems existing in the prior art scheme: [0004] One is to configure the address of each server in the management system, and manually refresh the memory configuration of each server after the configuration is updated. The labor cost of this solution is high, and if the server address is configured incorrectly, it will cause data...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71
Inventor 乔韦龙
Owner 苏州九宫数字科技有限公司