Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and system for dynamic adjusting flow control threshold

A flow control threshold and dynamic adjustment technology, applied in the field of communication, can solve the problems of running out of communication access, inability to access subsequent transactions, blocking and waiting of the core platform transaction processing thread, etc., to achieve the effect of resource utilization

Inactive Publication Date: 2015-03-11
CHINA CONSTRUCTION BANK
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since flow control is aimed at controlling the concurrent transaction volume of the service system, and the current threshold setting for the concurrent transaction volume of the service system is relatively large, which is greater than the number of communication access connections of some channel systems, then when a large number of transactions in a certain service system occur Timeout will cause a large number of transaction processing threads of the core platform to be in a blocked waiting state
Although the transaction concurrency of the service system does not necessarily reach the concurrency threshold, the communication access number of the channel system may have been used up, resulting in the inability to access all subsequent transactions of the channel system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for dynamic adjusting flow control threshold
  • Method and system for dynamic adjusting flow control threshold
  • Method and system for dynamic adjusting flow control threshold

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] First, explain the terms involved: transaction: an operation in the banking system to complete a certain business. Flow control: referred to as flow control, mainly refers to controlling the concurrent transaction volume so that it does not exceed the flow control threshold. Flow control threshold: It is mainly the limit value of certain types of transaction concurrency. Dynamic flow control: referred to as dynamic flow control, refers to the fact that the flow control threshold can be dynamically adjusted during the implementation of flow control. Transaction sampling: Statistically analyze transactions within a period of time, and calculate transaction failure rate, average response time and other information. Transaction sampling rate: refers to how often a transaction is statistically analyzed. Transaction failure rate: refers to the percentage of transaction failures in all transactions within a sampling period. Transaction response time: the time required for a...

Embodiment 2

[0036] In embodiment 1, the method for dynamically adjusting the flow control threshold includes the above figure 2 All steps of the processing method shown, wherein, such as image 3 As shown, step S200 specifically includes the following steps:

[0037] S210: Obtain a contraction algorithm when it is judged that the processing state is a failure state.

[0038] S220: Obtain a recovery algorithm when it is judged that the processing state is a non-fault state.

[0039] Wherein, adjusting the flow control threshold of the resource according to the contraction algorithm includes:

[0040] Obtain contraction parameters, wherein the contraction parameters include the current threshold, minimum threshold, judgment interval and shrinkage rate, wherein the judgment interval can be set as [minimum threshold, maximum threshold*10%], the minimum threshold is greater than or equal to 1 and An integer less than or equal to the maximum threshold, the default is 1;

[0041] comparing ...

Embodiment 3

[0048] In Embodiment 3, a specific example is given to illustrate the method of dynamically adjusting the flow control threshold.

[0049] Such as Figure 4 As shown, the dynamic threshold adjustment module acquires the total number of sampled transactions and the number of sampled faulty transactions of the target resource within the period from the resource information management module according to the time period, and calculates the failure rate. The resource entries that need dynamic threshold adjustment are set through the configuration file. If a resource entry is not set in the configuration file, the dynamic threshold adjustment will not be performed, that is, the fixed threshold will be used for flow control. The statistical cycle of each resource is set by the configuration file. The sampled data is cleared to zero at the end of each cycle. The trigger function of sampling statistics is implemented by a timer and executed by an independent thread pool. The dynami...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided in the invention is a method and system for dynamic adjusting a flow control threshold. The method comprises: determining current processing state of resources; according to the processing state, obtaining a corresponding adjusting algorithm; and adjusting a flow control threshold of the resources based on the obtained adjusting algorithm. With the provided method, a flow control threshold can be adjusted dynamically according to the transaction situation; and the basic flow control function can be realized and resources can be utilized to the greatest extent.

Description

technical field [0001] The present invention relates to the communication field, and more specifically, to a method and system for dynamically adjusting a flow control threshold. Background technique [0002] With the continuous improvement and development of the banking industry on the flow control of the service system, at present, the failure of a certain service system has been limited to a certain range, and it will not affect its processing of transactions of other service systems. However, since flow control is aimed at controlling the concurrent transaction volume of the service system, and the current threshold setting for the concurrent transaction volume of the service system is relatively large, which is greater than the number of communication access connections of some channel systems, then when a large number of transactions in a certain service system occur Timeout will cause a large number of transaction processing threads of the core platform to be in a blo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q40/02
Inventor 王东
Owner CHINA CONSTRUCTION BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products