A kind of method and device of multi-core cpu sending contract

A multi-core, unique technology, applied in the field of communication, can solve problems such as out-of-order messages

Active Publication Date: 2020-04-03
HANGZHOU DPTECH TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, this application provides a method and device for sending packets by a multi-core CPU to solve the problem that related technologies may cause out-of-order packets

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 kind of method and device of multi-core cpu sending contract
  • A kind of method and device of multi-core cpu sending contract
  • A kind of method and device of multi-core cpu sending contract

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the existing technical solutions and the present invention in conjunction with the accompanying drawings. The technical solutions in the embodiments of the invention are described in further detail.

[0039] see figure 1 , figure 1 An architecture diagram of a network device based on the SMP architecture shown in this application.

[0040] Such as figure 1 As shown, a network device based on the SMP architecture usually includes a multi-core CPU and a forwarding chip, and there are multiple internal channels between the multi-core CPU and the forwarding chip. Wherein, the number of CPUs included in the multi-core CPU may be the same as or different from the number of inte...

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 method and device for multi-core CPU contract letting. The method and device are applied to network equipment based on SMP architecture. The method comprises the steps of statically allocating all CPU of a multi-core CPU to sole downgoing internal channels; extracting message characteristics of a message when the message sent by a transferring chip is received; allocating a target CPU to the message based on the extracted message characteristics, sending the message to the target CPU, processing the message through the target CPU, and after processing is completed, returning a processing result to the transfer chip through the downgoing internal channels allocated to the target CPU. According to the method and device for multi-core CPU contract letting, a correlated technique is solved, the CPU returns the processing result to the transferring chip according to the multiple downgoing internal channels, and processing time delays of interfaces of the multiple downgoing internal channels are different, which results in the out-of-order problem of the message.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a method and device for sending packets by a multi-core CPU. Background technique [0002] There are multiple internal channels between the high-performance multi-core CPU of the network device based on the SMP (Symmetrical Multi-Processing, symmetric multi-processing) architecture and the forwarding chip. After the forwarding chip receives the message, it calculates the message characteristics of the message based on the preset algorithm, and selects an internal channel according to the calculation result, and uses the internal channel to transmit data to the CPU. When the CPU transmits downlink data to the forwarding chip, it often adopts a simple and practical shunt method. [0003] In the related technology, the multi-core CPU of the network device will record the interfaces of all downlink internal channels between the forwarding chip into a linked list...

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): G06F15/173
CPCG06F15/17306
Inventor 任红军胡军
Owner HANGZHOU DPTECH TECH
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