CN115242489B - Current limiting parameter adjustment method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115242489B
CN115242489B CN202210851245.XA CN202210851245A CN115242489B CN 115242489 B CN115242489 B CN 115242489B CN 202210851245 A CN202210851245 A CN 202210851245A CN 115242489 B CN115242489 B CN 115242489B
Authority
CN
China
Prior art keywords
current limiting
current
limiting
time delay
parameter
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
CN202210851245.XA
Other languages
Chinese (zh)
Other versions
CN115242489A (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

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 running log of an access request, wherein the request running log is generated after performing a current limiting operation on the access request based on a current limiting parameter; extracting a current limit time from the request flow log, wherein the current limit time represents the time when the current limit operation is performed on the access request based on the current limit parameter; and determining the 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 the current-limiting parameter is determined to have the adjustment requirement according to the current-limiting time delay. According to the technical scheme provided by 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 flow log, so that the complexity of the adjustment process of the current limiting parameter can be reduced.

Description

Current limiting parameter adjustment 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 current limiting parameter adjusting method, a device, electronic equipment and a storage medium.
Background
Today, open banks have broken through the scope of traditional banking services, expanding from off-line physical outlets to digital terminals and on-line scenes. The open bank mainly provides an interface for a third party organization by using technologies such as an application programming interface (Application Programming Interface, API) and the like, and provides services for users through third party partners, so that data sharing and client growth are realized.
The interface gateway is used as an important component in the open bank technical system and is responsible for interface management and various open interface resource management, and the interface gateway faces network security risks caused by illegal access of a third party user to the interface. Therefore, in order to reduce the network security risk as much as possible, the interface gateway may perform the throttling operation based on the throttling parameter to achieve the filtering effect before receiving the access request (i.e. Http request). It should be noted that, the suitability of the current limiting parameter setting directly affects the quality of the current limiting effect.
At present, current limiting operation is mainly carried out through manually and subjectively set current limiting parameters, and when poor current limiting effect is observed, the current limiting parameters are subjectively adjusted, and the current limiting parameters are circularly reciprocated until the current limiting parameters which can generate good current limiting effect are obtained. Obviously, this current limiting parameter adjustment scheme has the problem that the adjustment process is complex.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for adjusting a current limiting parameter, so as to reduce the complexity of the adjustment process of the current limiting parameter.
According to an aspect of the present invention, there is provided a current limiting parameter adjustment method, which may include:
acquiring a request running log of an access request, wherein the request running log is generated after the access request is subjected to the current limiting operation based on the current limiting parameters;
extracting a current limit time from the request flow log, wherein the current limit time can represent the time when the current limit operation is performed on the access request based on the current limit parameter;
and determining the 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 the current-limiting parameter is determined to have the adjustment requirement 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 running water log acquisition module is used for acquiring a request running water log of an access request, wherein the request running water log is generated after the access request is subjected to the current limiting operation based on the current limiting parameters;
the system comprises a flow limiting time extraction module, a flow limiting time extraction module and a flow limiting control module, wherein the flow limiting time extraction module is used for extracting flow limiting time from a request flow log, and the flow limiting time represents time when a flow limiting operation is performed on an access request based on a flow limiting parameter;
The current limiting parameter adjusting module is used for determining the 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 the current limiting parameter is determined to have the adjusting requirement 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 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 implement the current limit parameter adjustment method provided by any embodiment of the present invention when executed.
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 implement the current limiting parameter adjustment method provided by any embodiment of the present invention when executed.
According to the technical scheme, the request flow log of the access request is obtained, and the request flow log can be generated after the current limiting operation is performed on the access request based on the current limiting parameters; because the request flow log records the current limiting time when the current limiting operation is performed on the access request based on the current limiting parameter, the current 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 the adjustment 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 flow log, and the practical operability and the simplicity are realized. According to the technical scheme, the current limiting parameter is adjusted according to the current limiting time delay determined based on the request flow log, so that the effect of reducing the complexity of the adjustment process of the current limiting parameter is achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention, nor is it intended to be used to limit the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only 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 flowchart of a current limiting parameter adjustment method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for adjusting current limiting parameters 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 adjustment method according to an embodiment of the present invention;
FIG. 4 is a flow chart of yet another method for adjusting current limiting parameters according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a current limiting operation procedure in yet another current limiting parameter adjustment method according to an embodiment of the present invention;
FIG. 6 is a block diagram of a current limiting parameter adjustment device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing a current limiting parameter adjustment method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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 describing the embodiment of the present invention, an application scenario of the embodiment of the present invention is described in an exemplary manner:
taking an interface gateway designed based on OpenRestry as an example, the OpenRestry in the interface gateway can filter the received access request based on the pre-configured current limiting parameters, so that the access request meeting the requirements is forwarded to the corresponding gateway server cluster. In practical applications, optionally, the openretry may implement a filtering effect through at least one current limiting operation, and a series of matching operations, counting operations, and judging operations may be involved in each current limiting operation, where these operations may possibly lengthen the time for the gateway server cluster to receive the access request, where the time may be understood as a time delay generated by the current limiting operation, and the time delay may also be referred to as a current limiting time delay.
On this basis, when openretry performs a current limiting operation on an access request, openretry may itself generate a request pipeline log, where some time information when the access request passes through each current limiting operation is recorded, where the time information is generated due to the current limiting operation, and thus may also be referred to as a current limiting time. In summary, there is a certain correlation between the current limit time and the current limit time delay, and the current limit time delay can be determined based on the current limit time.
Fig. 1 is a flowchart of a current limiting parameter adjustment method according to an embodiment of the present invention. The embodiment can be applied to the situation that the current limiting parameters are adjusted based on the current limiting time delay. The method can be applied to an OpenRestry platform, the method can be executed by the current limiting parameter adjusting device provided by the embodiment of the invention, the device can be realized by software and/or hardware, and the device can be integrated on electronic equipment, and the electronic equipment 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, acquiring a request flow log of the access request, wherein the request flow log is generated after the access request is subjected to the flow limiting operation 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 flow log generated after the current limiting operation. It should be noted that, after the current limiting operation is performed on the access request, no matter whether the result of the current limiting operation is forwarding or refusing to forward the access request, a corresponding request flow log may be generated.
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 performed on the access request based on the current limiting parameter.
The current limit time is extracted from the request flow log, and the current limit time may represent time information related to performing a current limit operation on the access request, for example, current limit time consumption, a start time or an end time of the current limit operation, and the like caused by the current limit operation, which are not specifically limited herein.
S130, determining the current-limiting time delay according to the current-limiting time, so as to adjust the current-limiting parameters based on the current-limiting time delay when the current-limiting time delay is determined to have the adjustment requirement on the current-limiting parameters.
The current limiting time delay is determined according to the current limiting time, and the current limiting time delay can characterize that the gateway server cluster prolongs the time for receiving the access request due to the current limiting operation on the access request, namely the time consumed in the process from the beginning to the end of the current limiting operation. In this way, the current limiting condition can be analyzed based on the current limiting time delay (i.e. the time dimension), so as to determine whether the current limiting condition has an abnormality, and the reason for generating the abnormality can be further analyzed under the condition that the abnormality exists, for example, the current limiting parameter is set unreasonably, the network is attacked or the network flow fluctuates, etc.
On the basis, optionally, the analysis process can be realized based on various modes, for example, the current limiting time delay is compared with a preset standard time delay, and if the difference value of the current limiting time delay and the preset standard time delay exceeds a preset difference value range, the current limiting condition is considered to be abnormal; comparing the current limiting time delays, and considering that the current limiting condition is abnormal when the variance between the current limiting time delays exceeds a preset variance threshold; etc. Alternatively, the above analysis process may be performed automatically or manually, which is not specifically limited herein. Alternatively, the current limit time delay may be determined in a plurality of ways, for example, when the current limit time characterizes current limit consumption caused by current limit operation, the current limit time may be directly used as the current limit time delay; when the current limiting time characterizes 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 particularly limited herein.
When the current limiting parameter is determined to have the adjustment requirement according to the current limiting time delay, namely, the current limiting condition is determined to have the abnormality according to the current limiting time delay, and the abnormality is caused by unreasonable current limiting parameter setting, the current limiting parameter can be adjusted based on the current limiting time delay. In practical application, the above-mentioned current-limiting parameter adjustment process may be implemented by current-limiting time delay automatic adjustment, or may be implemented by current-limiting time delay manual adjustment, for example, by maintenance personnel of the interface gateway, which is not specifically limited herein.
It should be noted that, according to the above technical scheme, the current limiting condition is analyzed based on the current limiting time delay by determining the current limiting time delay through using the request flow log, and when it is determined that the current limiting parameter has the adjustment requirement, the current limiting parameter can be adjusted based on the current limiting time delay. Compared with the implementation scheme which is described above and needs to be adjusted repeatedly because the current limiting parameters are adjusted based on subjective experience, the above technical scheme adjusts the current limiting parameters based on the objective basis of the current limiting time delay, so that the adjustment times of the current limiting parameters can be reduced, and the current limiting parameters can be adjusted in place basically at one time, thereby effectively reducing the complexity of the adjustment process of the current limiting parameters. Besides, because the current limiting parameter is adjusted based on the objective basis of the current limiting time delay, the accuracy of current limiting parameter adjustment is ensured; because the objective basis based on the current limiting time delay can rapidly complete the adjustment process of the current limiting parameters, 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, the request flow log of the access request is obtained, and the request flow log can be generated after the current limiting operation is performed on the access request based on the current limiting parameters; because the request flow log records the current limiting time when the current limiting operation is performed on the access request based on the current limiting parameter, the current 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 the adjustment 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 flow log, and the practical operability and the simplicity are realized. According to the technical scheme, the current limiting parameter is adjusted according to the current limiting time delay determined based on the request flow log, so that the effect of reducing the complexity of the adjustment process of the current limiting parameter is achieved.
Fig. 2 is a flowchart of another current limiting parameter adjustment method 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: obtaining a mapping relation which is obtained by pre-constructing, wherein the mapping relation represents the corresponding relation between each experimental parameter and each experimental time delay, and the experimental time delay is obtained by carrying out current limiting operation on an experimental request based on the experimental parameter corresponding to the experimental time delay; determining a current-limiting time delay according to the current-limiting time to adjust the current-limiting parameter based on the current-limiting time delay when the current-limiting parameter is determined to have an adjustment requirement according to the current-limiting time delay, including: and comparing the current-limiting time delay with a target time delay 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 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. Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
Referring to fig. 2, the method of this embodiment may specifically include the following steps:
S210, obtaining a mapping relation which is obtained by pre-constructing, wherein the mapping relation represents the corresponding relation between each experimental parameter and each experimental time delay, and the experimental time delay is obtained by performing current limiting operation on the experimental request based on the experimental parameter corresponding to the experimental time delay.
The experimental parameters may be understood as current limiting parameters preset for obtaining the experimental time delay, and similarly, the experimental request may be understood as an access request preset for obtaining the experimental time delay, so that the experimental time delay may be obtained by performing a current limiting operation on the experimental request based on the experimental parameters, and then a mapping relationship may be constructed based on the obtained correspondence between each experimental parameter and each experimental time delay.
S220, acquiring a request flow log of the access request, wherein the request flow log is generated after the access request is subjected to the flow limiting operation based on the flow limiting parameters.
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 performed on the access request based on the current limiting parameter.
S240, comparing the current-limiting time delay with a target time 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 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.
Wherein, since the mapping relationship may represent the correspondence between each experimental parameter and each experimental time delay, obtaining the mapping relationship means obtaining the correspondence. On the basis, aiming at the target parameter corresponding to the current limiting parameter in each experimental parameter, the target time delay corresponding to the target parameter in each experimental time delay can be determined according to the corresponding relation. 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 operation is performed on the access request based on the current limiting parameter, so that the current limiting time delay can be compared with the target time delay, for example, the numerical relation between the current limiting time delay and the target time delay, or the numerical relation between the absolute value of the numerical difference value between the current limiting time delay and the target time delay and the preset difference value range can be compared, and 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 provided by the embodiment of the invention, the experimental time delay (namely, the target time delay) corresponding to the experimental parameter (namely, the target parameter) represented by the current limiting parameter is determined by utilizing the mapping relation which is obtained in advance and can represent the corresponding relation between each experimental parameter and each experimental time delay, so that the comparison result between the target time delay and the current limiting time delay can be used as an objective basis to adjust the current limiting parameter. Compared with the implementation scheme taking the current-limiting time delay as the objective basis directly, the technical scheme effectively utilizes the target time delay obtained based on the mapping relation, thereby improving the objectivity and accuracy of the objective basis, and further reducing the adjustment times of the current-limiting parameters and the complexity of the adjustment process.
In order to better understand the above-described process of constructing the mapping relationship, an exemplary description thereof will be given below with reference to specific examples. For example, as shown in fig. 3, the construction process may include five steps of experimental request (i.e., http request) setting, experimental parameter configuration, experimental time extraction, experimental time delay calculation, and mapping relation establishment. The specific construction process is as follows:
1) Experimental request setup
Prior to conducting the experiment, the experiment request, including the internet protocol (Internet Protocol, IP) of the experiment request, may be manually set to determine routes to different gateway server clusters. It should be noted that the experiment request set here needs to be combined with the blacklist (i.e. the IP blacklist) configured in 2) to form different combinations, so as to achieve the effect that the experiment request passes or does not pass through the IP blacklist operation.
2) Experimental parameter configuration
The current limit is a function of openretry, and experimental requests may be filtered by turning on or off a corresponding current limit switch and setting a corresponding current limit configuration (e.g., blacklist, daily current limit, second current limit, etc.). In order to be able to obtain 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 configuration), the experimental parameters need to be carefully set, and the specific experimental parameters are shown in the following table:
And configuring the OpenRestry according to the experimental parameters in the table, and then sending the set experimental request to the OpenRestry, so that corresponding request flow logs are obtained under different experimental parameters.
3) Time of experiment extraction
And generating a corresponding request flow log after the experiment request is processed by the current limiting operation in the OpenRestry, wherein the experiment time of each current limiting node (namely three nodes of IP current limiting node, day current limiting node and second current limiting node) in the process that the experiment request is received by the OpenRestry and finally judges whether the experiment request is allowed to access the gateway server cluster is recorded in the request flow log. Therefore, the experiment time can be extracted from the request flow log, the precision of the experiment time is in the millisecond level, and the analysis of fine granularity 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 the step 3), wherein the experimental time is taken as an example for representing the entering time when the experimental request enters a certain current limiting node, and the experimental time delay can be obtained through the difference value between two adjacent entering times.
5) Mapping relation establishment
Through the steps, each experimental parameter 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, the experimental time delay generated by the current limiting operation is mapped and associated with the experimental parameters configured for the OpenRestry through the experimental process, so that the current limiting condition of the OpenRestry can be analyzed based on the current limiting time delay in the application stage. In particular, the method comprises the steps of,
In the application stage, the access request is processed based on openretry, and at this time, a target parameter matched with the current limiting parameter can be found from the experimental parameters recorded in the mapping relation table according to the current configured current limiting parameter (i.e. the combination of the current limiting switch and the current limiting configuration) and the current daily current limiting count and second current limiting count. For example, assuming that the current limiting parameters include an IP current limiting switch on, an IP that does not include an access request in an IP blacklist, a daily current limiting switch on, a daily current limiting limit of N, a second current limiting switch on, and a second current limiting limit of M, a daily current limiting count of N-10, and a current limiting count of M-15, the target parameter is an experimental parameter with a configuration sequence number of 4. And then, taking the experimental time delay matched with the target parameter in the experimental time delays recorded in the mapping relation table as the target time delay, so as to compare the target time delay with the current limiting time delay obtained after the access request is processed, and reminding maintenance personnel of analyzing the current limiting condition in time when the difference between the target time delay and the current limiting time delay is large.
It should be noted that the current limiting parameters mentioned in the above examples are the same as the experimental parameters, and are named differently here only to distinguish the application phase from the experimental phase, and are not specific limitations on their essential meanings. In addition, the current limiting time is similar to the experimental time and the current limiting time delay is similar to the experimental time delay, and will not be described herein.
Fig. 4 is a flowchart of another current limiting parameter adjustment method 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 limit time represents a time when the access request is subjected to the current limit operation at each current limit node based on the current limit parameter; determining the current limit time 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. Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
Referring to fig. 4, the method of this embodiment may specifically include the following steps:
s310, acquiring a request flow log of the access request, wherein the request flow log is generated after the access request is subjected to the flow limiting operation based on the flow limiting parameters.
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 performed on each current limiting node on the access request based on the current limiting parameters.
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 refer to a time when each current limiting node performs the current limiting operation, for example, a current limiting time consuming of each current limiting node, an entering time when each current limiting node is entered, or an exiting time when each current limiting node is exited, which is not specifically limited herein.
S330, 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, 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, since the time of the current limit may represent the time when each current limit node performs the current limit operation, the total time delay of the access request under all current limit nodes may be obtained according to the current limit time under each current limit node, for example, when the current limit time is represented by the current limit time, the sum of the current limit time consumption under each current limit node may be taken as the total time delay; when the current limiting time is represented by the entering time, the total time delay can be obtained according to the time difference value between the entering times of every two adjacent current limiting nodes; etc., and are not particularly limited herein. Therefore, the total time delay can be used as the current-limiting time delay, so that the analysis process of the current-limiting condition and the adjustment process of the current-limiting parameters can be carried out by taking the current-limiting time delay as an objective basis.
According to the technical scheme, 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 when the current limiting operation is performed on the access request by each current limiting node based on the current limiting parameters, 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 under each current limiting node, and then the total time delay is used 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 parameters.
An optional technical solution, 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 can be implemented by the following steps: determining whether an internet protocol of the access request is in an internet protocol limited list or not under the condition that the internet protocol limited switch is on; if yes, refusing to forward the access request, and ending the flow limiting operation; otherwise, the access request is forwarded or the flow limiting operation of the access request is performed under a flow limiting node other than the internet protocol flow limiting node. That is, when the IP of the access request is not located in the IP restriction list, whether to forward the access request or continue the restriction operation may be determined according to whether there are remaining restriction nodes after the IP restriction node. In practical applications, the IP whitelist here may optionally match the Application requested by the access request, as the access request may be understood as a request for access to a certain Application (app).
In another optional technical solution, 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 under the daily current limiting node is implemented by the following steps: under the condition that a daily current limiting switch is on, carrying out increment processing on the current daily current limiting request count, and determining whether the daily current limiting request count after the increment processing exceeds a daily current limiting limit; if yes, refusing to forward the access request, and ending the flow 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 current limiting node. The current daily current request count may be considered as a daily current request count before the current access request is processed, so when the daily current node performs the current operation on the access request, the current daily current request count may be subjected to an increment process, such as +1, +2, or +3, so that the obtained increment-processed daily current request count may represent how many access requests have been processed so far on the current 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, so that the 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 under the second current limiting node is implemented by the following steps: under the condition that a second current limiting switch is on, performing increment processing on the current second current limiting request count, and determining whether the second current limiting request count after the increment processing exceeds a second current limiting limit; if yes, refusing to forward the access request, and ending the flow limiting operation; otherwise, the access request is forwarded or the current limiting operation of the access request is performed under the current limiting nodes except the second current limiting node. The current limiting process on the second current limiting node is similar to the current limiting process on the day current limiting node, and will not be described again here.
In order to better understand the above-described flow-restricting operation procedure, an exemplary description thereof will be given below with reference to specific examples. For example, referring to fig. 5, for a received access request, an IP corresponding thereto is determined, and on states of respective current limit switches (e.g., an IP current limit switch, a day current limit switch, and a second current limit switch) stored in the dis are read, and then a subsequent current limit operation is performed according to the on states. Specifically, openretry parses the flow-limiting request, and reads an application identifier (i.e., app id) field in the flow-limiting request. If the app id is in an open (online) state, then the subsequent throttling operation is performed, otherwise the forwarding of the access request is denied. The specific flow-limiting operation is as follows:
If the IP current limit switch is started, a blacklist matched with the app id is taken out from the Redis, and when the IP is positioned in the blacklist, the access request is refused to be forwarded; if the IP current limit switch is closed or the IP current limit switch is opened and the IP is not in the blacklist, the daily current limit operation is performed.
If the daily current limiting switch is started, the daily current limiting limit matched with the app id is taken out from the Redis, the current daily current limiting request count is added with 1, and when the daily current limiting request count after the 1 adding process exceeds the daily current limiting limit, the access request is refused to be forwarded; and if the daily current limit switch is closed or the daily current limit switch is opened and the daily current limit request count after the 1-adding process does not exceed the daily current limit, performing second current limit operation.
If the second current limiting switch is started, the second current limiting limit matched with the app id is taken out from the Redis, the current second current limiting request count is added with 1, and when the second current limiting request count after the 1 adding process exceeds the second current limiting limit, the access request is refused to be forwarded; if the second current limit switch is closed or the second current limit switch is opened and the second current limit request count after 1 addition is not more than 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 finished. In any case, after the access request is refused to be forwarded, a request flow log for generating the access request may be recorded.
From the above, the opening and closing of each current limiting switch can affect the current limiting operation, thereby affecting the final current limiting time delay; in addition, when the current limiting operation is performed on each current limiting node, the current limiting configuration (such as the blacklist, the daily current limiting limit and the second current limiting limit) taken out from the Redis also affects the current limiting operation, so that the final current limiting time delay is affected. 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 the two 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 the current limiting parameter adjusting method according to any of the above embodiments. The device and the current limiting parameter adjusting method of each embodiment belong to the same invention conception, and the details of the embodiment of the current limiting parameter adjusting device, which are not described in detail, can be referred to the embodiment of the current limiting parameter adjusting method. Referring to fig. 6, the apparatus may specifically include: a request flow log acquisition module 410, a current limit time extraction module 420, and a current limit parameter adjustment module 430.
The request flow log obtaining module 410 is configured to obtain a request flow log of an access request, where the request flow log is generated after performing a flow limiting operation on the access request based on a flow limiting parameter;
A current limit time extraction module 420, configured to extract a current limit time from the request flow log, where the current limit time represents a time when the current limit operation is performed on the access request based on the current limit parameter;
the current limiting parameter adjustment module 430 is configured to determine 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.
Optionally, on the basis of the above device, the device may further include:
the mapping relation acquisition module is used for acquiring a mapping relation which is obtained by pre-constructing, wherein the mapping relation represents the corresponding relation between each experimental parameter and each experimental time delay, and the experimental time delay is obtained by carrying out current limiting operation on the experimental request based on the experimental parameter corresponding to the experimental time delay;
the current limiting parameter adjustment module 430 may specifically be configured to:
and comparing the current-limiting time delay with a target time delay so as to adjust the current-limiting parameter based on the comparison result when the current-limiting parameter is determined to have an adjustment requirement according to the obtained comparison result, wherein the target time delay is the experimental time delay corresponding to the target parameter in each experimental time delay, and the target parameter is the experimental parameter corresponding to the current-limiting parameter in each experimental parameter.
Optionally, the throttling time represents a time when the access request is subjected to the throttling operation on each throttling node based on the throttling parameter; the current limiting parameter adjustment module 430 may include:
the current limiting time delay determining unit is used for 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.
On the basis, an optional current limiting node at least comprises an internet protocol current limiting node, the current limiting parameters at least comprise 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 realized 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 limited list or not under the condition that the internet protocol limited switch is opened;
the first current limiting operation ending module is used for refusing to forward the access request if yes, and ending the current limiting operation;
and the first flow limiting operation module is used for forwarding the access request or performing flow limiting operation of the access request under the flow limiting nodes except the internet protocol flow limiting node if not.
Alternatively, 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 under the daily current limiting node is implemented by the following modules:
the daily current limiting request count determining module is used for carrying out increasing processing on the current daily current limiting request count under the condition that the daily current limiting switch is on, and determining whether the daily current limiting request count after the increasing processing exceeds the daily current limiting limit;
the second current limiting operation ending module is used for refusing to forward the access request if yes, 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 the current limiting nodes except the daily current limiting node if not.
Still alternatively, 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 under the second current limiting node is implemented by the following modules:
the second current limiting request count determining module is used for carrying out increasing processing on the current second current limiting request count under the condition that the second current limiting switch is on, and determining whether the second current limiting request count after the increasing processing exceeds a second current limiting limit;
The third current limiting operation ending module is used for refusing to forward the access request if yes, and ending the current limiting operation;
and the third flow limiting operation module is used for forwarding the access request or performing flow limiting operation of the access request under the flow limiting nodes except the second flow limiting node if not.
Optionally, on the basis of any one of the above devices, the device is configured on an OpenRestry platform.
According to the current limiting parameter adjusting device provided by the embodiment of the invention, the request running log of the access request is acquired through the request running log acquisition module, and the request running log can be generated after the current limiting operation is performed on the access request based on the current limiting parameters; because the request flow log records the current limiting time when the current limiting operation is performed on the access request based on the current limiting parameter, the current limiting time can be extracted from the request flow log through the current limiting time extraction module; further, the current limiting time delay caused by the current limiting operation on the access request is determined through the current limiting parameter adjusting module 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 the adjusting requirement according to the current limiting time delay, the current limiting time delay is calculated by utilizing the current limiting time extracted from the request flow log, and the practical operability and the simplicity are realized. According to the device, the current limiting parameter is adjusted according to the objective basis of the current limiting time delay determined based on the request flow log, so that the effect of reducing the complexity of the adjustment 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 the corresponding functional modules and beneficial effects of the executing method.
It should be noted that, in the embodiment of the current limiting parameter adjusting apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Fig. 7 shows a schematic diagram of the structure 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. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, 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, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may 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.
Various 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, etc.; 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, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. 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 on 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 RAM 13 and executed by processor 11, one or more steps of the above-described current limit parameter adjustment method may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the current limiting parameter adjustment method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out 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 implemented. The computer program may execute entirely on the 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. The 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 portable 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) through 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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. The client and server are typically 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 hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (9)

1. A method for adjusting a current limiting parameter, comprising:
acquiring a request flow log of an access request, wherein the request flow log is generated after performing a flow limiting operation on the access request based on a flow limiting parameter;
extracting a current limit time from the request flow log, wherein the current limit time represents the time when the current limit operation is performed on the access request based on the current limit parameter;
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 the current limiting parameter is determined to have an adjustment requirement according to the current limiting time delay;
obtaining a pre-constructed mapping relation, wherein the mapping relation represents a corresponding relation between each experimental parameter and each experimental time delay, and the experimental time delay is obtained by performing current limiting operation on an experimental request based on the experimental parameter corresponding to the experimental time delay;
the determining the current-limiting time delay according to the current-limiting time to adjust the current-limiting parameter based on the current-limiting time delay when the current-limiting time delay determines that the current-limiting parameter has an adjustment requirement comprises:
comparing the current limiting time delay with a target time delay, and adjusting the current limiting parameter based on the comparison result when the current limiting parameter is determined to have an adjustment requirement according to the obtained comparison result, wherein the target time delay is the experimental time delay corresponding to a target parameter in each experimental time delay, and the target parameter is the experimental parameter corresponding to the current limiting parameter in each experimental parameter; the current limiting parameter is a combination of a current limiting switch and a current limiting configuration of the current configuration.
2. The method of claim 1, wherein the throttling time represents a time when the access request is throttled at each throttling node based on the throttling parameter;
the determining the current limiting time delay according to the current limiting time comprises the following steps:
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.
3. The method according to claim 2, wherein the limiting nodes comprise at least an internet protocol limiting node, the limiting parameters comprise at least an internet protocol limiting switch and an internet protocol limiting list, and limiting operations performed under the internet protocol limiting node are performed by:
determining whether an internet protocol of the access request is located in the internet protocol restriction list under the condition that the internet protocol restriction switch is on;
if yes, refusing to forward the access request, and ending the flow limiting operation;
otherwise, forwarding the access request, or performing a throttling operation of the access request under the throttling nodes except the internet protocol throttling node.
4. The method according to claim 2, wherein the current limiting nodes comprise at least a daily current limiting node, the current limiting parameters comprise at least a daily current limiting switch and a daily current limiting credit, and the current limiting operation performed under the daily current limiting node is implemented by:
under the condition that the daily current limiting switch is on, carrying out increasing processing on the current daily current limiting request count, and determining whether the daily current limiting request count after the increasing processing exceeds the daily current limiting limit;
if yes, refusing to forward the access request, and ending the flow limiting operation;
otherwise, forwarding the access request, or performing the current limiting operation of the access request under the current limiting nodes except the daily current limiting node.
5. The method according to claim 2, wherein the current limit node comprises at least a second current limit node, the current limit parameter comprises at least a second current limit switch and a second current limit amount, and the current limit operation performed under the second current limit node is implemented by:
under the condition that the second current limiting switch is on, carrying out increasing processing on the current second current limiting request count, and determining whether the second current limiting request count after the increasing processing exceeds the second current limiting limit;
If yes, refusing to forward the access request, and ending the flow limiting operation;
otherwise, forwarding the access request, or performing the current limiting operation of the access request under the current limiting nodes except the second current limiting node.
6. The method according to any of claims 1-5, applied on an OpenRestry platform.
7. A current limiting parameter adjustment device, comprising:
the system comprises a request running log acquisition module, a request running log generation module and a request running log generation module, wherein the request running log is used for acquiring a request running log of an access request, and the request running log is generated after the access request is subjected to a current limiting operation based on a current limiting parameter;
a current limit time extraction module, configured to extract a current limit time from the request flow log, where the current limit time represents a time when the current limit operation is performed on the access request based on the current limit parameter;
the current limiting parameter adjusting module is used for determining 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 the current limiting parameter is determined to have an adjusting requirement according to the current limiting time delay;
the apparatus further comprises:
the mapping relation acquisition module is used for acquiring a mapping relation which is obtained by pre-constructing, wherein the mapping relation represents the corresponding relation between each experimental parameter and each experimental time delay, and the experimental time delay is obtained by carrying out current limiting operation on the experimental request based on the experimental parameter corresponding to the experimental time delay;
The current limiting parameter adjusting module is specifically configured to: comparing the current-limiting time delay with a target time delay 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 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; the current limiting parameter is a combination of a current limiting switch and a current limiting configuration of the current configuration.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to cause the at least one processor to perform the current limit parameter adjustment method according to any one of claims 1-6.
9. A computer readable storage medium storing computer instructions for causing a processor to implement the current limiting parameter adjustment method according to any one of claims 1-6 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 CN115242489A (en) 2022-10-25
CN115242489B true 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8369348B2 (en) * 2008-01-28 2013-02-05 Broadcom Corporation Method, and system, and computer program product 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN115242489A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN115373861B (en) GPU resource scheduling method and device, electronic equipment and storage medium
CN112540898A (en) Data processing method and platform, system, electronic device and readable medium
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
CN115242489B (en) Current limiting parameter adjustment method and device, electronic equipment and storage medium
CN106878117B (en) Data processing method and device
CN110019481A (en) Memory database access method, device, equipment and medium
KR20180011183A (en) How to Remove Message Notifications, Systems, and Servers
CN115550413A (en) Data calling method and device, service gateway and storage medium
CN113590447B (en) Buried point processing method and device
CN113676531B (en) E-commerce flow peak clipping method and device, electronic equipment and readable storage medium
CN116015796A (en) Flow table updating method and device, firewall equipment and storage medium
CN112994934B (en) Data interaction method, device and system
CN112994976A (en) Gateway testing method and device, electronic equipment and storage medium
CN113326333A (en) Data processing method, system, computer device and computer storage medium
CN115550261A (en) Flow control parameter adjusting method and device, electronic equipment and storage medium
CN117336072A (en) Multi-fort machine access system, method, equipment and storage medium
CN115801763A (en) File transmission method and device, electronic equipment and storage medium
CN117714561A (en) Alarm message processing method, device, equipment and storage medium
CN117560246A (en) Drainage method, drainage device, electronic equipment and medium
CN117714200A (en) Network security defense method, device, equipment and storage medium
CN117635195A (en) User matching method and device, electronic equipment and storage medium
CN116644137A (en) Database data synchronization method, device, equipment and storage medium
CN118233392A (en) Current limiting method and device, electronic equipment and storage medium
CN118014264A (en) Service flow deployment method and device, electronic equipment and storage medium
CN115131096A (en) Commodity trial method, device, equipment and medium based on edge computing server

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