Distributed current limiting control method and system based on intelligent token recovery

By identifying the token processing rate curve of the distributed processing end, determining the optimal processing volume interval and critical value, and performing intelligent token allocation, the problem in the existing technology that the processing end fails to operate in the optimal state is solved, and the distribution is improved. efficiency and effectiveness of flow-limiting control.

CN118612154BActive Publication Date: 2024-10-11HUISHANG BANK CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081631.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-11
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

Existing distributed current limiting technology fails to keep multiple token processing terminals in optimal operating conditions based on traffic limitation, resulting in low processing efficiency.

Method used

By identifying the token processing rate curve of the distributed processing end, the optimal processing volume interval, critical value and standard average speed are determined, and intelligent token recycling and distribution are carried out to ensure that each processing end handles the request volume in the best state.

Benefits of technology

It achieves a more accurate allocation of request volume, ensuring that each processing end of the distributed system is not under load when processing the maximum request volume, maximizing the best state of the processing end, and improving the current limiting control effect and processing timeliness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612154B_ABST
    Figure CN118612154B_ABST
Patent Text Reader

Abstract

The present invention discloses a distributed current limiting control method and system based on intelligent token recovery. The present invention relates to the field of distributed current limiting technology, and solves the problem of not making multiple token processing terminals in the best operating state on the basis of flow restriction. The present invention effectively distributes relevant tokens based on the specific request amount generated in the subsequent unit time and the relevant characteristic data of different distributed processing terminals, thereby ensuring that this distributed system can process the maximum token request amount, and can also ensure that each distributed processing terminal is not in a load state, and can also simultaneously ensure that the maximum number of distributed processing terminals can be in the best processing state, thereby achieving a distributed current limiting control effect, ensuring the processing timeliness of tokens, achieving the best distribution processing effect, analyzing and processing the relevant numerical values ​​of the change curve, identifying the relevant characteristic data of each different distributed processing terminal, and such numerical analysis and processing method makes the subsequent request amount distribution more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed current limiting technology, and in particular to a distributed current limiting control method and system based on intelligent token recovery. Background Art

[0002] Distributed current limiting refers to a technical means of limiting requests when the service architecture is deployed on multiple nodes in order to ensure system stability and availability. With the rapid growth of Internet services, distributed systems need to handle more and more high-concurrency requests. Concurrency that exceeds the system's processing capacity may cause server crashes, affect business continuity, and cause unpredictable results. Therefore, distributed systems require the system to have effective flow control capabilities to prevent overload. For related smart tokens that cannot be processed, they need to be recycled to prevent token excess.

[0003] The application with publication number CN109617831A is about a traffic management method for a distributed system, which is executed by an operating device of an application service, and the method includes: initiating a request to a management device of the application service; based on the feedback of the management device to the request, obtaining a decomposed flow limiting target of the application service on the operating device, the decomposed flow limiting target is obtained based on the operation-related information of the application service on all operating devices; and controlling the flow of the application service according to the decomposed flow limiting target. According to an embodiment of the present disclosure, obtaining the decomposed flow limiting target on each device based on the overall operation of the application service can achieve more reasonable flow control.

[0004] When it comes to distributed flow control in distributed systems, it is generally determined whether the processing volume of the corresponding token processing end has been exceeded based on the set relevant values, so as to determine whether the token processing end is in a load state, and then impose relevant restrictions on the processing volume to ensure that the token processing end is not in a load state. However, in the original restriction process, only simple restrictions were imposed, and multiple token processing ends were not placed in the best operating state based on flow restrictions, thereby speeding up the overall efficiency of token processing. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a distributed flow limiting control method and system based on intelligent token recovery, which solves the problem of not keeping multiple token processing terminals in the optimal operating state on the basis of flow limiting.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a distributed current limiting control method based on intelligent token recovery, comprising the following steps:

[0007] S1), based on the different distributed processing terminals associated with the distributed system, confirm the token processing rate curve of the corresponding distributed processing terminal from the past token processing data of each different distributed processing terminal, and identify the optimal processing volume range, critical value and standard average speed of this distributed processing terminal from the token processing rate curve. The specific sub-steps are:

[0008] S11. From the past token amount processing data of the distributed processing end, different unit time input amounts and corresponding processing rates are confirmed. If there are multiple groups of the same unit time input amounts, the different processing rates corresponding to the multiple groups of unit time input amounts are averaged, and the average of the processed rates is used as the processing rate corresponding to the unit time input amount, and the unit time is consistent;

[0009] S12, generating a token processing rate curve by using different unit time input amounts and the determined processing rates, wherein the horizontal coordinate axis of the rate curve is the input amount, and the vertical coordinate axis is the processing rate generated by the distributed processing end in this unit time, and the unit time is the preset time;

[0010] S13, identifying the location of the preset value Y1 from the token processing rate curve, where Y1 is the preset value, and identifying the unit time input amount corresponding to Y1, marking the unit time input amount as the critical value of this distributed processing end, and if there are multiple groups of unit time input amounts, selecting the maximum value from the multiple groups of unit time input amounts as the critical value of this distributed processing end;

[0011] S14, construct a set of association lines that pass through Y1 and are perpendicular to the vertical coordinate axis, identify the partial line segments in the token processing rate curve that are above the association lines, confirm the rate change value between each adjacent node of the partial line segments and mark them as Vi, where i represents different adjacent node segments, and identify whether several groups of rate change values ​​Vi generated by this part all meet: Vi≤Y2, where Y2 is a preset value. If all meet, mark the partial line segments at this stage as standard line segments. If not all meet, move the association line upward from the initial position, and confirm the partial line segments corresponding to each movement process, until the rate change values ​​Vi generated by the partial line segments of the corresponding movement process are all satisfied, and stop, and determine the standard line segment. If the association line moves upward to a point where there is no partial line segment above or the partial line segment does not exist after the association line is confirmed, an error signal display is generated;

[0012] Identify whether the standard line segment is a single group or multiple groups. If it is a single group, directly select the minimum and maximum values ​​of the input per unit time associated with the standard line segment as the optimal processing capacity interval of this distributed processing end. If it is multiple groups, select a group of standard line segments with the longest length, and determine the optimal processing capacity interval of this distributed processing end from the standard line segments.

[0013] S15, identifying a change segment between the standard segment and the critical value from the token processing rate curve, performing average processing on several groups of processing rates associated with the change segment, and determining a standard average speed of the distributed processing end;

[0014] S2), based on the current moment, determine the token request amount per unit time, and then divide the token request amount per unit time equally based on the optimal processing volume range, critical value and standard average speed of different distributed processing terminals to determine the token allocation amount of each different distributed processing terminal, and then process the tokens of the specified token allocation amount through different distributed processing terminals. The specific sub-steps are:

[0015] S21, the token request amount received in a unit time is calibrated as QQ, and the critical value of different distributed processing terminals is calibrated as Lk, where k represents different distributed processing terminals, and the critical values ​​of several distributed processing terminals are summed to determine the first total value Zz. When QQ≥Zz, the cache amount is determined, and the cache amount is (QQ-Zz). The cached token request amount is processed in the next unit time, and the critical value of each different distributed processing terminal is used as the token allocation amount, and token allocation and processing are performed in this unit time. When QQ<Zz, step S22 is executed;

[0016] S22, based on the optimal processing capacity intervals of different distributed processing terminals, determine the interval minimum value of each optimal processing capacity interval, and sum all the interval minimum values ​​to determine the second total value Dz, then determine the interval maximum value of each optimal processing capacity interval, and sum all the interval maximum values ​​to determine the third total value Sz:

[0017] When Dz≤QQ≤Sz, the relevant tokens of the corresponding token request amount are randomly allocated. If the token allocation amount of the corresponding distributed processing end does not belong to its related optimal processing amount interval, the randomly allocated token allocation amount is adjusted to stop when the allocated token allocation amount is within the optimal processing amount interval of the corresponding distributed processing end, and the corresponding distributed processing end is used for processing;

[0018] When QQ<Dz, based on the number of distributed processing terminals, the related tokens with a token request amount of QQ are evenly distributed to each distributed processing terminal for processing;

[0019] When Sz<QQ<Zz, execute step S23;

[0020] S23, based on the standard average speed of different distributed processing terminals, sort several distributed processing terminals according to the value from large to small, generate a distributed processing terminal set, preferentially select the critical value of the first group of distributed processing terminals from the distributed processing set as the corresponding token allocation amount, and then determine the remaining token request amount QQ1, identify whether QQ1 satisfies: Dz≤QQ1≤Sz or QQ1<Dz, if satisfied, use the same allocation method in step S22 to determine and allocate the token allocation amount of other distributed processing terminals, if not satisfied, select the critical value of the second group of distributed processing terminals again ... The token request amount QQ2 is determined, and whether QQ2 satisfies: Dz≤QQ2≤Sz or QQ2<Dz. If so, the token allocation amount of other distributed processing terminals is determined and allocated by the same allocation method in step S22. If not, the critical value of the third group of distributed processing terminals is selected as the corresponding token allocation amount, and the remaining token request amount QQ3 is determined, and so on, until the remaining token request amount QQn satisfies: Dz≤QQn≤Sz or QQn<Dz, and the token allocation amount determination process of several distributed processing terminals is completed and the allocated tokens are processed by the corresponding distributed processing terminals;

[0021] S3), based on the optimal processing capacity interval determined by each different distributed processing end in this distributed system, determine its standard processing capacity per unit time, and then based on the cache capacity generated in the previous set of unit time, impose relevant restrictions on the token input capacity of different source nodes in this distributed system; the specific sub-steps are:

[0022] S31, summing up the maximum values ​​of the optimal processing volume intervals determined by each different distributed processing terminal, determining the standard processing volume BZ, and then identifying the cache volume Hc generated in the previous unit time. If no cache volume was generated in the previous unit time, Hc=0;

[0023] S32, using BZ-Hc=CL to determine the maximum processing capacity CL per unit time;

[0024] S33, identify the token input amount SR of different source nodes in the previous unit time q , where q represents different source nodes, and several tokens are input into SR q The summation is performed to obtain the total sum value HH, and the standard proportion value ZB is determined using ZB=CL÷HH. SRq×ZB=QRq is used to determine the token input quantity QRq of the corresponding source node in this unit time, and based on the determined token input quantity QRq, the source node is subject to relevant restrictions, and the token input quantity transmitted by the source node shall not be greater than QRq.

[0025] The present invention provides a distributed current limiting control method and system based on intelligent token recovery. Compared with the prior art, it has the following beneficial effects:

[0026] The present invention identifies the change of the input volume per unit time and the corresponding processing rate from the past processing data of different distributed processing terminals associated with the distributed system, and then determines the relevant change curve based on the specific change situation, and then analyzes and processes the relevant values ​​of the change curve, and identifies the relevant feature data of each different distributed processing terminal from the analyzed specific numerical features. This kind of numerical analysis and processing method makes the subsequent request volume allocation more accurate and ensures the relevant accuracy of the numerical values;

[0027] In view of the specific amount of requests generated in the subsequent unit time, the relevant tokens are effectively allocated based on the relevant characteristic data of different distributed processing terminals, ensuring that this distributed system can handle the maximum amount of token requests while ensuring that each distributed processing terminal is not in a load state. At the same time, it can ensure that the maximum number of distributed processing terminals can be in the best processing state, thereby achieving the distributed current limiting control effect, ensuring the processing timeliness of tokens, and achieving the best allocation and processing effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the process of the present invention;

[0029] Figure 2 It is a schematic diagram of token processing rate curve processing of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] Example 1

[0032] See also Figure 1 , this application provides a distributed current limiting control method based on intelligent token recovery, including the following steps:

[0033] S1), based on the different distributed processing terminals associated with the distributed system, the token processing rate curve of the corresponding distributed processing terminal is confirmed from the past token processing data of each different distributed processing terminal, and the optimal processing volume range, critical value and standard average speed of this distributed processing terminal are identified from the token processing rate curve. Specifically, the distributed processing terminal receives and processes different request tokens. There is a maximum number of request tokens that can be processed per unit time. When the number of request tokens exceeds the critical value, the distributed processing terminal will be in a load state, which will cause the processing rate of its request tokens to decrease. Therefore, when processing the request tokens, if the request volume is too large, it is necessary to perform current limiting processing and current limiting control;

[0034] The specific sub-steps for determining the token processing rate curve are:

[0035] S11. From the past token amount processing data of the distributed processing end, different unit time input amounts and corresponding processing rates are confirmed. If there are multiple groups of the same unit time input amounts, the different processing rates corresponding to the multiple groups of unit time input amounts are averaged, and the average of the processed rates is used as the processing rate corresponding to the unit time input amount, and the unit time is consistent;

[0036] S12, using different unit time input amounts and the determined processing rates to generate the token processing rate curve, the horizontal axis of the rate curve is the input amount, and the vertical axis is the processing rate generated by the distributed processing end within this unit time, the unit time is a preset time, generally 1 minute, which is a time period unit, and is prepared in advance by the operator based on experience. If there are different input amounts within the same time unit, then different input amounts correspond to different processing rates;

[0037] S13, identifying the location of the preset value Y1 from the token processing rate curve, where Y1 is a preset value, and its specific value is determined by the operator based on experience, which is a standard request token processing rate, and identifying the unit time input amount corresponding to Y1, and marking this unit time input amount as the critical value of this distributed processing end. If there are multiple groups of unit time input amounts, then select the maximum value from the multiple groups of unit time input amounts as the critical value of this distributed processing end;

[0038] S14. Combination Figure 2, construct a set of association lines that pass through Y1 and are perpendicular to the vertical coordinate axis, identify the partial line segments in the token processing rate curve that are above the association lines, confirm the rate change value between each adjacent node of the partial line segments and mark them as Vi, where i represents different adjacent node segments, identify whether the several groups of rate change values ​​Vi generated by this part all meet: Vi≤Y2, where Y2 is a preset value, and its specific value is determined by the operator based on experience, and Y2 represents the maximum fluctuation value specified. If all meet, mark the partial line segments at this stage as standard line segments. If not all meet, move the association line upward from the initial position, and confirm the partial line segments corresponding to each movement process, until the rate change values ​​Vi generated by the partial line segments corresponding to the movement process are all satisfied, stop, and determine the standard line segment. If the association line moves upward to the point where there is no partial line segment above or the partial line segment does not exist after the association line is confirmed, an error signal display is generated (such a situation means that the acquired past data is incorrect and needs to be re-acquired and reprocessed);

[0039] Identify whether the standard line segment is a single group or multiple groups. If it is a single group, directly select the minimum and maximum values ​​of the input per unit time associated with the standard line segment as the optimal processing volume interval of this distributed processing end. If it is multiple groups, select a group of standard line segments with the longest length, and determine the optimal processing volume interval of this distributed processing end from this standard line segment. Specifically, because of the fluctuation evaluation relationship between the values, there may be multiple standard line segments to be determined. In this case, it is necessary to select the segment with the shortest data volume from the multiple segments as the selected segment, and perform relevant confirmation of the corresponding optimal processing volume interval value;

[0040] S15. Identify the change line segment between the standard line segment and the critical value from the token processing rate curve, average the processing rates of several groups associated with the change line segment, and determine the standard average speed of this distributed processing terminal. Specifically, the determined critical value is the load value of the distributed processing terminal. When the input amount per unit time exceeds the critical value, it means that this distributed processing terminal is in a load state. When the input amount per unit time belongs to the optimal processing volume interval, it means that this distributed processing terminal is in the best operating state, and its processing rate can be maintained in the best numerical state, and its processing time efficiency can be fully guaranteed. When the input amount per unit time exceeds the optimal processing volume interval but does not exceed the critical value, it means that this distributed processing terminal is not in the best operating state or between the critical values, and is in a state where the processing state is gradually decreasing. In this state, this distributed processing terminal can still process the request volume normally, but the request rate may be reduced. Therefore, the corresponding standard average speed is determined based on its related processing rate, so as to feedback the related processing performance of different distributed processing terminals.

[0041] S2), based on the current moment, determine the token request amount per unit time, and then divide the token request amount per unit time equally based on the optimal processing volume range, critical value and standard average speed of different distributed processing terminals to determine the token allocation amount of each different distributed processing terminal, and then process the tokens of the specified token allocation amount through different distributed processing terminals, wherein the specific sub-steps of equalization are:

[0042] S21, the token request amount received in a unit time is calibrated as QQ, and the critical value of different distributed processing terminals is calibrated as Lk, where k represents different distributed processing terminals, and the critical values ​​of several distributed processing terminals are summed to determine the first total value Zz. When QQ≥Zz, the cache amount is determined, and the cache amount is (QQ-Zz). The cached token request amount is processed in the next unit time, and the critical value of each different distributed processing terminal is used as the token allocation amount, and token allocation and processing are performed in this unit time. When QQ<Zz, step S22 is executed;

[0043] S22, based on the optimal processing capacity intervals of different distributed processing terminals, determine the interval minimum value of each optimal processing capacity interval, and sum all the interval minimum values ​​to determine the second total value Dz, then determine the interval maximum value of each optimal processing capacity interval, and sum all the interval maximum values ​​to determine the third total value Sz:

[0044] When Dz≤QQ≤Sz, the relevant tokens of the corresponding token request amount are randomly allocated. If the token allocation amount of the corresponding distributed processing end does not belong to its related optimal processing amount interval, the randomly allocated token allocation amount is adjusted to stop when the allocated token allocation amount is within the optimal processing amount interval of the corresponding distributed processing end, and the corresponding distributed processing end is used for processing;

[0045] When QQ<Dz, based on the number of distributed processing terminals, the relevant tokens with a token request amount of QQ are evenly distributed to each distributed processing terminal for processing (that is, the request amount allocated to each distributed processing terminal is: QQ ÷ the number of existing ones);

[0046] When Sz<QQ<Zz, execute step S23;

[0047] S23. Based on the standard average speed of different distributed processing terminals, several distributed processing terminals are sorted in descending order to generate a distributed processing terminal set. The critical value of the first group of distributed processing terminals is preferentially selected from the distributed processing set as the corresponding token allocation amount, and then the remaining token request amount QQ1 (where QQ1=QQ-the first group of token allocation amount determined in this step) is determined. It is identified whether QQ1 satisfies: Dz≤QQ1≤Sz or QQ1<Dz. If it does, the same allocation method as in step S22 is used to determine and allocate the token allocation amounts of other distributed processing terminals. If it does not meet the requirements, the critical value of the second group of distributed processing terminals is selected again as the corresponding token allocation amount, and then the remaining token request amount is determined. QQ2 (where QQ2=QQ-the sum of the first group of token allocations and the second group of token allocations determined in this step), and identify whether QQ2 satisfies: Dz≤QQ2≤Sz or QQ2<Dz. If so, the same allocation method in step S22 is used to determine and allocate the token allocations of other distributed processing terminals. If not, the critical value of the third group of distributed processing terminals is selected as its corresponding token allocation, and its remaining token request amount QQ3 is determined, and so on, until the last remaining token request amount QQn satisfies: Dz≤QQn≤Sz or QQn<Dz, then stop, and complete the token allocation amount determination process of several distributed processing terminals and process the allocated tokens through the corresponding distributed processing terminals.

[0048] This distributed processing method can ensure that the distributed system can handle the maximum number of token requests while ensuring that each distributed processing terminal is not under load. It can also ensure that the maximum number of distributed processing terminals are in the best processing state, thereby achieving a distributed current limiting control effect, ensuring the processing timeliness of tokens, and achieving the best distribution processing effect.

[0049] Example 2

[0050] In the specific implementation process of this embodiment, compared with the above-mentioned embodiment, in the specific implementation process of this embodiment, it is a corresponding current limiting process, and the token input amount of the next unit time is restricted based on the specific processing process of the previous unit time;

[0051] Also includes:

[0052] S3), based on the optimal processing volume interval determined by each different distributed processing end in this distributed system, determine its standard processing volume per unit time, and then based on the cache volume generated in the previous set of unit time, impose relevant restrictions on the token input volume of different source nodes in this distributed system, wherein the specific sub-steps of the relevant restrictions are:

[0053] S31, summing up the maximum values ​​of the optimal processing volume intervals determined by each different distributed processing terminal, determining the standard processing volume BZ, and then identifying the cache volume Hc generated in the previous unit time. If no cache volume was generated in the previous unit time, Hc=0;

[0054] S32, using BZ-Hc=CL to determine the maximum processing capacity CL per unit time;

[0055] S33, identify the token input amount SR of different source nodes in the previous unit time q , where q represents different source nodes, and several tokens are input into SR q The summation is performed to obtain the total sum value HH, and ZB=CL÷HH is used to determine the standard proportion value ZB (ZB must be less than or equal to 1. When the cache amount is generated in the previous unit time, then ZB must be less than 1. If the cache amount is not generated, the value of ZB is generally greater than or equal to 1, and the corresponding input amount can be appropriately relaxed). SRq×ZB=QRq is used to determine the token input amount QRq of the corresponding source node in this unit time, and based on the determined token input amount QRq, the source node is subject to relevant restrictions, and the token input amount transmitted by the source node shall not be greater than QRq.

[0056] Specifically, based on this current limiting processing method, it can be ensured that the distributed system can perform token processing operations efficiently and effectively, thereby ensuring that the distributed system reaches a better operating and processing state.

[0057] Example 3

[0058] The specific implementation process of this embodiment includes the entire implementation process of the above two groups of embodiments.

[0059] Also includes:

[0060] Distributed current limiting control system based on intelligent token recovery, including:

[0061] The data initial processing end determines the token processing rate curve of the corresponding distributed processing end from the past token processing data of each different distributed processing end, and identifies the optimal processing volume range, critical value and standard average speed of this distributed processing end from the token processing rate curve;

[0062] The token allocation amount determination end determines the token request amount per unit time based on the current moment, and then divides the token request amount per unit time equally based on the optimal processing amount interval, critical value and standard average speed of different distributed processing ends to determine the token allocation amount for each different distributed processing end, and then processes the tokens of the specified token allocation amount through different distributed processing ends;

[0063] The input quantity limiting end determines the standard processing quantity per unit time based on the optimal processing quantity range determined by each different distributed processing end in this distributed system, and then based on the cache quantity generated in the previous set of unit time, imposes relevant restrictions on the token input quantity of different source nodes in this distributed system.

[0064] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0065] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A distributed current limiting control method based on intelligent token recovery, characterized in that: The following steps are involved: S1), based on different distributed processing terminals associated with the distributed system, confirm the token processing rate curve of the corresponding distributed processing terminal from the past token processing data of each different distributed processing terminal, and identify the optimal processing volume range, critical value and standard average speed of this distributed processing terminal from the token processing rate curve; S2), based on the current moment, determine the token request amount per unit time, and then divide the token request amount per unit time equally based on the optimal processing volume range, critical value and standard average speed of different distributed processing terminals to determine the token allocation amount of each different distributed processing terminal, and then process the tokens of the specified token allocation amount through different distributed processing terminals. The specific sub-steps are: S21, the amount of token requests received in a unit time is calibrated as QQ, and the critical values ​​of different distributed processing terminals are calibrated as Lk, where k represents different distributed processing terminals, and the critical values ​​of several distributed processing terminals are summed to determine a first total value Zz. When QQ≥Zz, the cache amount is determined, and the cache amount is QQ-Zz. The cached token request amount is processed in the next unit time, and the critical value of each different distributed processing terminal is used as the token allocation amount, and token allocation and processing are performed in this unit time. When QQ<Zz, step S22 is executed; S22, based on the optimal processing capacity intervals of different distributed processing terminals, determine the interval minimum value of each optimal processing capacity interval, and sum all the interval minimum values ​​to determine the second total value Dz, then determine the interval maximum value of each optimal processing capacity interval, and sum all the interval maximum values ​​to determine the third total value Sz: When Dz≤QQ≤Sz, the relevant tokens of the corresponding token request amount are randomly allocated. If the token allocation amount of the corresponding distributed processing end does not belong to its related optimal processing amount interval, the randomly allocated token allocation amount is adjusted to stop when the allocated token allocation amount is within the optimal processing amount interval of the corresponding distributed processing end, and the corresponding distributed processing end is used for processing; When QQ<Dz, based on the number of distributed processing terminals, the related tokens with a token request amount of QQ are evenly distributed to each distributed processing terminal for processing; When Sz<QQ<Zz, execute step S23; S23, based on the standard average speed of different distributed processing terminals, sort several distributed processing terminals according to the value from large to small, generate a distributed processing terminal set, preferentially select the critical value of the first group of distributed processing terminals from the distributed processing set as the corresponding token allocation amount, and then determine the remaining token request amount QQ1, identify whether QQ1 satisfies: Dz≤QQ1≤Sz or QQ1<Dz, if satisfied, use the same allocation method in step S22 to determine and allocate the token allocation amount of other distributed processing terminals, if not satisfied, select the critical value of the second group of distributed processing terminals again ... The token request amount QQ2 is determined, and whether QQ2 satisfies: Dz≤QQ2≤Sz or QQ2<Dz. If so, the token allocation amount of other distributed processing terminals is determined and allocated by the same allocation method in step S22. If not, the critical value of the third group of distributed processing terminals is selected as the corresponding token allocation amount, and the remaining token request amount QQ3 is determined, and so on, until the remaining token request amount QQn satisfies: Dz≤QQn≤Sz or QQn<Dz, and the token allocation amount determination process of several distributed processing terminals is completed and the allocated tokens are processed by the corresponding distributed processing terminals; S3), based on the optimal processing volume interval determined by each different distributed processing end in this distributed system, determine its standard processing volume per unit time, and then based on the cache volume generated in the previous set of unit time, impose relevant restrictions on the token input volume of different source nodes in this distributed system. The specific sub-steps are: S31, summing up the maximum values ​​of the optimal processing volume intervals determined by each different distributed processing terminal, determining the standard processing volume BZ, and then identifying the cache volume Hc generated in the previous unit time. If no cache volume was generated in the previous unit time, Hc=0; S32, using BZ-Hc=CL to determine the maximum processing capacity CL per unit time; S33, identify the token input amount SR of different source nodes in the previous unit time q , where q represents different source nodes, and several tokens are input into SR q The summation is performed to obtain the total sum value HH, and the standard proportion value ZB is determined using ZB=CL÷HH. SRq×ZB=QRq is used to determine the token input quantity QRq of the corresponding source node in this unit time, and based on the determined token input quantity QRq, the source node is subject to relevant restrictions, and the token input quantity transmitted by the source node shall not be greater than QRq.

2. The distributed current limiting control method based on intelligent token recovery according to claim 1 is characterized in that: In step S1, the specific sub-steps of determining the critical values ​​of different distributed processing terminals are: S11. From the past token amount processing data of the distributed processing end, different unit time input amounts and corresponding processing rates are confirmed. If there are multiple groups of the same unit time input amounts, the different processing rates corresponding to the multiple groups of unit time input amounts are averaged, and the average of the processed rates is used as the processing rate corresponding to the unit time input amount, and the unit time is consistent; S12, generating a token processing rate curve by using different unit time input amounts and the determined processing rates, wherein the horizontal coordinate axis of the rate curve is the input amount, and the vertical coordinate axis is the processing rate generated by the distributed processing end in this unit time, and the unit time is the preset time; S13. Identify the location of the preset value Y1 from the token processing rate curve, where Y1 is the preset value, and identify the unit time input amount corresponding to Y1, and calibrate this unit time input amount as the critical value of this distributed processing end. If there are multiple groups of unit time input amounts, select the maximum value from the multiple groups of unit time input amounts as the critical value of this distributed processing end.

3. The distributed current limiting control method based on intelligent token recovery according to claim 2 is characterized in that: In step S1, the specific sub-steps of determining the optimal processing capacity ranges of different distributed processing terminals are: S14, construct a set of association lines that pass through Y1 and are perpendicular to the vertical coordinate axis, identify the partial line segments in the token processing rate curve that are above the association lines, confirm the rate change value between each adjacent node of the partial line segments and mark them as Vi, where i represents different adjacent node segments, and identify whether several groups of rate change values ​​Vi generated by this part all satisfy: Vi≤Y2, where Y2 is a preset value. If all satisfy, mark the partial line segments at this stage as standard line segments. If not all satisfy, move the association line upward from the initial position, and confirm the partial line segments corresponding to each movement process, until the rate change values ​​Vi generated by the partial line segments corresponding to the movement process are all satisfied, stop, and determine the standard line segment. If the association line moves upward to a point where no partial line segment exists above or the partial line segment does not exist after the association line is confirmed, an error signal display is generated; Identify whether the standard line segment is a single group or multiple groups. If it is a single group, directly select the minimum and maximum values ​​of the unit time input quantity associated with this standard line segment as the optimal processing capacity interval of this distributed processing end. If it is multiple groups, select a group of standard line segments with the longest length, and determine the optimal processing capacity interval of this distributed processing end from this standard line segment.

4. The distributed current limiting control method based on intelligent token recovery according to claim 3 is characterized in that: In step S1, the specific sub-steps of determining the standard average speeds of different distributed processing terminals are: S15. Identify the change segment between the standard segment and the critical value from the token processing rate curve, average the processing rates of several groups associated with the change segment, and determine the standard average speed of this distributed processing end.

5. A distributed current limiting control system based on intelligent token recovery, which operates based on the distributed current limiting control method according to any one of claims 1 to 4, characterized in that: include: The data initial processing end determines the token processing rate curve of the corresponding distributed processing end from the past token processing data of each different distributed processing end, and identifies the optimal processing volume range, critical value and standard average speed of this distributed processing end from the token processing rate curve; The token allocation amount determination end determines the token request amount per unit time based on the current moment, and then divides the token request amount per unit time equally based on the optimal processing amount interval, critical value and standard average speed of different distributed processing ends to determine the token allocation amount for each different distributed processing end, and then processes the tokens of the specified token allocation amount through different distributed processing ends; The input quantity limiting end determines the standard processing quantity per unit time based on the optimal processing quantity range determined by each different distributed processing end in this distributed system, and then based on the cache quantity generated in the previous set of unit time, imposes relevant restrictions on the token input quantity of different source nodes in this distributed system.