一种流量分布获取方法、装置、设备及存储介质

By using aspect-oriented programming (AOP) to collect and process interface traffic information, storing it in a key-value pair set, and performing status judgment, statistics, and sorting, the problem of high resource consumption and high storage cost in existing technologies is solved, achieving efficient traffic distribution acquisition and historical data retention.

CN116866213BActive Publication Date: 2026-07-17SHANGHAI MENGJU INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI MENGJU INFORMATION TECH CO LTD
Filing Date
2023-07-20
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies consume a lot of resources and have high storage costs when acquiring interface traffic distribution, resulting in the loss of historical data and making it impossible to efficiently obtain the frequency ranking of interface traffic distribution.

Method used

Traffic information is collected using aspect-oriented programming and stored in a traffic distribution key-value pair set. After determining the status, the frequency of occurrence and update time are counted. The data is sorted according to preset rules and low-frequency data is deleted. Only the head traffic data is stored in the database.

Benefits of technology

It reduces storage costs, decreases resource consumption, enables historical data to be accessed at any time, and improves query efficiency and the ability to visualize and analyze stored data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116866213B_ABST
    Figure CN116866213B_ABST
Patent Text Reader

Abstract

本申请公开了一种流量分布获取方法、装置、设备及存储介质,涉及计算机技术领域,包括:收集待统计接口的流量信息,将流量信息存储至流量分布键值对集合中,确定当前流量分布键值对集合是否处于可统计状态;若是,对各目标字段的值的出现次数进行统计以及对最晚出现时间进行更新;基于预设规则确定各目标字段的值的排序,基于排序确定目标名次对应的目标字段的值的出现次数与最晚出现时间,删除目标名次之后的目标字段的值;获取符合预设条件的目标字段的值以及目标字段的值的出现次数,将符合预设条件的目标字段的值以及目标字段的值的出现次数存储至数据库中。由此,本申请能够在使用尽量少的资源的前提下,获取到接口的流量分布。
Need to check novelty before this filing date? Find Prior Art