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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap