TRAFFIC CLASSIFICATION METHOD AND APPARATUS

    公开(公告)号:US20210409337A1

    公开(公告)日:2021-12-30

    申请号:US17469219

    申请日:2021-09-08

    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.

    TRAFFIC MONITORING METHOD AND APPARATUS, INTEGRATED CIRCUIT, AND NETWORK DEVICE

    公开(公告)号:US20230216769A1

    公开(公告)日:2023-07-06

    申请号:US18173662

    申请日:2023-02-23

    CPC classification number: H04L43/0876 H04L43/16 H04L41/142

    Abstract: Embodiments of this application disclose a traffic monitoring method and apparatus, an integrated circuit, and a network device. When the traffic monitoring apparatus receives a packet, after determining that the traffic monitoring apparatus includes an empty first register, the traffic monitoring apparatus updates a value of first information in the first register to a measured value of a target performance indicator of the packet, and increases a value of second information in the first register by 1. The value of the second information in the first register is 0, the first information in the first register indicates a depth of a data bucket that carries a measured value of the target performance indicator of a to-be-monitored packet, and the second information in the first register indicates a quantity of packets that are in received packets and that match the value of the first information in the first register.

Patent Agency Ranking