CN108712350A - Based on custom rule can in real time auto-control flow control methods and device - Google Patents
Based on custom rule can in real time auto-control flow control methods and device Download PDFInfo
- Publication number
- CN108712350A CN108712350A CN201810569412.5A CN201810569412A CN108712350A CN 108712350 A CN108712350 A CN 108712350A CN 201810569412 A CN201810569412 A CN 201810569412A CN 108712350 A CN108712350 A CN 108712350A
- Authority
- CN
- China
- Prior art keywords
- flow
- flow control
- value
- rule
- present
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2475—Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2483—Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/29—Flow control; Congestion control using a combination of thresholds
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses based on custom rule can in real time auto-control flow control methods, when receiving transaction message, traffic control rule in shared drive is traversed, when the corresponding target flow of transaction message is not present in shared drive and controls rule without flow control, directly processing transaction;When there are target flow control rule, it obtains in shared drive and controls regular corresponding target flow control strategy with transaction message and target flow simultaneously, obtain present flow rate value, current peak flow values and the maximum stream flow threshold value in target flow control strategy, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value, flow control is carried out to transaction according to present flow rate value, current peak flow values and the maximum stream flow threshold value in target flow control strategy.It realizes and flow control is carried out according to present flow rate, reference flow magnitude threshold value and emergent flow threshold in practical applications, keep flow control more intelligent, efficient, flexible.
Description
Technical field
The present invention relates to flow control technique fields, more particularly to a kind of can be automatic in real time based on custom rule
The flow control methods and device of regulation and control.
Background technology
With the rapid development of network technology, finance class transaction in internet increases with surprising rapidity.In order to timely and effective
Processing these ever-increasing transaction, need fully efficiently to utilize limited resource, be needed thus to high concurrent, big flow
Transaction carry out rationally effective flow control, to ensure being handled without any confusion of merchandising.Meanwhile with double ten first-class nets
The rise of network promotion, it may appear that the case where transaction simultaneously of multiple trade companies is leapt high or single merchant transaction is leapt high, therefore also need to root
According to specific condition timely and effectively adjustable strategies so that under the premise of not influencing system overall stability, meet as far as possible every
The demand of a trade company.
Present flow rate control method be nearly all is realized in network layer, by network level analysis access request come
The flow control for realizing based role, disposes gateway, the user's checking by gateway and visit between user and Website server
Control module is asked to realize flow control, the access control mechanisms of the network levels such as IP, port, user name, certificate can only be provided,
The specific request content of application can not be parsed, it is even more impossible to carry out auto-control to flow control by concrete application scene,
Rule it is single, can not automatic adjusument, extension, practical application have limitation.
Invention content
In view of this, the present invention provides it is a kind of based on custom rule can in real time auto-control flow control methods and
Device formulates traffic control rule in practical applications, keeps flow control more intelligent, efficient, flexible.
In order to achieve the above-mentioned object of the invention, specific technical solution provided by the invention is as follows:
It is a kind of based on custom rule can in real time auto-control flow control methods, including:
When receiving transaction message, the traffic control rule in shared drive is traversed;
Judge in shared drive with the presence or absence of the corresponding target flow control rule of the transaction message;
If being not present, without flow control, the corresponding transaction of the transaction message is directly handled;
If in the presence of obtaining corresponding with the transaction message and target flow control rule simultaneously in shared drive
Target flow control strategy, and obtain the present flow rate value in the target flow control strategy, current peak flow values and most
Big flow threshold value, on the basis of the maximum stream flow threshold value flow threshold and emergent flow threshold and value;
Judge that the present flow rate value adds whether the value after 1 is more than the current peak flow values;
If being not more than the current peak flow values, the present flow rate value is added 1, and handles the transaction message and corresponds to
Transaction;
If more than the current peak flow values, judge that the present flow rate value adds whether the value after 1 is more than the maximum
Flow threshold;
If more than the maximum stream flow threshold value, prompt present flow rate full, the transaction message is corresponding to merchandise in waiting
State;
If be not more than the maximum stream flow threshold value, the present flow rate value is added 1, by preset rules update it is described currently most
Big flow value, and handle the corresponding transaction of the transaction message.
It is optionally, regular with the presence or absence of the corresponding target flow control of the transaction message in the judgement shared drive,
Including:
The label of present flow rate control rule is obtained, the present flow rate control rule is the current flow control traversed
System rule;
Judge to whether there is the label in the transaction message;
If the label is not present, judge whether present flow rate control rule is the last item stream in shared drive
Amount control rule;
If the last item traffic control rule, terminate the traversal to the traffic control rule in shared drive, if at this time
When the corresponding traffic control rule of the transaction message is not detected, judge that there is no the transaction messages to correspond in shared drive
Target flow control rule;
If not the last item traffic control rule, by next flow of the control rule of present flow rate described in shared drive
Control rule controls rule as new present flow rate, and returns and execute the label for obtaining present flow rate control rule;
If there are the label, judge that the present flow rate control rule is the corresponding target flow control of the transaction message
System rule, and return execute it is described judge present flow rate control it is regular whether be the last item flow control in shared drive
System rule.
Optionally, opposite with the transaction message and target flow control rule simultaneously in the acquisition shared drive
The target flow control strategy answered, including:
It obtains corresponding in label and the transaction message in the corresponding target flow control rule of the transaction message
Label value;
Flow control policy in shared drive is traversed, obtains while including the corresponding mesh of the transaction message
Mark the target flow control strategy of corresponding label value in label and the transaction message in traffic control rule.
Optionally, there are when a plurality of target flow control strategy in shared drive, the method further includes:
Obtain present flow rate value, current peak flow values and the maximum stream flow threshold in all target flow control strategies
Value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value;
Judge to add the value after 1 to be more than accordingly most with the presence or absence of present flow rate value in every target flow control strategy
The target flow control strategy of big flow threshold value;
If in the presence of prompting present flow rate full, corresponding merchandise of the transaction message is waited for;
If being not present, target flow control strategy described in every is traversed, and obtains current goal flow control plan
Slightly, the current goal flow control policy is the current target flow control strategy traversed;
Judge that the present flow rate value in the current goal flow control policy adds whether the value after 1 is more than current max-flow
Magnitude;
If being not more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, and
Judge whether the current goal flow control policy is the last item flow control in all target flow control strategies
System strategy;
If the last item flow control policy, the corresponding transaction of the transaction message is handled;
If not the last item flow control policy, by current goal stream described in all target flow control strategies
Next target flow control policy of amount control strategy is determined as new current goal flow control policy, and returns and execute institute
It states the present flow rate value judged in the current goal flow control policy and adds whether the value after 1 is more than current peak flow values;
If more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, by pre-
If the current peak flow values in current goal flow control policy described in Policy Updates, and return to execute and work as described in the judgement
Whether preceding target flow control strategy is the last item target flow control strategy in all target flow control strategies.
Optionally, the method further includes:
The flow of the corresponding trading object of every flow control policy in shared drive is monitored in real time;
For every flow control policy, when monitoring that the flow of trading object within a preset period of time is respectively less than flow control
When making the standard flow threshold value in strategy, using standard flow threshold value as the current peak flow values in flow control policy.
Optionally, based on shared drive storage, update, addition, deletion and the volume in distributed memory target cache system
Collect traffic control rule and flow control policy.
It is a kind of based on custom rule can in real time auto-control volume control device, including:
Traversal Unit, for when receiving transaction message, being traversed to the traffic control rule in shared drive;
First judging unit, for judging in shared drive with the presence or absence of the corresponding target flow control of the transaction message
Rule;
If being not present, transaction handling unit is triggered, is corresponded to for without flow control, directly handling the transaction message
Transaction;
If in the presence of, trigger acquiring unit, for obtain in shared drive simultaneously with the transaction message and the target stream
The corresponding target flow control strategy of amount control rule, and obtain the present flow rate value in the target flow control strategy,
Current peak flow values and maximum stream flow threshold value, the sum of flow threshold and emergent flow threshold on the basis of the maximum stream flow threshold value
Value;
Second judgment unit, for judging that the present flow rate value adds whether the value after 1 is more than the current maximum stream flow
Value;
If being not more than the current peak flow values, the first Policy Updates unit is triggered, is used for the present flow rate value
Add 1, and handles the corresponding transaction of the transaction message;
If more than the current peak flow values, third judging unit is triggered, after judging that the present flow rate value adds 1
Value whether be more than the maximum stream flow threshold value;
If more than the maximum stream flow threshold value, prompt unit is triggered, for prompting present flow rate full, the transaction message pair
The transaction answered is waited for;
If being not more than the maximum stream flow threshold value, Second Rule updating unit is triggered, for adding the present flow rate value
1, the current peak flow values are updated by preset rules, and handle the corresponding transaction of the transaction message.
Optionally,
First judging unit is specifically used for obtaining the label of present flow rate control rule, the present flow rate control
Rule is the current traffic control rule traversed;Judge to whether there is the label in the transaction message;If being not present
The label judges whether present flow rate control rule is the last item traffic control rule in shared drive;If
The last item traffic control rule terminates the traversal to the traffic control rule in shared drive, if being not detected at this time described
When the corresponding traffic control rule of transaction message, judge that the corresponding target flow control of the transaction message is not present in shared drive
System rule;If not the last item traffic control rule, by next flow of the control rule of present flow rate described in shared drive
Control rule controls rule as new present flow rate, and returns and execute the label for obtaining present flow rate control rule;If
There are the label, judge that the present flow rate control rule is the corresponding target flow control rule of the transaction message, and
Return execute it is described judge present flow rate control it is regular whether be the last item traffic control rule in shared drive.
Optionally, the acquiring unit is specifically used for obtaining in the corresponding target flow control rule of the transaction message
Label and the transaction message in corresponding label value;Flow control policy in shared drive is traversed, is obtained same
When include corresponding label in label and the transaction message in the transaction message corresponding target flow control rule
The target flow control strategy of value.
Optionally, there are when a plurality of target flow control strategy in shared drive, described device further includes:
Flow controlling unit, for obtaining the present flow rate value in all target flow control strategies, current maximum
Flow value and maximum stream flow threshold value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value;Judge every
Add target of the value after 1 more than corresponding maximum stream flow threshold value with the presence or absence of present flow rate value in the target flow control strategy
Flow control policy;If in the presence of prompting present flow rate full, corresponding merchandise of the transaction message is waited for;If not depositing
Target flow control strategy described in every is being traversed, and obtain current goal flow control policy, the current goal
Flow control policy is the current target flow control strategy traversed;Judge in the current goal flow control policy
Present flow rate value adds whether the value after 1 is more than current peak flow values;If being not more than current peak flow values, by the current mesh
Present flow rate value in mark flow control policy adds 1, and judges whether the current goal flow control policy is all described
The last item flow control policy in target flow control strategy;If the last item flow control policy handles the friendship
The corresponding transaction of easy message;If not the last item flow control policy, described in all target flow control strategies
Next target flow control policy of current goal flow control policy is determined as new current goal flow control policy, and
It returns to the execution present flow rate value judged in the current goal flow control policy and adds whether the value after 1 is more than currently most
Big flow value;If more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, is pressed
Preset rules update the current peak flow values in the current goal flow control policy, and return and execute described in the judgement
Current goal flow control policy whether be in all target flow control strategies the last item target flow control plan
Slightly.
Optionally, described device further includes:
Monitoring unit carries out real-time for the flow to the corresponding trading object of every flow control policy in shared drive
Monitoring;For every flow control policy, when monitoring that the flow of trading object within a preset period of time is respectively less than flow control
When standard flow threshold value in strategy, using standard flow threshold value as the current peak flow values in flow control policy.
Optionally, described device based in distributed memory target cache system shared drive storage, update, addition,
Delete and edit traffic control rule and flow control policy.
Compared with the existing technology, beneficial effects of the present invention are as follows:
It is disclosed by the invention based on custom rule can auto-control in real time flow control methods, store in shared drive
All traffic control rules and flow control policy realize the flow control in practical application scene.It is reported when receiving transaction
Wen Shi is directly right without flow control when target flow control rule corresponding there is no transaction message in shared drive
Transaction is handled, when there are the corresponding target flow control rule of transaction message and target flow control strategies in shared drive
When, flow control is carried out to transaction according to the target flow control strategy.Flow control policy include present flow rate value, it is current most
Big flow value and maximum stream flow threshold value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value, when current
Flow value adds for 1 when being more than present flow rate value with value and being less than maximum stream flow threshold value, current peak flow values is adjusted, with realization pair
The real-time automatic regulation of flow.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 be it is disclosed by the embodiments of the present invention it is a kind of based on custom rule can in real time auto-control flow control methods
Flow chart;
Fig. 2 is that whether there is the corresponding target stream of transaction message in a kind of judgement shared drive disclosed by the embodiments of the present invention
The method flow diagram of amount control rule;
Fig. 3 be it is disclosed by the embodiments of the present invention it is another based on custom rule can auto-control in real time flow control side
Method flow chart;
Fig. 4 be it is disclosed by the embodiments of the present invention it is a kind of based on custom rule can in real time auto-control volume control device
Structural schematic diagram.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, present embodiment discloses it is a kind of based on custom rule can in real time auto-control flow control side
Method, the control device being applied between client and server, or applied to the control device in server, the method is specific
Include the following steps:
S101:When receiving transaction message, the traffic control rule in shared drive is traversed;
Transaction message is to be sent to the message of server when transaction occurs by client, transaction message include transaction code,
The information such as trade company number, transaction channel.
All traffic control rules are stored in shared drive, traffic control rule is formulated according to practical application scene
, flow control is such as carried out according to trade company number, flow control is carried out according to transaction channel, flow control is carried out according to trade company area
Deng.
S102:Judge in shared drive with the presence or absence of the corresponding target flow control rule of the transaction message;
It is the corresponding traffic control rule of current transaction message that target flow, which controls rule, with to other in shared drive
Traffic control rule distinguishes.
If being not present, S103 is executed:Without flow control, the corresponding transaction of the transaction message is directly handled;
It is understood that when target flow control rule corresponding there is no transaction message in shared drive, explanation
The corresponding transaction of the transaction message need not carry out flow control, can directly be handled.
The transaction is specially sent to trading processing queue, trading processing queue carries out transaction according to certain sequence
Processing.
If in the presence of S104:It obtains in shared drive and controls regular phase with the transaction message and the target flow simultaneously
Corresponding target flow control strategy, and obtain present flow rate value, current maximum stream flow in the target flow control strategy
Value and maximum stream flow threshold value;
Flow control policy is control detailed rules and regulations of the flow control under different flow control rule, that is, traffic control rule
Indicate flow control is carried out according to what label (e.g., trade company number, transaction channel etc.), flow control policy is then directed to flow control
It is regular specifically to define that the transaction to a certain specific label value carries out specific flow control.Such as:Traffic control rule is got the bid
Label are transaction channel, and specific flow control is carried out to the transaction of personal network bank business channel in flow control policy.
On the basis of the maximum stream flow threshold value flow threshold and emergent flow threshold and value.
For carrying out flow control according to trade company number, it is assumed that YouNGe trade companies access system sets one for each trade company
Standard flow threshold value, is denoted as ji(i from 1~N), while a flow control parameter is set for each trade company, it is denoted as ci(i from 1~
N).The total flow threshold value of system is denoted as Z, and total flow threshold value Z includes two parts:The sum of N number of trade company's standard flow threshold value J, it meets an urgent need
Total flow Y, i.e. Z=J+Y, whereinFor each trade company jiFor, it can be according to the flow control parameter c of settingi
Get the emergent flow threshold y in part from emergent total flow Yi, yiComputational methods beThis yiValue is the quotient
The emergent flow of maximum that family can be divided.
To trade company jiFor, if transaction message is by trade company jiIt sends, is wrapped in the corresponding traffic control rule of transaction message
Include trade company jiPresent flow rate value, current peak flow values and maximum stream flow threshold value, it should be noted that current peak flow values
Minimum standard flow threshold value, current peak flow values maximum stream flow threshold value.
S105:Judge that the present flow rate value adds whether the value after 1 is more than the current peak flow values;
If being not more than the current peak flow values, S106 is executed:The present flow rate value is added 1, and handles the friendship
The corresponding transaction of easy message;
Specifically, the present flow rate value in the corresponding traffic control rule of transaction message is added 1, realizes and flow control is advised
Update then.
If more than the current peak flow values, S107 is executed:Judge that the present flow rate value adds whether the value after 1 is more than
The maximum stream flow threshold value;
If more than the maximum stream flow threshold value, S109 is executed:Prompt present flow rate full, the corresponding transaction of the transaction message
It is waited for;
After release flow is completed in other transaction for receiving the control of target flow control strategy, in target flow control strategy
When present flow rate value is less than maximum stream flow threshold value, the transaction is handled according to target flow control strategy.
It is understood that when handling transaction, transaction occupies flow, when transaction is completed, discharges the flow that transaction occupies.
Present flow rate value in flow control policy indicates currently to be occupied the sum of flow by the All Activity of flow control policy control
Value.
Present flow rate value adds the value after 1 to be more than maximum stream flow threshold value, if illustrating to handle the transaction, flow will exceed maximum
Flow control, it is temporary at this time not handle the transaction, prompt present flow rate full, the transaction message is corresponding to merchandise in waiting shape
State.
If the stand-by period of the transaction is more than preset stand-by period threshold value, prompt to merchandise overtime abnormal.
If being not more than the maximum stream flow threshold value, S108 is executed:The present flow rate value is added 1, is updated by preset rules
The current peak flow values, and handle the corresponding transaction of the transaction message.
It should also be noted that, the method further includes:
The flow of the corresponding trading object of every flow control policy in shared drive is monitored in real time;
For every flow control policy, when monitoring that the flow of trading object within a preset period of time is respectively less than flow control
When making the standard flow threshold value in strategy, using standard flow threshold value as the current peak flow values in flow control policy.
Specifically, the corresponding trading object of flow control policy is the transaction pair of the label value with the flow control policy
As for example, label value is trade company A in flow control policy, then the corresponding trading object of the flow control policy is trade company A's
All Activity.
Also by taking the above-mentioned progress flow control according to trade company number as an example, if it find that some trade company's (such as trade company i) reality in operation
When transaction flow reach its standard flow threshold value ji, then automatic gradual increases trade company's flow threshold of system, up to threshold value reaches
To ji+yi, while the transaction flow of trade company i is persistently detected, if its transaction flow is all in standard flow threshold whithin a period of time
Value jiHereinafter, then its flow threshold is become standard flow threshold value j by system automaticallyi。
It is understood that current peak flow values can on the basis of flow threshold, or in standard flow threshold
The gradual flow value increased after flow on the basis of value.
By taking certain e-commerce system as an example, if the total amount threshold value Z of system is 14000, unit was ten thousand (similarly hereinafter).Share 4
A trade company A, B, C, D, their standard flow threshold value are respectively:4000,2000,1000,1000, then according to above-mentioned formula Z=J
+ Y, J=4000+2000+1000+1000, are 8000, then the flow Y that meets an urgent need is 6000.According to previous business experience, 4 trade companies
Flow control parameter is respectively set to be 4,2,1,1, then the maximum increasable threshold values of trade company AI.e.
yA=3000, then this trade company's max-thresholds 7000 (4000+3000).In system operation, if detecting trade company A's
Real-time traffic has reached its standard flow threshold value 4000, then system is automatically by the gradual increase of its threshold value, until having reached 7000.
If the system detects that the real-time traffic of trade company A maintains always 4000 hereinafter, then system is automatically by the stream of A whithin a period of time
Amount threshold value is restored to baseline threshold 4000.Similarly, the maximum of trade company B, C, D can increase flow threshold and be respectively:3500,1750,
1750。
In the present embodiment, due to being that trade company is provided with flow control parameter in advance, this parameter reacts Liao Ge trade companies stream
The possibility leapt high is measured, even if within certain time (such as double 11) trade company A, C, D can bear model if promote simultaneously in system
Meet each trade company's demand as far as possible in enclosing, be not in that certain big trade company's flows are critical, and certain small trade company's flows still have it is vacant
The phenomenon that.On the other hand, if in some specific period, it is known that certain trade company can there are one flood peaks of merchandising, and other trade companies are basic
Remain unchanged (such as trade company B is Ministry of Railways's system, will appear transaction flood peak between the Spring Festival robs the usance, and be expected to be more than maximum
Threshold value 5500), then flow control parameter can be turned up temporarily, make it under the premise of not influencing other systems, transaction flood can be coped with
Peak.
It should also be noted that, being stored based on the shared drive in distributed memory target cache system memchache, more
Newly, add, delete and edit traffic control rule and flow control policy.Using memchache, not only make lookup, update altogether
The traffic control rule and flow control policy for enjoying memory have very high hit rate, substantially increase search speed, and energy
Enough dynamic increases and removal server and its node, and the rule and policy on these nodes is deployed to rapidly other available sections
Point, to ensure that the correctness and integrality of data in shared drive.
Referring to Fig. 2, with the presence or absence of the corresponding target flow control rule of the transaction message in the judgement shared drive
Then, include the following steps:
S201:The label of present flow rate control rule is obtained, the present flow rate control rule is currently traversing
Traffic control rule;
One traffic control rule represents a flow restriction condition, it is exact for be to determine mark in transaction message
Label, therefore traffic control rule is the basis of flow control policy.Such as:RULEKEY=" TransCode ", with regard to explanation be with
On the " < that delivers newspaper in text;Ebank>/<TransCode>" it is that condition carries out flow control.
Strategy represents control detailed rules and regulations of the specific flow control under different restrictive conditions, is the specific control that rule is extended
System strategy, is the unit of flow control.Such as:RULEKEY=" TransCode ", PROXYKEY=" 0001 ", MAXFLOW="
10000 " be a kind of strategy, represents the transaction no more than 10000 that parallel TransCode (transaction code) is 0001.Its
In, " TransCode " transaction code is the label of flow control.
By taking certain row e-commerce system as an example, when handling transaction, each transaction all can be with a transaction message come table
Show, such as:
{"Message":{"Version":"V3.0.3","Format":"JSON","Merchant":{"
ECMerchantType":"EBUS"},"Common":{"Channel":"Perbank"},"TrxRequest":{"
TrxType":"ABCRegCardPay","RequestID":"14007529552531425794","MerchantNo":"
103881234560010","PwdField":"123456","AcctNo":"6228300010053046","AccType":"
403","AccName":"XX","AccProCod":"11","AccOpenBranch":"112233","CardDueDate":"
2020","PID":"123456","CertificateNo":"142703","CertificateType":"I","PMMNo":"
EP001","CustSingleQuota":"1000","CustDayQuota":"5000","MediaType":"2","
Signature":"12345"}}}
Wherein, attribute Channel indicates the channel of the transaction, it can be assigned a value of Perbank (personal Internetbank),
Corbank (enterprise's Internetbank) etc., attribute MerchantNo indicates the trade company number of the transaction, each access e-commerce system
All there are one fixed commercial affairs number for trade company.If in certain a period of time, trade company A (trade company number is 103881234560010) will be done
Advertising campaign, its peak trading volume increase considerably, and the processing capacity of e-commerce system is constant at this time, if not right
Trade company A does flow control, certainly will influence whether the user experience of other trade companies.
It is the trade company A promoted for needs, we have formulated regular RULEKEY="MerchantNo", i.e.,:Use trade company
Number it is used as the label of traffic control rule, the trade company number of each trade company is fixed, therefore even if accesses the user of this trade company
It is random, traffic control rule and strategy are all not necessarily to change.For this rule, can generate strategy RULEKEY="
MerchantNo", PROXYKEY="103881234560010", MAXFLOW=" 12000000 ", strategy expression trade company number
For no more than 12,000,000 (tools promoted in view of trade company of concurrent transaction amount of 103881234560010 (namely trade company A)
The ability of body situation and practical application born has formulated this maximum transaction stroke count).
S202:Judge to whether there is the label in the transaction message;
If the label is not present, S203 is executed:Judge whether the present flow rate control rule is in shared drive
The last item traffic control rule;
If the last item traffic control rule, S204 is executed:Terminate time to the traffic control rule in shared drive
It goes through, if the corresponding traffic control rule of the transaction message is not detected at this time, judges that the friendship is not present in shared drive
The easily corresponding target flow control rule of message;
If not the last item traffic control rule, executes S205:Present flow rate described in shared drive is controlled into rule
Next traffic control rule control rule as new present flow rate, and return and execute S201;
If there are the label, S206 is executed:Judge that the present flow rate control rule is that the transaction message is corresponding
Target flow control rule, and return and execute S203.
On this basis, described in above-described embodiment obtain shared drive in simultaneously with the transaction message and the target
The corresponding target flow control strategy of traffic control rule, including:
It obtains corresponding in label and the transaction message in the corresponding target flow control rule of the transaction message
Label value;
Flow control policy in shared drive is traversed, obtains while including the corresponding mesh of the transaction message
Mark the target flow control strategy of corresponding label value in label and the transaction message in traffic control rule.
It should be noted that the present invention can from many aspects control flow, to be carried out to the flow of multiple trade companies
It, can be by the way that labels such as transaction code, trade companies number in transaction message, setting be about payment canal in shared drive for control
The traffic control rule of the dimensions such as road, trade company number, trade company region realizes the flow control under plurality of application scenes.
On this basis, present embodiment discloses another kind based on custom rule can in real time auto-control flow control
Method, there are when a plurality of target flow control strategy in shared drive, referring to Fig. 3, the described method comprises the following steps:
S301:When receiving transaction message, the traffic control rule in shared drive is traversed;
S302:Judge in shared drive with the presence or absence of the corresponding target flow control rule of the transaction message;
If being not present, S303 is executed:Without flow control, the corresponding transaction of the transaction message is directly handled;
If in the presence of S304 is executed:Obtain present flow rate value, the current peak flow values in all target flow control strategies
With maximum stream flow threshold value;
On the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value.
S305:Judge to add the value after 1 to be more than accordingly with the presence or absence of present flow rate value in every target flow control policy
The target flow control strategy of maximum stream flow threshold value;
That is, in the corresponding all target flow control strategies of transaction message, if there are present flow rate values, and the value after 1 to be added to be more than
When the target flow control strategy of corresponding maximum stream flow threshold value, if illustrating that for the transaction processing flow control will be exceeded
System, at this time prompt transaction are abnormal.
If in the presence of S306 is executed:Prompt present flow rate full, corresponding merchandise of the transaction message is waited for;
If being not present, S307 is executed:Every target flow control policy is traversed, and obtains current goal flow control
System strategy;
The current goal flow control policy is the current target flow control strategy traversed.
S308:It is current maximum to judge that the present flow rate value in current goal flow control policy adds the value after 1 whether to be more than
Flow value;
If being not more than current peak flow values, S309 is executed:By the present flow rate value in current goal flow control policy
Add 1;
S310:Judge whether current goal flow control policy is last entry in all target flow control strategies
Mark flow control policy;
If the last item target flow control rule, executes S311:Handle the corresponding transaction of the transaction message;
If not the last item target flow control rule, executes S312:Described in all target flow control strategies
Next target flow control policy of current goal flow control policy is determined as new current goal flow control policy, and
It returns and executes S308;
If more than current peak flow values, S313 is executed:Present flow rate value in current goal flow control policy is added
1, the current peak flow values in the current goal flow control policy are updated by preset rules, and return and execute S310.
By taking transaction message corresponds to 2 traffic control rules as an example, wherein traffic control rule A is carried out according to trade company number
Flow control, traffic control rule B are to carry out flow control according to transaction channel.If the corresponding flow controls of traffic control rule A
When present flow rate value adds 1 value less than current peak flow values in system strategy A, to present flow rate value in flow control policy A into
Row update;If present flow rate value adds 1 value to be more than current maximum stream flow in the corresponding flow control policy B of traffic control rule B
Value and less than maximum stream flow threshold value when, in flow control policy B present flow rate value and current peak flow values be updated.
Based on disclosed in above-described embodiment it is a kind of based on custom rule can in real time auto-control flow control methods, ask
Refering to Fig. 4, the present embodiment correspond to disclose it is a kind of based on custom rule can in real time auto-control volume control device, packet
It includes:
Traversal Unit 401 carries out time the traffic control rule in shared drive for when receiving transaction message
It goes through;
First judging unit 402 whether there is the corresponding flow control of the transaction message for judging in shared drive
Rule;
If being not present, transaction handling unit 403 is triggered, for without flow control, directly handling the transaction message
Corresponding transaction;
If in the presence of, trigger acquiring unit 404, for obtain in shared drive simultaneously with the transaction message and the target
The corresponding target flow control strategy of traffic control rule, and obtain the present flow rate in the target flow control strategy
Value, current peak flow values and maximum stream flow threshold value, flow threshold and emergent flow threshold on the basis of the maximum stream flow threshold value
And value;
Second judgment unit 405, for judging that the present flow rate value adds whether the value after 1 is more than the current max-flow
Magnitude;
If being not more than the current peak flow values, the first Policy Updates unit 406 is triggered, is used for the present flow rate
Value plus 1, and handle the corresponding transaction of the transaction message;
If more than the current peak flow values, triggering third judging unit 407, for judging that the present flow rate value adds
Whether the value after 1 is more than the maximum stream flow threshold value;
If more than the maximum stream flow threshold value, prompt unit 408 is triggered, for prompting present flow rate full, the transaction report
The corresponding transaction of text is waited for;
If being not more than the maximum stream flow threshold value, triggering Second Rule updating unit 409 is used for the present flow rate value
Add 1, updates the current peak flow values by preset rules, and handle the corresponding transaction of the transaction message.
Optionally, first judging unit 402 is specifically used for obtaining the label of present flow rate control rule, described to work as
Preceding traffic control rule is the current traffic control rule traversed;Judge to whether there is the mark in the transaction message
Label;If the label is not present, judge whether present flow rate control rule is the last item flow control in shared drive
System rule;If the last item traffic control rule, terminate the traversal to the traffic control rule in shared drive, if at this time not
When detecting the corresponding traffic control rule of the transaction message, judge that there is no the transaction message is corresponding in shared drive
Target flow control rule;If not the last item traffic control rule, rule is controlled by present flow rate described in shared drive
Next traffic control rule control rule as new present flow rate, and return to that execute the acquisitions present flow rate control regular
Label;If there are the label, judge that the present flow rate control rule is the corresponding target flow control of the transaction message
System rule, and return execute it is described judge present flow rate control it is regular whether be the last item flow control in shared drive
System rule.
Optionally, the acquiring unit 404 is specifically used for obtaining the corresponding target flow control rule of the transaction message
In label and the transaction message in corresponding label value;Flow control policy in shared drive is traversed, is obtained
Include to be marked accordingly in the label and the transaction message in the corresponding target flow control rule of the transaction message simultaneously
The target flow control strategy of label value.
Optionally, there are when a plurality of target flow control strategy in shared drive, described device further includes:
Flow controlling unit, for obtaining the present flow rate value in all target flow control strategies, current maximum
Flow value and maximum stream flow threshold value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value;Judge every
Add target of the value after 1 more than corresponding maximum stream flow threshold value with the presence or absence of present flow rate value in the target flow control strategy
Flow control policy;If in the presence of prompting present flow rate full, corresponding merchandise of the transaction message is waited for;If not depositing
Target flow control strategy described in every is being traversed, and obtain current goal flow control policy, the current goal
Flow control policy is the current target flow control strategy traversed;Judge in the current goal flow control policy
Present flow rate value adds whether the value after 1 is more than current peak flow values;If being not more than current peak flow values, by the current mesh
Present flow rate value in mark flow control policy adds 1, and judges whether the current goal flow control policy is all described
The last item flow control policy in target flow control strategy;If the last item flow control policy handles the friendship
The corresponding transaction of easy message;If not the last item flow control policy, described in all target flow control strategies
Next target flow control policy of current goal flow control policy is determined as new current goal flow control policy, and
It returns to the execution present flow rate value judged in the current goal flow control policy and adds whether the value after 1 is more than currently most
Big flow value;If more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, is pressed
Preset rules update the current peak flow values in the current goal flow control policy, and return and execute described in the judgement
Current goal flow control policy whether be in all target flow control strategies the last item target flow control plan
Slightly.
Optionally, described device based in distributed memory target cache system shared drive storage, update, addition,
Delete and edit traffic control rule and flow control policy.
The present embodiment it is disclosed based on custom rule can auto-control in real time volume control device, deposit in shared drive
All traffic control rules and flow control policy are stored up, realizes the flow control in practical application scene.It merchandises when receiving
When message, when target flow control rule corresponding there is no transaction message in shared drive, without flow control, directly
Transaction is handled, when there are the corresponding target flow control rules of transaction message and target flow to control plan in shared drive
When slightly, flow control is carried out to transaction according to the target flow control strategy.Flow control policy includes present flow rate value, current
Peak flow values and maximum stream flow threshold value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value, when working as
Preceding flow value adds for 1 when being more than present flow rate value with value and being less than maximum stream flow threshold value, adjusts current peak flow values, to realize
To the real-time automatic regulation of flow.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (12)
1. it is a kind of based on custom rule can in real time auto-control flow control methods, which is characterized in that including:
When receiving transaction message, the traffic control rule in shared drive is traversed;
Judge in shared drive with the presence or absence of the corresponding target flow control rule of the transaction message;
If being not present, without flow control, the corresponding transaction of the transaction message is directly handled;
If in the presence of obtaining in shared drive and controlling regular corresponding target with the transaction message and the target flow simultaneously
Flow control policy, and obtain present flow rate value, current peak flow values and max-flow in the target flow control strategy
Measure threshold value, on the basis of the maximum stream flow threshold value flow threshold and emergent flow threshold and value;
Judge that the present flow rate value adds whether the value after 1 is more than the current peak flow values;
If being not more than the current peak flow values, the present flow rate value is added 1, and handle the corresponding friendship of the transaction message
Easily;
If more than the current peak flow values, judge that the present flow rate value adds whether the value after 1 is more than the maximum stream flow
Threshold value;
If more than the maximum stream flow threshold value, prompt present flow rate full, corresponding merchandise of the transaction message is waited for;
If being not more than the maximum stream flow threshold value, the present flow rate value is added 1, updates the current max-flow by preset rules
Magnitude, and handle the corresponding transaction of the transaction message.
2. according to the method described in claim 1, it is characterized in that, being reported with the presence or absence of the transaction in the judgement shared drive
The corresponding target flow control rule of text, including:
The label of present flow rate control rule is obtained, the present flow rate control rule is the current flow control rule traversed
Then;
Judge to whether there is the label in the transaction message;
If the label is not present, judge whether present flow rate control rule is the last item flow control in shared drive
System rule;
If the last item traffic control rule, terminate the traversal to the traffic control rule in shared drive, if not examining at this time
When measuring the corresponding traffic control rule of the transaction message, judge that the corresponding mesh of the transaction message is not present in shared drive
Mark traffic control rule;
If not the last item traffic control rule, by next flow control of the control rule of present flow rate described in shared drive
Rule controls rule as new present flow rate, and returns and execute the label for obtaining present flow rate control rule;
If there are the label, judge that the present flow rate control rule is the corresponding target flow control rule of the transaction message
Then, it and returns to execute and described judges whether present flow rate control rule is that the last item flow control in shared drive is advised
Then.
3. according to the method described in claim 2, it is characterized in that, in the acquisition shared drive simultaneously with the transaction message
The corresponding target flow control strategy of rule is controlled with the target flow, including:
Obtain corresponding label in label and the transaction message in the corresponding target flow control rule of the transaction message
Value;
Flow control policy in shared drive is traversed, obtains while including the corresponding target stream of the transaction message
The target flow control strategy of corresponding label value in label and the transaction message in amount control rule.
4. according to the method described in claim 1, it is characterized in that, there are a plurality of target flows to control plan in shared drive
When slightly, the method further includes:
Present flow rate value, current peak flow values and the maximum stream flow threshold value in all target flow control strategies are obtained,
On the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value;
Judge to add the value after 1 to be more than corresponding max-flow with the presence or absence of present flow rate value in every target flow control strategy
Measure the target flow control strategy of threshold value;
If in the presence of prompting present flow rate full, corresponding merchandise of the transaction message is waited for;
If being not present, target flow control strategy described in every is traversed, and obtains current goal flow control policy, institute
It is the current target flow control strategy traversed to state current goal flow control policy;
Judge that the present flow rate value in the current goal flow control policy adds whether the value after 1 is more than current maximum stream flow
Value;
If being not more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, and judge
Whether the current goal flow control policy is the last item flow control plan in all target flow control strategies
Slightly;
If the last item target flow control strategy handles the corresponding transaction of the transaction message;
If not the last item target flow control strategy, by current goal stream described in all target flow control strategies
Next target flow control policy of amount control strategy is determined as new current goal flow control policy, and returns and execute institute
It states the present flow rate value judged in the current goal flow control policy and adds whether the value after 1 is more than current peak flow values;
If more than current peak flow values, the present flow rate value in the current goal flow control policy is added 1, by default rule
The current peak flow values in the current goal flow control policy are then updated, and returns and executes the judgement current mesh
Whether mark flow control policy is the last item target flow control strategy in all target flow control strategies.
5. method according to claim 1 or 4, which is characterized in that the method further includes:
The flow of the corresponding trading object of every flow control policy in shared drive is monitored in real time;
For every flow control policy, when monitoring that the flow of trading object within a preset period of time is respectively less than flow control plan
When standard flow threshold value in slightly, using standard flow threshold value as the current peak flow values in flow control policy.
6. according to the method described in claim 1, it is characterized in that, based on shared interior in distributed memory target cache system
Storage, update, addition, deletion and editor's traffic control rule and flow control policy.
7. it is a kind of based on custom rule can in real time auto-control volume control device, which is characterized in that including:
Traversal Unit, for when receiving transaction message, being traversed to the traffic control rule in shared drive;
First judging unit, for judging in shared drive with the presence or absence of the corresponding target flow control rule of the transaction message
Then;
If being not present, transaction handling unit is triggered, for without flow control, directly handling the corresponding friendship of the transaction message
Easily;
If in the presence of, trigger acquiring unit, for obtain in shared drive simultaneously with the transaction message and the target flow control
The corresponding target flow control strategy of system rule, and obtain the present flow rate value in the target flow control strategy, current
Peak flow values and maximum stream flow threshold value, on the basis of the maximum stream flow threshold value flow threshold and emergent flow threshold and value;
Second judgment unit, for judging that the present flow rate value adds whether the value after 1 is more than the current peak flow values;
If being not more than the current peak flow values, the first Policy Updates unit is triggered, for the present flow rate value to be added 1,
And handle the corresponding transaction of the transaction message;
If more than the current peak flow values, third judging unit is triggered, for judging that the present flow rate value adds the value after 1
Whether the maximum stream flow threshold value is more than;
If more than the maximum stream flow threshold value, prompt unit is triggered, for prompting present flow rate full, the transaction message is corresponding
Transaction is waited for;
If being not more than the maximum stream flow threshold value, triggering Second Rule updating unit is pressed for the present flow rate value to be added 1
Preset rules update the current peak flow values, and handle the corresponding transaction of the transaction message.
8. device according to claim 7, which is characterized in that
First judging unit is specifically used for obtaining the label of present flow rate control rule, the present flow rate control rule
For the traffic control rule currently traversed;Judge to whether there is the label in the transaction message;If there is no described
Label judges whether present flow rate control rule is the last item traffic control rule in shared drive;If last
One traffic control rule terminates the traversal to the traffic control rule in shared drive, if the transaction is not detected at this time
When the corresponding traffic control rule of message, judge that there is no the corresponding target flow control rule of the transaction message in shared drive
Then;If not the last item traffic control rule, by next flow control of the control rule of present flow rate described in shared drive
Rule controls rule as new present flow rate, and returns and execute the label for obtaining present flow rate control rule;If in the presence of
The label judges that the present flow rate control rule is the corresponding target flow control rule of the transaction message, and returns
It executes and described judges whether present flow rate control rule is the last item traffic control rule in shared drive.
9. device according to claim 8, which is characterized in that
The acquiring unit is specifically used for obtaining label in the corresponding target flow control rule of the transaction message and described
Corresponding label value in transaction message;Flow control policy in shared drive is traversed, obtain while including is described
The target flow of corresponding label value in label and the transaction message in the corresponding target flow control rule of transaction message
Control strategy.
10. device according to claim 7, which is characterized in that there are a plurality of target flows to control in shared drive
When tactful, described device further includes:
Flow controlling unit, for obtaining present flow rate value, current maximum stream flow in all target flow control strategies
Value and maximum stream flow threshold value, on the basis of maximum stream flow threshold value flow threshold and emergent flow threshold and value;Judge described in every
Add target flow of the value after 1 more than corresponding maximum stream flow threshold value with the presence or absence of present flow rate value in target flow control strategy
Control strategy;If in the presence of prompting present flow rate full, corresponding merchandise of the transaction message is waited for;It is right if being not present
Every target flow control strategy is traversed, and obtains current goal flow control policy, the current goal flow
Control strategy is the current target flow control strategy traversed;Judge current in the current goal flow control policy
Flow value adds whether the value after 1 is more than current peak flow values;If being not more than current peak flow values, by the current goal stream
Present flow rate value in amount control strategy adds 1, and judges whether the current goal flow control policy is all targets
The last item flow control policy in flow control policy;If the last item target flow control strategy, handles the friendship
The corresponding transaction of easy message;If not the last item target flow control strategy, it will be in all target flow control strategies
Next target flow control policy of the current goal flow control policy is determined as new current goal flow control plan
Slightly, it and returns to execute and described judges that the present flow rate value in the current goal flow control policy adds whether the value after 1 is more than
Current peak flow values;If more than current peak flow values, by the present flow rate value in the current goal flow control policy
Add 1, update the current peak flow values in the current goal flow control policy by preset rules, and returns and sentence described in execution
Whether the current goal flow control policy of breaking is the last item target flow in all target flow control strategies
Control strategy.
11. the device according to claim 7 or 10, which is characterized in that described device further includes:
Monitoring unit is supervised in real time for the flow to the corresponding trading object of every flow control policy in shared drive
It surveys;For every flow control policy, when monitoring that the flow of trading object within a preset period of time is respectively less than flow control plan
When standard flow threshold value in slightly, using standard flow threshold value as the current peak flow values in flow control policy.
12. device according to claim 7, which is characterized in that described device is based on distributed memory target cache system
In shared drive storage, update, addition, delete and editor's traffic control rule and flow control policy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569412.5A CN108712350B (en) | 2018-06-05 | 2018-06-05 | Flow control method and device capable of automatically regulating and controlling in real time based on custom rule |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569412.5A CN108712350B (en) | 2018-06-05 | 2018-06-05 | Flow control method and device capable of automatically regulating and controlling in real time based on custom rule |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108712350A true CN108712350A (en) | 2018-10-26 |
CN108712350B CN108712350B (en) | 2022-04-05 |
Family
ID=63870446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810569412.5A Active CN108712350B (en) | 2018-06-05 | 2018-06-05 | Flow control method and device capable of automatically regulating and controlling in real time based on custom rule |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108712350B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166371A (en) * | 2019-05-16 | 2019-08-23 | 北京达佳互联信息技术有限公司 | Flow control methods, device, electronic equipment and storage medium |
CN110599136A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for managing and controlling flow of block chain transaction pool |
CN111709731A (en) * | 2020-06-18 | 2020-09-25 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
CN111741016A (en) * | 2020-07-23 | 2020-10-02 | 南京梦饷网络科技有限公司 | Method, computing device, and computer storage medium for managing application interfaces |
CN112258172A (en) * | 2020-10-16 | 2021-01-22 | 多点(深圳)数字科技有限公司 | Payment automatic degradation method based on machine learning |
CN112995052A (en) * | 2021-04-25 | 2021-06-18 | 北京世纪好未来教育科技有限公司 | Flow control method and related device |
CN113179222A (en) * | 2021-04-30 | 2021-07-27 | 康键信息技术(深圳)有限公司 | Current-limiting control method, device and equipment for hotspot data and storage medium |
CN115361339A (en) * | 2022-08-15 | 2022-11-18 | 中国工商银行股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN116094979A (en) * | 2022-12-23 | 2023-05-09 | 华能信息技术有限公司 | Policy route management method |
CN111709731B (en) * | 2020-06-18 | 2024-11-19 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894348A (en) * | 2010-07-20 | 2010-11-24 | 中兴通讯股份有限公司 | Self-expanded online transaction system and implementing method thereof |
CN104090823A (en) * | 2014-06-09 | 2014-10-08 | 中国建设银行股份有限公司 | Flow control method and device for computer system |
CN105389729A (en) * | 2015-12-15 | 2016-03-09 | 中国建设银行股份有限公司 | Precise control system and method for transaction flow |
CN107707488A (en) * | 2017-10-25 | 2018-02-16 | 北京数码视讯支付技术有限公司 | Payment online transaction flow control method, flow limiting server and client |
-
2018
- 2018-06-05 CN CN201810569412.5A patent/CN108712350B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894348A (en) * | 2010-07-20 | 2010-11-24 | 中兴通讯股份有限公司 | Self-expanded online transaction system and implementing method thereof |
CN104090823A (en) * | 2014-06-09 | 2014-10-08 | 中国建设银行股份有限公司 | Flow control method and device for computer system |
CN105389729A (en) * | 2015-12-15 | 2016-03-09 | 中国建设银行股份有限公司 | Precise control system and method for transaction flow |
CN107707488A (en) * | 2017-10-25 | 2018-02-16 | 北京数码视讯支付技术有限公司 | Payment online transaction flow control method, flow limiting server and client |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166371A (en) * | 2019-05-16 | 2019-08-23 | 北京达佳互联信息技术有限公司 | Flow control methods, device, electronic equipment and storage medium |
CN110599136A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for managing and controlling flow of block chain transaction pool |
CN111709731A (en) * | 2020-06-18 | 2020-09-25 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
CN111709731B (en) * | 2020-06-18 | 2024-11-19 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
CN111741016A (en) * | 2020-07-23 | 2020-10-02 | 南京梦饷网络科技有限公司 | Method, computing device, and computer storage medium for managing application interfaces |
CN111741016B (en) * | 2020-07-23 | 2020-12-08 | 南京梦饷网络科技有限公司 | Method, computing device, and computer storage medium for managing application interfaces |
CN112258172A (en) * | 2020-10-16 | 2021-01-22 | 多点(深圳)数字科技有限公司 | Payment automatic degradation method based on machine learning |
CN112995052A (en) * | 2021-04-25 | 2021-06-18 | 北京世纪好未来教育科技有限公司 | Flow control method and related device |
CN113179222A (en) * | 2021-04-30 | 2021-07-27 | 康键信息技术(深圳)有限公司 | Current-limiting control method, device and equipment for hotspot data and storage medium |
CN115361339A (en) * | 2022-08-15 | 2022-11-18 | 中国工商银行股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN115361339B (en) * | 2022-08-15 | 2024-03-01 | 中国工商银行股份有限公司 | Flow control method, device, electronic equipment and storage medium |
CN116094979A (en) * | 2022-12-23 | 2023-05-09 | 华能信息技术有限公司 | Policy route management method |
Also Published As
Publication number | Publication date |
---|---|
CN108712350B (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108712350A (en) | Based on custom rule can in real time auto-control flow control methods and device | |
CN104363300B (en) | Task distribution formula dispatching device is calculated in a kind of server cluster | |
McKenney et al. | Estimates of the potential cost of emerald ash borer (Agrilus planipennis Fairmaire) in Canadian municipalities | |
US11323453B2 (en) | Data processing method, device, access control system, and storage media | |
CN109343965A (en) | Resource adjusting method, device, cloud platform and server | |
CN104094565B (en) | Controller, the method for distributing load, computer system and control device | |
CN108805704A (en) | Block chain service implementation method, audiomonitor, storage medium and system | |
JP2005528850A5 (en) | ||
CN106411777A (en) | Method and system for processing high concurrent data | |
CN109598563A (en) | Brush single detection method, device, storage medium and electronic equipment | |
CN107358372A (en) | Box for material circulation distribution method, device and electronic equipment | |
CN107093038A (en) | Means of distribution system of selection and device | |
CN104506462B (en) | MAC Address management method and equipment in a kind of distribution switch | |
CN103297291A (en) | Method and system for monitoring website real-time statuses | |
CN107256180A (en) | Data processing method, device and terminal | |
CN101383832A (en) | Challenging black hole attack defense method and device | |
CN109426989A (en) | A kind of subscription process method provides method for reserving service and equipment | |
CN109922072A (en) | A kind of detecting method of distributed denial of service attacking and device | |
CN109669789A (en) | Transaction queuing strategy, trading pit storage method, equipment and storage medium | |
CN104572498B (en) | The buffer memory management method and device of message | |
CN110020046A (en) | A kind of data grab method and device | |
CN110365810A (en) | Domain name caching method, device, equipment and storage medium based on web crawlers | |
CN107294743A (en) | A kind of network path detection method, controller and the network equipment | |
CN106506072B (en) | A kind of collecting method and device | |
CN106503203A (en) | A kind of intelligent flow table update method |
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 |