A network routing addressing method based on geographic grid coding

By adopting the routing addressing method of geographical grid coding and quad-tree structure in the network, the problems of slow location update, prolonged routing forwarding time and insufficient network flexibility in the existing technology are solved, and fast routing addressing and high efficiency are achieved. Path selection,suitable for large-scale network expansion.

CN115914170BActive Publication Date: 2024-09-27HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211218114.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2024-09-27
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

Existing routing protocols based on spatial coordinate location identification have problems such as slow location update and search, long route forwarding delay, and low network flexibility.

Method used

A network routing addressing method based on geographical grid coding is adopted. By constructing a network architecture with a quadtree structure, geographical grid coding is used for path planning and cross-level communication between nodes, thereby reducing routing table maintenance consumption and improving routing efficiency.

Benefits of technology

It achieves fast route addressing and path selection, reduces route forwarding delay, enhances network flexibility, supports large-scale network expansion, and reduces router management and maintenance workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914170B
    Figure CN115914170B
Patent Text Reader

Abstract

The present invention discloses a network routing addressing method based on geographic grid coding, including S1 constructing a network architecture based on geographic grid coding; S2 judging whether a target node is a child node of a current node, when the target node is a child node of the current node, entering step S3, otherwise entering step S4; S3 judging whether there is a parent node of the target node in the adjacent child nodes of the current node, if so, taking the parent node as the next hop node, if not, performing leapfrogging communication; when the next hop node is not the target node, taking the next hop node as the current node, and returning to step S2; S4 judging whether there is an adjacent parent node of the current node, if so, taking the parent node as the next hop node, if not, performing leapfrogging communication; when the next hop node is not the target node, taking the next hop node as the current node, and returning to step S2. The present invention can effectively reduce the consumption of router management and maintenance of routing tables and improve routing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of network communication, and in particular relates to a network routing addressing method based on geographic grid coding. Background Art

[0002] The Internet is evolving from mass and public services to segmented and personalized services. However, the TCP / IP protocol still provides services on a "best effort" basis based on end-to-end transmission, and only supports a single IP addressing mode. This single and homogeneous technical feature has led to performance and security problems in network development. Multimodal addressing routing is a basic technical feature of the new network. This technology is different from the single IP addressing mode. The multimodal and definable addressing mode centered on telephone numbers, service content, spatial coordinates, and smart identification will greatly enrich the diversity of cyberspace and break the dilemma of single network development.

[0003] Diversified network applications require diverse addressing and routing methods. The multimodal addressing and routing mechanisms of new networks include the following typical methods:

[0004] (1) Addressing and routing based on IPv4 / IPv6. This method uses technologies such as hierarchical address mode, address automatic configuration, and source authentication. It has strong flexibility and fast processing capabilities and will continue to play an important role in new networks.

[0005] (2) Addressing and routing based on content identification. This method changes the network communication mode from focusing on "where" to focusing on "what", treating all data content in the network as information that can be transmitted, and realizing direct content interconnection rather than host interconnection.

[0006] (3) Addressing and routing based on identity. This approach effectively solves security, mobility, scalability, user experience and other issues by separating identity from location, resources from location, and access from core.

[0007] (4) Addressing and routing centered on spatial coordinate location identification. This method uses coordinate location information to encode network locations, which can achieve direct mapping between network space and real space locations, providing support for improving network application performance.

[0008] The existing routing addressing based on spatial coordinate location identification still has the following shortcomings:

[0009] (1) Slow location update and search. Location-based routing protocols use location information to perform routing forwarding, which requires additional management of geographic location information. The location information of current location-based routing protocols is recorded in the form of longitude and latitude, which is more complicated in terms of location update and search.

[0010] (2) Long routing delay: In the process of routing addressing, the distance between nodes is calculated by longitude and latitude coordinates to select the data forwarding path, which is relatively complex.

[0011] (3) The network is not flexible. In existing routing protocols, when a node in the network fails or moves far away, it will affect the current connectivity. In order to maintain connectivity, the route needs to be replanned, which results in a large routing overhead. Summary of the invention

[0012] The purpose of the present invention is to overcome the above defects and provide a network routing addressing method based on geographic grid coding, which solves the technical problems of slow location update and search, long routing forwarding delay and weak network flexibility of the current routing protocol based on location information. The present invention can effectively reduce the consumption of router management and maintenance of routing tables and improve routing efficiency.

[0013] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions:

[0014] A network routing addressing method based on geographic grid coding, comprising:

[0015] S1 builds a network architecture based on geographic grid coding, and the IP address of each route and node is implicit in the grid architecture;

[0016] S2: In the grid architecture, determine whether the target node is a child node of the current node. If the target node is a child node of the current node, proceed to step S3; if the target node is not a child node of the current node, proceed to step S4.

[0017] S3 determines whether there is a parent node of the target node among the adjacent child nodes of the current node. If so, the parent node is used as the next hop node. If not, a leapfrog communication is performed. When the next hop node is not the target node, the next hop node is used as the current node, and the process returns to step S2. When the next hop node is the target node, the addressing is completed.

[0018] S4 determines whether the current node has an adjacent parent node. If so, the parent node is used as the next hop node. If not, a leapfrog communication is performed. When the next hop node is not the target node, the next hop node is used as the current node, and the process returns to step S2. When the next hop node is the target node, the addressing is completed.

[0019] When step S2 is executed for the first time, the current node is the source node.

[0020] Furthermore, the network architecture based on geographic grid coding is a quadtree structure.

[0021] Furthermore, the layering method of the network architecture is consistent with the layering method of geographic grid coding.

[0022] Furthermore, in step S2, it is determined whether the target node is a child node of the current node according to the geographic grid codes of the current node and the target node.

[0023] Furthermore, in step S3, it is determined whether there is a parent node of the target node among the adjacent child nodes of the current node according to the geographic grid code of the adjacent child nodes of the current node and the target node.

[0024] Further, step S3 also includes, after determining that there is a parent node of the target node among the adjacent child nodes of the current node, determining whether the parent node is communicable, the specific method is to send a communication request to the parent node, if a reply from the parent node agreeing to communicate is received within the effective delay range, it is considered that the parent node is communicable, if a reply from the parent node agreeing to communicate is not received within the effective delay range, then skip-level communication is performed;

[0025] Step S4 also includes, after determining that the current node has an adjacent parent node, determining whether the parent node can communicate. The specific method is to send a communication request to the parent node. If a reply from the parent node agreeing to communicate is received within the effective delay range, it is considered that the parent node can communicate; if a reply from the parent node agreeing to communicate is not received within the effective delay range, cross-level communication is performed.

[0026] Further, in step S3, the method for performing leapfrogging communication is to record the current node as an n-layer node, determine whether the n+2-layer node has a parent node of the target node, and if not, continue to determine whether the n+3-layer node has a parent node of the target node, until the parent node exists, and use the parent node as the next hop node;

[0027] In step S4, the method for cross-level communication is to record the current node as an n-layer node, determine whether the parent node of the current node exists in the n-2 layer node, and if not, continue to determine whether the parent node of the current node exists in the n-3 layer node, until the parent node exists, and use the parent node as the next hop node.

[0028] Furthermore, the geographic grid code of each node is converted from the longitude and latitude information obtained by splitting the IP address of each node.

[0029] Furthermore, the geographic grid codes of the destination node and the current node are compared, and according to the rule that the parent-child relationship of the quadtree code has the same prefix, it is determined whether the destination node is a child node of the current node.

[0030] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0031] (1) The present invention uses a multi-scale geographic location grid as the network routing addressing architecture. Two nodes that need to communicate do not necessarily need to go through the root node. They only need to find a common parent node to complete the routing addressing. The communication path between nodes is completely distributed and does not require additional control overhead, supporting the expansion of network scale;

[0032] (2) The present invention designs a fixed tree-shaped network architecture according to the layer-by-layer nested coding rules of the geographic network. The generation of the routing table can be obtained by calculation. That is to say, when the network topology structure is determined, the static addressing protocol is more convenient and faster. There is no need to maintain the routing table. The address of the next hop can be obtained by calculation.

[0033] (3) The present invention is based on the implementation of static routing, and improves the addressing mechanism by replacing the manual addition of routing items with a calculation algorithm, i.e., the network geographic grid coding addressing mechanism. Compared with the traditional dynamic routing, this mechanism can effectively reduce the consumption of router management and maintenance of routing tables and improve routing efficiency. Compared with the traditional static routing, it effectively reduces the manual workload and avoids the tedious work in the process of maintaining routing items, thus being suitable for large-scale networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of the network architecture of the network geographic grid coding of the present invention;

[0035] Figure 2 It is the leapfrogging communication mechanism of the present invention;

[0036] Figure 3 The present invention is a flow chart of a network routing addressing method based on geographic grid coding. DETAILED DESCRIPTION

[0037] The following detailed description of the present invention will make the features and advantages of the present invention more clear and explicit.

[0038] The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise noted.

[0039] In view of the shortcomings of the current location information-based routing protocol, such as slow location update and search, long routing forwarding delay, and weak network flexibility, the present invention proposes a network routing addressing method based on geographic grid coding. Based on the earth subdivision theory, the geographic grid coding (i.e., geographic location coding) is used as the geographic location identification of nodes in the network. By calculating the spatial relationship of the grid coding, the path planning in the network routing addressing is realized. Based on the implementation of static routing, the addressing mechanism is improved by replacing the manual addition of routing items with a calculation algorithm, i.e., the network geographic grid coding addressing mechanism. Compared with traditional dynamic routing, this mechanism can effectively reduce the consumption of router management and maintenance of routing tables and improve routing efficiency.

[0040] The present invention provides a routing addressing method based on network geographic grid coding, and the main implementation method is as follows:

[0041] 1. Construct a tree network architecture of network geographic grid coding based on geographic grid.

[0042] The network architecture of the network geographic grid coding is as follows Figure 1 As shown in the figure, the IP address of each route and node is implicit in the grid architecture. Therefore, the corresponding path can be found according to the implicit network architecture during routing addressing. In the network geographic grid coding network, the network architecture is a tree structure, which is consistent with the hierarchical method of coding. Each node only communicates directly with its adjacent parent node or adjacent child node. Starting from the root node, any network node can be reached, and the routing address passed in the middle can be calculated based on the IP address. Two nodes that need to communicate do not necessarily need to pass through the root node. They only need to find a common parent node to complete the routing addressing. The communication path between nodes is completely distributed and does not require additional control overhead, which supports the expansion of network scale.

[0043] 2. Perform node detection to determine whether the node exists and can communicate.

[0044] Since the network architecture of the network geographic grid coding is constructed according to the hierarchical mode of coding, it does not correspond to the actual nodes one by one, and the actual node distribution is often random, that is, there may be empty nodes in the tree structure, resulting in the situation that the nodes do not exist in the calculated communication path. Therefore, it is necessary to increase the node detection and leapfrog communication mechanism. Node detection requires that the sender calculates the IP address of the next hop node and first sends a communication request to the address. If the node agrees to communicate within the effective delay range, the node is considered to exist and can communicate, and the data is sent to the node; if the node does not reply within the effective time or the node does not agree to communicate, the node is considered to not meet the requirements of the next hop node, and the leapfrog communication mechanism is started.

[0045] 3. If communication with the node fails, initiate cross-level communication.

[0046] The leapfrog communication starts when the current next-hop node is unreachable, such as Figure 2 As shown, if the current next-hop node is the child / parent node of the sender, the next-hop child / parent node of the node is calculated and node detection is performed until a node that meets the communication requirements is found, and the node is used as the next-hop node of the sender for cross-level communication. Figure 2 This is a schematic diagram of leapfrog communication. The parent node skips the failed adjacent child node and directly uses the adjacent child node of the failed node as the next hop node for communication.

[0047] like Figure 3 Based on the above method, the main technical process of the invention can be divided into the following steps:

[0048] Step 1: The sender splits the IP address of the destination node, obtains its longitude and latitude information, converts it into a geographic grid code (the upper and lower levels are in a quadtree relationship), compares it with the local grid code, and uses the rule that the parent-child relationship of the quadtree code has the same prefix to determine whether the destination node is a child node of the source node. If so, proceed to step 2, otherwise proceed to step 3.

[0049] Step 2: The sender calculates the IP addresses of the four adjacent child nodes, obtains the corresponding grid code, and compares it with the grid code of the destination node. Among them, there is only one node that is the parent node of the destination node, and selects this node as the next hop node for this transmission. Detect the node, and if the node exists, transmit the data. Otherwise, continue to calculate the next hop child node of the node for cross-level communication. And so on, until the data is transmitted to the destination node.

[0050] Step 3: The sender calculates the IP address of the parent node adjacent to it and uses it as the next hop node for this transmission. It detects the node and transmits data if it exists. Otherwise, it continues to calculate the next hop parent node of the node for cross-level communication. After the receiver obtains the data and the IP address of the destination node, it performs the operation in step 1.

[0051] The present invention constructs a tree network architecture of network geographic grid coding based on geographic grid. In addition, based on the implementation mode of static routing, node selection and leapfrogging communication are performed by using a calculation algorithm instead of a method of manually adding routing items.

[0052] The present invention has been described in detail above in conjunction with specific implementations and exemplary examples, but these descriptions cannot be understood as limiting the present invention. Those skilled in the art understand that, without departing from the spirit and scope of the present invention, a variety of equivalent substitutions, modifications or improvements may be made to the technical solution of the present invention and its implementation methods, all of which fall within the scope of the present invention. The scope of protection of the present invention shall be subject to the attached claims.

[0053] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

Claims

1. A network routing addressing method based on geographic grid coding, characterized in that: include: S1 builds a network architecture based on geographic grid coding, and the IP address of each route and node is implicit in the grid architecture; S2: In the grid architecture, determine whether the target node is a child node of the current node. If the target node is a child node of the current node, proceed to step S3; if the target node is not a child node of the current node, proceed to step S4. S3 determines whether there is a parent node of the target node among the adjacent child nodes of the current node. If so, the parent node is used as the next hop node. If not, a skip-level communication is performed. When the next hop node is not the target node, the next hop node is used as the current node, and the process returns to step S2. When the next hop node is the target node, the addressing is completed. S4 determines whether the current node has an adjacent parent node. If so, the parent node is used as the next hop node. If not, a skip-level communication is performed. When the next hop node is not the target node, the next hop node is used as the current node, and the process returns to step S2. When the next hop node is the target node, the addressing is completed. When step S2 is executed for the first time, the current node is the source node; In step S3, the method for performing leapfrog communication is to record the current node as an n-layer node, determine whether the n+2-layer node has a parent node of the target node, and if not, continue to determine whether the n+3-layer node has a parent node of the target node, until the parent node exists, and use the parent node as the next hop node; In step S4, the method for cross-level communication is to record the current node as an n-layer node, determine whether the parent node of the current node exists in the n-2 layer node, and if not, continue to determine whether the parent node of the current node exists in the n-3 layer node, until the parent node exists, and use the parent node as the next hop node.

2. A network routing addressing method based on geographic grid coding according to claim 1, characterized in that: The network architecture based on geographic grid coding is a quadtree structure.

3. A network routing addressing method based on geographic grid coding according to claim 2, characterized in that: The layering of the network architecture is consistent with the layering of geographic grid coding.

4. A network routing addressing method based on geographic grid coding according to claim 3, characterized in that: In step S2, it is determined whether the target node is a child node of the current node according to the geographic grid codes of the current node and the target node.

5. A network routing addressing method based on geographic grid coding according to claim 4, characterized in that: In step S3, it is determined whether there is a parent node of the target node among the adjacent child nodes of the current node according to the geographic grid code of the adjacent child nodes of the current node and the target node.

6. A network routing addressing method based on geographic grid coding according to claim 1, characterized in that: Step S3 also includes, after determining that there is a parent node of the target node among the adjacent child nodes of the current node, determining whether the parent node is communicable, the specific method is to send a communication request to the parent node, if a reply from the parent node agreeing to communicate is received within the effective delay range, it is considered that the parent node is communicable, if a reply from the parent node agreeing to communicate is not received within the effective delay range, then skip-level communication is performed; Step S4 also includes, after determining that the current node has an adjacent parent node, determining whether the parent node can communicate. The specific method is to send a communication request to the parent node. If a reply from the parent node agreeing to communicate is received within the effective delay range, it is considered that the parent node can communicate; if a reply from the parent node agreeing to communicate is not received within the effective delay range, cross-level communication is performed.

7. A network routing addressing method based on geographic grid coding according to claim 5, characterized in that: The geographic grid code of each node is converted from the longitude and latitude information obtained by splitting the IP address of each node.

8. A network routing addressing method based on geographic grid coding according to claim 7, characterized in that: The geographic grid codes of the destination node and the current node are compared, and according to the rule that the parent-child relationship of the quadtree code has the same prefix, it is determined whether the destination node is a child node of the current node.