CN115242489A - Current limiting parameter adjusting method and device, electronic equipment and storage medium - Google Patents

Current limiting parameter adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115242489A
CN115242489A CN202210851245.XA CN202210851245A CN115242489A CN 115242489 A CN115242489 A CN 115242489A CN 202210851245 A CN202210851245 A CN 202210851245A CN 115242489 A CN115242489 A CN 115242489A
Authority
CN
China
Prior art keywords
current limiting
current
limiting
parameter
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210851245.XA
Other languages
Chinese (zh)
Other versions
CN115242489B (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202210851245.XA priority Critical patent/CN115242489B/en
Publication of CN115242489A publication Critical patent/CN115242489A/en
Application granted granted Critical
Publication of CN115242489B publication Critical patent/CN115242489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and a device for adjusting current limiting parameters, electronic equipment and a storage medium. The method comprises the following steps: acquiring a request flow log of an access request, wherein the request flow log is generated after the access request is subjected to current limiting operation based on a current limiting parameter; extracting a current limiting time from the request flow log, wherein the current limiting time represents a time when a current limiting operation is performed on the access request based on the current limiting parameter; and determining the current limiting time delay according to the current limiting time, and adjusting the current limiting parameters based on the current limiting time delay when the current limiting parameters are determined to have adjustment requirements according to the current limiting time delay. According to the technical scheme of the embodiment of the invention, the current limiting parameter is adjusted according to the objective basis of the current limiting time delay determined based on the request journal, so that the complexity of the adjusting process of the current limiting parameter can be reduced.

Description

Current limiting parameter adjusting method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to a method and a device for adjusting a current limiting parameter, electronic equipment and a storage medium.
Background
Nowadays, open banks break through the range of traditional banking services, and expand from off-line physical outlets channels to digital terminals and on-line scenes. The open bank mainly provides an Interface for a third party organization by using technologies such as Application Programming Interface (API) and the like, and provides services for users through third party partners, thereby realizing data sharing and client growth.
The interface gateway is an important component in an open bank technical system, is responsible for interface management and various open interface resource management, and faces network security risks brought by illegal access of a third party user to an interface. Therefore, in order to reduce the network security risk as much as possible, before the interface gateway receives the access request (i.e., http request), it may perform the current limiting operation based on the current limiting parameter to achieve the filtering effect. It should be noted that, if the current limiting parameter is properly set, the current limiting effect will be directly affected.
At present, current limiting operation is mainly carried out through current limiting parameters set by people subjectively, and when poor current limiting effect is observed, the current limiting parameters are subjectively adjusted and circulated until the current limiting parameters capable of generating better current limiting effect are obtained. Obviously, the current limiting parameter adjusting scheme has the problem that the adjusting process is complex.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting current-limiting parameters, electronic equipment and a storage medium, which are used for reducing the complexity of the adjustment process of the current-limiting parameters.
According to an aspect of the present invention, there is provided a method for adjusting a current limiting parameter, which may include:
acquiring a request flow log of an access request, wherein the request flow log is generated after the access request is subjected to current limiting operation based on current limiting parameters;
extracting a current limiting time from the request flow log, wherein the current limiting time can represent the time when the current limiting operation is performed on the access request based on the current limiting parameter;
and determining the current limiting time delay according to the current limiting time, and adjusting the current limiting parameters based on the current limiting time delay when the current limiting parameters are determined to have adjustment requirements according to the current limiting time delay.
According to another aspect of the present invention, there is provided a current limiting parameter adjusting apparatus, which may include:
the request flow log acquisition module is used for acquiring a request flow log of the access request, wherein the request flow log is generated after the access request is subjected to current limiting operation based on the current limiting parameter;
the flow limiting time extraction module is used for extracting flow limiting time from the request flow log, wherein the flow limiting time represents the time when the flow limiting operation is carried out on the access request based on the flow limiting parameters;
and the current limiting parameter adjusting module is used for determining current limiting time delay according to the current limiting time, and adjusting the current limiting parameters based on the current limiting time delay when the current limiting parameters are determined to have adjusting requirements according to the current limiting time delay.
According to another aspect of the present invention, there is provided an electronic device, which may include:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that when the at least one processor executes the computer program, the method for adjusting the current limiting parameter according to any embodiment of the present invention is implemented.
According to another aspect of the present invention, there is provided a computer-readable storage medium having stored thereon computer instructions for causing a processor to execute a method for adjusting a current limiting parameter according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the request journal of the access request is obtained, and the request journal can be generated after the flow limiting operation is carried out on the access request based on the flow limiting parameters; the flow limiting time when the flow limiting operation is carried out on the access request based on the flow limiting parameters is recorded in the request flow log, so that the flow limiting time can be extracted from the request flow log; furthermore, the current-limiting time delay caused by the current-limiting operation of the access request is determined according to the current-limiting time, so that the current-limiting parameter can be adjusted based on the current-limiting time delay under the condition that the current-limiting parameter is determined to have an adjustment requirement according to the current-limiting time delay. According to the technical scheme, the current limiting parameter is adjusted according to the objective basis of the current limiting time delay determined based on the request journal, so that the effect of reducing the complexity of the adjusting process of the current limiting parameter is achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of any embodiment of the present invention, nor do they necessarily limit the scope of the present invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for adjusting a current limiting parameter according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for adjusting a current limit parameter according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a mapping relationship determining process in another current limiting parameter adjusting method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for adjusting a current limiting parameter according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a current limiting operation process in another method for adjusting a current limiting parameter according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating a current limiting parameter adjusting apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing a method for adjusting a current limiting parameter according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. The cases of "target", "original", etc. are similar and will not be described in detail herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before the embodiment of the present invention is described, an application scenario of the embodiment of the present invention is exemplarily described:
taking an interface gateway designed based on openretry as an example, openretry in the interface gateway may filter the received access request based on a preconfigured current limiting parameter, so as to forward the access request meeting the requirements to the corresponding gateway server cluster. In practical applications, optionally, openretry may implement a filtering effect through at least one current limiting operation, and a series of matching operation, counting operation, determining operation, and the like may be involved in each current limiting operation, and these operations are likely to prolong the time when the gateway server cluster receives the access request, where the time may be understood as a delay period caused by the current limiting operation, and the delay period may also be referred to as a current limiting delay.
On the basis, when openretry performs a throttling operation on an access request, openretry itself may generate a request flow log, where some time information when the access request passes through each throttling operation is recorded, and the time information is generated due to the throttling operation, and therefore may also be referred to as a throttling time. In summary, there is a certain correlation between the current limiting time and the current limiting delay, and the current limiting delay may be determined based on the current limiting time.
Fig. 1 is a flowchart of a method for adjusting a current limiting parameter according to an embodiment of the present invention. The embodiment can be applied to the condition of adjusting the current limiting parameters based on the current limiting delay. The method can be applied to an openretry platform, and can be executed by the current limiting parameter adjusting apparatus provided in the embodiments of the present invention, where the apparatus can be implemented by software and/or hardware, and the apparatus can be integrated on an electronic device, and the electronic device can be various user terminals or servers.
Referring to fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
s110, obtaining a request flow log of the access request, wherein the request flow log is generated after the flow limiting operation is carried out on the access request based on the flow limiting parameters.
After receiving the access request, the access request may be subjected to a current limiting operation based on a pre-configured current limiting parameter, so as to obtain a request journal generated after the current limiting operation. It should be noted that, after the current limiting operation is performed on the access request, whether the result of the current limiting operation is forwarding or rejecting the forwarding of the access request, a corresponding request flow log may be generated.
And S120, extracting the current limiting time from the request flow log, wherein the current limiting time represents the time when the current limiting operation is carried out on the access request based on the current limiting parameter.
The current limiting time is extracted from the request flow log, and the current limiting time may represent time information related to the current limiting operation performed on the access request, for example, time consumed for current limiting due to the current limiting operation, a start time or an end time of the current limiting operation, and the like, which are not specifically limited herein.
And S130, determining the current limit time delay according to the current limit time, and adjusting the current limit parameters based on the current limit time delay when the current limit parameters are determined to have adjustment requirements according to the current limit time delay.
The method comprises the steps that a current limiting time delay is determined according to current limiting time, wherein the current limiting time delay can represent that the time for receiving an access request is prolonged by a gateway server cluster due to the fact that current limiting operation is carried out on the access request, and the time is consumed in the process from the beginning to the end of the current limiting operation. Therefore, the current limiting condition can be analyzed based on the current limiting delay (i.e. time dimension), so as to determine whether the current limiting condition is abnormal, and in case of abnormality, the reason of the abnormality can be further analyzed, such as unreasonable current limiting parameter setting, network attack or network traffic fluctuation.
On this basis, optionally, the analysis process may be implemented in a variety of ways, for example, comparing the current limiting delay with a preset standard delay, and if the difference between the current limiting delay and the preset standard delay exceeds a preset difference range, determining that the current limiting condition is abnormal; comparing the current limiting time delays, and when the variance between the current limiting time delays exceeds a preset variance threshold value, determining that the current limiting condition is abnormal; and so on. Optionally, the analysis process may be implemented automatically or manually, and is not specifically limited herein. Optionally, the current-limiting delay may be determined in a plurality of ways, for example, when the current-limiting time represents current-limiting consumption caused by current-limiting operation, the current-limiting time may be directly used as the current-limiting delay; when the current limiting time represents the starting time and the ending time of the current limiting operation, the time difference between the ending time and the starting time can be used as the current limiting time delay; etc., and are not specifically limited herein.
When the current limiting parameter is determined to have an adjustment requirement according to the current limiting delay, that is, the current limiting condition is determined to have an abnormality according to the current limiting delay, and the abnormality is caused by the unreasonable setting of the current limiting parameter, the current limiting parameter may be adjusted based on the current limiting delay. In practical applications, optionally, the current-limiting parameter adjustment process may be implemented by automatically adjusting the current-limiting delay, or may be implemented by manually adjusting the current-limiting delay, for example, by manually adjusting the interface gateway by a maintainer, which is not specifically limited herein.
It should be noted that, in the above technical solution, the current limiting condition is analyzed based on the current limiting delay by determining the current limiting delay by using the request journal, and when it is determined that the current limiting parameter has an adjustment requirement, the current limiting parameter may be adjusted based on the current limiting delay. Compared with the implementation scheme which needs to be adjusted repeatedly due to adjustment of the current limiting parameters based on subjective experience and is described above, the technical scheme adjusts the current limiting parameters based on the objective basis of the current limiting delay, so that the adjustment times of the current limiting parameters can be reduced, and the current limiting parameters can be adjusted in place at one time basically, thereby effectively reducing the complexity of the adjustment process of the current limiting parameters. Besides, the current limiting parameter is adjusted based on the objective basis of the current limiting time delay, so that the accuracy of adjusting the current limiting parameter is ensured; because the adjustment process of the current-limiting parameter can be quickly completed based on the objective basis of the current-limiting time delay, the effect of timely adapting to the change condition of the network flow is achieved, and the current-limiting effect is optimized.
According to the technical scheme of the embodiment of the invention, the request journal of the access request is obtained, and the request journal can be generated after the flow limiting operation is carried out on the access request based on the flow limiting parameters; the flow limiting time when the flow limiting operation is carried out on the access request based on the flow limiting parameter is recorded in the request flow log, so that the flow limiting time can be extracted from the request flow log; furthermore, the current limiting time delay caused by the current limiting operation on the access request is determined according to the current limiting time, so that the current limiting parameter can be adjusted based on the current limiting time delay under the condition that the current limiting parameter is determined to have an adjustment requirement according to the current limiting time delay. According to the technical scheme, the current limiting parameter is adjusted according to the objective basis of the current limiting time delay determined based on the request journal, so that the effect of reducing the complexity of the adjusting process of the current limiting parameter is achieved.
Fig. 2 is a flowchart of another method for adjusting a current limiting parameter according to an embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the method for adjusting a current limiting parameter may further include: acquiring a mapping relation which is obtained by pre-construction, wherein the mapping relation represents the corresponding relation between each experiment parameter and each experiment delay, and the experiment delay is obtained by carrying out current limiting operation on an experiment request based on the experiment parameter corresponding to the experiment delay; determining current limit time delay according to the current limit time, and adjusting the current limit parameters based on the current limit time delay when the current limit parameters are determined to have adjustment requirements according to the current limit time delay, wherein the method comprises the following steps: and comparing the current-limiting delay with a target delay, so as to adjust the current-limiting parameters based on the comparison result when the current-limiting parameters are determined to have adjustment requirements according to the obtained comparison result, wherein the target delay is the experimental delay corresponding to the target parameter in each experimental delay, and the target parameter is the experimental parameter corresponding to the current-limiting parameter in each experimental parameter. Explanations of the same or corresponding terms as those in the above embodiments are omitted here.
Referring to fig. 2, the method of the present embodiment may specifically include the following steps:
s210, obtaining a mapping relation which is obtained by pre-construction, wherein the mapping relation represents the corresponding relation between each experiment parameter and each experiment delay, and the experiment delay is obtained by carrying out current limiting operation on the experiment request based on the experiment parameter corresponding to the experiment delay.
The experiment parameters may be understood as current limiting parameters preset for obtaining the experiment delay, and similarly, the experiment request may also be understood as access requests preset for obtaining the experiment delay, so that the experiment request may be subjected to a current limiting operation based on the experiment parameters to obtain the experiment delay, and then a mapping relationship may be constructed based on the obtained corresponding relationship between each experiment parameter and each experiment delay.
S220, obtaining a request flow log of the access request, wherein the request flow log is generated after the flow limiting operation is carried out on the access request based on the flow limiting parameters.
And S230, extracting the current limiting time from the request flow log, wherein the current limiting time represents the time when the current limiting operation is carried out on the access request based on the current limiting parameter.
And S240, comparing the current-limiting time delay with a target time delay, and adjusting the current-limiting parameters based on the comparison result when the current-limiting parameters have adjustment requirements according to the obtained comparison result, wherein the target time delay is the experimental time delay corresponding to the target parameters in each experimental time delay, and the target parameters are the experimental parameters corresponding to the current-limiting parameters in each experimental parameter.
Since the mapping relationship may indicate a correspondence between each experiment parameter and each experiment delay, acquiring the mapping relationship means acquiring the correspondence. On the basis, the target time delay corresponding to the target parameter in each experimental time delay can be determined according to the corresponding relation aiming at the target parameter corresponding to the current limiting parameter in each experimental parameter. Under the condition that the current-limiting parameter is reasonably set, the target time delay can be understood as the standard time delay when the current-limiting parameter is used for carrying out current-limiting operation on the access request, so that the current-limiting time delay and the target time delay can be compared, for example, the numerical relationship between the current-limiting time delay and the target time delay or the numerical relationship between the absolute value of the numerical difference between the current-limiting time delay and the target time delay and the preset difference range can be compared, and therefore when the current-limiting parameter is determined to have the adjustment requirement according to the obtained comparison result, the current-limiting parameter can be adjusted based on the comparison result.
According to the technical scheme of the embodiment of the invention, the experimental time delay (target time delay) corresponding to the experimental parameter (target parameter) represented by the current-limiting parameter is determined by utilizing the mapping relation which is obtained by pre-construction and can represent the corresponding relation between each experimental parameter and each experimental time delay, so that the current-limiting parameter can be adjusted by taking the comparison result between the target time delay and the current-limiting time delay as an objective basis. Compared with the implementation scheme which directly takes the current-limiting time delay as an objective basis, the technical scheme effectively utilizes the target time delay obtained based on the mapping relation, so that the objectivity and the accuracy of the objective basis are improved, and the adjustment times of the current-limiting parameters and the complexity of the adjustment process are reduced again.
In order to better understand the construction process of the mapping relationship, the following description is made by way of example with reference to specific examples. Illustratively, as shown in fig. 3, the building process may include five steps of setting an experiment request (i.e., http request), configuring experiment parameters, extracting experiment time, calculating experiment time delay, and establishing a mapping relationship. The specific construction process is as follows:
1) Experimental request setup
Prior to conducting the experiment, an experiment request, including an Internet Protocol (IP) of the experiment request, may be manually set up to determine routing to different gateway server clusters. It should be noted that the experimental request set here needs to be combined with the black list (i.e. IP current limiting list) configured in 2) to form different combinations, so as to achieve the effect that the experimental request passes or does not pass the IP current limiting operation.
2) Configuration of experimental parameters
Current limiting is a function of openretry, and can filter the experiment request by turning on or off the corresponding current limiting switch and setting the corresponding current limiting configuration (such as black list, daily limit amount, second limit amount, etc.). In order to be able to capture the variation of the experimental delay caused by all the different experimental parameters (i.e. the combination of the current limiting switch and the current limiting arrangement), the experimental parameters need to be carefully set, and the specific experimental parameters are shown in the following table:
Figure BDA0003753565540000101
Figure BDA0003753565540000111
and configuring OpenRestry according to the experiment parameters in the table, and then sending the set experiment request to OpenRestry so as to obtain corresponding request flow logs under different experiment parameters.
3) Extraction of experimental time
After the experiment request is processed by the current limiting operation in the openretry, a corresponding request flow log is generated, and the experiment time of each current limiting node (i.e., three nodes, namely an IP current limiting node, a daily current limiting node and a second current limiting node) in the process that the experiment request is received from the openretry and is finally judged whether to be allowed to access the gateway server cluster is recorded in the request flow log. Therefore, the experimental time can be extracted from the request journal, the precision of the experimental time is in the millisecond level, and fine-grained analysis can be realized.
4) Experimental time delay calculation
Calculating the experimental time delay of the experimental request processed by OpenRestry according to the experimental time extracted in step 3), wherein the experimental time represents the entry time of the experimental request entering a certain current limiting node, and the experimental time delay can be obtained through the difference between two adjacent entry times.
5) Mapping relationship establishment
Through the steps, the experimental parameters and the experimental time delay calculated under each experimental parameter can be mapped one by one, so that a mapping relation table is formed, and the mapping relation between the experimental parameters and the experimental time delay can be stored in the mapping relation table. In other words, through the above experiment process, the experiment delay generated by the current limiting operation is mapped and associated with the experiment parameters configured for openretry, so that in the application stage, the current limiting condition of openretry can be analyzed based on the current limiting delay. In particular, the method comprises the following steps of,
in the application phase, the access request is processed based on openretry, and at this time, a target parameter matching the current limit parameter can be found from the experimental parameters recorded in the mapping table according to the current limit parameter (i.e., the combination of the current limit switch and the current limit configuration) configured currently and the current daily current limit count and the current second current limit count. For example, if the current limit parameters include that the IP current limit switch is turned on, the IP without the access request in the IP blacklist is turned on, the daily current limit switch is turned on, the daily current limit credit is N, the second current limit switch is turned on, the second current limit credit is M, the daily current limit count is N-10, and the current limit count is M-15, the target parameter is the experimental parameter with the configuration serial number of 4. And then, taking the experimental delay matched with the target parameter in the experimental delays recorded in the mapping relation table as the target delay, comparing the target delay with the current-limiting delay obtained after processing the access request, and timely reminding a maintainer to analyze the current-limiting condition when the difference between the target delay and the current-limiting delay is large.
It should be noted that the current limiting parameters mentioned in the above examples are the same as the experimental parameters in nature, and are named differently only for distinguishing the application stage from the experimental stage, and are not specific limitations to their essential meanings. In addition, the current limiting time and the experimental time and the current limiting time delay and the experimental time delay are similar, and are not described herein again.
Fig. 4 is a flowchart of another method for adjusting a current limiting parameter according to an embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the current limiting time represents a time when the current limiting operation is performed on the access request at each current limiting node based on the current limiting parameter; determining the current limit delay according to the current limit time may include: and determining the total time delay of the access request under all the current limiting nodes according to the current limiting time under each current limiting node, and taking the total time delay as the current limiting time delay. The explanations of the same or corresponding terms as those in the above embodiments are omitted.
Referring to fig. 4, the method of this embodiment may specifically include the following steps:
s310, obtaining a request flow log of the access request, wherein the request flow log is generated after the access request is subjected to the current limiting operation based on the current limiting parameter.
And S320, extracting the current limiting time from the request flow log, wherein the current limiting time represents the time when the current limiting operation is carried out on the access request at each current limiting node based on the current limiting parameters.
Here, in the process of performing the current limiting operation on the access request based on the current limiting parameter, at least two current limiting nodes may be involved, and the current limiting time may represent a time when each current limiting node performs the current limiting operation, for example, a time consumed for current limiting at each current limiting node, an entering time when each current limiting node enters or a leaving time when each current limiting node leaves, and the like, which are not specifically limited herein.
S330, determining total time delay of the access requests under all the current limiting nodes according to the current limiting time under each current limiting node, and taking the total time delay as the current limiting time delay so as to adjust the current limiting parameters based on the current limiting time delay when the current limiting parameters are determined to have adjustment requirements according to the current limiting time delay.
As described above, the current limiting time may represent the time when each current limiting node performs the current limiting operation, so that the total time delay of the access request under all the current limiting nodes may be obtained according to the current limiting time under each current limiting node, and for example, when the current limiting time is represented by the current limiting time, the sum of the current limiting time under each current limiting node may be used as the total time delay; if the current limiting time is represented by the entering time, the total time delay can be obtained according to the time difference between the entering times of every two adjacent current limiting nodes; etc., and are not specifically limited herein. Therefore, the total time delay can be used as the current limiting time delay, so that the current limiting time delay is used as an objective basis to analyze the current limiting condition and adjust the current limiting parameter.
According to the technical scheme of the embodiment of the invention, when at least two current limiting nodes exist in the current limiting operation process, the current limiting time extracted from the request flow log can represent the time of performing the current limiting operation on the access request at each current limiting node based on the current limiting parameter, so that the total time delay of the access request under all the current limiting nodes can be obtained according to the current limiting time of each current limiting node, and then the total time delay is taken as the current limiting time delay to perform the subsequent analysis process of the current limiting condition and the adjustment process of the current limiting parameter.
According to an optional technical scheme, the current limiting node at least comprises an internet protocol current limiting node, the current limiting parameter at least comprises an internet protocol current limiting switch and an internet protocol current limiting list, and the current limiting operation performed under the internet protocol current limiting node can be realized through the following steps: determining whether the internet protocol of the access request is positioned in an internet protocol current limiting list or not under the condition that the internet protocol current limiting switch is turned on; if yes, refusing to forward the access request, and ending the current limiting operation; otherwise, the access request is forwarded, or the current limiting operation of the access request is performed under a current limiting node except the internet protocol current limiting node. That is, when the IP of the access request is not located in the IP current limit list, it may be determined whether to forward the access request or continue the current limit operation according to whether there are remaining current limit nodes after the IP current limit node. In practical applications, optionally, since the access request may be understood as a request for accessing an Application program (app), the IP current-limiting list may be matched with the app requested by the access request.
Another optional technical scheme is that the current limiting node at least comprises a daily current limiting node, the current limiting parameters at least comprise a daily current limiting switch and a daily current limiting limit, and the current limiting operation performed under the daily current limiting node is realized through the following steps: under the condition that the daily current limiting switch is turned on, carrying out incremental processing on the current daily current limiting request count, and determining whether the daily current limiting request count after the incremental processing exceeds the daily current limiting limit; if yes, refusing to forward the access request, and ending the current limiting operation; otherwise, the access request is forwarded, or the current limiting operation of the access request is carried out under the current limiting nodes except the daily current limiting node. The current daily current limit request count may be considered to be a daily current limit request calculation before the current access request is processed, so that when the daily current limit node performs a current limit operation on the access request, the current daily current limit request count may be incremented, such as +1, +2, or +3, so that the obtained incremented daily current limit request count may represent how many access requests have been processed up to the present day. Furthermore, how to process the access request can be determined according to whether the daily current limit request count after the increment processing exceeds the daily current limit, and effective current limit on the daily current limit node is realized.
In another optional technical solution, the current limiting node at least includes a second current limiting node, the current limiting parameter at least includes a second current limiting switch and a second current limiting limit, and the current limiting operation performed at the second current limiting node is implemented by the following steps: under the condition that the second current limiting switch is turned on, carrying out incremental processing on the current second current limiting request count, and determining whether the second current limiting request count after the incremental processing exceeds a second current limiting limit; if yes, refusing to forward the access request, and ending the current limiting operation; otherwise, the access request is forwarded, or the current limiting operation of the access request is carried out under the current limiting nodes except the second current limiting node. The current limiting process on the second current limiting node is similar to that on the day current limiting node, and is not described herein again.
In order to better understand the above current limiting operation process, the following description is made for illustrative purposes with reference to specific examples. Illustratively, referring to fig. 5, for a received access request, an IP corresponding to the received access request is determined, and on states of respective current limiting switches (such as an IP current limiting switch, a daily current limiting switch, and a second current limiting switch) stored in the Redis are read, and then a subsequent current limiting operation is performed according to the on states. Specifically, openretry parses the current limit request, and reads the application identification (i.e., appid) field therein. If the apid is in an open (online) state, the subsequent current limiting operation is carried out, otherwise, the access request is refused to be forwarded. The specific current limiting operation process is as follows:
if the IP current-limiting switch is turned on, taking out a blacklist matched with the appid from the Redis, and refusing to forward the access request when the IP is located in the blacklist; and if the IP current limit switch is closed or the IP current limit switch is opened and the IP is not in the blacklist, performing daily current limit operation.
If the daily current limit switch is turned on, taking out the daily current limit matched with the appid from the Redis, adding 1 to the current daily current limit request count, and refusing to forward the access request when the daily current limit request count after the 1 adding process exceeds the daily current limit; and if the daily current limit switch is closed or the daily current limit switch is opened and the daily current limit request count processed by adding 1 does not exceed the daily current limit value, performing second current limit operation.
If the second current limit switch is turned on, the second current limit line matched with the appid is taken out from the Redis, the current second current limit request count is added with 1, and when the second current limit request count after the addition of 1 exceeds the second current limit line, the access request is refused to be forwarded; and if the second current limit switch is closed or the second current limit switch is opened and the second current limit request count processed by adding 1 does not exceed the second current limit, forwarding the access request to the corresponding gateway server cluster, and recording a request flow log for generating the access request, so that the OpenRestry task is ended. In any case, after the access request is denied to be forwarded, a request journal for generating the access request may be recorded.
As can be seen from the above, the on and off of each current-limiting switch may affect the current-limiting operation, and further affect the final current-limiting delay; in addition, when the current limiting operation is performed on each current limiting node, the current limiting configuration (such as a blacklist, a daily current limit amount and a second current limit amount) extracted from Redis may also affect the current limiting operation, and further affect the final current limiting delay. Therefore, when the mapping relation is constructed, two factors of the current limiting switch and the current limiting configuration can be considered at the same time, and both factors can influence the final current limiting time delay.
Fig. 6 is a block diagram of a current limiting parameter adjusting apparatus according to an embodiment of the present invention, where the apparatus is configured to execute a method for adjusting a current limiting parameter according to any of the embodiments. The device and the method for adjusting the current limiting parameter of the embodiments belong to the same inventive concept, and details that are not described in detail in the embodiments of the device for adjusting the current limiting parameter may refer to the embodiments of the method for adjusting the current limiting parameter. Referring to fig. 6, the apparatus may specifically include: a request flow log obtaining module 410, a current limit time extracting module 420 and a current limit parameter adjusting module 430.
The request flow log obtaining module 410 is configured to obtain a request flow log of the access request, where the request flow log is generated after performing a current limiting operation on the access request based on the current limiting parameter;
a current limit time extraction module 420, configured to extract a current limit time from the request journal, where the current limit time represents a time when a current limit operation is performed on the access request based on the current limit parameter;
and a current limiting parameter adjusting module 430, configured to determine a current limiting delay according to the current limiting time, so as to adjust the current limiting parameter based on the current limiting delay when it is determined that the current limiting parameter has an adjustment requirement according to the current limiting delay.
Optionally, on the basis of the above apparatus, the apparatus may further include:
the device comprises a mapping relation acquisition module, a data processing module and a data processing module, wherein the mapping relation acquisition module is used for acquiring a mapping relation which is obtained by pre-construction, the mapping relation represents the corresponding relation between each experiment parameter and each experiment time delay, and the experiment time delay is obtained by carrying out current limiting operation on an experiment request based on the experiment parameter corresponding to the experiment time delay;
the current limiting parameter adjusting module 430 may be specifically configured to:
and comparing the current-limiting delay with a target delay, so as to adjust the current-limiting parameters based on the comparison result when the current-limiting parameters are determined to have adjustment requirements according to the obtained comparison result, wherein the target delay is the experimental delay corresponding to the target parameter in each experimental delay, and the target parameter is the experimental parameter corresponding to the current-limiting parameter in each experimental parameter.
Optionally, the current limiting time represents a time when the current limiting operation is performed on the access request at each current limiting node based on the current limiting parameter; the current limiting parameter adjusting module 430 may include:
and the current-limiting delay determining unit is used for determining the total delay of the access request under all the current-limiting nodes according to the current-limiting time under each current-limiting node, and taking the total delay as the current-limiting delay.
On this basis, optionally, the current limiting node at least includes an internet protocol current limiting node, the current limiting parameter at least includes an internet protocol current limiting switch and an internet protocol current limiting list, and the current limiting operation performed under the internet protocol current limiting node is implemented by the following modules:
the internet protocol determining module is used for determining whether the internet protocol of the access request is positioned in the internet protocol current-limiting list under the condition that the internet protocol current-limiting switch is turned on;
a first current limiting operation ending module, which is used for refusing to forward the access request if the current limiting operation ending module is used for refusing to forward the access request and ending the current limiting operation;
and the first current limiting operation module is used for forwarding the access request or performing current limiting operation of the access request under a current limiting node except the internet protocol current limiting node if the access request is not forwarded.
Optionally, the current limiting node at least includes a daily current limiting node, the current limiting parameter at least includes a daily current limiting switch and a daily current limiting limit, and the current limiting operation performed at the daily current limiting node is implemented by the following modules:
the daily current limiting request counting determining module is used for performing incremental processing on the current daily current limiting request counting under the condition that the daily current limiting switch is turned on and determining whether the daily current limiting request counting after the incremental processing exceeds a daily current limiting limit;
a second current limiting operation ending module, which is used for refusing to forward the access request if the current limiting operation ending module is used for refusing to forward the access request and ending the current limiting operation;
and the second current limiting operation module is used for forwarding the access request or performing current limiting operation of the access request under current limiting nodes except the daily current limiting node if the access request is not forwarded.
Optionally, the current limiting node at least includes a second current limiting node, the current limiting parameter at least includes a second current limiting switch and a second current limiting limit, and the current limiting operation performed at the second current limiting node is implemented by the following modules:
the second current-limiting request counting determining module is used for carrying out incremental processing on the current second current-limiting request counting under the condition that the second current-limiting switch is turned on and determining whether the second current-limiting request counting after the incremental processing exceeds the second current-limiting limit amount or not;
a third current limiting operation ending module, configured to, if yes, refuse to forward the access request, and end the current limiting operation;
and the third current limiting operation module is used for forwarding the access request or performing current limiting operation of the access request under the current limiting nodes except the second current limiting node if the access request is not forwarded.
Optionally, on the basis of any one of the above devices, the device is configured on an openretry platform.
According to the current-limiting parameter adjusting device provided by the embodiment of the invention, the request journal of the access request is obtained through the request journal obtaining module, and the request journal can be generated after the current-limiting operation is carried out on the access request based on the current-limiting parameter; the current limiting time when the current limiting operation is carried out on the access request based on the current limiting parameter is recorded in the request flow log, so the current limiting time can be extracted from the request flow log through the current limiting time extraction module; furthermore, the current limiting parameter adjusting module determines the current limiting time delay caused by current limiting operation on the access request according to the current limiting time, so that the current limiting parameter can be adjusted based on the current limiting time delay under the condition that the current limiting parameter is determined to have an adjusting requirement according to the current limiting time delay, the current limiting time delay is calculated by using the current limiting time extracted from the request journal, and the method has actual operability and simplicity. According to the device, the current limiting parameter is adjusted according to the objective basis of the current limiting time delay determined by the request journal, so that the effect of reducing the complexity of the adjusting process of the current limiting parameter is achieved.
The current limiting parameter adjusting device provided by the embodiment of the invention can execute the current limiting parameter adjusting method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
It should be noted that, in the embodiment of the current-limiting parameter adjustment apparatus, each included unit and each included module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
FIG. 7 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the current limit parameter adjustment method.
In some embodiments, the current limit parameter adjustment method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above described method of adjusting a current limiting parameter may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the current limit parameter adjustment method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for adjusting current limiting parameters is characterized by comprising the following steps:
acquiring a request flow log of an access request, wherein the request flow log is generated after the access request is subjected to flow limiting operation based on flow limiting parameters;
extracting a flow limiting time from the request flow log, wherein the flow limiting time represents a time when the flow limiting operation is performed on the access request based on the flow limiting parameter;
and determining the current limit time delay according to the current limit time, and adjusting the current limit parameters based on the current limit time delay when the current limit parameters have adjustment requirements according to the current limit time delay.
2. The method of claim 1, further comprising:
acquiring a mapping relation which is obtained by pre-construction, wherein the mapping relation represents the corresponding relation between each experiment parameter and each experiment time delay, and the experiment time delay is obtained by carrying out current limiting operation on an experiment request based on the experiment parameter corresponding to the experiment time delay;
determining a current-limiting time delay according to the current-limiting time, so as to adjust the current-limiting parameter based on the current-limiting time delay when it is determined that the current-limiting parameter has an adjustment requirement according to the current-limiting time delay, and the method comprises the following steps:
comparing the current-limiting delay with a target delay, and adjusting the current-limiting parameters based on the comparison result when the current-limiting parameters are determined to have adjustment requirements according to the obtained comparison result, wherein the target delay is the experimental delay corresponding to the target parameter in each experimental delay, and the target parameter is the experimental parameter corresponding to the current-limiting parameter in each experimental parameter.
3. The method of claim 1, wherein the current limit time represents a time when the access request is to be subjected to a current limit operation at each current limit node based on the current limit parameter;
the determining the current limit time delay according to the current limit time includes:
and determining the total time delay of the access request under all the current limiting nodes according to the current limiting time under each current limiting node, and taking the total time delay as the current limiting time delay.
4. The method of claim 3, wherein the current limiting node comprises at least an internet protocol current limiting node, wherein the current limiting parameters comprise at least an internet protocol current limiting switch and an internet protocol current limiting list, and wherein the current limiting operation performed at the internet protocol current limiting node is implemented by:
determining whether the internet protocol of the access request is positioned in the internet protocol current limit list under the condition that the internet protocol current limit switch is opened;
if yes, refusing to forward the access request, and ending the current limiting operation;
otherwise, the access request is forwarded, or the current limiting operation of the access request is carried out under the current limiting nodes except the internet protocol current limiting node.
5. The method according to claim 3, wherein the current limiting node comprises at least a daily current limiting node, the current limiting parameters comprise at least a daily current limiting switch and a daily current limiting limit, and the current limiting operation performed at the daily current limiting node is realized by the following steps:
under the condition that the daily current limiting switch is turned on, carrying out incremental processing on the current daily current limiting request count, and determining whether the daily current limiting request count after the incremental processing exceeds the daily current limiting limit;
if yes, refusing to forward the access request, and ending the current limiting operation;
otherwise, the access request is forwarded, or the current limiting operation of the access request is carried out under the current limiting nodes except the daily current limiting node.
6. The method according to claim 3, wherein the current limiting node comprises at least a second current limiting node, the current limiting parameters comprise at least a second current limiting switch and a second current limiting amount, and the current limiting operation performed at the second current limiting node is realized by the following steps:
under the condition that the second current limiting switch is turned on, carrying out incremental processing on the current second current limiting request count, and determining whether the second current limiting request count after the incremental processing exceeds the second current limiting limit;
if yes, refusing to forward the access request, and ending the current limiting operation;
otherwise, the access request is forwarded, or the current limiting operation of the access request is carried out under the current limiting nodes except the second current limiting node.
7. The method according to any of claims 1-6, applied on an OpenRestry platform.
8. A current limiting parameter adjustment apparatus, comprising:
the request flow log acquisition module is used for acquiring a request flow log of an access request, wherein the request flow log is generated after the access request is subjected to current limiting operation based on a current limiting parameter;
the current limiting time extraction module is used for extracting current limiting time from the request journal, wherein the current limiting time represents the time when the access request is subjected to current limiting operation based on the current limiting parameter;
and the current limiting parameter adjusting module is used for determining current limiting time delay according to the current limiting time, so that when the current limiting parameter is determined to have an adjusting requirement according to the current limiting time delay, the current limiting parameter is adjusted based on the current limiting time delay.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of current limiting parameter adjustment of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the method of adjusting a current limiting parameter according to any one of claims 1 to 7 when executed.
CN202210851245.XA 2022-07-19 2022-07-19 Current limiting parameter adjustment method and device, electronic equipment and storage medium Active CN115242489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210851245.XA CN115242489B (en) 2022-07-19 2022-07-19 Current limiting parameter adjustment method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210851245.XA CN115242489B (en) 2022-07-19 2022-07-19 Current limiting parameter adjustment method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115242489A true CN115242489A (en) 2022-10-25
CN115242489B CN115242489B (en) 2024-04-09

Family

ID=83673653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210851245.XA Active CN115242489B (en) 2022-07-19 2022-07-19 Current limiting parameter adjustment method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115242489B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090190604A1 (en) * 2008-01-28 2009-07-30 Broadcom Corporation Method and System for Dynamically Adjusting Acknowledgement Filtering for High-Latency Environments
US20180351816A1 (en) * 2017-06-02 2018-12-06 Yan Li Methods and apparatus for parameter tuning using a cloud service
CN109842565A (en) * 2018-12-15 2019-06-04 平安科技(深圳)有限公司 Interface current-limiting method, device, electronic equipment and storage medium
CN110380986A (en) * 2019-07-23 2019-10-25 中南民族大学 Flow limitation method, device, equipment and storage medium based on Zuul
CN111953772A (en) * 2020-08-11 2020-11-17 北京达佳互联信息技术有限公司 Request processing method, device, server and storage medium
CN113411269A (en) * 2021-07-07 2021-09-17 杭州网易云音乐科技有限公司 Current limiting control method, current limiting control device, storage medium and electronic equipment
CN114006871A (en) * 2021-10-25 2022-02-01 北京有竹居网络技术有限公司 Flow control method, flow control device, container and storage medium
CN114244624A (en) * 2021-12-31 2022-03-25 北京市商汤科技开发有限公司 Flow control method and device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090190604A1 (en) * 2008-01-28 2009-07-30 Broadcom Corporation Method and System for Dynamically Adjusting Acknowledgement Filtering for High-Latency Environments
US20180351816A1 (en) * 2017-06-02 2018-12-06 Yan Li Methods and apparatus for parameter tuning using a cloud service
CN109842565A (en) * 2018-12-15 2019-06-04 平安科技(深圳)有限公司 Interface current-limiting method, device, electronic equipment and storage medium
CN110380986A (en) * 2019-07-23 2019-10-25 中南民族大学 Flow limitation method, device, equipment and storage medium based on Zuul
CN111953772A (en) * 2020-08-11 2020-11-17 北京达佳互联信息技术有限公司 Request processing method, device, server and storage medium
CN113411269A (en) * 2021-07-07 2021-09-17 杭州网易云音乐科技有限公司 Current limiting control method, current limiting control device, storage medium and electronic equipment
CN114006871A (en) * 2021-10-25 2022-02-01 北京有竹居网络技术有限公司 Flow control method, flow control device, container and storage medium
CN114244624A (en) * 2021-12-31 2022-03-25 北京市商汤科技开发有限公司 Flow control method and device, equipment and storage medium

Also Published As

Publication number Publication date
CN115242489B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111124819B (en) Method and device for full link monitoring
CN113438355B (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN109412878A (en) Multi-tenant service access implementation method, device and electronic equipment
CN112540898A (en) Data processing method and platform, system, electronic device and readable medium
CN102903043A (en) Payment server and payment channel acquisition method
CN115373861B (en) GPU resource scheduling method and device, electronic equipment and storage medium
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
CN110557432A (en) cache pool balance optimization method, system, terminal and storage medium
CN106878117B (en) Data processing method and device
CN115242489B (en) Current limiting parameter adjustment method and device, electronic equipment and storage medium
CN112994934B (en) Data interaction method, device and system
CN115550413A (en) Data calling method and device, service gateway and storage medium
CN113676531B (en) E-commerce flow peak clipping method and device, electronic equipment and readable storage medium
CN113590447B (en) Buried point processing method and device
CN115410580A (en) Voice recognition method, device, equipment and medium for command scheduling system
CN114422404A (en) Flow statistical method, device, equipment and storage medium
CN113326333A (en) Data processing method, system, computer device and computer storage medium
CN113904940A (en) Resource adjusting method and device, electronic equipment and computer readable storage medium
CN113938429A (en) Flow control method, flow control device and computer readable storage medium
CN112994976A (en) Gateway testing method and device, electronic equipment and storage medium
CN115499373B (en) Network traffic distribution system, method, equipment and medium applied to backbone network
CN113179218B (en) Model training method, network congestion control method, device and related products
CN114650252B (en) Routing method and device based on enterprise service bus and computer equipment
CN117635195A (en) User matching method and device, electronic equipment and storage medium
CN115801763A (en) File transmission 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