Application upgrading method and equipment

A technology for application upgrades and equipment, which is applied in the field of upgrades and can solve problems such as inability to provide services continuously, uninterrupted, and interrupted

Pending Publication Date: 2020-06-23
CHINA MOBILE GRP BEIJING +1
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this upgrade method can only be used to upgrade the application code. If it is an upgrade of the configuration file or a modification of the cache in the application startup phase, the application instance needs to be restarted, which will cause the business to fail to provide services continuously during the upgrade and update process. cause interruption
[0004] It can be seen that the current application upgrade cannot guarantee that the business can continue to provide services without interruption during the upgrade and update process

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
  • Application upgrading method and equipment
  • Application upgrading method and equipment
  • Application upgrading method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]In order to make the purpose, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0058] In the prior art, the upgraded file is stored in a path accessible to the application, and loaded through a recording tool such as hotswap, so as to realize the application upgrade. However, this upgrade method can only be used to upgrade the application code. If it is an upgrade of the configuration file or a modification of the cache in the application startup phase, the application instance needs to be restarted, which will cause the business to fail to provide services continuously during the upgrade and update process. cause interruption.

[0059] In view of this, an embodiment of the present invention provides an application upgrade method. In this method, the image p...

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 an application upgrading method and application upgrading equipment, which are used for ensuring that services can be continuously provided without interruption in upgrading and updating processes. The application upgrading method comprises the steps of obtaining a mirror image package for upgrading a first application when an upgrading instruction for the first applicationis received; wherein the mirror image package comprises an upgrading file and / or a configuration file of the first application; distributing the mirror image packet to at least one cluster target node; and selecting a first cluster target node from the at least one cluster target node, and creating and starting at least one new container instance according to the mirror image packet based on thefirst cluster target node, the at least one new container instance being used for upgrading a first application.

Description

technical field [0001] The invention relates to the technical field of upgrading, in particular to an application upgrading method and equipment. Background technique [0002] Server clusters make extensive use of Docker containers to run applications and provide services. The application scheduling server will deploy the application to each cluster node of the server cluster. After a server cluster using Docker containers runs the application for a long time, the application may be upgraded during this period. [0003] In order to ensure that during the application upgrade process, the business can continue to provide services without interruption during the upgrade and update process. In the prior art, the upgraded file is stored in a path accessible to the application, and loaded through a recording tool such as hotswap, so as to realize the application upgrade. However, this upgrade method can only be used to upgrade the application code. If it is an upgrade of the co...

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/65
CPCG06F8/65
Inventor 王蕊康姝婷姚勇魏嘉宁张雨晴王衎宋哲杨晶
Owner CHINA MOBILE GRP BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products