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.