CN116578335B - Gray release system, method, equipment, medium and product - Google Patents

Gray release system, method, equipment, medium and product Download PDF

Info

Publication number
CN116578335B
CN116578335B CN202310856130.4A CN202310856130A CN116578335B CN 116578335 B CN116578335 B CN 116578335B CN 202310856130 A CN202310856130 A CN 202310856130A CN 116578335 B CN116578335 B CN 116578335B
Authority
CN
China
Prior art keywords
gray
user
gray scale
rule
elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310856130.4A
Other languages
Chinese (zh)
Other versions
CN116578335A (en
Inventor
张福强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202310856130.4A priority Critical patent/CN116578335B/en
Publication of CN116578335A publication Critical patent/CN116578335A/en
Application granted granted Critical
Publication of CN116578335B publication Critical patent/CN116578335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a gray level release system which can be applied to the technical field of data processing. The gray scale distribution system comprises: the gray rule base module is used for setting gray rule templates according to the user demands of users, and gray elements included in the gray rule templates are the same or different; the gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements; and the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule. The invention also provides a gray level release method, equipment, medium and product, which can accurately control gray level with fine granularity and reduce system overhead.

Description

Gray release system, method, equipment, medium and product
Technical Field
The invention relates to the field of data processing, in particular to a gray level publishing system, a gray level publishing method, gray level publishing equipment, gray level publishing medium and gray level publishing product.
Background
The requirements of users on the accuracy test coverage of cloud product services are higher and higher, and forward compatibility of testing to cover all clients and functions is still achieved under the condition that real traffic is difficult to simulate. However, in most scenes, it is difficult to test the whole coverage, and even if the test results in that the line can be threaded after a plurality of times, the line can be threaded slowly or partially, etc. Testing is not possible to meet all requirements without complete test data. And at the same time, some businesses need to go to the production environment to verify and acquire some data indexes, etc.
The gray scale of the common business industry, entertainment and catering and the like can be directly selected for putting test water in partial remote areas, but the system tables of large-scale domestic systems, securities, banks, stocks, national whole institutions and the like have great management pressure and fine adjustment, only coarse-granularity gray scale control can be performed, and the system cost is high.
Disclosure of Invention
In view of the above, the present invention provides a gray scale distribution system, method, apparatus, medium and product.
According to a first aspect of the present invention, there is provided a gradation release system comprising:
the gray rule base module is used for setting gray rule templates according to the user demands of users, wherein gray elements included in the gray rule templates are the same or different;
the gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements;
and the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule.
In one embodiment of the present invention, the data processing of the traffic data of the user conforming to the personal gray rule template includes:
gray scale factor analysis is carried out on the flow data of the user, so that gray scale factors in the flow data of the user are obtained;
judging whether the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user or not;
and when the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user, sending the flow data of the user to a gray scale processing system.
In an embodiment of the present invention, the grayscale element includes at least one of a request time, a request IP, a client type, url, a protocol type, a domain name, cookie, session of the traffic data.
In an embodiment of the present invention, the gray scale engine module is further configured to periodically read a gray scale rule template in the gray scale rule library.
In an embodiment of the present invention, the setting the gray rule template according to the user requirement of the user includes:
classifying the user demands of the users to obtain demand types;
setting the gray rule template according to the demand type;
setting the gray scale elements of the gray scale rule template as a first gray scale element set under the condition that the user requirements of the users belong to a first type;
and setting the gray scale elements of the gray scale rule template as a second gray scale element set under the condition that the user requirements of the user belong to a second type.
In an embodiment of the present invention, the gray control center module is further configured to set a number of times of performing data processing on the flow data, and/or set a time of performing data processing on the flow data.
A second aspect of the present invention provides a gray scale distribution method, which is applied to the gray scale distribution system described in the first aspect, and includes:
setting a gray rule template according to the user requirement of a user through a gray rule library module, wherein gray elements included in the gray rule template are the same or different;
displaying the gray rule template for the user through a gray control center module, and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements;
and carrying out data processing on the flow data of the user conforming to the personal gray scale rule through a gray scale engine module.
In one embodiment of the present invention, the data processing of the traffic data of the user conforming to the personal gray rule template includes:
gray scale factor analysis is carried out on the flow data of the user, so that gray scale factors in the flow data of the user are obtained;
judging whether the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user or not;
and when the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user, sending the flow data of the user to a gray scale processing system.
In an embodiment of the present invention, the grayscale element includes at least one of a request time, a request IP, a client type, url, a protocol type, a domain name, cookie, session of the traffic data.
A third aspect of the present invention provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the grayscale distribution method described above.
The fourth aspect of the present invention also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described gradation release method.
The fifth aspect of the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described greyscale publishing method.
An embodiment of the present invention provides a gray scale distribution system, including: the gray rule base module is used for setting gray rule templates according to the user demands of users, and gray elements included in the gray rule templates are the same or different; the gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements; and the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule. The gray scale control can be accurately performed in fine granularity, and the system overhead is reduced.
Drawings
The foregoing and other objects, features and advantages of the invention will be apparent from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
fig. 1 schematically shows a schematic configuration of a gradation release system according to an embodiment of the present invention.
Fig. 2 schematically shows a schematic diagram of traffic data processing according to an embodiment of the invention.
Fig. 3 schematically shows a flow diagram of data processing of traffic data according to an embodiment of the invention.
Fig. 4 schematically shows a flowchart of a gray scale distribution method according to an embodiment of the present invention; and
fig. 5 schematically shows a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the invention, the related processes of collecting, storing, using, processing, transmitting, providing, inventing, applying and the like of the personal information of the user all accord with the regulations of related laws and regulations, necessary security measures are adopted, and the public order harmony is not violated.
It should be noted that the gray scale release system, the method, the electronic device and the storage medium provided by the invention can be used in the financial technical field, and can also be used in any field except the financial technical field, and the application fields of the gray scale release system, the method, the electronic device and the storage medium provided by the invention are not limited.
The main idea of the gray level release method is that new and old versions of programs are reserved in the system at the same time, new functions added in the current period or products adopting new technologies only exist in the new programs, partial user traffic is considered to come in after the new programs are put into operation, the partial users experience the new products or functions preferentially, developers can optimize the new products or functions continuously according to data generated by the partial users, and finally the new products or functions are released formally and used by all users. The gray level release method can reduce the risk of a new program, realize the smooth release of a new function or product, and become an important guarantee for the stability of an application system. The gray level release method in the industry mainly comprises the following three steps of:
(1) Canary publication: the canary release cost is lower, the risk of the new version can be reduced by only one instance, and the canary release method is suitable for users lacking sufficient release tool research and development capability, but has the defects that when all the remaining instances are upgraded, if the flow is excessive, service interruption can be caused, meanwhile, the gray control is thicker, and the method depends on the development cooperation of the back end. Because of the large cost and small benefit, small variation in the ultra-large integrated system cannot be supported;
(2) Red and black release: when the system is deployed, a brand new cluster B is opened up for use, the cluster A is upgraded at the same time, after the cluster A is upgraded, the cluster B resource is released, and the route is turned to the cluster A, so that the requirement on the environment resource space is high during the defect, and the system overload problem is easy to cause;
(3) Blue-green release: the method is characterized in that the method is used for optimizing the total release, all instances of a new version are deployed without stopping before release, then all traffic is switched to the new version, release time is limited, and node resource pressure is high.
Based on this, an embodiment of the present invention provides a gray scale distribution system including: the gray rule base module is used for setting gray rule templates according to the user demands of users, and gray elements included in the gray rule templates are the same or different; the gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements; and the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule. The gray scale control can be accurately performed in fine granularity, and the system overhead is reduced.
Fig. 1 schematically shows a schematic configuration of a gradation release system according to an embodiment of the present invention.
As shown in fig. 1, the gradation release system of this embodiment includes a gradation control center module, a gradation rule base module, and a gradation engine module.
And the gray rule library module is used for setting gray rule templates according to the user requirements of the user, wherein gray elements included in the gray rule templates are the same or different.
It will be appreciated that the user to which the present invention refers may be a tester. The gray rule templates may be set according to the user's user requirements for different users, i.e., the elements in the gray rule templates for each user may be the same or different. For example, the gray rule template for user a includes abcd four gray elements and the gray rule template for user B includes acde four gray elements.
The gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements.
The gray rule template may be displayed for the user through a display in the form of a table, a list, or the like, or may be displayed for the user through audio, which is not limited in the present invention. The invention is not limited to the gray elements selected by designing the pull-down selection frame when the gray elements are selected in the manner that the display is displayed for the user.
And the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule.
It can be appreciated that the greyscale engine of the present invention implements filtering of the user's traffic data. In one possible implementation, the gray engine may implement traffic gray in combination with nginx+lua+redis, and gray verification may be implemented without developing or modifying existing online code.
Fig. 2 schematically shows a schematic diagram of traffic data processing according to an embodiment of the invention.
As shown in fig. 2, the gray rule library module sets gray rule templates according to user demands of users, and gray elements included in the gray rule templates are the same or different. The gray scale control center module displays the gray scale rule template for the user, and acquires gray scale elements selected by the user in the gray scale rule template to obtain personal gray scale rules containing the selected gray scale elements. The user flow data is input into the gray engine module, the gray engine module transmits the user flow data which accords with the personal gray rule, namely gray flow, to the gray processing system for data processing, and transmits the user flow data which does not accord with the personal gray rule, namely non-gray flow, to the data processing system for data processing.
Fig. 3 schematically shows a flow diagram of data processing of traffic data according to an embodiment of the invention.
As shown in fig. 3, data processing the traffic data of the user conforming to the personal gray scale rule template includes operations S210-230.
In operation S210, gray scale factor analysis is performed on the user 'S flow data to obtain gray scale factors in the user' S flow data;
in operation S220, it is determined whether the gray elements in the user 'S traffic data conform to the user' S personal gray rule;
in operation S230, in case that the gray scale elements in the user ' S traffic data conform to the user ' S personal gray scale rule, the user ' S traffic data is transmitted to the gray scale processing system.
It is understood that the gray scale processing system is used for gray scale processing of the received traffic data.
In one possible implementation, the traffic data for the user is sent to the data processing system in the event that the gray scale elements in the traffic data for the user do not conform to the personal gray scale rules for the user. Optionally, the data is sent to the corresponding data processing system differently according to the destination IP of the traffic data or the purpose to be achieved by the traffic data.
In an example, gray scale factor analysis is performed on the user's flow data, so that flow data 1 in the user's flow data includes four factors of abef, and flow data 2 includes three factors of ace. The gray rule template of the user a includes four gray elements abcd, and the user selects two elements ac as the personal gray rule. It is known that the flow data 1 does not conform to the personal gray scale rule of the user, and the flow data 2 conforms to the personal gray scale rule of the user, so the flow data 2 is subjected to data processing.
In an embodiment of the present invention, the grayscale element includes at least one of a request time, a request IP, a client type, url, a protocol type, a domain name, cookie, session of the traffic data. Further, any other extractable feature in the traffic data may be included, such as a method, host head, etc., as the invention is not limited in this regard.
It can be appreciated that the above gray elements can be combined and matched as needed to accommodate different scenarios, for example, request IP and client type matching, for a client using a certain type of client for a certain area. For another example, the request time and domain name collocation is for a client on a website at a certain time.
In an embodiment of the present invention, the gray scale engine module is further configured to periodically read gray scale rule templates in the gray scale rule library. The invention is not limited to regular time, and can be ten minutes, one hour or one day.
In an embodiment of the present invention, setting the gray rule template according to a user requirement of a user includes: classifying the user demands of the user to obtain demand types; and setting the gray rule template according to the requirement type. In a possible implementation manner, in a case that a user requirement of the user belongs to a first type, setting a gray scale element of the gray scale rule template as a first gray scale element set; in case the user demand of the user belongs to a second type, the gray elements of the gray rule template are set to a second set of gray elements.
The type of user demand is, for example, the business demand for placing an order, the business demand for deposit, etc. The types of user needs may be categorized as desired. For example, the first type is a customer-related user demand, the second type is a customer-unrelated user demand, and accordingly, the gray elements in the first set of gray elements include customer-related elements, and the gray elements in the second set of gray elements do not include customer-related elements. In an example, in a case where the user's user demand is of a first type, the gray elements of the gray rule template may be set to a first gray element set including gray elements of a request IP, a client type, etc., and in a case where the user's user demand is of a second type, the gray elements of the gray rule template may be set to a second gray element set including gray elements of url, a protocol type, a domain name, a cookie, etc.
In an embodiment of the present invention, the gray control center module is further configured to set the number of times of performing data processing on the flow data and/or set the time of performing data processing on the flow data. The grey scale of the ip cookie level is advanced to the domain name and url and method level. The gray scale frequency limit guarantee is increased, the influence on the service is reduced to the maximum extent, and the requirement of users, namely service personnel, on the first online stability of the gray scale is met.
Fig. 4 schematically shows a flowchart of a gray scale distribution method according to an embodiment of the present invention.
As shown in fig. 4, the gray scale distribution method of this embodiment includes operations S310 to S330, and the gray scale distribution method may be performed by an electronic device including the gray scale distribution system shown in fig. 1.
In operation S310, a gray rule template is set according to a user' S need through a gray rule library module, and gray elements included in the gray rule template are the same or different.
In operation S320, the gray rule template is displayed to the user through the gray control center module, and the gray elements selected by the user in the gray rule template are obtained, so as to obtain the personal gray rule including the selected gray elements.
In operation S330, data processing is performed on the traffic data of the user conforming to the personal gray scale rule by the gray scale engine module.
In one embodiment of the present invention, the data processing of the traffic data of the user conforming to the personal gray scale rule template includes: gray scale factor analysis is carried out on the flow data of the user, so that gray scale factors in the flow data of the user are obtained; judging whether the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user or not; and when the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user, performing data processing on the flow data of the user.
In an embodiment of the present invention, the grayscale element includes at least one of a request time, a request IP, a client type, url, a protocol type, a domain name, cookie, session of the traffic data.
In an embodiment of the present invention, the method shown in fig. 4 further includes: and periodically reading the gray rule templates in the gray rule base through the gray engine module.
In an embodiment of the present invention, the setting the gray rule template according to the user requirement of the user includes: classifying the user demands of the user to obtain demand types; setting the gray rule template according to the requirement type; setting the gray scale elements of the gray scale rule template as a first gray scale element set under the condition that the user requirements of the user belong to a first type; in case the user demand of the user belongs to a second type, the gray elements of the gray rule template are set to a second set of gray elements.
In an embodiment of the present invention, the method shown in fig. 4 further includes setting, by the gray control center module, the number of times of performing data processing on the flow data and/or setting the time of performing data processing on the flow data.
According to an embodiment of the present invention, any of the gray control center module, the gray rule base module, and the gray engine module may be combined and implemented in one module, or any of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present invention, at least one of the gray scale control center module, the gray scale rule base module, and the gray scale engine module may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging the circuits, or in any one of or a suitable combination of any of the three. Alternatively, at least one of the gray control center module, the gray rule base module, and the gray engine module may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
Fig. 5 schematically shows a block diagram of an electronic device according to an embodiment of the invention.
As shown in fig. 5, the electronic device 400 according to the embodiment of the present invention includes a processor 401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. The processor 401 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 401 may also include on-board memory for caching purposes. Processor 401 may include a single processing unit or multiple processing units for performing the different actions of the method flow in accordance with an embodiment of the invention.
In the RAM 403, various programs and data necessary for the operation of the electronic device 400 are stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other by a bus 404. The processor 401 performs various operations of the method flow according to the embodiment of the present invention by executing programs in the ROM 402 and/or the RAM 403. Note that the program may be stored in one or more memories other than the ROM 402 and the RAM 403. The processor 401 may also perform various operations of the method flow according to an embodiment of the present invention by executing programs stored in the one or more memories.
According to an embodiment of the invention, the electronic device 400 may further comprise an input/output (I/O) interface 405, the input/output (I/O) interface 405 also being connected to the bus 404. Electronic device 400 may also include one or more of the following components connected to I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output portion 407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage section 408 including a hard disk or the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. The drive 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
The present invention also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present invention.
According to embodiments of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the invention, the computer-readable storage medium may include ROM 402 and/or RAM 403 and/or one or more memories other than ROM 402 and RAM 403 described above.
Embodiments of the present invention also include a computer program product comprising a computer program containing program code for performing the method shown in the flowcharts. The program code means for causing a computer system to carry out the gray scale distribution method provided by the embodiment of the present invention when the computer program product is run in the computer system.
The above-described functions defined in the system/apparatus of the embodiment of the present invention are performed when the computer program is executed by the processor 401. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the invention.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed over a network medium in the form of signals, downloaded and installed via the communication portion 409, and/or installed from the removable medium 411. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. The above-described functions defined in the system of the embodiment of the present invention are performed when the computer program is executed by the processor 401. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the invention.
According to embodiments of the present invention, program code for carrying out computer programs provided by embodiments of the present invention may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or in assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the invention can be combined in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the present invention. In particular, the features recited in the various embodiments of the invention can be combined and/or combined in various ways without departing from the spirit and teachings of the invention. All such combinations and/or combinations fall within the scope of the invention.
The embodiments of the present invention are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the invention, and such alternatives and modifications are intended to fall within the scope of the invention.

Claims (10)

1. A gradation release system, comprising:
the gray rule base module is used for setting gray rule templates according to the user demands of users, wherein gray elements included in the gray rule templates are the same or different;
the gray control center module is used for displaying the gray rule template for the user and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements;
the gray engine module is used for carrying out data processing on the flow data of the user conforming to the personal gray rule;
the setting the gray rule template according to the user demand of the user comprises the following steps:
classifying the user demands of the users to obtain demand types;
setting the gray rule template according to the demand type;
setting gray elements of the gray rule template to be a first gray element set under the condition that the user requirements of the user belong to a first type, wherein the first type is the user requirements related to clients, and the gray elements in the first gray element set comprise elements related to the clients;
and setting the gray scale elements of the gray scale rule template as a second gray scale element set under the condition that the user demand of the user belongs to a second type, wherein the second type is the user demand irrelevant to the client, and the gray scale elements in the second gray scale element set do not comprise elements relevant to the client.
2. The gray scale distribution system according to claim 1, wherein said data processing of said user's traffic data conforming to said personal gray scale rule comprises:
gray scale factor analysis is carried out on the flow data of the user, so that gray scale factors in the flow data of the user are obtained;
judging whether the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user or not;
and when the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user, sending the flow data of the user to a gray scale processing system.
3. The gray scale distribution system according to claim 1, wherein said gray scale elements include at least one of request time, request IP, client type, url, protocol type, domain name, cookie, session of said traffic data.
4. The gray scale distribution system of claim 1 wherein said gray scale engine module is further configured to periodically read gray scale rule templates from said gray scale rule library templates.
5. A gray scale distribution system according to claim 1 or 3, wherein said gray scale control center module is further configured to set the number of times of performing data processing of said flow data and/or to set the time of performing data processing of said flow data.
6. A gradation release method, characterized by being applied to the gradation release system according to any one of claims 1 to 5, comprising:
setting a gray rule template according to the user requirement of a user through a gray rule library module, wherein gray elements included in the gray rule template are the same or different;
displaying the gray rule template for the user through a gray control center module, and acquiring gray elements selected by the user in the gray rule template to obtain personal gray rules containing the selected gray elements;
and carrying out data processing on the flow data of the user conforming to the personal gray scale rule through a gray scale engine module.
7. The gray scale distribution method according to claim 6, wherein said data processing of the traffic data of the user conforming to the personal gray scale rule comprises:
gray scale factor analysis is carried out on the flow data of the user, so that gray scale factors in the flow data of the user are obtained;
judging whether the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user or not;
and when the gray scale elements in the flow data of the user accord with the personal gray scale rule of the user, sending the flow data of the user to a gray scale processing system.
8. The gray scale distribution method according to claim 6, wherein the gray scale elements include at least one of a request time, a request IP, a client type, url, a protocol type, a domain name, cookie, session of the traffic data.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 6-8.
10. A computer readable storage medium having stored thereon executable instructions which when executed by a processor implement the method according to any of claims 6-8.
CN202310856130.4A 2023-07-13 2023-07-13 Gray release system, method, equipment, medium and product Active CN116578335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310856130.4A CN116578335B (en) 2023-07-13 2023-07-13 Gray release system, method, equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310856130.4A CN116578335B (en) 2023-07-13 2023-07-13 Gray release system, method, equipment, medium and product

Publications (2)

Publication Number Publication Date
CN116578335A CN116578335A (en) 2023-08-11
CN116578335B true CN116578335B (en) 2023-10-03

Family

ID=87541711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310856130.4A Active CN116578335B (en) 2023-07-13 2023-07-13 Gray release system, method, equipment, medium and product

Country Status (1)

Country Link
CN (1) CN116578335B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469076A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 A kind of gray scale dissemination method and device
CN110597535A (en) * 2019-08-27 2019-12-20 贝壳技术有限公司 Gray scale publishing method and device and storage medium
CN111488159A (en) * 2019-12-20 2020-08-04 杭州当虹科技股份有限公司 Gray scale publishing method capable of being dynamically configured
WO2020181684A1 (en) * 2019-03-12 2020-09-17 平安科技(深圳)有限公司 Grayscale release management method, system and device, and storage medium
CN112835604A (en) * 2021-03-26 2021-05-25 中国工商银行股份有限公司 System gray scale version release management method, system, device and medium
CN114265607A (en) * 2022-03-03 2022-04-01 杭州朗澈科技有限公司 Gray scale publishing method and system, electronic device and storage medium
CN114461230A (en) * 2022-01-29 2022-05-10 中国工商银行股份有限公司 Gray scale publishing method, device, equipment and medium
CN115237818A (en) * 2022-09-26 2022-10-25 浩鲸云计算科技股份有限公司 Method and system for realizing multi-environment multiplexing based on full link identification
CN116414441A (en) * 2023-03-29 2023-07-11 招商银行股份有限公司 Gray release method, device, terminal equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11030071B2 (en) * 2018-04-16 2021-06-08 Armory, Inc. Continuous software deployment
CN113127023B (en) * 2019-12-31 2024-04-09 华为技术有限公司 Service upgrading method, device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469076A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 A kind of gray scale dissemination method and device
WO2020181684A1 (en) * 2019-03-12 2020-09-17 平安科技(深圳)有限公司 Grayscale release management method, system and device, and storage medium
CN110597535A (en) * 2019-08-27 2019-12-20 贝壳技术有限公司 Gray scale publishing method and device and storage medium
CN111488159A (en) * 2019-12-20 2020-08-04 杭州当虹科技股份有限公司 Gray scale publishing method capable of being dynamically configured
CN112835604A (en) * 2021-03-26 2021-05-25 中国工商银行股份有限公司 System gray scale version release management method, system, device and medium
CN114461230A (en) * 2022-01-29 2022-05-10 中国工商银行股份有限公司 Gray scale publishing method, device, equipment and medium
CN114265607A (en) * 2022-03-03 2022-04-01 杭州朗澈科技有限公司 Gray scale publishing method and system, electronic device and storage medium
CN115237818A (en) * 2022-09-26 2022-10-25 浩鲸云计算科技股份有限公司 Method and system for realizing multi-environment multiplexing based on full link identification
CN116414441A (en) * 2023-03-29 2023-07-11 招商银行股份有限公司 Gray release method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN116578335A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US20160148322A1 (en) Method and system for selecting interchangeable analytics modules to provide customized tax return preparation interviews
AU2015371218A1 (en) Method and system for evaluating interchangeable analytics modules used to provide customized tax return preparation interviews
CN109582550B (en) Method, device and server for acquiring full-service scene fault set
CN110990053A (en) Method for creating and using machine learning scheme template and device
US11544176B1 (en) Systems and methods for automatically assessing and conforming software development modules to accessibility guidelines in real-time
CN113344523A (en) Data processing method and device, electronic equipment and computer readable storage medium
US9201768B1 (en) System, method, and computer program for recommending a number of test cases and effort to allocate to one or more business processes associated with a software testing project
CN114238993A (en) Risk detection method, apparatus, device and medium
US20130311220A1 (en) Evaluating deployment readiness in delivery centers through collaborative requirements gathering
CN116578335B (en) Gray release system, method, equipment, medium and product
CN113128773A (en) Training method of address prediction model, address prediction method and device
CN110363394B (en) Wind control service method and device based on cloud platform and electronic equipment
KR101310420B1 (en) User-definable Process-based Management System for Urban Planning and Recording Media for the Same
CN111930629A (en) Page testing method and device, electronic equipment and storage medium
US10878804B2 (en) Voice controlled keyword generation for automated test framework
CN108108175A (en) A kind of method and apparatus for gray scale issue
CN111179057A (en) Resource allocation method and device and electronic equipment
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
CN112785287A (en) Method, apparatus, computer system and medium for billing settlement
CN115719270A (en) Credit evaluation method, device, apparatus, medium, and program product
CN115408297A (en) Test method, device, equipment and medium
CN115904527A (en) Data processing method, device, equipment and medium
US11341505B1 (en) Automating content and information delivery
CN114817073A (en) Automated testing method, apparatus, device, medium, and program product
CN114066651A (en) Product recommendation method and device, electronic equipment and storage medium

Legal Events

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