Rapid construction method and device for distributed wireless ad hoc network
By defining node status, building a virtual backbone network and optimizing links, the problems of traditional wireless ad hoc networks in node status management and network connectivity are solved, and an efficient and stable distributed wireless ad hoc network is constructed.
Patent Information
- Application Number
- CN202410714168.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the construction process of traditional wireless self-organizing networks, there are challenges in node status management, backbone network construction and node network access mechanisms, etc., resulting in low network construction efficiency and unstable connectivity.
By defining the status of network nodes, implementing the status transition mechanism between nodes, building and maintaining a virtual backbone network, sharing neighbor status information and service time slot occupancy, building a network access mechanism for nodes not connected to the network, and performing link optimization and dynamic topology Maintain strategies to optimize link length and network connectivity.
It improves the efficiency of network construction, improves network connectivity and stability, enhances the adaptive ability of the network, and provides important technical support for building an efficient and stable distributed wireless self-organizing network.
Smart Images

Figure CN118574131A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communication networks, and in particular to a method and device for quickly constructing a distributed wireless self-organizing network. Background Art
[0002] Wireless self-organizing network is a technology different from traditional wireless communication network. Traditional wireless communication network requires a fixed network base station to execute user access and forward user data. This traditional wireless communication network has a large number of base stations built in relatively densely populated areas to provide us with communication. However, in remote areas or when conducting large-scale emergency rescue, the lack of base station coverage will lead to communication difficulties, limiting the spread of information in space. In order to cope with this situation, wireless self-organizing network came into being.
[0003] A wireless ad hoc network is a special self-organizing, peer-to-peer, multi-hop, wireless mobile network composed of a group of mobile terminals with wireless transceivers. Compared with the traditional infrastructure network model, a wireless ad hoc network has strong scalability, flexibility and self-organization. It does not require the establishment of fixed base stations. In the absence of a central control node, the hosts can be interconnected and the network can be established anytime and anywhere. Through the collaboration and routing selection between nodes, a wireless communication network with wider coverage, larger capacity and stronger robustness can be realized.
[0004] Distributed wireless self-organizing network nodes use ultra-short wave links to achieve communication. The core of the rapid construction of self-organizing networks is to solve the signal conflict problem of multiple wireless nodes and the information consistency problem of multiple nodes in an unreliable wireless environment. This is also the main function of the self-organizing network link and access layer.
[0005] This paper proposes a method and device for quickly building a distributed wireless self-organizing network, which involves the field of wireless communication technology. In special environments where the public network is missing (such as remote mountainous areas, public network signal interruption, etc.), self-organizing network devices are needed to provide wireless network coverage. Multiple self-organizing network devices are deployed in a star or mesh topology to achieve information exchange within the region. In addition, the self-organizing network node relay can further transmit data remotely and monitor the on-site situation in real time. Summary of the invention
[0006] In view of the above-mentioned problems, the present invention is proposed.
[0007] Therefore, the technical problem solved by the present invention is: how to solve the challenges of node status management, backbone network construction, node access mechanism, etc. in the construction process of traditional wireless self-organizing networks, which lead to problems such as low network construction efficiency and unstable network connectivity.
[0008] To solve the above technical problems, the present invention provides the following technical solutions: A method for quickly constructing a distributed wireless self-organizing network, comprising: defining the node states in the network and implementing a state transition mechanism between nodes;
[0009] Build and maintain a virtual backbone network to share neighbor status information and service time slot occupancy;
[0010] Build a network access mechanism for nodes not on the network and perform state transfer for non-backbone nodes;
[0011] Perform link optimization and dynamic topology maintenance strategies to optimize link length and network connectivity by automatically adjusting node status.
[0012] As a preferred solution of the method for rapidly constructing a distributed wireless self-organizing network of the present invention, wherein: the node status in the network is defined, including dividing the network nodes into backbone nodes, non-backbone nodes and non-networked nodes;
[0013] When a node is on a virtual backbone link, it is a backbone node and can autonomously send service data and forward service data from other nodes;
[0014] A node with at least one backbone neighbor is a non-backbone node. A non-backbone node can only send its own business data and cannot forward business data of other nodes.
[0015] All nodes except backbone nodes and non-backbone nodes are non-networked nodes and are unable to join the network.
[0016] As a preferred solution of the method for rapidly constructing a distributed wireless self-organizing network of the present invention, the state transition mechanism between the nodes includes that the nodes can undergo state transition, at the initial moment only the initiating node is turned on and transitioned to the backbone state, and other nodes are transitioned to the non-networked state;
[0017] Then the nodes that were not connected to the network were powered on one after another and joined the virtual backbone network. After the nodes were connected to the network, they were first transferred to the non-backbone active state;
[0018] When the active cycle ends, it transfers to the non-backbone normal state;
[0019] A node in the non-backbone normal state switches to the non-backbone active state when it detects that there are neighbors that are not connected to the network;
[0020] A node in any non-backbone state will be transferred to the backbone state when it is needed by a neighboring node, and will be transferred to the off-network state when it finds that there are no backbone neighbors around;
[0021] A node in the backbone state will transition to the non-backbone normal state when it confirms its own redundancy.
[0022] As a preferred solution of the method for rapidly constructing a distributed wireless self-organizing network of the present invention, wherein: the construction and maintenance of the virtual backbone network includes: all backbone nodes constitute a virtual backbone link in the virtual backbone network, ensuring that each node has at least one backbone neighbor node, and all backbone nodes can communicate directly or indirectly through the backbone link;
[0023] Establish a neighbor status table to store the surrounding neighboring nodes. The node needs to maintain the status of all one-hop neighbors within its transmission range. k , establish a one-hop neighbor table to store its one-hop neighbor status H′(u k ) elements in a collection;
[0024] Nodes need to reuse time slots in space, which requires nodes to know the existence of two-hop neighbors. k , establish a two-hop neighbor table to store its two-hop neighbor status H″(u k ) elements in a collection;
[0025] It is stipulated that the two-hop neighbor table does not contain one-hop neighbor nodes, that is,
[0026] Establish a service time slot table. Each node needs to maintain its own occupied time slot table to inform neighboring nodes;
[0027] Maintain the one-hop neighbor slot table and the two-hop neighbor slot table separately;
[0028] Nodes use periodic broadcast Hello packets to notify each other, and other control signaling interactions between nodes are completed through special burst control packets;
[0029] The one-hop neighbor includes that if two nodes can communicate directly through a wireless transmission link without forwarding data through other nodes, then the two nodes are one-hop neighbors to each other;
[0030] The two-hop neighbor includes a node that can be reached only through a one-hop neighbor, and these two nodes are two-hop neighbors to each other.
[0031] As a preferred solution of the method for rapidly constructing a distributed wireless self-organizing network described in the present invention, wherein: the network access mechanism of the non-networked node includes: a newly powered-on non-networked node u x The network access method of a node will depend on the overall network status of its one-hop neighbor set;
[0032] When node u x When there is at least one backbone neighbor node connected to the network, the node u xUpon receiving the backbone node u y After receiving the Hello packet, the network authentication is initiated;
[0033] If authentication is successful, u x Have the qualification to compete for the control time slot to broadcast the Hello packet;
[0034] If u x When CSMA succeeds and broadcasts the first Hello packet, u x Become a non-backbone node and successfully enter the virtual backbone network;
[0035] When u x There is no one-hop backbone neighbor node connected to the network, but there is at least one non-backbone neighbor node u connected to the network z At u x Received z When the first Hello packet is received, u x Can initiate competition for control channels after successful authentication;
[0036] If u x When the first CSMA succeeds, u x Broadcast its own Hello packet to inform the network node of its existence, u x Waiting period T ua Then participate in the competition for the control channel again;
[0037] If u x Participate in the competition for the control channel and succeed again in CSMA, u x Nominate a non-backbone node to enter the virtual backbone network;
[0038] u x Select a non-backbone node u according to the backbone recommendation rule z Send a signal to it, requesting u z Become a backbone node;
[0039] The non-backbone node state transfer includes transferring to a non-backbone active state when a non-networked node successfully joins the network;
[0040] When the non-backbone active state ends its active period, it is transferred to the non-backbone normal state;
[0041] When a common non-backbone node receives a Hello packet from a neighbor that is not on the network, it switches to the non-backbone active state.
[0042] As a preferred solution of the method for rapidly constructing a distributed wireless self-organizing network described in the present invention, wherein: the link optimization and dynamic topology maintenance strategy includes: when the non-backbone node u z Discover its two neighboring backbone nodes u p 、uq The number of link hops between pq >4 o'clock, u z Transformed into a backbone node to strengthen the CDS link;
[0043] Node u z According to u p 、u q The neighbor table in the periodic Hello packet is used to make link optimization decisions;
[0044] When u z When initiating an optimization check, determine u p and u q Whether there is a common two-hop backbone neighbor node, u z Find the local cache u p The backbone node in the neighbor table of the last Hello packet and u q Whether there is an intersection between the backbone nodes in the neighbor table of the last Hello packet;
[0045] The neighbor table includes u p One-hop neighbor table and two-hop neighbor table;
[0046] When u p and u q When there is a common two-hop backbone neighbor node, u z Keep the non-backbone state and do not perform CDS link optimization;
[0047] Otherwise, it means u p and u q The link hop count between them is greater than four hops. z Determine whether it is u p and u q The one with the smallest ID number among the public one-hop neighbors, if so, the number of markers ν will be optimized optim Add 1;
[0048] Node u z Only when optimizing the number of markers ν optim Reaching the threshold optim Only then will actual optimization and supplementation be carried out and the nodes will be transformed into backbone nodes.
[0049] A device for quickly constructing a distributed wireless self-organizing network, characterized in that it includes:
[0050] Transceiver antenna and RF transceiver: used to receive and send wireless signals to achieve communication between nodes;
[0051] Low noise amplifier and filter: used for signal amplification and filtering to improve signal quality and anti-interference ability;
[0052] ADC and DAC: used for analog-to-digital conversion and digital-to-analog conversion, converting received analog signals into digital signals for processing, and converting digital signals into analog signals for transmission;
[0053] Baseband processor: responsible for processing, modulation and demodulation of digital signals;
[0054] Protocol processor: used to implement network layer and protocol gateway functions;
[0055] SubGHz transceiver unit: includes baseband processing and RF front end, used for wireless communication in the SubGHz frequency band and responsible for processing high-throughput data operations;
[0056] Link and access layer: controls the channel access of the transceiver unit and coordinates the RF front end to communicate at the appropriate time and using waveforms;
[0057] Network layer: realize autonomous routing selection and optimal strategy based on QoS network intercommunication to ensure network operation;
[0058] Protocol gateway: realizes the conversion of data packets and other communication interfaces to achieve connection and data exchange with external networks.
[0059] The beneficial effects of the present invention are as follows: the present invention can improve network construction efficiency, enhance network connectivity and stability, improve network resource utilization, enhance network adaptability, and provide important technical support for building an efficient and stable distributed wireless self-organizing network. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0061] Figure 1 An overall flow chart of a method for quickly constructing a distributed wireless self-organizing network provided by the first embodiment of the present invention;
[0062] Figure 2 A CSMA / dynamic TDMA hybrid time frame structure diagram of a method for quickly constructing a distributed wireless self-organizing network provided by the first embodiment of the present invention;
[0063] Figure 3 A state transition diagram of a method for rapidly constructing a distributed wireless self-organizing network provided by the first embodiment of the present invention;
[0064] Figure 4A virtual backbone network topology diagram of a method for rapidly constructing a distributed wireless self-organizing network provided by the first embodiment of the present invention;
[0065] Figure 5 A block diagram of a method for quickly constructing a distributed wireless self-organizing network provided in accordance with a second embodiment of the present invention. DETAILED DESCRIPTION
[0066] In order to make the above-mentioned purposes, 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 drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0067] Example 1
[0068] Reference Figures 1 to 4 , as an embodiment of the present invention, provides a method for quickly constructing a distributed wireless self-organizing network, comprising:
[0069] First of all, it should be noted that, after comprehensively considering the advantages and disadvantages of various access schemes of ad hoc networks, the present invention adopts TDMA as the access scheme of the network. However, traditional TDMA can only allow each node to occupy one time slot, and the network transmission efficiency is extremely low. Therefore, a TDMA and CSMA hybrid access frame format is designed, and a large-scale network design idea based on the backbone network is given.
[0070] The advantages of this protocol are: in terms of network resource scheduling, it uses the fast information collection and fast negotiation characteristics of the backbone network to achieve efficient and reasonable rapid allocation of time and frequency resources across the network and ensure business QoS requirements; in terms of routing discovery, it can achieve an efficient active and passive hybrid routing mechanism based on the backbone network, thereby greatly reducing network overhead and routing delay. The following is a brief description of the frame format design and virtual backbone network construction.
[0071] In order to facilitate time slot allocation, the time domain space is first divided into time frames of equal length. For a single-channel network, control signaling and service data are transmitted in the same time domain space, and the two share the same time slot resources. Therefore, each time frame is divided into two parts, such as Figure 2 As shown, one part is used to transmit control signaling, which is called the control period; the other part is used to transmit business data, which is called the business period.
[0072] After comprehensive consideration, CSMA is selected as the control time slot multiplexing mechanism, and nodes compete for the right to use the control channel through backoff. Dynamic TDMA is selected as the service time slot multiplexing mechanism, and time slots are spatially multiplexed as much as possible.
[0073] S1: Define the node status in the network and implement the state transition mechanism between nodes.
[0074] Nodes in the network are divided into three categories according to their status:
[0075] (1) Backbone Node: A node on a virtual backbone link that can autonomously send service data and forward service data from other nodes. The Hello packet broadcast cycle of a backbone node is relatively short.
[0076] (2) Non-Backbone Node: A node with at least one backbone neighbor, so that the virtual backbone link can be reached in one hop. Non-backbone nodes can only send their own business data and cannot forward business data of other nodes. The Hello packet broadcast period of non-backbone nodes is relatively long. In addition, when a non-backbone node just joins the network or sniffs a neighbor node that is not on the network, it will activate the active state to assist the surrounding non-networked nodes to join the network. The Hello packet broadcast period of non-backbone active nodes is very short. Other settings are exactly the same as those of ordinary non-backbone nodes, so they are still classified as non-backbone nodes.
[0077] (3) Unable-Access Node: Nodes other than backbone nodes and non-backbone nodes, including nodes that cannot join the network due to subjective reasons (e.g., the node is not powered on, the node becomes an isolated node, etc.), objective reasons (the node is not reachable from the virtual backbone network in one hop, that is, the node has no backbone neighbor nodes), and special reasons (e.g., the node is destroyed, the node is out of power, etc.); Hello packet broadcast period is short.
[0078] Furthermore, the three types of nodes have different network functions and enjoy different resource conditions, but with the dynamic changes of the network topology, all nodes may switch between the three states, so the status expectations of each node in the network remain the same. Figure 3 As shown, the specific type of node will be determined based on the node's current location, tasks, and the distribution and resource requirements of its surrounding neighbors.
[0079] S2: Build and maintain a virtual backbone network to share neighbor status information and service time slot occupancy.
[0080] When certain conditions are met, the nodes will undergo state transitions: initially, only the initiator is powered on and transitions to the backbone state, while other nodes transition to the offline state; then, the offline nodes are powered on one after another to join the virtual backbone network, and after joining the network, the nodes first transition to the non-backbone active state; when the active period ends, they transition to the non-backbone common state; nodes in the non-backbone common state transition to the non-backbone active state when they detect that there are offline neighbors around; nodes in any non-backbone state transition to the backbone state when they are required by neighboring nodes, and transition to the offline state when they find that there are no backbone neighbors around; nodes in the backbone state transition to the non-backbone common state when they confirm their own redundancy.
[0081] All backbone nodes constitute the CDS core link in the virtual backbone network, which is called the virtual backbone link. When the network topology is a connected graph, it is necessary to ensure that each node has at least one backbone neighbor node, and all backbone nodes can communicate directly or indirectly through backbone links. Figure 4 shown.
[0082] For the convenience of description, Table 1 specifies and summarizes the symbol definitions used in this chapter, and Table 2 gives the relevant legends.
[0083] Table 2 Symbol Definition
[0084]
[0085]
[0086]
[0087] S3: Build a network access mechanism for nodes not connected to the network and perform state transfer of non-backbone nodes.
[0088] A newly powered on node u that is not connected to the network x The way a node joins the network will depend on the overall network status of its one-hop neighbor set.
[0089] (1) Case 1: u x There is at least one backbone neighbor node that has joined the network.
[0090] Node not connected to the network u x Upon receiving the backbone node u y After receiving the Hello packet, it initiates network authentication, for example, sending its own ID string and key to the node in the network. If the authentication is successful, u x It has the right to compete for the control slot to broadcast the Hello packet. x When CSMA succeeds and broadcasts the first Hello packet, u x Become a non-backbone node and successfully enter the virtual backbone network.
[0091] Case 2: ux There is no one-hop backbone neighbor node connected to the network, but there is at least one non-backbone neighbor node u connected to the network z .
[0092] in u x Received z When the first Hello packet is received, u x After successful authentication, contention for the control channel can be initiated. x When the first CSMA succeeds, u x Broadcast its own Hello packet to inform the nodes in the network of its existence.
[0093] After that, u x Waiting period T ua After that, it participates in the competition for the control channel again. x When CSMA succeeds again, u x "Nominate" a non-backbone node to enter the virtual backbone network. Nominating a non-backbone node means requesting that the node be transformed into a backbone node so that it can become a non-backbone node in the network. At this time, u x According to the "backbone recommendation rule", select a non-backbone node u z Send a signal to it, requesting u z Become a backbone node.
[0094] The "backbone recommendation rules" are defined according to the needs of the network. They can take into account the node's degree, the number of neighbors of a certain type, the node's tactical position, the node's position stability, the node's remaining power, the node's signal quality, and the node's ID number. x The recommended neighbor non-backbone node is selected according to the cardinality sorting of the three options: "the largest number of neighbors not on the network", "whether it is the recommendation target in the previous round", and "the smallest node ID number".
[0095] When u z After receiving the recommendation signal for itself and successfully becoming a backbone node, u x The network will be accessed in the same way as in case 1. In addition, if u x Waiting for τ ua_wait After a period of time, no message from u z Hello message of successful backbone conversion or Hello message of other backbone nodes, u x Only then can the nomination process for requesting to join the network be initiated again and a neighboring non-backbone node be nominated again.
[0096] Furthermore, when a node u is not connected to the network x When successfully connected to the network, it must be in a non-backbone state. xAt the edge of the network, there are likely to be other non-networked nodes around it, and the Hello packet cycle of non-backbone nodes is longer, which will obviously delay the response to the signaling recommended by the surrounding non-networked nodes.
[0097] A non-backbone node u z The number of neighbors not on the network d′ ua (u z ) is extremely important when making a recommendation. ua (u z ) depends on two factors. One is that the non-backbone node can accurately detect the existence of all offline neighbors, which requires that the Hello packet broadcast period of the offline node is T ua It cannot be too long; secondly, non-backbone nodes can timely send the latest d′ ua (u z ) is broadcasted, which requires the broadcast period T of non-backbone nodes nbk Less than T ua , but this obviously goes against the original intention of setting up non-backbone nodes.
[0098] In order to speed up the overall network construction speed and avoid the quality of recommendation affected by untimely information exchange, it is stipulated that the newly connected non-backbone node u z is an active non-backbone node, and its active duration is τ nbk_act The non-backbone nodes in active state have a very short Hello packet broadcast period T nbk_act , so it can timely convey accurate d′ to the surrounding non-networked nodes ua (u z ), and can quickly respond to the recommendation signaling of the surrounding non-networked nodes. After the active time ends, u z Becomes a normal non-backbone node, and resets the Hello packet broadcast period to a longer T nbk .
[0099] State transition 1: The moment a non-networked node joins the network, it transitions to a non-backbone active state.
[0100] State transition 2: The non-backbone active state transitions to the non-backbone normal state at the end of the active period.
[0101] In addition, in order to cope with the node access needs that arise during the dynamic changes in network topology, a stable non-backbone node will switch to an active state to assist neighbors in joining the network when certain conditions are met.
[0102] State transition 3: When an ordinary non-backbone node detects that there are offline neighbors around it (receives a Hello packet from an offline neighbor), it transitions to the non-backbone active state.
[0103] The setting of the above-mentioned state transfer conditions can also cope with the dilemma when a non-networked node fails to complete network access within an active cycle of an active neighbor non-backbone node, greatly improving the network access efficiency in this scenario.
[0104] Furthermore, according to the above algorithm, a non-backbone node u z A node may be transformed into a backbone node in the following situations:
[0105] When the non-backbone node u z Received from the non-network node u x When u z Get a nomination ballot and add the votes to ν elect Add 1. When the number of votes reaches the threshold th elect When z Will become the backbone node.
[0106] It should be noted that setting the referral threshold instead of immediately changing to the backbone upon receiving the referral signaling is to provide fault tolerance for untimely information exchange and prevent the number of nodes d′ not connected to the network due to the neighbor in the Hello packet ua (u z ) and avoid generating CDS containing unnecessary redundancy.
[0107] It should also be noted that due to the requirements for network construction speed and robustness of the virtual backbone network, the construction algorithm does not strictly follow the principle of building a minimized CDS. Therefore, the constructed virtual backbone network has a certain degree of connectivity redundancy, but may also contain some unnecessary coverage redundancy.
[0108] When a backbone node u y It is found that there is a neighbor backbone node that can completely cover its own effective coverage point set, that is, its own neighbor set is included in the neighbor backbone node u p The neighbor set of When y Mark itself as a redundant point. In particular, when two backbone neighbor nodes u y 、u p The neighbors of the two are completely consistent, that is, the neighbor sets of the two are equal {H′(u y )+u y}={H′(u p )+u p}, node u y Compare its own id number with that of the neighbor node u p The nodes with larger id numbers will mark themselves as redundant points.
[0109] Since redundancy discovery and pruning are not basic steps in building a virtual backbone network, its triggering period is allowed to be longer. In actual applications, nodes often cannot grasp comprehensive neighbor information at the beginning of network construction or when moving. Therefore, in order to avoid network status turbulence caused by redundant misjudgment, nodes do not prune themselves immediately after marking redundancy. The specific approach is that each backbone node redu Trigger the redundancy discovery mechanism; when the redundancy condition is determined to be met, the node marks it as redundant, ν redu Add 1; when continuous marking th redu After the redundancy is reached, the node performs self-pruning and degenerates into a non-backbone node.
[0110] When the backbone node determines that the redundancy condition is met and the number of consecutive redundancy markings reaches the threshold, it will be transferred to the non-backbone normal state.
[0111] S4: Perform link optimization and dynamic topology maintenance strategies to optimize link length and network connectivity by automatically adjusting node status.
[0112] After the virtual backbone network is initially built, the entire network maintains a CDS. However, the initial CDS can only ensure that nodes in the network are connected to each other, but not the efficiency of the connection. In fact, the CDS established in a large-scale network often has long links between nodes.
[0113] On the other hand, as nodes move, the initially established virtual backbone network topology may be destroyed. When the network topology no longer meets the properties of CDS, the state of the node needs to be changed.
[0114] When a non-backbone node finds that there are no backbone neighbor nodes around it, it switches to the offline state.
[0115] In order to restore the CDS property of the virtual backbone network, nodes need to autonomously maintain the connectivity of the virtual backbone network in the dynamic topology. Therefore, when non-backbone nodes find that the CDS link is interrupted, they need to be supplemented in time and become backbone nodes that bridge the two interrupted areas.
[0116] When the non-backbone node u z Discover its two neighboring backbone nodes u p 、u q The number of link hops between pq >4 o'clock, u z Transform into a backbone node to strengthen the CDS link.
[0117] In actual processing, node u z According to u p 、u q The neighbor table in the periodic Hello packet is used to make link optimization decisions. zWhen initiating an optimization check, determine u p and u q Whether there is a common two-hop backbone neighbor node, the specific method is u z Find the local cache u p The neighbor list of the last Hello packet (including u p The backbone nodes in the one-hop neighbor table and the two-hop neighbor table of u q Whether there is an intersection between the backbone nodes in the neighbor table of the last Hello packet; when u p and u q When there is a common two-hop backbone neighbor node, u z Keep the non-backbone state and do not optimize the CDS link; otherwise, it means u p and u q The link hop count between them is greater than four hops, or even the link is disconnected. z Determine whether it is u p and u q The one with the smallest ID number among the public one-hop neighbors, if so, the number of markers ν will be optimized optim Add 1.
[0118] It should be noted that since the node cannot guarantee the instantaneous update of the neighbor table entries in the Hello packet during the movement process, in order to avoid unnecessary optimization due to the lack of information, the node u z Only when optimizing the number of markers ν optim Reach th optim The actual optimization supplement is only carried out when it is transformed into a backbone node. In addition, the optimization check of the node is carried out according to a certain period τ optim Initiate to ensure topology maintenance while reducing the overhead of optimization signaling.
[0119] When a non-backbone node or a non-backbone active node determines that the link optimization condition is met and the number of consecutive optimization marks reaches the threshold, it will be transferred to the backbone state.
[0120] Example 2
[0121] Reference Figure 5 , as another embodiment of the present invention, provides a device for quickly constructing a distributed wireless self-organizing network, comprising:
[0122] It is composed of multiple ad hoc network nodes, each of which has similar software and hardware structures, mainly composed of transceiver antennas, low noise amplifiers, filters, ADCs, DACs, RF transceivers, baseband processors, protocol processors, etc., to realize the transmission and reception of wireless ad hoc network signals and networking control.
[0123] The block diagram is as follows Figure 5 shown.
[0124] The node consists of a SubGHz transceiver unit, a link and access layer, a network layer, and a protocol gateway. The link and access layer control mainly controls the channel access of the transceiver unit and coordinates the RF front end to communicate at the appropriate time and using the appropriate waveform; the network layer independently completes the routing selection and implements the optimal strategy based on QoS network intercommunication; the protocol gateway mainly realizes the conversion of data packets and other communication interfaces (such as Ethernet / RS485 / RS232, etc.).
[0125] The baseband processing of the SubGHz transceiver unit involves high-throughput data operations, which need to be completed with dedicated ASICs, DSPs, etc. The real-time and throughput of the upper layer protocols of the network (link and access layer, network layer, protocol gateway) are relatively low and can be deployed on ordinary processors.
[0126] The main functions include: support for multi-node Mesh networking; search for the network when powered on, automatically join the network without manual intervention; automatically reconnect when disconnected from the network, support network self-healing; support multi-level node relay forwarding; high air rate, long transmission distance, and high receiving sensitivity.
[0127] Its appearance and structural design include: it is composed of a shell, an upper cover, a main board, an antenna, etc.; the front panel of the shell has a switch button, a power indicator light, a networking indicator light, a network interface, and a data serial port; the rear panel has a power interface and an antenna interface.
[0128] The device shell is made of injection molding technology and weather-resistant materials, which is convenient for mass production.
[0129] The computer device may be a server. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data cluster data of a power monitoring system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for quickly building a distributed wireless self-organizing network is implemented.
[0130] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0131] Example 3
[0132] As an embodiment of the present invention, a method for quickly constructing a distributed wireless self-organizing network is provided. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation / comparative experiments.
[0133] This embodiment aims to evaluate the performance of the present invention in special environments such as remote mountainous areas or public network signal interruption, and compare it with the existing technical solutions.
[0134] The experiment was conducted in a simulated remote mountainous area or in an environment where the public network signal was interrupted.
[0135] Arrange experimental equipment in a simulated remote mountainous area or signal interruption scenario. Use the device of the present invention and the equipment of the prior art solution to deploy two different networks in the venue. Use professional equipment to measure and record indicators such as coverage, network connectivity, and data transmission rate. Record the performance data of each network solution, analyze and compare them, and analyze the advantages and disadvantages of the two solutions. The data table is shown in Table 2.
[0136] Table 2 Experimental data record table
[0137] index The present invention Existing technical solutions Coverage (㎡) 3780 2450 Network connectivity (%) 92 78 Data transfer rate (Mbps) 42.5 28.9 Deployment cost (USD) 5600 7200
[0138] It can be seen from the data in the above table that compared with the existing technical solutions, in special environments such as simulated remote mountainous areas or public network signal interruptions, the present invention has the following advantages and beneficial effects: The network coverage of the present invention is significantly greater than that of the existing technical solutions, and can cover a wider area and provide a wider range of services. The present invention achieves a higher level of network connectivity, the connection between nodes is more stable and reliable, and the user experience is better. The data transmission rate of the present invention is higher than that of the existing technical solutions, and data can be transmitted faster, improving network efficiency and user experience. The present invention performs well in terms of deployment cost, is more economical than the existing technical solutions, and saves the cost of deploying the network.
[0139] In summary, the present invention shows obvious innovation and advantages in the embodiments, and can effectively solve the wireless network coverage needs in special environments such as remote mountainous areas or public network signal interruption, providing users with more reliable and efficient wireless communication services.
[0140] 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 may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for rapidly constructing a distributed wireless self-organizing network, characterized in that: include: Define the node status in the network and implement the state transition mechanism between nodes; Build and maintain a virtual backbone network to share neighbor status information and service time slot occupancy; Build a network access mechanism for nodes not on the network and perform state transfer for non-backbone nodes; Perform link optimization and dynamic topology maintenance strategies to optimize link length and network connectivity by automatically adjusting node status.
2. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 1, characterized in that: Defining the node status in the network includes dividing the network nodes into backbone nodes, non-backbone nodes and non-networked nodes; When a node is on a virtual backbone link, it is a backbone node and can autonomously send service data and forward service data from other nodes; A node with at least one backbone neighbor is a non-backbone node. A non-backbone node can only send its own business data and cannot forward business data of other nodes. All nodes except backbone nodes and non-backbone nodes are non-networked nodes and are unable to join the network.
3. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 2, characterized in that: The state transition mechanism between the nodes includes that the nodes can undergo state transition, at the initial moment only the initiating node is turned on and transitions to the backbone state, and the other nodes transition to the non-networked state; Then the nodes that were not connected to the network were powered on one after another and joined the virtual backbone network. After the nodes were connected to the network, they were first transferred to the non-backbone active state; When the active cycle ends, it transfers to the non-backbone normal state; A node in the non-backbone normal state switches to the non-backbone active state when it detects that there are neighbors that are not connected to the network; A node in any non-backbone state will be transferred to the backbone state when it is needed by a neighboring node, and will be transferred to the off-network state when it finds that there are no backbone neighbors around; A node in the backbone state will transition to the non-backbone normal state when it confirms its own redundancy.
4. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 3, characterized in that: The said constructing and maintaining the virtual backbone network includes that all backbone nodes constitute a virtual backbone link in the virtual backbone network, ensuring that each node has at least one backbone neighbor node, and all backbone nodes can communicate directly or indirectly through the backbone link; Establish a neighbor status table to store the surrounding neighboring nodes. The node needs to maintain the status of all one-hop neighbors within its transmission range. k , establish a one-hop neighbor table to store its one-hop neighbor status H′(u k ) elements in a collection; Nodes need to reuse time slots in space, which requires nodes to know the existence of two-hop neighbors. k , establish a two-hop neighbor table to store its two-hop neighbor status H″(u k ) elements in a collection; It is stipulated that the two-hop neighbor table does not contain one-hop neighbor nodes, that is, Establish a service time slot table. Each node needs to maintain its own occupied time slot table to inform neighboring nodes; Maintain the one-hop neighbor slot table and the two-hop neighbor slot table separately; Nodes use periodic broadcast Hello packets to notify each other, and other control signaling interactions between nodes are completed through special burst control packets; The one-hop neighbor includes that if two nodes can communicate directly through a wireless transmission link without forwarding data through other nodes, then the two nodes are one-hop neighbors to each other; The two-hop neighbor includes a node that can be reached only through a one-hop neighbor, and these two nodes are two-hop neighbors to each other.
5. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 4, characterized in that: The network access mechanism of the non-networked node includes: a newly powered-on non-networked node u x The network access method of a node will depend on the overall network status of its one-hop neighbor set; When node u x When there is at least one backbone neighbor node connected to the network, the node u x Upon receiving the backbone node u y After receiving the Hello packet, the network authentication is initiated; If authentication is successful, u x Have the qualification to compete for the control time slot to broadcast the Hello packet; If u x When CSMA succeeds and broadcasts the first Hello packet, u x Become a non-backbone node and successfully enter the virtual backbone network; When u x There is no one-hop backbone neighbor node connected to the network, but there is at least one non-backbone neighbor node u connected to the network z When u x Received z When the first Hello packet is received, u x Can initiate competition for control channels after successful authentication; If u x When the first CSMA succeeds, u x Broadcast its own Hello packet to inform the node of its existence in the network, u x Waiting period T ua Then participate in the competition for the control channel again; If u x Participate in the competition for the control channel and succeed again in CSMA, u x Nominate a non-backbone node to enter the virtual backbone network; u x Select a non-backbone node u according to the backbone recommendation rule z Send a signal to it, requesting u z Become a backbone node; The non-backbone node state transfer includes transferring to a non-backbone active state when a non-networked node successfully joins the network; When the non-backbone active state ends its active period, it is transferred to the non-backbone normal state; When a common non-backbone node receives a Hello packet from a neighbor that is not on the network, it switches to the non-backbone active state.
6. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 5, characterized in that: The recommendation is performed according to the backbone recommendation rules, which include: z Received from the non-network node u x When u z Get a nomination ballot and add the votes to ν elect Add 1 when the number of votes reaches the threshold th elect When z Will become the backbone node.
7. The method for rapidly constructing a distributed wireless self-organizing network as claimed in claim 6, characterized in that: The link optimization and dynamic topology maintenance strategy includes: z Discover its two neighboring backbone nodes u p 、u q The number of link hops between pq >4 o'clock, u z Transformed into a backbone node to strengthen the CDS link; Node u z According to u p 、u q The neighbor table in the periodic Hello packet is used to make link optimization decisions; When u z When initiating an optimization check, determine u p and u q Whether there is a common two-hop backbone neighbor node, u z Find the local cache u p The backbone node in the neighbor table of the last Hello packet and u q Whether there is an intersection between the backbone nodes in the neighbor table of the last Hello packet; The neighbor table includes u p One-hop neighbor table and two-hop neighbor table; When u p and u q When there is a common two-hop backbone neighbor node, u z Keep the non-backbone state and do not perform CDS link optimization; Otherwise, it means u p and u q The link hop count between them is greater than four hops. z Determine whether it is u p and u q The one with the smallest ID number among the public one-hop neighbors, if so, the number of markers ν will be optimized optim Add 1; Node u z Only when optimizing the number of markers ν optim Reaching the threshold optim Only then will actual optimization and supplementation be carried out and the nodes will be transformed into backbone nodes.
8. A device for rapidly constructing a distributed wireless self-organizing network using the method according to any one of claims 1 to 7, characterized in that Includes the following components: Transceiver antenna and RF transceiver: used to receive and send wireless signals to achieve communication between nodes; Low noise amplifier and filter: used for signal amplification and filtering to improve signal quality and anti-interference ability; ADC and DAC: used for analog-to-digital conversion and digital-to-analog conversion, converting received analog signals into digital signals for processing, and converting digital signals into analog signals for transmission; Baseband processor: responsible for processing, modulation and demodulation of digital signals; Protocol processor: used to implement network layer and protocol gateway functions; SubGHz transceiver unit: includes baseband processing and RF front end, used for wireless communication in the SubGHz frequency band and responsible for processing high-throughput data operations; Link and access layer: controls the channel access of the transceiver unit and coordinates the RF front end to communicate at the appropriate time and using waveforms; Network layer: realize autonomous routing selection and optimal strategy based on QoS network intercommunication to ensure network operation; Protocol gateway: realizes the conversion of data packets and other communication interfaces to achieve connection and data exchange with external networks.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. 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 7 are implemented.
