US 12,236,233 B2
Method and system for automatically and quickly deploying front-end processor based on gray release
Jingsong Li, Hangzhou (CN); Hongyi Ni, Hangzhou (CN); Tianshu Zhou, Hangzhou (CN); and Yu Tian, Hangzhou (CN)
Assigned to ZHEJIANG LAB, Hangzhou (CN)
Filed by ZHEJIANG LAB, Zhejiang (CN)
Filed on Jul. 28, 2023, as Appl. No. 18/360,840.
Claims priority of application No. 202210902898.6 (CN), filed on Jul. 29, 2022.
Prior Publication US 2024/0036860 A1, Feb. 1, 2024
Int. Cl. G06F 8/71 (2018.01); G06F 8/65 (2018.01)
CPC G06F 8/71 (2013.01) [G06F 8/65 (2013.01)] 10 Claims
OG exemplary drawing
 
1. A method for automatically and quickly deploying a front-end processor based on gray release, comprising steps of:
step S1: performing version management on to-be-deployed engineering by using an engineering code version management repository, the engineering code version management repository being deployed on a remote server;
step S2: logging in a user management module for identity identification, and verification of an operating permission for a plurality of front-end processors and an operating permission for engineering configurations of the plurality of front-end processors;
step S3: performing parameter extraction on the front-end processors, arranging all the front-end processors in a sequence according to the extracted parameters, and performing gray release deployment on the top front-end processors in the sequence;
step S4: when the gray release deployment is to be performed on 10% of the front-end processors, sequentially deploying the top 10% of the front-end processors in a total front-end processor queue and performing a gray scale test after deployment is completed, and when a number of front-end processors meeting smoothness of new and old function ports and overall running stability of a system accounts for greater than or equal to 90% of a number of deployed front-end processors, continuing gray release; and otherwise, performing version rollback on the deployed front-end processors until the engineering on all front-end processors returns to a previous version, and finishing the gray release;
step S5: when the gray release deployment is to be performed on 10% to 40% of the front-end processors, reordering a last 90% of the front-end processors in the total front-end processor queue according to step S3, sequentially deploying a first one-third of the front-end processors in the reordered front-end processor queue, performing a gray scale test after deployment is completed, and when the number of the front-end processors meeting smoothness of new and old function ports and overall running stability of the system accounts for greater than or equal to 90% of the number of deployed front-end processors, continuing the gray release; and otherwise, performing version rollback on the deployed front-end processors until the engineering on all front-end processors returns to a previous version, and finishing the gray release; and
step S6: when the gray release deployment is to be performed on a last-two-thirds of the front-end processors in the reordered front-end processor queue, reordering the last two-thirds of the front-end processors in the reordered front-end processor queue according to step S3, sequentially deploying all front-end processors in a front-end processor queue that has been reordered again, performing a gray scale test after deployment is completed, and when the number of the front-end processors meeting smoothness of new and old function ports and overall running stability of the system accounts for greater than or equal to 90% of the number of deployed front-end processors, performing troubleshooting manually on unsuccessfully deployed front-end processors for manually updating deployment; and otherwise, performing version rollback on the deployed front-end processors until the engineering on all front-end processors returns to a previous version.