CN107707488A - Pay on-line transaction flow control methods, current limliting service end and client - Google Patents
Pay on-line transaction flow control methods, current limliting service end and client Download PDFInfo
- Publication number
- CN107707488A CN107707488A CN201711010682.4A CN201711010682A CN107707488A CN 107707488 A CN107707488 A CN 107707488A CN 201711010682 A CN201711010682 A CN 201711010682A CN 107707488 A CN107707488 A CN 107707488A
- Authority
- CN
- China
- Prior art keywords
- transaction
- request
- transaction request
- client
- current limliting
- 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.)
- Pending
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/29—Flow control; Congestion control using a combination of thresholds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides one kind to pay on-line transaction flow control methods, current limliting service end and client, is related to transaction flow control technology field, including:Receive the element of transaction information for the transaction request that client is sent;When the first quantity of the transaction request received meets preparatory condition, the second quantity of the transaction request of access target trade company is asked in the transaction request received according to the element of transaction Information Statistics of the transaction request;When second quantity is more than default trade company's current limit threshold, request failure information is returned to the client;When second quantity is less than trade company's current limit threshold, returns to request to the client and pass through information.The invention provides one kind to pay on-line transaction flow control methods, current limliting service end and client, can carry out current limliting to the transaction flow of particular merchant, realize the Precise control to transaction flow.
Description
Technical field
The present invention relates to transaction flow control technology field, and on-line transaction flow controlling party is paid more particularly, to one kind
Method, current limliting service end and client.
Background technology
Existing current limiting system has the following disadvantages:The current limliting fineness ratio of application service end and reverse proxy service end compared with
Greatly, current limliting can only be carried out to certain a kind of transaction request or some URL.And need to carry out more transaction request in practical application
Fine-grained current limliting, it is often desirable that specific interface can be directed to and carry out current limliting, it is therefore desirable to carry out current limliting for particular merchant.Example
Such as, the transaction request for needing to ensure a part of important trade company in transaction peak period can timely respond to, for unessential transaction
Discard processing is taken in request.But this can not often be accomplished using existing application service end current limliting and reverse proxy service end current limliting
A bit.
The content of the invention
In view of this, it is an object of the invention to provide one kind to pay on-line transaction flow control methods, current limliting service end
And client, it is big to alleviate the current limliting granularity of existing current limiting system current limiting system, it is impossible to which that current limliting is carried out to particular merchant
Technical problem.
In a first aspect, the embodiments of the invention provide one kind to pay on-line transaction flow control methods, including:Receive client
Hold the element of transaction information of the transaction request sent;
When the first quantity of the transaction request received meets preparatory condition, according to the element of transaction of the transaction request
The second quantity of the transaction request of access target trade company is asked in the transaction request that Information Statistics receive;
When second quantity is more than default trade company's current limit threshold, request failure information is returned to the client;
When second quantity is less than trade company's current limit threshold, returns to request to the client and pass through information.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute
Stating method also includes:
By first quantity of the transaction request received compared with default transaction request current limit threshold;
When first quantity is less than the transaction request current limit threshold, it is determined that the first number of the transaction request received
Amount meets preparatory condition.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein,
Before receiving the transaction request that client is sent, including:
The pre-configured flow control policy of default element of transaction information, trade company's current limit threshold and the transaction inputted according to user please
Seek current limit threshold.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, institute
Stating flow control policy includes:
The element of transaction information of the transaction request is obtained, the element of transaction information includes:Trade company number;
According to the element of transaction information inquiry of transaction request trade company corresponding with the transaction request of the target trade company
Current limit threshold.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 4th of first aspect kind, wherein, institute
Stating method also includes:
First quantity and second quantity are reset according to preset interval time.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 5th of first aspect kind, wherein, institute
Stating method also includes:
After config update request is received, configuration file is reloaded;
Multiple clients are notified to reacquire the configuration item of the configuration file.
Second aspect, the embodiment of the present invention also provide a kind of payment on-line transaction flow control methods, including:
The transaction request is intercepted according to the flow control policy read, and obtains the transaction in the transaction request and wants
Prime information;
Element of transaction information in the transaction request is sent to current limliting service end;
When receiving the request failure information that the current limliting service end is sent, request failure is shown to user;
When the request for receiving the current limliting service end transmission passes through information, regular traffic flow is performed.
The third aspect, the embodiment of the present invention also provide a kind of client, including memory, processor, in the memory
It is stored with the computer program that can be run on the processor, it is characterised in that described program code holds the processor
Method described in row second aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of meter for the non-volatile program code that can perform with processor
Calculation machine computer-readable recording medium, it is characterised in that described program code makes described in the computing device first aspect or second aspect
Method.
The embodiment of the present invention brings following beneficial effect:A kind of payment on-line transaction flow provided in an embodiment of the present invention
Control method, current limliting service end and client, current limliting can be carried out to the transaction flow of particular merchant, realized to transaction flow
Precise control.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the Organization Chart of payment on-line transaction flow control system provided in an embodiment of the present invention;
Fig. 2 is the flow chart of payment on-line transaction flow control methods provided in an embodiment of the present invention;
Fig. 3 is the flow chart for the payment on-line transaction flow control methods that another embodiment of the present invention provides;
Fig. 4 is the current limliting process chart of client provided by the invention and current limliting service end;
Fig. 5 is the current limliting process chart for the current limliting service end that another embodiment of the present invention provides.
Icon:
100- clients;200- current limliting service ends.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is part of the embodiment of the present invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
At present, existing current limiting system has the following disadvantages:Application service end and the current limliting granularity of reverse proxy service end
It is bigger, current limliting can only be carried out to certain a kind of transaction request or some URL.And need to enter transaction request in practical application
The more fine-grained current limliting of row, it is often desirable that specific interface can be directed to and carry out current limliting, it is therefore desirable to limited for particular merchant
Stream.For example, it can be timely responded in the transaction request that transaction peak period needs to ensure a part of important trade company, for unessential
Transaction request takes discard processing.But it can not often be done using existing application service end current limliting and reverse proxy service end current limliting
To this point.Based on this, a kind of payment on-line transaction flow control methods, current limliting service end and visitor provided in an embodiment of the present invention
Family end, current limliting can be carried out to the transaction flow of particular merchant, realize the Precise control to transaction flow.
For ease of understanding the present embodiment, first to a kind of payment on-line transaction stream disclosed in the embodiment of the present invention
Amount control system describes in detail.As shown in figure 1, a kind of on-line transaction flow control system that pays is set using C/S frameworks
Meter, including:Multiple client 100 and current limliting service end 200, each client 100 can pass through gateway device and current limliting service
End 200 is communicated.
Wherein, client 100 is a flow restricting filter, and filter belongs to JavaEE bases API, independent of application service
End, it is not required that third party relies on, for the various applications based on JavaEE exploitations.The effect of filter is to intercept all trade companies
Request, and obtains trade company number therein and business information, and the information intercepted is sent into current limliting service end 200, and according to
It is clearance or interception that the feedack of current limliting service end 200, which confirms,.
Current limliting service end 200 includes configuration management center.Configuration management center can provide visual operation, Yong Hutong
Fine-grained current limliting configuration can be realized by crossing visualized operation, can be directed to application-specific to trade company number, transaction code and business
Type configuration current limit threshold and flow control policy.
As shown in Fig. 2 in one embodiment of the present of invention, there is provided one kind pays on-line transaction flow control methods, institute
State method and be applied to current limliting service end 200, the described method comprises the following steps.
Before the transaction request that client 100 is sent is received, user can input default friendship by configuration management center
Easy element information, the default element of transaction information include:The information such as trade company number.Configuration management center is according to default element of transaction
Trade company's current limit threshold of the pre-configured flow control policy of information, transaction request current limit threshold and corresponding trade company number.
S101, receive the element of transaction information for the transaction request that client 100 is sent.
Specifically, when current limliting service end 200 receives the element of transaction information of the transaction request of the transmission of client 100,
Statistics receives the first quantity (i.e. current request sum) of transaction request, by first quantity of the transaction request received
Compared with default transaction request current limit threshold.When first quantity is less than the transaction request current limit threshold, it is determined that connecing
First quantity of the transaction request received meets preparatory condition.
S102, when the first quantity of the transaction request received meets preparatory condition, according to the friendship of the transaction request
The second quantity (i.e. current business of the transaction request of access target trade company is asked in the transaction request that easy element information statistics receives
Family request sum).
Specifically, current limliting service end 200 reads and parses pre-configured flow control policy, according to the transaction request
Default trade company's current limit threshold corresponding with the transaction request of the target trade company is inquired about by trade company number in element of transaction information, and
Second quantity counted on and default trade company's current limit threshold are compared.
S103, when second quantity is more than default trade company's current limit threshold, returns and ask to the client 100
Failure information.
S104, when second quantity is less than trade company's current limit threshold, it is logical to return to request to the client 100
Cross information.
A kind of payment on-line transaction flow control methods provided in an embodiment of the present invention, can match somebody with somebody according to information such as trade companies number
Trade company's current limit threshold of flow control policy, transaction request current limit threshold and corresponding trade company number is put, and then to the friendship of particular merchant
Easy flow carries out current limliting, realizes the Precise control to transaction flow.
On the basis of previous embodiment, a kind of payment on-line transaction flow control methods provided in an embodiment of the present invention are also
Comprise the following steps.
First quantity and second quantity are reset according to preset interval time.
In actual applications, do not reduced in order to avoid transaction request amount only increases, cause trading volume little, may blocked up on the contrary
The occurrence of dead, is, it is necessary to periodically dispose the transaction completed.For example, can be periodically by first quantity and described
Second quantity resets to initial value, and this can increase the treating capacity of transaction request.
As shown in figure 3, in yet another embodiment of the present invention, there is provided one kind pays on-line transaction flow controlling party
Method, methods described are applied to client 100, the described method comprises the following steps.
S201, the transaction request is intercepted according to the flow control policy read, and obtained in the transaction request
Element of transaction information.
Specifically, client 100 initialize when from configuration management center read flow control policy, trade company's current limit threshold and
Transaction request current limit threshold.
S202, the element of transaction information in the transaction request is sent to current limliting service end 200.
Specifically, the meeting of client 100 is according to the transaction request of the flow control policy interception user read, (i.e. HTTP please
Ask), by the remote service (HttpInvoke remote call services) of far call current limliting service end 200 after intercepting, and return
Return current limliting result.Far call takes very little between client 100 and current limliting service end 200, can be controlled by pressure test
Within 10 milliseconds.
S203, when receiving the request failure information that the current limliting service end 200 is sent, show and ask to user
Failure.
S204, when the request for receiving the transmission of current limliting service end 200 passes through information, perform general traffics
Journey.
In actual applications, client 100 can be according to the flow control policy according to pre-configured configuration, trade company's current limit threshold
Transaction request is controlled with transaction request current limit threshold, for being unsatisfactory for flow control policy and the request more than threshold value,
Returned to user and service disabled information, meet being let pass for condition.
The configuration management center of client 100 and current limliting service end 200 keeps long connection.When matching somebody with somebody in current limliting configuration file
Put after item changed, the configuration item of renewal is pushed to multiple client 100 by configuration management center, and application node need not restart should
With the current limliting that comes into force immediately configuration.Configuration management center provides current limiting switch, can close current limliting when asking low, improve
System treatment effeciency.Client 100 is not exclusively relies on service end, if in the process of running, configuration management center is delayed machine,
Client 100 can still use the configuration information of caching to work on, and Guarantee control system is continually and steadily run.
Illustrate the specific work of payment on-line transaction flow control methods provided in an embodiment of the present invention by way of example below
Make principle:
When client 100 intercepts the transaction request of user, the element of transaction information for the transaction transaction request intercepted is sent out
Current limliting service end 200 is given, current limliting service end 200 can judge whether current transaction request exceedes and set default current limit threshold,
If exceeding default current limit threshold, the more transaction requests of the impotentia of current limliting service end 200 processing, limitation transaction request is informed;If
It can pass through not less than transaction request is then returned.This Current limited Control method is properly termed as " penny bank " algorithm.
For " penny bank " algorithm, for each trade company, each trade company can be given to distribute a penny bank, can also limited
The capacity (i.e. merchant requests current limit threshold) of penny bank and the replacing construction (statistical magnitude as reset transaction request) of penny bank.
Empty penny bank is regularly replaced equivalent to the transaction completed is disposed, control the replacement cycle and penny bank capacity can reach by
Flow restriction is to certain amount, that is, the number of requests in the control unit interval.Specifically, change penny bank, calculate storage
Whether money tank is full, controls the processes such as penny bank capacity, control replacement cycle to be realized in current limliting service end 200, to reality
Border business is without influence.
For existing token bucket algorithm or Leaky Bucket algorithm, client and service end need interaction twice, i.e., objective every time
Family request arrives first service end and takes a token, does business after taking token, the business of finishing also needs to once interact and returns token
Token bucket or funnel, the substantial amounts of interaction time for taking system of interaction twice, increase traffic handling time.With existing token
Bucket algorithm or Leaky Bucket algorithm are compared, " penny bank " Current limited Control method provided in an embodiment of the present invention, client and service end
Only need interaction once, this can greatly reduce traffic handling time.
As shown in figure 4, the specific current limliting handling process of client 100 is as follows:
When client 100 initializes, the pre-configured current limiting switch of reading current limliting service end 200, flow control policy, business
Family current limit threshold and transaction request current limit threshold.
When receiving transaction request, the state of current limiting switch is detected.When current limiting switch is in opening, according to stream
The trade company number in the trade company number acquisition Rule transaction request in control strategy is measured, and trade company number is sent to current limliting service end
200.Current limliting service end 200 judges whether current transaction request exceedes current limit threshold, and returns to current limliting result.
When transaction request is without exception, client 100 parses the current limliting result that current limliting service end 200 returns.When receiving
During the request failure information that the current limliting service end 200 is sent, request failure is shown to user;When receiving the current limliting
When the request that service end 200 is sent passes through information, regular traffic flow is performed.
As shown in figure 5, current limliting service end 200 includes:Management module, configuration information module and request processing module.
1. management module.With following functions:
Configuration information module is called to process when a. starting.
B. config update request is received, and notifies related system to reacquire configuration.Renewal also needs to verification when completing and matched somebody with somebody
Put version number.
C. service request is received, call request processing module, obtains result.
D. monitoring request is received, calls corresponding module acquired value to give and feeds back.
2. configuration information module.
The configuration information module of system, it is responsible for preserving the various values in configuration file.
3. request processing module.
It is responsible for making requests on the processing of current limliting logic.
Wherein, the specific current limliting handling process of current limliting service end 200 is as follows:
When current limliting service end 200 initializes, loading configuration file, the configuration item of configuration file is put into internal memory, obtains business
Family logical process rule.
After config update request is received, the configuration item preserved in internal memory is emptied, reloads configuration file, is obtained
New trade company's logical process rule.Notice multiple client 100 reacquires the configuration item of the configuration file, and verifies configuration
Version number.
When receiving the element of transaction information for the transaction request that client 100 is sent, synchrolock is opened, obtains last time first
The reset time and interval time of quantity (i.e. current request sum) and the second quantity (i.e. current merchant requests sum), and sentence
It is disconnected whether to need renewal time.
If desired renewal time, this setting time is set, the total and current merchant requests sum of current request is reset
For initial value, such as 1, synchrolock is discharged afterwards.
It is if not needing renewal time, the current request of the transaction request received is total with default transaction request current limliting
Threshold value compares.
When current request sum exceedes transaction request current limit threshold, request failure information is directly returned.
When the current request sum is not less than transaction request current limit threshold, counts and asked in the transaction request received
Second quantity of the transaction request of access target trade company, i.e., current merchant requests sum, by current merchant requests sum and trade company
Current limit threshold is compared.
If the current merchant requests sum is not less than trade company's current limit threshold, the total and current merchant requests of current request
Total automatic increase by 1, discharges synchrolock afterwards.
If the current merchant requests sum is not less than trade company's current limit threshold, synchrolock is discharged, and judge whether to compare
Time-out.If comparing time-out, request failure information is returned;If comparison has not timed out, acquisition retries interval, and wait retries, again
Receive transaction request.
Current limliting service end 200 in an embodiment of the present invention, including memory, processor, store in the memory
Have a computer program that can be run on the processor, described program code make the computing device it is above-mentioned be applied to limit
Flow the payment on-line transaction flow control methods of service end 200.
A kind of client 100 in an embodiment of the present invention, including memory, processor, store in the memory
There is the computer program that can be run on the processor, described program code makes the computing device be applied to client
100 payment on-line transaction flow control methods.
In an embodiment of the present invention, a kind of calculating for the non-volatile program code that can perform with processor is also provided
Machine computer-readable recording medium, described program code make payment on-line transaction flow of the computing device applied to current limliting service end 200
Control method or the payment on-line transaction flow control methods applied to client 100.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code, a part for the module, program segment or code include one or more use
In the executable instruction of logic function as defined in realization.It should also be noted that marked at some as in the realization replaced in square frame
The function of note can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially base
Originally it is performed in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that
It is the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart, can uses and perform
Defined function or the special hardware based system of action realize, or can use specialized hardware and computer instruction
Combine to realize.
Payment on-line transaction flow control methods, current limliting service end 200 and the client that the embodiment of the present invention is provided
100 computer program product, including the computer-readable recording medium of program code is stored, described program code includes
Instruction can be used for performing the method described in previous methods embodiment, and specific implementation can be found in embodiment of the method, no longer superfluous herein
State.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, Ke Yishi
The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, service end, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than instruction or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. one kind pays on-line transaction flow control methods, it is characterised in that including:
Receive the element of transaction information for the transaction request that client is sent;
When the first quantity of the transaction request received meets preparatory condition, according to the element of transaction information of the transaction request
Count the second quantity of the transaction request that access target trade company is asked in the transaction request received;
When second quantity is more than default trade company's current limit threshold, request failure information is returned to the client;
When second quantity is less than trade company's current limit threshold, returns to request to the client and pass through information.
2. according to the method for claim 1, it is characterised in that methods described also includes:
By first quantity of the transaction request received compared with default transaction request current limit threshold;
When first quantity is less than the transaction request current limit threshold, it is determined that the first quantity of the transaction request received expires
Sufficient preparatory condition.
3. according to the method for claim 2, it is characterised in that before the transaction request that client is sent is received,
Including:
The pre-configured flow control policy of default element of transaction information, trade company's current limit threshold and the transaction request limit inputted according to user
Flow threshold value.
4. according to the method for claim 3, it is characterised in that the flow control policy includes:
The element of transaction information of the transaction request is obtained, the element of transaction information includes:Trade company number;
According to the element of transaction information inquiry of transaction request trade company's current limliting corresponding with the transaction request of the target trade company
Threshold value.
5. according to the method for claim 4, it is characterised in that methods described also includes:
First quantity and second quantity are reset according to preset interval time.
6. according to the method for claim 5, it is characterised in that methods described also includes:
After config update request is received, configuration file is reloaded;
Multiple clients are notified to reacquire the configuration item of the configuration file.
7. one kind pays on-line transaction flow control methods, it is characterised in that including:
The transaction request is intercepted according to the flow control policy read, and obtains the letter of the element of transaction in the transaction request
Breath;
Element of transaction information in the transaction request is sent to current limliting service end;
When receiving the request failure information that the current limliting service end is sent, request failure is shown to user;
When the request for receiving the current limliting service end transmission passes through information, regular traffic flow is performed.
8. a kind of current limliting service end, including memory, processor, it is stored with and can runs on the processor in the memory
Computer program, it is characterised in that described program code makes claim 1 to 6 described in the computing device any described
Method.
9. a kind of client, including memory, processor, the meter that can be run on the processor is stored with the memory
Calculation machine program, it is characterised in that described program code makes the method described in claim 7 described in the computing device.
10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, it is characterised in that described
Program code makes the method described in any described or described claims 7 of claim 1-6 described in the computing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711010682.4A CN107707488A (en) | 2017-10-25 | 2017-10-25 | Pay on-line transaction flow control methods, current limliting service end and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711010682.4A CN107707488A (en) | 2017-10-25 | 2017-10-25 | Pay on-line transaction flow control methods, current limliting service end and client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107707488A true CN107707488A (en) | 2018-02-16 |
Family
ID=61182449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711010682.4A Pending CN107707488A (en) | 2017-10-25 | 2017-10-25 | Pay on-line transaction flow control methods, current limliting service end and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107707488A (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471386A (en) * | 2018-02-28 | 2018-08-31 | 四川新网银行股份有限公司 | It is a kind of based on token, the flow of transaction record, control method for frequency |
CN108712350A (en) * | 2018-06-05 | 2018-10-26 | 中国农业银行股份有限公司 | Based on custom rule can in real time auto-control flow control methods and device |
CN108848037A (en) * | 2018-05-31 | 2018-11-20 | 平安医疗科技有限公司 | Service request processing method, device, computer equipment and storage medium |
CN109729015A (en) * | 2018-05-14 | 2019-05-07 | 网联清算有限公司 | Data processing method and its device |
CN110033246A (en) * | 2018-12-07 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Network payment Current limited Control method and apparatus |
CN110224943A (en) * | 2019-05-29 | 2019-09-10 | 掌阅科技股份有限公司 | Traffic service current-limiting method, electronic equipment and computer storage medium based on URL |
CN110417888A (en) * | 2019-07-30 | 2019-11-05 | 中国工商银行股份有限公司 | Flow control methods, volume control device and electronic equipment |
CN110413416A (en) * | 2019-07-31 | 2019-11-05 | 中国工商银行股份有限公司 | A kind of current-limiting method and device of distributed server |
CN110490737A (en) * | 2019-07-29 | 2019-11-22 | 阿里巴巴集团控股有限公司 | Transaction channel control method, device and electronic equipment |
CN110599136A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for managing and controlling flow of block chain transaction pool |
CN110770672A (en) * | 2018-11-30 | 2020-02-07 | 深圳市大疆创新科技有限公司 | Load control method and device and movable platform |
CN111212031A (en) * | 2019-12-12 | 2020-05-29 | 北京淇瑀信息科技有限公司 | Control method and device for interface access frequency, electronic equipment and storage medium |
CN111612464A (en) * | 2020-05-27 | 2020-09-01 | 北银金融科技有限责任公司 | Mass online transaction processing method |
CN111709731A (en) * | 2020-06-18 | 2020-09-25 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
CN112333110A (en) * | 2020-10-30 | 2021-02-05 | 深圳壹账通智能科技有限公司 | Request verification processing method based on funnel flow-limiting model and related equipment |
CN112383585A (en) * | 2020-10-12 | 2021-02-19 | 广州市百果园网络科技有限公司 | Message processing system and method and electronic equipment |
WO2021057808A1 (en) * | 2019-09-27 | 2021-04-01 | 华为技术有限公司 | Method and apparatus for traffic control |
CN114430396A (en) * | 2022-04-06 | 2022-05-03 | 中国光大银行股份有限公司 | Transaction frequency control method, device, storage medium and electronic equipment |
CN114615073A (en) * | 2022-03-22 | 2022-06-10 | 广州方硅信息技术有限公司 | Access flow control method, device, equipment and medium |
CN114710450A (en) * | 2022-03-31 | 2022-07-05 | 中国建设银行股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN115022244A (en) * | 2022-07-20 | 2022-09-06 | 中国工商银行股份有限公司 | Current limiting method and device, processor and electronic equipment |
CN115242723A (en) * | 2022-07-20 | 2022-10-25 | 中国银行股份有限公司 | Cross-system current limiting method and device |
CN115361339A (en) * | 2022-08-15 | 2022-11-18 | 中国工商银行股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN115934774A (en) * | 2023-02-20 | 2023-04-07 | 成都天用唯勤科技股份有限公司 | Flow control method, engine and medium for high-concurrency multi-dimensional distributed transaction system |
CN116957807A (en) * | 2023-09-21 | 2023-10-27 | 成都天用唯勤科技股份有限公司 | Transaction degradation method and system for high-concurrency multi-dimensional distributed transaction system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090016348A1 (en) * | 2007-07-11 | 2009-01-15 | Hahn Vo Norden | Quality of service with control flow packet filtering |
CN102915374A (en) * | 2012-11-07 | 2013-02-06 | 北京搜狐新媒体信息技术有限公司 | Method, device and system for controlling access to database resources |
CN103546387A (en) * | 2012-07-11 | 2014-01-29 | 神州数码信息系统有限公司 | Software flow control method |
CN105389729A (en) * | 2015-12-15 | 2016-03-09 | 中国建设银行股份有限公司 | Precise control system and method for transaction flow |
CN106375472A (en) * | 2016-09-29 | 2017-02-01 | 北京三快在线科技有限公司 | Access request processing method and apparatus, and server |
CN106487708A (en) * | 2015-08-25 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Network access request control method and device |
-
2017
- 2017-10-25 CN CN201711010682.4A patent/CN107707488A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090016348A1 (en) * | 2007-07-11 | 2009-01-15 | Hahn Vo Norden | Quality of service with control flow packet filtering |
CN103546387A (en) * | 2012-07-11 | 2014-01-29 | 神州数码信息系统有限公司 | Software flow control method |
CN102915374A (en) * | 2012-11-07 | 2013-02-06 | 北京搜狐新媒体信息技术有限公司 | Method, device and system for controlling access to database resources |
CN106487708A (en) * | 2015-08-25 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Network access request control method and device |
CN105389729A (en) * | 2015-12-15 | 2016-03-09 | 中国建设银行股份有限公司 | Precise control system and method for transaction flow |
CN106375472A (en) * | 2016-09-29 | 2017-02-01 | 北京三快在线科技有限公司 | Access request processing method and apparatus, and server |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471386A (en) * | 2018-02-28 | 2018-08-31 | 四川新网银行股份有限公司 | It is a kind of based on token, the flow of transaction record, control method for frequency |
CN108471386B (en) * | 2018-02-28 | 2022-05-03 | 四川新网银行股份有限公司 | Flow and frequency control method based on token and transaction record |
CN109729015A (en) * | 2018-05-14 | 2019-05-07 | 网联清算有限公司 | Data processing method and its device |
CN108848037A (en) * | 2018-05-31 | 2018-11-20 | 平安医疗科技有限公司 | Service request processing method, device, computer equipment and storage medium |
CN108712350A (en) * | 2018-06-05 | 2018-10-26 | 中国农业银行股份有限公司 | Based on custom rule can in real time auto-control flow control methods and device |
CN108712350B (en) * | 2018-06-05 | 2022-04-05 | 中国农业银行股份有限公司 | Flow control method and device capable of automatically regulating and controlling in real time based on custom rule |
CN110770672A (en) * | 2018-11-30 | 2020-02-07 | 深圳市大疆创新科技有限公司 | Load control method and device and movable platform |
CN110033246B (en) * | 2018-12-07 | 2024-01-12 | 创新先进技术有限公司 | Network payment current limiting control method and device |
CN110033246A (en) * | 2018-12-07 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Network payment Current limited Control method and apparatus |
CN110224943A (en) * | 2019-05-29 | 2019-09-10 | 掌阅科技股份有限公司 | Traffic service current-limiting method, electronic equipment and computer storage medium based on URL |
CN110224943B (en) * | 2019-05-29 | 2022-09-16 | 掌阅科技股份有限公司 | Flow service current limiting method based on URL, electronic equipment and computer storage medium |
CN110490737A (en) * | 2019-07-29 | 2019-11-22 | 阿里巴巴集团控股有限公司 | Transaction channel control method, device and electronic equipment |
CN110490737B (en) * | 2019-07-29 | 2024-03-19 | 创新先进技术有限公司 | Transaction channel control method and device and electronic equipment |
CN110417888A (en) * | 2019-07-30 | 2019-11-05 | 中国工商银行股份有限公司 | Flow control methods, volume control device and electronic equipment |
CN110413416A (en) * | 2019-07-31 | 2019-11-05 | 中国工商银行股份有限公司 | A kind of current-limiting method and device of distributed server |
CN110413416B (en) * | 2019-07-31 | 2022-05-17 | 中国工商银行股份有限公司 | Current limiting method and device for distributed server |
CN110599136A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method and device for managing and controlling flow of block chain transaction pool |
WO2021057808A1 (en) * | 2019-09-27 | 2021-04-01 | 华为技术有限公司 | Method and apparatus for traffic control |
CN111212031A (en) * | 2019-12-12 | 2020-05-29 | 北京淇瑀信息科技有限公司 | Control method and device for interface access frequency, electronic equipment and storage medium |
CN111612464A (en) * | 2020-05-27 | 2020-09-01 | 北银金融科技有限责任公司 | Mass online transaction processing method |
CN111709731A (en) * | 2020-06-18 | 2020-09-25 | 深圳前海微众银行股份有限公司 | Transaction processing method and device |
CN112383585A (en) * | 2020-10-12 | 2021-02-19 | 广州市百果园网络科技有限公司 | Message processing system and method and electronic equipment |
CN112333110A (en) * | 2020-10-30 | 2021-02-05 | 深圳壹账通智能科技有限公司 | Request verification processing method based on funnel flow-limiting model and related equipment |
CN114615073A (en) * | 2022-03-22 | 2022-06-10 | 广州方硅信息技术有限公司 | Access flow control method, device, equipment and medium |
CN114710450A (en) * | 2022-03-31 | 2022-07-05 | 中国建设银行股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN114710450B (en) * | 2022-03-31 | 2024-04-09 | 中国建设银行股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN114430396A (en) * | 2022-04-06 | 2022-05-03 | 中国光大银行股份有限公司 | Transaction frequency control method, device, storage medium and electronic equipment |
CN115242723A (en) * | 2022-07-20 | 2022-10-25 | 中国银行股份有限公司 | Cross-system current limiting method and device |
CN115242723B (en) * | 2022-07-20 | 2024-03-01 | 中国银行股份有限公司 | Cross-system current limiting method and device |
CN115022244A (en) * | 2022-07-20 | 2022-09-06 | 中国工商银行股份有限公司 | Current limiting method and device, processor and electronic equipment |
CN115361339B (en) * | 2022-08-15 | 2024-03-01 | 中国工商银行股份有限公司 | Flow control method, device, electronic equipment and storage medium |
CN115361339A (en) * | 2022-08-15 | 2022-11-18 | 中国工商银行股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN115934774B (en) * | 2023-02-20 | 2023-05-26 | 成都天用唯勤科技股份有限公司 | High-concurrency multi-dimensional distributed transaction system flow control method, engine and medium |
CN115934774A (en) * | 2023-02-20 | 2023-04-07 | 成都天用唯勤科技股份有限公司 | Flow control method, engine and medium for high-concurrency multi-dimensional distributed transaction system |
CN116957807A (en) * | 2023-09-21 | 2023-10-27 | 成都天用唯勤科技股份有限公司 | Transaction degradation method and system for high-concurrency multi-dimensional distributed transaction system |
CN116957807B (en) * | 2023-09-21 | 2023-12-08 | 成都天用唯勤科技股份有限公司 | Transaction degradation method and system for high-concurrency multi-dimensional distributed transaction system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107707488A (en) | Pay on-line transaction flow control methods, current limliting service end and client | |
US9519902B2 (en) | Fraud monitoring system with distributed cache | |
CN109447609A (en) | Method of payment, device, computer equipment and storage medium | |
EP2705654B1 (en) | Method and apparatus for controlling charging of a service | |
US20170091773A1 (en) | Fraud monitoring system | |
CN109377355A (en) | Transaction data processing method and device | |
Das et al. | A QoS and profit aware cloud confederation model for IaaS service providers | |
CN109615384B (en) | Method, device and server for generating timeliness check rule | |
CN111742335A (en) | Method and system for optimizing the allocation of debit requests | |
US20140279388A1 (en) | Method, apparatus, and computer-readable medium for advancing prepaid credit | |
CN108492109B (en) | Electronic device, dynamic code request processing method and storage medium | |
US20130013506A1 (en) | Variable Service Fee For Overdraft Protection | |
CN101431745B (en) | Account resource reservation and distribution method used for IMS multi-service on-line charging | |
US20140279438A1 (en) | Bridging suspension of accounts | |
US8856376B1 (en) | Stabilization tool for a high-capacity network infrastructure | |
US20230230056A1 (en) | Transaction control management | |
CN101183957B (en) | Online charging method, system and equipment | |
US11337072B2 (en) | Threshold based fraud management for cloud computing system | |
US11044167B2 (en) | Intraday resource management system | |
CN109615385A (en) | Limit control method, device and the storage medium of brush face transaction | |
CN109559225A (en) | A kind of method of commerce and device | |
US9264557B2 (en) | Charging systems and methods for telecommunications | |
US9794288B1 (en) | Managing policy | |
Mayo et al. | An agent-based model of strategic adoption of real-time payments | |
CN114240445A (en) | Service processing method and device, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180216 |