Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data stream forwarding method and data stream forwarding device

A flow forwarding device and data flow technology, applied in the field of communication, can solve problems such as reducing the efficiency of multi-core CPU business processing

Inactive Publication Date: 2016-10-05
HANGZHOU DPTECH TECH
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a data stream forwarding method and device to solve the problem of multiple CPUs competing for QoS scheduler resources and reducing the efficiency of multi-core CPU business processing

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
  • Data stream forwarding method and data stream forwarding device
  • Data stream forwarding method and data stream forwarding device
  • Data stream forwarding method and data stream forwarding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Due to the need to implement complex services and have excellent performance in network devices, multi-core CPUs are often used to implement service logic. The QoS service processing flow under the traditional multi-core CPU is as follows: figure 1 shown.

[0035] When data flow A, data flow B, and data flow C enter the multi-core CPU, the above data flow A, data flow B, and data flow C can be allocated to CPU1, CPU2, and CPU3 for processing according to the distribution strategy, and CPU1, CPU2, After CPU3 completes the processing, it will search for the output port corresponding to each data flow. When the outgoing ports of data flow A, data flow B, and data flow C are all outgoing ports 1, the above CPU1, CPU2, and CPU3 will simultaneously call QoS scheduler 1 corresponding to outgoing port 1 to forward data flow A, data flow B. Data flow C. Therefore, when CPU1, CPU2, and CPU3 call QoS scheduler 1, competition will occur, and even mutual exclusion waits on output ...

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 data stream forwarding method and a data stream forwarding device. The method is applied to the multi-core CPU of a network device, wherein each CPU core includes a data layer and a forwarding layer, and the outgoing ports in the network device are bound with the forwarding layers in advance. The method includes the following steps that: the data layers add processed data streams to forwarding queues corresponding to outgoing ports of the data streams; and the forwarding layers bound with the outgoing ports forward the data streams in the forwarding queues from the outgoing ports. With the data stream forwarding method and the data stream forwarding device of the invention adopted, a condition that a plurality of CPU cores compete for the same outgoing port resource can be avoided, and therefore, the business processing efficiency of the multi-core CPU can be improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a data stream forwarding method and device. Background technique [0002] With the continuous development of communication technologies, network devices are required to ensure service quality while facing complex business pressures. Therefore, many network architectures often use a multi-core CPU (Central Processing Unit, central processing unit) for business processing. [0003] In the prior art, multi-core CPUs can only split data streams, but only use synchronization to access shared resources. Therefore, data streams processed by multiple CPUs are often sent to one output port at the same time. The QoS (Quality of Service, Quality of Service) scheduler resources corresponding to the output port will compete among them, causing multiple CPUs to wait for mutual exclusion on the output port, thereby reducing the business processing efficiency of the multi-core CPU....

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 Applications(China)
IPC IPC(8): H04L12/865H04L47/6275
Inventor 李喻
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products