CN112130894B - Gray scale release management system, method and equipment applying characteristic switch - Google Patents

Gray scale release management system, method and equipment applying characteristic switch Download PDF

Info

Publication number
CN112130894B
CN112130894B CN202011057421.XA CN202011057421A CN112130894B CN 112130894 B CN112130894 B CN 112130894B CN 202011057421 A CN202011057421 A CN 202011057421A CN 112130894 B CN112130894 B CN 112130894B
Authority
CN
China
Prior art keywords
characteristic
switch
management
characteristic switch
information
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.)
Active
Application number
CN202011057421.XA
Other languages
Chinese (zh)
Other versions
CN112130894A (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.)
Jiangsu Suning Bank Co Ltd
Original Assignee
Jiangsu Suning Bank 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 Jiangsu Suning Bank Co Ltd filed Critical Jiangsu Suning Bank Co Ltd
Priority to CN202011057421.XA priority Critical patent/CN112130894B/en
Publication of CN112130894A publication Critical patent/CN112130894A/en
Application granted granted Critical
Publication of CN112130894B publication Critical patent/CN112130894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

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 invention provides a gray scale release management system, method and device applying a characteristic switch, wherein the gray scale release management system comprises a product characteristic management platform, an SCM configuration center and a service system; the product characteristic management platform is used for receiving external access to create a characteristic switch and configuring information of the characteristic switch; the SCM configuration center is used for updating the characteristic switch information from the product characteristic management platform according to the application identification and receiving the characteristic switch information accessed and modified by the user; and the service system is used for acquiring the characteristic switch information from the SCM configuration center and integrating the SDK functional component to realize the service function. The invention avoids the problems of research and development efficiency reduction and research and development cost improvement caused by functional branches, simultaneously compensates the decoupling use of the system on a new functional switch, and realizes the agile development and sustainable integrated delivery of system projects.

Description

Gray scale release management system, method and equipment applying characteristic switch
Technical Field
The invention relates to the technical field of computer application, in particular to a gray scale release management system applying characteristic switches and a release method thereof.
Background
In recent years, with the rapid development of internet financial industry business, the rapid iteration requirement of a background transaction system is more and more frequent, and meanwhile, the problems and bottlenecks of development of a plurality of projects are brought. First, in the face of simultaneous development of multiple demands, since the on-line time of each demand is inconsistent, a functional branch (Feature Branches) is usually used to solve the problem. The functional branches are a plurality of different functional branches pulled according to different requirements based on the main branches, and the branch branches are merged onto the main branches after completing development and test, and the mode also brings new problems. If the functional branch cycle is long and the main branch has been modified by multiple iterations, many problems will be caused when branches are merged, such as code merging conflict, function change, and cumbersome communication with other developers. These problems not only make demand iteration cumbersome, but also increase the system instability of the backbone version. Secondly, after a plurality of systems quickly iterate new functions online, if a production fault or an abnormal situation occurs, the common emergency plan is to shield an external request or close the current new function, then the problem is positioned to carry out version sending and repairing, and then the new function is opened again. The method can not support the normal operation of the original service after the new function has abnormal faults, and lacks the control of switching the new function and the old function on line in real time. Thirdly, a switch mechanism is introduced into a part of service systems aiming at new function release, the part of service systems mostly use an if-else mode to be coupled with service logic for branch judgment, and parameter switches are generally configured and used in configuration files or data dictionaries. As more and more switches are used in the system, the service cycle and the use maintenance of the switches are more and more difficult, and the corresponding switch branch codes in the system are more and more redundant, so that the effective switch life cycle management and gray scale release monitoring of the system are lacked.
Disclosure of Invention
In view of the above problems, the invention provides a gray scale release management system of an application characteristic switch and a release method thereof, which avoid the problems of reduced research and development efficiency and increased research and development cost caused by functional branches, make up the decoupling use of a new functional switch and the whole-process life cycle management part of the switch by the system, and realize agile development and sustainable integrated delivery of system projects.
In order to solve the technical problems, the invention adopts the technical scheme that:
in a first aspect, the invention provides a gray scale release management system applying a characteristic switch, which comprises a product characteristic management platform, an SCM configuration center and a service system; the product characteristic management platform is used for receiving external access to create a characteristic switch and configuring information of the characteristic switch; the SCM configuration center is used for updating the characteristic switch information from the product characteristic management platform according to the application identification and receiving the characteristic switch information accessed and modified by the user; and the service system is used for acquiring the characteristic switch information from the SCM configuration center and integrating the SDK functional component to realize the service function.
As a preferred scheme, the product characteristic management platform comprises a background server, a management console and a database; the management console is used for providing a page for managing the operation of the characteristic switch for a user; the background server is used for receiving an operation instruction sent by the management console, creating and configuring the characteristic switch, and providing interface service for synchronous notification of the information of the characteristic switch; and the database is used for interacting with the background server to persistently store the characteristic switch information.
As a preferred scheme, the database comprises a DB database and a Redis cache, and both the DB database and the Redis cache interact with the background server to query or update the characteristic switch information.
Preferably, the management console comprises product characteristic management, product characteristic switching strategy management, product characteristic execution management, product characteristic lifecycle management, product characteristic gray scale release monitoring management and other basic function management.
As a preferred scheme, the modes of synchronizing the characteristic switch information between the service system and the product characteristic management platform are divided into two types: firstly, after a user updates characteristic switch information, a product characteristic management platform calls an SCM configuration center to update an interface to synchronously update switch cache information of the SCM configuration center, after the SCM configuration center finishes updating the characteristic switch information, the SCM configuration center actively informs the characteristic switch information to a service system according to APPID, and the service system synchronously refreshes the characteristic switch cache information; secondly, the business system actively accesses the SCM configuration center to obtain the characteristic switch information and caches the characteristic switch information in a local cache.
In a second aspect, the present invention provides a gray scale publishing method using a characteristic switch, including the following steps:
s1, logging in a product characteristic management platform, creating a characteristic switch, and configuring related functions of the characteristic switch;
s2, introducing a characteristic switch into the unified payment system;
s3, receiving a first transaction request initiated by an upstream channel system, and performing transaction verification and transaction warehousing;
s4, acquiring the characteristic switch state and attribute value of the channel route after passing;
s5, judging the decision mode of the channel route according to the characteristic switch state to obtain the channel code;
s6, according to the channel code corresponding to the downstream channel, and initiating a second transaction request;
and S7, performing subsequent transaction processing, and returning a transaction result to the upstream channel system.
Preferably, the step S5 specifically includes: when the characteristic switch is in an open state, starting a routing decision service logic branch, and calling a decision service interface to acquire a channel code; and when the characteristic switch state is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment interior in a table query mode.
As a preferred scheme, when the state of the characteristic switch is closed and reserved, the characteristic switch is not used and is in a reserved state, and the corresponding service logic code can be reserved; when the state of the characteristic switch is closed and deleted, the characteristic switch is not used and is in a deletable state, and the corresponding service logic code can be removed.
Preferably, the method further comprises the following steps: the characteristic switch state is manually controlled or automatically updated according to the characteristic switch configuration strategy information.
In a third aspect, the present invention provides a gray scale publishing device using a characteristic switch, including the gray scale publishing management system using a characteristic switch in a trading scenario as described in any one of the above, for implementing the gray scale publishing method using a characteristic switch in a trading scenario as described in any one of the above.
Compared with the prior art, the invention has the beneficial effects that: the SDK function is packaged based on an open source framework FF4J and is provided for integration of a target system, the control management of an application system, an application environment, a user, state information of a characteristic switch and the like can be realized by matching with a management console, the life cycle management of the characteristic switch is provided, and the gray release monitoring management is realized by matching with the life cycle of the switch; the business system can effectively improve the efficiency of project development to realize the sustainable delivery of quick iteration on the same version by using a switching mechanism and matching with a product characteristic management platform, and can track and verify the stability of a new function in time by matching with a gray level release scheme of the platform, thereby realizing one-key rollback and ensuring the normal development of system business; aiming at frequent demand iteration of a financial trade system, the problems of reduction of research and development efficiency and improvement of research and development cost caused by functional branches are solved, meanwhile, the decoupling use of a new functional switch and the whole-process life cycle management part of the switch by the system are made up, and the agile development and sustainable integrated delivery of system projects are realized.
Drawings
The disclosure of the present invention is illustrated with reference to the accompanying drawings. It is to be understood that the drawings are designed solely for the purposes of illustration and not as a definition of the limits of the invention. In the drawings, like reference numerals are used to refer to like parts. Wherein:
fig. 1 is an architecture diagram of a gray scale release management system using a feature switch according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of a gray scale release management system using a feature switch according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a gray scale release management system using a characteristic switch according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a gray scale publishing method using a characteristic switch according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for issuing gray scale of a use characteristic switch in a deposit transaction according to an embodiment of the present invention.
Detailed Description
It is easily understood that, according to the technical solution of the present invention, a person skilled in the art can propose various alternative structural modes and implementation modes without changing the spirit of the present invention. Therefore, the following detailed description and the accompanying drawings are merely illustrative of the technical aspects of the present invention, and should not be construed as limiting or restricting the technical aspects of the present invention.
The terminology used in this application is to be interpreted as:
SCM: simple Cached management, a parameter configuration management system based on distributed cache.
DB: DataBase, DataBase.
Redis: the Remote Dictionary Server is an open source log-type and Key-Value database written in ANSI C language, supporting network, based on memory and endurable, and provides API of multiple languages.
if-else: an if conditional judge statement in a programming language.
FF 4J: namely Feature Flags for Java, a framework for implementing Feature function switching for open sources.
And (3) SDK: a software development kit.
AOP-drive: AOP is an abbreviation for Aspect ordered Programming, meaning: the method is a technique for realizing the unified maintenance of the program functions by a precompilation mode and a dynamic proxy during the running process in the aspect-oriented programming.
Xml: generally referred to as an extensible markup language, is a markup language for marking electronic documents to be structured.
Feature: meaning a characteristic, a feature, herein specifically a functional characteristic in a business system.
@ Flip: an annotation function provided in the FF4J framework.
Elastic search: the Lucene-based search server provides a distributed full-text search engine with multi-user capability.
EhCache: a pure Java intra-process cache framework.
Memory: based on the memory, the text refers specifically to a storage mode of the characteristic switch.
Jcache: a soon to be published standard specification (JSR 107) describes a method of temporarily caching Java objects in memory.
JDBC: java Database Connectivity, JDBC for short, is an application program interface in Java language that specifies how a client program accesses a Database.
NoSQL: collectively Not Only Sql, refers to a non-relational database.
RDBMS: the Relational Database Management System refers to a set of programs (Database Management System software) that include interconnected logical organization and access to these data.
Expression: expressions, a strategy that is specific to switching rules herein.
ClientFilter: client filtering, which is a strategy specified herein for switching rules.
ServerFilter: the service side filters, which is a strategy of the switching rule specifically.
ReleaseDate: expiration date, herein designated as a policy for the switching rules.
DarkLannch: dark start, a strategy that is specifically referred to herein as switching rules.
OfficeHour: the business and office hours refer to a strategy of the switching rule in particular.
Drools: drools is an open source rule engine written in the Java language that evaluates written rules using the Rete algorithm.
RSF: a high-performance and light-weight open-source Java RPC framework is provided.
Java: is a door-facing object programming language.
APPID: and (5) application identification.
An embodiment according to the present invention is shown in connection with fig. 1. The invention provides a gray release management system applying a characteristic switch, which comprises a product characteristic management platform, an SCM configuration center and a business system. The product characteristic management platform is used for receiving external access to create the characteristic switch and configuring the characteristic switch information. The SCM configuration center is used for updating the characteristic switch information from the product characteristic management platform according to the application identification and receiving user access modification characteristic switch information. The service system is used for acquiring the characteristic switch information from the SCM configuration center and integrating the SDK functional components to realize service functions.
The product characteristic management platform comprises a background server, a management console and a database, wherein the management console is used for providing a page for a user to operate and manage related functions of the characteristic switch. The background server is used for receiving an operation instruction sent by the management console, creating and configuring the characteristic switch, and providing interface service for synchronous notification of the information of the characteristic switch. The database is used for interacting with the background server to persistently store the characteristic switch information.
As shown in fig. 2, specifically, the management console mainly includes product characteristic management, product characteristic switching policy management, product characteristic execution management, product characteristic lifecycle management, product characteristic gray scale release monitoring management, product characteristic data mining, product characteristic switch monitoring, and other basic function management.
The following briefly describes the above management functions:
1) the basic management functions mainly comprise basic functions of user management, menu management, role management, authority distribution, a data dictionary, log management, timing tasks and the like. Providing a user information function and a department information function, and mainly maintaining basic information of a user and a department and a project to which the user belongs; the maintenance of menu configuration management, role management such as role creation and modification and the like, and the user authority management such as role menu authority button authority and the like of the console are realized; data dictionary of system parameters, user operation log viewing, and task-specific management possibly used in some special scenes.
2) Product characteristic management, which is mainly oriented to product business personnel and carries out maintenance management aiming at product characteristics, and comprises product characteristic definition, characteristic switch classification, belonging product characteristic configuration, application system definition and corresponding product characteristic configuration management.
3) Product characteristic switching strategy management, configuring strategy information applied by a switch, for example, the switch uses a black and white list rule, and the black and white list information can be divided into a plurality of dimensionality configurations including users, transaction types, card numbers and the like; and configuring valid period rules, expression rules and the like of the switch, and supporting the switch to configure different combination strategy rules.
4) Product characteristic execution management, which supports maintenance operation of a switch to which the product characteristic belongs, including switch type management, switch state management and code mark management; execution of the execution of product properties supports manual modification of triggers and automatic execution of configuration rules.
5) And managing the product characteristic life cycle, providing full-flow checking and maintenance of the product characteristic life cycle, supporting maintenance of the switch life cycle stage, and deleting or marking the switch according to the switch type and the switch state.
6) The product characteristic gray scale release monitoring management provides real-time monitoring, checking, analyzing and counting for supporting multiple dimensions to the characteristic switch, and supports auditing the switch operation record according to time period counting, user use counting, product characteristic counting and the like; and creating a product characteristic release version, wherein the release version can contain a plurality of product characteristics, carrying out full-flow management on each product characteristic release of the product characteristic version, including gray release target, gray release strategy, gray release execution, gray release monitoring, gray release effect summarization and analysis, and subsequently supporting the collection of service system product characteristic switch service conditions to carry out big data analysis.
7) And the product characteristic data mining is to synchronize data to a product characteristic platform for big data analysis according to the switch used by a service system as buried data, and comprises the analysis of the use condition of the switch data and the analysis of the use condition of the product functional characteristics.
8) Monitoring a product characteristic switch, namely monitoring the condition of using the switch by a service system, wherein the monitoring comprises switch use frequency statistics, switch distribution condition statistics, switch hit statistics and the like; and simultaneously, auditing the record of the user operating switch is supported.
As shown in fig. 3, the database includes a DB database and a Redis cache, and both the DB database and the Redis cache interact with a background server of the product characteristic management platform to query or update characteristic switch information. In addition, the system also comprises a switch memory storage which is connected with the SCM configuration center and used for storing the characteristic switch cache information.
In the embodiment of the invention, a user establishes information such as a configuration characteristic switch and a strategy rule corresponding to the characteristic switch on a product characteristic management platform, and a service system synchronizes the information of the characteristic switch and stores the information into a local cache. And simultaneously, providing an SDK functional component based on an open source framework FF4J, packaging the basic function of the characteristic switch, integrating the SKD functional component into a service system, and realizing the service logic function by combining the characteristic switch information in the local cache of the service system.
The SDK functional component supports the basic functions of the property switch and the application of policy rules, and the basic functions of the property switch comprise a property switch definition, a property switch AOP-drive and a property switch storage cache. The specific configuration method comprises the following steps:
1) the property switch definition can be performed by creating an xml file, or by creating a Feature object in a code, configuring a switch attribute parameter: name, state, description, grouping, authority, etc.
2) The property switch AOP-drive can annotate @ Flip modified interface to define a switch name and a default implementation class, and determines whether a system calls an open implementation class or a closed implementation class according to the opening and closing states of the switch. The mode can reduce code coupling, increase tidiness and readability of the code, and can replace an if-else mode in some specific scenes.
3) The characteristic switch storage cache supports various storage technologies: the storage modes comprise an elastic search, an EhCache, an memory, a Jcache, a JDBC and a Redis, and comprise storage modes such as a memory, a file, a NoSQL, an RDBMS and the like. For example, the memory caching mode is a switch storage mode for initializing the FF4j object at system startup.
4) The property switch policy rules, by default, provide some of the opencast available, such as black list, white list WhiteList, Expression, ClientFilter, ServerFilter, ReleaseDate, darklankach, offichour, etc., while also supporting the connection of external resources, such as Drools rule engines. Such as ReleaseDate expiration validation policy xml configuration.
In addition, the basic functions of the characteristic switch include switch grouping, switch authority, and switch usage log data. The switch group refers to a switch group with a certain type of attribute defined, and the state switching and the strategy configuration of all switches in the switch group can be completed by operating one key of the switch group. The switch authority refers to the system application to which the switch belongs, the team to which the switch belongs and the operation authority of the user to which the switch belongs. The switch use log data refers to that the buried point data aiming at the switch use condition of the service system is written into a log file and is subjected to subsequent product characteristic data mining processing by synchronizing the log data to a product characteristic management platform at fixed time.
In the embodiment of the invention, the modes of the service system and the product characteristic management platform for synchronizing the characteristic switch information are divided into two modes: firstly, after a user updates characteristic switch information, a background server of a product characteristic management platform calls an SCM configuration center to update an interface to synchronously update switch cache information of the SCM configuration center, after the SCM configuration center finishes updating the characteristic switch information, the SCM configuration center actively informs the characteristic switch information to a service system according to an APPID, and the service system synchronously refreshes the characteristic switch cache information. Secondly, the business system actively calls a product characteristic management platform interface to cache and update the characteristic switch information through an SCM configuration center.
At present, the banking system caches information by calling a characteristic switch of an SCM configuration center and synchronously caches the information in memories of service nodes of the banking system. The SDK functional component integrates a local cache function and a service interface for receiving the characteristic switch information updating notice. The specific process is as follows:
after a user accesses a product characteristic management platform to modify characteristic switch information, a background server side calls an SCM configuration center update interface to store data to an SCM configuration center at the first time, after the SCM configuration center completes characteristic switch information cache updating, the SCM configuration center actively informs all service system nodes of latest characteristic switch information according to APPID, after all service system nodes receive the characteristic switch updating information, the characteristic switch information is cached to a local cache to complete service system switch cache information updating, and each time a service system starts system service, the SCM configuration center needs to be actively accessed to obtain the characteristic switch information and cached to the local cache. And after the product characteristic management platform service is unavailable or the network push fails, the local recovery can still be realized. The characteristic switch information acquisition and updating mode utilizes an SCM configuration center of an intermediate system, and the dependence of a service system on a product characteristic management platform and the system complexity are reduced.
As shown in fig. 4, the present invention provides a distribution method of application characteristic switches, based on the gray distribution management system, including the following steps:
s1, logging in the product characteristic management platform, creating a characteristic switch, and configuring the related functions of the characteristic switch;
s2, introducing a characteristic switch into the unified payment system;
s3, receiving a first transaction request initiated by an upstream channel system, and performing transaction verification and transaction warehousing;
s4, acquiring the characteristic switch state and attribute value of the channel route after passing;
s5, judging the decision mode of the channel route according to the characteristic switch state to obtain the channel code;
s6, corresponding to the downstream channel according to the channel code, and initiating a second transaction request;
and S7, performing subsequent transaction processing, and returning a transaction result to the upstream channel system.
Step S5 specifically includes: when the characteristic switch is in an open state, starting a routing decision service logic branch, and calling a decision service interface to acquire a channel code; and when the characteristic switch state is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment interior in a table query mode.
Further comprising: the characteristic switch state is manually controlled or automatically updated according to the characteristic switch configuration strategy information. When the state of the characteristic switch is closed and reserved, the characteristic switch is not used and is in a reserved state, and the corresponding service logic code can be reserved; when the state of the characteristic switch is closed and deleted, the characteristic switch is not used and is in a deletable state, and the corresponding service logic code can be removed.
As shown in fig. 5, the following describes the issue method of the feature switch in a certain deposit transaction:
in the switch creating stage, business product personnel create a characteristic switch and configure related attributes and release strategies of the switch under a unified payment system by logging in a management console of a product characteristic management platform; the unified payment system performs transaction logic code development and introduces a created feature switch.
And in the switching operation stage, the upstream channel system initiates a deposit transaction, the unified payment receives a transaction request, and then transaction verification, transaction warehousing and the like are carried out, after the transaction request is passed, channel routing processing is carried out to obtain channel routing switching information, and the unified payment judges whether a channel routing decision mode is to go through an original routing function logic branch or a new routing decision service logic branch according to the switching state. When the switch state is on, a new route decision service logic branch is taken, and a decision service interface of the decision robot system is called to acquire channel coding information; when the switch state is closed, the original channel routing function logic branch is followed, and the channel codes are obtained through a manner of inquiring a base table in the interior of unified payment; and initiating a transaction request corresponding to the downstream channel according to the channel code acquired by the route, finishing subsequent transaction processing, returning a transaction result to the upstream channel system, and ending the transaction.
And in the switch failure retention stage, service product personnel can manually control the switch state information or automatically update the switch state according to the switch configuration strategy information, and when the switch state is closed and retained, the switch is not used any more but still in the retained state, and the corresponding service logic code can also be retained.
And in the switch failure deleting stage, service product personnel can manually control the switch state information or automatically update the switch state according to the switch configuration strategy information, and when the switch state is closed and can be deleted, the switch is not used and is in a deletable state, and the corresponding service logic code can be also removed.
The invention also provides a gray scale release device applying the characteristic switch, which comprises the gray scale release management system applying the characteristic switch in the transaction scene, and is used for realizing the gray scale release method applying the characteristic switch in the transaction scene.
The invention provides a gray scale release management system, method and equipment for applying a characteristic switch, wherein the management system is realized by java, is packaged and developed into an SDK functional component based on an open source framework FF4J and is provided to a service system, the service system integrates the SDK functional component to develop the characteristic switch and service codes, the research and development efficiency is greatly improved, and meanwhile, the functions of switch function management, switch strategy management, switch life cycle management, switch release management and the like are provided, so that the application scene of the switch can be effectively expanded, the switch maintenance complexity can be reduced, and the gray scale process control is performed by using the characteristic switch to improve the quick iterative release quality and the emergency rollback recovery capability of the system. The method has the advantages that the multi-demand function and branch collaborative development and unfinished function hiding are achieved, the code risk is reduced, the change or invasion of the original function code is reduced, the related transaction of the original function is avoided being influenced, the research and development efficiency is improved, the risk of expanding new services or new functions is controllable, and the loss is avoided. The gray release management support of the required functions is provided for the service system, the release quality of the production environment system is effectively controlled, the stability of the system is enhanced, and meanwhile, the operation and maintenance cost investment can be greatly reduced and the operation and maintenance efficiency is improved.
It should be appreciated that the integrated unit or system, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The technical scope of the present invention is not limited to the above description, and those skilled in the art can make various changes and modifications to the above embodiments without departing from the technical spirit of the present invention, and such changes and modifications should fall within the protective scope of the present invention.

Claims (8)

1. A gray release management system applying a characteristic switch is characterized by comprising a product characteristic management platform, an SCM configuration center and a business system;
the product characteristic management platform is used for receiving external access to create a characteristic switch and configuring information of the characteristic switch;
the SCM configuration center is used for updating the characteristic switch information from the product characteristic management platform according to the application identification and receiving user access modification characteristic switch information;
the service system is used for acquiring characteristic switch information from the SCM configuration center and integrating SDK functional components to realize service functions;
the service system and the product characteristic management platform are divided into two modes for synchronizing characteristic switch information: firstly, after a user updates characteristic switch information, a product characteristic management platform calls an SCM configuration center to update an updating interface to synchronously update switch cache information of the SCM configuration center, after the SCM configuration center finishes updating the characteristic switch information, the SCM configuration center actively informs the characteristic switch information to a service system according to APPID, and the service system synchronously updates the characteristic switch cache information; secondly, the business system actively accesses the SCM configuration center to obtain the characteristic switch information and caches the characteristic switch information in a local cache.
2. The gray scale release management system using a characteristic switch as claimed in claim 1, wherein the product characteristic management platform comprises a background server, a management console and a database;
the management console is used for providing a page for managing the operation of the characteristic switch for a user;
the background server is used for receiving an operation instruction sent by the management console, creating and configuring the characteristic switch, and providing interface service for synchronous notification of the characteristic switch information;
and the database is used for interacting with the background server to persistently store the characteristic switch information.
3. The gray scale release management system for application of feature switches as claimed in claim 2, wherein the database comprises a DB database and a Redis cache, both of which interact with the backend server to query or update feature switch information.
4. The gray scale release management system using characteristic switches according to claim 2, wherein the management console comprises product characteristic management, product characteristic switching policy management, product characteristic execution management, product characteristic lifecycle management, and product characteristic gray scale release monitoring management, and other basic function management.
5. A gray scale release method using a characteristic switch is characterized by comprising the following steps:
s1, logging in a product characteristic management platform, creating a characteristic switch, and configuring related functions of the characteristic switch;
s2, introducing a characteristic switch into the unified payment system;
s3, receiving a first transaction request initiated by an upstream channel system, and performing transaction verification and transaction warehousing;
s4, obtaining the characteristic switch state and attribute value of the channel route after passing;
s5, judging the decision mode of the channel route according to the characteristic switch state to obtain the channel code;
s6, corresponding to the downstream channel according to the channel code, and initiating a second transaction request;
s7, carrying out subsequent transaction processing, and returning a transaction result to the upstream channel system;
wherein, the S5 specifically includes: when the characteristic switch is in an open state, starting a routing decision service logic branch, and calling a decision service interface to acquire a channel code; and when the characteristic switch state is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment interior in a table query mode.
6. The method for releasing grays of application characteristic switches according to claim 5, wherein when the status of the characteristic switch is off and reserved, the characteristic switch is not used and is in a reserved status, and the corresponding service logic code can be reserved; when the state of the characteristic switch is closed and deleted, the characteristic switch is not used and is in a deletable state, and the corresponding service logic code can be removed.
7. The gray scale distribution method using a characteristic switch according to claim 5, further comprising: the characteristic switch states are updated either manually or automatically based on characteristic switch configuration policy information.
8. A gradation issuance apparatus using the characteristic switch, comprising the gradation issuance management system using the characteristic switch according to any one of claims 1 to 4, for realizing the gradation issuance method using the characteristic switch according to any one of claims 5 to 7.
CN202011057421.XA 2020-09-30 2020-09-30 Gray scale release management system, method and equipment applying characteristic switch Active CN112130894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011057421.XA CN112130894B (en) 2020-09-30 2020-09-30 Gray scale release management system, method and equipment applying characteristic switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011057421.XA CN112130894B (en) 2020-09-30 2020-09-30 Gray scale release management system, method and equipment applying characteristic switch

Publications (2)

Publication Number Publication Date
CN112130894A CN112130894A (en) 2020-12-25
CN112130894B true CN112130894B (en) 2022-07-22

Family

ID=73843386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011057421.XA Active CN112130894B (en) 2020-09-30 2020-09-30 Gray scale release management system, method and equipment applying characteristic switch

Country Status (1)

Country Link
CN (1) CN112130894B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925528A (en) * 2021-01-28 2021-06-08 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857428A (en) * 2018-12-29 2019-06-07 大唐软件技术股份有限公司 Gray scale dissemination method for IOM system
CN111181858A (en) * 2019-12-24 2020-05-19 浙江大华技术股份有限公司 Method, system, computer device and storage medium for gray scale distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857428A (en) * 2018-12-29 2019-06-07 大唐软件技术股份有限公司 Gray scale dissemination method for IOM system
CN111181858A (en) * 2019-12-24 2020-05-19 浙江大华技术股份有限公司 Method, system, computer device and storage medium for gray scale distribution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特性开关和 GitOps, 5个用例帮您搞定;Jenkins中文社区;《https://baijiahao.baidu.com/s?id=1660719407832682122&wfr=spider&for=pc》;20200310;全文 *

Also Published As

Publication number Publication date
CN112130894A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN106875156B (en) Universal intelligent auditing platform and auditing method thereof
US7313575B2 (en) Data services handler
CN109460349A (en) A kind of method for generating test case and device based on log
US6490590B1 (en) Method of generating a logical data model, physical data model, extraction routines and load routines
CN101046821B (en) Generic database manipulator
US7401085B2 (en) System and method for controlling the release of updates to a database configuration
CN109325734A (en) A kind of finance robot system
US11847110B2 (en) Method and system for supporting data consistency on an active standby database after DML redirection to a primary database
EP2849098A2 (en) Cross system analytics for in memory data warehouse
US20080052308A1 (en) Method and system for realizing automatic adaptation of data object model
CN109189852A (en) A kind of method that data are synchronous and the device synchronous for data
WO2006026659A2 (en) Services oriented architecture for data integration services
CN115374102A (en) Data processing method and system
CN110109958A (en) Method for caching and processing, device, equipment and computer readable storage medium
US20230098227A1 (en) Change control and version management of data
CN108092936A (en) A kind of Host Supervision System based on plug-in architecture
CN110019469A (en) Distributed data base data processing method, device, storage medium and electronic device
US11615076B2 (en) Monolith database to distributed database transformation
CN112130894B (en) Gray scale release management system, method and equipment applying characteristic switch
CN113220755A (en) Method for flexibly generating GraphQL interface based on multi-source data
US8122374B2 (en) Dynamic value sets in a service-oriented business framework
CN109271199A (en) A kind of method and system for database continuous integrating and script file management
CN115687503A (en) Method, device and equipment for synchronizing data among databases and storage medium
CN110674173A (en) Method and system for caching data on wind control cloud
CN108984415A (en) A kind of product use-case persistence maintenance system and management method

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