CN112764765A - Application gray level publishing method and system and computer readable storage medium - Google Patents

Application gray level publishing method and system and computer readable storage medium Download PDF

Info

Publication number
CN112764765A
CN112764765A CN202110084657.0A CN202110084657A CN112764765A CN 112764765 A CN112764765 A CN 112764765A CN 202110084657 A CN202110084657 A CN 202110084657A CN 112764765 A CN112764765 A CN 112764765A
Authority
CN
China
Prior art keywords
application
unitization
unitized
packet
temporary
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.)
Pending
Application number
CN202110084657.0A
Other languages
Chinese (zh)
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.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp 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 China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202110084657.0A priority Critical patent/CN112764765A/en
Publication of CN112764765A publication Critical patent/CN112764765A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/104Grouping of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The present disclosure provides an application gray scale publishing method, system and storage medium, the method comprising: the core release control module determines an application unitization group to be subjected to application release; a core release control module deploys a temporary application unitization packet corresponding to the application unitization packet in a current core authorization service system; after deployment is completed and the access gateway successfully verifies the availability of the temporary application unitized packets, the core release control module switches the temporary application unitized packets into formal application unitized packets and takes the original application unitized packets off line. Through the scheme, gray level publishing can be performed on one or more application unit groups in the unit architecture, so that the application service is not interrupted in the application publishing process, and the condition of user transaction failure is prevented.

Description

Application gray level publishing method and system and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and a system for issuing application gray levels, and a computer-readable storage medium.
Background
Referring to fig. 1, after receiving a transaction request from a user from an authorization access adaptation layer, the transaction request is forwarded to a core authorization service system through an access gateway, and the transaction request of the user is processed in the core authorization service system, and meanwhile, the core authorization service system obtains required user data from a DataBase (DB, DataBase) when processing the transaction request of the user.
As can be seen from fig. 1, in the existing credit card core system, all the user data is stored in D B in a centralized manner, and all the services are handled in the core authorization service system in a centralized manner.
In the system shown in fig. 1, all application services are deployed through one deployable file, when any one application needs to be updated, the new deployable file is deployed in the current credit card core system, and after the deployment is successful, the old version application is automatically offline. However, this deployment has the following problems:
firstly, when a new application is replaced, due to the problem of a cache mechanism of a registration center, an old application service cannot be timely offline in the registration center, and an access gateway cannot acquire updated registration information, so that when a transaction request is received, the transaction can be forwarded to the offline application service, and the transaction is failed;
second, when the service is replaced, the service registration information in the registration center cannot be updated in time, which also causes a short interruption of the transaction.
Disclosure of Invention
The embodiment of the disclosure provides an application gray level publishing method, system and storage medium, which can solve the problem of poor system stability caused by centralized storage of user data and centralized processing of user services in the prior art. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an application gray scale issuing method, including:
the core issuing control module determines an application unitized group to be subjected to application issuing from the current core authorization service system;
a core release control module deploys a temporary application unitization packet corresponding to the application unitization packet in a current core authorization service system;
after deployment is completed, the access gateway verifies the availability of the temporary application unitized packet;
and after the availability verification is successful, the core release control module switches the temporary application unitized grouping into formal application unitized grouping and takes the offline original application unitized grouping off line.
Further, the determining the application unitization packet to be currently subjected to application publishing includes:
receiving an application publishing request submitted by a user, wherein the application publishing request comprises: identification information of an application unitization group to be subjected to application distribution;
and determining the application unitization group corresponding to the identification information as the application unitization group to be subjected to application publishing currently.
Further, the deploying the temporary application unitization packet corresponding to the application unitization packet comprises:
creating a new application container in the core authorization service system;
publishing a deployable file corresponding to the temporary application unitized packet into the new application container, thereby generating a temporary application unitized packet;
after the successful issuing, when the service of the temporary application unitization grouping is started, registering the service registration information of the temporary application unitization grouping to a registration center, wherein the service registration information comprises but is not limited to: the name of the service and the creation time of the service.
Further, the access gateway verifying availability of the temporary application unitized packet, comprising:
when an access gateway receives a transaction request submitted by a user, if the application unitization grouping corresponding to the transaction request is confirmed to have a temporary application unitization grouping, the transaction request is forwarded to the temporary application unitization grouping for processing;
and when the access gateway receives the processing result of the temporary application unitization grouping to the transaction request, determining that the availability verification of the temporary application unitization grouping is successful.
Further, the above scheme further comprises:
the access gateway confirms that the application unitized packet corresponding to the transaction request exists as a temporary application unitized packet by:
the access gateway determines GRS routing grouping information according to the transaction request;
acquiring unitized packet service registration information corresponding to the GRS routing packet information from a registration center according to the GRS routing packet information;
the access gateway receives unitized packet service registration information sent by a registration center;
if the unitized service packet service registration information includes: and if the service registration information of the original application unitization group and the service registration information of the temporary application unitization group exist, determining that the application unitization group corresponding to the transaction request exists in the temporary application unitization group.
Further, the offline primitive application unitized grouping includes:
and destroying the original application unitization grouping, and simultaneously informing a registration center to locally delete the service registration information of the original application unitization grouping.
According to a second aspect of the embodiments of the present disclosure, there is provided an application gray scale distribution system including: a core release control module and an access gateway; wherein the content of the first and second substances,
the core release control module is used for determining an application unitized group to be subjected to application release from the current core authorization service system; then deploying a temporary application unitization packet corresponding to the application unitization packet in the current core authorization service system; after deployment is completed, triggering an access gateway to verify the availability of the temporary application unitized packet;
the access gateway is used for verifying the availability of the temporary application unitized packet when triggered by a core release control module and informing the core release control module when the availability verification is successful;
and the core release control module is also used for switching the temporary application unitized packets into formal application unitized packets and off-line the original application unitized packets after the availability verification is successful.
Preferably, the core publishing control module is configured to deploy the temporary application unitization packet corresponding to the application unitization packet by:
creating a new application container in the core authorization service system;
publishing a deployable file corresponding to the temporary application unitized packet into the new application container, thereby generating a temporary application unitized packet;
after the successful issuing, when the service of the temporary application unitization grouping is started, registering the service registration information of the temporary application unitization grouping to a registration center, wherein the service registration information comprises but is not limited to: the name of the service and the creation time of the service.
Preferably, the access gateway is configured to verify the availability of the temporary application unitized packet by:
when an access gateway receives a transaction request submitted by a user, if the application unitization grouping corresponding to the transaction request is confirmed to have a temporary application unitization grouping, the transaction request is forwarded to the temporary application unitization grouping for processing;
and when the access gateway receives the processing result of the temporary application unitization grouping to the transaction request, determining that the availability verification of the temporary application unitization grouping is successful.
According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, in which at least one computer instruction is stored, the instruction being loaded and executed by a processor to implement the steps performed in the method for applying grayscale publishing according to any one of the first aspect of the embodiments of the present disclosure.
The embodiment of the disclosure provides an application gray scale release method, which includes: the core issuing control module determines an application unitized group to be subjected to application issuing from the current core authorization service system; a core release control module deploys a temporary application unitization packet corresponding to the application unitization packet in a current core authorization service system; after deployment is completed, the access gateway verifies the availability of the temporary application unitized packet; and after the availability verification is successful, the core release control module switches the temporary application unitized grouping into formal application unitized grouping and takes the offline original application unitized grouping off line. Through the scheme, gray scale publishing can be carried out on one or more application unit-based groups in a unit-based framework, in the gray scale publishing process, the original application unit-based groups and the temporary application unit-based groups are on line simultaneously, and the original application unit-based groups are off line only after the temporary application unit-based groups are successfully verified, so that the application service is not interrupted in the application gray scale publishing process, and the condition that user transaction fails in the prior art is effectively prevented.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic block diagram of a prior art credit card core system provided by the present disclosure;
fig. 2 is a flowchart of an application gray scale publishing method provided by the embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a core authorization service system provided in an embodiment of the present disclosure;
fig. 4 is a first structural diagram of an application gray scale distribution system provided in the embodiment of the present disclosure;
fig. 5 is a second structural diagram of an application gray scale distribution system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of systems and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example one
The embodiment of the present disclosure provides an application gray level publishing method, which is applied to an application service system represented by a credit card core system, where the application service system includes: an access gateway and a core authorization service system; wherein the core authorization service system comprises; the application services provided by the multiple application unitized packets are isolated from each other.
As shown in fig. 2, the application gray scale distribution method includes the following steps:
step 101, a core release control module determines an application unitized packet (original application unitized packet) to be subjected to application release from a current core authorization service system;
specifically, when application publishing is required, a user can submit an application publishing request to the core publishing control module; a core release control module receives an application release request submitted by a user, wherein the application release request comprises: identification information of an application unitization group to be subjected to application distribution; and then, determining the application unitization group corresponding to the identification information as the application unitization group to be subjected to application publishing currently by the core publishing control module.
102, deploying a temporary application unitization packet corresponding to the application unitization packet (an original application unitization packet) in a current core authorization service system by a core release control module;
specifically, the deploying the temporary application unitization packet corresponding to the application unitization packet includes:
creating a new application container in the core authorization service system;
publishing a deployable file (e.g., an application jar package) corresponding to the temporary application unitized packet into the new application container, thereby generating a temporary application unitized packet;
after the successful issuing, when the service of the temporary application unitization grouping is started, registering the service registration information of the temporary application unitization grouping to a registration center, wherein the service registration information comprises but is not limited to: the name of the service and the creation time of the service.
In practical implementation, the service registration information further includes: statistical resource locator (url) of service calls.
Subsequently when the registry finds that there is registration information for more than one same service, it can be confirmed which is the latest service according to the creation time of the service.
Step 103, after the deployment is completed, the access gateway verifies the availability of the temporary application unitized packet;
specifically, the verifying, by the access gateway, the availability of the temporary application unitized packet includes:
when an access gateway receives a transaction request submitted by a user, if the application unitization grouping corresponding to the transaction request is confirmed to have a temporary application unitization grouping, the transaction request is forwarded to the temporary application unitization grouping for processing;
when the access gateway receives the processing result of the temporary application unitization grouping on the transaction request, determining that the availability verification of the temporary application unitization grouping is successful; otherwise, determining that the availability verification of the temporary application unitized packet fails.
Preferably, a preset time duration may be set, and if the access gateway does not receive the processing result of the temporary application unitized packet on the transaction request within the preset time duration, it is determined that the availability verification of the temporary application unitized packet fails, otherwise, the verification succeeds.
In an alternative embodiment of the invention, the method further comprises:
the access gateway confirms whether a temporary application unitization packet exists for an application unitization packet corresponding to the transaction request by:
the access gateway determines Global Routing Service (GRS) routing packet information according to the transaction request;
acquiring unitized packet service registration information corresponding to the GRS routing packet information from a registration center according to the GRS routing packet information;
the access gateway receives unitized packet service registration information sent by a registration center;
if the unitized service packet service registration information includes: and if the service registration information of the original application unitization group and the service registration information of the temporary application unitization group exist, determining that the application unitization group corresponding to the transaction request exists in the temporary application unitization group.
And step 104, after the availability verification is successful, the core release control module switches the temporary application unitized packets into formal application unitized packets and takes the original application unitized packets off line.
Specifically, the offline primitive application unitized grouping includes:
and destroying the original application unitization grouping, and simultaneously informing a registration center to locally delete the service registration information of the original application unitization grouping.
After receiving the notification message sent by the access gateway, the registry deletes the service registration information of the original application unitization packet locally.
In summary, the embodiment of the present disclosure provides an application gray scale publishing method, including: the core issuing control module determines an application unitized group to be subjected to application issuing from the current core authorization service system; a core release control module deploys a temporary application unitization packet corresponding to the application unitization packet in a current core authorization service system; after deployment is completed, the access gateway verifies the availability of the temporary application unitized packet; and after the availability verification is successful, the core release control module switches the temporary application unitized grouping into formal application unitized grouping and takes the offline original application unitized grouping off line. Through the scheme, gray scale publishing can be carried out on one or more application unit-based groups in a unit-based framework, in the gray scale publishing process, the original application unit-based groups and the temporary application unit-based groups are on line simultaneously, and the original application unit-based groups are off line only after the temporary application unit-based groups are successfully verified, so that the application service is not interrupted in the application gray scale publishing process, and the condition that user transaction fails in the prior art is prevented.
The application gray level issuing method provided by the embodiment of the present disclosure is described in detail below by taking a bank core authorization transaction system as an example:
fig. 3 is a basic architecture diagram of an exemplary core authorization transaction system, which, with reference to fig. 3, includes: a core publishing control module, an API gateway (an exemplary access gateway), a core authorization service system, and a core database; the API gateway receives the transaction requests submitted by the users in a unified mode and forwards the received transaction requests to the back end for processing.
The core authorization service system comprises a plurality of application unitized packets, each application unitized packet provides one or more application services, and the application unitized packets are physically isolated from one another; meanwhile, the application service in each application unitization group is separately configured with an application configuration in the registration center, so that the independence of each group is maintained. The core database comprises a plurality of database fragments, each database fragment corresponds to one application unitized group, and the database fragments are matched with the corresponding application unitized groups to realize user transaction authorization. When one application unitized packet deploys the corresponding temporary application unitized packet, the temporary application unitized packet can also operate the corresponding database fragment. Each application service needs to register service registration information of the application service to the registry when being deployed. The API gateway obtains the grouping information of the application units to which the transaction request is routed through GRS routing service, then obtains service registration information from a registration center according to the grouping information of the application units, and forwards the current transaction request to the corresponding application units for grouping according to the service registration information so as to complete transaction authorization.
The processing flow of the API gateway to the transaction request is as follows:
s11, the API gateway receives the card center standard communication protocol and the standard message (HTTP + JSON), and forwards the standard communication protocol and the standard message to the GRS routing service for processing, so as to obtain GRS routing packet information;
specifically, the GRS routing packet information includes: the application unitizes the packet number and the database shard number.
S12, the API gateway redirects the current transaction request to the back end for processing according to the received GRS routing grouping information;
and S13, processing the received transaction request by the application unitization grouping.
Specifically, the basic flow of processing the transaction request by the application unitized grouping at least includes: 1. inquiring information of cards, accounts and clients; 2. checking information; 3. checking the control information; 4. and recording the transaction information.
In the process of processing the transaction request, the basic interaction between the application unitized packet and the database fragment is as follows: services in the application unitization group can initiate a request to the database fragment to inquire, update and add information (cards, accounts, clients, historical records and the like) related to transaction authorization, and the database fragment can return the result of the operation of adding, updating and adding.
The application gray scale distribution flow in this example is as follows:
s21, selecting a group to which to apply gray scale distribution, for example: applying the unitized packet 1;
s22, deploying the temporary application unitization packet on an application container (e.g., POD packet 1) in the core authorization service system;
firstly, a deployable version file (for example, an application jar package) of a new version application is released in an application container, and after the release is successful, the new version application needs to be registered in a registry.
And S23, after the deployment is successful, verifying the availability of the temporary application unitization packet by the API gateway.
In a concrete verification process, the API gateway simply forwards the transaction request submitted by the user to the temporary application unitized packet, and determines whether the temporary application unitized packet can return a processing result for the transaction parent, and if so, determines that the temporary application unitized packet is available, and if not, determines that the temporary application unitized packet is unavailable.
The authorization processing of the temporary application unitized grouping to the user request needs to be realized by operating the corresponding database shards. In order to prevent an exception or bug from occurring in the process of verifying the availability of the temporary application unitized packet, the invention also provides the following scheme:
supposing that the application unitization group 1 is currently used for carrying out gray level issue, and the corresponding database fragment is the database fragment 1, adding a table or a field on the database fragment 1 in the process of executing the user transaction request by the application unitization group 1, and carrying out the gray level issue of the database, namely, only executing table or field adding operation in principle; operations directed to deleting a table or field may apply: discarding the gray scale, and then processing the gray scale in a mode of machine selection and deletion after the gray scale is successfully issued; while operations directed to modifying tables or fields may apply: and (4) adding and discarding the new gray level, and then selecting and deleting the old gray level after the gray level is successfully published. By the method, even if abnormity or Bug occurs in the gray scale release verification process, the use of the user on the current fragment is only influenced, other fragments are not influenced, and after the gray scale release verification is successful, other fragments uniformly release the application and database change.
Example two
An embodiment of the present disclosure provides an application gray scale publishing system, and with reference to fig. 4, the system includes: a core release control module 41 and an access gateway 42; wherein the content of the first and second substances,
the core issuing control module 41 is configured to determine an application unitized packet to be subjected to application issuing from the current core authorization service system; then deploying a temporary application unitization packet corresponding to the application unitization packet in the current core authorization service system; after deployment is completed, triggering an access gateway to verify the availability of the temporary application unitized packet;
the access gateway 42 is configured to verify availability of the temporary application unitized packet when triggered by the core distribution control module 41, and notify the core distribution control module 41 when the availability verification is successful;
the core issuing control module 41 is further configured to switch the temporary application unitized packet to a formal application unitized packet and drop the original application unitized packet after the availability verification is successful.
Specifically, the core publishing control module 41 is configured to determine the application unitized packet to be currently published by the application publishing module by:
receiving an application publishing request submitted by a user, wherein the application publishing request comprises: identification information of an application unitization group to be subjected to application distribution;
and determining the application unitization group corresponding to the identification information as the application unitization group to be subjected to application publishing currently.
Specifically, the core issuance control module 41 is configured to deploy the temporary application unitization packet corresponding to the application unitization packet by:
publishing a deployable file corresponding to the temporary application unitized packet to a current core authorization service system;
after successful publishing, when the service of the temporary application unitized packet is started, registering the service registration information of the temporary application unitized packet to the registry 43, where the service registration information includes but is not limited to: the name of the service and the creation time of the service.
In an alternative embodiment of the invention, the system further comprises: a registry 43 for registering service registration information of application unitized packets (including temporary application unitized packets).
Specifically, the access gateway 42 is configured to verify the availability of the temporary application unitized packet by:
when receiving a transaction request submitted by a user, if the application unitization packet corresponding to the transaction request is confirmed to have a temporary application unitization packet, the access gateway 42 forwards the transaction request to the temporary application unitization packet for processing;
when access gateway 42 receives the results of the processing of the transaction request by the temporary application unitized packets, it determines that the availability verification for the temporary application unitized packets was successful.
Further, the method further comprises:
the access gateway 42 confirms that the application unitized packet corresponding to the transaction request exists as a temporary application unitized packet by:
access gateway 42 determines GRS routing packet information from the transaction request;
acquiring unitized packet service registration information corresponding to the GRS routing packet information from a registration center according to the GRS routing packet information;
the access gateway 42 receives the unitized packet service registration information sent by the registration center 43;
if the unitized service packet service registration information includes: and if the service registration information of the original application unitization group and the service registration information of the temporary application unitization group exist, determining that the application unitization group corresponding to the transaction request exists in the temporary application unitization group.
Specifically, the offline original application unitized grouping of the core release control module 41 includes:
and destroying the original application unitization grouping, and simultaneously informing the registration center 43 of locally deleting the service registration information of the original application unitization grouping.
Further, the registry 43 is further configured to locally delete the service registration information of the original application unitized packet when receiving the offline notification message sent by the core publishing control module 41.
EXAMPLE III
The third embodiment of the present invention provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores at least one computer instruction, and the instruction, when executed by the processor, implements the method for applying gray level distribution as described in the first embodiment of the present invention, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An application gray scale publishing method, the method comprising:
the core issuing control module determines an application unitized group to be subjected to application issuing from the current core authorization service system;
a core release control module deploys a temporary application unitization packet corresponding to the application unitization packet in a current core authorization service system;
after deployment is completed, the access gateway verifies the availability of the temporary application unitized packet;
and after the availability verification is successful, the core release control module switches the temporary application unitized grouping into formal application unitized grouping and takes the offline original application unitized grouping off line.
2. The method of claim 1, wherein determining the application unitized packets for which application publication is currently performed comprises:
receiving an application publishing request submitted by a user, wherein the application publishing request comprises: identification information of an application unitization group to be subjected to application distribution;
and determining the application unitization group corresponding to the identification information as the application unitization group to be subjected to application publishing currently.
3. The method of claim 1, wherein deploying the temporary application unitization packets corresponding to the application unitization packets comprises:
creating a new application container in the core authorization service system;
publishing a deployable file corresponding to the temporary application unitized packet into the new application container, thereby generating a temporary application unitized packet;
after the successful issuing, when the service of the temporary application unitization grouping is started, registering the service registration information of the temporary application unitization grouping to a registration center, wherein the service registration information comprises but is not limited to: the name of the service and the creation time of the service.
4. The method of claim 1, wherein verifying, by the access gateway, the availability of the temporary application unitized packet comprises:
when an access gateway receives a transaction request submitted by a user, if the application unitization grouping corresponding to the transaction request is confirmed to have a temporary application unitization grouping, the transaction request is forwarded to the temporary application unitization grouping for processing;
and when the access gateway receives the processing result of the temporary application unitization grouping to the transaction request, determining that the availability verification of the temporary application unitization grouping is successful.
5. The method of claim 4, further comprising:
the access gateway confirms that the application unitized packet corresponding to the transaction request exists as a temporary application unitized packet by:
the access gateway determines GRS routing grouping information according to the transaction request;
acquiring unitized packet service registration information corresponding to the GRS routing packet information from a registration center according to the GRS routing packet information;
the access gateway receives unitized packet service registration information sent by a registration center;
if the unitized service packet service registration information includes: and if the service registration information of the original application unitization group and the service registration information of the temporary application unitization group exist, determining that the application unitization group corresponding to the transaction request exists in the temporary application unitization group.
6. The method of any of claims 1 to 5, wherein the offline primitive application unitization grouping comprises:
and destroying the original application unitization grouping, and simultaneously informing a registration center to locally delete the service registration information of the original application unitization grouping.
7. An application gray scale distribution system, comprising: a core release control module and an access gateway; wherein the content of the first and second substances,
the core release control module is used for determining an application unitized group to be subjected to application release from the current core authorization service system; then deploying a temporary application unitization packet corresponding to the application unitization packet in the current core authorization service system; after deployment is completed, triggering an access gateway to verify the availability of the temporary application unitized packet;
the access gateway is used for verifying the availability of the temporary application unitized packet when triggered by a core release control module and informing the core release control module when the availability verification is successful;
and the core release control module is also used for switching the temporary application unitized packets into formal application unitized packets and off-line the original application unitized packets after the availability verification is successful.
8. The system of claim 7, wherein the core publishing control module is configured to deploy the temporary application unitization packets corresponding to the application unitization packets by:
creating a new application container in the core authorization service system;
publishing a deployable file corresponding to the temporary application unitized packet into the new application container, thereby generating a temporary application unitized packet;
after the successful issuing, when the service of the temporary application unitization grouping is started, registering the service registration information of the temporary application unitization grouping to a registration center, wherein the service registration information comprises but is not limited to: the name of the service and the creation time of the service.
9. The system of claim 7, wherein the access gateway is configured to verify the availability of the temporary application unitized packet by:
when an access gateway receives a transaction request submitted by a user, if the application unitization grouping corresponding to the transaction request is confirmed to have a temporary application unitization grouping, the transaction request is forwarded to the temporary application unitization grouping for processing;
and when the access gateway receives the processing result of the temporary application unitization grouping to the transaction request, determining that the availability verification of the temporary application unitization grouping is successful.
10. A computer-readable storage medium having stored thereon at least one computer instruction, which is loaded and executed by a processor to perform the steps performed in the method for applying grayscale publishing according to any of the claims 1 to 6.
CN202110084657.0A 2021-01-21 2021-01-21 Application gray level publishing method and system and computer readable storage medium Pending CN112764765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110084657.0A CN112764765A (en) 2021-01-21 2021-01-21 Application gray level publishing method and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110084657.0A CN112764765A (en) 2021-01-21 2021-01-21 Application gray level publishing method and system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112764765A true CN112764765A (en) 2021-05-07

Family

ID=75702566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110084657.0A Pending CN112764765A (en) 2021-01-21 2021-01-21 Application gray level publishing method and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112764765A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610637A (en) * 2021-08-12 2021-11-05 上海通联金融服务有限公司 Intelligent route publishing method supported by gray algorithm
CN115860734A (en) * 2022-12-12 2023-03-28 上海汇付支付有限公司 Unitized payment method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814910A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 Automate gray scale dissemination method, device, computer system and storage medium
US20200112487A1 (en) * 2018-10-05 2020-04-09 Cisco Technology, Inc. Canary release validation mechanisms for a containerized application or service mesh
CN111324377A (en) * 2020-03-11 2020-06-23 上海东普信息科技有限公司 Application gray level release method, system, device and storage medium
US10735262B1 (en) * 2018-04-26 2020-08-04 Intuit Inc. System and method for self-orchestrated canary release deployment within an API gateway architecture
CN112000348A (en) * 2020-07-28 2020-11-27 金蝶医疗软件科技有限公司 Control method and device for service gray release and computer equipment
CN112073320A (en) * 2020-11-12 2020-12-11 深圳壹账通智能科技有限公司 API (application program interface) gray level release method and device based on cloud gateway and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10735262B1 (en) * 2018-04-26 2020-08-04 Intuit Inc. System and method for self-orchestrated canary release deployment within an API gateway architecture
US20200112487A1 (en) * 2018-10-05 2020-04-09 Cisco Technology, Inc. Canary release validation mechanisms for a containerized application or service mesh
CN109814910A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 Automate gray scale dissemination method, device, computer system and storage medium
CN111324377A (en) * 2020-03-11 2020-06-23 上海东普信息科技有限公司 Application gray level release method, system, device and storage medium
CN112000348A (en) * 2020-07-28 2020-11-27 金蝶医疗软件科技有限公司 Control method and device for service gray release and computer equipment
CN112073320A (en) * 2020-11-12 2020-12-11 深圳壹账通智能科技有限公司 API (application program interface) gray level release method and device based on cloud gateway and computer equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610637A (en) * 2021-08-12 2021-11-05 上海通联金融服务有限公司 Intelligent route publishing method supported by gray algorithm
CN113610637B (en) * 2021-08-12 2023-07-04 上海通联金融服务有限公司 Intelligent route publishing method under support of gray level algorithm
CN115860734A (en) * 2022-12-12 2023-03-28 上海汇付支付有限公司 Unitized payment method

Similar Documents

Publication Publication Date Title
US10999235B2 (en) Interface, method and computer program product for controlling the transfer of electronic messages
CA2971669C (en) An interface, system, method and computer program product for controlling the transfer of electronic messages
US10997568B2 (en) System, method and computer program product for receiving electronic messages
US11080690B2 (en) Device, system, method and computer program product for processing electronic transaction requests
CN112764765A (en) Application gray level publishing method and system and computer readable storage medium
CN107832329B (en) Page resource obtaining method and terminal equipment
JP6191159B2 (en) Server, backup system, backup method, and computer program
CN109040263B (en) Service processing method and device based on distributed system
WO2021136233A1 (en) Service upgrading method, device and system
CN111143023A (en) Resource changing method and device, equipment and storage medium
CN105933298B (en) Apparatus and method for performing transmission control protocol handshaking
CN106570685B (en) Service processing method and device
CN106937277B (en) Address updating method and device
CN108076091A (en) For the method and system of application program hair version
US20080086535A1 (en) Instant messaging server suitable for notifying the accessibility of information to a client
CN106790168B (en) Communication preprocessing method, client and server
EP4301021A1 (en) A method for informing a mobile network operator server which profile of a profile type should be downloaded from a sm-dp+ to a secure element
CN115550467A (en) Remote terminal connection method, device, equipment and storage medium
CN114035979A (en) Transaction request processing method and device
JP2022037545A (en) Pos terminal, pos system, method and program
CN115904462A (en) Application program upgrading method and device, electronic equipment and readable storage medium
CN114978892A (en) Target node determination method and device
CN111132042A (en) Short message concurrent control method and device, storage medium and processor

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