Data forwarding method and system of software forwarding equipment, and electronic equipment

A forwarding method and forwarding device technology, applied in the field of network virtualization, can solve the problems of life and death of applications, adverse effects of data flow forwarding quality and forwarding efficiency, packet loss in data flow forwarding, etc., so as to ensure normal forwarding, improve forwarding quality and Forwarding efficiency and the effect of suppressing packet loss

Active Publication Date: 2021-11-30
WUXI CHINAC DATA TECH SERVICE
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the memory resource is a restrictive resource, the size of the memory resource directly determines the life and death of the application program.
Since the vRouter needs to combine IP forwarding table entries in the process of forwarding data streams, this prior art does not take into account the aforementioned situation, which will cause certain adverse effects on the forwarding quality and forwarding efficiency of data streams in this prior art. And there is a phenomenon of packet loss in the process of data flow forwarding

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 forwarding method and system of software forwarding equipment, and electronic equipment
  • Data forwarding method and system of software forwarding equipment, and electronic equipment
  • Data forwarding method and system of software forwarding equipment, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] ginseng Figure 1 to Figure 3 As shown, this embodiment discloses a specific implementation manner of a data forwarding method of a software forwarding device (hereinafter referred to as "data forwarding method").

[0059] The data forwarding method aims to realize the switching operation of re-switching queues between the mapped thread of the virtual router and the vCPU (that is, a lower concept of resources contained in the resource pool 200 in the application), so as to satisfy the forwarding process performed on the data packet, And ensure the forwarding operation of the core business, so as to effectively prevent the packet loss of data packets.

[0060] like figure 1 As shown, in this embodiment, the data forwarding method of the software forwarding device (such as a virtual router or a virtual switch) includes the following steps S1 to S3. The aforementioned core business includes the corresponding core business for various key access requests initiated by the ...

Embodiment 2

[0102] combine Figure 4 to Figure 8 As well as Embodiment 1, this embodiment also discloses a specific implementation manner of a data forwarding system 100 of a software forwarding device (hereinafter referred to as "data forwarding system").

[0103] In this embodiment, the data forwarding system 100 includes:

[0104] A protocol stack 23 , a distribution module 22 and a queue scheduling module 40 that establish a mapping relationship with specified resources in the resource pool 200 . The protocol stack 23 receives the service request, and performs polling detection on all the queues associated with the current thread to which the preconfigured queue responding to the service request belongs through the distribution module 22 . When the remaining usage rate of the specified resource in the resource pool 200 that establishes a mapping relationship with the current thread to which the preconfigured queue belongs reaches the saturation threshold, the queue scheduling module ...

Embodiment 3

[0112] ginseng Figure 9 The present embodiment shown is a specific implementation manner of an electronic device 500 .

[0113] In this embodiment, the electronic device 500 includes: a processor 51 , a storage device 52 composed of at least one storage unit, and a communication bus 53 establishing a communication connection between the processor 51 and the storage device 52 . The processor 51 is configured to execute one or more programs stored in the storage device 52, so as to implement a specific implementation process of a data forwarding method of a software forwarding device as disclosed in Embodiment 1.

[0114] The storage device 52 may be composed of a storage unit 521 to a storage unit 52j, wherein the parameter j is a positive integer greater than or equal to 1. Processor 51 may be ASIC, FPGA, CPU, MCU or other physical hardware or virtual device with instruction processing function. The form of the communication bus 53 does not need to be specifically limited, ...

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 data forwarding method and system of software forwarding equipment, and electronic equipment. The data forwarding method comprises the following steps: receiving a service request, and executing polling detection on all queues associated with a current thread to which a pre-configured queue responding to the service request belongs; triggering an event of switching to other specified resources in a resource pool when the residual utilization rate of the specified resources in the resource pool which establishes a mapping relationship with the current thread to which the pre-configured queue belongs reaches a saturation threshold value; and electing an idle queue from all queues associated with the specified thread which establishes a mapping relationship with the specified resource in the switched resource pool, so as to put a data packet corresponding to the service request into the idle queue, thereby responding to the service request through the idle queue corresponding to the specified resource in the switched resource pool. According to the method, the accelerated forwarding of the data packet is realized, the timely response to the access request is satisfied, and the forwarding quality and forwarding efficiency of the data stream packet are improved.

Description

technical field [0001] The invention relates to the technical field of network virtualization, in particular to a data forwarding method, system and electronic equipment of a software forwarding device. Background technique [0002] A virtual router (vRouter) runs on a virtual platform of a standard physical server. The virtual platform virtualizes the physical resources of the physical server into virtual resources and allocates them to the virtual routers. Commonly used virtual resources of a virtual router include vCPU (virtual CPU), virtual memory, virtual storage, virtual network card, and the like. The reasonable scheduling of core resources such as vCPU by the virtual router is of great technical significance to ensure the normal forwarding of core services. The operating mode of software forwarding devices such as virtual routers is usually to start a polling thread to forward traffic. The polling thread (PollModeDriver, PMD) is bound to the vCPU core on the server...

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/46H04L12/741H04L12/743H04L12/801H04L12/863H04L29/08H04L12/713H04L45/586H04L45/74
CPCH04L12/4641H04L45/54H04L45/7453H04L47/50H04L47/33H04L45/586H04L67/60
Inventor 纪伟龙
Owner WUXI CHINAC DATA TECH SERVICE
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