Unlock instant, AI-driven research and patent intelligence for your innovation.

A packet statistics method and device

A technology of message statistics and counters, applied in the field of communication, can solve the problems of inaccurate values, long cross-board communication time, incapable port forwarding rate, etc., and achieve the effect of high efficiency and accuracy

Active Publication Date: 2022-05-27
NEW H3C SECURITY TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will lead to the following problems: a large number of counter resources are required to support this function; in addition, the cross-board communication takes a long time, and the statistical forwarding count value will be distorted, which cannot be used to calculate the forwarding rate of the port; When the message is lost after VOQ forwarding, the message will also be counted, and the statistical forwarding count value is not accurate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A packet statistics method and device
  • A packet statistics method and device
  • A packet statistics method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application.

[0026] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as used herein refers to and includes any and all possible c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application provides a packet statistics method and device, which are applied to switch equipment, the switch equipment includes at least one processing board, each processing board includes at least one switching chip, and each switching chip includes at least one core, the method includes: According to the total number of outgoing ports of the outgoing ports of each processing board and the number of cores of the cores included in each switching chip in the processing board, determine the corresponding outgoing port quantity of each core in the processing board; according to the outgoing port of each core Quantity and output port attributes to determine the number of downlink queues corresponding to each core; configure the counter resource of the switch chip according to the queue number of each core in each switch chip; A counter pair is configured on each downlink queue corresponding to the chip, and each configured counter pair counts forwarding counts of forwarded packets in its corresponding downlink queue. Accurate statistics of forwarding counts are realized.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular, to a packet statistics method and device. Background technique [0002] In the process of packet forwarding on the chip, counting the number of forwarded packets not only affects the user's intuitive experience, but is also the basis for other statistical calculations, such as the statistics of the forwarding rate value. It is based on the statistics of the number of ports forwarded within a certain period of time, so as to obtain the average number to obtain the forwarding rate value. The traditional statistics of forwarding packets are implemented based on the upstream of the ingress port of the chip, which is called Ingress Traffic Management (ITM). figure 1 As shown in the figure, the counter resource counter is configured on the virtual output port (Virtual Output Queue, VOQ) upstream of all chips, that is, the counter pair is configured on the virtual ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L41/142H04L41/0803H04L43/12
CPCH04L41/142H04L41/0803H04L43/12
Inventor 许丹
Owner NEW H3C SECURITY TECH CO LTD