A flow and frequency control method based on tokens and transaction records

A frequency control and transaction recording technology, applied in the transmission system, electrical components, etc., can solve the problems of single control mode and low resource utilization rate, and achieve the effect of reasonable resources, resource saving, and improvement of resource utilization rate

Active Publication Date: 2022-05-03
SICHUAN XW BANK CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is: the present invention provides a flow and frequency control method based on tokens and transaction records, which solves the problem of low resource utilization and low resource utilization caused by the existing flow control using one line corresponding to one server to configure flow control parameters. Single control problem

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 flow and frequency control method based on tokens and transaction records
  • A flow and frequency control method based on tokens and transaction records
  • A flow and frequency control method based on tokens and transaction records

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Step 1.1: Set multi-dimensional tokens and frequency rules for all lines on the control and management platform of the openAPI gateway, and the flow control token set by the control and management platform of the openAPI gateway notifies the flow control server to load the token and frequency rules; among them, the token The rules include the consuming system, service name, number of tokens, and time period of action, so the dimensions of tokens are as follows:

[0045] a. Channels, third-party applications accessed, all means all channels;

[0046] b. Service, the interface called, all represents all services;

[0047] c. The number of tokens, the maximum tokens that can be issued;

[0048] d. Time period expression, specified time period, such as 1957-01-01--2099-12-31;

[0049] e. Daily expression, the specified intraday time period, such as 09:00--12:30;

[0050] f. Week expression, time period within the week, such as 1-5, Monday to Friday;

[0051] g. Month ex...

Embodiment 2

[0066] The process of setting token and frequency rules for all lines is as follows Figure 2-3 As shown: Among them, the token setting process is as follows: log in to the openAPI gateway control management platform, select the flow control token management in the flow control management, if you choose to add, then enter the information to determine whether there is a configuration of this dimension, if there is If you do not notify the flow control server to load the token configuration; if you choose to modify, you will notify the flow control server to load the token configuration after entering the modified information; if you choose to delete, you will notify the flow control server to load the token configuration. The frequency setting process is as follows: log in to the control management platform of the openAPI gateway, select the access frequency management in the flow control management, if you choose to add, then enter the information to determine whether there is ...

Embodiment 3

[0069] When the dimension-period type in the frequency service is day or month: Query the database, query the n=number of records in descending order of time, if there is no record, store the current transaction time in the database without terminating the access; according to the current time and The query record time is compared, and the access is terminated if it does not exceed the set period; otherwise, the current time is stored in the database, and the access is not terminated. The present invention centrally manages the flow and frequency of multiple lines through the flow control server loading token configuration, and overcomes the concurrency problem by setting synchronous locks. The shortcoming of slow speed solves the problem of low resource utilization, single control mode and dimension caused by the existing flow control using one line corresponding to one server to configure flow control parameters, and achieves centralized management of flow and frequency to im...

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 flow and frequency control method based on tokens and transaction records, and relates to the fields of flow control and frequency control; it includes step 1: the flow control server loads multi-dimensional tokens and frequency rules of all lines and completes initialization; Step 2: The transaction initiated by each line sends a token service and frequency service request to the flow control server through the openAPI gateway; Step 3: The flow control server matches the multi-dimensional token and frequency rules according to the request and issues the token and calculates the frequency , and feed back the results to the openAPI gateway; step 4: the openAPI gateway combines the back-end system to complete the transaction to realize the centralized control of flow and frequency; the present invention solves the problem of using one line corresponding to one server to configure flow control parameters in the existing flow control The problem of low resource utilization and single control method and dimension has achieved the effect of centralized management of traffic and frequency to improve resource utilization and achieve control diversification.

Description

technical field [0001] The invention relates to the field of flow control and frequency control, in particular to a flow and frequency control method based on tokens and transaction records. Background technique [0002] The current online trading system usually adopts a distributed architecture, multiple servers process transactions at the same time, and one or more database servers are used to store transaction data; in order to ensure that the system can be overloaded (that is, the number of transaction requests per unit time exceeds the system can handle it). It can still operate normally when the maximum transaction volume) is used, and it is usually necessary to design an overload protection function, that is, flow control; in order to ensure that some services provided by the system are not subject to malicious requests, it is usually necessary to design a frequency protection function, that is, frequency control. [0003] In the flow control method in the prior art, ...

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): H04L47/10H04L47/215
CPCH04L47/10H04L47/215
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