Network device

A network device and counter technology, applied in the field of communication, can solve the problems of high logical complexity of the linked list, increase in the number of queues, large consumption of network device resources, etc.

Active Publication Date: 2019-02-26
HUAWEI TECH CO LTD
View PDF14 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The larger the number of queues, the higher the logical complexity of the linked list, which will lead to excessive resource consumption of network devices
On the other hand, the sharp increase in the number of queues has brought greater challenges to the cache of network devices

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
  • Network device
  • Network device
  • Network device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] This application provides a network device. The network device may be a switch, a router, or a switching chip.

[0023] Take the switch chip as an example: figure 1 An application scenario diagram provided for an embodiment of this application, such as figure 1 As shown, a switch chip may have at least one upper-level switch chip and at least one lower-level switch chip. The switch chip can be used as an upper-level switch chip or as a lower-level switch chip. As an upper-level switch chip, the upper-level switch chip sends data packets to its lower-level switch chip through an output port. As a lower-level switch chip, the lower-level switch chip receives data packets sent by its upper-level switch chip through an input port. Among them, as an upper-level switch chip, a queue for storing data streams to be sent needs to be set. The queue for storing data streams to be sent is called an output queue. As a lower-level switching chip, it is necessary to set up a que...

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 invention provides a network device. The network device comprises a cache module, a counting module, a control module and a sending module. The cache module comprises N queues configured to cache M data streams, wherein N is smaller than M. The counting module comprises M counters, the M counters are in one-to-one correspondence with the M data streams, and the M counters are configured to perform statistics of the cache quantity of the M data streams in the N queues. The control module is configured to discard a data packet to be queued of a data stream corresponding to a first counter when the counting value of the first counter exceeds a corresponding threshold; or the sending module is controlled to send indication pause information to the upper-level control module. Once the counting value of the first counter exceeds the corresponding threshold, the data packet to be queued of the data stream corresponding to the first counter is discarded, or the sending module is controlled to send the indication pause information to the upper-level control module. Therefore, the resource consumption of the network device can be reduced, and the cache pressure of the network device can be relieved.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a network device. Background technique [0002] The Internet provides a data transmission pipeline between network devices. The data sequence transmitted between network devices may be called a data stream. A network device may be a switch, a router, or a switching chip. [0003] In the prior art, a network device allocates different queues for different data flows. For example: allocate different queues for data flows sent to different network devices, or allocate different queues for data flows of different services. Each queue occupies a certain amount of available space. When the space of one queue is exhausted, other queues still have enough space available. With the rapid increase of the network rate, the number of data streams in the network device is also rapidly increased. In order to isolate different data flows so that they do not affect each ...

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): H04L12/823H04L12/861H04L47/30H04L47/32
CPCH04L47/32H04L49/90H04L12/40H04L12/413H04L47/29H04L47/30H04L47/50H04L49/9084
Inventor 吕晖林云
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products