Fragmental message receiving and processing method and device

A technology of message receiving and processing method, which is applied in the field of communication, can solve problems such as inflexibility and inability to receive long messages, achieve flexible receiving process, increase the probability of correctly receiving long messages, and improve performance-price ratio

Inactive Publication Date: 2012-08-15
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For solution two, in the long message mode, only a few fixed ports can receive fragmented messages; while in the short fragmented message mode, long messages cannot be received
Both models have certain limitations and are not flexible enough

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
  • Fragmental message receiving and processing method and device
  • Fragmental message receiving and processing method and device
  • Fragmental message receiving and processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0030] figure 1 It is a flow chart of Embodiment 1 of the method for receiving and processing fragmented messages of the present invention. When a fragmented message is received in this embodiment, it can directly know whether the fragmented message is a long message, such as figure 1 As shown, the method may include:

[0031] Step 101. Obtain t...

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 embodiment of the invention provides fragmental message receiving and processing method and device. The fragmental message receiving and processing method comprises the steps of: acquiring the length of a fragmental message to be received and detecting the residual caching capacity of a current caching space for storing the fragmental message; and if the fragmental message is confirmed to be a long message according to the length of the fragmental message, then treating the fragmental message according to the residual caching capacity and a preset first threshold value; wherein the first threshold value is the minimum value of the residual caching capacity for allowable received long message, and the long message is the fragmental message with the message length exceeding a preset length. In the embodiment of the invention, firstly, whether the fragmental message is the long message or not is judged according to the length of the fragmental message received by each port, and if the fragmental message is the long message, whether to cache the fragmental message or not is judged according to the residual caching space capacity and a threshold value. The embodiment enhances the capacity on receiving the long message and enables the receiving process to be more flexible, thereby improving the probability on receiving the long message correctly, avoiding network blocking and improving the cost performance of the product.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a method and device for receiving and processing fragmented messages. Background technique [0002] With the continuous and rapid growth of network capacity and services, the interface performance of routers, firewalls and other network devices has been more and more severely tested. As the main functional unit of the router and firewall, the forwarding engine of the interface board needs to receive fragmented packets of different lengths on the network and cache them. After receiving all the packets of a complete data packet, it reassembles and forwards the cached packets. As the network capacity increases, the input ports of the forwarding engine of the interface board also increase. When receiving long packets through these input ports, the internal cache may not receive a complete data packet for a long time. The forwarding engine of this interface board can...

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): H04L12/56H04L1/00H04L29/06H04L47/30
Inventor 朱青王新李星闫婷
Owner HUAWEI DIGITAL TECH (CHENGDU) 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