US 12,177,125 B2
Method, apparatus and device for controlling traffic limitation and storage medium
Lin Chen, Pudong New Area Shanghai (CN); and Zan Sheng, Pudong New Area Shanghai (CN)
Assigned to CHINA UNIONPAY CO., LTD., Shanghai (CN)
Appl. No. 18/682,057
Filed by CHINA UNIONPAY CO., LTD., Pudong New Area Shanghai (CN)
PCT Filed Mar. 2, 2022, PCT No. PCT/CN2022/078759
§ 371(c)(1), (2) Date Feb. 8, 2024,
PCT Pub. No. WO2023/015869, PCT Pub. Date Feb. 16, 2023.
Claims priority of application No. 202110913583.7 (CN), filed on Aug. 10, 2021.
Prior Publication US 2024/0267331 A1, Aug. 8, 2024
Int. Cl. H04L 47/12 (2022.01); H04L 47/11 (2022.01)
CPC H04L 47/12 (2013.01) [H04L 47/11 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method for controlling traffic limitation, comprising:
acquiring, in response to detecting presence of a present request, a first timestamp of the present request;
retrieving a pre-created instance of a traffic limitation program, the instance of the traffic limitation program comprising N storage blocks, a total number of instance requests, a traffic limitation request threshold number, an identifier of a storage block for a previous request, a second timestamp of the previous request and request waiting time, wherein the N storage blocks correspond to N sub-time segments which are formed by dividing a pre-set unit time length respectively, where N is an integer greater than 1, and each of the storage blocks stores a number of requests within the respective sub-time segment corresponding to the storage block, and the total number of instance requests is a sum of respective numbers of requests stored in the respective storage blocks;
updating the pre-created instance of the traffic limitation program based on a time interval between the first timestamp and the second timestamp, the unit time length and the traffic limitation request threshold number; and
determining whether to perform traffic limitation based on the request waiting time in the updated instance of the traffic limitation program.