Detecting method for routing loop and device thereof

A routing and looping technology, applied in the field of communication, can solve problems such as occupying a large memory, and achieve the effect of ensuring normal operation and avoiding waste of resources

Inactive Publication Date: 2014-12-24
FUJITSU LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, although the historical information table in the conventional method can detect and solve the problem of routing

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
  • Detecting method for routing loop and device thereof
  • Detecting method for routing loop and device thereof
  • Detecting method for routing loop and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] Example 1

[0038] The embodiment of the present invention provides a method for detecting a routing loop. figure 1 Is the flow chart of the method, please refer to figure 1 , The method includes:

[0039] Step 101: Determine whether the local node is an inflection point according to the expected routing cost of the received data packet and the cost of the route selected by the local node for the data packet;

[0040] The local node can select the route with the least cost for the data packet by querying the routing table, and determine whether the local node is an inflection point by comparing the expected route cost of the data packet with the cost of the selected route.

[0041] Among them, if the cost of the selected route is greater than or equal to the expected route cost, the local node is considered to be an inflection point, that is, the data packet forwarded by the node may come back, thereby forming a routing loop and affecting the network Normal operation; if the co...

Example

[0079] Example one

[0080] In this example, the method of the embodiment of the present invention is described by marking the data packet by putting the address of the inflection point into the data packet as an example. The frame structure of the data packet is shown in Table 2 as an example. The structure of the inflection point list Take Table 3 as an example.

[0081] Figure 2a An operation flowchart for sending information to the source node in an embodiment of this example.

[0082] Please refer to Figure 2a When node S needs to send data to node N, it first searches the routing table for the routing node with the destination node address N and the smallest routing cost. The node address is recorded as route_best, and the routing cost is recorded as cost_min; then construct a data packet, let GD= N, GS=S, LD=route_best, LS=S, Cost=cost_min, No=0; finally, send the data packet.

[0083] Figure 2b An operation flowchart for sending information to the source node in another em...

Example

[0093] Example two

[0094] In this example, the data packet is marked by storing the information of the data packet in the historical information table of the inflection point as an example to describe the method of the embodiment of the present invention, where the frame structure of the data packet is shown in Table 4 as an example. Take Table 5 as an example for the structure of the historical information table of the turning point.

[0095] Figure 4a This is a flowchart of the operation of sending information from the source node in an implementation of the second example.

[0096] Please refer to Figure 4a When node S needs to send data to node N, it first searches the routing table for the routing node with the destination node address N and the smallest routing cost. The node address is recorded as route_best, and the routing cost is recorded as cost_min; then construct a data packet, let GD= N, GS=S, LD=route_best, LS=S, Cost=cost_min; finally, send the packet.

[0097] F...

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 provides a detecting method for a routing loop and a device thereof. The detecting method comprises the steps of: determining whether a local node is an inflection point according to an expected routing expenditure of a data packet and an expenditure of a selected path by a local node for the data packet; if the local node is the inflection point, marking the data packet; and if the data packet which is marked by the local node is received, determining occurrence of the routing loop. The detecting method and the device provided by the embodiment of the invention effectively prevents resource wastage caused by routing loop and ensures normal operation of a network.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for detecting routing loops in an Ad Hoc network. Background technique [0002] When a data packet propagates in a wireless Ad Hoc network, it usually needs forwarding of multiple nodes to reach the target node. When a packet is repeatedly forwarded to each other by a series of nodes, it gets stuck in a routing loop. The data packets passing through the routing loop will be forwarded infinitely, but cannot reach the destination node. If the routing loop problem cannot be solved in time, it will cause a waste of communication resources and affect the normal operation of the network. [0003] A conventional solution usually uses a history information table to detect routing loops. The history information table saves the information of the data packets sent by the node. If a node receives a data packet, but the information of the data packet has already appeared in ...

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/26H04L45/18
Inventor 李红春田军尾崎一幸温允藤田裕志
Owner FUJITSU LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products