CN111782260B - Gray level distribution method and gray level distribution device - Google Patents

Gray level distribution method and gray level distribution device Download PDF

Info

Publication number
CN111782260B
CN111782260B CN202010605116.3A CN202010605116A CN111782260B CN 111782260 B CN111782260 B CN 111782260B CN 202010605116 A CN202010605116 A CN 202010605116A CN 111782260 B CN111782260 B CN 111782260B
Authority
CN
China
Prior art keywords
strategy
gray level
gray
request data
key element
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
CN202010605116.3A
Other languages
Chinese (zh)
Other versions
CN111782260A (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.)
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 CN202010605116.3A priority Critical patent/CN111782260B/en
Publication of CN111782260A publication Critical patent/CN111782260A/en
Application granted granted Critical
Publication of CN111782260B publication Critical patent/CN111782260B/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

Abstract

The invention provides a gray level release method and a gray level release device, wherein the method comprises the following steps: receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; and sending the request data to a target terminal in a routing mode. The invention can improve the suitability and flexibility of gray release, thereby reducing the research and development cost.

Description

Gray level distribution method and gray level distribution device
Technical Field
The invention relates to the technical field of computers, in particular to a gray level release method and a gray level release device.
Background
With the rapid development of the internet and mobile communication, the financial science and technology system of commercial banks has been integrated into various fields of people's production and life, and market has put forward higher requirements on the stability of the banking science and technology system, and gray scale release technology has become an important guarantee for the stability of application systems. With transformation of the distributed architecture, service call interaction among applications gradually becomes a mainstream mode, and gray level control of service call has become an important point for construction of maturity of each application.
At present, because of large system positioning and service variety difference among application systems, the requirements on gray scale strategies are different, so that each application gray scale release scheme cannot be reused, repeated development is needed, and unnecessary development cost is increased. Meanwhile, gray release has higher requirements on emergency capability due to the particularity of the gray release, and quick switching is needed in emergency, so that the service influence is reduced.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a gray level release method and a gray level release device, which can improve the suitability and flexibility of gray level release and further reduce the research and development cost.
In order to solve the technical problems, the invention provides the following technical scheme:
in a first aspect, the present invention provides a gray scale distribution method, including:
receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data;
determining a strategy matching result according to the key element parameters and a preset gray level strategy library;
determining a gray version corresponding to the request data based on the strategy matching result;
the request data is sent to a target terminal in a routing mode; the target terminal refers to one or more terminal devices which adopt the gray level version and are used for processing request data.
Further, the method further comprises the following steps:
receiving strategy data sent by an operation and maintenance terminal;
and generating a gray scale strategy according to the strategy data and storing the gray scale strategy into the gray scale strategy library.
Further, the method further comprises the following steps:
receiving isolation data sent by an operation and maintenance terminal;
determining a gray scale strategy corresponding to the isolated data in the gray scale strategy library;
and marking the state of the gray level strategy corresponding to the isolation data as invalid.
The determining a policy matching result according to the key element parameters and a preset gray level policy library comprises the following steps:
determining a key value corresponding to the key element parameter, and performing logic operation based on the key value to determine a characteristic value;
searching a gray level strategy corresponding to the characteristic value in the preset gray level strategy library;
and the strategy matching result is a gray strategy corresponding to the characteristic value.
In a second aspect, the present invention provides a gradation issuing apparatus, comprising:
the first receiving unit is used for receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data;
the matching unit is used for determining a strategy matching result according to the key element parameters and a preset gray level strategy library;
the version unit is used for determining a gray level version corresponding to the request data based on the strategy matching result;
the forwarding unit is used for sending the request data to a target terminal in a routing mode; the target terminal refers to one or more terminal devices which adopt the gray level version and are used for processing request data.
Further, the method further comprises the following steps:
the second receiving unit is used for receiving the strategy data sent by the operation and maintenance terminal;
and the storage unit is used for generating a gray level strategy according to the strategy data and storing the gray level strategy into the gray level strategy library.
Further, the method further comprises the following steps:
the third receiving unit is used for receiving the isolated data sent by the operation and maintenance terminal;
the marking unit is used for determining a gray level strategy corresponding to the isolation data in the gray level strategy library;
and the isolation unit is used for marking the state of the gray level strategy corresponding to the isolation data as invalid.
Wherein the matching unit includes:
the feature calculation subunit is used for determining key values corresponding to the key element parameters, and carrying out logic operation based on the key values to determine feature values;
the searching subunit is used for searching the gray level strategy corresponding to the characteristic value in the preset gray level strategy library;
and the strategy matching result is a gray strategy corresponding to the characteristic value.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the gray scale distribution method when executing the program.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the gray scale distribution method.
As can be seen from the above technical solution, the present invention provides a gray level distribution method and a gray level distribution device, which are configured to obtain key element parameters carried by request data by receiving the request data sent by a request terminal and analyzing the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; the request data is sent to the target terminal in a routing mode, so that the suitability and flexibility of gray level release can be improved, and the research and development cost is further reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a gray scale distribution method according to an embodiment of the invention.
Fig. 2 is a second flow chart of the gray scale distribution method according to the embodiment of the invention.
Fig. 3 is a third flow chart of the gray scale distribution method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a system structure to which a gray level distribution method is applied in an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a gray scale distribution device according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides an embodiment of a gray level release method, referring to fig. 1, the gray level release method specifically comprises the following contents:
s101: receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data;
in this step, the requesting terminal is the party initiating the consumption of the service. The service consumer sends out the request data and sends the request data to the service provider in a gray level release mode.
It can be understood that the request data carries key element parameters corresponding to the initiating service, and the key element parameters carried by the request data can be obtained by carrying out data analysis on the request data, wherein the key element parameters are various service elements such as region numbers, client numbers, service types and the like.
In this embodiment, a gradation policy library for storing gradation policies needs to be set in advance. And maintaining a gray level strategy library through the operation and maintenance platform according to the service requirement by operation and maintenance personnel.
S102: determining a strategy matching result according to the key element parameters and a preset gray level strategy library;
in the step, a predefined key element parameter rule is used for determining element results corresponding to each key element parameter, and the element results are key values.
Analyzing the request data to obtain a plurality of key element parameters, determining key values corresponding to the key element parameters, and performing logic operation (AND, OR, NOT) on the key values corresponding to the key element parameters to determine a logic operation result, wherein the logic operation result is a characteristic value corresponding to the request data.
It will be appreciated that the result of the logical operation corresponds to the request data.
Searching a gray level strategy corresponding to the characteristic value in the preset gray level strategy library; and the strategy matching result is a gray strategy corresponding to the characteristic value.
In this embodiment, the policy matching result is obtained, which indicates that the request data sent by the request terminal is in a gray level release mode, and then the node for gray level release is used for processing. Further, if the policy matching result is not obtained, the request data sent by the request terminal is indicated to be processed by a node with conventional release in a conventional release mode.
S103: determining a gray version corresponding to the request data based on the strategy matching result;
in the step, the strategy matching result is read, the gray versions of the request are judged one by one according to the priority from high to low, and if the high-priority matching is successful, the matching is not continued any more, so that the processing of only one gray version is ensured.
S104: the request data is sent to a target terminal in a routing mode; the target terminal refers to one or more terminal devices which adopt the gray level version and are used for processing request data.
The service provider deploys the gray version and the regular version to different service nodes respectively, and when the service nodes register with the registration center, the gray version attribute is added to identify the gray version of the current service, wherein the gray version needs to correspond to the gray version of the service consumer. The service consumer introduces a route through which the service consumer's request data is processed.
In this step, a plurality of terminals for processing request data using the gray scale version are determined according to the gray scale version corresponding to the request data, at least one terminal is determined as a target terminal from the plurality of terminals, the request data is transmitted to the target terminal by a route, and the request data is processed by the target terminal.
Wherein, the target terminal can be determined in a random manner or a load balancing manner.
As can be seen from the above description, in the gray level publishing method provided by the embodiment of the present invention, by receiving the request data sent by the request terminal, analyzing the request data to obtain the key element parameters carried by the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; the request data is sent to the target terminal in a routing mode, so that the suitability and flexibility of gray level release can be improved, the research and development cost is further reduced, the judgment of multiple operation relations of service elements is supported, more gray level rule combination alternatives are provided, and diversified service requirements are met.
In an embodiment of the present invention, referring to fig. 2, the gray scale distribution method further includes the following:
s105: receiving strategy data sent by an operation and maintenance terminal;
s106: and generating a gray scale strategy according to the strategy data and storing the gray scale strategy into the gray scale strategy library.
In this embodiment, the gray level policy is adjusted according to the service requirement, and the operation and maintenance personnel sends policy data corresponding to the gray level policy adjustment through the operation and maintenance terminal, generates the gray level policy according to the policy data and stores the gray level policy into the gray level policy library, and reads the new gray level policy library after the adjustment is effective when processing the next request data, so as to implement distribution according to the new gray level policy. The gray level strategy is dynamically adjusted, the effect can be achieved in real time, and the timeliness is high.
In an embodiment of the present invention, referring to fig. 3, the gray scale distribution method further includes the following:
s107: receiving isolation data sent by an operation and maintenance terminal;
in this step, when the emergency needs to modify the gray scale rule, the gray scale version is disconnected, and the gray scale policy is adjusted, for example, the problem version policy is set to be invalid so as to achieve the purpose of isolating the problem version. And the operation and maintenance personnel send isolation data corresponding to the gray level adjustment strategy through the operation and maintenance terminal.
S108: determining a gray scale strategy corresponding to the isolated data in the gray scale strategy library;
s109: and marking the state of the gray level strategy corresponding to the isolation data as invalid.
And synchronizing the policy adjustment to the policy cache server in real time after the policy adjustment is validated. And the operation and maintenance personnel send isolation data corresponding to the gray level strategy adjustment through the operation and maintenance terminal, determine the gray level strategy corresponding to the isolation data in the gray level strategy library, mark the state of the gray level strategy as invalid, and read the new gray level strategy library after the adjustment is effective when the next data request is processed, so as to realize distribution according to the new gray level strategy. The problem version emergency isolation can be realized by disabling the problem version gray level strategy, and the business influence is reduced.
In order to further explain the scheme, the invention provides a system for applying a gray level distribution method, which is used for describing the gray level distribution method by combining the system, referring to fig. 4, and specifically comprises the following contents:
gray scale policy maintenance:
defining a gray scale policy library, comprising: key element data, corresponding key values, gray rules (logical operation relations among key element data), gray service version numbers, and enabling states of various gray service versions. And the operation and maintenance personnel maintain a strategy library through the operation and maintenance platform according to the service requirements. The gray level strategy is changed and is pushed to the strategy cache server in real time.
Gray version deployment:
the service provider deploys the gray version and the regular version to different nodes respectively, and when the service registers to the registration center, the gray version attribute is added to identify the gray version of the current service, wherein the gray version is required to correspond to the gray version number configured by the gray policy library.
Request forwarding control:
grey scale routing reads policy content in a policy cache server when processing consumer requests. And judging the gray versions of the requests one by one according to the priority from high to low, and ensuring that each request is only processed by one version if the high-priority matching is successful and the matching is not continued.
Analyzing key elements in the request, judging element results corresponding to the key elements, and bringing the element results into gray rules to obtain a final current strategy matching result.
And if the policies are matched, forwarding to the radian version node.
And if all the strategies are not matched, forwarding to the regular version node.
Strategy emergency adjustment:
when the gray level strategy is required to be modified in emergency, gray level version is off line and the like, an operation and maintenance personnel maintains a gray level strategy library according to the adjustment requirement, for example, the problem version strategy is set to be invalid so as to achieve the aim of isolating the problem version. And synchronizing the policy adjustment to the policy cache server in real time after the policy adjustment is validated.
And the gray level route reads a new strategy after the regulation is effective in the strategy cache when the next request is processed, and distributes the request according to the new strategy.
From the above description, the invention can solve the problems of large rule complexity and variability, low rule adjustment timeliness and non-universal implementation scheme of the gray level calling request control service. The scheme supports the self-defined gray level strategy, and requests are distributed to the corresponding gray level nodes by analyzing the gray level strategy, so that an application system does not need to develop a gray level control module any more, and configuration and generalization of application gray level control are realized. Meanwhile, the real-time dynamic adjustment of the gray level strategy is supported, and the effect of quickly adjusting the gray level is realized.
The embodiment of the invention provides a specific implementation manner of a gray scale distribution device capable of realizing all contents in the gray scale distribution method, and referring to fig. 5, the gray scale distribution device specifically comprises the following contents:
the first receiving unit 10 is configured to receive request data sent by a request terminal, and parse the request data to obtain key element parameters carried by the request data;
a matching unit 20, configured to determine a policy matching result according to the key element parameter and a preset gray level policy library;
a version unit 30, configured to determine a gray-scale version corresponding to the request data based on the policy matching result;
a forwarding unit 40, configured to send the request data to a target terminal by using a routing manner; the target terminal refers to one or more terminal devices which adopt the gray level version and are used for processing request data.
Further, the method further comprises the following steps:
the second receiving unit is used for receiving the strategy data sent by the operation and maintenance terminal;
and the storage unit is used for generating a gray level strategy according to the strategy data and storing the gray level strategy into the gray level strategy library.
Further, the method further comprises the following steps:
the third receiving unit is used for receiving the isolated data sent by the operation and maintenance terminal;
the marking unit is used for determining a gray level strategy corresponding to the isolation data in the gray level strategy library;
and the isolation unit is used for marking the state of the gray level strategy corresponding to the isolation data as invalid.
Wherein the matching unit 20 includes:
the feature calculation subunit is used for determining key values corresponding to the key element parameters, and carrying out logic operation based on the key values to determine feature values;
the searching subunit is used for searching the gray level strategy corresponding to the characteristic value in the preset gray level strategy library;
and the strategy matching result is a gray strategy corresponding to the characteristic value.
The embodiment of the gray scale distribution device provided by the invention can be specifically used for executing the processing flow of the embodiment of the gray scale distribution method in the embodiment, and the functions of the embodiment of the gray scale distribution device are not repeated herein, and reference can be made to the detailed description of the embodiment of the method.
As can be seen from the above description, the gray level publishing device provided by the embodiment of the present invention analyzes request data sent by a request terminal to obtain key element parameters carried by the request data by receiving the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; the request data is sent to the target terminal in a routing mode, so that the suitability and flexibility of gray level release can be improved, the research and development cost is further reduced, the judgment of multiple operation relations of service elements is supported, more gray level rule combination alternatives are provided, and diversified service requirements are met.
The application provides an embodiment of an electronic device for implementing all or part of contents in the gray level publishing method, wherein the electronic device specifically comprises the following contents:
a processor (processor), a memory (memory), a communication interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete communication with each other through the bus; the communication interface is used for realizing information transmission between related devices; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, etc., and the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the embodiment for implementing the gray scale distribution method and the embodiment for implementing the gray scale distribution device, and the contents thereof are incorporated herein, and the repetition is omitted.
Fig. 6 is a schematic block diagram of a system configuration of an electronic device 9600 of an embodiment of the present application. As shown in fig. 6, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 6 is exemplary; other types of structures may also be used in addition to or in place of the structures to implement telecommunications functions or other functions.
In one embodiment, the gray scale distribution function may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; and sending the request data to a target terminal in a routing mode.
As can be seen from the above description, the electronic device provided in the embodiments of the present application obtains the key element parameters carried by the request data by receiving the request data sent by the request terminal and analyzing the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; the request data is sent to the target terminal in a routing mode, so that the suitability and flexibility of gray level release can be improved, the research and development cost is further reduced, the judgment of multiple operation relations of service elements is supported, more gray level rule combination alternatives are provided, and diversified service requirements are met.
In another embodiment, the gray scale distribution device may be configured separately from the central processor 9100, for example, gray scale distribution may be configured as a chip connected to the central processor 9100, and the gray scale distribution function is implemented by control of the central processor.
As shown in fig. 6, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 need not include all of the components shown in fig. 6; in addition, the electronic device 9600 may further include components not shown in fig. 6, and reference may be made to the related art.
As shown in fig. 6, the central processor 9100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, which central processor 9100 receives inputs and controls the operation of the various components of the electronic device 9600.
The memory 9140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information about failure may be stored, and a program for executing the information may be stored. And the central processor 9100 can execute the program stored in the memory 9140 to realize information storage or processing, and the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but not limited to, an LCD display.
The memory 9140 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), SIM card, etc. But also a memory which holds information even when powered down, can be selectively erased and provided with further data, an example of which is sometimes referred to as EPROM or the like. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 storing application programs and function programs or a flow for executing operations of the electronic device 9600 by the central processor 9100.
The memory 9140 may also include a data store 9143, the data store 9143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, address book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. A communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, as in the case of conventional mobile communication terminals.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, etc., may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and to receive audio input from the microphone 9132 to implement usual telecommunications functions. The audio processor 9130 can include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100 so that sound can be recorded locally through the microphone 9132 and sound stored locally can be played through the speaker 9131.
An embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps of the gradation release method in the above embodiment, the computer-readable storage medium storing thereon a computer program which, when executed by a processor, implements all the steps of the gradation release method in the above embodiment, for example, the processor implementing the following steps when executing the computer program:
receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; and sending the request data to a target terminal in a routing mode.
As can be seen from the above description, the computer readable storage medium provided by the embodiments of the present invention analyzes request data sent by a request terminal to obtain key element parameters carried by the request data by receiving the request data; determining a strategy matching result according to the key element parameters and a preset gray level strategy library; determining a gray version corresponding to the request data based on the strategy matching result; the request data is sent to the target terminal in a routing mode, so that the suitability and flexibility of gray level release can be improved, the research and development cost is further reduced, the judgment of multiple operation relations of service elements is supported, more gray level rule combination alternatives are provided, and diversified service requirements are met.
Although the invention provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an actual device or client product, the instructions may be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiments or figures.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, apparatus (system) or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the invention may be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.

Claims (8)

1. A gradation release method, characterized by comprising:
receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data; the key element parameters are various business elements;
determining a strategy matching result according to the key element parameters and a preset gray level strategy library;
determining a gray version corresponding to the request data based on the strategy matching result;
the request data is sent to a target terminal in a routing mode; the target terminal refers to one or more terminal devices which adopt the gray version and are used for processing request data;
the determining a policy matching result according to the key element parameters and a preset gray level policy library comprises the following steps:
determining a key value corresponding to the key element parameter, and performing logic operation based on the key value to determine a characteristic value;
searching a gray level strategy corresponding to the characteristic value in the preset gray level strategy library;
and the strategy matching result is a gray strategy corresponding to the characteristic value.
2. The gradation release method according to claim 1, further comprising:
receiving strategy data sent by an operation and maintenance terminal;
and generating a gray scale strategy according to the strategy data and storing the gray scale strategy into the gray scale strategy library.
3. The gradation release method according to claim 1, further comprising:
receiving isolation data sent by an operation and maintenance terminal;
determining a gray scale strategy corresponding to the isolated data in the gray scale strategy library;
and marking the state of the gray level strategy corresponding to the isolation data as invalid.
4. A gradation issuing apparatus characterized by comprising:
the first receiving unit is used for receiving request data sent by a request terminal, and analyzing the request data to obtain key element parameters carried by the request data; the key element parameters are various business elements;
the matching unit is used for determining a strategy matching result according to the key element parameters and a preset gray level strategy library;
the version unit is used for determining a gray level version corresponding to the request data based on the strategy matching result;
the forwarding unit is used for sending the request data to a target terminal in a routing mode; the target terminal refers to one or more terminal devices which adopt the gray version and are used for processing request data;
the matching unit includes:
the feature calculation subunit is used for determining key values corresponding to the key element parameters, and carrying out logic operation based on the key values to determine feature values;
the searching subunit is used for searching the gray level strategy corresponding to the characteristic value in the preset gray level strategy library;
and the strategy matching result is a gray strategy corresponding to the characteristic value.
5. The gradation release apparatus according to claim 4, further comprising:
the second receiving unit is used for receiving the strategy data sent by the operation and maintenance terminal;
and the storage unit is used for generating a gray level strategy according to the strategy data and storing the gray level strategy into the gray level strategy library.
6. The gradation release apparatus according to claim 4, further comprising:
the third receiving unit is used for receiving the isolated data sent by the operation and maintenance terminal;
the marking unit is used for determining a gray level strategy corresponding to the isolation data in the gray level strategy library;
and the isolation unit is used for marking the state of the gray level strategy corresponding to the isolation data as invalid.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the gray scale distribution method of any of claims 1 to 3 when the program is executed by the processor.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the gray scale distribution method of any of claims 1 to 3.
CN202010605116.3A 2020-06-29 2020-06-29 Gray level distribution method and gray level distribution device Active CN111782260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605116.3A CN111782260B (en) 2020-06-29 2020-06-29 Gray level distribution method and gray level distribution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605116.3A CN111782260B (en) 2020-06-29 2020-06-29 Gray level distribution method and gray level distribution device

Publications (2)

Publication Number Publication Date
CN111782260A CN111782260A (en) 2020-10-16
CN111782260B true CN111782260B (en) 2024-01-26

Family

ID=72760238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605116.3A Active CN111782260B (en) 2020-06-29 2020-06-29 Gray level distribution method and gray level distribution device

Country Status (1)

Country Link
CN (1) CN111782260B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073320B (en) * 2020-11-12 2021-02-09 深圳壹账通智能科技有限公司 API (application program interface) gray level release method and device based on cloud gateway and computer equipment
CN113014651B (en) * 2021-03-03 2022-09-27 中国工商银行股份有限公司 Gray scale release method, application server and gray scale release system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN108632374A (en) * 2018-05-09 2018-10-09 星络科技有限公司 Software gray scale dissemination method and device
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier
CN109992273A (en) * 2019-01-03 2019-07-09 蔚来汽车有限公司 A kind of gray scale dissemination method and gray scale delivery system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN108632374A (en) * 2018-05-09 2018-10-09 星络科技有限公司 Software gray scale dissemination method and device
CN109992273A (en) * 2019-01-03 2019-07-09 蔚来汽车有限公司 A kind of gray scale dissemination method and gray scale delivery system
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier

Also Published As

Publication number Publication date
CN111782260A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN112087325B (en) Gray scale publishing method, device, equipment and readable storage medium
CN113014651B (en) Gray scale release method, application server and gray scale release system
CN110958218B (en) Data transmission method based on multi-network communication and related equipment
CN111786885B (en) Distributed full-link gray level routing method and device
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN111782260B (en) Gray level distribution method and gray level distribution device
CN110764881A (en) Distributed system background retry method and device
CN110390525A (en) The direct access method and block chain node of block chain world state
CN113391823A (en) Gray scale publishing method, device and system
CN114257532B (en) Method and device for detecting state of server
CN111510493B (en) Distributed data transmission method and device
CN112328413B (en) Application service calling method, device and system
CN113612825A (en) Internet of things message middleware server cluster expansion method and system
CN112689012A (en) Cross-network proxy communication method and device
CN113452776B (en) PaaS platform service scheduling method and device and PaaS platform
CN111930624B (en) Test link message data processing method and device
CN113434423A (en) Interface test method and device
CN114697339A (en) Load balancing method and device under centralized architecture
CN111262794A (en) Gateway flow control method and device
CN113342501B (en) System fault processing method and device
CN112396511B (en) Distributed wind control variable data processing method, device and system
CN111367552B (en) Automatic upgrading method and device for application system
CN114567599A (en) Load control method and device
CN114978702B (en) Account management method, platform and system, computing device and readable storage medium
CN116069855A (en) Distributed service routing method and device

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