Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed system node configuration updating method, application node and control node

A distributed system and control node technology, which is applied in the computer field, can solve the problems that the timeliness of node configuration updates cannot be guaranteed, and the system complexity increases, so as to simplify the system complexity and development difficulty, simplify operations, and improve timeliness Effect

Pending Publication Date: 2020-12-04
BANK OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method for updating node configuration in a distributed system, which is used to solve the problem that the current system complexity is increased in order to realize node configuration update, and the timeliness of node configuration update cannot be guaranteed. This method is applied to distributed An application node in the distributed system, the application node is a node other than the control node in the distributed system, and the method includes:

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 system node configuration updating method, application node and control node
  • Distributed system node configuration updating method, application node and control node
  • Distributed system node configuration updating method, application node and control node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0037] An embodiment of the present invention provides a method for updating node configuration in a distributed system, which is applied to application nodes in the distributed system. There is no distinction between nodes in a distributed system. In the embodiment of the present invention, the node that receives the configuration information input by the user is used as the control node, and the nodes other than the control node are used as application nodes. The method for updating node configuration in a distributed system provided by the embodiment of the present...

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 system node configuration updating method, an application node and a control node, and the method comprises the steps: reading configuration information from a database when a configuration updating notification broadcasted by the control node through a dubbo service is received, and starting timing; if the configuration information is successfully read, updating the configuration information to a local cache; if the configuration information fails to be read or the configuration information fails to be updated to the local cache, judging whether the operation time from the timing starting moment to the current moment exceeds a time threshold value or not; and if the time exceeds the time threshold, triggering a communication timeout mechanism with thecontrol node, so that the control node confirms that the application node fails to update the configuration according to the communication timeout mechanism. According to the method, the problems that the system complexity is improved and the timeliness of node configuration updating cannot be guaranteed in order to realize node configuration updating at present can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a distributed system update node configuration method, an application node and a control node. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] For a distributed architecture system, the same application may be deployed on multiple nodes, and each node can process business requests according to the same business logic. If it is necessary to modify the system parameters cached in the memory of each application node, the system parameters in the memory of each node in the distributed architecture system need to be refreshed synchronously to ensure that when a new business request comes in, no matter which node is routed for processing, the obtained The processing results are the s...

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/71G06F9/54
CPCG06F8/71G06F9/542
Inventor 牛安宇刘朝晨郝炎袁琳刘湘李慧秦荣倩
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products