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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com