Method for realizing interconnection between mobile Ad hoc network and INTERNET based on host identifier

Through the host identification method, the incompatibility problem between mobile Ad hoc network and INTERNET is solved, convenient network switching and address interconnection is achieved, network overhead and IP address requirements are reduced, and good compatibility and roaming are provided. Function.

CN119135653APending Publication Date: 2024-12-13JIANGSU MARITIME INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311665525.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-06
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

There is incompatibility between mobile Ad hoc network and INTERNET. The existing interconnection methods have problems such as large network overhead, high packet latency and complex IP address management, especially when IPv6 is not widely deployed.

Method used

The interconnection between mobile Ad hoc network and INTERNET is achieved by using a method based on host identification. By establishing a host identification mechanism, registration mechanism, gateway request mechanism and IP address allocation mechanism, the number of intermediate router routing entries is reduced, and the mapping of host identification to IP addresses is realized. And use NAT technology to implement compatibility and roaming functions.

Benefits of technology

It realizes convenient switching between multiple LANs, reduces communication overhead, solves the problem of address interconnection between communication nodes, reduces the demand for public IP addresses, delays the exhaustion of IPV4 address space, and has good compatibility. Sex and interconnected capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135653A_ABST
    Figure CN119135653A_ABST
Patent Text Reader

Abstract

The invention discloses a method for realizing mobile Ad hoc network communication and INTERNET interconnection based on a host identifier. The method mainly comprises the following three aspects: firstly, an existing mobile Ad hoc network routing protocol is simply expanded, mapping between a host identifier and an IP (Internet Protocol) address is realized while routing is constructed, the protocol adopts the host identifier in upper-layer application communication and adopts the IP address identifier in a lower-layer datagram transmission process, and the host identifier and the IP address identifier are matched with each other; the dual identity of a traditional IP address is deconstructed, and the method is completely compatible with an existing traditional network mechanism; then, based on an autonomous domain gateway agent in combination with NAT, an external node can directly access an Ad hoc internal private address network node, the limitation that in a mobile IP mechanism, a public IP address must be allocated to each node is solved, and the requirement for the public IP address is reduced; and finally, an adaptive threshold mechanism is adopted in the Ad hoc autonomous domain, the transmission range of the gateway announcement message is automatically adjusted, and the network overhead in the gateway discovery process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of network protocol design, in particular to a method for realizing interconnection between a mobile Ad hoc network and the Internet based on a host identifier. Background Art

[0002] Mobile Ad hoc network is composed of a group of wireless mobile nodes. It is a self-organizing network that can be deployed quickly without relying on the existing fixed communication network infrastructure, with little human intervention and no central entity. There are many incompatible characteristics between mobile Ad hoc network and INTERNET. These differences are not only reflected in the topology of the network structure, but also in the communication protocols used by the communication nodes. At present, the methods for interconnecting mobile Ad hoc network with INTERNET are based on mobile IP mechanism and use gateway proxy form. The gateway has two types of interfaces, connecting fixed network and wireless network respectively. Since mobile Ad hoc network nodes have to go through gateway nodes to access INTERNET, the signaling interaction with gateway nodes is one of the main factors affecting network overhead. There are three types of existing gateway discovery: (1) proactive, which broadcasts gateway information in a flooding manner on the network at a certain period. Although it enhances network connectivity, it incurs a relatively large network overhead; (2) reactive, the gateway does not broadcast gateway information. If the network node can send a gateway request message as needed, the gateway information can be obtained through the gateway reply message, which will cause data packet delay; (3) hybrid, which combines the advantages of the first two schemes, limits the scope of the gateway broadcast message, and sends request messages to nodes outside the gateway message. At present, IPv6 has not been widely deployed and used, and accessing the INTERNET requires protocol conversion, which reduces efficiency. In addition, all current mechanisms do not take into account a problem that mobile networks are terminal-oriented, and it is very difficult for users to remember IPv4 (or IPv6) addresses. If the existing DNS mechanism is used, there must be a DNS server to manage the domain names of all nodes in the domain. This will lead to two problems: (1) If the DNS server is damaged, nodes inside and outside the domain cannot operate normally; (2) Communication between nodes in the domain increases the domain name resolution process, so it will increase network overhead.

[0003] Therefore, it is necessary to provide a method for interconnecting mobile Ad hoc networks with the Internet based on host identification to solve the above technical problems. It can easily realize automatic switching between multiple local area networks during the mobile process without affecting the communication service solution, and it can also effectively solve the problem of interconnection between internal private class address networks where the communication nodes do not belong to the same network. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the abstract of the specification and the title of the invention of this application to avoid blurring the purpose of this section, the abstract of the specification and the title of the invention, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] Therefore, the technical problem to be solved by the present invention is to realize the communication based on host identification between an ad hoc network and interconnect with the Internet; it can also realize that nodes in two different ad hoc networks can also communicate based on host identification, realizing the function of mobile IP.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for interconnecting a mobile Ad hoc network with the INTERNET based on a host identification, characterized in that the method comprises: S1, establishing a host identification mechanism to reduce the number of routing entries of intermediate routers, adopting a hierarchical structure, wherein the high-order part of the address identifies the network address, and the low-order part is used to identify the host address;

[0007] S2. Establish a host registration mechanism. When a mobile node joins a management domain, it must register with the registration server.

[0008] S3, nodes in the same domain communicate on the mobile network, and nodes establish routing and complete the mapping relationship between host identifier and IP address;

[0009] S4. Establish a gateway request mechanism. When a node enters the network, it registers with the gateway registration server in the domain or obtains its IP address from the gateway.

[0010] S5. Establish an IP address allocation mechanism as an identifier in the process of routing forwarding and data packet transmission to achieve compatibility with existing traditional network mechanisms;

[0011] S6, establish a mobile node to access the Internet, access Internet node information in the management domain, and send the message to the gateway node;

[0012] S7, realize the communication between two mobile nodes that are not in the same domain;

[0013] S8. Realize roaming of mobile nodes.

[0014] As a preferred method of the method for realizing interconnection between a mobile Ad hoc network and the INTERNET based on host identification described in the present invention, the S1 includes two entities: (1) a node registration server within the domain: it records the host identification information of each node within the domain, including other auxiliary information such as the assigned IP address information; there is only one node registration server logically within a management domain, but multiple nodes can be used during deployment, and the node registration server can be used as a gateway; (2) a host identification and IP address mapping table: the table mainly has three fields, namely: host identification, host IP address and usage frequency; the table resides in the mobile node memory, caches the node information with which it communicates, and is created when the route is established.

[0015] As a preferred method of the method for realizing interconnection between a mobile Ad hoc network and the INTERNET based on host identification described in the present invention, S2 includes two types of methods for host registration: (1) according to the existing telecommunication communication mechanism, the host is directly registered to the network when the machine is purchased; (2) a host registration message is sent to submit the host name and identity information to the management domain, and the management server determines the uniqueness and legitimacy. If it passes, it is registered, otherwise it requires renaming.

[0016] As a preferred mode of the method for realizing interconnection between mobile Ad hoc network and INTERNET based on host identification described in the present invention, the S3 includes that if the mobile node communicates with the node of the same network, it can send a routing request message, and the message includes its own host identification name and IP address and the host name requested for communication; when the destination node receives the request message, it will add a record in the mapping table of host identification and IP address, and send a response message; when the sending node receives the message, it fills in the mapping table, and then performs subsequent communication.

[0017] As a preferred method of the method for realizing interconnection between a mobile Ad hoc network and the INTERNET based on a host identifier described in the present invention, the S4 includes avoiding excessive network overhead. When a node sends a gateway request message, an exponential increase method is used for the number of hops, and the default value is 2. If the request fails, the hop value increases exponentially.

[0018] As a preferred method of the method for interconnecting a mobile Ad hoc network with the INTERNET based on a host identifier according to the present invention, in S5, in order to be compatible with the existing traditional network mechanism, this step adopts both Ipv4 and IPV6 solutions.

[0019] As a preferred mode of the method for interconnecting a mobile Ad hoc network with the INTERNET based on host identification of the present invention, in S6, the mobile node needs to send a message to the gateway node in order to access the Internet node information in the management domain.

[0020] As a preferred method of the method for realizing interconnection between a mobile Ad hoc network and the INTERNET based on host identification described in the present invention, in S7, for example, if node a1@jmi.com wants to communicate with b1@jmi2.com, the two nodes are not in the same management domain and are both in their own home domains, the implementation steps are: (1) node a1 sends a message to the gateway node; (2) the gateway node obtains the node's IP address through DNS, uses NAT technology to proxy the message, and sends a1's message to jmi2.com; (3) after receiving the message, the gateway node jmi2.com forwards the message to the b1 node; (4) the same is true for b1 sending to a1.

[0021] As a preferred embodiment of the method for realizing interconnection between a mobile Ad hoc network and the INTERNET based on host identification described in the present invention, the method steps S1-S8 also include adopting an adaptive threshold mechanism within the Ad hoc autonomous domain based on the host identification mechanism to automatically adjust the transmission range of the gateway announcement message in order to reduce the consumption of limited public IPv4 resources by mobile nodes, thereby reducing the network overhead of the gateway discovery process.

[0022] Beneficial effects of the present invention: The purpose of the present invention is not only to realize communication based on host identification between an ad hoc network, but also to realize interconnection with the Internet. On this basis, nodes in two different ad hoc networks can also communicate based on host identification, realizing the function of mobile IP. The present invention proposes that the problem of mobile node roaming can be effectively solved by combining host identification and NAT mode, and at the same time it can greatly reduce the demand for public IP addresses and slow down the exhaustion time of IPV4 address space. The biggest feature of this mechanism is its compatibility. Whether the backbone network is IPV4 or IPV6, it has good compatibility, and it realizes the interconnection of private networks in different management domains without address conflict problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0024] in:

[0025] Figure 1 A flowchart of the method steps for realizing interconnection between a mobile Ad hoc network and the INTERNET based on a host identifier according to an embodiment of the present invention;

[0026] Figure 2A schematic diagram of communication between a mobile node and an Internet node in a method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to an embodiment of the present invention;

[0027] Figure 3 A schematic diagram of communication between two mobile nodes in different domains of a method for realizing interconnection between a mobile Ad hoc network and the Internet based on a host identifier according to an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of a method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier using mobile node roaming according to an embodiment of the present invention;

[0029] Figure 5 A schematic diagram of implementing mobile node roaming in a method for interconnecting a mobile Ad hoc network with the INTERNET based on a host identifier according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0031] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0032] Secondly, the present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0033] Furthermore, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0034] Example 1

[0035] Reference Figures 1 to 5The first embodiment of the present invention provides a method for interconnecting a mobile Ad hoc network with the INTERNET based on a host identifier, characterized in that the method comprises:

[0036] S1. Establish a host identification mechanism to reduce the number of routing entries in intermediate routers. A hierarchical structure is adopted, where the high-order address identifies the network address and the low-order address identifies the host address.

[0037] S2. Establish a host registration mechanism. When a mobile node joins a management domain, it must register with the registration server.

[0038] S3, nodes in the same domain communicate on the mobile network, and nodes establish routing and complete the mapping relationship between host identifier and IP address;

[0039] S4. Establish a gateway request mechanism. When a node enters the network, it registers with the gateway registration server in the domain or obtains its IP address from the gateway.

[0040] S5. Establish an IP address allocation mechanism as an identifier in the process of routing forwarding and data packet transmission to achieve compatibility with existing traditional network mechanisms;

[0041] S6, establish a mobile node to access the Internet, access Internet node information in the management domain, and send the message to the gateway node;

[0042] S7, realize the communication between two mobile nodes that are not in the same domain;

[0043] S8. Realize roaming of mobile nodes.

[0044] Specifically, 1. Host (mobile node) identification mechanism;

[0045] Traditional IP addresses are both host identifiers and routing transmission identifiers. When the IP address structure was originally designed, in order to reduce the number of routing entries in the intermediate routers, a hierarchical structure was adopted: the high-order part of the address identifies the network address, and the low-order part is used to identify the host address. When the router is routing, it only operates on the network part, which does bring speed and convenience in traditional networks, but mobile self-organizing networks pay more attention to flat structures and are more suitable for routing by host identifiers. In application layer mobile services, users can easily understand and remember host identifiers with certain meanings, but it is difficult to remember a series of numbers. Therefore, this solution proposes a host identifier naming scheme similar to the SIP protocol naming mechanism. The use of a similar SIP mechanism is also to enable compatibility with many subsequent SIP protocol-based applications.

[0046] The host naming format is: host name@management domain server domain name. In order to facilitate the subsequent message design, the host name and management domain server size can be set to 16 bytes each; the host identifier is unique within the management domain, and it identifies a mobile node; the management domain server domain name represents an Ad hoc network domain and also represents the home address of the node.

[0047] The management domain where the host ID is located can be changed. If the node is active in another mobile domain for a long time, you can apply to change the host name.

[0048] The domain name of the management domain server corresponds to a public IP: the domain name server in the existing network protocol can be directly used to solve it, and no resolution is required in the same mobile Ad hoc network. Resolution is required when the mobile node and the Internet communicate or the mobile node roams, but these resolutions only stay at the Internet level and will not increase the complexity of mobile node communication.

[0049] Here are two entities defined:

[0050] (1) Node registration server within a domain: It records the host identification information of each node within the domain, including the assigned IP address information and other auxiliary information. There is only one node registration server in a management domain logically, but multiple nodes can be used during deployment, and the node registration server can be used as a gateway (hereinafter referred to as the gateway).

[0051] (2) Host ID and IP address mapping table: This table has three main fields: host ID, host IP address and usage frequency. This table resides in the memory of the mobile node and caches the information of the nodes it communicates with. It is created when the route is established. The usage frequency records the number of communications and will increase automatically every time a communication occurs. If the table cache space is full, the LRU (Last recently used) mechanism will be used to replace the entries that have not been used for a long time.

[0052] Since both mobile Ad hoc networks and traditional INTERNET networks perform routing selection based on IP addresses, use IP addresses as datagram source and destination address identifiers, and the host identifier naming length is arbitrary, it is not feasible to use the host identifier routing mechanism for all. The solution introduces a host-IP address mapping table similar to the DNS cache mechanism in fixed network hosts, which implements the host identifier mechanism for services at the application layer, while the lower layer datagram transmission adopts the traditional IP identifier mechanism, which not only meets the terminal-oriented requirements of mobile services, but is also fully compatible with the existing network system. The difference from DNS is that it does not use a separate DNS protocol to obtain the mapping between host identifiers and IP addresses, but is a simple extension of the existing routing protocol, which realizes the mapping of the destination host identifier to the IP address while building a route to the destination host.

[0053] Host (mobile node) registration mechanism;

[0054] When a mobile node joins an administrative domain (ad hoc network, also known as a home network), it must register with a registration server. Host registration can be done in two ways: (1) According to the existing telecommunications mechanism, the host is directly registered when the phone is purchased; (2) Another form is to send a host registration message to the administrative domain to submit the host name and identity information. The management server determines the uniqueness and legitimacy. If it passes, it will be registered. Otherwise, it will be required to rename.

[0055] Temporary registration: When a node accesses a temporary network, it can temporarily register a host name, which has a limited lifetime and can provide limited access services.

[0056] Mobile network communication between nodes in the same domain;

[0057] There are many routing protocols for mobile AD HOC (point-to-point) networks, and they are relatively mature. This solution does not focus on the design of routing protocols, but simply expands the existing routing protocols to complete the mapping relationship between host identifiers and IP addresses while establishing routing at the node. The AODV protocol is used in the design and implementation, but the implementation mechanism of this article is not limited to AODV. It can use all existing routing protocols, and only needs to slightly expand the protocol message format.

[0058] When implementing the mapping relationship between host ID and IP address in the scheme, a new table is stored in the node cache, and its structure is shown in Table 1:

[0059]

[0060] Table 1: Host ID and IP address mapping table

[0061] The main function of this table is to map the host identifier to the IP address. To build this mapping table, the solution does not need to set up a dedicated message, but instead uses it as an extension of the routing request information message, which facilitates the implementation of the solution.

[0062] If a mobile node communicates with a node in the same network, it can send a routing request message (with the help of AODV), which contains its own host identifier and IP address and the host name of the requested communication; when the destination node receives the request message, it will add a record to the host identifier and IP address mapping table and send a response message (host name and IP). The sending node receives the message, fills in the mapping table, and then conducts subsequent communication.

[0063] Gateway request mechanism;

[0064] When a node enters the network, it must register with the gateway registration server in the domain or obtain its IP address from the gateway; if the node is not within the broadcast domain of the gateway node, it sends a gateway request message, which is also sent in the form of flooding. If the intermediate node in the domain has a newer route to the gateway node, it can reply to the source node. The requesting node obtains a route to the gateway and initiates registration information. In order to avoid excessive network overhead, when the node sends a gateway request message, the hop count is increased exponentially. The default value is 2. If the request fails, the hop count increases exponentially (such as 4, 8, and 16 in the subsequent times). This scheme assumes that if the hop count increases to 16, it means that the network gateway node is damaged and cannot connect to the external network temporarily.

[0065] Once the mobile node obtains an IP in the new management domain, it will send the domain name of the management domain to the home management domain node (gateway) for registration, so that the home management domain node can know which management domain it has moved to.

[0066] IP address allocation mechanism;

[0067] IP address is only used as an identifier in the process of routing forwarding and data packet transmission, so theoretically any IP address naming scheme can be used, such as: IPV4, IPV6, HIP protocol public key, etc. In order to be compatible with the existing traditional network mechanism, this scheme introduces two schemes, Ipv4 and IPV6.

[0068] When the IPV4 solution is adopted, each registration server (gateway) also acts as a DHCP server, dynamically assigning a private domain address to the newly joined node. If there are multiple gateway nodes in the same management domain, each gateway node maintains a private IP address segment. Whenever a node enters the network, if it has not registered in advance, the gateway node confirms the registration information and assigns an IP address to the node at the same time when registering. If the node has been registered, when entering the network, it only needs to send a DHCP message to the gateway node to request an IP address.

[0069] When using the IPV6 solution, because the address space is relatively large, a similar Mobile Ipv6 address allocation mechanism can be used to obtain an IP address and register the address with the domain server.

[0070] Mobile nodes access the Internet;

[0071] When a mobile node in the management domain wants to access Internet node information, it sends the message to the gateway node; Internet nodes are generally fixed servers. When the gateway node determines that the destination is an Internet node, it will use the NAT solution as a proxy to replace the source IP in the message with the gateway IP and send it to the destination node. After receiving the message, it will then forward it to the mobile node in the domain. The communication process is as follows: Figure 2 shown.

[0072] Two mobile nodes that are not in the same domain communicate;

[0073] Currently, the interconnection between two private address domains (or Intranets) is basically achieved by using tunnels (VPN). If an internal node wants to access an external public node, NAT (Network Address Translation) is used. These two methods are suitable for networks with fixed nodes, but for nodes that move frequently, they may enter other management domains, and tunnel technology is not applicable in this scenario.

[0074] Assume that node a1@jmi.com wants to communicate with b1@jmi2.com. The two nodes are not in the same management domain and are both in their home domain. The process of solving this problem in this solution is as follows: Figure 3 As shown: Step 1: Node a1 sends the message to the gateway node (jmi.com)

[0075] Step 2: The gateway node obtains the IP address of the node (jmi2.com) through DNS, uses NAT technology to proxy the message, and sends a1's message to jmi2.com;

[0076] Step 3: After receiving the message, the gateway node jmi2.com forwards the message to the b1 node;

[0077] Step 4: The same is true when b1 sends to a1.

[0078] Roaming of mobile nodes (communicating with nodes in different domains);

[0079] In the Mobile IP solution, a permanent public IP address is assigned to the internal node (i.e., the home node), and a care-of address is applied when it moves to other management domains. The communication node first sends the message to the home node, and then sends it to the corresponding node through the care-of address. This solution requires a large number of public IP addresses, which is not feasible in practice.

[0080] In order to reduce the consumption of limited public IPv4 resources by mobile nodes, the following two methods based on the host identification mechanism can solve this problem well.

[0081] (1) When an external node wants to communicate with a node, it first knows the home network of the node based on the host identifier, obtains the IP address of the current management domain of the node, and sends the IP address of all the current management domains of the requesting node; then it sends the data message to the node of the corresponding management domain; finally, the management domain receives the message and forwards it to the mobile node; suppose node a1@jmi.com wants to communicate with b1@jmi2.com, but node b1 has moved to the management domain of jmi3.com, the message interaction process is as follows: Figure 4 As shown:

[0082] Step 1: Node a1 sends a message to the gateway node of node b1 (jmi2.com) (this process is the process of mobile node accessing the Internet) to obtain jmi3.com where b1 is located;

[0083] Step 2: Treat jmi3.com as the home domain of b1 and use (communication between two mobile nodes that are not in the same domain) to communicate.

[0084] (2) When an external node wants to communicate with a certain node, it first obtains the node's home management domain (IP address) based on the host identifier and sends the data message directly to its home management domain node; then the home management domain node determines whether the node is still in the management domain, and if so, it directly forwards the message; otherwise, it sends the message to the node of the corresponding management domain based on its registered mobility management domain; the management domain node forwards the message after receiving it. The communication process is as follows Figure 5 As shown; Step 1: Node a1 sends the message to the hometown gateway node (jmi.com);

[0085] Step 2: The gateway node obtains the IP address of the node (jmi2.com) through DNS, and forwards the message to the hometown gateway node (jmi2.com) of b1 using NAT;

[0086] Step 3: b1's home gateway node (jmi2.com) determines whether b1 is in the domain. If so, it forwards the message directly. Otherwise, it obtains the IP address of the current domain (jmi3.com) based on the registration result and forwards the message to the node (jmi3.com).

[0087] Step 4: The gateway node (jmi3.com) forwards the message to the b1 node based on the registration information to achieve mobile node roaming communication.

[0088] The method of realizing the interconnection between mobile Ad hoc network and INTERNET based on host identification is mainly manifested in the following three aspects. First, it is a simple extension of the existing mobile Ad hoc (point-to-point) network routing protocol. The mapping between host identification and IP address is realized while building routing. The protocol adopts host identification in upper-layer application communication and IP address identification in the lower-layer datagram transmission process, which deconstructs the dual identity of traditional IP address and is fully compatible with the existing traditional network mechanism. Then, based on the autonomous domain gateway agent combined with NAT, it is realized that external nodes can directly access the private address network nodes inside Ad hoc, which solves the limitation that each node must be assigned a public IP address in the mobile IP mechanism and reduces the demand for public IP addresses. Finally, an adaptive threshold mechanism is adopted in the Ad hoc autonomous domain to automatically adjust the transmission range of the gateway announcement message and reduce the network overhead of the gateway discovery process.

[0089] In summary, the present invention not only realizes communication based on host identification between an ad hoc network, but also realizes interconnection with the Internet. On this basis, nodes in two different ad hoc networks can also communicate based on host identification, realizing the function of mobile IP.

[0090] Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present invention. In order to provide a concise description of the exemplary embodiments, all features of the actual embodiments (i.e., those features that are not relevant to the best mode currently considered for carrying out the present invention, or those features that are not relevant to the implementation of the present invention) may not be described.

[0091] It will be appreciated that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but will be a routine task of design, fabrication, and production for those of ordinary skill having the benefit of this disclosure without undue experimentation.

[0092] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced without departing from the spirit and scope of the technical solutions of the present invention, which should be included in the scope of the claims of the present invention.

Claims

1. A method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier, characterized in that , the method comprises: S1. Establish a host identification mechanism to reduce the number of routing entries in intermediate routers. A hierarchical structure is adopted, where the high-order address identifies the network address and the low-order address identifies the host address. S2. Establish a host registration mechanism. When a mobile node joins a management domain, it must register with the registration server. S3, nodes in the same domain communicate on the mobile network, and nodes establish routing and complete the mapping relationship between host identifier and IP address; S4. Establish a gateway request mechanism. When a node enters the network, it registers with the gateway registration server in the domain or obtains its IP address from the gateway. S5. Establish an IP address allocation mechanism as an identifier in the process of routing forwarding and data packet transmission to achieve compatibility with existing traditional network mechanisms; S6, establish a mobile node to access the Internet, access Internet node information in the management domain, and send the message to the gateway node; S7, realize the communication between two mobile nodes that are not in the same domain; S8. Realize roaming of mobile nodes.

2. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 1, characterized in that: The S1 includes two entities: (1) a node registration server within the domain: it records the host identification information of each node within the domain, including other auxiliary information such as the assigned IP address information; there is only one node registration server logically within a management domain, but multiple nodes can be used during deployment, and the node registration server can serve as a gateway; (2) a host identification and IP address mapping table: the table mainly has three fields, namely: host identification, host IP address and usage frequency; the table resides in the mobile node memory, caches the node information with which it communicates, and is created when the route is established.

3. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 2, characterized in that: S2 includes two methods of host registration: (1) according to the existing telecommunications mechanism, the host is directly registered when the device is purchased; (2) a host registration message is sent to the management domain to submit the host name and identity information. The management server determines the uniqueness and legitimacy. If it passes, it is registered. Otherwise, it requires renaming.

4. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 2, characterized in that: The S3 includes that if the mobile node communicates with the node of the same network, it can send a routing request message, which contains its own host identification name and IP address and the host name of the requested communication; when the destination node receives the request message, it will add a record in the host identification and IP address mapping table and send a response message; The sending node receives the message and fills in the mapping table, and then proceeds with subsequent communications.

5. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 2, characterized in that: The S4 includes avoiding excessive network overhead. When a node sends a gateway request message, the hop count is increased exponentially, with a default value of 2. If the request fails, the hop count increases exponentially.

6. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 2, characterized in that: In order to be compatible with the existing traditional network mechanism, this step adopts both Ipv4 and IPV6 solutions.

7. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 1, characterized in that: In S6, the mobile node needs to send a message to the gateway node in order to access the Internet node information in the management domain.

8. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 2, characterized in that: In S7, for example, if node a1@jmi.com wants to communicate with b1@jmi2.com, the two nodes are not in the same management domain and are both in their own home domains. The implementation steps are: (1) Node a1 sends a message to the gateway node; (2) The gateway node obtains the node's IP address through DNS, uses NAT technology to proxy the message, and sends a1's message to jmi2.com; (3) After receiving the message, the gateway node jmi2.com forwards the message to the b1 node; (4) The same is true for b1 sending to a1.

9. The method for interconnecting a mobile Ad hoc network with the Internet based on a host identifier according to claim 1, characterized in that: The method steps S1-S8 also include using an adaptive threshold mechanism based on a host identification mechanism within an Ad hoc autonomous domain to automatically adjust the transmission range of gateway announcement messages in order to reduce the consumption of limited public IPv4 resources by mobile nodes, thereby reducing the network overhead of the gateway discovery process.