Gray scale user management method, device, platform and storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of gray scale user management method, device, platforms
And storage medium.
Background technology
In internet arena, since the performances such as the function of any one software product newly developed and user experience also have
Uncertainty, therefore, before software product publication, it usually needs first by tester to the software product under line
Close beta.Test pass through after, the software product publication nor accomplish in one move, but to carry out gray scale publication i.e. lead to
Gray scale policy control issuing process is crossed, to avoid application risk caused by uncertainty of the software product in performance.
So-called gray scale publication can also claim gray scale strategy, refer to first issuing the software product to sub-fraction user, and be based on
The service condition of this fraction of subscribers tests the performance of the product, if test is up to standard, the range just further to extend one's service,
And the service condition based on extended user tests the performance of the product, repeatedly, is somebody's turn to do until to all users publication
Software product.If test is not up to standard, developer is needed to be adjusted to software for problem, and re-executes gray scale publication
Process.Wherein, the user for being published software product is known as gray scale user.As it can be seen that gray scale publication is one and publication model is gradually expanded
The process enclosed can not only make to be exposed the problem of software product, but also whole users are influenced the problem of will not make to expose, and reduce
The application risk of software product.
And the realization of ordinary gamma strategy protocol is by the design of gray scale strategy in product characteristic entry code, when gray scale plan
When slightly adjusting, product characteristic entry code need to be readjusted, it is cumbersome and gray scale strategy cannot be adjusted flexibly.
Invention content
A kind of gray scale user management method of offer of the embodiment of the present invention, device, platform and storage medium, solve ordinary gamma
Strategy protocol need to readjust product characteristic entry code when gray scale Developing Tactics, cumbersome and ash cannot be adjusted flexibly
Spend the problem of strategy.
In a first aspect, an embodiment of the present invention provides a kind of gray scale user management method, this method is applied to gray scale user
Management platform, including:
Receive the scene label of the business of connection gray scale platform of user management and at least one user identifier;
According to the corresponding default gray scale policing rule sequence of the scene label, at least one gray scale policing rule is carried out
Sequence;
According to the gray scale policing rule after sequence, the scene label is determined from least one user identifier
Corresponding gray scale user.
Further, the gray scale policing rule according to after sequence, from least one user identifier really
Determine the corresponding gray scale user of the scene label, including:
According to coming last gray scale policing rule in the gray scale policing rule after the sequence, from described at least one
The corresponding user of user identifier of last gray scale policing rule is come described in being determined for compliance in user identifier to use for gray scale
Family.
Further, in the gray scale policing rule according to after sequence, from least one user identifier
After determining the corresponding gray scale user of the scene label, the method further includes:
In the case where user's dimension individual cultivation strategy switchs and starts, according to the individuation data of gray scale user, it is
The gray scale user provides differentiated service.
Wherein, the gray scale policing rule includes:
User identifier tail number strategy and/or user identifier white list strategy.
Wherein, the user identifier tail number strategy specifically includes:
User identifier tail number remainder and default Grey Rule value commensurate in scope.
Second aspect, the embodiment of the present invention additionally provide a kind of gray scale user management device, which is configured at gray scale use
Family management platform, including:
Receiving module, the scene label and at least one user mark of the business for receiving connection gray scale platform of user management
Know symbol;
Sorting module is used for according to the corresponding default gray scale policing rule sequence of the scene label, at least one ash
Degree policing rule is ranked up;
Gray scale user's determining module, for according to the gray scale policing rule after sequence, being marked from least one user
Know and determines the corresponding gray scale user of the scene label in symbol.
Further, the gray scale user determining module is specifically used for:
According to coming last gray scale policing rule in the gray scale policing rule after the sequence, from described at least one
The corresponding user of user identifier of last gray scale policing rule is come described in being determined for compliance in user identifier to use for gray scale
Family.
Further, which further includes:
Differentiated service provides module, is used in the gray scale policing rule according to after sequence, from described at least one
After determining the corresponding gray scale user of the scene label in a user identifier, switched in user's dimension individual cultivation strategy
In the case of startup, according to the individuation data of gray scale user, differentiated service is provided for the gray scale user.
Gray scale strategy is abstracted into stand-alone service by the embodiment of the present invention by gray scale platform of user management, can be accomplished flexibly
Gray scale strategy is adjusted, without readjusting product characteristic entry code;Receive the field of the business of connection gray scale platform of user management
Scape label and at least one user identifier, according to the corresponding default gray scale policing rule sequence of the scene label, at least
A kind of gray scale policing rule is ranked up, and can be accomplished that different business scene corresponds to different gray scale policing rule sequences, be ensured
The personalization of business scenario;According to the gray scale policing rule after sequence, institute is determined from least one user identifier
The corresponding gray scale user of scene label is stated, realizes and is directed to the preferential to-be-experienced product of specific user group, not for different user displaying
Same product characteristic realizes the gray scale strategy in thousand people, thousand face.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing does one and simply introduces, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, others are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow diagram for gray scale user management method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of gray scale user management device provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for gray scale platform of user management that the embodiment of the present invention three provides.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention
Figure, technical scheme of the present invention is clearly and completely described by embodiment, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of flow chart for gray scale user management method that the embodiment of the present invention one provides.The technology of the present embodiment
Scheme can be adapted for new business publication when, how to determine issue object i.e. gray scale user the case where.This method can be by this hair
A kind of gray scale user management device that bright embodiment provides executes, which may be used software and/or the mode of hardware is real
It is existing, and be configured in gray scale platform of user management and apply, which can be engine or server etc..The party
Method specifically includes following operation:
S110, the scene label for receiving the business for connecting gray scale platform of user management and at least one user identifier.
Gray scale platform of user management is an independent service system, can be engine or server.Pass through gray scale user
Management platform may be implemented gray scale strategy detaching into stand-alone service, avoid overlapping construction, and may be implemented multiple services simple fast
Quick access enters, without developing the migration efficiency that thousand people, thousand face can be realized again.By gray scale platform of user management, it is supplied to exploitation
With the ability of the simpler rapidly management gray scale strategy of operation personnel the quick of gray scale strategy can be carried out in management platform
Configuration.
Gray scale publication is also referred to as gray scale strategy, i.e., certain customers' issuing service into white list, by acquiring the portion
The service condition for dividing user, tests the performance of business, using test result as the basis of service optimization.Wherein, business can be
Certain operation activity, such as the loose-leaf of Mid-autumn Festival website, operation carry volume or concern public platform proposes the activities such as volume, business corresponds to
There is different scenes, such as can be different loose-leaf.
When service access gray scale platform of user management, gray scale platform of user management obtains the scene label and use of business
There is unique user UID, user UID can distinguish difference by family identifier (UID, user identifier), different users
User.
S120, according to the corresponding default gray scale policing rule sequence of the scene label, at least one gray scale strategy is advised
Then it is ranked up.
Wherein, gray scale policing rule includes:User identifier tail number strategy and/or user identifier white list strategy.No
Same scene corresponds to different default gray scale policing rule sequences.Default gray scale policing rule can be according to gray scale policing rule
Priority ranking, priority is different according to the difference of scene, and the priority of gray scale policing rule is by developer according to scene
It is different and preset.For example, in scenario A, user identifier tail number policy priority grade is less than user identifier white list plan
Slightly, then the corresponding default gray scale policing rule sequence of scenario A is:User identifier tail number strategy, user identifier white list plan
Slightly.In scenario B, user identifier tail number policy priority grade is higher than user identifier white list strategy, then scenario B is corresponding pre-
If gray scale policing rule sequence is:User identifier white list strategy, user identifier tail number strategy.
Wherein, user identifier tail number strategy specifically includes:User identifier tail number remainder and default grey metric value range
Matching.Illustratively, by obtaining user UID except fixed value remainder hits Grey Rule value range high-volume, such as UID:100001,
Grey Rule 10% then meets expression formula (int i=uid%10;0<=i<=9) UID hits Grey Rule, can experience
New product characteristic hits Grey Rule and meets Grey Rule.User identifier white list strategy is to judge that user identifier is
It is no in user's white list, if, showing the corresponding user of the user identifier be gray scale user.User identifier white list
The corresponding gray scale user of strategy is specific group, and user identifier tail number strategy is not directed to special group, corresponding grey scale user
Flexibility and changeability.
S130, according to the gray scale policing rule after sequence, the field is determined from least one user identifier
The corresponding gray scale user of scape label.
Illustratively, each user identifier can be judged successively according to the sequence of the gray scale policing rule after sequence
The gray scale policing rule whether symbol meets each sequence determines each user identifier according to the result data for meeting situation
Whether corresponding user is gray scale user.For example, the gray scale policing rule after sequence is user identifier tail number strategy, user
Identifier white list strategy meets it may is that meet user identifier tail number strategy, is unsatisfactory for user identifier white list
Strategy then determines that the corresponding user of the user identifier is not that gray scale is used according to the result that meets of user identifier white list strategy
Family.
Further, the gray scale policing rule according to after sequence, from least one user identifier really
Determine the corresponding gray scale user of the scene label, including:
According to coming last gray scale policing rule in the gray scale policing rule after the sequence, from described at least one
The corresponding user of user identifier of last gray scale policing rule is come described in being determined for compliance in user identifier to use for gray scale
Family.
Illustratively, the gray scale policing rule after sorting is:User identifier tail number strategy, user identifier white list
Strategy.Then determine whether user is gray scale user according to user identifier white list strategy:Judge user identifier whether with
In the identifier white list of family, if being gray scale user.All gray scale set of policy rules are traversed, regular correspondence will be finally hit
Result return, gray scale user's result that final gray scale strategy determines can be returned to more parts of user identifier lists of dynamic combined
Data.
Further, in the gray scale policing rule according to after sequence, from least one user identifier
After determining the corresponding gray scale user of the scene label, the method further includes:
In the case where user's dimension individual cultivation strategy switchs and starts, according to the individuation data of gray scale user, it is
The gray scale user provides differentiated service.After opening this strategy switch, the thousand people support in thousand faces can be provided:Such as active page
Face is open just for party A-subscriber group, and can provide differentiated service according to the accrediting amount of each user of party A-subscriber group, wherein awarding
Believe the individuation data of amount, that is, user.
Gray scale strategy is abstracted into stand-alone service by the embodiment of the present invention by gray scale platform of user management, can be accomplished flexibly
Gray scale strategy is adjusted, without readjusting product characteristic entry code;Receive the field of the business of connection gray scale platform of user management
Scape label and at least one user identifier, according to the corresponding default gray scale policing rule sequence of the scene label, at least
A kind of gray scale policing rule is ranked up, and can be accomplished that different business scene corresponds to different gray scale policing rule sequences, be ensured
The personalization of business scenario;According to the gray scale policing rule after sequence, institute is determined from least one user identifier
The corresponding gray scale user of scene label is stated, realizes and is directed to the preferential to-be-experienced product of specific user group, not for different user displaying
Same product characteristic realizes the gray scale strategy in thousand people, thousand face.
Embodiment two
Fig. 2 is a kind of structure diagram of gray scale user management device provided by Embodiment 2 of the present invention.The device is for holding
A kind of gray scale user management method that the above-mentioned any embodiment of row is provided.The device is configured at gray scale platform of user management, packet
It includes:
Receiving module 210, the scene label of the business for receiving connection gray scale platform of user management and at least one use
Family identifier;
Sorting module 220 is used for according to the corresponding default gray scale policing rule sequence of the scene label, at least one
Gray scale policing rule is ranked up;
Gray scale user determining module 230 is used for according to the gray scale policing rule after sequence, from least one user
The corresponding gray scale user of the scene label is determined in identifier.
Gray scale strategy is abstracted into stand-alone service by the embodiment of the present invention by gray scale platform of user management, can be accomplished flexibly
Gray scale strategy is adjusted, without readjusting product characteristic entry code;Receive the field of the business of connection gray scale platform of user management
Scape label and at least one user identifier, according to the corresponding default gray scale policing rule sequence of the scene label, at least
A kind of gray scale policing rule is ranked up, and can be accomplished that different business scene corresponds to different gray scale policing rule sequences, be ensured
The personalization of business scenario;According to the gray scale policing rule after sequence, institute is determined from least one user identifier
The corresponding gray scale user of scene label is stated, realizes and is directed to the preferential to-be-experienced product of specific user group, not for different user displaying
Same product characteristic realizes the gray scale strategy in thousand people, thousand face.
Further, the gray scale user determining module is specifically used for:
According to coming last gray scale policing rule in the gray scale policing rule after the sequence, from described at least one
The corresponding user of user identifier of last gray scale policing rule is come described in being determined for compliance in user identifier to use for gray scale
Family.
Further, which further includes:
Differentiated service provides module, is used in the gray scale policing rule according to after sequence, from described at least one
After determining the corresponding gray scale user of the scene label in a user identifier, switched in user's dimension individual cultivation strategy
In the case of startup, according to the individuation data of gray scale user, differentiated service is provided for the gray scale user.
Wherein, the gray scale policing rule includes:
User identifier tail number strategy and/or user identifier white list strategy.
Wherein, the user identifier tail number strategy specifically includes:
User identifier tail number remainder and default Grey Rule value commensurate in scope.
Gray scale user management device provided by Embodiment 2 of the present invention realizes and gray scale strategy is adjusted flexibly, and ensures business
The personalization of scene shows different product characteristic for different user, realizes thousand for the preferential to-be-experienced product of specific user group
The gray scale strategy in thousand face of people.
The gray scale user management device that the embodiment of the present invention is provided can perform the ash that any embodiment of the present invention is provided
User management method is spent, has the corresponding function module of execution method and advantageous effect.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for gray scale platform of user management that the embodiment of the present invention three provides, as shown in figure 3,
The gray scale platform of user management includes processor 30, memory 31, input unit 32 and output device 33;Processor 30 in platform
Quantity can be one or more, in Fig. 3 by taking a processor 30 as an example;Processor 30, memory 31, input in platform
Device 32 can be connected with output device 33 by bus or other modes, in Fig. 3 for being connected by bus.
Memory 31 is used as a kind of computer readable storage medium, can be used for storing software program, computer can perform journey
Sequence and module, if the corresponding program instruction/module of gray scale user management method in the embodiment of the present invention is (for example, receive mould
Block 210, sorting module 220 and gray scale user determining module 230).Processor 30 is stored in soft in memory 31 by operation
Part program, instruction and module realize that above-mentioned gray scale is used to execute various function application and the data processing of equipment
Family management method.
Memory 31 mainly include storing program area and storage data field, wherein storing program area can storage program area,
Application program needed at least one function;Storage data field can be stored uses created data etc. according to terminal.In addition,
Memory 31 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk
Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 31 can be wrapped further
The memory remotely located relative to processor 30 is included, these remote memories can pass through network connection to equipment.Above-mentioned net
The example of network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 32 can be used for receiving the number or character information of input, and generate with the user setting of equipment and
The related key signals input of function control.Output device 33 may include that display screen etc. shows equipment.
Example IV
The embodiment of the present invention four also provides a kind of storage medium including computer executable instructions, and the computer can be held
When being executed by computer processor for executing a kind of gray scale user management method, this method includes for row instruction:
Receive the scene label of the business of connection gray scale platform of user management and at least one user identifier;
According to the corresponding default gray scale policing rule sequence of the scene label, at least one gray scale policing rule is carried out
Sequence;
According to the gray scale policing rule after sequence, the scene label is determined from least one user identifier
Corresponding gray scale user.
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present invention is provided, computer
The method operation that executable instruction is not limited to the described above, can also be performed the gray scale user that any embodiment of the present invention is provided
Relevant operation in management method.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.