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

Path tracking method and system, and gateway equipment

A gateway device and path tracking technology, applied in electrical components, wireless communication, etc., can solve the problems of complex control management, inability to complete end-to-end path detection, poor control initiative of the source host, etc., and achieve the effect of accurate path data

Active Publication Date: 2014-06-18
CHINA MOBILE COMM GRP CO LTD
View PDF3 Cites 5 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
  • Path tracking method and system, and gateway equipment
  • Path tracking method and system, and gateway equipment
  • Path tracking method and system, and gateway equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] see figure 1 , which is a flow chart of a path tracking method disclosed in Embodiment 1 of the present invention, including the following steps:

[0054]Step 101: 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 direct connection, send a data link layer path tracing request to the target host, and obtain the The MAC address of the device in the road layer path;

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

[0056] Preferably, the method also 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, said step 101 includes:

[0060] Obtain the address information ...

Embodiment 2

[0066] In order to describe the method provided by the present invention in more detail, it is described in a specific scene, and the scene diagram is as follows figure 2 A path tracing scene 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 are The device is two switches. Specific methods such as Figure 3A , Figure 3B , Figure 3C with Figure 3D The flow chart of the first path detection processing method, the flow chart of the second path detection processing method, the flow chart of the third path detection processing method and the flow chart of the final path confirmation detection method respectively described in , the entire path detection method includes: the first path detection processing , the second path detection processing, the third path detection processing and the final path confir...

Embodiment 3

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

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

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

[0101] Preferably, the detection module 301 includes: an acquisition sub-module 301A, configured to acquire the address information of the gateway device and the ...

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

An embodiment of the invention discloses a path tracking method and system, and gateway equipment. The specific method is as follows: when a method for being connected with a destination host is detected to be a direct connection method according to a received destination host address in detection data from a source host, a data link layer path tracking request is sent to the destination host, an MAC address of equipment located in a data link layer path is obtained; a time-out message carrying the MAC address is sent to the source host; and the source host sends the detection data to the destination host according to the received time-out message carrying the MAC address. The source host receives a port-unreachable response message sent by the destination host, and confirms that the destination host is detected. Direct end-to-end path detection can be realized, the problem that any path detection tool in the prior art cannot realize an end-to-end path test is solved, path data can be provided more accurately, and thus effective support is provided for network operation and maintenance.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a path tracing method, system and gateway equipment. Background technique [0002] With the rapid development of information and communication technology, computer network has become an indispensable part of people's life. Once the network communication fails, it may cause the work to be paralyzed and cause people's work and life to suffer losses. When a network failure occurs, the Traceroute tool is often used to locate the location of the failure. Specifically, the packet is used 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 to use the network layer trace route Traceroute IP tool to detect the network in different network segments The path identified by the IP address from the source host to the destination host; use the data link layer t...

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