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

Smooth release upgrading method and device, computer system and readable storage medium

A computer program and smooth technology, applied in transmission systems, digital transmission systems, software deployment, etc., can solve problems such as the inability of request traffic to return correct values, unstable operation of the microservice architecture, etc., to achieve immediacy and avoid running stable effect

Active Publication Date: 2020-08-25
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a smooth release upgrade method, device, computer system and readable storage medium, which are used to solve the existing problem in the prior art when there is still traffic in the instance, which will not only make the requested traffic unable to return to the correct The value of , will also make the microservice architecture run unstable due to instance upgrades

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
  • Smooth release upgrading method and device, computer system and readable storage medium
  • Smooth release upgrading method and device, computer system and readable storage medium
  • Smooth release upgrading method and device, computer system and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] see figure 1 , a method for smooth release and upgrade based on cloud technology in this embodiment, including:

[0050] S101: Receive upgrade data, identify an instance to be upgraded according to the upgrade data, and stop routing traffic to the instance to be upgraded;

[0051] S102: After a preset delay period, detect whether the instance to be upgraded has traffic; if not, execute the step S103 to upgrade the instance to be upgraded; if so, send abnormal information to the control terminal;

[0052] S103: Upgrade the instance to be upgraded by using the upgrade data to obtain an upgraded instance;

[0053] S104: Start the upgraded instance to receive traffic.

[0054] This application detects the traffic of the instance to be upgraded to ensure that there is no traffic in the instance to be upgraded before upgrading it, which ensures the stability of the microservice architecture and provides a basis for the smooth upgrade of the instance; self-stopping to the in...

Embodiment 2

[0082] see Figure 5 , a smooth release upgrade device A1 based on cloud technology in this embodiment, including:

[0083] The identification stop module 11 is used to receive the upgrade data and identify the instance to be upgraded according to the upgrade data, and stop routing traffic to the instance to be upgraded;

[0084] The traffic monitoring module 12 is used to detect whether the instance to be upgraded has traffic after a preset delay period; if not, upgrade the instance to be upgraded; if so, send abnormal information to the control terminal;

[0085] An upgrade module 13, configured to upgrade the instance to be upgraded through the upgrade data to obtain an upgrade instance;

[0086] A starting module 14, configured to start the upgrade instance to receive traffic.

[0087] This technical solution is based on the cloud transmission field of cloud technology, by receiving the upgrade data and identifying the instance to be upgraded according to the upgrade dat...

Embodiment 3

[0089] see Figure 6 , a method for smooth release and upgrade based on cloud technology in this embodiment, including:

[0090] S201: The publishing system receives the upgrade data sent by the control terminal, and identifies the ID of the instance to be upgraded in the gateway according to the upgrade data;

[0091] S203: The gateway identifies the instance to be upgraded according to the ID in the release preparation information, and sends the release preparation information with the ID of the instance to be upgraded to the load balancer;

[0092] S204: The load balancer stops routing traffic to the instance to be upgraded according to the ready-to-publish information;

[0093] S206: The publishing system upgrades the instance to be upgraded so that it becomes an upgraded instance.

[0094] In this step, the upgrade data includes upgrade information for upgrading the instance in the gateway and the ID of the instance; identify the instance that needs to be upgraded accor...

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 relates to the field of block chains and the field of big data processing, and discloses a smooth release upgrading method and device, a computer system and a readable storage medium, and the method comprises the steps: receiving upgrading data, recognizing a to-be-upgraded instance according to the upgrading data, and stopping the routing of flow to the to-be-upgraded instance; after a preset delay period, detecting whether the to-be-upgraded instance has flow or not; if not, upgrading the to-be-upgraded instance; if yes, sending abnormal information to the control terminal; upgrading the to-be-upgraded instance through upgrading data to obtain an upgraded instance; and starting the upgraded instance to enable the upgrading instance to receive flow. According to the method,the request flow sent by the user side can return a correct value, and the situation that the micro-service architecture runs unstably due to instance upgrading is avoided; and meanwhile, the real-time upgrading of the instance is also realized, the upgrading opportunity does not need to be waited, and the instantaneity of instance upgrading is realized.

Description

technical field [0001] The invention relates to the field of system control, in particular to a smooth release upgrade method, device, computer system and readable storage medium. Background technique [0002] As the unified traffic entrance of the microservice architecture, the service gateway provides entrance services for clients, as well as unified technical upgrade coordination. Improper release strategies of the gateway will definitely affect the calls of the clients, and abnormal situations such as call interruptions will occur. Affects the user experience; usually, the upgrade method of the gateway instance is mainly to deploy an openresty in front of the gateway for A / B environment switching release, and cooperate with the gray scale release to realize the instance upgrade. [0003] However, if you only upgrade the components in the gateway instance without grayscale release, using openresty will be heavy, and sometimes double the number of machines is required, res...

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): H04L12/24H04L12/803G06F8/65H04L12/66
CPCH04L41/082H04L47/125G06F8/65H04L12/66
Inventor 曹广源
Owner CHINA PING AN PROPERTY INSURANCE 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