Unlock instant, AI-driven research and patent intelligence for your innovation.

Gray release method and device

A grayscale publishing, grayscale technology, applied in version control, instruments, software maintenance/management, etc., can solve problems such as complex grayscale publishing methods, and achieve the effect of reducing pressure, reducing complexity, and improving execution efficiency

Pending Publication Date: 2021-07-16
杭州顶象科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of this, the object of the present invention is to provide a gray scale release method and device to alleviate the relatively complicated technical problems of the gray scale release method in the prior art

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 method and device
  • Gray release method and device
  • Gray release method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, an embodiment of a grayscale release method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0031] figure 1 is a flow chart of a grayscale release method according to an embodiment of the present invention, such as figure 1 As shown, the method is applied to the client, including the following steps:

[0032] Step S102, obtaining the version information of the grayscale file sent by the server, wherein the version information includes: remote address, hash value, and the grayscale file includes: the grayscale file of the current version and the grayscale file of the historical version;

[0033] It shoul...

Embodiment 2

[0054] The embodiment of the present invention also provides a grayscale distribution device, which is used to implement the grayscale distribution method provided in the above content of the embodiment of the present invention, the following is the specific details of the grayscale distribution device provided by the embodiment of the present invention introduce.

[0055] Such as image 3 as shown, image 3 It is a schematic diagram of the above-mentioned grayscale distribution device, which is applied to a client, and includes: an acquisition unit 10 , a judging unit 20 and an execution unit 30 .

[0056] The acquiring unit 10 is configured to acquire the version information of the grayscale file sent by the server, wherein the version information includes: a remote address, a hash value, and the grayscale file includes: the current version of the grayscale file and the historical version grayscale file;

[0057] The judging unit 20 is configured to judge whether the cach...

Embodiment 3

[0065] An embodiment of the present invention also provides an electronic device, including a memory and a processor, the memory is used to store a program that supports the processor to execute the method described in the first embodiment above, and the processor is configured to execute the program stored in memory.

[0066] see Figure 4 , the embodiment of the present invention also provides an electronic device 100, including: a processor 50, a memory 51, a bus 52 and a communication interface 53, the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; Executable modules, such as computer programs, stored in the execution memory 51 .

[0067] Wherein, the memory 51 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other net...

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 a gray release method and device, and relates to the technical field of computer software testing. The method comprises the steps: obtaining the version information of a gray file sent by a server, the version information comprising a remote address and a hash value, and the gray file comprising a gray file of a current version and a gray file of a historical version; the cache recognition information in the client is judged to meet a preset condition, and the cache recognition information comprises at least one of a time zone where a user of the client is located, version information of the client, a platform corresponding to the client, geographic position information corresponding to the client and a language type used by the client; If the cache recognition information in the client meets the preset condition, caching and loading the gray file of the current version based on the version information of the gray file of the current version, thereby solving the technical problem that a gray release method in the prior art is relatively complex.

Description

technical field [0001] The present invention relates to the technical field of computer software testing, in particular to a method and device for gray-scale distribution. Background technique [0002] Grayscale publishing refers to a publishing method that can smoothly transition between black and white. A / B test is a grayscale release method, allowing some users to continue using A and some users to start using B. If users have no objection to B, then gradually expand the scope and migrate all users to B. Grayscale publishing can ensure the stability of the overall system, and problems can be found and adjusted at the initial grayscale to ensure their impact. [0003] At present, the grayscale publishing methods of the website are all based on the server, and there are the following methods: [0004] When the user visits the website, read the grayscale version of the user from the cookie, and use HTTP redirection technology to redirect the client to a different version o...

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): G06F11/36G06F8/71
CPCG06F11/3688G06F8/71
Inventor 肖东爽徐辉陈树华
Owner 杭州顶象科技有限公司