CN110286941A - Gray scale dissemination method, device, storage medium and electronic equipment - Google Patents
Gray scale dissemination method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110286941A CN110286941A CN201910574652.9A CN201910574652A CN110286941A CN 110286941 A CN110286941 A CN 110286941A CN 201910574652 A CN201910574652 A CN 201910574652A CN 110286941 A CN110286941 A CN 110286941A
- Authority
- CN
- China
- Prior art keywords
- gray scale
- user
- strategy
- test object
- white list
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of gray scale dissemination method, device, storage medium and electronic equipment, and the gray scale dissemination method includes: S110, determines the gray scale scene of a grayscale version;S120 generates the gray scale strategy of the corresponding gray scale scene according to the edit operation to an editable page;According to the gray scale strategy white list is added so that as test object, the grayscale version is only used for the test object in multiple users by S130;S140 receives the feedback information about the grayscale version that the test object provides;S150, it will thus provide blacklist is added in the test object of the feedback information, and cancels the user in blacklist to the access right of the grayscale version;S160 receives the gray scale strategy by the editable renewal of the page, to redefine the user of white list to be added.The present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the gray scale dissemination method is more flexible, practicability is stronger.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of gray scale dissemination method, device, storage medium and electronics
Equipment.
Background technique
Gray scale publication refers to that between black and white, a kind of published method that can be seamlessly transitted, it can be formal in product
Before publication, user is allowed to participate in product test, reinforcement is interacted with user's, and obtains the suggestion feedback of user in time, into
And product function is improved, Improving The Quality of Products.
With the fast development of the technologies such as internet and mobile computing, internet product have the characteristics that one it is obvious, be exactly
It ceaselessly updates or upgrades.It, often will be in business rule, behaviour after online due to needing online new product in the business demand short time
Make to make multiple modification in convenience, forms many unnecessary secondary development.
Newly-increased product, function or component can only be verified on test environment now, be production environment after publication, very
The online bring of hardly possible analysis new product influences, and assesses the impact to existing product model, rate system.Therefore application and development
Person often allows a part of user using new function or new product etc., the purpose of to reach online test and improve;Or certain
A little certain functions of product are only open to certain user, then developer needs to configure the gray scale strategy in database, for
The access request at family is handled.
Each gray scale scene requires to develop corresponding gray scale strategy again in the prior art, and repeated workload is big, waste
Manpower.Code redundancy accumulation simultaneously, inconvenience maintenance need to modify code hair version if Developing Tactics, controlling policy response
Efficiency.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide a kind of gray scale dissemination method, device, storages to be situated between
Matter and electronic equipment, to pass through page configuration real-time update gray scale strategy, without modifying code on line.
According to an aspect of the present invention, a kind of gray scale dissemination method is provided, the gray scale dissemination method includes:
S110 determines the gray scale scene of a grayscale version;
S120 generates the gray scale strategy of the corresponding gray scale scene according to the edit operation to an editable page;
According to the gray scale strategy white list is added using as test object, the grayscale version in multiple users by S130
Only used for the test object;
S140 receives the feedback information about the grayscale version that the test object provides;
S150, it will thus provide blacklist is added in the test object of the feedback information, and cancels the user in blacklist to institute
State the access right of grayscale version;
S160 receives the gray scale strategy by the editable renewal of the page, to redefine the use of white list to be added
Family;
S170, judges whether the number of users in the white list meets the predetermined publication condition of the grayscale version;If
It is then to terminate;If it is not, then return step S130.
In one embodiment of the present invention, step S160 includes:
Safety and grammer and logic verify are carried out to updated gray scale strategy;
It is invalidation policy by previous gray scale strategy setting, and be by updated gray scale strategy setting when verifying successfully
Available strategy.
In one embodiment of the present invention, step S120 includes:
Generate the visual editable page;
The edit operation of increase, modification or deletion to the policy data of the editable page is received, to generate correspondence
The gray scale strategy of the gray scale scene.
In one embodiment of the present invention, step S160 includes:
The characteristic parameter of multiple users is obtained, the characteristic parameter includes at least User ID;
Each user is incorporated at least one the first user according to the characteristic parameter and is gathered;
White list is added in user at least one first user set.
In one embodiment of the present invention, if the number of users in blacklist exceeds preset value, the gray scale is updated
Version and return step S110.
In one embodiment of the present invention, step S150 includes:
It obtains and the characteristic parameter of the test object of the feedback information is provided;
Each user is incorporated at least one second user collection according to the characteristic parameter of the test object of the feedback information
It closes;
Blacklist is added in user at least one second user set.
In one embodiment of the present invention, before step S160 further include:
The quasi- gray scale strategy updated is provided in the editable page;
Step S160 further include:
The increase of the policy data of the gray scale strategy of the quasi- update of offer to the editable page is provided, modifies or deletes
The edit operation removed, to generate the gray scale strategy updated.
According to another aspect of the present invention, a kind of gray scale distributing device is provided, the gray scale distributing device includes:
Identification module, to determine the gray scale scene of a grayscale version;
Gray scale policy generation module, to generate the corresponding gray scale scene according to the edit operation to an editable page
Gray scale strategy;
White list module, white list is added using as test object, institute in multiple users according to the gray scale strategy
Grayscale version is stated only to use for the test object;
First receiving module, the feedback information about the grayscale version provided to receive the test object;
Black list module, blacklist is added in the test object will provide the feedback information, and cancels in blacklist
User to the access right of the grayscale version;
Second receiving module, to receive the gray scale strategy by the editable renewal of the page, to redefine to
The user of white list is added.
Whether judgment module, the number of users to judge in the white list meet the predetermined publication of the grayscale version
Condition, if it is not, white list then is added using as test in multiple users according to updated gray scale strategy by white list module
Object.
According to another aspect of the invention, a kind of storage medium is provided, is stored with computer program on the storage medium,
The computer program executes the step in gray scale dissemination method as described above when being run by processor.
According to another aspect of the invention, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
Storage medium is stored thereon with computer program, executes such as when the computer program is run by the processor
Step in the upper gray scale dissemination method.
The present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the ash
Degree dissemination method is more flexible, and practicability is stronger.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of gray scale dissemination method in one embodiment of the invention.
Fig. 2 is the local flow chart of gray scale dissemination method in another embodiment of the present invention.
Fig. 3 is the structural schematic diagram of gray scale distributing device in one embodiment of the invention.
Fig. 4 is the structural schematic diagram of computer readable storage medium in one embodiment of the invention.And
Fig. 5 is the structural schematic diagram of electronic equipment in one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
In order to solve the deficiencies in the prior art, the present invention provides a kind of gray scale dissemination method, device, storage medium and electronics
Equipment, to pass through page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the gray scale dissemination method is more
Add flexibly, practicability is stronger.According to an aspect of the present invention, a kind of gray scale dissemination method is provided, Fig. 1 is one embodiment of the invention
The flow chart of middle gray scale dissemination method.As shown in Figure 1, the gray scale dissemination method includes:
S110 determines the gray scale scene of a grayscale version.
Wherein, gray scale scene can be execution certain operation, show some application or whens using some function etc., just for
A kind of business scenario that certain customers open or configure, rather than it is directed to all users.Illustratively, some websites or visitor
Family end carries out the displaying of new function, needs to be shown some specific users, or specified user is only needed to use
This new function, this is a kind of gray scale scene.
S120 generates the gray scale strategy of the corresponding gray scale scene according to the edit operation to an editable page.
Wherein, gray scale strategy is a kind of method used when executing gray scale scene, specifically can be and how to execute new function
The method of displaying allows to show including the access request to certain user, and the execution method to certain user without displaying.
The gray scale strategy can be loaded from local cache, if not for the gray scale plan of the gray scale scene in local cache
Slightly, then it is transferred from database.The gray scale strategy of corresponding a variety of gray scale scenes can be prestored in database.
Further, step S120 includes:
The visual editable page is generated using HTML and Javascript technology;
The edit operation of increase, modification or deletion to the policy data of the editable page is received, to generate correspondence
The gray scale strategy of the gray scale scene.
Wherein, HTML, that is, hypertext markup language, JavaScript are a kind of based on object and event-driven and with phase
To the client-side scripting language of safety.Simultaneously be also it is a kind of be widely used in client Web exploitation scripting language, be commonly used to
Html web page adds dynamic function, such as the various operations of response user.The policy data can be the gray scale that system prestores
The policy data of strategy.User can reconfigure the plan by modes such as increase, modification or deletions according to actual needs
It omits data and obtains the gray scale strategy of a more suitable current gray level scene.Which the policy data edited can serve to indicate that
White list is added in user, and blacklist is added in which user, and terminate gray scale test condition etc., the present invention is not limited thereto
System.The policy data for the gray scale strategy that system prestores for example can be the hair of the previous same gray scale scene to same application of user
When cloth, the policy data of editor.
According to the gray scale strategy white list is added using as test object, the grayscale version in multiple users by S130
Only used for the test object.
Specifically, it in specific gray scale scene, when receiving the access request of user, needs first to determine access request
Affiliated gray scale scene further reads gray scale strategy corresponding with the gray scale scene in the database, passes through gray scale strategy
In the policy data that is specifically arranged judge whether active user allows to access, may further be corresponding for corresponding user configuration
Functions or operations.For example in website or client certain specific users are shown with the gray scale scene of new function, judge current
User can be demonstrated new function, then the corresponding data of new function can be configured for it.It is also possible to be wanted in gray scale scene
Some component is updated, then corresponding update file can be sent for active user, is downloaded for it and updates installation.
S140 receives the feedback information about the grayscale version that the test object provides.
Wherein, it is provided when the feedback information is usually lower than preset value by satisfaction index of the test object to grayscale version.
It gives a mark interface for example, satisfaction index can be provided to test object, when satisfaction index is lower than 60 timesharing, is provided to test object anti-
Feedforward information provides prompt, and to indicate that those users provide the feedback information of the improvement grayscale version, the present invention is not limited thereto
System.In one embodiment of the present invention, if the number of users in blacklist exceeds preset value, the grayscale version is updated simultaneously
Return step S110.For example, when providing the number of users of the feedback information beyond the 30% of this test object sum, then
The test of the grayscale version can directly be stopped, and whole to grayscale version progress according to data such as the feedback informations
Change, is then return to step S110 and carries out new round test.Preferably, after returning to step S110, when executing step S120, Xiang Yong
Family provides the policy data of the grayscale version before rectification, so that user refers to.
S150, it will thus provide blacklist is added in the test object of the feedback information, and cancels the user in blacklist to institute
State the access right of grayscale version.
Further, step S150 includes: the characteristic parameter for obtaining the test object for providing the feedback information;According to institute
The characteristic parameter for stating the test object of feedback information incorporates each user at least one second user set into;By at least one
Blacklist is added in user in two users set.
Wherein, the blacklist is used to store the User ID of denied access in the gray scale scene;It is similar with white list, it is black
List can also have different list types, store the inhomogeneous User ID of denied access.The blacklist can store in
In database or Redis system, specifically ash can be carried out according to the information of business scenario needed to read in different storage systems
Spend the execution of strategy.It certainly,, can be by the way that specific executing rule be arranged if blacklist has multiple in blacklist strategy
It exports corresponding as a result, such as setting meets any one i.e. denied access in multiple blacklists, institute can also be had to comply with
There is blacklist ability denied access.It is possible thereby to avoid that the certain customers is caused to be lost because of version updating.
S160 receives the gray scale strategy by the editable renewal of the page, to redefine white list to be added
User.
Further, step S160 includes:
Safety and grammer and logic verify are carried out to updated gray scale strategy;
It is invalidation policy by previous gray scale strategy setting, and be by updated gray scale strategy setting when verifying successfully
Available strategy.
Specifically, executing abovementioned steps S130 according only to available strategy.In the present embodiment, according to drools regulation engine
Safety and grammer and logic verify are carried out to updated gray scale strategy.It is required that user input several pairs it is expected into ginseng value with
It is expected that ginseng value out, if updated gray scale strategy and the result of expectation operation mismatch, user can pass through log platform
Real-time query, log platform have recorded the whole process of verification, can learn the reason of aforementioned result does not match rapidly.
In another embodiment of the invention, before step S160 further include: the Yu Suoshu editable page provides quasi- update
Gray scale strategy.
Accordingly, step S160 further include:
The increase of the policy data of the gray scale strategy of the quasi- update of offer to the editable page is provided, modifies or deletes
The edit operation removed, to generate the gray scale strategy updated.
S170, judges whether the number of users in the white list meets the predetermined publication condition of the grayscale version;If
It is then to terminate;If it is not, then return step S130.
In the present embodiment, the quasi- gray scale strategy updated can be generated according to groovy rule.Groovy is based on Java
One multi-functional dynamic language of platform development, it has the function of static types and static compilation.Groovy has strong
Big characteristic, such as script function, DSL (Domain-Specific Language) language are write, member when operation and when compiling
Program (meta-programming) and functional expression programming.
To sum up, to improve the acceptance of user first gray scale test can be carried out according to default rule, further according to user
Feedback neatly adjusts gray scale strategy, thus in the case where guaranteeing that user is not lost, preferably promotes new function.It requires emphasis
, the present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the gray scale is sent out
Cloth method is more flexible, and practicability is stronger.
Fig. 2 is the local flow chart of gray scale dissemination method in another embodiment of the present invention.As shown in Fig. 2, of the invention
It is described that multiple users are added to wrap as the step of test object by white list according to the gray scale strategy in another embodiment
It includes:
S21O, obtains the characteristic parameter of multiple users, and the characteristic parameter includes at least User ID;
Each user is incorporated at least one the first user according to the characteristic parameter and is gathered by S22O;
White list is added in user at least one first user set by S23O.
Wherein, User ID can be in some websites or client for uniquely distinguishing the mark of user identity.It is described
Characteristic parameter can also include the period of access application, the frequency of access application etc..There may be multiple users set, often
A user can belong to one or more user's set.When the characteristic parameter includes other outside User ID, can adopt
The characteristic parameter is verified with drools.Drools (JBoss Rules) have an easily accessed business strategy, easily
In the open source Business Rule Engine for adjusting and being easily managed, meet standard in the industry, speed is fast, high-efficient.Business diagnosis teacher or
Auditor can use it and easily check business rule, to check whether that encoded rule performs required business rule
Then.Illustratively, it if in the gray scale scene of new function for showing some client or website for specific user, for example needs
For User ID tail number be 3 user and develop the ID of personnel of a project team of this website and configure and show this new function,
Then policy data may include: specific whitelisted content, i.e., the ID of stored items group personnel is in white list;User ID is default
Digit information is set as tail number, and specific value is set as 3.It can be suitable a kind of or more according to being selected in different gray scale scenes
Kind gray scale strategy, and corresponding policy data is needed to configure according to specific business.Optionally, the gray scale strategy may include:
Presetting digit capacity information and gray scale interval, the gray scale interval is used to indicate to allow and/or the User ID of denied access presets position
Numerical value;Wherein, presetting digit capacity can be a certain position in User ID or a few positions, gray scale interval can be certain in User ID
One or a few specific value.Illustratively, User ID 123456789, presetting digit capacity can be last two.It is optional
, the gray scale interval can store in Redis system or zookeeper system, specifically can be according to the need of business scenario
Read the execution that the information in different storage systems carries out gray scale strategy.Registration monitoring is carried out by zookeeper, works as gray scale
When strategy change, the machines inside all deployment clusters all can be notified, can actively go to pull newest gray scale strategy and incite somebody to action
It is stored into local cache.
Illustratively, if selected in specific gray scale scene to User ID tail number be 9 user's displaying new function or
Other operations, presetting digit capacity information are last position, and gray scale interval 9, representing ID tail number as 9 user is that can permit access
's.Meanwhile by User ID tail number strategy, control high-volume can also be carried out, it is assumed that User ID tail number is distributed between 0 to 9
User's number be uniform, then User ID tail number select to allow access for 1 user, select User ID tail number for 1 and 3
User allows to access, User ID tail number is selected to allow to access for 1,3 and 5 user, so that it may control respectively high-volume 10%,
20% and 30%.The white list is used to store the User ID for allowing to access in the gray scale scene;Wherein, according to actual industry
Business needs to have different white list types.The white list can store in database or Redis system, specifically can be with
The execution of gray scale strategy is carried out according to the information of business scenario needed to read in different storage systems.Illustratively, if
During above-mentioned new function is shown, there are two texts of A and B to show, and A text is shown just for M class user, B text is only
It is shown for N class user.White list in this gray scale scene can be arranged two, and a white list deposits the User ID of M class,
Another white list deposits the User ID of N class.It certainly, can be by the way that specific executing rule be arranged if white list has multiple
It exports corresponding as a result, any one the i.e. permissible access met in multiple white lists is such as arranged, can also have to comply with
All white lists just allow to access.The present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify the line previous generations
Code, so that the gray scale dissemination method is more flexible, practicability is stronger.
According to another aspect of the invention, a kind of gray scale distributing device is provided.Fig. 3 is that gray scale is sent out in one embodiment of the invention
The structural schematic diagram of cloth apparatus.As shown in figure 3, the gray scale distributing device 300 includes: identification module 301, gray scale strategy generating
Module 302, white list module 303, the first receiving module 304, black list module 305, the second receiving module 306 and judge mould
Block 307.Gray scale scene of the identification module 301 to determine a grayscale version;The gray scale policy generation module 302 to
The gray scale strategy of the corresponding gray scale scene is generated according to the edit operation to an editable page;The white list module 303
White list is added so that as test object, the grayscale version only supplies the survey in multiple users according to the gray scale strategy
Object is tried to use;First receiving module 304 is to receive that the test object provides about the anti-of the grayscale version
Feedforward information;Blacklist is added will provide the test object of the feedback information in the black list module 305, and cancels black name
The access right of user in list to the grayscale version;Second receiving module 306, to receive through the editable
The gray scale strategy of renewal of the page, to redefine the user of white list to be added;The judgment module 307 is described to judge
Whether the number of users in white list meets the predetermined publication condition of the grayscale version;If so, terminating, if it is not, then passing through
According to updated gray scale strategy white list is added using as test object in multiple users by white list module 30.
The present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the ash
Degree dissemination method is more flexible, and practicability is stronger.
Fig. 3 is only to show schematically gray scale distributing device 300 provided by the invention, without prejudice to present inventive concept
Under the premise of, the fractionation of module, increases all within protection scope of the present invention merging.Gray scale distributing device provided by the invention
300 can be realized that the present invention is not limited thereto by software, hardware, firmware, plug-in unit and any combination between them.
Fig. 4 is the structural schematic diagram of computer readable storage medium in one embodiment of the invention.Fig. 4 is described according to this hair
The program product 600 for realizing the above method of bright embodiment can use portable compact disc read only memory
(CD-ROM) it and including program code, and can be run on terminal device, such as PC.However, program of the invention
Product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the program
Execution system, device or device use or in connection can be commanded.
Described program product 600 can be using any combination of one or more readable mediums.Readable medium can be can
Read signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared
The system of line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing is (non-
The list of exhaustion) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM),
Read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, the read-only storage of portable compact disc
Device (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).The present invention can by page configuration real-time update gray scale strategy, and it is not necessary to modify code on line,
So that the gray scale dissemination method is more flexible, practicability is stronger.
In an exemplary embodiment of the present invention, a kind of electronic equipment is also provided, which may include processor,
And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution
Executable instruction executes gray scale dissemination method described in above-described embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 400 of this embodiment according to the present invention is described referring to Fig. 5.The electronics that Fig. 5 is shown
Equipment 400 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, electronic equipment 400 is showed in the form of universal computing device.The component of electronic equipment 400 can wrap
It includes but is not limited to: at least one processing unit 410, at least one storage unit 420, (including the storage of the different system components of connection
Unit 420 and processing unit 410) bus 430, display unit 440 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 410
Row, so that various examples according to the present invention described in the execution above-mentioned gray scale dissemination method of this specification of the processing unit 410
The step of property embodiment.For example, the processing unit 410 can execute step as shown in fig. 1.
The storage unit 420 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 4201 and/or cache memory unit 4202 can further include read-only memory unit (ROM) 4203.
The storage unit 420 can also include program/practical work with one group of (at least one) program module 4205
Tool 4204, such program module 4205 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 430 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 400 can also be with one or more external equipments 500 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 400 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 400 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 450.Also, electronic equipment 400 can be with
By network adapter 460 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 460 can be communicated by bus 430 with other modules of electronic equipment 400.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 400, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned gray scale of embodiment according to the present invention
Dissemination method.The present invention can be by page configuration real-time update gray scale strategy, and it is not necessary to modify codes on line, so that the ash
Degree dissemination method is more flexible, and practicability is stronger.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (10)
1. a kind of gray scale dissemination method, which comprises the steps of:
S110 determines the gray scale scene of a grayscale version;
S120 generates the gray scale strategy of the corresponding gray scale scene according to the edit operation to an editable page;
According to the gray scale strategy white list is added so that as test object, the grayscale version is only supplied in multiple users by S130
The test object uses;
S140 receives the feedback information about the grayscale version that the test object provides;
S150, it will thus provide blacklist is added in the test object of the feedback information, and cancels the user in blacklist to the ash
Spend the access right of version;
S160 receives the gray scale strategy by the editable renewal of the page, to redefine the user of white list to be added;
S170, judges whether the number of users in the white list meets the predetermined publication condition of the grayscale version;If so,
Terminate;If it is not, then return step S130.
2. gray scale dissemination method according to claim 1, which is characterized in that step S160 includes:
Safety and grammer and logic verify are carried out to updated gray scale strategy;
It is invalidation policy by previous gray scale strategy setting, and be effective by updated gray scale strategy setting when verifying successfully
Strategy.
3. gray scale dissemination method according to claim 1, which is characterized in that step S120 includes:
Generate the visual editable page;
The edit operation of increase, modification or deletion to the policy data of the editable page is received, to generate described in correspondence
The gray scale strategy of gray scale scene.
4. gray scale dissemination method according to claim 1, which is characterized in that step S160 includes:
The characteristic parameter of multiple users is obtained, the characteristic parameter includes at least User ID;
Each user is incorporated at least one the first user according to the characteristic parameter and is gathered;
White list is added in user at least one first user set.
5. gray scale dissemination method according to claim 1, which is characterized in that if the number of users in blacklist is beyond default
Value then updates the grayscale version and return step S110.
6. gray scale dissemination method according to claim 1, which is characterized in that step S150 includes:
It obtains and the characteristic parameter of the test object of the feedback information is provided;
Each user is incorporated at least one second user set according to the characteristic parameter of the test object of the feedback information;
Blacklist is added in user at least one second user set.
7. gray scale dissemination method according to claim 1, which is characterized in that
Before step S160 further include:
The quasi- gray scale strategy updated is provided in the editable page;
Step S160 further include:
Increase, modification or the deletion of the policy data of the gray scale strategy of the quasi- update of offer to the editable page are provided
Edit operation, to generate the gray scale strategy updated.
8. a kind of gray scale distributing device characterized by comprising
Identification module, to determine the gray scale scene of a grayscale version;
Gray scale policy generation module, to generate the ash of the corresponding gray scale scene according to the edit operation to an editable page
Degree strategy;
White list module, white list is added using as test object, the ash in multiple users according to the gray scale strategy
Version is spent only to use for the test object;
First receiving module, the feedback information about the grayscale version provided to receive the test object;
Black list module, blacklist is added in the test object will provide the feedback information, and cancels the use in blacklist
Access right of the family to the grayscale version;
Second receiving module is to be added white to redefine to receive the gray scale strategy by the editable renewal of the page
The user of list;
Whether judgment module, the number of users to judge in the white list meet the predetermined publication item of the grayscale version
Part, if it is not, then by white list module according to updated gray scale strategy by multiple users be added white list using as test pair
As.
9. a kind of storage medium, which is characterized in that be stored with computer program, the computer program quilt on the storage medium
Processor executes step as described in any one of claim 1 to 7 when running.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Storage medium is stored thereon with computer program, and such as right is executed when the computer program is run by the processor
It is required that 1 to 7 described in any item steps.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910574652.9A CN110286941A (en) | 2019-06-28 | 2019-06-28 | Gray scale dissemination method, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910574652.9A CN110286941A (en) | 2019-06-28 | 2019-06-28 | Gray scale dissemination method, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110286941A true CN110286941A (en) | 2019-09-27 |
Family
ID=68019917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910574652.9A Withdrawn CN110286941A (en) | 2019-06-28 | 2019-06-28 | Gray scale dissemination method, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110286941A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111338824A (en) * | 2020-02-27 | 2020-06-26 | 中国联合网络通信集团有限公司 | Gray scale distribution method and device, electronic equipment and storage medium |
CN111488159A (en) * | 2019-12-20 | 2020-08-04 | 杭州当虹科技股份有限公司 | Gray scale publishing method capable of being dynamically configured |
CN111625271A (en) * | 2020-06-04 | 2020-09-04 | 中国银行股份有限公司 | White list updating method and device, storage medium and equipment |
CN111767073A (en) * | 2019-12-04 | 2020-10-13 | 北京沃东天骏信息技术有限公司 | Method, device, equipment and computer readable medium for issuing gray scale |
CN111815401A (en) * | 2020-06-16 | 2020-10-23 | 上海悦易网络信息技术有限公司 | Method and device for ordering flow control |
CN111858316A (en) * | 2020-06-30 | 2020-10-30 | 海尔优家智能科技(北京)有限公司 | Scene publishing method and device, storage medium and electronic device |
CN112835606A (en) * | 2021-03-31 | 2021-05-25 | 中国工商银行股份有限公司 | Gradation issuing method, gradation issuing apparatus, electronic device, gradation issuing medium, and program product |
CN112925528A (en) * | 2021-01-28 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN113568837A (en) * | 2021-07-30 | 2021-10-29 | 网易(杭州)网络有限公司 | Application program testing method and device, electronic equipment and storage medium |
CN114928479A (en) * | 2022-05-12 | 2022-08-19 | 中国工商银行股份有限公司 | Gray scale distribution method, system, device, computer equipment and storage medium |
-
2019
- 2019-06-28 CN CN201910574652.9A patent/CN110286941A/en not_active Withdrawn
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111767073A (en) * | 2019-12-04 | 2020-10-13 | 北京沃东天骏信息技术有限公司 | Method, device, equipment and computer readable medium for issuing gray scale |
CN111488159A (en) * | 2019-12-20 | 2020-08-04 | 杭州当虹科技股份有限公司 | Gray scale publishing method capable of being dynamically configured |
CN111338824B (en) * | 2020-02-27 | 2023-08-15 | 中国联合网络通信集团有限公司 | Gray release method and device, electronic equipment and storage medium |
CN111338824A (en) * | 2020-02-27 | 2020-06-26 | 中国联合网络通信集团有限公司 | Gray scale distribution method and device, electronic equipment and storage medium |
CN111625271A (en) * | 2020-06-04 | 2020-09-04 | 中国银行股份有限公司 | White list updating method and device, storage medium and equipment |
CN111815401A (en) * | 2020-06-16 | 2020-10-23 | 上海悦易网络信息技术有限公司 | Method and device for ordering flow control |
CN111815401B (en) * | 2020-06-16 | 2024-02-13 | 上海万物新生环保科技集团有限公司 | Order flow control method and equipment |
CN111858316A (en) * | 2020-06-30 | 2020-10-30 | 海尔优家智能科技(北京)有限公司 | Scene publishing method and device, storage medium and electronic device |
CN112925528A (en) * | 2021-01-28 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112925528B (en) * | 2021-01-28 | 2024-06-04 | 北京达佳互联信息技术有限公司 | Data transmission method, device, electronic equipment and storage medium |
CN112835606A (en) * | 2021-03-31 | 2021-05-25 | 中国工商银行股份有限公司 | Gradation issuing method, gradation issuing apparatus, electronic device, gradation issuing medium, and program product |
CN112835606B (en) * | 2021-03-31 | 2024-01-30 | 中国工商银行股份有限公司 | Gray release method and device, electronic equipment and medium |
CN113568837A (en) * | 2021-07-30 | 2021-10-29 | 网易(杭州)网络有限公司 | Application program testing method and device, electronic equipment and storage medium |
CN114928479B (en) * | 2022-05-12 | 2024-02-02 | 中国工商银行股份有限公司 | Gray scale issuing method, system, device, computer equipment and storage medium |
CN114928479A (en) * | 2022-05-12 | 2022-08-19 | 中国工商银行股份有限公司 | Gray scale distribution method, system, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110286941A (en) | Gray scale dissemination method, device, storage medium and electronic equipment | |
US11868231B2 (en) | System and method for evaluating code by a hybrid of local and cloud-based computers | |
US11481313B2 (en) | Testing framework for automation objects | |
US11640566B2 (en) | Industrial programming development with a converted industrial control program | |
CN112631555B (en) | System and method for developing industrial applications | |
US11681512B2 (en) | Industrial automation smart object inheritance | |
US11163536B2 (en) | Maintenance and commissioning | |
CN105022630B (en) | A kind of assembly management system and assembly management method | |
CN106843976B (en) | Method and apparatus for generating image file | |
CA3050159A1 (en) | Artificial intelligence (ai) based automatic rule generation | |
CN107861736A (en) | Patch generates and update method and device, electronic equipment, storage medium | |
CN112148278A (en) | Visual block chain intelligent contract framework and intelligent contract development and deployment method | |
CN109799985A (en) | Front-end code generation method and device, storage medium and electronic equipment | |
EP4137937A1 (en) | Industrial automation project library cross sharing | |
CN116450464B (en) | Operation and maintenance management method, system and equipment | |
US20230152790A1 (en) | System model smart object configuration | |
CN102222193A (en) | Data permission setting device and data permission setting method | |
EP4060479A1 (en) | Notifications from an industrial automation development environment | |
US11816238B2 (en) | Assignment of computer privileges to user based on automated skill estimate | |
US12014172B2 (en) | Presentation design dynamic generation from data model server | |
Complak et al. | Use cases and object modelling using ArgoUML | |
US20230091963A1 (en) | Industrial automation project design telemetry | |
EP4134815A1 (en) | Industrial automation smart object parent/child data collection propagation | |
CN114385122A (en) | Visualization rule arranging system, method, storage medium and electronic device | |
Newman et al. | pnnl/MCOR |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190927 |
|
WW01 | Invention patent application withdrawn after publication |