A message acceleration method and device for software and hardware coordination

A technology of software-hardware collaboration and hardware acceleration, applied in the field of communication, can solve problems such as high design requirements, high design cost, increased chip power consumption, etc., and achieve the effect of message classification control and unified management

Active Publication Date: 2022-04-15
FENGHUO COMM SCI & TECH CO LTD +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above defects or improvement needs of the prior art, the present invention provides a message acceleration method and device with software and hardware synergy, the purpose of which is that the hardware acceleration layer is responsible for the acceleration behavior of the L2-L3 layer, and the software acceleration layer is responsible for the acceleration behavior of the L4-L7 layer. Layer acceleration behavior, the software acceleration layer and the hardware acceleration layer cooperate to accelerate the L2~L7 layers of the message, which greatly improves the message acceleration without increasing the hardware design cost, hardware power consumption and hardware design difficulty. efficiency, so as to solve the problem of using hardware acceleration to accelerate L2-L7 layer services, the hardware acceleration method has high requirements for chip design, and the complexity of the chip is very high. Not only does it require high design costs, but also the chip The technical problem that the power consumption also increases

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 message acceleration method and device for software and hardware coordination
  • A message acceleration method and device for software and hardware coordination
  • A message acceleration method and device for software and hardware coordination

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] This implementation provides a software-hardware coordinated message acceleration method. The hardware acceleration layer is responsible for accelerating the L2-L3 layers of the message, and the software acceleration layer is responsible for accelerating the L4-L7 layers of the message. The software acceleration layer and the hardware acceleration layer Cooperate with each other to accelerate the L2-L7 layer of the message, which greatly improves the efficiency of message acceleration.

[0069] Combine below figure 1 , specifically illustrating the implementation process of the message acceleration method of this embodiment, the message acceleration method includes the following steps:

[0070] Step 101: The software acceleration layer judges whether the packet carries tag information.

[0071] In this embodiment, according to the order in which the messages are generated, the messages can be divided into two types: the first message and the follow-up message, wherein ...

Embodiment 2

[0101] In practical application scenarios, in order to ensure load balance between service queues, when a service queue is overloaded, the service flow needs to be switched to an idle service queue, and out-of-sequence problems are prone to occur in the process of switching queues.

[0102] In order to solve the out-of-sequence problem during service switching, this embodiment provides another packet acceleration method in combination with the foregoing embodiment 1. In this embodiment, the label information also includes a flow label, and the flow label is used to distinguish different service flows, wherein the packets conforming to the same hardware search rule belong to the same service flow and have the same flow label . The hardware acceleration layer also sets a message mark for the message, wherein, in the same service flow, the message mark is unique and is used to mark different messages.

[0103] In practical application scenarios, the service processing module is ...

Embodiment 3

[0119] see Figure 4 , Figure 4 It is a schematic structural diagram of a message acceleration device provided by an embodiment of the present invention. The packet acceleration device in this embodiment includes one or more processors 41 and a memory 42 . in, Figure 4 A processor 41 is taken as an example.

[0120] Processor 41 and memory 42 can be connected by bus or other means, Figure 4 Take connection via bus as an example.

[0121] The memory 42, as a non-volatile computer-readable storage medium based on the attack message acceleration method, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, the methods and corresponding program instructions. The processor 41 executes various functional applications and data processing by running non-volatile software programs, instructions and modules stored in the memory 42 to implement the methods of the foregoing embodiments.

[0122]Wherein, the memory 42 may incl...

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 discloses a message acceleration method and device with software and hardware cooperation. The message acceleration method includes: the software acceleration layer judges whether the message carries tag information; if the message does not carry the tag information, the protocol stack Forward the message, and obtain the hardware acceleration behavior and software acceleration behavior of the message according to the forwarding result of the protocol stack; the software acceleration layer allocates tag information according to the business type of the message, establishes a business processing module based on the tag information, and accelerates the software The behavior is sent to the business processing module; the software acceleration layer establishes hardware search rules according to the characteristic information of the message, and establishes the first association relationship between the hardware search rules, hardware acceleration behavior and tag information, and sends the first association relationship to the hardware acceleration layer; if the message carries tag information, the message is distributed to the corresponding business processing module according to the tag information of the message, and the service processing module performs software acceleration on the message according to the corresponding software acceleration behavior.

Description

technical field [0001] The invention belongs to the field of communication, and more specifically relates to a message acceleration method and device with software and hardware cooperation. Background technique [0002] With the country's call for network speed-up, the data load of gateway products has increased sharply, followed by the rapid development of hardware accelerators or network processors NP (Network Processor, abbreviated as NP). Usually, the home gateway modifies and forwards messages by learning the Linux network protocol stack, and sends the messages to the hardware accelerator or NP. Subsequent messages will directly bypass the network protocol stack to achieve hardware acceleration. [0003] At present, packet forwarding devices such as home gateways can well support hardware acceleration of L2-L3 layer packets. With the increase and change of protocols, there are more and more business types and application scenarios, such as DsLite tunnel, VxLAN Tunnel, ...

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): H04L47/125H04L47/2441H04L47/25H04L47/31H04L47/62
CPCH04L47/125H04L47/31H04L47/25H04L47/2441H04L47/6215
Inventor 王中辉朱圣龙谢绍新张伟
Owner FENGHUO COMM SCI & 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