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

Automatic upgrading method and device for distributed system

A distributed system, automatic upgrade technology, applied in the field of distributed systems, can solve problems such as system economic losses

Active Publication Date: 2019-09-06
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF12 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once an operation error occurs, it may bring great economic losses to the system. Therefore, the purely manual operation of the distributed system upgrade has a greater risk

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
  • Automatic upgrading method and device for distributed system
  • Automatic upgrading method and device for distributed system
  • Automatic upgrading method and device for distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] For an automatic upgrade method of a distributed system provided by an embodiment of the present invention, see e.g. figure 1 The flow chart of the automatic upgrading method of the distributed system shown, the above-mentioned distributed system includes a service node and a central node; the host computer of the service node communicates with the controller of the central node and a plurality of devices in the service node respectively. The host execution of the node, including:

[0029]S102: Obtain the new version installation package in the controller, verify the new version installation package, and send the new version installation package to each device of the service node, so that each device of the service node installs the new version The package is verified.

[0030] The host of the service node obtains the new version installation package in the central node controller according to the preset interval, and verifies the integrity and validity of the obtained...

specific Embodiment approach

[0045] In order to enable users to understand the automatic upgrade process of the distributed system in real time, this embodiment provides a specific implementation method for feeding back the automatic upgrade process to the user: obtain the verification result of each device in the service node, and send the host The verification results of each device and the verification results of each device are sent to the controller, so that the controller can feed back the verification results to the user terminal. After each device verifies the new version of the installation package, the host of the business node obtains the verification result of each device, and then sends the verification result of each device and the verification result of the host to the new version of the installation package to the center The controller of the node and the controller of the central node will feed back the above verification results to the user through the user terminal, so that the user can ...

Embodiment 2

[0050] An embodiment of the present invention provides an automatic upgrade device for a distributed system, such as Figure 4 The schematic diagram of the automatic upgrade device structure of the distributed system is shown. The distributed system includes a service node and a central node; the host of the service node communicates with the controller of the central node and multiple devices in the service node, and the device is set at the service node hosts, including:

[0051] The verification module 41 is used to obtain the new version installation package in the controller, verify the new version installation package, and send the new version installation package to each device of the service node, so that each device of the service node Check the new version installation package respectively.

[0052] The traffic switching module 42 is used to switch the business flow of the host to the node standby machine and stop the current service of the host when the verificatio...

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 provides an automatic upgrading method and device for a distributed system in the technical field of distributed systems. The method is executed by a host of a service node, and comprises the following steps: obtaining a new version installation package in a controller, verifying the new version installation package, and respectively sending the new version installation package to each device of the service node, so that each device of the service node respectively verifies the new version installation package; if the verification result obtained by verifying the new version installation package by the host and each device is qualified, switching the business flow of the host to the node standby machine, and stopping the current service of the host; performing backup operation and automatic upgrading operation on the current system version of the host of the service node in sequence; and if the automatic upgrading operation is successful, switching the service flow from the node standby machine to the host of the service node, and controlling each device in the service node to complete the automatic upgrading operation. The risk caused by manual upgrading operation ofthe distributed system is reduced.

Description

technical field [0001] The invention relates to the technical field of distributed systems, in particular to an automatic upgrading method and device for a distributed system. Background technique [0002] With the development of the mobile Internet, many large systems and applications are deployed in a distributed manner. The larger the distributed system, the more machines need to be maintained and managed, especially during version upgrade iterations and patch upgrades, which is a very difficult task for operation and maintenance personnel. Once an operation error occurs, it may bring great economic losses to the system. Therefore, a purely manual operation of the distributed system upgrade has a greater risk. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide an automatic upgrade method and device for a distributed system, which can realize the automatic upgrade of the distributed system and reduce the risk caused ...

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
IPC IPC(8): G06F8/61G06F8/65G06F8/71H04L29/08
CPCG06F8/65G06F8/61G06F8/71H04L67/1097Y02P90/02
Inventor 徐维范渊杨勃
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
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