-
公开(公告)号:US20250168167A1
公开(公告)日:2025-05-22
申请号:US19029751
申请日:2025-01-17
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Shuzhen TIAN , Jing HU
IPC: H04L9/40
Abstract: This application discloses a rule searching method and apparatus, a device, and a computer-readable storage medium. The method includes: obtaining a first feature of a first packet; determining a second feature matching the first feature, where the second feature is obtained based on a first access control rule included in a first rule set, the second feature is one or more of features corresponding to a first type rule set, the first type rule set includes the first rule set and a second rule set, the first rule set includes at least one first access control rule, and the second rule set includes at least one second access control rule; and searching the at least one first access control rule for a target rule matching the first packet.
-
公开(公告)号:US20210409337A1
公开(公告)日:2021-12-30
申请号:US17469219
申请日:2021-09-08
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jing HU , Shuzhen TIAN , Zhengyi ZHANG
IPC: H04L12/851 , H04L12/813
Abstract: This application provides a traffic classification method and apparatus. The method includes: determining, based on distribution characteristics of concerned bits of a plurality of rules in a first rule set, an effective bit corresponding to the first rule set; determining a hash key value of each rule based on a value of the effective bit of each rule in the first rule set, and storing each rule in the first rule set in at least one of S storage units based on the hash key value, where the first rule set is any one of N rule sets, the N rule sets are stored in the S storage units; and when traffic classification is performed, searching for a corresponding rule in each of the S storage units based on a hash key value of a search key.
-