A cross-domain networking communication method and device suitable for wireless self-organizing network

By using SDN software and Layer 2 wireless ad hoc network active routing protocol technology in wireless ad hoc network, we build a cross-domain ad hoc network and adaptively select gateway nodes, solving the changes in node-cross-network mobile and subnetwork of wireless ad hoc networks. The flexibility issues at the moment have improved network collaboration capabilities.

CN115413068BActive Publication Date: 2024-11-15湖南智领通信科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211072122.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2024-11-15
Estimated Expiration
2042-09-02

AI Technical Summary

Technical Problem

The existing wireless ad hoc network needs to reconfigure the network when nodes move across networks, subnet convergence or subnet splits. It is not flexible enough to use and lacks adaptive cross-domain network communication capabilities.

Method used

Through SDN software and Layer 2 wireless ad hoc network active routing protocol technology, nodes in wireless ad hoc network are processed, cross-domain ad hoc network is built, GW_FLAG field is added to identify gateway nodes, and gateways are adaptively selected between nodes. nodes to realize the flexibility and adaptability of cross-domain network communication.

Benefits of technology

When nodes are moved across networks, converged or split between wireless ad hoc network teams, gateway nodes can be automatically selected, which improves the network collaboration capabilities of wireless ad hoc networks and improves communication flexibility and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115413068B_ABST
    Figure CN115413068B_ABST
Patent Text Reader

Abstract

The present application relates to a cross-domain networking communication method and device suitable for wireless self-organizing networks. The method includes: processing nodes in a wireless self-organizing network according to SDN software and a two-layer wireless self-organizing network active routing protocol technology to obtain a two-layer switching network; extending the routing protocol of nodes in the two-layer switching network to construct a cross-domain self-organizing network; the cross-domain self-organizing network includes multiple self-organizing network teams; the self-organizing network team includes multiple self-organizing network nodes; the self-organizing network node is a gateway node or a non-gateway node; in the cross-domain self-organizing network, a single self-organizing network node can flexibly join or leave different self-organizing network teams to perform subnet fusion or subnet splitting, and adaptively select the gateway nodes of different self-organizing network teams for cross-domain networking communication. The use of this method can improve the network collaboration capability of wireless self-organizing networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a cross-domain networking communication method, device, computer equipment and storage medium suitable for wireless self-organizing networks. Background Art

[0002] Wireless ad hoc networks are decentralized and distributed. Wireless ad hoc network devices can perform local networking communications that are independent of infrastructure by configuring the same radio frequency parameters. For cross-domain ad hoc network teams in different regions or even countries, communication is currently generally achieved through external gateway devices and manual network settings.

[0003] At present, communication between cross-domain self-organizing network teams in different regions or even different countries is generally achieved through external gateway devices and manual network settings. However, when nodes move across networks, subnets merge or split between self-organizing network teams, the network needs to be reconfigured, which is not flexible enough to use. Summary of the invention

[0004] Based on this, it is necessary to provide a cross-domain networking communication method, device, computer equipment and storage medium suitable for wireless self-organizing networks that can improve the network collaboration capability of wireless self-organizing networks in response to the above technical problems.

[0005] A cross-domain networking communication method applicable to a wireless ad hoc network, the method comprising:

[0006] Obtain the wireless ad hoc network to be processed;

[0007] According to the SDN software and the active routing protocol technology of the layer 2 wireless ad hoc network, the nodes in the wireless ad hoc network are processed to obtain a layer 2 switching network;

[0008] The routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain self-organizing network; the cross-domain self-organizing network includes multiple self-organizing network teams; the self-organizing network team includes multiple self-organizing network nodes; the self-organizing network node is a gateway node or a non-gateway node;

[0009] In a cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc teams for cross-domain networking communications.

[0010] In one embodiment, the routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain ad hoc network, further comprising:

[0011] The routing protocol of the nodes in the Layer 2 switching network is extended to build a cross-domain self-organizing network. A GW_FLAG field is added to the original routing protocol frame OM frame to indicate whether the node is a gateway node. The routing protocol frame GW_FLAG is set to 1 for the alternative gateway node with public network access capability, and the routing frame OM frame is periodically sent to other nodes in the network.

[0012] In one of the embodiments, after a single ad hoc network node in a cross-domain ad hoc network receives a routing frame OM frame, if the node is a non-alternative gateway node, the node is selected as the gateway node of the node and the corresponding mark in the source node list is updated; if OM frames are received from multiple different source nodes and are marked as alternative gateways, the node with the smallest MAC address is selected as the gateway node of the node; if the node is an alternative gateway node, if OM frames from other alternative gateway nodes are received and the MAC addresses of other alternative gateway nodes are smaller, the gateway function of the node is invalidated and the alternative gateway node is selected as the gateway node of the node.

[0013] In one of the embodiments, if a single ad hoc network node in a cross-domain ad hoc network does not receive an OM frame from a selected gateway node within a period of time, if the node is a candidate gateway node, and there are other candidate gateway nodes in the source node list, and the node with the smallest MAC address is smaller than the MAC address of the node, then the node with the smallest MAC address is selected as the gateway node; if the node with the smallest MAC address is larger than the MAC address of the node, or there are no other candidate gateway nodes in the source node list, then the gateway function of the node is revalidated;

[0014] If this node is not a candidate gateway node and there are other candidate gateway nodes in the source node list, the node with the smallest MAC address is selected as the gateway node of this node; if there are no other candidate gateway nodes in the source node list, it means that there is no candidate gateway in the network where this node is located.

[0015] In one embodiment, nodes in the wireless ad hoc network are processed according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network, including:

[0016] The nodes in the wireless ad hoc network are processed according to the SDN software and the Layer 2 wireless ad hoc network active routing protocol technology. Each ad hoc network node runs the SDN software and the Layer 2 wireless ad hoc network routing protocol software at the same time, and multiple wireless ad hoc network teams connected to the public network are simulated as a virtual Layer 2 switching network.

[0017] In one embodiment, a single ad hoc network node in a cross-domain ad hoc network can flexibly join or leave different ad hoc network teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc network teams for cross-domain networking communication, including:

[0018] In a cross-domain ad hoc network, when different ad hoc network teams merge their subnets, one of the gateway nodes is automatically selected as the gateway node of the merged ad hoc network team.

[0019] A cross-domain networking communication device suitable for a wireless ad hoc network, the device comprising:

[0020] The network node processing module is used to obtain the wireless ad hoc network to be processed; the nodes in the wireless ad hoc network are processed according to the SDN software and the active routing protocol technology of the second-layer wireless ad hoc network to obtain the second-layer switching network;

[0021] Construct a cross-domain self-organizing network module, which is used to expand the routing protocol of the nodes in the layer 2 switching network to construct a cross-domain self-organizing network; the cross-domain self-organizing network includes multiple self-organizing network teams; the self-organizing network team includes multiple self-organizing network nodes; the self-organizing network node is a gateway node or a non-gateway node;

[0022] The cross-domain networking communication module is used to enable a single self-organizing node in a cross-domain self-organizing network to flexibly join or leave different self-organizing teams for subnet fusion or subnet splitting, and adaptively select gateway nodes of different self-organizing teams for cross-domain networking communication.

[0023] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0024] Obtain the wireless ad hoc network to be processed;

[0025] According to the SDN software and the active routing protocol technology of the layer 2 wireless ad hoc network, the nodes in the wireless ad hoc network are processed to obtain a layer 2 switching network;

[0026] The routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain self-organizing network; the cross-domain self-organizing network includes multiple self-organizing network teams; the self-organizing network team includes multiple self-organizing network nodes; the self-organizing network node is a gateway node or a non-gateway node;

[0027] In a cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc teams for cross-domain networking communications.

[0028] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0029] Obtain the wireless ad hoc network to be processed;

[0030] According to the SDN software and the active routing protocol technology of the layer 2 wireless ad hoc network, the nodes in the wireless ad hoc network are processed to obtain a layer 2 switching network;

[0031] The routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain self-organizing network; the cross-domain self-organizing network includes multiple self-organizing network teams; the self-organizing network team includes multiple self-organizing network nodes; the self-organizing network node is a gateway node or a non-gateway node;

[0032] In a cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc teams for cross-domain networking communications.

[0033] The above-mentioned cross-domain networking communication method, device, computer equipment and storage medium suitable for wireless self-organizing networks, the present application processes the nodes in the wireless self-organizing network, each self-organizing network node simultaneously runs the SDN software and the two-layer wireless self-organizing network routing protocol software, simulates multiple wireless self-organizing network teams connected to the public network as a virtual two-layer switching network, and expands the routing protocol of the nodes in the two-layer switching network to build a cross-domain self-organizing network. In the cross-domain self-organizing network, a single self-organizing network node can flexibly join or leave different self-organizing network teams to perform subnet fusion or subnet splitting, and adaptively select the gateway nodes of different self-organizing network teams for cross-domain networking communication, so that when nodes move across the network, subnets merge or subnets split between self-organizing network teams, gateway nodes can be adaptively selected, effectively improving the network collaboration capability of the wireless self-organizing network. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a flow chart of a cross-domain networking communication method applicable to a wireless ad hoc network in an embodiment;

[0035] Figure 2 A schematic diagram of a layer 2 switching network in one embodiment;

[0036] Figure 3 is a schematic diagram of an extended routing protocol frame in one embodiment;

[0037] Figure 4 A schematic diagram of adaptively selecting a self-organizing network team in one embodiment;

[0038] Figure 5 is a schematic diagram of subnet fusion in another embodiment;

[0039] Figure 6 is a schematic diagram of subnet splitting in one embodiment;

[0040] Figure 7 It is a structural block diagram of a cross-domain networking communication device suitable for a wireless ad hoc network in one embodiment;

[0041] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] In one embodiment, Figure 1 As shown, a cross-domain networking communication method applicable to a wireless ad hoc network is provided, comprising the following steps:

[0044] Step 102, obtaining the wireless ad hoc network to be processed; processing the nodes in the wireless ad hoc network according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network.

[0045] According to SDN and Layer 2 wireless ad hoc network active routing protocol technology, each ad hoc network node runs SDN software and Layer 2 wireless ad hoc network routing protocol software at the same time. Multiple wireless ad hoc network teams connected to the public network are like a large virtual Layer 2 switching network. As long as all devices are in the same network segment, TCP / IP-based network communication can be carried out. Figure 2 As shown in the figure, the Layer 2 switching network supports multiple public network access methods such as optical fiber fixed network, 3G / 4G mobile communication, satellite private network, etc. In the same self-organizing network team, as long as there is a node with public network access capability, the node can be used as the gateway of the self-organizing network team, and the network communication with other self-organizing network teams across domains can be carried out through the gateway node.

[0046] Step 104, the routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain ad hoc network; the cross-domain ad hoc network includes multiple ad hoc network teams; the ad hoc network teams include multiple ad hoc network nodes; the ad hoc network nodes are gateway nodes or non-gateway nodes.

[0047] like Figure 3As shown in the figure, it is the routing protocol frame of the expanded node. A GW_FLAG field is added on the basis of the original periodic routing protocol frame OM frame. The GW_FLAG field is used to indicate whether this node is the candidate gateway node of this self-organizing network team. When all nodes of a self-organizing network team are powered on and networked, the candidate gateway node with public network access capability sets the routing protocol frame GW_FLAG to 1 and periodically sends the routing frame OM frame.

[0048] Step 106: In the cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc teams to perform cross-domain networking communication.

[0049] In a cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams, and adaptively select gateway nodes of different ad hoc teams for cross-domain networking communication. Figure 4 As shown, node 3 is located in the communication range of self-organizing team 1, and can communicate with self-organizing team 2 through the gateway node of self-organizing team 1. When node 3 leaves self-organizing team 1 and moves to the communication range of self-organizing team 2, it automatically joins self-organizing team 2 and continues to communicate with self-organizing team 1 through the gateway node of self-organizing team 2.

[0050] In the above-mentioned cross-domain networking communication method applicable to wireless self-organizing networks, the present application processes the nodes in the wireless self-organizing network, and each self-organizing network node simultaneously runs the SDN software and the two-layer wireless self-organizing network routing protocol software, simulates multiple wireless self-organizing network teams connected to the public network as a virtual two-layer switching network, and expands the routing protocol of the nodes in the two-layer switching network to build a cross-domain self-organizing network. In the cross-domain self-organizing network, a single self-organizing network node can flexibly join or leave different self-organizing network teams for subnet fusion or subnet splitting, and adaptively select the gateway nodes of different self-organizing network teams for cross-domain networking communication, so that when cross-network node movement, subnet fusion or subnet splitting occurs between self-organizing network teams, the gateway node can be adaptively selected, which effectively improves the network collaboration capability of the wireless self-organizing network.

[0051] In one embodiment, the routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain ad hoc network, further comprising:

[0052] The routing protocol of the nodes in the Layer 2 switching network is extended to build a cross-domain self-organizing network. A GW_FLAG field is added to the original routing protocol frame OM frame to indicate whether the node is a gateway node. The routing protocol frame GW_FLAG is set to 1 for the alternative gateway node with public network access capability, and the routing frame OM frame is periodically sent to other nodes in the network.

[0053] In one of the embodiments, after a single ad hoc network node in a cross-domain ad hoc network receives a routing frame OM frame, if the node is a non-alternative gateway node, the node is selected as the gateway node of the node and the corresponding mark in the source node list is updated; if OM frames are received from multiple different source nodes and are marked as alternative gateways, the node with the smallest MAC address is selected as the gateway node of the node; if the node is an alternative gateway node, if OM frames from other alternative gateway nodes are received and the MAC addresses of other alternative gateway nodes are smaller, the gateway function of the node is invalidated and the alternative gateway node is selected as the gateway node of the node.

[0054] In one of the embodiments, if a single ad hoc network node in a cross-domain ad hoc network does not receive an OM frame from a selected gateway node within a period of time, if the node is a candidate gateway node, and there are other candidate gateway nodes in the source node list, and the node with the smallest MAC address is smaller than the MAC address of the node, then the node with the smallest MAC address is selected as the gateway node; if the node with the smallest MAC address is larger than the MAC address of the node, or there are no other candidate gateway nodes in the source node list, then the gateway function of the node is revalidated;

[0055] If this node is not a candidate gateway node and there are other candidate gateway nodes in the source node list, the node with the smallest MAC address is selected as the gateway node of this node; if there are no other candidate gateway nodes in the source node list, it means that there is no candidate gateway in the network where this node is located.

[0056] In one embodiment, nodes in the wireless ad hoc network are processed according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network, including:

[0057] The nodes in the wireless ad hoc network are processed according to the SDN software and the Layer 2 wireless ad hoc network active routing protocol technology. Each ad hoc network node runs the SDN software and the Layer 2 wireless ad hoc network routing protocol software at the same time, and multiple wireless ad hoc network teams connected to the public network are simulated as a virtual Layer 2 switching network.

[0058] In one embodiment, a single ad hoc network node in a cross-domain ad hoc network can flexibly join or leave different ad hoc network teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc network teams for cross-domain networking communication, including:

[0059] In a cross-domain ad hoc network, when different ad hoc network teams merge their subnets, one of the gateway nodes is automatically selected as the gateway node of the merged ad hoc network team.

[0060] In a specific embodiment, when different ad hoc network teams merge their subnets, one of the gateway nodes can be automatically selected as the gateway node of the merged ad hoc network team without any user operation. Figure 5 As shown in the figure, the three ad hoc teams communicate through their own gateway nodes in the public network. When node 3 moves toward ad hoc team 2 and is in the communication range of ad hoc team 1 and ad hoc team 2 at the same time, ad hoc team 1 and ad hoc team 2 merge into one subnet, and automatically select node 5 as the gateway node of the merged subnet, and disable the redundant gateway node 2. Figure 6 As shown, when node 3 continues to move forward and disconnects from ad hoc network team 1, ad hoc network team 1 and ad hoc network team 2 are split into two subnets, and gateway node 2 of ad hoc network team 1 automatically becomes effective again.

[0061] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0062] In one embodiment, Figure 7 As shown, a cross-domain networking communication device suitable for a wireless ad hoc network is provided, including: a network node processing module 702, a cross-domain ad hoc network construction module 704 and a cross-domain networking communication module 706, wherein:

[0063] The network node processing module 702 is used to obtain the wireless ad hoc network to be processed; the nodes in the wireless ad hoc network are processed according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network;

[0064] The cross-domain ad hoc network construction module 704 is used to expand the routing protocol of the nodes in the layer 2 switching network to construct a cross-domain ad hoc network; the cross-domain ad hoc network includes multiple ad hoc network teams; the ad hoc network teams include multiple ad hoc network nodes; the ad hoc network nodes are gateway nodes or non-gateway nodes;

[0065] The cross-domain networking communication module 706 is used to enable a single ad hoc network node in a cross-domain ad hoc network to flexibly join or leave different ad hoc network teams for subnet fusion or subnet splitting, and to adaptively select gateway nodes of different ad hoc network teams for cross-domain networking communication.

[0066] In one embodiment, the cross-domain ad hoc network building module 704 is further used to extend the routing protocol of the nodes in the layer 2 switching network to build the cross-domain ad hoc network, and further includes:

[0067] The routing protocol of the nodes in the Layer 2 switching network is extended to build a cross-domain self-organizing network. A GW_FLAG field is added to the original routing protocol frame OM frame to indicate whether the node is a gateway node. The routing protocol frame GW_FLAG is set to 1 for the alternative gateway node with public network access capability, and the routing frame OM frame is periodically sent to other nodes in the network.

[0068] In one of the embodiments, the cross-domain networking communication module 706 is also used for, after a single self-organizing node in a cross-domain self-organizing network receives a routing frame OM frame, if the node is a non-alternative gateway node, selecting the node as the gateway node of the node and updating the corresponding mark in the source node list; if OM frames received from multiple different source nodes are marked as alternative gateways, the node with the smallest MAC address is selected as the gateway node of the node; if the node is an alternative gateway node, if OM frames from other alternative gateway nodes are received, and the MAC addresses of other alternative gateway nodes are smaller, the gateway function of the node is disabled, and the alternative gateway node is selected as the gateway node of the node.

[0069] In one of the embodiments, the cross-domain networking communication module 706 is also used for a single ad hoc network node in the cross-domain ad hoc network that does not receive an OM frame from the selected gateway node within a period of time. If the node is a candidate gateway node, and there are other candidate gateway nodes in the source node list, and the node with the smallest MAC address is smaller than the MAC address of the node, then the node with the smallest MAC address is selected as the gateway node; if the node with the smallest MAC address is larger than the MAC address of the node, or there are no other candidate gateway nodes in the source node list, then the gateway function of the node is revalidated;

[0070] If this node is not a candidate gateway node and there are other candidate gateway nodes in the source node list, the node with the smallest MAC address is selected as the gateway node of this node; if there are no other candidate gateway nodes in the source node list, it means that there is no candidate gateway in the network where this node is located.

[0071] In one embodiment, the network node processing module 702 is further used to process the nodes in the wireless ad hoc network according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network, including:

[0072] The nodes in the wireless ad hoc network are processed according to the SDN software and the Layer 2 wireless ad hoc network active routing protocol technology. Each ad hoc network node runs the SDN software and the Layer 2 wireless ad hoc network routing protocol software at the same time, and multiple wireless ad hoc network teams connected to the public network are simulated as a virtual Layer 2 switching network.

[0073] In one embodiment, the cross-domain networking communication module 706 is also used to enable a single ad hoc network node in a cross-domain ad hoc network to flexibly join or leave different ad hoc network teams for subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc network teams for cross-domain networking communication, including:

[0074] In a cross-domain ad hoc network, when different ad hoc network teams merge their subnets, one of the gateway nodes is automatically selected as the gateway node of the merged ad hoc network team.

[0075] For the specific definition of a cross-domain networking communication device suitable for a wireless ad hoc network, please refer to the definition of a cross-domain networking communication method suitable for a wireless ad hoc network in the above text, which will not be repeated here. Each module in the above-mentioned cross-domain networking communication device suitable for a wireless ad hoc network can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0076] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cross-domain networking communication method suitable for a wireless ad hoc network is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0077] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0078] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0079] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0080] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A cross-domain networking communication method suitable for a wireless ad hoc network, characterized in that: The method comprises: Obtain the wireless ad hoc network to be processed; Processing nodes in the wireless ad hoc network according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network; The routing protocol of the nodes in the layer 2 switching network is extended to construct a cross-domain ad hoc network; the cross-domain ad hoc network includes a plurality of ad hoc network teams; the ad hoc network teams include a plurality of ad hoc network nodes; the ad hoc network nodes are gateway nodes or non-gateway nodes; In the cross-domain ad hoc network, a single ad hoc node can flexibly join or leave different ad hoc teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different ad hoc teams to perform cross-domain networking communications; wherein, if a single ad hoc node completely leaves the communication range of the current ad hoc team and enters the communication range of another ad hoc team, the ad hoc node will be separated from the previous ad hoc team and will be networked with the other ad hoc team; if a single ad hoc node moves within the communication range of the current ad hoc team and enters the communication range of another ad hoc team, the two ad hoc teams will be merged based on the ad hoc node, and one gateway node in the two ad hoc teams will be selected as the gateway node of the merged ad hoc team.

2. The method according to claim 1, characterized in that Extending the routing protocol of the nodes in the layer 2 switching network to build a cross-domain ad hoc network also includes: The routing protocol of the nodes in the layer 2 switching network is extended to build a cross-domain self-organizing network. A GW_FLAG field is added to the original routing protocol frame OM frame to indicate whether the node is a gateway node. The routing protocol frame GW_FLAG is set to 1 for the alternative gateway node with public network access capability, and the routing frame OM frame is periodically sent to other nodes in the network.

3. The method according to claim 1, characterized in that The method further comprises: After a single self-organizing node in the cross-domain self-organizing network receives a routing frame OM frame, if the node is not a candidate gateway node, the node is selected as the gateway node of the node and the corresponding mark in the source node list is updated; if OM frames received from multiple different source nodes are marked as candidate gateways, the node with the smallest MAC address is selected as the gateway node of the node; if the node is a candidate gateway node, if OM frames from other candidate gateway nodes are received and the MAC addresses of other candidate gateway nodes are smaller, the gateway function of the node is invalidated, and the candidate gateway node is selected as the gateway node of the node.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: In the cross-domain ad hoc network, if a single ad hoc network node does not receive an OM frame from the selected gateway node within a period of time, if the node is a candidate gateway node, and there are other candidate gateway nodes in the source node list, and the node with the smallest MAC address is smaller than the MAC address of the node, then the node with the smallest MAC address is selected as the gateway node; if the node with the smallest MAC address is larger than the MAC address of the node, or there are no other candidate gateway nodes in the source node list, then the gateway function of the node is revalidated; If this node is not a candidate gateway node and there are other candidate gateway nodes in the source node list, the node with the smallest MAC address is selected as the gateway node of this node; if there are no other candidate gateway nodes in the source node list, it means that there is no candidate gateway in the network where this node is located.

5. The method according to claim 1, characterized in that: The nodes in the wireless ad hoc network are processed according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network, including: The nodes in the wireless ad hoc network are processed according to the SDN software and the two-layer wireless ad hoc network active routing protocol technology. Each ad hoc network node runs the SDN software and the two-layer wireless ad hoc network routing protocol software at the same time, and multiple wireless ad hoc network teams connected to the public network are simulated as a virtual two-layer switching network.

6. A cross-domain networking communication device suitable for a wireless ad hoc network, characterized in that: The device comprises: A network node processing module is used to obtain a wireless ad hoc network to be processed; the nodes in the wireless ad hoc network are processed according to the SDN software and the layer 2 wireless ad hoc network active routing protocol technology to obtain a layer 2 switching network; Constructing a cross-domain ad hoc network module, which is used to expand the routing protocol of the nodes in the layer 2 switching network to construct a cross-domain ad hoc network; the cross-domain ad hoc network includes a plurality of ad hoc network teams; the ad hoc network teams include a plurality of ad hoc network nodes; the ad hoc network nodes are gateway nodes or non-gateway nodes; A cross-domain networking communication module is used to enable a single self-organizing node in the cross-domain self-organizing network to flexibly join or leave different self-organizing teams to perform subnet fusion or subnet splitting, and adaptively select gateway nodes of different self-organizing teams to perform cross-domain networking communication; wherein, if a single self-organizing node completely leaves the communication range of the current self-organizing team and enters the communication range of another self-organizing team, the self-organizing node will be separated from the previous self-organizing team and networked with the other self-organizing team; if a single self-organizing node moves within the communication range of the current self-organizing team and enters the communication range of another self-organizing team, the two self-organizing teams will be merged based on the self-organizing node, and one gateway node in the two self-organizing teams will be selected as the gateway node of the merged self-organizing team.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.