Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and network appliance for processing packet

A network device and message technology, applied in the field of network communication, can solve problems such as hello message cannot be processed in time, neighbor relationship is interrupted, business cannot be carried out, etc., to avoid loss or inability to process in time, and ensure stability.

Active Publication Date: 2008-07-16
NEW H3C TECH CO LTD
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are different subtypes of messages in a specific protocol, and their functions and importance are different. For example, OSPF protocol messages are divided into 5 subtypes of messages, namely keep-alive (hello) messages, database description (DD ) message, request (Request) message, update (Update) message and response (Ack) message, among them, the hello message is used to discover and maintain the neighbor relationship, and its priority is much higher than other subtypes of messages However, since all subtypes of the same specific protocol are sent to the same Socket buffer, the overflow of the Socket buffer may cause important hello packets to be lost, or the As a result, important hello packets cannot be processed in time, resulting in serious consequences such as interruption of neighbor relations and failure of services.

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 network appliance for processing packet
  • Method and network appliance for processing packet
  • Method and network appliance for processing packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0018] The method provided by the present invention mainly includes: the same specific protocol contains multiple Sockets, and each Socket is bound to the subtype of the specific protocol; after receiving the message, according to the specific protocol identifier and subtype identifier carried by the message, determine Socket corresponding to the subtype of the specific protocol, and send the message to the buffer area of ​​the Socket.

[0019] The method provided by the present invention can create a plurality of Sockets for the same specific protocol in advance according to the actual needs, respectively bind with the subtype of the specific protocol, and are used to receive the message of the subtype of the specific protocol. For example, five ...

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 method and network equipment for processing messages. A plurality of Sockets are created aiming at the same concrete protocol, each Socket is bound with a subtype of the concrete protocol; after the network equipment receives a message, the network equipment confirms the Socket bound with the subtype of the concrete protocol according to a concrete protocol identifier and a subtype identifier carried with the message, and sends the message into a buffer of the Socket. The method and the network equipment of the invention can send the message of the important subtype in a concrete protocol into a separate Socket buffer, can not affect the message of the important subtype due to overlarge communication volume of other messages, can make a preferred reading to the Socket buffer of the important subtype by an application program, avoids the loss of the message of the important subtype or the failure to process the message of the important subtype in time, and assures the stability of a network system.

Description

technical field [0001] The invention relates to network communication technology, in particular to a method for processing messages and network equipment. Background technique [0002] Socket (Socket) is currently the most widely implemented method for mutual access between processes. Its main function is to map protocol-related messages sent by one process to another specified process. For example, after a network device receives a message, if the message is sent to the network device, it needs to send the message to the application program of the network device through the Socket corresponding to the protocol type of the message. [0003] At present, Socket is mainly divided into four types: Transmission Control Protocol (TCP) Socket, User Datagram Protocol (UDP) Socket, Raw (RAW) IP Socket and Raw Link (RAW Link) Socket. Among them, TCP Socket and UDP Socket are distinguished by the source address, destination address, source port number and destination port number of th...

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/56H04L29/06H04L12/58H04L12/70
Inventor 林长望张锋章海锋钱雪彪
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products