Method and device for data message forwarding

A technology of data message and forwarding method, which is applied in the direction of data exchange network, digital transmission system, electrical components, etc., and can solve the problem of reducing the speed of message forwarding

Active Publication Date: 2013-03-06
ZTE CORP
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The routing process of IP has gone through three processes of data receiving, forwarding path finding and data sending. In general, all data packets of a

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
  • Method and device for data message forwarding
  • Method and device for data message forwarding
  • Method and device for data message forwarding

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0022] In order to improve the forwarding speed, when the embodiment of the present invention receives a data message, it obtains the quintuple information of the data message, and judges whether the data message is a forwarded message; if it is a forwarded message, it will follow the saved forwarding table The data message is forwarded by the forwarding path corresponding to the quintuple information; if it is not a forwarding message, the data message is obtained after the protocol stack is processed, and the routing information of the data message is obtained, and then sent according to the routing information The data message.

[0023] See figure 1 As shown, the data packet forwarding method of the embodiment of the present invention includes the following steps:

[0024] Step 101: When the network card terminal processing unit recognizes that the network card has received a data packet, it calls the hard interrupt processing unit for processing. Specifically, the network card...

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 method and a device for data message forwarding. The method and the device aim at improving message forwarding speed. The method includes that when a network card terminal processing unit recognizes that a network card receives a data packet, a hardware interrupt processing unit is invoked to process, the hardware interrupt processing unit applies for an fk_buff data storage structure to copy the data packet into a data area of the fk_buff from the internet card, whether the data packet meets forwarding conditions or not is determined, if yes, a quick forwarding module obtains a corresponding forwarding path according to forwarding entries in a forwarding table set by quintuple information indexes of a data message and utilizes a hardware sending function to forward the data packet in the data area of the fk_buff, and if not, the fk_buff is taken as data of sk_buff to upload to a protocol stack for processing.

Description

technical field [0001] The invention relates to a data forwarding technology on a Linux operating system, in particular to a data message forwarding method and device. Background technique [0002] The fierce competition in the IT industry and the continuous decline in product prices have brought severe challenges to IT companies. Everyone has turned their attention to the low-cost embedded (Linux) operating system, and the popularity and development of Linux has begun. For terminal network products, Linux is undoubtedly a good choice for the operating system. [0003] And with the development of the network, the use of IP networks is becoming more and more extensive. Almost everyone has experience in using the network to query data, e-mail back and forth, and play online games. In this case, users have higher and higher requirements for network speed. [0004] However, at present, the routing process of non-locally generated data packets in an optical network access term...

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/70
CPCH04L45/00
Inventor 郭红燕王日红靳海燕
Owner ZTE CORP
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