CN110007940A - Verification method, system, server and the readable storage medium storing program for executing of gray scale publication - Google Patents

Verification method, system, server and the readable storage medium storing program for executing of gray scale publication Download PDF

Info

Publication number
CN110007940A
CN110007940A CN201811337785.6A CN201811337785A CN110007940A CN 110007940 A CN110007940 A CN 110007940A CN 201811337785 A CN201811337785 A CN 201811337785A CN 110007940 A CN110007940 A CN 110007940A
Authority
CN
China
Prior art keywords
node
parameter
configuration
gray scale
prediction scheme
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811337785.6A
Other languages
Chinese (zh)
Other versions
CN110007940B (en
Inventor
叶清
高超
蔡文婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811337785.6A priority Critical patent/CN110007940B/en
Publication of CN110007940A publication Critical patent/CN110007940A/en
Application granted granted Critical
Publication of CN110007940B publication Critical patent/CN110007940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

This specification embodiment discloses a kind of verification method of gray scale publication, obtain target gray prediction scheme, wherein, it is retrieved as the parameter configured to online external equipment, the parameter of the configuration is pushed to corresponding node using the node sequencing in the target gray prediction scheme, so that the node for receiving the parameter of the configuration carries out business processing;And the parameter of the configuration is pushed in corresponding node process using the node sequencing in the target gray prediction scheme, get the corresponding operational indicator of present node for carrying out business processing, if the present node is finish node and the operational indicator meets the node pushing condition, the parameter of the configuration is pushed to next node;If the present node is not start node and the operational indicator meets the node rollback condition, the parameter of the configuration is then pushed to a upper node, to realize that machine realizes gray scale verifying and node rollback automatically, the efficiency and node rollback efficiency of gray scale verifying are effectively increased.

Description

Verification method, system, server and the readable storage medium storing program for executing of gray scale publication
Technical field
This specification embodiment is related to the verification method of technical field of data processing more particularly to a kind of publication of gray scale, is System, server and readable storage medium storing program for executing.
Background technique
With the rapid development of Internet technology, the application in internet is also more and more, and applies corresponding system meeting It updates, needs to carry out processes user data using updated new system at this time, in the process, in order to enable user can be smooth From old system excessively to new system, need in such a way that gray scale is issued that carry out system excessive.
And in the prior art in carrying out gray scale issuing process, it usually needs the system operation service conditions to come into force is observed, At this point, the case where operation business can be obtained by way of manually checking log mode or real time monitoring, and issued in gray scale When generation problem needs node rollback in the process, node rollback generally also is carried out by manually.
Summary of the invention
This specification embodiment provides verification method, system, server and the readable storage medium storing program for executing of a kind of gray scale publication, Gray scale verifying and node rollback can be carried out automatically, effectively increase the efficiency of gray scale verifying and the efficiency of node rollback.
This specification embodiment first aspect provides a kind of verification method of gray scale publication, comprising:
Obtain target gray prediction scheme, wherein the target gray prediction scheme includes node, the section of multiple gray scales push of sequence Point pushing condition and node rollback condition;
It is retrieved as the parameter configured to online external equipment, using the node sequencing in the target gray prediction scheme by institute The parameter for stating configuration is pushed to corresponding node, so that the node for receiving the parameter of the configuration carries out business processing;And The parameter of the configuration is pushed in corresponding node process using the node sequencing in the target gray prediction scheme, is obtained To the corresponding operational indicator of present node for carrying out business processing, if the present node is any one in addition to finish node A node and corresponding operational indicator of the present node meets the node pushing condition, then the parameter of the configuration is pushed to Next node after the present node;If the present node is any one node in addition to start node and described The corresponding operational indicator of present node meets the node rollback condition, then is pushed to the parameter of the configuration and described works as prosthomere A upper node before point.
This specification embodiment second aspect provides a kind of gray scale automated server, comprising:
Gray scale prediction scheme acquiring unit, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes sequence Node, node pushing condition and the node rollback condition of multiple gray scale push;
Parameter configuration unit, the parameter for being retrieved as configuring to online external equipment;
Node push unit, for being pushed the parameter of the configuration using the node sequencing in the target gray prediction scheme To corresponding node, so that the node for receiving the parameter of the configuration carries out business processing;And utilizing the target ash The parameter of the configuration is pushed in corresponding node process by the node sequencing in degree prediction scheme, is got and is carried out business processing The corresponding operational indicator of present node, if the present node is any one node in addition to finish node and described current The corresponding operational indicator of node meets the node pushing condition, then the parameter of the configuration is pushed to after the present node Next node;If the present node is any one node and the corresponding industry of the present node in addition to start node Business index meets the node rollback condition, then the upper section before the parameter of the configuration being pushed to the present node Point.
This specification embodiment third aspect additionally provides a kind of verifying system of gray scale publication, comprising:
Gray scale automated server, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes sequence Node, node pushing condition and the node rollback condition of multiple gray scale push;
Monitoring system, for obtaining index to be monitored corresponding with the target gray prediction scheme, using described to be monitored Index the present node for carrying out business processing is monitored, obtain the corresponding operational indicator of the present node, and by institute It states the corresponding operational indicator of present node and is sent to the gray scale automated server;
The gray scale automated server, the parameter for being retrieved as configuring to online external equipment, utilizes the mesh The parameter of the configuration is pushed to corresponding node by the node sequencing in mark gray scale prediction scheme, so that receiving the ginseng of the configuration Several nodes carries out business processing;And the parameter of the configuration is pushed away using the node sequencing in the target gray prediction scheme It gives in corresponding node process, gets the corresponding business of present node that the monitoring that the monitoring system is sent obtains and refer to Mark, if the present node is any one node in addition to finish node and the corresponding operational indicator of the present node is full The foot node pushing condition, then the parameter of the configuration is pushed to the next node after the present node;If described work as Front nodal point is that any one node and the corresponding operational indicator of the present node in addition to start node meet the node Rollback condition, the then upper node before the parameter of the configuration being pushed to the present node.
This specification embodiment fourth aspect additionally provides a kind of mobile terminal, including memory, processor and is stored in On memory and the computer program that can run on a processor, the processor realize above-mentioned gray scale hair when executing described program The step of verification method of cloth.
The 5th aspect of this specification embodiment additionally provides a kind of computer readable storage medium, is stored thereon with computer Program, the program is when being executed by processor the step of the verification method of above-mentioned gray scale publication.
This specification embodiment has the beneficial effect that:
Based on the above-mentioned technical proposal, using the node sequencing in the target gray prediction scheme by the parameter of the configuration It is pushed in corresponding node process, gets the corresponding operational indicator of present node for carrying out business processing, if described current Node is not the finish node and the corresponding operational indicator of the present node meets the node pushing condition, then will be described The parameter of configuration is pushed to next node, so that next node carries out business processing;If detecting, the present node is not The start node and corresponding operational indicator of the present node meets the node rollback condition, then by the ginseng of the configuration Number is pushed to a node, so that a upper node carries out business processing;It follows that machine can be used carries out gray scale automatically Verifying and node rollback effectively increase the efficiency of gray scale verifying and the efficiency of node rollback without human intervention.
Detailed description of the invention
Fig. 1 is the system architecture diagram of the verifying system of gray scale publication in this specification embodiment;
Fig. 2 is the method flow diagram of the verification method of gray scale publication in this specification embodiment;
Fig. 3 is the structural schematic diagram for multiplying gray scale automated server in this specification embodiment;
Fig. 4 is the structural schematic diagram of server in this specification embodiment.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
In a first aspect, as shown in Figure 1, this specification embodiment provides a kind of verifying system of gray scale publication, comprising:
Gray scale automated server 100, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes row Node, node pushing condition and the node rollback condition of multiple gray scales push of sequence;
Monitoring system 200, for obtaining index to be monitored corresponding with the target gray prediction scheme, using described wait supervise The index of control is monitored the present node for carrying out business processing, obtains the corresponding operational indicator of the present node, and will The corresponding operational indicator of the present node is sent to gray scale automated server 100;
Gray scale automated server 100, the parameter for being retrieved as configuring to online external equipment, utilizes the target The parameter of the configuration is pushed to corresponding node by the node sequencing in gray scale prediction scheme, so that receiving the parameter of the configuration Node carry out business processing;And the parameter of the configuration is being pushed using the node sequencing in the target gray prediction scheme To the corresponding operational indicator of present node that the monitoring in corresponding node process, getting the transmission of monitoring system 200 obtains, if The present node is any one node in addition to finish node and the corresponding operational indicator of the present node meets institute Node pushing condition is stated, then the parameter of the configuration is pushed to the next node after the present node;If described work as prosthomere Point is any one node in addition to start node and the corresponding operational indicator of the present node meets the node rollback Condition, the then upper node before the parameter of the configuration being pushed to the present node.
Gray scale concrete meaning in this specification embodiment are as follows: a part of user continues with the A being currently running on line, a part User starts the B with change, if B can move to all users to come above B with arm's length dealing.
In this specification embodiment, gray scale automated server 100 is corresponding for the parameter of the configuration to be pushed to After node, cache flush is triggered, the parameter for controlling the configuration comes into force in corresponding node, so that receiving the configuration Parameter node carry out business processing.
In this specification embodiment, gray scale automated server 100 is retrieved as the parameter configured to online external equipment When, can be gray scale automated server 100 is to online external equipment configuration parameter, to get the configuration ginseng Number;It can also be to online external equipment configuration parameter, at this point, the parameter of the configuration can be sent to ash by manual type Automated server 100 is spent, therefore, so that gray scale automated server 100 gets the parameter of the configuration.
In this specification embodiment, gray scale automated server 100 is corresponding for the parameter of the configuration to be pushed to Node can be used managing and control system for the parameter of the configuration and be pushed to corresponding node, wherein the managing and control system can be Financial managing and control system is a basic data management platform, for proposing the storage of configuration class data for user, is read, change And buffer service, and dynamic progress data format and content alteration.
In this specification embodiment, the start node is node of the sequence in first place, institute in the target gray prediction scheme Stating finish node is to sort in the target gray prediction scheme in the node of last bit.Such as it sorts in the target gray prediction scheme more A node is followed successively by first node, second node, Section 3 point and Section 4 point, wherein and the first node is the start node, Section 4 point is the finish node.
In this specification embodiment, gray scale automated server 100 gets the corresponding operational indicator of the present node Later, it detects whether the corresponding operational indicator of the present node meets the node pushing condition, and detects described current Whether the corresponding operational indicator of node meets the node rollback condition.If the present node is the start node and described The corresponding operational indicator of present node meets the node rollback condition, then keeps carrying out at business using the start node Reason, and generate warning message and show, it enables a user to carry out parameter adjustment according to the warning message;If described current Node is the start node and the corresponding operational indicator of the present node is unsatisfactory for the node pushing condition and is unsatisfactory for The node rollback condition then keeps carrying out business processing using the start node.
Wherein, if the present node is the finish node and the corresponding operational indicator of the present node is unsatisfactory for institute Node rollback condition is stated, then keeps carrying out business processing using the finish node.
In this specification embodiment, the node pushing condition can push threshold value for the corresponding node of each node, Can also all nodes correspond to same node push threshold value;The node rollback condition can be the corresponding section of each node Point rollback threshold value, can also all nodes correspond to the same node rollback threshold value.
Such as the multiple nodes to sort in the target gray prediction scheme are followed successively by first node, second node, Section 3 point and 4 nodes, wherein the corresponding node push threshold value of first node is service success rate 95%, and the corresponding node of second node pushes threshold Value is service success rate 90%, and the corresponding node push threshold value of Section 3 point is service success rate 95%, the corresponding section of Section 4 point Point push threshold value is service success rate 85%;The corresponding node rollback threshold value of first node is service success rate 75%, second node Corresponding node rollback threshold value is service success rate 80%, and the corresponding node rollback threshold value of Section 3 point is service success rate 85%, The corresponding node rollback threshold value of Section 4 point is service success rate 75%;Certainly, above-mentioned 4 nodes can be with corresponding same node Push threshold value is service success rate 95%, and above-mentioned 4 nodes can also be using corresponding same node rollback threshold value as service success rate 80%.
Lower mask body is that all nodes correspond to the same node push threshold value and the node with the node pushing condition Rollback condition is corresponded to for all nodes for the same node rollback threshold value.
In this specification embodiment, the start node is one or more in clusters of machines on the line verified for gray scale A server, wherein clusters of machines is indicated with zone cluster on the line for gray scale verifying;The target gray is pre- Second node in case can not made specifically for one or more servers in zone cluster or non-zone cluster, this specification Limitation.For example, the target gray prediction scheme can for sequence multiple nodes be followed successively by first node, second node, Section 3 point and Section 4 point, wherein the first node is the single machine C in gray scale zone cluster;The second node is gray scale zone collection Group;Section 3 point is cluster XX, wherein cluster XX is non-gray scale zone cluster;Section 4 point owns for online Machine;The node pushing condition is service success rate 95%, and the node rollback condition is service success rate 80%.
In this specification embodiment, monitoring system 200 is corresponding to be monitored with the target gray prediction scheme for obtaining Index specifically includes: monitoring system is used to obtain the index to be monitored sent from gray scale automated server 100, institute Stating index to be monitored is that gray scale automated server 100 is selected from operating index corresponding with the target gray prediction scheme At least one index.
Specifically, gray scale automated server 100 gets operating index corresponding with the target gray prediction scheme, from At least one index is chosen in the operating index as the index to be monitored.
Specifically, when obtaining the operating index, it is pre- that gray scale automated server 100 can execute the target gray Case is monitored the process for executing the target gray prediction scheme, the operating index is obtained, then from the operating index At least one index is chosen as the index to be monitored.For example, monitoring obtain the operating index include service success rate, Time-out time and business processing frequency can then choose business success success rate as described to be monitored from the operating index Index, the service success rate and the time-out time can also be chosen from the operating index as described to be monitored Index.
In this specification embodiment, the index to be monitored may include in the indexs such as service success rate and time-out time One or more, this specification is not specifically limited, and lower mask body is using the index to be monitored as business success and time-out For time.
In this specification embodiment, gray scale automated server 100 can provide the storage of configuration class data for user, It reads, change and buffer service, additionally it is possible to which dynamic carries out data format and content alteration etc..
In this specification embodiment, gray scale automated server 100, can be from record when obtaining the target gray prediction scheme The target gray prediction scheme is selected in the multiple gray scale prediction schemes entered;At this point, gray scale automated server 100 can obtain user first Multiple gray scale prediction schemes of typing, then select the target gray prediction scheme from the multiple gray scale prediction scheme.Wherein, it is selecting Out when the target gray prediction scheme, the gray scale prediction scheme that available user selects in the multiple gray scale prediction scheme is as the mesh Gray scale prediction scheme is marked, the gray scale that can also be randomly selected or select from the multiple gray scale prediction scheme according to preset rules is pre- Case is as the target gray prediction scheme.
For example, multiple gray scale prediction schemes that gray scale automated server 100 gets typing are a1 prediction scheme, a2 prediction scheme, a3 pre- Then case and a4 prediction scheme randomly select a3 prediction scheme as the target gray prediction scheme from the multiple gray scale prediction scheme.
In this specification embodiment, the node pushing condition is greater than the node rollback condition, to avoid there is node Push mistake.
In this specification embodiment, gray scale automated server 100, for being retrieved as to online external equipment configuration When parameter, it can be retrieved as by the database in gray scale automated server 100 to online with gray scale automated server 100 The parameter of external equipment configuration.
For example, You Zhonghang head office system and middle row Zhejiang branch system, Zhong Hang head office system are below Bank of China Online external equipment, and the middle row Zhejiang branch system is to online external equipment, gray scale automated server 100 Get to online external equipment be the middle row Zhejiang branch system after, be Zhejiang branch system configuration ginseng Number, wherein the parameter of the configuration includes for payment system configuration payment parameter c1, system for settling account configuration clearance parameter c2, net It closes system configuration gateway parameter c3 and route system configures routing parameter c4;C1, c2, c3 and c4 are automated by gray scale Database configuration in server 100.
And the node in the target gray prediction scheme that gets of gray scale automated server 100 is successively are as follows: Step1: Gray scale zone1 (machine in zone cluster);Step2:zone2 (machine in non-gray scale zone cluster);Step3:zone3 (machine in non-gray scale zone cluster);Step4:zone4 (online all machines);Section in the target gray prediction scheme Point pushing condition is 95% service success rate and node rollback condition is 80% service success rate.
Wherein, gray scale automated server 100 is according to the node sequencing in the target gray prediction scheme, first by c1, c2, C3 and c4 is pushed to Step1 i.e. gray scale zone1, that is, c1, c2, c3 and c4 is promoted only to come into force in gray scale zone1, therefore, so that The corresponding flow of c1, c2, c3 and c4 is only handled in gray scale zone1, at this point, monitoring system 200 can monitor gray scale zone1 in real time The service success rate y1 in business procession is being carried out, and y1 is sent to gray scale automated server 100;Gray scale automation After server 100 gets y1, whether detection y1 be not less than 95% and detection y1 less than 80%;If y1 is not less than 95%, then c1, c2, c3 and c4 are pushed to Step2 i.e. zone2;If y1 less than 80%, continues to use gray scale zone1 progress Business processing simultaneously generates warning message and is shown;If y1 less than 95% and be not less than 80%, then keep using gray scale zone1 into Row business processing.
Secondly, monitoring system 200 can be real after being pushed to zone2 when y1 is not less than 95% and by c1, c2, c3 and c4 When monitoring zone2 carrying out the service success rate y2 in business procession, and y2 is sent to gray scale automated server 100;After gray scale automated server 100 gets y2, whether detection y2 be not less than 95% and detection y2 less than 80%; If y2 is not less than 95%, c1, c2, c3 and c4 are pushed to Step3 i.e. zone3, so that carrying out at business using zone3 Reason;If y2 is pushed to a upper node i.e. gray scale zone1 less than 80%, by c1, c2, c3 and c4, so that using gray scale zone1 Carry out business processing;If y2 less than 95% and not less than 80%, then keeps carrying out business processing using zone2.
Secondly, monitoring system 200 can be real-time after y2 is not less than 95% and c1, c2, c3 and c4 are pushed to zone3 It monitors zone3 and is carrying out the service success rate y3 in business procession, and y3 is sent to gray scale automated server 100; After gray scale automated server 100 gets y3, whether detection y3 be not less than 95% and detection y3 less than 80%;If y3 Not less than 95%, then c1, c2, c3 and c4 are pushed to Step4 i.e. zone4, so that carrying out business processing using zone4;If C1, c2, c3 and c4 are then pushed to the upper i.e. zone2 of a node less than 80% by y3, so that carrying out business processing using zone2; If y3 less than 95% and not less than 80%, then keeps carrying out business processing using zone3.
Wherein, after being pushed to zone4 in y3 not less than 95% and by c1, c2, c3 and c4, monitoring system 200 can be real-time It monitors zone4 and is carrying out the service success rate y4 in business procession, and y4 is sent to gray scale automated server 100; After gray scale automated server 100 gets y4, whether detection y4 be not less than 95% and detection y4 less than 80%;If y4 Not less than 80%, then continues to use zone4 and carry out business processing;If c1, c2, c3 and c4 are pushed to by y4 less than 80% One node, that is, zone3, so that carrying out business processing using gray scale zone3.
In this way, after gray scale automated server 100 gets the corresponding operational indicator of present node, if detecting described Present node is not the finish node and the corresponding operational indicator of the present node meets the node pushing condition, then will The parameter of the configuration is pushed to next node, so that next node carries out business processing;If detecting the present node Not for the start node and the corresponding operational indicator of the present node meets the node rollback condition, then by the configuration Parameter be pushed to a node so that a upper node carry out business processing;Gray scale automated server 100 can as a result, It is automatic to carry out gray scale verifying and node rollback, without human intervention, improve the efficiency of gray scale verifying and the efficiency of node rollback.
Second aspect is applied to ash as shown in Fig. 2, this specification embodiment provides a kind of verification method of gray scale publication It spends in automated server, comprising:
S202, target gray prediction scheme is obtained, wherein the target gray prediction scheme includes the section of multiple gray scales push of sequence Point, node pushing condition and node rollback condition;
S204, it is retrieved as the parameter configured to online external equipment, is arranged using the node in the target gray prediction scheme The parameter of the configuration is pushed to corresponding node by sequence, so that the node for receiving the parameter of the configuration carries out at business Reason;And the parameter of the configuration is being pushed to corresponding node process using the node sequencing in the target gray prediction scheme In, the corresponding operational indicator of present node for carrying out business processing is got, if the present node is in addition to finish node Any one node and the corresponding operational indicator of the present node meet the node pushing condition, then the ginseng of the configuration Number is pushed to the next node after the present node;If the present node is any one section in addition to start node It puts and the corresponding operational indicator of the present node meets the node rollback condition, then the parameter of the configuration is pushed to institute A upper node before stating present node.
In this specification embodiment, after the parameter of the configuration is pushed to corresponding node, the method is also wrapped Include: triggering cache flush, the parameter for controlling the configuration comes into force in corresponding node, so that receiving the parameter of the configuration Node carry out business processing.
In this specification embodiment, the start node is node of the sequence in first place, institute in the target gray prediction scheme Stating finish node is to sort in the target gray prediction scheme in the node of last bit.Such as it sorts in the target gray prediction scheme more A node is followed successively by first node, second node, Section 3 point and Section 4 point, wherein and the first node is the start node, Section 4 point is the finish node.
In this specification embodiment, after getting the corresponding operational indicator of the present node, which comprises
It detects whether the corresponding operational indicator of the present node meets the node pushing condition, and works as described in detection Whether the corresponding operational indicator of front nodal point meets the node rollback condition.
In this specification embodiment, if the present node is the start node and the corresponding business of the present node Index meets the node rollback condition, then keeps carrying out business processing using the start node, and generate warning message simultaneously Display enables a user to carry out parameter adjustment according to the warning message;If the present node is the start node And the corresponding operational indicator of the present node is unsatisfactory for the node pushing condition and is unsatisfactory for the node rollback condition, then It keeps carrying out business processing using the start node.
In this specification embodiment, if the present node is the finish node and the corresponding business of the present node Index is unsatisfactory for the node rollback condition, then keeps carrying out business processing using the finish node.
In this specification embodiment, the start node is one or more in clusters of machines on the line verified for gray scale A server.
It is described to get the corresponding operational indicator of present node for carrying out business processing in this specification embodiment, specifically Include: obtain is sent from monitoring system using index to be monitored to progress business processing present node be monitored to obtain Operational indicator.
Wherein, the monitoring system obtains the corresponding operational indicator of the present node, specifically includes: the monitoring system For obtain from the gray scale automated server send the index to be monitored, using the index to be monitored into The present node of row business processing is monitored, and obtains the corresponding operational indicator of the present node.
Specifically, the index to be monitored is the gray scale automated server from corresponding with the target gray prediction scheme Operating index at least one index for selecting.At this point, when obtaining the operating index, the gray scale automated server The target gray prediction scheme can be executed, the process for executing the target gray prediction scheme is monitored, the operation is obtained and refers to Mark, then chooses at least one index as the index to be monitored from the operating index.For example, monitoring obtain it is described Operating index includes service success rate, time-out time and business processing frequency, then can choose business from the operating index Success success rate can also choose the service success rate and described as the index to be monitored from the operating index Time-out time is as the index to be monitored.
In this specification embodiment, the index to be monitored may include in the indexs such as service success rate and time-out time One or more, this specification is not specifically limited, and lower mask body is using the index to be monitored as business success and time-out For time.
It, specifically can be pre- from multiple gray scales of typing when obtaining the target gray prediction scheme in this specification embodiment The target gray prediction scheme is selected in case;At this point, multiple gray scale prediction schemes of user's typing can be got first, then from described more The target gray prediction scheme is selected in a gray scale prediction scheme.Wherein, when selecting the target gray prediction scheme, available use The gray scale prediction scheme that family selects in the multiple gray scale prediction scheme as the target gray prediction scheme, can also randomly select or according to The gray scale prediction scheme that pre-set rule is selected from the multiple gray scale prediction scheme is as the target gray prediction scheme.
The third aspect, this specification embodiment provide a kind of gray scale automated server, as shown in Figure 3, comprising:
Gray scale prediction scheme acquiring unit 301, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes row Node, node pushing condition and the node rollback condition of multiple gray scales push of sequence;
Parameter configuration unit 302, the parameter for being retrieved as configuring to online external equipment;
Node push unit 303, for utilizing the node sequencing in the target gray prediction scheme by the parameter of the configuration It is pushed to corresponding node, so that the node for receiving the parameter of the configuration carries out business processing;And utilizing the mesh The parameter of the configuration is pushed in corresponding node process by the node sequencing in mark gray scale prediction scheme, is got at carry out business The corresponding operational indicator of the present node of reason, if the present node is any one node in addition to finish node and described The corresponding operational indicator of present node meets the node pushing condition, then the parameter of the configuration is pushed to the present node Next node later;If the present node is any one node in addition to start node and the present node is corresponding Operational indicator meet the node rollback condition, then upper one before the parameter of the configuration being pushed to the present node A node.
In this specification embodiment, the gray scale automated server further include: caching trigger unit, for will be described The parameter of configuration is pushed to after corresponding node, is triggered cache flush, is controlled the parameter of the configuration in corresponding node It comes into force, so that the node for receiving the parameter of the configuration carries out business processing.
In this specification embodiment, the start node is node of the sequence in first place, institute in the target gray prediction scheme Stating finish node is to sort in the target gray prediction scheme in the node of last bit.Such as it sorts in the target gray prediction scheme more A node is followed successively by first node, second node, Section 3 point and Section 4 point, wherein and the first node is the start node, Section 4 point is the finish node.
In this specification embodiment, the gray scale automated server further include: detection unit, for get it is described After the corresponding operational indicator of present node, detect whether the corresponding operational indicator of the present node meets the node push Whether condition, and the corresponding operational indicator of the detection present node meet the node rollback condition.
In this specification embodiment, if the present node is the start node and the corresponding business of the present node Index meets the node rollback condition, then keeps carrying out business processing using the start node, and generate warning message simultaneously Display enables a user to carry out parameter adjustment according to the warning message;If the present node is the start node And the corresponding operational indicator of the present node is unsatisfactory for the node pushing condition and is unsatisfactory for the node rollback condition, then It keeps carrying out business processing using the start node.
In this specification embodiment, if the present node is the finish node and the corresponding business of the present node Index meets the node rollback condition, then keeps carrying out business processing using the finish node.
In this specification embodiment, the start node is one or more in clusters of machines on the line verified for gray scale A server.
In this specification embodiment, the index to be monitored may include in the indexs such as service success rate and time-out time One or more, this specification is not specifically limited, and lower mask body is using the index to be monitored as business success and time-out For time.
In this specification embodiment, gray scale prediction scheme acquiring unit 301, specifically for being selected from multiple gray scale prediction schemes of typing Select the target gray prediction scheme;At this point, multiple gray scale prediction schemes of user's typing can be got first, then from the multiple gray scale The target gray prediction scheme is selected in prediction scheme.Wherein, when selecting the target gray prediction scheme, available user is in institute The gray scale prediction scheme selected in multiple gray scale prediction schemes is stated as the target gray prediction scheme, can also be randomly selected or according to setting in advance The gray scale prediction scheme that the rule set is selected from the multiple gray scale prediction scheme is as the target gray prediction scheme.
Fourth aspect, based on inventive concept same as the verification method of gray scale publication in previous embodiment, this specification Embodiment also provides a kind of mobile terminal, as shown in figure 4, including memory 404, processor 402 and being stored on memory 404 And the computer program that can be run on the processor 402, the processor 402 realize gray scale described previously when executing described program The step of either verification method of publication method.
Wherein, in Fig. 4, bus architecture (is represented) with bus 400, and bus 400 may include any number of interconnection Bus and bridge, bus 400 will include the one or more processors represented by processor 402 and what memory 404 represented deposits The various circuits of reservoir link together.Bus 400 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein Description.Bus interface 405 provides interface between bus 400 and receiver 401 and transmitter 403.Receiver 401 and transmitter 403 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place It manages device 402 and is responsible for management bus 400 and common processing, and memory 404 can be used for storage processor 402 and execute behaviour Used data when making.
5th aspect, based on the inventive concept for the verification method issued with gray scale in previous embodiment, this specification is implemented Example also provides a kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor The step of either the verification method of gray scale publication described previously method.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (18)

1. a kind of verification method of gray scale publication, comprising:
Obtain target gray prediction scheme, wherein the target gray prediction scheme includes that node, the node of multiple gray scales push of sequence push away Send condition and node rollback condition;
It is retrieved as the parameter configured to online external equipment, is matched by described in using the node sequencing in the target gray prediction scheme The parameter set is pushed to corresponding node, so that the node for receiving the parameter of the configuration carries out business processing;And in benefit The parameter of the configuration is pushed in corresponding node process with the node sequencing in the target gray prediction scheme, get into The corresponding operational indicator of the present node of row business processing, if the present node is any one section in addition to finish node It puts and the corresponding operational indicator of the present node meets the node pushing condition, then the parameter of the configuration is pushed to described Next node after present node;If the present node is any one node in addition to start node and described current The corresponding operational indicator of node meets the node rollback condition, then by the parameter of the configuration be pushed to the present node it A preceding upper node.
2. verification method as described in claim 1, after getting the corresponding operational indicator of the present node, the side Method includes:
It detects whether the corresponding operational indicator of the present node meets the node pushing condition, and works as prosthomere described in detection Whether the corresponding operational indicator of point meets the node rollback condition.
3. verification method as claimed in claim 2, if the present node is the start node and the present node pair The operational indicator answered meets the node rollback condition, then keeps carrying out business processing using the start node;If described work as Front nodal point is the finish node and the corresponding operational indicator of the present node is unsatisfactory for the node rollback condition, then keeps Business processing is carried out using the finish node.
4. verification method as described in claim 1, after the parameter of the configuration is pushed to corresponding node, the side Method further include:
Cache flush is triggered, the parameter for controlling the configuration comes into force in corresponding node, so that receiving the ginseng of the configuration Several nodes carries out business processing.
5. the described in any item verification methods of claim 1-4, the acquisition target gray prediction scheme, specifically include:
The target gray prediction scheme is selected from multiple gray scale prediction schemes of typing.
6. a kind of gray scale automated server, comprising:
Gray scale prediction scheme acquiring unit, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes the multiple of sequence Node, node pushing condition and the node rollback condition of gray scale push;
Parameter configuration unit, the parameter for being retrieved as configuring to online external equipment;
Node push unit, for being pushed to the parameter of the configuration pair using the node sequencing in the target gray prediction scheme The node answered, so that the node for receiving the parameter of the configuration carries out business processing;And pre- using the target gray The parameter of the configuration is pushed in corresponding node process by the node sequencing in case, is got and is carried out the current of business processing The corresponding operational indicator of node, if the present node is any one node in addition to finish node and the present node Corresponding operational indicator meets the node pushing condition, then under the parameter of the configuration is pushed to after the present node One node;If the present node is that any one node and the corresponding business of the present node in addition to start node refer to Mark meets the node rollback condition, then the upper node before the parameter of the configuration being pushed to the present node.
7. server as claimed in claim 6, comprising:
Detection unit, it is corresponding for after getting the corresponding operational indicator of the present node, detecting the present node Operational indicator whether meet the node pushing condition, and whether the corresponding operational indicator of the detection present node meets The node rollback condition.
8. verification method as claimed in claim 7, if the present node is the start node and the present node pair The operational indicator answered meets the node rollback condition, then keeps carrying out business processing using the start node;If described work as Front nodal point is the finish node and the corresponding operational indicator of the present node is unsatisfactory for the node rollback condition, then keeps Business processing is carried out using the finish node.
9. server as claimed in claim 6, further includes:
Trigger unit is cached, for after the parameter of the configuration is pushed to corresponding node, triggering cache flush, control The parameter of the configuration comes into force in corresponding node, so that the node for receiving the parameter of the configuration carries out business processing.
10. server as claimed in claim 6, the gray scale prediction scheme acquiring unit, specifically for multiple gray scales from typing The target gray prediction scheme is selected in prediction scheme.
11. a kind of verifying system of gray scale publication, comprising:
Gray scale automated server, for obtaining target gray prediction scheme, wherein the target gray prediction scheme includes the multiple of sequence Node, node pushing condition and the node rollback condition of gray scale push;
Monitoring system utilizes the finger to be monitored for obtaining index to be monitored corresponding with the target gray prediction scheme It marks and the present node for carrying out business processing is monitored, obtain the corresponding operational indicator of the present node, and work as by described in The corresponding operational indicator of front nodal point is sent to the gray scale automated server;
The gray scale automated server, the parameter for being retrieved as configuring to online external equipment utilize the target ash The parameter of the configuration is pushed to corresponding node by the node sequencing in degree prediction scheme, so that receive the parameter of the configuration Node carries out business processing;And the parameter of the configuration is pushed to using the node sequencing in the target gray prediction scheme In corresponding node process, the corresponding operational indicator of present node that the monitoring that the monitoring system is sent obtains is got, if The present node is any one node in addition to finish node and the corresponding operational indicator of the present node meets institute Node pushing condition is stated, then the parameter of the configuration is pushed to the next node after the present node;If described work as prosthomere Point is any one node in addition to start node and the corresponding operational indicator of the present node meets the node rollback Condition, the then upper node before the parameter of the configuration being pushed to the present node.
12. verifying system as claimed in claim 11, the gray scale automated server is for getting the present node After corresponding operational indicator, detect whether the corresponding operational indicator of the present node meets the node pushing condition, with And whether the corresponding operational indicator of the detection present node meets the node rollback condition.
13. verifying system as claimed in claim 12, if the gray scale automated server described works as prosthomere for detecting Point is the start node and the corresponding operational indicator of the present node meets the node rollback condition, then keeps using institute It states start node and carries out business processing;And if detecting that the present node is the finish node and the present node pair The operational indicator answered is unsatisfactory for the node rollback condition, then keeps carrying out business processing using the finish node.
14. the verifying system as described in right wants 11, the gray scale automated server are also used to push away the parameter of the configuration After giving corresponding node, cache flush is triggered, the parameter for controlling the configuration comes into force in corresponding node, so that connecing The node for receiving the parameter of the configuration carries out business processing.
15. verifying system described in claim 11, the monitoring system is sent out for obtaining from the gray scale automated server The index to be monitored sent, the index to be monitored are the gray scale automated servers from pre- with the target gray At least one index selected in the corresponding operating index of case.
16. a kind of verifying system of gray scale publication, the gray scale automated server 100, specifically for multiple ashes from typing The target gray prediction scheme is selected in degree prediction scheme.
17. a kind of server including memory, processor and stores the computer that can be run on a memory and on a processor The step of program, the processor realizes any one of claim 1-5 the method when executing described program.
18. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor Benefit requires the step of any one of 1-5 the method.
CN201811337785.6A 2018-11-12 2018-11-12 Gray scale release verification method, system, server and readable storage medium Active CN110007940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811337785.6A CN110007940B (en) 2018-11-12 2018-11-12 Gray scale release verification method, system, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811337785.6A CN110007940B (en) 2018-11-12 2018-11-12 Gray scale release verification method, system, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN110007940A true CN110007940A (en) 2019-07-12
CN110007940B CN110007940B (en) 2022-08-09

Family

ID=67164924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811337785.6A Active CN110007940B (en) 2018-11-12 2018-11-12 Gray scale release verification method, system, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN110007940B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673893A (en) * 2019-09-24 2020-01-10 携程计算机技术(上海)有限公司 Configuration method and system of application program, electronic device and storage medium
CN112612507A (en) * 2020-12-23 2021-04-06 中国工商银行股份有限公司 Gray scale verification method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140272902A1 (en) * 2013-03-15 2014-09-18 Research Metrics, Llc System and method for generating and distributing a survey
CN106453549A (en) * 2016-10-08 2017-02-22 中国工商银行股份有限公司 Distributed software version release method and system thereof
CN106789202A (en) * 2016-12-08 2017-05-31 努比亚技术有限公司 service management device and method
CN106959872A (en) * 2017-03-16 2017-07-18 微梦创科网络科技(中国)有限公司 Using loading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140272902A1 (en) * 2013-03-15 2014-09-18 Research Metrics, Llc System and method for generating and distributing a survey
CN106453549A (en) * 2016-10-08 2017-02-22 中国工商银行股份有限公司 Distributed software version release method and system thereof
CN106789202A (en) * 2016-12-08 2017-05-31 努比亚技术有限公司 service management device and method
CN106959872A (en) * 2017-03-16 2017-07-18 微梦创科网络科技(中国)有限公司 Using loading method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673893A (en) * 2019-09-24 2020-01-10 携程计算机技术(上海)有限公司 Configuration method and system of application program, electronic device and storage medium
CN110673893B (en) * 2019-09-24 2023-06-09 携程计算机技术(上海)有限公司 Application program configuration method, system, electronic device and storage medium
CN112612507A (en) * 2020-12-23 2021-04-06 中国工商银行股份有限公司 Gray scale verification method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110007940B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN105099988B (en) Method, access method and device and system for supporting gray scale to issue
US8862744B2 (en) Optimizing traffic load in a communications network
CN104541247B (en) System and method for adjusting cloud computing system
CN105812177B (en) A kind of network failure processing method and processing equipment
CN109246229A (en) A kind of method and apparatus of distribution resource acquisition request
CN109597685A (en) Method for allocating tasks, device and server
CN105302676B (en) Active and standby the mechanism data transmission method and device of a kind of distributed file system
CN103607424B (en) Server connection method and server system
CN106095483A (en) The Automation arranging method of service and device
CN106294206A (en) A kind of caching data processing method and device
CN110007940A (en) Verification method, system, server and the readable storage medium storing program for executing of gray scale publication
CN107153643A (en) Tables of data connection method and device
US8180716B2 (en) Method and device for forecasting computational needs of an application
WO2022142013A1 (en) Artificial intelligence-based ab testing method and apparatus, computer device and medium
CN103942197A (en) Data monitoring processing method and device
US11196823B2 (en) Service deployment control system, service deployment control method, and storage medium
CN110020046A (en) A kind of data grab method and device
CN110166304A (en) A kind of method of combination, device, electronic equipment and the storage medium of cross-domain SFC
US7962650B2 (en) Dynamic component placement in an event-driven component-oriented network data processing system
CN108875035A (en) The date storage method and relevant device of distributed file system
CN110751458A (en) Business approval method, device and system
JP2005128866A (en) Computer unit and method for controlling computer unit
CN109657801A (en) Shunt method, device and the readable storage medium storing program for executing of recommender system
US20160342899A1 (en) Collaborative filtering in directed graph
CN107426012A (en) A kind of fault recovery method and its device based on super fusion architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant