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

Automatic gray release method and device, computer system and storage medium

A gray-scale publishing and gray-scale technology, which is applied in computing, computing models, transmission systems, etc., can solve problems such as parameter configuration errors, strategy configuration errors, and production failures, and achieve the effects of reducing risks, preventing errors, and saving time

Pending Publication Date: 2019-05-28
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above operation process, operation and maintenance engineers need to manually modify the strategy and related parameters. Since manual mechanical operations are prone to errors, it is very likely that there will be production failures caused by parameter configuration errors or strategy configuration errors.

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 gray release method and device, computer system and storage medium
  • Automatic gray release method and device, computer system and storage medium
  • Automatic gray release method and device, computer system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] refer to figure 1 , showing the detailed steps of the automatic grayscale publishing method of the present invention, wherein, figure 1 The steps shown in are executed sequentially from top to bottom, as follows:

[0048] S1. Obtain the service name, IP address and initial version number of all services that are currently online, and provide the service name, IP address and initial version number of each service to the service registration center for registration. When the registration is successful, the service registration center will return the registration success message. In the present invention, a service refers to software that performs a specific function.

[0049] S2. After receiving the returned successful registration information, receive a grayscale release instruction and a grayscale release process input through the grayscale controller. In this embodiment, the gray-scale release instruction is used to notify online which services are to-be-released se...

Embodiment 2

[0088] refer to figure 2 , shows an automatic grayscale release device 10 of the present invention, the device includes:

[0089] The service providing module 11 is used to obtain the service name, IP address and corresponding version number of each service and provide the service name, IP address and version number of each service to the service registration center for registration.

[0090] The receiving module 12 is configured to receive the gray-scale issuing instruction and the gray-scale issuing process sent by the peripheral gray-scale controller. In this embodiment, the gray-scale release instruction is used to notify online which services are to-be-released services that need to be gray-scale-released, and provide the initial version number and new version number corresponding to the to-be-released services. The gray scale release process is configured to include two phases, the first phase is the release phase, the second phase is the test phase, and the test phase...

Embodiment 3

[0104] This embodiment also provides a computer system, which includes a plurality of computer devices 20, and the components of the automatic gray scale distribution device 10 in the second embodiment can be distributed in different computer devices 20, and the computer devices 20 can be executable programs Smartphones, tablet computers, laptops, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 4 shown. It should be pointed out that, Figure 4 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0105] In th...

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 gray release method and device, a computer system and a storage medium, and the method comprises the following steps: obtaining service names, IP addresses and initial version numbers corresponding to all online services, and providing the service names, the IP addresses and the initial version numbers to a service registration center for registration; receivinga gray release instruction and a gray release process; wherein the gray release instruction informs which services on line are to-be-released services needing gray release and provides an initial version number and a new version number corresponding to the to-be-released services, the gray release process is configured to comprise two stages, the first stage is a release stage, and the second stage is a test stage; Executing the release stage and the test stage in sequence according to the gray release process; And S4, notifying that the initial version instance of the to-be-published serviceis offline, and ending gray publishing. According to the invention, automatic gray release can be realized, and the risk of manual operation is reduced.

Description

technical field [0001] The present invention requests the technical field of gray-scale release, and especially requests an automatic gray-scale release method, device, computer system and storage medium. Background technique [0002] Grayscale release refers to a release method that can smoothly transition during the software version release process. Before performing grayscale publishing, you first need to configure the grayscale policy. In actual scenarios, there are mainly two types of grayscale strategies, namely the canary strategy and the traffic strategy. Among them, the canary strategy refers to setting a special grayscale flag at a certain position in the http request, for example, setting the flag gray in the header of the http request and setting it to 1, when the grayscale module reads the http request, First judge whether the request contains the gray flag, if so, continue to judge whether the flag is 1, if so, identify the request as a gray request and forwa...

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/71H04L29/08H04L29/12G06N3/00
Inventor 秦岭周晶
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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