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

A loop detection method and device

A loop detection and loop technology, applied in the field of communication, can solve problems such as discarding service data packets, and achieve the effect of avoiding invalid forwarding

Active Publication Date: 2018-09-11
BEIJING HUAWEI DIGITAL TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem solved by the present invention is to provide a loop detection method and device, which can detect the loop in the transmission path of the service data message, and solve the problem in the prior art that the service data message is discarded due to the routing loop

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
  • A loop detection method and device
  • A loop detection method and device
  • A loop detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to provide an implementation scheme for detecting loops in the transmission path of service data packets, embodiments of the present invention provide a loop detection method and device. The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that , the preferred embodiments described here are only used to illustrate and explain the present invention, not to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0055] figure 2It is a schematic diagram of a loop detection method provided by an embodiment of the present invention, and the method includes:

[0056] 201: The network device generates a user data protocol UDP packet for loop detection.

[0057] When it is necessary to detect whether there is a transmission loop of the service data message i...

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 loop detecting method and device. The method comprises that a network device generates a loop detection user data protocol UDP message; the network device queries a route corresponding to a target network protocol IP address of the loop detection UDP message; the network device transmits the loop detection UDP message by using the route; the network device receives a first server data message; and the network device determines that the route of a target IP address of a second server data message is a loop route when the first server data message matches the loop detection UDP message. The network device generates the loop detection UDP message and forwards the same to another device. When the network device receives the loop detection UDP message again, namely the loop detection UDP message is returned to the network device after being forwarded by multiple devices, a loop is formed in a network and the route corresponding to the target IP address of the loop detection UDP message is determined as the loop route. As a result, the loop route in the network can be effectively and timely detected and eliminated in order that invalid forward of server data messages is prevented.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a loop detection method and device. Background technique [0002] During network deployment, service data packet transmission loops may occur due to reasons such as router configuration errors. like figure 1 As shown, network device A, network device B, network device C, and network device D form a service data message transmission loop, and the service data message is forwarded by network device A to network device B, and then forwarded by network device B to the network Device C, then forwards from network device C to network device D, and finally forwards from network device D to network device A. Circularly forwarding the service data message in the service data message transmission loop until the time to live (Time To Live, TTL) of the service data message is reduced to 0 or 1, discarding the service data message . [0003] The service data packets cycli...

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/26
Inventor 卓翰黄调文
Owner BEIJING HUAWEI DIGITAL TECH
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