-
公开(公告)号:US20240323120A1
公开(公告)日:2024-09-26
申请号:US18572948
申请日:2022-06-22
Applicant: SANECHIPS TECHNOLOGY CO., LTD.
Inventor: Siyu WANG , Fengsong LIU , Zhihua ZHU , Hengqi LIU
IPC: H04L45/7453
CPC classification number: H04L45/7453
Abstract: Embodiments of the present disclosure provide a packet matching method and apparatus, a storage medium, and an electronic device. The method includes: determining multiple Hash calculation results corresponding to a key value of a packet; indexing addresses in multiple counter groups respectively according to the multiple Hash calculation results, so as to determine multiple counters, wherein one counter is indexed in one counter group; determining one target counter from the multiple counters; acquiring a target entry at a corresponding position of an off-chip memory according to the address of the target counter; in a case where the target entry is equal to the key value, determining that the packet matches the target entry.