CN112130894A - 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
CN112130894A
CN112130894A CN202011057421.XA CN202011057421A CN112130894A CN 112130894 A CN112130894 A CN 112130894A CN 202011057421 A CN202011057421 A CN 202011057421A CN 112130894 A CN112130894 A CN 112130894A
Authority
CN
China
Prior art keywords
switch
characteristic
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.)
Granted
Application number
CN202011057421.XA
Other languages
Chinese (zh)
Other versions
CN112130894B (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 release management system, a method and equipment applying a characteristic switch, wherein the gray 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 (features Branches) is usually used for solving 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 the demand iteration cumbersome, but also increase the system instability of the backbone version. Secondly, after more systems quickly iterate new functions to be online, if a production fault or an abnormality occurs, the common emergency plan is to shield an external request or close the current new function, then position the problem to carry out version repair, and then reopen the new function. The method can not realize that the original service can be continuously carried out after the new function has abnormal faults, and lacks the control of switching the new and old functions on line in real time. Thirdly, a switch mechanism is introduced into a part of service systems aiming at new function release, most of the service systems use an if-else mode to be coupled with service logic for branch judgment, and a parameter switch is usually configured and used in a configuration file or a data dictionary. 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 and a release method thereof for an application characteristic switch, which avoid the problems of reduction of research and development efficiency and improvement of research and development cost caused by functional branches, make up for the decoupling use of a new functional switch and the whole-process life cycle management part of the switch by the system, and realize the 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 characteristic switch information; 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 service system and the product characteristic management platform perform characteristic switch information synchronization in two ways: 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 method for issuing a gray scale using a characteristic switch, including the steps of:
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, 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.
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 state of the characteristic switch is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment internal mode by inquiring a base table.
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 business 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 and 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 simultaneously 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 property 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 flowchart illustrating a method for releasing the gray level of a switch according to a characteristic of 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 structures and implementation ways 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 all of the present invention or as limitations or limitations on the technical aspects of the present invention.
The terminology used in this application is to be interpreted:
SCM: simple Cached manager, 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 organized 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 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 method is a search server based on Lucene and provides a full-text search engine with distributed multi-user capability.
EhCache: a pure Java in-process cache framework.
Inmemory: 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: an expression, herein designated as a strategy for switching rules.
ClientFilter: client filtering, which is a policy specified in the context of switching rules.
ServerFilter: the server-side filtering refers to a strategy of the switching rule.
ReleaseDate: expiration date, herein designated as a policy for the switching rules.
DarkLannch: dark start, herein refers specifically to one strategy of switching rules.
OfficeHour: business and office hours, this document refers specifically to a strategy of switching rules.
Drools: drools is an open source rule engine written in the Java language that evaluates written rules using Rete algorithm.
RSF: a high-performance and lightweight open-source Java RPC framework.
Java: is a door-to-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 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 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 above management functions are briefly described below:
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 dimensionalities to be configured to comprise 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 supports manual modification of triggers and automatic execution of configuration rules for product properties.
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) Product characteristic gray scale release monitoring management, which provides real-time monitoring, checking, analyzing and counting of characteristic switches supporting multiple dimensions, and supports auditing of switch operation records 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 use a switch as buried point data according to a service system and synchronize the data to a product characteristic platform to perform big data analysis, including analysis of the use condition of the switch data and 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 creates 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 is as follows:
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-driver can annotate @ Flip decorated interface definition switch names and default implementation classes, and determines whether the system calls the on implementation class or the off implementation class according to the on-off state 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: elastic search, EhCache, Inmemory, Jcache, JDBC, Redis, covering memory, file, NoSQL, RDBMS and other storage modes. 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 open-box available, such as black list, white list WhiteList, Expression, ClientFilter, ServerFilter, ReleaseDate, DarkLaunch, officehacur, etc., while also supporting the connection to external resources, such as Drools rules engine. Such as the ReleaseDate expiration validation policy xml configuration.
In addition, the basic functions of the property 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 flow 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, so that 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 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, 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 state of the characteristic switch is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment internal mode by inquiring a base table.
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 establishing stage, business product personnel establish 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 the 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 is in an open state, 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 taken, and the channel codes are obtained by inquiring the base table mode in the unified payment interior; and initiating a transaction request corresponding to the downstream channel according to the channel code acquired by the route, finishing the 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, a 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, the functions of switch function management, switch strategy management, switch life cycle management, switch release management and the like are provided, the switch application scene can be effectively expanded, the switch maintenance complexity is reduced, and the gray scale flow 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-described 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 (10)

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 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.
2. The gray release management system of application characteristic switch of 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 release management system of claim 2, wherein said management console comprises product property management, product property switching policy management, product property execution management, product property lifecycle management, and product property gray release monitoring management, among other basic function management.
5. The gray scale release management system using a feature switch as claimed in claim 1, wherein the service system and the product feature management platform perform feature switch information synchronization in two ways: 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.
6. 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, 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.
7. The method for issuing grayscale with application characteristic switch according to claim 6, wherein 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 state of the characteristic switch is closed, starting a channel routing function logic branch, and acquiring a channel code in a unified payment internal mode by inquiring a base table.
8. The method according to claim 6, wherein when the status of the property switch is off and reserved, the property 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 business logic code can be removed.
9. The gray scale distribution method using a characteristic switch according to claim 6, further comprising: the characteristic switch state is manually controlled or automatically updated according to the characteristic switch configuration strategy information.
10. A gray scale distribution apparatus using a characteristic switch, comprising the gray scale distribution management system using a characteristic switch in a trading scenario according to any one of claims 1 to 5, for implementing the gray scale distribution method using a characteristic switch in a trading scenario according to any one of claims 6 to 9.
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 true CN112130894A (en) 2020-12-25
CN112130894B 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)

Cited By (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
JENKINS中文社区: "特性开关和 GitOps, 5个用例帮您搞定", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1660719407832682122&WFR=SPIDER&FOR=PC》 *

Cited By (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

Also Published As

Publication number Publication date
CN112130894B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN109144994B (en) Index updating method, system and related device
CN106875156B (en) Universal intelligent auditing platform and auditing method thereof
CN101046821B (en) Generic database manipulator
CN109460349A (en) A kind of method for generating test case and device based on log
US9747356B2 (en) Eager replication of uncommitted transactions
US6490590B1 (en) Method of generating a logical data model, physical data model, extraction routines and load routines
US7401085B2 (en) System and method for controlling the release of updates to a database configuration
US8938645B2 (en) Invalidation of metadata buffers
CN110300963A (en) Data management system in large-scale data repository
US11847110B2 (en) Method and system for supporting data consistency on an active standby database after DML redirection to a primary database
CN102193991B (en) OLTP(on-line transaction processing)-based data modifying method and system as well as graphic database server
US20090327324A1 (en) Method of refactoring a running database system
JPH06187275A (en) Testing method for server application
CN104423960A (en) Continuous project integration method and continuous project integration system
US20150317340A1 (en) Pattern for integrating primary and secondary data stores in a sharded data domain
CN109189852A (en) A kind of method that data are synchronous and the device synchronous for data
CN111259004B (en) Method for indexing data in storage engine and related device
CN113220755B (en) Method for flexibly generating GraphQL interface based on multi-source data
CN115374102A (en) Data processing method and system
US20230098227A1 (en) Change control and version management of data
CN110109958A (en) Method for caching and processing, device, equipment and computer readable storage medium
CN110019469A (en) Distributed data base data processing method, device, storage medium and electronic device
CN109903180A (en) A kind of substation secondary peace arranges Information Management System
CN112130894B (en) Gray scale release management system, method and equipment applying characteristic switch
Liu et al. Methodical restructuring of complex workflow activities

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