A network routing communication method based on geographic grid
Through the network routing communication method based on geographical grid coding, the existing technology problems of slow location update, prolonged route forwarding time and weak network flexibility are solved, and high communication efficiency and flexibility are achieved, especially in local networks. Communication performance is further optimized through short code identification.
Patent Information
- Application Number
- CN202211215728.7
- 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
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.
Adopt a network routing communication method based on geographical grid coding. By generating the geographical location identification of the network, using geographical grid coding to calculate the distance and topological orientation between nodes, construct the distance cost, topological orientation cost and spatial constraint cost to determine the network route. path to achieve efficient routing and forwarding.
It improves communication efficiency, reduces routing overhead, and enhances network flexibility and communication efficiency. Especially in local network communication, short code re-identification further reduces the number of coding bits and achieves efficient communication.
Smart Images

Figure CN115801658B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of network communication, and in particular relates to a network routing communication method based on geographic grid. Background Art
[0002] In traditional networks, IP is a bridge between various transmission media and various network applications. The homogeneous pattern of "thousands of troops crossing the IP single-plank bridge" cannot meet the diverse, diversified and professional application needs, making the network world evolve slowly because of the loss of its diverse inherent vitality. With the introduction of multi-dimensional identification, the transformation of the network from a single structure to multi-dimensional development is an advanced stage of its development. We should develop multi-modal addressing and routing methods for personalized network identification to improve the quality of network services.
[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 communication method based on geographic grid, 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 improve communication 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 communication method based on geographic grid, comprising:
[0015] Generate the geographical location identification of the network based on the geographic grid code;
[0016] Using the geographical location identifier of the grid corresponding to the longitude and latitude of the access terminal in the network as the UID of the terminal;
[0017] The sending terminal generates a data packet including the sending terminal UID and the target terminal UID;
[0018] Determine the network routing path based on the geographical location identification of the node;
[0019] The data packet is transmitted according to the network routing path to the router whose subnet range includes the target terminal UID;
[0020] The router including the UID of the target terminal sends the data packet to the target terminal.
[0021] Furthermore, based on the geographic grid coding, the method for generating the geographic location identifier of the network is:
[0022] Select the global mesh;
[0023] Obtain the longitude and latitude coordinates of each grid in the global grid based on outdoor and indoor positioning methods;
[0024] Convert the longitude and latitude coordinates of each grid into geographic grid code;
[0025] The geographic grid code is compressed at multiple scales to generate the geographic location identifier of the network.
[0026] Furthermore, the method for determining the network routing path according to the geographical location identifier of the node is:
[0027] Parse the geographic grid code of the node according to its geographic location identifier, and obtain the distance and topological orientation between the nodes through code algebraic calculation;
[0028] Construct distance cost, topological orientation cost and spatial constraint cost according to the distance and topological orientation between nodes and the geographical location identification of nodes;
[0029] Determine the network routing path based on distance cost, topological orientation cost or spatial constraint cost.
[0030] Furthermore, the method for obtaining the distance between nodes according to the geographical location identifier of the nodes is:
[0031] The distance between nodes is obtained by performing bitwise operations on the geographic grid codes in the geographic location identifiers corresponding to different nodes.
[0032] Furthermore, the method for obtaining the topological orientation between nodes according to the geographical location identifiers of the nodes is:
[0033] The cosine value of the angle ∠ASB is calculated according to the geographic grid code in the geographic location identifier corresponding to the source node A, the target node B and the topologically adjacent node S of the source node, and the angle value of the angle ∠ASB, that is, the topological orientation of the topologically adjacent node S of the source node, is obtained according to the cosine value.
[0034] Furthermore, the method of constructing the distance cost, topological orientation cost and space constraint cost according to the distance and topological orientation between nodes is as follows:
[0035] Determine whether the node is located in the spatial constraint area according to the node's geographical location identifier. If the node is located in the spatial constraint area, the spatial constraint cost is set to 0; otherwise, the spatial constraint cost is set to be greater than 0.
[0036] The value of the distance cost is positively correlated with the distance between the node and the source node;
[0037] The value of the topological orientation cost is positively correlated with the topological orientation of the node.
[0038] Furthermore, the boundary of the spatial constraint region is obtained by expanding the boundary of the convex hull constraint region between the source node and the target node by a predetermined threshold.
[0039] Furthermore, when determining a network routing path according to the distance cost, the topological orientation cost or the space constraint cost, the nodes in the path are selected so that the sum of the distance cost, the topological orientation cost or the space constraint cost is minimized.
[0040] Furthermore, when the communication range of the sending terminal and the target terminal is a local network, the common prefix of the sending terminal UID and the target terminal UID is re-identified using a short code, and when the network routing path is determined according to the node's geographic location identifier, the short code in the node's geographic location identifier is removed, and the network routing path is determined using other parts of the geographic location identifier; the number of bits of the short code is less than the number of bits of the common prefix.
[0041] Furthermore, the global grid is a multi-scale grid determined according to the network structure and communication capability of the terminal.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] (1) The present invention uses geographic grid codes as network geographic location identifiers, implements a new routing addressing method without changing the network routing addressing infrastructure, and can effectively improve communication efficiency;
[0044] (2) When addressing, the present invention only needs to extract geographical features from the location identifier, combine them and add them to the new routing table, thus avoiding the large amount of overhead of traditional network addressing protocols in terms of routing table maintenance;
[0045] (3) The present invention aims at network communication in local areas, uses short codes to re-identify common prefixes, applies multi-scale identification coding, further reduces the number of coding bits, reduces network consumption, and realizes efficient network communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of a network geographical location identification of a local network of the present invention;
[0047] Figure 2 It is a schematic diagram of a data packet of the present invention;
[0048] Figure 3 A schematic diagram of a network routing path based on a geographic location identifier of the present invention;
[0049] Figure 4 A flow chart for generating a network geographic location identifier of the present invention;
[0050] Figure 5 The present invention is a flowchart of a network routing communication method based on a geographic grid in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following detailed description of the present invention will make the features and advantages of the present invention more clear and explicit.
[0052] 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.
[0053] In view of the shortcomings of the current routing protocols based on location information, such as slow location update and search, long routing forwarding delay and weak network flexibility, the present invention proposes a network routing communication method based on geographic location identification. Based on the earth subdivision theory, the geographic grid code is used as the geographic identification of the nodes in the network. Through grid code algebraic operations, the geographic path penalty costs such as spatial distance, topological orientation and spatial constraints are calculated to realize network routing path planning based on geographic grid, and finally realize the communication between the sending terminal and the target terminal.
[0054] like Figure 5 In a preferred embodiment of the present invention, the routing communication method based on network geographic location coding includes the following steps:
[0055] 1. Uniquely identify the network's geographic location based on geographic grid coding
[0056] The network geographic location identification code should be based on the network identification, which should be modified to have the characteristics of a spatial address. The selected geographic grid framework should have a longitude and latitude grid system with global coverage, multi-level nesting, and step-by-step coding, which is convenient for conversion and calculation with the current system.
[0057] like Figure 4 After selecting a suitable global grid partitioning framework, the indoor and outdoor integrated network location information acquisition can be realized based on Beidou satellite positioning and indoor high-precision positioning technology respectively.
[0058] Among them, outdoor high-precision spatial data positioning can use the Beidou coordinates and Beidou time output by Beidou satellites. The Beidou system uses the Beidou coordinate system (BDCS), and the coordinate system definition complies with the International Earth Rotation Service (IERS) specifications. It uses the reference ellipsoid parameters of the 2000 Chinese Geodetic Coordinate System (CGCS2000), aligns with the latest International Terrestrial Reference Frame (ITRF), and is updated once a year. Its accurate position can be calculated through three satellites and positioning clock errors.
[0059] Indoor high-precision spatial positioning can be assisted by existing positioning technologies such as wireless LAN positioning technology, radio frequency tag positioning technology, ZigBee positioning technology, Bluetooth positioning technology, and ultra-wideband positioning technology.
[0060] After obtaining the location information, the longitude and latitude coordinates are converted into spatial grid codes, and then multi-scale compression is performed according to application requirements to finally generate a network location geographic identifier. The geographic location identifier also includes the information of the node itself to achieve its uniqueness. The geographic grid code is part of the geographic location identifier. Multi-scale compression is to determine the appropriate grid level according to the node size. The higher the level, the larger the corresponding grid and the shorter the code.
[0061] 2. Generate network geographic location identification data packet
[0062] Based on the network geographic location identification code, combined with the globally consistent geographic grid coding system, a Figure 2 The network geographical location shown identifies the network system. Figure 2 The FCS is a fixed field at the end of the data packet and is used to verify data integrity.
[0063] Each access terminal in the network is assigned a UID (User Identification), which represents the user's spatiotemporal location information and provides a basis for data submission. The UID communication terminal can determine the current spatiotemporal location through the navigation, positioning and timing information of the Beidou satellite group. The longitude and latitude of the terminal are converted by encoding. The longitude and latitude are converted into binary numbers respectively, and the binary one-dimensional grid code of the position is obtained by cross-combining them bit by bit. The expression accuracy and grid size are different for different coding bits. The code can also be converted into a decimal form, corresponding to the unique code UID in the discrete spatiotemporal grid framework.
[0064] The core network is responsible for routing and forwarding functions. The router is assigned a RID (Router Identification). The RID describes the outsourced collection area of all terminals in its subnet, that is, UID∈RID, which is usually determined by the communication range of the router.
[0065] When a user sends a data packet, he only needs to specify the UID that marks the time and space location information of the communicating parties. When the data packet arrives at the switching router, the router will query the identification management server, search for the RID router containing the target UID, and forward the corresponding data packet to the destination RID router. The RID router searches for the target UID to complete the communication process.
[0066] 3. Network routing path calculation combined with geographical features
[0067] The location identifier provides the network with a geographical location, from which three features, distance, orientation and spatial constraint, can be obtained. The distance feature provides the physical distance between any two grid coding nodes.
[0068] The geographical feature combination scheme needs to combine the advantages of each geographical feature. Figure 3 , the following is a detailed introduction to the characteristics of each geographical feature:
[0069] (1) Distance
[0070] Distance can be used as an important indicator for evaluating network costs. Each node has a unique grid code, and the grid code of each node contains geographic information. By directly performing bit operations on the grid codes of different nodes or calculating the mapping function between the grid code and the actual geographic location, the spatial distance between nodes can be obtained. This spatial distance is used as an important evaluation indicator in the routing table.
[0071] When the routing range is a small and dense local area, the distance difference between the topological node and the target node may be very small or even overlap. At this time, the distance feature will be limited and cannot play its role, and needs to work in conjunction with other features.
[0072] (2) Topological orientation
[0073] The role of topological orientation is the "guidance" function in the routing process, which helps the router decide the next optimal node, that is, it tends to forward to the next router closest to the target node. The calculation process is: based on the coding information in the IP identifier of the source node A and the IP identifier of the target node B, the geographic code of the identifier A and B, the topological adjacent IP identifier S and its geographic code can be calculated, and the angle formed by the identifier S and A and B is calculated using the cosine theorem, and the cosine values between different angles are compared, and the node with the smallest angle is used as the next hop address of the router. In practical applications, the grid code is parsed from the identifier and then calculated, and the topological adjacent grid code is calculated through the grid code.
[0074] In actual routing addressing, when the routing distance is relatively long, the difference in calculating the topological azimuth is very small, and the role of the azimuth in "guidance" is limited. When routing to a shorter distance, the results of the topological azimuth calculation are quite different, and the topological azimuth can really play a role.
[0075] (3) Spatial constraints
[0076] The spatial constraint feature provides constraints for the routing process to prevent the routing process from exceeding the area range. The spatial constraint area is the convex hull constraint area between the source node and the target node plus a certain threshold limit. In the routing process, if the forwarded nodes are within the convex hull range, the spatial constraints are met. For nodes that exceed the threshold limit outside the convex hull range, a higher routing penalty is given, so that the routing process avoids nodes outside the spatial constraint area as much as possible.
[0077] Combining the advantages and disadvantages of geographical features, the best geographical feature combination scheme is: when the source node and the target node are far away, the cost of the distance feature is mainly used, and the topological orientation feature is reduced or even not used; when the source node and the target node are close, the distance feature and the topological orientation feature together "guide" the addressing direction of the route; the spatial constraint feature is used as a constraint condition for the entire route.
[0078] Generate network address codes of different scales according to the network structure and communication capabilities of various terminals in the network to ensure that the network address coding level corresponds to the terminal network level. Combined with the multi-scale division of the geographic grid, the communication range of the network node is adapted. On this basis, the network coding mapping relationship is stored in the network coding addressing table, combined with geospatial navigation calculation, to achieve network space proximity routing addressing based on geospatial identification, and calculate the network path between the source address and the destination address.
[0079] like Figure 1 ,For the network communication in a local area, its network communication is limited to the area. If the global network geographic identification code is continued to be used, it will cause the redundancy of the network location identification address space. Therefore, it is necessary to combine the actual application scenarios, rely on the multi-scale characteristics of the location identification, use short codes to re-identify the common prefix, apply multi-scale identification coding, further reduce the number of coding bits, reduce network consumption, and achieve efficient communication of the network.
[0080] According to the above principles, the short code design of location identifier can compress the identifier by shortening the identifier expression range and multi-scale expression identifier encoding.
[0081] For a local geographic location network, first determine its communication range and register it in the network system. The location identifier access network router stores the location identifier prefix corresponding to the communication range. When network communication activities occur within the communication range, only the identifier after removing the prefix is required for routing calculation. When network communication activities involve out-of-region communication, the data packet needs to be repackaged on the access network router and forwarded after adding the corresponding regional prefix. The short code here refers to a code shorter than the common prefix.
[0082] At the same time, the movement capability and spatiotemporal information accuracy of the terminals in the location network also need to be considered. Different terminals have different movement capabilities and positioning accuracy, and different levels of geographic location identification are used.
[0083] 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.
[0084] 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 communication method based on geographic grid, characterized in that: include: Generate the geographical location identification of the network based on the geographic grid code; Using the geographical location identifier of the grid corresponding to the longitude and latitude of the access terminal in the network as the UID of the terminal; The sending terminal generates a data packet including the sending terminal UID and the target terminal UID; Determine the network routing path based on the geographical location identification of the node; The data packet is transmitted according to the network routing path to the router whose subnet range includes the target terminal UID; The router containing the target terminal UID sends the data packet to the target terminal; Based on geographic grid coding, the method for generating the geographic location identifier of the network is: Select the global mesh; Obtain the longitude and latitude coordinates of each grid in the global grid based on outdoor and indoor positioning methods; Convert the longitude and latitude coordinates of each grid into geographic grid code; The geographic grid code is compressed at multiple scales to generate the geographic location identifier of the network.
2. A network routing communication method based on geographic grid according to claim 1, characterized in that: The method for determining the network routing path based on the geographical location identification of the node is: Obtain the distance and topological orientation between nodes according to the geographical location identifiers of the nodes; Construct distance cost, topological orientation cost and spatial constraint cost according to the distance and topological orientation between nodes and the geographical location identification of nodes; Determine the network routing path based on distance cost, topological orientation cost or spatial constraint cost.
3. A network routing communication method based on geographic grid according to claim 2, characterized in that: The method to obtain the distance between nodes based on the geographical location of the nodes is: The distance between nodes is obtained by performing bitwise operations on the geographic grid codes in the geographic location identifiers corresponding to different nodes.
4. A network routing communication method based on geographic grid according to claim 2, characterized in that: The method for obtaining the topological orientation between nodes according to the geographical location identifier of the node is: The cosine value of the angle ∠ASB is calculated according to the geographic grid code in the geographic location identifier corresponding to the source node A, the target node B and the topologically adjacent node S of the source node, and the angle value of the angle ∠ASB, that is, the topological orientation of the topologically adjacent node S of the source node, is obtained according to the cosine value.
5. A network routing communication method based on geographic grid according to claim 4, characterized in that: The method of constructing distance cost, topological orientation cost and spatial constraint cost according to the distance and topological orientation between nodes is: Determine whether the node is located in the spatial constraint area according to the node's geographical location identifier. If the node is located in the spatial constraint area, the spatial constraint cost is set to 0; otherwise, the spatial constraint cost is set to be greater than 0. The value of the distance cost is positively correlated with the distance between the node and the source node; The value of the topological orientation cost is positively correlated with the topological orientation of the node.
6. A network routing communication method based on geographic grid according to claim 5, characterized in that: The boundary of the spatial constraint region is obtained by expanding the boundary of the convex hull constraint region between the source node and the target node by a predetermined threshold.
7. A network routing communication method based on geographic grid according to claim 2, characterized in that: When determining a network routing path based on distance cost, topological orientation cost or space constraint cost, the selection of nodes in the path makes the sum of the distance cost, topological orientation cost or space constraint cost the minimum.
8. A network routing communication method based on geographic grid according to claim 1, characterized in that: When the communication range of the sending terminal and the target terminal is a local network, the common prefix of the sending terminal UID and the target terminal UID is re-identified using a short code. When determining the network routing path based on the node's geographic location identifier, after removing the short code in the node's geographic location identifier, the network routing path is determined using the other parts of the geographic location identifier; the number of bits of the short code is less than the number of bits of the common prefix.
9. A network routing communication method based on geographic grid according to claim 1, characterized in that: The global grid is a multi-scale grid determined according to the network structure and communication capabilities of the terminal.
