A method for actively limiting transactions through API interfaces in financial transactions

An API interface and financial transaction technology, which is applied in the background field of financial transactions, can solve problems such as poor flexibility, dragging down business application systems, and high system pressure, and achieve the effect of alleviating performance bottlenecks and improving system stability

Active Publication Date: 2021-11-02
SICHUAN XW BANK CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem that all current methods for limiting the flow of API interfaces are passive flow-limiting methods, which are less flexible and cannot actively discover and perform current-limiting in advance by predicting the transaction situation, resulting in when the transaction volume When there are too many, the system pressure is too large and the entire business application system will be dragged down, and the service provider and the service caller will suffer heavy losses. The present invention provides a method for actively limiting the transaction flow through the API interface in financial transactions

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
  • A method for actively limiting transactions through API interfaces in financial transactions
  • A method for actively limiting transactions through API interfaces in financial transactions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solution in this embodiment will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] Such as figure 1 As shown, in the present invention, the distributed system is an independent service management system separated from the service provider and the service caller, registered in the distributed system through the financial transaction API interface, and in the distributed system Classify the business of the API interface, and monitor the frequency of the API being called according to the TPS index of the service provider system. When it reac...

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

The invention discloses a method for realizing active current limit of transactions through an API interface in financial transactions. In the technical field of financial transactions, the distributed system of the present invention is an independent service management system separated from the service provider and the service caller. Through Register the financial transaction API interface in the distributed system, and classify the API interface in the distributed system, monitor the frequency of API calls according to the TPS index of the service provider system, and when it reaches a certain level, It can be automatically closed in the order from low to high by prioritizing the priority of transactions. After closing, if the frequency of interface calls returns to a certain level (can be set in advance), according to the priority of the closed transaction Automatically start from high to low, this method implements in-process monitoring of transactions in advance, and automatic elastic current limiting.

Description

technical field [0001] The invention relates to the technical field of financial transaction backstage, in particular to a method for realizing transaction active flow limitation through an API interface in financial transactions. Background technique [0002] In the field of financial transactions, the existing transaction model is a service provider and a service caller. The service provider provides external services by calling the API interface, and the service caller realizes the service by calling the above API interface. At the beginning of the system design, there will be an estimated capacity. If it exceeds the TPS / QPS threshold that the system can withstand for a long time, the system may be overwhelmed, and eventually the entire service will not be enough. In order to avoid this situation, it is necessary to limit the request of the API interface. The purpose of rate limiting is to protect the system by limiting the rate of concurrent access requests or the numbe...

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 Patents(China)
IPC IPC(8): G06Q20/40
CPCG06Q20/40
Inventor 王月超彭剑李开宇
Owner SICHUAN XW BANK CO LTD
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
Try Eureka
PatSnap group products