Gray release control method, device and system, electronic equipment and storage medium

A gray-scale control and gray-scale release technology, applied in the Internet field, can solve the problems that affect the flexible application of gray-scale release, poor gray-scale logic support, etc.

Active Publication Date: 2019-05-21
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the embodiment of the present invention is to overcome the grayscale publishing in the prior art that can only support grayscale according to a small number of types of inf

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
  • Gray release control method, device and system, electronic equipment and storage medium
  • Gray release control method, device and system, electronic equipment and storage medium
  • Gray release control method, device and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0110] figure 1 A method for controlling web service gray-scale release in this embodiment is shown. The web service has an original version and at least one alternate version. The method for controlling web service gray release includes the following steps:

[0111] Step 11: Receive the access request from the client. The access request is used to request access to the Web service.

[0112] Step 12: Obtain the grayscale policy matched by the Web service. The grayscale strategy includes grayscale control logic. The grayscale control logic is used to configure at least one alternative version of the specified access that the Web service distinguishes according to preset information.

[0113] Step 13: According to the grayscale control logic, judge whether there is an alternative version corresponding to the value of the client on the preset information, if yes, go to step 14, if not, go to step 15 .

[0114] Step 14: Forward the access request to the corresponding altern...

Embodiment 2

[0119] The Web service gray-scale publishing control method provided in this embodiment is further refined on the basis of Embodiment 1, and is mainly reflected in:

[0120] The grayscale strategy of this embodiment includes grayscale control logic and verification logic. Specifically, the grayscale strategy can be configured with multiple configuration items, which is beneficial to realize more complex grayscale control and version verification. Among them, the configuration items used to realize the gray scale control logic may include but not limited to configuration:

[0121] Key value (KEY, such as KEY=request URL), used for grayscale policy matching;

[0122] URL of said original version (old_version_url);

[0123] At least one alternative version (version, such as version=versionN, where N is a positive integer) specified for access by the Web service;

[0124]The URL of each alternative version (versionN_url, can be a relative path such as / tem / v1, or an absolute pa...

Embodiment 3

[0149] image 3 A grayscale control method of this embodiment is shown. The grayscale control method includes:

[0150] Step 31: Configure the grayscale policy.

[0151] In this embodiment, the grayscale strategy includes grayscale control logic. The grayscale control logic is used to configure at least one alternative version of the specified access that the Web service distinguishes according to preset information. The grayscale control logic of this embodiment indicates that the client has different values ​​in the preset information, and the alternative versions of the web services designated for access are different.

[0152] In this embodiment, the preset information includes at least one of IP, uid, User-Agent, and third-party service caller. Compared with traditional grayscale publishing, more grayscale information can be supported, so that the entire grayscale Degree releases are more flexible.

[0153] Specifically, the grayscale strategy can be configured with ...

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 gray release control method, device and system, electronic equipment and a storage medium. Wherein the Web service has an original version and at least one alternative version, and the gray release control method comprises the following steps: receiving an access request of a client, the access request being used for requesting to access the Web service; A gray scale strategy matched with the Web service is obtained, the gray scale strategy comprises gray scale control logic, and the gray scale control logic is used for configuring at least one alternative version ofdesignated access distinguished by the Web service according to preset information; Judging whether an alternative version corresponding to the value of the client on the preset information exists ornot according to the gray scale control logic; If yes, forwarding the access request to the corresponding alternative version; And if not, forwarding the access request to the original version. According to the invention, gray release of multiple information and multiple alternative versions is supported, and complex gray logic is supported.

Description

technical field [0001] The present invention relates to the field of the Internet, and in particular to a method, device, system, electronic equipment and storage medium for controlling gray scale publishing. Background technique [0002] For website applications, it is usually required to provide 7*24 hours of uninterrupted service, even if the service is upgraded, it will not affect the normal access of users to the website. Under normal circumstances, it will be released through grayscale, that is, the new version will be released on one of the servers first, to see if there is any abnormality reported by the server, visit the website to see if the service is normal, and after confirming that there is no problem, release half of the servers, and finally release the full amount after confirming that there is no problem . [0003] The current grayscale release is generally completed through an automatic deployment system. Generally, grayscale release can only support grays...

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): H04L12/24H04L29/08G06F8/71
Inventor 张开涛王杰颖邹子靖
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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