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

A packet statistics method and network equipment

A technology for network equipment and packet statistics, applied in the field of communications, can solve the problem that the switching chip does not support the hardware netstream function and cannot meet the needs of inbound traffic statistics of network users, and achieves the effect of meeting the application trend.

Active Publication Date: 2021-01-01
NEW H3C TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the switch chips currently used in mainstream applications do not support the hardware netstream function, which cannot meet the requirements for inbound traffic statistics of online users

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 network equipment
  • A packet statistics method and network equipment
  • A packet statistics method and network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0018] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art w...

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 invention provides a message statistics method and a network device. The network device comprises a central processing unit and a switch chip. The method comprises: the switch chip searching an identifier by acquiring a flow table entry of a received message; when the flow table entry lookup identifier indicates that the hardware flow table entry of the service flow to which the matched message belongs is not found in the user flow table, judging whether the service flow is a specified service flow to be counted or not, when the service flow is determined to be the specified service flow to be counted, copying a message and sending the message to the central processing unit, establishing a hardware flow table entry of the service flow by the central processing unit based on the copiedmessage, and setting a counter for the established hardware flow table entry to count the number of the messages of the service flow. Therefore, under the condition that the chip hardware does not support the netstream function, the hardware flow table item is established for the specified service flow to be counted through the central processing unit, the counter is arranged for the hardware flowtable item, and an in-direction message counting function can be achieved on an exchange chip of a current mainstream application.

Description

technical field [0001] The present application relates to the communication field, and in particular, relates to a packet statistics method and network equipment. Background technique [0002] Netstream technology is a statistical technology based on network flow information, which can collect and analyze service traffic in the network. Netstream provides packet statistics function, which can distinguish flow information according to the destination ip address, destination port number, source ip address, source port number, protocol number and tos (type of service) of the packet, and for different Independent data statistics for flow information. [0003] However, the switch chips currently used in mainstream applications do not support the hardware netstream function, which cannot meet the demand for traffic statistics in the inbound direction of network users. Contents of the invention [0004] The purpose of this application is to provide a packet statistics method an...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L12/931
CPCH04L43/026H04L43/12H04L49/208
Inventor 项学锋
Owner NEW H3C TECH CO LTD