CN111949277A - Intelligent gray scale release production method and device, computer equipment and storage medium - Google Patents

Intelligent gray scale release production method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111949277A
CN111949277A CN202010825893.9A CN202010825893A CN111949277A CN 111949277 A CN111949277 A CN 111949277A CN 202010825893 A CN202010825893 A CN 202010825893A CN 111949277 A CN111949277 A CN 111949277A
Authority
CN
China
Prior art keywords
program version
transaction
version
environment
gray scale
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
CN202010825893.9A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010825893.9A priority Critical patent/CN111949277A/en
Publication of CN111949277A publication Critical patent/CN111949277A/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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an intelligent gray scale release production method, an intelligent gray scale release production device, computer equipment and a storage medium, which can be applied to program release in the financial field, wherein the method comprises the following steps: monitoring a transaction index of a first program version in a production environment and a transaction index of a second program version in a gray scale environment in real time, wherein the second program version is an upgrade version of the first program version; determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version; and if the gray scale verification passes, deploying the second program version to the production environment for operation. The gray level verification and release of the program version can be automatically completed, the workload of operation and maintenance personnel can be reduced, and the production and release efficiency can be remarkably improved.

Description

Intelligent gray scale release production method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of gray release technologies, and in particular, to an intelligent gray release commissioning method, an intelligent gray release commissioning device, a computer device, and a storage medium.
Background
In the field of internet products, gray release refers to a smooth transition release mode used by an application service platform system in a new code or new data pushing process, namely: the new program version is only pre-deployed on a small number of servers, then a part of users are guided to experience in advance, the other part of users continue to use the old program version, updating and running stability of the system version can be guaranteed through gray release, and system problems can be timely found and adjusted in the initial gray level, so that the influence degree of the system version can be guaranteed.
In the prior art, a specially-assigned person needs to be arranged to watch to verify the gray release, and the version of a new program is corrected according to a verification result, so that the defects of high labor input cost, low reaction speed and low efficiency exist.
Disclosure of Invention
In order to solve the defects of high labor input cost, low reaction speed and low efficiency in gray scale publishing production in the prior art, a first aspect of the document provides an intelligent gray scale publishing production method, which comprises the following steps:
monitoring a transaction index of a first program version in a production environment and a transaction index of a second program version in a gray scale environment in real time, wherein the second program version is an upgrade version of the first program version;
determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version;
and if the gray scale verification passes, deploying the second program version to the production environment for operation.
In a further embodiment of the intelligent grayscale release commissioning method, if the grayscale verification fails, the release of the second program version in the grayscale environment is stopped to introduce the transaction flow entirely to the first program version in the production environment.
In a further embodiment of the intelligent gray scale release commissioning method, the transaction indicators include: transaction amount, success rate, response time.
In a further embodiment of the intelligent grayscale release commissioning method, monitoring in real-time a transaction indicator of a first program version in a production environment and a transaction indicator of a second program version in a grayscale environment includes:
for each first program version and each second program version, the following operations are performed to calculate the transaction index of each program version:
calculating the transaction amount of each program version according to the transaction number of each program version;
calculating the success rate of each program version according to the transaction result of each program version;
and calculating the response time of each program version according to the time of the user transaction request and the time of the response transaction of each program version.
In a further embodiment of the intelligent grayscale release commissioning method, monitoring in real-time a transaction indicator of a first program version in a production environment and a transaction indicator of a second program version in a grayscale environment includes:
determining a transaction index of a first program version in the production environment according to transaction requests of all users in the production environment;
and determining the transaction index of the second program version in the gray environment according to the user transaction request which accords with the pre-established transaction list.
In a further embodiment of the intelligent grayscale release commissioning method, determining whether the grayscale verification passes according to the transaction index of the first program version and the transaction index of the second program version includes:
and comparing the transaction index of the first program version with the transaction index of the second program version, and if the difference between the transaction index of the first program version and the transaction index of the second program version does not meet a preset condition, failing to verify the gray scale.
In a further embodiment of the intelligent gray scale publishing production method, the method further comprises:
and judging whether the user transaction request is a gray level transaction request, if so, routing the user transaction request to the gray level environment, otherwise, routing the user transaction submission request to the production environment.
In a further embodiment of the intelligent gray scale release commissioning method, after deploying the second program version operated in the gray scale environment to the production environment, the method further includes:
and judging whether the transaction index of the second program version in the production environment is abnormal or not, and returning to the second program version in the production environment when the transaction index is abnormal.
A second aspect of the present disclosure provides an intelligent grayscale release commissioning apparatus, including:
the monitoring module is used for monitoring the transaction index of a first program version in a production environment and the transaction index of a second program version in a gray level environment in real time, wherein the second program version is an upgrading version of the first program version;
the verification module is used for determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version;
and the deployment module is used for deploying the second program version to the production environment for operation if the gray scale verification passes.
A third aspect of the present disclosure provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the intelligent gray scale distribution production method according to any one of the foregoing embodiments when executing the computer program.
A fourth aspect of the present disclosure provides a computer-readable storage medium storing a computer program for executing, when executed by a processor, the method for intelligently issuing grayscale publications according to any of the foregoing embodiments.
The method, the device, the computer equipment and the storage medium for intelligent gray scale release production provided by the invention monitor the transaction index of a first program version in a production environment and the transaction index of a second program version in a gray scale environment in real time, wherein the second program version is an upgraded version of the first program version; determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version; if the gray scale verification is passed, the second program version is deployed to the production environment to run, the gray scale verification and release of the program version can be automatically completed, the workload of operation and maintenance personnel can be reduced, and the production and release efficiency can be remarkably improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 shows a first flowchart of an intelligent greyscale publication commissioning method of an embodiment herein;
FIG. 2 illustrates an intelligent gray scale release commissioning system diagram of an embodiment herein;
FIG. 3 shows a first flowchart of a transaction index calculation process of embodiments herein;
FIG. 4 shows a second flowchart of a transaction index calculation process of embodiments herein;
fig. 5 shows a second flowchart of an intelligent gray scale release commissioning method of an embodiment herein;
fig. 6 shows a first structural diagram of an intelligent gray scale release commissioning apparatus according to an embodiment of the present invention;
fig. 7 is a second block diagram of an intelligent gray scale distribution commissioning apparatus according to an embodiment of the present invention;
FIG. 8 is a third block diagram of an intelligent gray scale release commissioning apparatus according to an embodiment of the present invention;
FIG. 9 shows a block diagram of a computer device according to an embodiment of the present disclosure.
Description of the symbols of the drawings:
600. a transaction request analysis module;
610. a monitoring module;
620. a verification module;
630. a deployment module;
902. a computer device;
904. a processor;
906. a memory;
908. a drive mechanism;
910. an input/output module;
912. an input device;
914. an output device;
916. a presentation device;
918. a graphical user interface;
920. a network interface;
922. a communication link;
924. a communication bus.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection.
In view of the defects of high labor input cost, slow response speed and low efficiency in the gray scale publishing production in the prior art, in an embodiment of the present disclosure, as shown in fig. 1, an intelligent gray scale publishing production method is provided, which can be implemented by a detection platform (as shown in fig. 2), and specifically includes:
step 110, monitoring the transaction index of the old program version (first program version) in the production environment and the transaction index of the new program version (second program version) in the gray scale environment in real time.
The new program version is an upgraded version of the old program version, the old program version is a software version which is normally released and is released to all users, the new program version is a software version which is released in a gray scale, and is released to users with specific gray scale.
The transaction indexes monitored in this step are determined according to the user transaction request and the response condition thereof, and the transaction indexes include but are not limited to transaction amount, success rate and response time. In some embodiments, as shown in fig. 2, before the step is performed, the step further includes: and judging whether the user transaction request is a gray level transaction request, if so, routing the user transaction request to the gray level environment, otherwise, routing the user transaction submission request to the production environment. The user transaction request can be different according to different application fields, for example, the financial field software is updated, and the user transaction request can be initiated through multiple channels, such as a mobile phone bank, a telephone bank, a self-service terminal and the like. There are various methods for determining whether the user transaction request is a gray level transaction request, and still taking financial field software updating as an example, analysis may be performed according to partial information in the user transaction request, such as user ID, area code, merchant ID, mobile phone number, and the like, to determine whether the partial information conforms to a predetermined gray level range, and if so, the user transaction request is considered to be a gray level transaction request.
The production environment refers to an online environment, namely an environment applied by an old program version, and the grayscale environment is a transition of the production environment, namely an environment applied by a new program version.
And step 120, determining whether the gray level verification is passed according to the transaction indexes of the old program version and the new program version.
And step 130, if the gray level verification is passed and indicates that the new program version has no problem, deploying the new program version to the production environment for operation, and deleting the old program version in the production environment.
Step 140, if the gray level verification fails, which indicates that the new program version has a problem, stopping the release of the new program version in the gray level environment, so as to introduce all the transaction flow into the old program version in the production environment.
Specifically, when step 140 is implemented, the grayscale switch or the grayscale routing policy may be implemented by changing the configuration parameters, and the specific implementation process is not limited herein.
In implementation, in order to facilitate the staff to know the gray scale release condition in time, if the gray scale verification fails, prompt information is also sent to the staff, where the prompt information includes, for example, new program version information (e.g., version number, online time, etc.), and reasons why the gray scale verification fails (e.g., low transaction amount, low success rate, long response time, etc.).
In practice, it may also be determined whether there is a problem with the new program version by determining whether the monitoring at step 110 is normal. Whether the monitoring is normal or not can be determined by, for example, a calculated transaction index, and if the transaction index obviously exceeds a predetermined value, the monitoring is considered to be abnormal, and the specific determination process of whether the monitoring is normal or not is not limited herein.
The intelligent gray scale release production method provided by the invention can be applied to release of new program versions in the financial field, can also be applied to release of new program versions in any field except the financial field, and is not limited to the specific application field. The intelligent operation and maintenance of the system through gray level release reduces the workload of operation and maintenance personnel, and can obviously improve the production and edition issuing efficiency.
In one embodiment, the transaction indicators monitored in step 110 include: transaction amount, success rate, response time, as shown in fig. 3, for each old program version and each new program version, the following operations are performed to calculate the transaction index of each program version:
step 310, calculating the transaction amount of each program version according to the transaction number of each program version. Specifically, the total of the transaction numbers of the program versions within a predetermined time period (for example, 1s) is used as the transaction amount of each program version.
And step 320, calculating the success rate of each program version according to the transaction result of each program version. Specifically, for each version of the program, the success rate may be obtained by dividing the amount of failed transactions within a predetermined time period by the total amount of transactions.
Step 330, calculating the response time of each program version according to the time of the user transaction request and the time of the response transaction of each program version. Specifically, the time of the transaction request of the user is subtracted from the time of the corresponding transaction of each program version, so that the response time of each program version can be obtained.
Steps 310 to 330 are only for describing the calculation of the transaction index, and are not for limiting the calculation steps of the transaction index.
In one embodiment of this document, in order to improve the monitoring efficiency and accurately know the operation effect of the new program version, as shown in fig. 4, the step 110 includes:
step 410, determining transaction indexes of old program versions in the production environment according to transaction requests of all users in the production environment;
step 420, determining a transaction index of the new program version in the grayscale environment according to the user transaction request conforming to the pre-established transaction list. In detail, the pre-established transaction list includes, but is not limited to, current modified transactions, top N (for example, top 10) high-frequency transactions, and major transactions (major transaction requests are determined according to business scenario requirements). In order to avoid unpredictable influence of the reconstruction content on high-frequency transactions and key transactions, the monitoring conditions of the transactions can be comprehensively considered.
Steps 410 to 420 are only for describing the calculation of the transaction index, and are not for limiting the calculation steps of the transaction index.
In an embodiment of the present invention, the step 120 of determining whether the grayscale verification passes according to the transaction index of the old program version and the transaction index of the new program version includes:
and comparing the transaction index of the old program version with the transaction index of the new program version, and if the difference between the transaction index of the old program version and the transaction index of the new program version does not meet a preset condition, the gray level verification fails.
The difference between the transaction index of the old program version and the transaction index of the new program version in this step includes, but is not limited to, a difference, an absolute error, a ratio, and the like of the transaction indexes of the new program version and the old program version.
In some embodiments, if the difference of the transaction indicators of one of the old and new program versions does not meet the predetermined condition, the grayscale verification is considered to fail. For example, if the user of the production environment is 10 regions, the transaction amount is 100 ten thousand transactions per second, and the grayscale environment is 1 region, the normal transaction amount should be 10 ten thousand transactions per second, and if the transaction amount of the grayscale environment is less than 80% of the production environment (e.g. only 6 ten thousand transactions per second), it is considered that the grayscale environment may be a problem for the program, resulting in a decrease in the transaction amount. For another example, due to a long transaction link and a user misoperation, there are usually certain failed transactions (for example, there may be 2 failed transactions for 100 payment transactions), and if the success rate of the grayscale environment is lower than a certain set value, it is considered that the grayscale environment may be a problem in the program, resulting in a low success rate. For another example, if a transaction is initiated by a user and returns to the production environment in normal operation, the average is X (e.g., 0.5s), and the response time of the grayscale environment is much longer than X, it is considered that the grayscale environment may be a problem in the program and the response time is long.
Certainly, in specific implementation, the gray level verification result can be determined by adopting the following method: if the difference of the transaction indexes of one of the new program version and the old program version in a preset time period does not meet a preset condition all the time, the gray level verification is considered to be failed; and if the difference of the transaction indexes of all the new and old program versions does not meet the preset condition, the gray level verification is considered to be failed.
In an embodiment of the present disclosure, after the new program version is calibrated through the verification, the decision-making and control platform starts the automatic rollback of the program version in consideration of the problem that the gray scale may be insufficiently verified, such as the abnormal transaction amount, success rate, response time, and the like of the monitoring platform. As shown in fig. 5, there is also provided an intelligent gray scale publishing production method, including;
step 110, monitoring transaction indexes of an old program version in a production environment and transaction indexes of a new program version in a gray scale environment in real time, wherein the new program version is an upgrade version of the old program version.
Step 120, determining whether the gray level verification passes according to the transaction index of the old program version and the transaction index of the new program version;
and step 130, if the gray scale verification is passed, deploying the new program version to the production environment for operation.
Step 140, if the grayscale verification fails, stopping issuing the new program version in the grayscale environment, so as to introduce all the transaction flow into the old program version in the production environment.
And 150, judging whether the transaction index of the new program version in the production environment is abnormal, and returning the new program version in the production environment when the transaction index is abnormal. And if the transaction index is normal, continuing to run the new program version in the production environment.
The intelligent gray scale release production method can automatically complete gray scale verification and release of the program version, reduce the workload of operation and maintenance personnel and obviously improve the efficiency of production and release.
Based on the same inventive concept, an intelligent gray scale publishing production device is also provided, as described in the following embodiments. Because the principle of solving the problems of the intelligent gray scale issuing and commissioning device is similar to that of the intelligent gray scale issuing and commissioning method, the implementation of the intelligent gray scale issuing and commissioning device can refer to the intelligent gray scale issuing and commissioning method, and repeated parts are not described again.
As shown in fig. 6, the intelligent gradation issuance commissioning apparatus includes:
the monitoring module 610 is configured to monitor a transaction index of an old program version in a production environment and a transaction index of a new program version in a grayscale environment in real time, where the new program version is an upgraded version of the old program version.
And the verification module 620 is configured to determine whether the grayscale verification passes according to the transaction index of the old program version and the transaction index of the new program version.
A deployment module 630, configured to deploy the new program version to the production environment for operation if the grayscale verification passes. And if the gray scale verification is not passed, stopping the release of the new program version in the gray scale environment so as to introduce the transaction flow into the old program version in the production environment.
The intelligent gray scale release production device provided by the embodiment monitors the transaction index of an old program version in a production environment and the transaction index of a new program version in a gray scale environment in real time, wherein the new program version is an upgraded version of the old program version; determining whether the gray level verification passes according to the transaction index of the old program version and the transaction index of the new program version; if the gray scale verification is passed, the second program version is deployed to the production environment to run, the gray scale verification and release of the program version can be automatically completed, the workload of operation and maintenance personnel can be reduced, and the production and release efficiency can be remarkably improved.
In an embodiment of the present disclosure, the monitoring module 610 monitors the transaction index of the old program version in the production environment and the transaction index of the new program version in the grayscale environment in real time, including: for each old program version and each new program version, the following operations are performed to calculate the transaction index of each program version: calculating the transaction amount of each program version according to the transaction number of each program version; calculating the success rate of each program version according to the transaction result of each program version; and calculating the response time of each program version according to the time of the user transaction request and the time of the response transaction of each program version.
In an embodiment of the present disclosure, in order to improve the monitoring efficiency and accurately obtain the operation effect of the new program version, the monitoring module 610 monitors the transaction index of the old program version in the production environment and the transaction index of the new program version in the grayscale environment in real time, including: determining a transaction index of a first program version in the production environment according to transaction requests of all users in the production environment; and determining the transaction index of the new program version in the gray environment according to the user transaction request which accords with the pre-established transaction list.
In an embodiment of the present invention, the determining module 620 determines whether the grayscale verification passes according to the transaction index of the first program version and the transaction index of the new program version, including:
and comparing the transaction index of the old program version with the transaction index of the new program version, and if the difference between the transaction index of the old program version and the transaction index of the new program version does not meet a preset condition, the gray level verification fails.
In an embodiment of this document, as shown in fig. 7, the intelligent gray scale publishing production apparatus further includes: the transaction request analysis module 600 is configured to determine whether a user transaction request is a grayscale transaction request, route the user transaction request to the grayscale environment if the user transaction request is the grayscale transaction request, and route the user transaction submission request to the production environment otherwise.
In an embodiment of this document, in order to avoid the problem that the new program version may have insufficient grayscale verification, as shown in fig. 8, the intelligent grayscale release production apparatus further includes:
and the review module 640 is configured to determine whether a transaction index of the new program version in the production environment is abnormal, and return to the new program version in the production environment when the transaction index is abnormal.
In an embodiment herein, there is also provided a computer device, as shown in fig. 9, the computer device 902 may include one or more processors 904, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 902 may also include any memory 906 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, memory 906 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may be used to store information using any technique, and in one embodiment, the memory 906 stores a computer program that is executable on the processor, and the processor 904 executes the computer program to implement the intelligent gray scale distribution commissioning method described in any of the previous embodiments. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 902. In one case, when the processor 904 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 902 can perform any of the operations of the associated instructions. The computer device 902 also includes one or more drive mechanisms 908, such as a hard disk drive mechanism, an optical disk drive mechanism, etc., for interacting with any memory.
Computer device 902 may also include an input/output module 910(I/O) for receiving various inputs (via input device 912) and for providing various outputs (via output device 914)). One particular output mechanism may include a presentation device 916 and an associated Graphical User Interface (GUI) 918. In other embodiments, input/output module 910(I/O), input device 912, and output device 914 may also be excluded, acting as only one computer device in a network. Computer device 902 may also include one or more network interfaces 920 for exchanging data with other devices via one or more communication links 922. One or more communication buses 924 couple the above-described components together.
Communication link 922 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. Communication link 922 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
In an embodiment of this document, a computer-readable storage medium is further provided, where the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to execute the method for intelligent gray scale distribution production according to any of the foregoing embodiments.
In an embodiment of this document, there is also provided computer readable instructions, wherein when executed by a processor, the program causes the processor to perform the intelligent gray scale publishing production method as described in any of the previous embodiments.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, meaning that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments herein.
In addition, functional units in the embodiments herein may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of 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 solutions of the present invention may be implemented in a form of a software product, which is stored in a storage medium and includes several 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 methods described in 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 principles and embodiments of this document are explained herein using specific examples, which are presented only to aid in understanding the methods and their core concepts; meanwhile, for the general technical personnel in the field, according to the idea of this document, there may be changes in the concrete implementation and the application scope, in summary, this description should not be understood as the limitation of this document.

Claims (10)

1. An intelligent gray scale release production method is characterized by comprising the following steps:
monitoring a transaction index of a first program version in a production environment and a transaction index of a second program version in a gray scale environment in real time, wherein the second program version is an upgrade version of the first program version;
determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version;
and if the gray scale verification passes, deploying the second program version to the production environment for operation.
2. The method of claim 1, wherein if the grayscale verification fails, then ceasing the release of the second program version in the grayscale environment to bring the transaction flow entirely into the first program version in the production environment.
3. The method of claim 1, wherein monitoring in real time a transaction indicator of a first program version in a production environment and a transaction indicator of a second program version in a grayscale environment comprises:
for each first program version and each second program version, the following operations are performed to calculate the transaction index of each program version:
calculating the transaction amount of each program version according to the transaction number of each program version;
calculating the success rate of each program version according to the transaction result of each program version;
and calculating the response time of each program version according to the time of the user transaction request and the time of the response transaction of each program version.
4. The method of claim 1, wherein monitoring in real time a transaction indicator of a first program version in a production environment and a transaction indicator of a second program version in a grayscale environment comprises:
determining a transaction index of a first program version in the production environment according to transaction requests of all users in the production environment;
and determining the transaction index of the second program version in the gray environment according to the user transaction request which accords with the pre-established transaction list.
5. The method of claim 1, wherein determining whether grayscale verification passes based on the first program version transaction index and the second program version transaction index comprises:
and comparing the transaction index of the first program version with the transaction index of the second program version, and if the difference between the transaction index of the first program version and the transaction index of the second program version does not meet a preset condition, failing to verify the gray scale.
6. The method of claim 1, further comprising:
and judging whether the user transaction request is a gray level transaction request, if so, routing the user transaction request to the gray level environment, otherwise, routing the user transaction submission request to the production environment.
7. The method of claim 1, wherein after deploying the second program version of the grayscale environment run to the production environment, further comprising:
and judging whether the transaction index of the second program version in the production environment is abnormal or not, and returning to the second program version in the production environment when the transaction index is abnormal.
8. An intelligent gray scale release production device, comprising:
the monitoring module is used for monitoring the transaction index of a first program version in a production environment and the transaction index of a second program version in a gray level environment in real time, wherein the second program version is an upgrading version of the first program version;
the verification module is used for determining whether the gray level verification passes according to the transaction index of the first program version and the transaction index of the second program version;
and the deployment module is used for deploying the second program version to the production environment for operation if the gray scale verification passes.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the intelligent gray scale publishing production method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores an executable computer program, which when executed by a processor implements the intelligent gray scale distribution commissioning method of any one of claims 1 to 7.
CN202010825893.9A 2020-08-17 2020-08-17 Intelligent gray scale release production method and device, computer equipment and storage medium Pending CN111949277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010825893.9A CN111949277A (en) 2020-08-17 2020-08-17 Intelligent gray scale release production method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010825893.9A CN111949277A (en) 2020-08-17 2020-08-17 Intelligent gray scale release production method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111949277A true CN111949277A (en) 2020-11-17

Family

ID=73342423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010825893.9A Pending CN111949277A (en) 2020-08-17 2020-08-17 Intelligent gray scale release production method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111949277A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612507A (en) * 2020-12-23 2021-04-06 中国工商银行股份有限公司 Gray scale verification method, device, electronic equipment and storage medium
CN112799709A (en) * 2021-01-29 2021-05-14 中国工商银行股份有限公司 Performance and transaction verification method and device for gray release of cloud container
CN113312257A (en) * 2021-05-24 2021-08-27 深圳市中科明望通信软件有限公司 Version identification method and device, storage medium and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system
CN111104260A (en) * 2019-12-30 2020-05-05 北京三快在线科技有限公司 Service upgrade monitoring method, device, server and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system
CN111104260A (en) * 2019-12-30 2020-05-05 北京三快在线科技有限公司 Service upgrade monitoring method, device, server and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612507A (en) * 2020-12-23 2021-04-06 中国工商银行股份有限公司 Gray scale verification method, device, electronic equipment and storage medium
CN112799709A (en) * 2021-01-29 2021-05-14 中国工商银行股份有限公司 Performance and transaction verification method and device for gray release of cloud container
CN112799709B (en) * 2021-01-29 2024-04-12 中国工商银行股份有限公司 Performance and transaction verification method and device for gray release of containers on cloud
CN113312257A (en) * 2021-05-24 2021-08-27 深圳市中科明望通信软件有限公司 Version identification method and device, storage medium and computer equipment
CN113312257B (en) * 2021-05-24 2023-09-22 深圳市中科明望通信软件有限公司 Version identification method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
US11037168B1 (en) Transaction exchange platform with watchdog microservice
CN111949277A (en) Intelligent gray scale release production method and device, computer equipment and storage medium
US11562368B2 (en) Transaction exchange platform with watchdog microservice
US8161330B1 (en) Self-service terminal remote diagnostics
US9223985B2 (en) Risk assessment of changing computer system within a landscape
US8806275B1 (en) Self-service terminal remote fix
US20090024425A1 (en) Methods, Systems, and Computer-Readable Media for Determining an Application Risk Rating
SG183217A1 (en) Self-service device inventory information control
US20230153826A1 (en) Detecting and preventing duplicate transactions on a transaction exchange platform
CN110675247B (en) Unknown transaction processing method and system, peripheral system and core bank system
CN103440460A (en) Application system change validation method and system
CN114168682A (en) Data auditing method, device, equipment and storage medium
CN112990871A (en) Document processing method and related equipment
US9519536B2 (en) Electronic management system for technology support reporting
KR20160025796A (en) Apparatus for exchanging money piece by piece and method thereof
EP4220519A1 (en) Transaction exchange platform having streaming transaction data and microservices
CN113051135A (en) Application thread pool monitoring method and thread pool monitoring device
CN114722025A (en) Data prediction method, device and equipment based on prediction model and storage medium
CN111797590A (en) Data checking method, device and equipment
CN113052687B (en) Transaction route distribution method and related device
CN115063246B (en) Block chain evaluation method and device based on maturity model
KR20190108452A (en) A Mining System and its Operational Method
US11749070B2 (en) Identification of anomalies in an automatic teller machine (ATM) network
WO2024029189A1 (en) Development support system
WO2023132107A1 (en) Insurance claim payment reviewing system, program, and insurance claim payment reviewing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination