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

A path tracing method, system and gateway device

A gateway device and path tracking technology, applied in electrical components, wireless communication, etc., can solve the problems of complex control and management, inability to detect the existence of data link layer switch devices, source host and target host detection, etc., to achieve accurate path data. Effect

Active Publication Date: 2017-09-08
CHINA MOBILE COMM GRP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when realizing end-to-end path detection, it is necessary to use the Traceroute IP tool to detect the network layer path first, and then use the Traceroute MAC tool to detect the data link layer path, so as to realize the end-to-end path detection. When the Traceroute IP tool is used, only the IP address information of the gateway device can be obtained, and the existence of the data link layer switch device cannot be detected; when the Traceroute MAC tool is used alone, the source host and target host of different network segments cannot be detected. The path is limited to the same network segment. When detecting the path between two hosts belonging to different network segments, the detection will report an error, so the two alone cannot complete the end-to-end path detection.
However, the existing tracking path method is complex in control and management, and cannot directly transmit the detection path to the source host, which makes the control initiative of the source host poor.

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 path tracing method, system and gateway device
  • A path tracing method, system and gateway device
  • A path tracing method, system and gateway device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] See figure 1 , Which is a flowchart of a path tracking method disclosed in the first embodiment of the present invention, and includes the following steps:

[0054] Step 101: According to the target host address in the received detection data from the source host, when it is detected that the method of connecting to the target host is direct connection, a data link layer path tracking request is sent to the target host to obtain the data link MAC address of the device in the route layer path;

[0055] Step 102: Send a timeout message carrying the MAC address to the source host.

[0056] Preferably, the method further includes:

[0057] The source host sends detection data to the target host according to the received timeout message carrying the MAC address;

[0058] The source host receives the port unreachable response message sent by the target host and confirms that the destination host has been detected.

[0059] Preferably, the step 101 includes:

[0060] Obtain the address i...

Embodiment 2

[0066] In order to describe the method provided by the present invention in more detail, a specific scenario is used to describe the scenario diagram such as figure 2 A path tracing scenario diagram is shown. In the communication path between the source host and the target host, there are three Layer 3 devices and two Layer 2 devices. The three Layer 3 devices are three gateway devices and two Layer 2 devices. The equipment is two switches. Specific methods such as Figure 3A , Figure 3B , Figure 3C with Figure 3D The first path detection processing method flowchart, the second path detection processing method flowchart, the third path detection processing method flowchart, and the final path confirmation detection method flowchart are described in respectively. The entire path detection method includes: first path detection processing , The second path detection processing, the third path detection processing and the final path confirmation detection, specifically:

[0067] ...

Embodiment 3

[0098] The present invention also provides a gateway device, specifically as Figure 4 As shown in a schematic structural diagram of a disclosed gateway device, it specifically includes: a detection module 301 and a first processing module 302,

[0099] The detection module 301 is configured to detect whether the method of connecting to the target host is a direct connection method according to the target host address in the received detection data from the source host;

[0100] The first processing module 302 is configured to send a data link layer path tracing request to the target host when the detection module detects the direct connection mode, obtain the MAC address of the device located in the data link layer path, and send the The timeout packet of the MAC address is sent to the source host.

[0101] Preferably, the detection module 301 includes: an acquisition sub-module 301A for acquiring address information of the gateway device and address information of the target host; ...

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 discloses a routing tracking method, system and gateway equipment. The specific method is: according to the target host address in the detection data received from the source host, when it is detected that the way to connect to the target host is a direct connection mode, send a data link layer path tracing request to the target host, and obtain the The MAC address of the device in the link layer path; sending a timeout message carrying the MAC address to the source host; the source host sends detection data to the target host according to the received timeout message carrying the MAC address. The source host receives the port unreachable response message sent by the target host, and confirms that the destination host has been detected. It can realize end-to-end direct path detection, which solves the problem that any detection path tool in the prior art cannot realize end-to-end path testing, can provide path data more accurately, and provides effective support for network operation and maintenance.

Description

Technical field [0001] The present invention relates to the field of mobile communication, in particular to a path tracking method, system and gateway equipment. Background technique [0002] With the rapid development of information and communication technology, computer networks have become an indispensable part of people's lives. Once the network communication fails, it may cause work to be paralyzed, causing people's work and life to suffer losses. When the network fails, the Traceroute tool is often used to locate the location of the fault. Specifically, it uses packets to detect the path from the source host to the destination host to check whether the network connection is reachable, and to initially locate the location of the network failure; and the network layer traceroute Traceroute IP tool is used to detect different network segments The path identified by the IP address from the source host to the destination host; the data link layer trace route Traceroute MAC too...

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): H04W24/04H04W88/16
Inventor 黄璐
Owner CHINA MOBILE COMM GRP CO LTD