Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for identifying the interference of the subnetworks in the wireless ad hoc network, which can quickly and accurately identify the interference among the subnetworks in a dynamically changing network environment and improve the communication efficiency and the network performance among nodes.
The specific scheme provided by the invention is as follows:
the invention provides a method for identifying subnet interference in a wireless ad hoc network, which comprises the following steps:
step 0: configuring a frame structure of the ad hoc network, wherein the frame structure comprises N subframes, synchronous subframes and data subframes exist in the N subframes,
step 1: judging the subframe state of a node in a certain subnet of the wireless ad hoc network, if the subframe state is a synchronous subframe, enabling the node to execute a normal synchronous flow, if the subframe state is a data subframe, entering step 2,
step 2: judging the state of the data subframe, if the data subframe is an idle subframe, entering a step 3, if the data subframe is a receiving subframe of the node, entering a step 4, if the data subframe is a transmitting subframe of the node or a one-hop neighbor node of the node and the receiving party is not the node, returning to the step 1,
step 3: judging whether node interference of a neighbor subnet exists or not by adopting an energy detection algorithm according to the idle subframes, if the detected energy is larger than a threshold Power_Thr, judging that the node interference of the neighbor subnet exists, and turning to the step 5; otherwise, returning to the step 1,
step 4: judging whether node interference of the neighbor sub-network exists or not by adopting other interference detection algorithms except the energy detection algorithm according to the received sub-frame, if the node interference of the neighbor sub-network exists is detected, turning to the step 5, otherwise returning to the step 1,
step 5: and stopping signal transmission and reception of the nodes in the certain subnet, and immediately starting synchronous subframe detection.
Further, in the method for identifying subnet interference in the wireless ad hoc network, in the step 0, a special subframe for transmitting a synchronization signal in N subframes and completing time synchronization with other nodes is reserved as a synchronization subframe, and other subframes for receiving and transmitting data of all nodes in the subnet in the N subframes are used as data subframes.
Further, in the method for identifying the interference of the sub-network in the wireless ad hoc network, in the step 4, other interference detection algorithms are signal-to-interference ratio (SINR) measurement algorithms, noise estimation is performed by using a reference signal through the signal-to-interference ratio (SINR) measurement algorithm, the SINR value of the current receiving sub-frame is calculated, and if the SINR value of the current receiving sub-frame is obviously lower than the SINR value of the previous receiving sub-frame, it is determined that there is node interference of the neighboring sub-network.
Further, in the method for identifying the interference of the subnetwork in the wireless ad hoc network, other interference detection algorithms in the step 4 are noise covariance measurement algorithms, noise estimation is performed through reference signals by adopting the noise covariance measurement algorithms, noise covariance is calculated, and if the noise covariance is obviously non-white noise, the node interference of the subnetwork is judged to exist.
The invention also provides a device for identifying the interference of the subnetwork in the wireless ad hoc network, which comprises a configuration module and a judging and analyzing module,
the configuration module configures a frame structure of the ad hoc network, the frame structure comprising N subframes, in which there are synchronization subframes and data subframes,
the judging and analyzing module performs subnet interference identification, and comprises the following steps:
step 1: judging the subframe state of a node in a certain subnet of the wireless ad hoc network, if the subframe state is a synchronous subframe, enabling the node to execute a normal synchronous flow, if the subframe state is a data subframe, entering step 2,
step 2: judging the state of the data subframe, if the data subframe is an idle subframe, entering a step 3, if the data subframe is a receiving subframe of the node, entering a step 4, if the data subframe is a transmitting subframe of the node or a one-hop neighbor node of the node and the receiving party is not the node, returning to the step 1,
step 3: judging whether node interference of a neighbor subnet exists or not by adopting an energy detection algorithm according to the idle subframes, if the detected energy is larger than a threshold Power_Thr, judging that the node interference of the neighbor subnet exists, and turning to the step 5; otherwise, returning to the step 1,
step 4: judging whether node interference of the neighbor sub-network exists or not by adopting other interference detection algorithms except the energy detection algorithm according to the received sub-frame, if the node interference of the neighbor sub-network exists is detected, turning to the step 5, otherwise returning to the step 1,
step 5: and stopping signal transmission and reception of the nodes in the certain subnet, and immediately starting synchronous subframe detection.
Further, the configuration module in the subnet interference recognition device in the wireless ad hoc network reserves a special subframe used for transmitting a synchronizing signal in N subframes and completing time synchronization with other nodes as a synchronizing subframe, and other subframes used for receiving and transmitting data of all nodes in the subnet in the N subframes are used as data subframes.
Further, in the method, other interference detection algorithms adopted by the judging and analyzing module in the step 4 are signal-to-interference ratio (SINR) measurement algorithms, noise estimation is performed by using a reference signal through the signal-to-interference ratio (SINR) measurement algorithm, the SINR value of the current receiving subframe is calculated, and if the SINR value of the current receiving subframe is obviously lower than the SINR value of the previous receiving subframe, it is judged that node interference of the neighbor subnet exists.
Further, in the device for identifying the interference of the subnetwork in the wireless ad hoc network, other interference detection algorithms adopted by the judging and analyzing module in the step 4 are noise covariance measurement algorithms, noise estimation is carried out by adopting the noise covariance measurement algorithm through reference signals, noise covariance is calculated, and if the noise covariance is obviously non-white noise, the node interference of the subnetwork is judged to exist.
The invention has the advantages that:
the invention provides a method for identifying the interference of a subnet in a wireless ad hoc network, which can quickly and accurately identify the interference among the subnets in a dynamically changing network environment, and the subnet nodes do not need to always detect the synchronous subframe signals of the neighbor subnets, so that the power consumption expenditure of the nodes is obviously reduced, and the communication efficiency and the network performance between the nodes are improved. Meanwhile, in an extreme scene (synchronous sub-frame conflict of two sub-network nodes), neighbor sub-network detection can still be effectively carried out, and the robustness of the sub-network detection and the self-networking system is greatly improved.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific examples, which are not intended to be limiting, so that those skilled in the art will better understand the invention and practice it.
The invention provides a method for identifying subnet interference in a wireless ad hoc network, which comprises the following steps:
step 0: configuring a frame structure of the ad hoc network, wherein the frame structure comprises N subframes, synchronous subframes and data subframes exist in the N subframes,
step 1: judging the subframe state of a node in a certain subnet of the wireless ad hoc network, if the subframe state is a synchronous subframe, enabling the node to execute a normal synchronous flow, if the subframe state is a data subframe, entering step 2,
step 2: judging the state of the data subframe, if the data subframe is an idle subframe, entering a step 3, if the data subframe is a receiving subframe of the node, entering a step 4, if the data subframe is a transmitting subframe of the node or a one-hop neighbor node of the node and the receiving party is not the node, returning to the step 1,
step 3: judging whether node interference of a neighbor subnet exists or not by adopting an energy detection algorithm according to the idle subframes, if the detected energy is larger than a threshold Power_Thr, judging that the node interference of the neighbor subnet exists, and turning to the step 5; otherwise, returning to the step 1,
step 4: judging whether node interference of the neighbor sub-network exists or not by adopting other interference detection algorithms except the energy detection algorithm according to the received sub-frame, if the node interference of the neighbor sub-network exists is detected, turning to the step 5, otherwise returning to the step 1,
step 5: and stopping signal transmission and reception of the nodes in the certain subnet, and immediately starting synchronous subframe detection.
The method of the invention is utilized to judge the subframe state of each subframe node for the self-organizing network node in the normal working state. If the synchronization sub-frame is the synchronization sub-frame, the node executes the normal synchronization flow. If the data is the data sub-frame, judging the state of the current data sub-frame, and starting corresponding interference measurement. And judging whether the neighbor subnet node interference exists or not according to the interference measurement result. If the adjacent sub-network node interference exists, the node stops normal signal transmission and reception and immediately starts synchronous sub-frame detection.
The method can quickly identify the node interference of the neighbor sub-network and improve the network performance and reliability. The method is suitable for various wireless ad hoc network scenes, can improve the performance and reliability of the network, and has high practical value.
In a specific application, in fig. 1, a solid line between any two nodes represents that normal communication between the nodes is possible. In fig. 1 there are two subnetworks: a subnet 1 and a subnet 2. The two subnets are independent from each other (the signals of the other subnets cannot be detected) initially, and after a period of time, the two subnets move respectively, and at this time, node A of the subnet 1 1 And node B of subnet 2 1 An efficient communication link can be established between them. There may be signal interference between the nodes of the two subnetworks.
Thus, in some embodiments of the method of the present invention, when performing subnet interference identification in an ad hoc network, the following procedure may be referred to:
step 0: and configuring a frame structure of the ad hoc network, wherein the frame structure comprises N subframes, and synchronous subframes and data subframes exist in the N subframes.
Further, in step 0, a dedicated subframe for transmitting a synchronization signal in N subframes and performing time synchronization with other nodes is reserved as a synchronization subframe, and the remaining subframes for receiving and transmitting data of all nodes in the subnet in the N subframes are used as data subframes. Referring to fig. 2, an ad hoc network typically includes an ad hoc network frame including N subframes, some of which are reserved for nodes as dedicated subframes, and the reserved nodes transmit synchronization signals in the subframes so that other nodes complete time synchronization with the subframes, which is also called a synchronization subframe. Other subframes in the ad hoc network frame are used for data transmission of all nodes in the subnet, and are therefore also referred to as data subframes.
In the conventional scheme, in order to be able to detect the nodes of the neighbor subnetwork, the nodes in the current subnetwork need to always detect the synchronization signal. This brings about a significant power consumption overhead. Furthermore, there are situations in certain extreme scenarios where the synchronization signal of a node of a neighbor subnet is never detected. Fig. 3 is a schematic diagram of a frame timing relationship between two subnets, where frame timings of the two subnets are completely synchronized or partially overlapped, and nodes of adjacent subnets are in a transmitting state in synchronization subframes, and synchronization signals of the other subnets can never be detected.
In the invention, step 1: judging the subframe state of a node in a certain subnet of the wireless ad hoc network, if the subframe state is a synchronous subframe, enabling the node to execute a normal synchronous flow, and if the subframe state is a data subframe, entering step 2.
Step 2: and judging the state of the data sub-frame. The current data subframe state has three possibilities, if the current data subframe state is an idle subframe, the node and a skip neighbor node do not perform signal transmission in the data subframe, the step 3 is entered, if the current data subframe state is a receiving subframe of the node, the step 4 is entered, and if the current data subframe state is a transmitting subframe of the node or a skip neighbor node of the node and a receiving party is not the node, the step 1 is returned.
Step 3: judging whether node interference of a neighbor subnet exists or not by adopting an energy detection algorithm (algorithm 1) when the current data subframe is an idle subframe, and if the detection energy is larger than a threshold Power_Thr, judging that the node interference of the neighbor subnet exists, and turning to step 5; otherwise, returning to the step 1,
step 4: and the node performs interference measurement besides normal data reception. Because the node signals of the neighbor subnetworks are overlapped with the transmission signals of the nodes of the subnetwork, the energy detection cannot be adopted to identify the interference. It is therefore necessary to employ other interference detection algorithms (algorithm 2),
and (3) judging whether node interference of the neighbor sub-network exists or not by adopting other interference detection algorithms (algorithm 2), if the node interference of the neighbor sub-network exists, turning to the step (5), otherwise, returning to the step (1).
Further, in step 4, the other interference detection algorithm is a signal-to-interference ratio (SINR) measurement algorithm, noise estimation is performed by using a signal-to-interference ratio (SINR) measurement algorithm through a reference signal, and the SINR value of the current received subframe is calculated, if the SINR value of the current received subframe is significantly lower than the SINR value of the previous received subframe, it is determined that there is node interference of the neighboring subnet.
Or further, in the step 4, other interference detection algorithms are noise covariance measurement algorithms, noise estimation is performed through a reference signal by adopting the noise covariance measurement algorithm, noise covariance is calculated, and if the noise covariance is obviously non-white noise, the node interference of the neighbor subnetwork is judged to exist.
Other interference detection algorithms may also be selected for interference measurement, as the case may be.
Step 5: and stopping signal transmission and reception of the nodes in the certain subnet, and immediately starting synchronous subframe detection. The overall process may be referred to in fig. 4.
The invention also provides a device for identifying the interference of the subnetwork in the wireless ad hoc network, which comprises a configuration module and a judging and analyzing module,
the configuration module configures a frame structure of the ad hoc network, the frame structure comprising N subframes, in which there are synchronization subframes and data subframes,
the judging and analyzing module performs subnet interference identification, and comprises the following steps:
step 1: judging the subframe state of a node in a certain subnet of the wireless ad hoc network, if the subframe state is a synchronous subframe, enabling the node to execute a normal synchronous flow, if the subframe state is a data subframe, entering step 2,
step 2: judging the state of the data subframe, if the data subframe is an idle subframe, entering a step 3, if the data subframe is a receiving subframe of the node, entering a step 4, if the data subframe is a transmitting subframe of the node or a one-hop neighbor node of the node and the receiving party is not the node, returning to the step 1,
step 3: judging whether node interference of a neighbor subnet exists or not by adopting an energy detection algorithm according to the idle subframes, if the detected energy is larger than a threshold Power_Thr, judging that the node interference of the neighbor subnet exists, and turning to the step 5; otherwise, returning to the step 1,
step 4: judging whether node interference of the neighbor sub-network exists or not by adopting other interference detection algorithms except the energy detection algorithm according to the received sub-frame, if the node interference of the neighbor sub-network exists is detected, turning to the step 5, otherwise returning to the step 1,
step 5: and stopping signal transmission and reception of the nodes in the certain subnet, and immediately starting synchronous subframe detection.
The content of information interaction and execution process of each module in the device is based on the same conception as the embodiment of the method of the present invention, and specific content can be referred to the description in the embodiment of the method of the present invention, which is not repeated here.
The device can quickly and accurately identify the interference among the subnets in the dynamically-changed network environment, and the subnet nodes do not need to always detect the synchronous subframe signals of the neighbor subnets, so that the power consumption expenditure of the nodes is obviously reduced, and the communication efficiency and the network performance among the nodes are improved. Meanwhile, in an extreme scene (synchronous sub-frame conflict of two sub-network nodes), neighbor sub-network detection can still be effectively carried out, and the robustness of the sub-network detection and the self-networking system is greatly improved.
It should be noted that not all the steps and modules in the above processes and the structures of the devices are necessary, and some steps or modules may be omitted according to actual needs. The execution sequence of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or may be implemented jointly by some components in multiple independent devices.
The above-described embodiments are merely preferred embodiments for fully explaining the present invention, and the scope of the present invention is not limited thereto. Equivalent substitutions and modifications will occur to those skilled in the art based on the present invention, and are intended to be within the scope of the present invention. The protection scope of the invention is subject to the claims.