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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com