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

Message processing method and device

A message processing and response message technology, applied in the field of network communication, can solve problems such as failure of the initiator device to process, error in the detection of the network connection state, and inability to connect to the network.

Active Publication Date: 2018-01-05
NEW H3C TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, it has been found in practice that when there are a large number of ICMP echo reply attack packets, the ICMP echo reply packets sent by the destination device may be discarded because the receiving buffer queue is full of ICMP echo reply attack packets, or because the ICMP echo reply Too many attack packets cause the initiator device to fail to process the ICMP echo reply packet sent by the destination device within the preset time, and then the network connectivity status detection error occurs, that is, the destination device replies with the ICMP echo reply In the case of a packet, the initiator device detects that the network cannot be connected

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
  • Message processing method and device
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following takes the implementation of NQA (Network Quality Analyzer, Network Quality Analysis) Ping as an example to send the ICMP echo request message in the existing process And the specific process of receiving the ICMP echo reply message will be briefly described.

[0024] It is worth noting that the message processing solution provided by the embodiment of the present invention is not limited to the implementation of NQA Ping, and can also be applied to other scenarios where the Ping command is used to detect whether the network can be connected, such as PPPOE (Point to Point Protocol over Ethernet, based on Ethernet point-to-point communication protocol) Ping (detect whether the PPPOE user terminal is online through the Ping command), IPOE (Internet Protocol over Ethernet, an Internet protocol based on Ethernet) Ping (detect whet...

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 message processing method and device. The method comprises the steps that an NQA (Network Quality Analyzer) process sends an ICMP (Internet Control Message Protocol) echo request message to an RAWIP protocol through a raw socket; the RAWIP protocol adds a preset identifier field to an ICMP head of the ICMP echo request message and sends the ICMP echo request message carrying the preset identifier field; when receiving an ICMP echo reply message, the RAWIP protocol judges whether the preset identifier field is carried in the ICMP head of the ICMP echo reply message or not; if the preset identifier field is carried in the ICMP head of the ICMP echo reply message, the RAWIP protocol caches the ICMP echo reply message to a socket receiving buffer queue; and if the preset identifier field is not carried in the ICMP head of the ICMP echo reply message, the RAWIP protocol discards the ICMP echo reply message. Through application of the embodiment of the invention, theinfluence of an ICMP echo reply attack message on the normal processing of the ICMP echo reply message replied by a destination device can be avoided, and the network connectivity state inspection accuracy can be improved.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a message forwarding method and device. Background technique [0002] Ping is a command under Windows, Unix and Linux systems. Its main function is to detect whether the network can be connected, so that it can be used to help users analyze and judge network failures. [0003] The main process of the Ping command to detect whether the network can be connected is as follows: [0004] The initiator device constructs an ICMP (Internet Control Message Protocol, Internet Control Message Protocol) echo (echo) request (request) message, and sends it to the destination device; [0005] When the destination device receives the ICMP echo request message, it replies with an ICMP echo reply (response); [0006] If the initiator device receives the ICMP echo reply message sent by the destination device within the preset time, it is determined that the network can be connected ...

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 Applications(China)
IPC IPC(8): H04L29/06H04L12/925H04L12/863H04L12/26H04L47/722
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