CN108509230A - Fine intelligence gray scale delivery system - Google Patents

Fine intelligence gray scale delivery system Download PDF

Info

Publication number
CN108509230A
CN108509230A CN201810200944.1A CN201810200944A CN108509230A CN 108509230 A CN108509230 A CN 108509230A CN 201810200944 A CN201810200944 A CN 201810200944A CN 108509230 A CN108509230 A CN 108509230A
Authority
CN
China
Prior art keywords
gray scale
user
uid
identification information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810200944.1A
Other languages
Chinese (zh)
Other versions
CN108509230B (en
Inventor
苗江波
王海洋
张旭荣
戎娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhou Pu Data Technology Nanjing Co Ltd
Original Assignee
Zhou Pu Data Technology Nanjing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhou Pu Data Technology Nanjing Co Ltd filed Critical Zhou Pu Data Technology Nanjing Co Ltd
Priority to CN201810200944.1A priority Critical patent/CN108509230B/en
Publication of CN108509230A publication Critical patent/CN108509230A/en
Application granted granted Critical
Publication of CN108509230B publication Critical patent/CN108509230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions

Abstract

The present invention relates to fine intelligence gray scale delivery systems, belong to gray scale delivery system;Whether advanced access customer has identification information module after system starts, and enters if having identification information and distributes Version module according to identification information;Enter system stable release module if without identification information, is then again introduced into and distributes Version module according to identification information, finally enter system latest edition module;Wherein user whether have identification information module in system judge user whether there is have corresponding user identifier;User is using web terminal or mobile terminal login system.By feedback information and data analysis information, this technology being capable of intelligent analysis publication prediction scheme;Gradually ensure that the version that user uses is consistent by orienting group in the case of unaware.

Description

Fine intelligence gray scale delivery system
Technical field
The present invention relates to fine intelligence gray scale delivery systems.
Background technology
Gray scale publication refers to a kind of published method that can seamlessly transit between black and white.AB test are exactly a kind of ash Published method is spent, a part of user is allowed to continue to use A, a part of user starts to use B, if user does not have any opposing views to B, So gradually expanded scope all moves to all users above B to come.Gray scale issues the stabilization that can ensure total system, It can be found when initial gray, adjustment problem, to ensure its disturbance degree.
There are one features for internet product, are exactly ceaselessly to upgrade, upgrading, then upgrade.Many project team, are kept substantially Publication frequency once a week, system upgrade invariably accompany risk, the risk of new and old edition compatibility, and user's use habit is unexpected Change and cause the risk of customer loss, in order to avoid these risks, many products all use risk ... the .. of system down machines The strategy of gray scale publication, main thought are exactly that influence is focused on a point, then diffuse to face again, are occurred unexpected It is easy for retracting after situation.
Existing system distribution technology defect:It is all using user's progress version updating and upgrading that system can be directed to, after update System the problem of be presented to comprehensively in face of all users, coverage is too wide, poor user experience, cannot meet and is System durability requirements.
The gray scale delivery system in industry is issued for user area property at present, cannot hair required for fine-grained control again The customer group of cloth.And conveniently can not be positive in system feedback, system feedback information not enough refines.
Invention content
In view of the defects and deficiencies of the prior art, the present invention intends to provide a kind of reasonable designs, easy to operate Fine intelligence gray scale delivery system.
To achieve the above object, the technical solution adopted by the present invention is:Whether advanced access customer has identification after system starts Information module enters if having identification information and distributes Version module according to identification information;Enter system if without identification information Stable release module is then again introduced into and distributes Version module according to identification information, finally enters system latest edition module;Its Middle user whether have identification information module in system judge user whether there is have corresponding user identifier;User is using web End or mobile terminal login system are needed to judge that user whether there is user identity information, using uid, be carried out according to whether existing The forwarding of back-end version;There are uid to also need to judge that uid issues shape in the distribution Version module according to identification information State;After the request of existing uid enters, states of the uid in gray scale publication is judged, according to the uid progress of backstage distribution Match, forwarding subsequent request to corresponding system;User identifier is not present in user in the system stable release module;User does not deposit It identifying, user is then directly requested assignment to stable release by gray scale delivery system, and stable release can give one uid of the user, Subsequent request to be forwarded according to there are the case where uid;If user uid, not in issued state, ask the visitor in by institute for gray scale system It asks and is transmitted to stable versions and is handled, user will not perceive the publication of new version;The system latest edition module In if user uid is there are in issued state, all requests are transmitted to latest versions and handled by gray scale system, and user will Experience the system service of new most version.
For the entrance of HTTP request all on request debugger, request debugger can be according to location in the system of the present invention Configuration carry out uri selection.Request data can judge whether current application has been switched on gray scale at this time, judge to be application again Then the gray scale of rank or the gray scale of service class carry out gray scale, currently according to the gray scale strategy of gray scale control platform configuration Support designated user uid, regular expression etc..Gray scale control platform can call engine management to execute corresponding instruction, be closed It closes, open, more new strategy and uid setting etc., each nginx reload and can manage system calling when restarting from gray scale and connect again Mouth reads the information of configuration application, is added and caches.
The present invention is for improving performance, and whether the data buffer storages such as gray scale exist by the essential information of application, gray scale strategy, uid In the shared drive block of nginx, each worker processes of nginx share this data, are carried out under the manipulation of engine management Data cached update.
Debugger in present system cooperates with debugging core;Include current reference wherein in debugging core, draw Hold up management, the villages caching gray scale list He Hua gray scale strategy;Comprising receiving, front end is asked, grey states are sentenced in the current reference Disconnected, gray scale strategy judges and the forwarding of gray scale strategy;The engine management includes load gray scale strategy, update gray scale strategy, safeguards Gray scale list and the forwarding of gray scale strategy;Gray scale strategy is forwarded to stable application system or gray scale application system by the debugger.
One completely new correcting system of fine intelligence gray scale delivery system of the present invention or website are formal not yet Small category is first carried out before publication, screening designated user issues, by the summary of announced user data go wrong with And area for improvement, a kind of orientable intelligent gray scale distribution technology carried out comprehensively again after improving.
Corresponding adjustment and perfect can be made to system according to the feedback of the user of latest versions, improving stability Meanwhile the use system processing relevant work that a user for being mostly in stable versions stablizes can be thought deeply.
With the above structure, fine intelligence gray scale delivery system of the present invention, has the advantages that:Change Being reduced in kind tradition gray scale issuing process again can be to highdensity collection feedback information while reaching the standard grade risk;Reducing influences model It encloses, and range-controllable is in simple grain degree group;The dependence to test is reduced, the data configuration cost tested oneself under line is reduced;It is specific Request can point at specific server, facilitate Centralized Monitoring daily record, facilitate tracking is complete to call link;Facilitate system stream Amount incision;Facilitate rollback;Specified specific crowd, facilitates system to pay a return visit, product demand is facilitated to collect, improve product function, is promoted Product quality;By feedback information and data analysis information, this technology being capable of intelligent analysis publication prediction scheme;In the feelings of unaware Gradually ensure that the version that user uses is consistent by orienting group under condition.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the system diagram of the present invention;
Fig. 3 is the internal module block diagram that core is debugged in the present invention.
Specific implementation mode
The present invention will be further described below with reference to the drawings.
Referring to such as Fig. 1 -- shown in Fig. 3, whether advanced access customer has identification information after the system startup of present embodiment Module, whether the user, which has in identification information module, is equipped with S10, enters if having identification information and distributes version according to identification information This module, described distributed according to identification information are equipped with S20 in Version module;Enter system stable release if without identification information Module is equipped with S11 and S21 in the system stable release module, is then again introduced into and distributes Version module according to identification information, System latest edition module is finally entered, S30 is equipped in the system latest edition module;
Wherein, S10:Judge user with the presence or absence of there is corresponding user identifier;User is logging in system using web terminal or mobile terminal System needs to judge that user whether there is user identity information, using uid, according to whether there is the forwarding for carrying out back-end version;
S20:There are uid to also need to carry out judging uid issued states;After the request of existing uid enters, judge the uid in ash State in degree publication is matched, forwarding subsequent request to corresponding system according to the uid of backstage distribution;
S11:User identifier is not present in user;There is no mark, gray scale delivery systems then directly to request assignment to user by user Stable release, stable release can give one uid of the user, subsequent request to be forwarded according to there are the case where uid;
S21:If user uid, not in issued state, all requests are transmitted to stable versions and handled by gray scale system, User will not perceive the publication of new version;
S30:If user uid is there are in issued state, all requests are transmitted to latest versions and handled by gray scale system, User will experience the system service of new most version.
For the entrance of HTTP request all on request debugger, request debugger can basis in the system of present embodiment The configuration of location carries out the selection of uri.Request data can judge whether current application has been switched on gray scale at this time, sentence again Disconnected is the gray scale of the gray scale of application level or service class, then carries out ash according to the gray scale strategy of gray scale control platform configuration Degree, it is current to support designated user uid, regular expression etc..Gray scale control platform can call engine management to execute corresponding instruction, It closed, opened, more new strategy and uid setting etc., each nginx reload and can manage system when restarting from gray scale again Calling interface reads the information of configuration application, and caching is added.
Present embodiment for improving performance, the essential information of application, gray scale strategy, uid whether the data such as gray scale It is buffered in the shared drive block of nginx, each worker processes of nginx share this data, in the manipulation of engine management It is lower to carry out data cached update.
Debugger in present embodiment system cooperates with debugging core;Wherein debug in core includes engine Core, engine management, the villages caching gray scale list He Hua gray scale strategy;Include to receive front end request, gray scale in the current reference Condition adjudgement, gray scale strategy judge and the forwarding of gray scale strategy;The engine management includes load gray scale strategy, update gray scale plan Slightly, gray scale list and the forwarding of gray scale strategy are safeguarded;Gray scale strategy is forwarded to stable application system to the debugger or gray scale is answered Use system.
One completely new correcting system of fine intelligence gray scale delivery system of present embodiment or website are also Without first carrying out small category before formally publication, screening designated user issues, is summarized by announced user data It goes wrong and area for improvement, a kind of orientable intelligent gray scale distribution technology carried out comprehensively again after improving.
Corresponding adjustment and perfect can be made to system according to the feedback of the user of latest versions, improving stability Meanwhile the use system processing relevant work that a user for being mostly in stable versions stablizes can be thought deeply.
With the above structure, present embodiment has the advantages that:
1, being reduced in the traditional gray scale issuing process of improvement again can be to highdensity collection feedback information while reaching the standard grade risk;
2, coverage is reduced, and range-controllable is in simple grain degree group;
3, the dependence to test is reduced, the data configuration cost tested oneself under line is reduced;
4, specific request can point at specific server, facilitate Centralized Monitoring daily record, facilitate tracking is complete to call link;
5, flow system flow is facilitated to cut;
6, facilitate rollback;
7, specific crowd is specified, facilitates system to pay a return visit, product demand is facilitated to collect, improve product function, Improving The Quality of Products;
8, by feedback information and data analysis information, this technology being capable of intelligent analysis publication prediction scheme;
9, gradually ensure that the version that user uses is consistent by orienting group in the case of unaware;
10, it avoids stopping servicing bringing bad experience to user.
The above is merely illustrative of the technical solution of the present invention and unrestricted, and those of ordinary skill in the art are to this hair The other modifications or equivalent replacement that bright technical solution is made, as long as it does not depart from the spirit and scope of the technical scheme of the present invention, It is intended to be within the scope of the claims of the invention.

Claims (4)

1. fine intelligence gray scale delivery system, it is characterised in that:Whether advanced access customer has identification information mould after system starts Block enters if having identification information and distributes Version module according to identification information;Enter system if without identification information and stablizes version This module is then again introduced into and distributes Version module according to identification information, finally enters system latest edition module;Wherein user Whether have identification information module in system judge user whether there is have corresponding user identifier;User is using web terminal or shifting Moved end login system needs to judge that user whether there is user identity information, and using uid, rear end version is carried out according to whether existing This forwarding;There are uid to also need to carry out judging uid issued states in the distribution Version module according to identification information;It has deposited After the request of uid enters, judges states of the uid in gray scale publication, matched, forwarded according to the uid of backstage distribution Subsequent request is to corresponding system;User identifier is not present in user in the system stable release module;Mark is not present in user, User is then directly requested assignment to stable release by gray scale delivery system, and stable release can give one uid of the user, subsequent request It to be forwarded according to there are the case where uid;If user uid, not in issued state, all requests are transmitted to by gray scale system Stable versions are handled, and user will not perceive the publication of new version;In the system latest edition module if with Family uid is there are in issued state, and all requests are transmitted to latest versions and handled by gray scale system, and user will experience newly The system service of most version.
2. fine intelligence gray scale delivery system according to claim 1, it is characterised in that:HTTP request enters in system For mouth all on request debugger, request debugger can carry out the selection of uri according to the configuration of location;Request data meeting at this time Judge whether current application has been switched on gray scale, again judge be application level gray scale or service class gray scale, then Gray scale is carried out according to the gray scale strategy of gray scale control platform configuration, it is current to support designated user uid, regular expression etc.;Gray scale Control platform can call engine management to execute corresponding instruction, closed, opened, more new strategy and uid setting etc., every time Again reload and the information that can read configuration application when restarting from gray scale management system call interfaces, addition cache nginx.
3. fine intelligence gray scale delivery system according to claim 2, it is characterised in that:Debugger in system and tune Core is tried to cooperate;It wherein debugs in core comprising current reference, engine management, the villages caching gray scale list He Hua gray scale plan Slightly;Comprising receiving, front end request, grey states judgement, gray scale strategy judges and the forwarding of gray scale strategy in the current reference;Institute Engine management is stated to include load gray scale strategy, update gray scale strategy, safeguard gray scale list and the forwarding of gray scale strategy;The debugger Gray scale strategy is forwarded to stable application system or gray scale application system.
4. fine intelligence gray scale delivery system according to claim 2, it is characterised in that:The essential information of its application, Gray scale strategy, uid whether the data buffer storages such as gray scale in the shared drive block of nginx, each worker processes of nginx are total This data is enjoyed, data cached update is carried out under the manipulation of engine management.
CN201810200944.1A 2018-03-12 2018-03-12 High-precision intelligent gray scale release system Active CN108509230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810200944.1A CN108509230B (en) 2018-03-12 2018-03-12 High-precision intelligent gray scale release system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810200944.1A CN108509230B (en) 2018-03-12 2018-03-12 High-precision intelligent gray scale release system

Publications (2)

Publication Number Publication Date
CN108509230A true CN108509230A (en) 2018-09-07
CN108509230B CN108509230B (en) 2021-03-23

Family

ID=63377459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810200944.1A Active CN108509230B (en) 2018-03-12 2018-03-12 High-precision intelligent gray scale release system

Country Status (1)

Country Link
CN (1) CN108509230B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739537A (en) * 2018-12-29 2019-05-10 中电福富信息科技有限公司 A kind of gray scale release management platform and gray scale method for release management
CN110784409A (en) * 2019-10-31 2020-02-11 湖南御家科技有限公司 Spring Cloud-based micro-service gray level publishing method
CN112181475A (en) * 2019-07-04 2021-01-05 深圳市观麦网络科技有限公司 Gray scale publishing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176790A (en) * 2011-12-26 2013-06-26 阿里巴巴集团控股有限公司 Application releasing method and application releasing system
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176790A (en) * 2011-12-26 2013-06-26 阿里巴巴集团控股有限公司 Application releasing method and application releasing system
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739537A (en) * 2018-12-29 2019-05-10 中电福富信息科技有限公司 A kind of gray scale release management platform and gray scale method for release management
CN112181475A (en) * 2019-07-04 2021-01-05 深圳市观麦网络科技有限公司 Gray scale publishing method and device
CN110784409A (en) * 2019-10-31 2020-02-11 湖南御家科技有限公司 Spring Cloud-based micro-service gray level publishing method
CN110784409B (en) * 2019-10-31 2022-08-09 长沙水羊网络科技有限公司 Spring Cloud-based micro-service gray level publishing method

Also Published As

Publication number Publication date
CN108509230B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN108509230A (en) Fine intelligence gray scale delivery system
US7853609B2 (en) Update distribution system architecture and method for distributing software
KR100942127B1 (en) Tag-based schema for distributing update metadata in an update distribution system
US9607001B2 (en) Automated failover of a metadata node in a distributed file system
CN106021445B (en) It is a kind of to load data cached method and device
CN102081650A (en) Method for rapidly displaying user interface of embedded type platform
US20140019495A1 (en) Processing a file system operation in a distributed file system
CN105827446A (en) Intelligent traffic API gateway and intelligent traffic service system
US20110082833A1 (en) Database parallel editing method
US20080005747A1 (en) System and method for object state management
CN106357778A (en) Session information sharing method, device and system
CN103729247B (en) Data acquisition request processing method and system and server
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
AU2006298750A1 (en) System and method to maintain coherence of cache contents in a multi-tier software system aimed at interfacing large databases
CN105677789A (en) Method and system for managing directory capacity of distributed file system
CN108334370A (en) A kind of software auto-increment update upgrade method of distributed test system
CN109360029B (en) Self-management method of remote terminal advertising machine
CN104615710A (en) Electronic map frame data updating method
CN104462497A (en) Crossing-base transaction processing method and system based on relational databases
CN106557347A (en) Oftware updating method and device
CN106713391A (en) Session information sharing method and sharing system
CN110019469A (en) Distributed data base data processing method, device, storage medium and electronic device
CN102075581A (en) Data transmission method and device oriented to distributed file system
CN104967532A (en) TOC technology operation and maintenance system and application method
CN109743233A (en) A kind of pair of strong identity authentication system carries out the method and computer equipment of data acquisition

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
GR01 Patent grant
GR01 Patent grant