Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for message forwarding

A message forwarding and message technology, applied in the Internet field, can solve the problems of reducing application layer analysis efficiency and message forwarding efficiency, and achieve the effect of reducing burden and improving efficiency

Active Publication Date: 2016-10-05
HUAWEI TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] From the above scheme, it can be seen that since the application layer needs to judge and analyze each message in the message flow, not only the analysis efficiency of the application layer is reduced, but also the efficiency of message forwarding is reduced.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0067] The following is based on figure 1 , describing a method for message forwarding in an embodiment of the present invention, the method describes judging at the transport layer whether each message in the message flow is forwarded to the application layer or forwarded to the network, and the method specifically includes:

[0068] 101. Receive a packet sent by the network layer, and judge whether the packet is the first packet of the packet flow.

[0069] Rece...

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 relates to the technical field of the Internet, and provides a method and device for message forwarding, wherein the method includes: receiving a message sent by a network layer, and judging whether the message is the first packet of a message flow; When the message is the first packet of the message flow, forward the message to the application layer; when the message is not the first packet of the message flow, judge whether the message is the first packet of the message in the message flow; When the message is the first packet of the message, forward the message to the application layer; when the message is not the first packet of the message in the message flow, forward the message to the network layer. Using the present invention, it can be judged whether each message in the message flow is the first packet of the message in the message flow, if it is the first packet of the message, it will be submitted to the application layer for analysis; if it is not the first packet of the message, it will be directly forwarded to the network middle. Directly forwarding a large number of packets that do not need to be parsed to the network can not only improve the efficiency of packet forwarding, but also reduce the burden of parsing packets at the application layer.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a message forwarding method and device. Background technique [0002] With the continuous development of the Internet, fine-grained management of network traffic has been applied more and more, such as packet identification, flow control, and data statistics. When an operator wants to understand information such as service usage, hotspot applications, and user distribution in order to develop targeted value-added services, it needs to analyze the packets to obtain detailed data in the packet network. But in the current situation, when doing data parsing, usually the application layer parses the message containing the first line and the header field, but in the process of processing the message, the application layer will encounter many domain, thereby reducing the efficiency of the application layer in parsing and forwarding packets. [0003] Faced with this problem, it is...

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): H04L29/06H04L12/70
CPCH04L69/00
Inventor 姜恩龙吴建芳翟春莹
Owner HUAWEI TECH CO LTD