A bitmap-based variable-length block sketch method and system

The variable-length block Sketch method guided by bitmaps solves the problems of storage space waste and adaptability of Sketch structure in sparse traffic scenarios, and achieves efficient traffic statistics and accurate frequency estimation, which is suitable for large-scale network measurement and traffic analysis.

CN122420153APending Publication Date: 2026-07-17XIAMEN UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XIAMEN UNIV
Filing Date
2026-04-17
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The existing Sketch architecture wastes storage space and lacks adaptability in network traffic statistics. It is difficult to balance measurement accuracy and space efficiency under different load and traffic distribution conditions. In particular, it consumes too much memory in sparse traffic scenarios. Furthermore, traditional methods are inefficient or have large errors when expanding the counting bit width.

Method used

The algorithm employs a bitmap-based variable-length block Sketch method, which uses bitmap-guided on-demand physical space allocation and hierarchical variable bit-width counters, combined with a composite state flag in-situ update mechanism, to achieve flexible management and on-demand allocation of the counting bit width, thereby reducing memory usage and storage redundancy in sparse flow scenarios.

Benefits of technology

It significantly reduces memory usage in sparse traffic scenarios, improves storage space utilization, supports flexible management of counting bit width, meets the real-time requirements of large-scale network measurement and traffic analysis, and has the ability to adapt to complex traffic environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122420153A_ABST
    Figure CN122420153A_ABST
Patent Text Reader

Abstract

本发明公开了一种基于位图的可变长分块Sketch方法及系统。方法包括:利用多哈希函数定位桶索引,通过位图阵列动态标记首次访问并触发物理计数空间的分配;激活对应桶位置的计数单元并初始化为零;在计数增量中,根据当前计数值自适应计算最小比特位宽,生成包含位宽层级索引与激活状态的复合状态标志,并将其存入状态标志阵列;计数值增长导致位宽层级提升时,在原存储地址就地更新复合状态标志;查询时,依据复合状态标志解析启用位宽,通过位宽截断掩码提取有效计数值,并取各哈希路径下有效值的最小值作为最终频率估计。本发明通过引入位图驱动的按需内存分配、多层级可变位宽计数器编码和复合状态标志机制,降低内存开销并保持高的频率估计精度。
Need to check novelty before this filing date? Find Prior Art