CN114006665B - Idle channel detection method, electronic equipment and storage medium - Google Patents

Idle channel detection method, electronic equipment and storage medium Download PDF

Info

Publication number
CN114006665B
CN114006665B CN202111284683.4A CN202111284683A CN114006665B CN 114006665 B CN114006665 B CN 114006665B CN 202111284683 A CN202111284683 A CN 202111284683A CN 114006665 B CN114006665 B CN 114006665B
Authority
CN
China
Prior art keywords
node
channel
detection threshold
target channel
energy detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111284683.4A
Other languages
Chinese (zh)
Other versions
CN114006665A (en
Inventor
陈盈羽
游千册
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Lianxintong Semiconductor Co ltd
Original Assignee
Hangzhou Lianxintong Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Lianxintong Semiconductor Co ltd filed Critical Hangzhou Lianxintong Semiconductor Co ltd
Priority to CN202111284683.4A priority Critical patent/CN114006665B/en
Publication of CN114006665A publication Critical patent/CN114006665A/en
Application granted granted Critical
Publication of CN114006665B publication Critical patent/CN114006665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a detection method of idle channels, electronic equipment and a storage medium, wherein the method is applied to a sender and comprises the following steps: determining a target channel currently intercepted by a destination node according to the destination node of the data to be transmitted; switching a transmission channel of a sender to a target channel, and detecting the signal intensity of the target channel; according to the detected signal intensity and the node relation between the destination node and the sender, adjusting the energy detection threshold of the target channel; and when the signal strength of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel. The technical scheme provided by the embodiment of the application can improve the accuracy of idle channel detection, reduce the probability of collision and strengthen the success rate of communication.

Description

Idle channel detection method, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for detecting an idle channel, an electronic device, and a computer readable storage medium.
Background
The Wi-SUN (Wireless Smart Ubiquitous Network, wireless intelligent ubiquitous network) alliance was established in 2012, a worldwide non-profit organization consisting of industry companies. The development prospect of Wi-SUN alliance is based on the technical specification of mesh network protocol IEEE 802.15.4g, and the Wi-SUN ecosystem is developed by providing strong product connectivity through test and authentication plans, so that the interoperability of intelligent city and intelligent public communication network is realized. Fig. 1 is a comparison of Wi-SUN with other LPWAN (Low-Power Wide-Area Network) technologies.
As a network protocol suitable for long-distance, large-scale and automatic networking, wi-SUN FAN (wireless intelligent ubiquitous local area network) uses unlicensed frequency bands, and must compete with other communication standards for frequency bands, so a unique frequency Hopping (Channel Hopping) mechanism must be designed to resist external interference. The Mesh Network architecture (Mesh Network) adopted by the method can greatly expand the Network communication distance and can further increase the transmission efficiency of the Network by matching with the frequency hopping technology. When the signal is good, the network node is mostly in a primary environment, and when the environmental interference occurs, the routing algorithm automatically adjusts the topology into a multi-stage mesh network architecture, and the autonomous repair characteristic is particularly suitable for the application of a large-scale wide area network.
The performance analysis and improvement of mesh networks has been an important issue, as well as Wi-SUN FAN networks, in which the determination of what is Noise is made more difficult by asynchronous (unsynchronized) and Receiver-directed (Receiver-directed) frequency hopping mechanisms, three channel idle detection modes are defined in 802.15.4, respectively:
CCA Mode 1 (idle channel assessment Mode 1): energy above threshold (determine if the energy is greater than a threshold).
CCA Mode 2 (idle channel assessment Mode 2): carrier sense only (sense carrier).
CCA Mode 3 (idle channel assessment Mode 3): carrier sense with energy above threshold (sense carrier and determine if energy is greater than a threshold).
Because the Wi-SUN frequency hopping mechanism always hops to the channel where the receiver is located by the sender and then performs CCA detection, since there is a high probability that a message is being transmitted at the time point of starting detection, the real situation cannot be detected by doing CCA Mode 2, and only Mode 1 can be used as idle detection of the channel before sending, but the following factors are often used for misjudgment: the method comprises the following steps of excessively high environmental noise, noise of a heterogeneous network, frequency multiplication interference generated by equipment, a frequency hopping mechanism, mutual interference of a plurality of PAN networks (personal area networks) and adjacent frequency interference. It is apparent that it is not a suitable way to set a fixed Energy Detection Threshold (energy detection threshold) and therefore an effective adjustment mechanism needs to be designed to overcome the above-mentioned generated erroneous judgment.
Disclosure of Invention
The embodiment of the application provides a detection method of an idle channel, which is used for improving the accuracy of idle channel detection.
The embodiment of the application provides a method for detecting an idle channel, which is applied to a sender and comprises the following steps:
determining a target channel currently intercepted by a target node according to the target node of data to be transmitted;
switching the transmission channel of the sender to the target channel, and detecting the signal intensity of the target channel;
according to the detected signal intensity and the node relation between the destination node and the sender, adjusting an energy detection threshold of the target channel;
and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel.
In an embodiment, the determining, according to the destination node of the data to be transmitted, the target channel currently intercepted by the destination node includes:
and determining a target channel currently intercepted by the destination node according to the frequency hopping time sequence of the destination node.
In an embodiment, the adjusting the energy detection threshold of the target channel according to the detected signal strength and the node relationship between the destination node and the sender includes:
comparing the signal intensity of the target channel with the energy detection threshold according to the energy detection threshold of the sender on the target channel to obtain a comparison result;
and adjusting the energy detection threshold according to the comparison result and the node relation between the destination node and the sender.
In an embodiment, the adjusting the energy detection threshold according to the comparison result and the node relationship between the destination node and the sender includes:
and if the signal strength of the target channel is greater than the energy detection threshold, and the target node is a father node of the sender, the energy detection threshold is adjusted up according to a first change rate.
In an embodiment, the adjusting the energy detection threshold of the target channel according to the comparison result and the node relationship between the destination node and the sender includes:
if the signal strength of the target channel is greater than the energy detection threshold, and the target node is a child node of the sender, the energy detection threshold is adjusted up according to a second change rate;
the first rate of change is less than the second rate of change.
In an embodiment, the adjusting the energy detection threshold of the target channel according to the comparison result and the node relationship between the destination node and the sender includes:
and if the signal strength of the target channel is smaller than or equal to the energy detection threshold, and the target node is a father node of the sender, the energy detection threshold is adjusted down according to a third change rate.
In an embodiment, the adjusting the energy detection threshold of the target channel according to the comparison result and the node relationship between the destination node and the sender includes:
if the signal strength of the target channel is smaller than or equal to the energy detection threshold, and the target node is a child node of the sender, the energy detection threshold is adjusted down according to a fourth change rate;
the third rate of change is greater than the fourth rate of change.
Another embodiment of the present application provides a method for detecting an idle channel, where the method is applied to a sender, and includes:
determining a target channel currently intercepted by a target node according to the target node of data to be transmitted;
switching a transmission channel of the sender to the target channel;
the energy detection threshold of the target channel is increased, so that the data to be transmitted is successfully transmitted to the destination node;
detecting the signal intensity of the target channel when the data is successfully transmitted, and determining the background noise intensity;
determining an energy detection threshold of the target channel according to the background noise intensity;
and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel.
The embodiment of the application provides electronic equipment, which comprises:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to execute the idle channel detection method.
An embodiment of the present application provides a computer readable storage medium storing a computer program executable by a processor to perform the above method for detecting an idle channel.
According to the technical scheme provided by the embodiment of the application, under the receiver-directed frequency hopping mechanism, according to the signal intensity of the target channel and the node relation between the sender and the receiver, the node can determine the busyness of the target channel and the transmission object, so that the energy detection threshold is dynamically adjusted, and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold, the target channel is determined to be an idle channel, so that the accuracy of idle channel detection can be improved, the probability of collision is reduced, and the communication success rate is enhanced.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic diagram of a Wi-SUN versus other LPWAN technologies;
fig. 2 is a unicast frequency hopping timing diagram provided by an embodiment of the present application;
fig. 3 is a schematic application scenario of a method for detecting an idle channel according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a flowchart of a method for detecting an idle channel according to an embodiment of the present application;
FIG. 6 is a detailed flowchart of step S530 in the corresponding embodiment of FIG. 5;
fig. 7 is a diagram showing four states in which there is a contention relationship between uplink and downlink;
FIG. 8 is a detailed flowchart of step S530 in the corresponding embodiment of FIG. 5;
fig. 9 is a flowchart of a method for detecting an idle channel according to another embodiment of the present application;
FIG. 10 is a block diagram of an idle channel detection apparatus according to an embodiment of the present application;
fig. 11 is a block diagram of an idle channel detection apparatus according to another embodiment of the application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
Like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The Wi-SUN FAN frequency hopping mechanism has own frequency hopping sequence and each node exchanges frequency hopping parameters with neighbor nodes through 802.15.4e payload IE (Wi-SUN UTT-IE). For each unicast transmission, the sender calculates the current monitored channel of the Receiver through Channel Hopping Function (channel frequency modulation function), and switches the frequency to the channel to complete transmission, namely Receiver-directed channel hopping (Receiver-directed frequency hopping mechanism). Fig. 2 is a unicast frequency hopping timing diagram, node diagrams (Node 1) and Node2 (Node 2) and Node3 (Node 3) have respective frequency hopping timings, each Node uses different channels at the same time point, and sets a periodic switching channel of a frequency hopping time interval value (Unicast Dwell Interval), and fig. 2 also shows switching time of each Node and asynchronous switching, so that adjacent nodes need to learn relative time information to calculate the frequency hopping channel.
Research and development of the mesh network have evolved over ten years to reach a stage of large-scale practical use, and the Wi-SUN FAN adopts an IPv6 network layer protocol to realize cloud-to-end direct control for the demands of the Internet of things and the intelligent power grid. The RPL (IPv 6 Routing Protocol for LLNs) routing protocol is an important basis for forming and maintaining mesh network links, and a network architecture up to 24 hops is very helpful for large-scale deployment by selecting the most suitable parent node for forwarding network messages for channel quality assessment, link success rate detection, network level, access node number and other information.
The maintenance of links and the reaction to link changes is often a challenge to stability of mesh networks, especially in the case of frequency hopping mechanisms, which take into account several important factors:
time drift causes outgoing failure caused by error of calculating the receiver channel;
background noise, namely transmission failure caused by environmental interference;
hidden terminal problem transmission collision caused by hidden node problem in wireless network;
receiver not in its receiving channel (e.g. usable to change channel when transmitting or receiving): receiver-directed: in the frequency hopping mechanism, the transmission failure is caused by the fact that the receiver is in a transmission state or stops at the last receiving channel;
content, namely, transmission failure caused by competition collision of simultaneous transmission under multiple nodes;
adjacent-channel interference, the interference between adjacent channels causes transmission failure;
the above factors determine the stability and network performance of the mesh network, and thus special attention is required before large-scale mesh networks are constructed.
There are many communication technologies developed based on the IEEE 802.15.4 protocol, and Wi-SUN is only one of them. For CCA Mode 1:Energy above threshold defined in 802.15.4 (idle channel assessment Mode 1: energy greater than threshold), foreign students also propose to use a mechanism to dynamically adjust the threshold to accommodate noise. The concept is to turn the threshold down when CCA (clear channel assessment) is successful and to turn the threshold up when CCA fails. This approach is simple but not entirely suitable for use in Wi-SUN FAN networks that are based on Receiver-directed channel hopping (Receiver-directed fm) mechanisms. The main problem is that in many-to-one transmission situations, each node will increase its own transmission probability due to the constant threshold value being raised by the contention, which is not a good approach for the whole network, because when the constant threshold value is raised, more collisions and retransmissions will occur, and each node wants to raise its own threshold value, resulting in a vicious circle. Therefore, the existing dynamic threshold adjustment mechanism and the fixed threshold adjustment mechanism have unsatisfactory effects, and based on this, the embodiment of the application provides a method for detecting idle channels under the receiver-oriented frequency hopping mechanism.
Fig. 3 is a schematic application scenario of a method for detecting an idle channel according to an embodiment of the present application. As shown in fig. 3, the application scenario includes a plurality of nodes 300, the plurality of nodes 300 forming a mesh network structure, i.e., the nodes 300 are interconnected with each other by wired or wireless transmission, and each node 300 is connected with at least two other nodes 300. The node 300 may be a wireless router, server, desktop, notebook, or smart phone. The method provided by the embodiment of the application can be executed by any node 300, and when the node 300 needs to transmit data to other nodes, the method for detecting the idle channel provided by the embodiment of the application is executed, so that the accuracy of detecting the idle channel is improved, the probability of collision is reduced, and the success rate of communication is enhanced.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and the electronic device 100 may be used to execute the idle channel detection method according to the embodiment of the present application. The electronic device 100 includes: at least one processor 103, at least one memory 102, and a bus 101, the bus 101 being used to effect connected communication of these components.
In an embodiment, the electronic device 100 may be a smart terminal such as a host, a tablet computer, a smart phone, a router, etc. for executing the idle channel detection method.
In one embodiment, memory 102 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, including, but not limited to, random access Memory 102 (Random Access Memory, RAM), read Only Memory 102 (ROM), static random access Memory 102 (Static Random Access Memory, SRAM), programmable Read Only Memory 102 (Programmable Read-Only Memory, PROM), erasable Read Only Memory 102 (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory 102 (Electric Erasable Programmable Read-Only Memory, EEPROM).
In one embodiment, processor 103 may be a general-purpose processor including, but not limited to, a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc., a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor 103 may be any conventional processor or the like, the processor 103 being a control center of the electronic device 100, with various interfaces and lines connecting various parts of the entire electronic device 100. The processor 103 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application.
In an embodiment, fig. 4 illustrates a processor 103 and a memory 102, where the processor 103 and the memory 102 are connected through a bus 101, and the memory 102 stores instructions executable by the processor 103, so that the electronic device 100 can execute all or part of the methods in the following embodiments to implement idle channel detection.
The embodiment of the application also provides a computer readable storage medium storing a computer program, which can be executed by a processor to complete the idle channel detection method according to the following embodiment of the application.
Fig. 5 is a flowchart of a method for detecting an idle channel according to an embodiment of the present application. The method may be performed by a node of the sender, as shown in fig. 5, and comprises the following steps S510-S540.
Step S510: and determining a target channel currently intercepted by the target node according to the target node of the data to be transmitted.
The destination node is a receiver of the data to be transmitted, and the destination node may be a parent node or a child node of the sender node. That is, the data to be transmitted may be downlink data, the sender node is a parent node, and the destination node is a child node. In another embodiment, the data to be transmitted may be uplink data, where the sender node is a child node and the destination node is a parent node.
The target channel refers to the data transmission frequency band of the current moment of the target node. As shown in fig. 2, each node has a corresponding frequency hopping sequence that indicates the channel that the node listens to at each instant. Therefore, according to the frequency hopping time sequence of the destination node, the target channel which is currently intercepted by the destination node can be determined. The target channel is a channel that the destination node listens to at the current time, and is referred to herein as a target channel for distinguishing. For example, the target channel may be ch5.
Step S520: and switching the transmission channel of the sender to the target channel, and detecting the signal strength of the target channel.
Because the receiver-guided frequency hopping mechanism is adopted, the sender firstly switches to the channel where the receiver is located, and then idle channel detection is carried out. The sender node may switch its own channel to the target channel and then detect the signal strength of the target channel using an RF (radio frequency) transceiver.
Step S530: and adjusting the energy detection threshold of the target channel according to the detected signal strength and the node relation between the destination node and the sender.
There are two kinds of node relationships between the destination node and the sender: the first method is that the destination node is a father node and the sender is a child node; second, the destination node is a child node, and the sender is a parent node.
The energy detection threshold is used as a basis for judging whether the target channel is idle. The magnitude of the energy detection threshold may be adjusted based on the detected signal strength and the node relationship. For example, when the destination node is a parent node and the sender is a child node, it is assumed that hundreds of nodes are to be transmitted to the same parent node, at this time, the signal strength of the target channel is necessarily large, and according to the fixed energy detection threshold, too many channel detection failures tend to occur, but at this time, if the threshold can be slowly adjusted up, the problem that the plurality of child nodes compete with each other, resulting in a great reduction of the overall success rate can be avoided. Therefore, when the signal strength is greater than the fixed threshold and the destination node is a parent node and the sender is a child node, the energy detection threshold can be slowly adjusted upwards.
Step S540: and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel.
The energy detection threshold in step S540 is the energy detection threshold adjusted in step S530. And when the signal intensity of the target channel is larger than or equal to the energy detection threshold value, the target channel is considered to be busy, and data transmission is not carried out on the target channel. When the signal strength of the target channel is smaller than the energy detection threshold, the target channel is considered to be idle, and data transmission can be performed on the target channel.
According to the technical scheme provided by the embodiment of the application, under the receiver-directed frequency hopping mechanism, according to the signal intensity of the target channel and the node relation between the sender and the receiver, the node can determine the environment and the access state where the node is located, so that the energy detection threshold value is dynamically adjusted, and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, the target channel is determined to be an idle channel, so that the misjudgment caused by environmental or equipment noise can be overcome, the probability of collision occurrence can be reduced, and the communication success rate can be enhanced.
In one embodiment, as shown in fig. 6, the step S530 specifically includes: step S531-step S532.
Step S531: and comparing the signal intensity of the target channel with the energy detection threshold according to the energy detection threshold of the sender on the target channel to obtain a comparison result.
It should be noted that, each node has a corresponding table, records the current energy detection threshold of each channel, and a set of default values will be obtained after the power-on.
The sender node may obtain the energy detection threshold of the target channel from the table and compare the signal strength of the target channel to the energy detection threshold.
Step S532: and adjusting the energy detection threshold according to the comparison result and the node relation between the destination node and the sender.
According to contention for uplink and downlink transmission, as shown in fig. 7, four states can be simply divided:
uplink-same destination node: different child nodes initiate transmission to the same parent node at the same time, and at the moment, the channel where the parent node is located is jumped to for channel energy detection.
(two) uplink-different destination node: different child nodes initiate transmission to the father node at the same time, and the child nodes have different father nodes, so that the child nodes jump to the frequency channel where the father node is located at the moment to perform channel energy detection, and if the frequency channel is not more, the frequency channel used by the father node still has the opportunity to collide.
And (III) descending: the parent node transmits to the child nodes, and since only one child node can transmit at a time, a collision occurs because if there are not many frequency hopping channels, then there is still a chance that the channels used by different child nodes will collide.
(IV) bidirectional: the uplink transmission of the child node to the parent node and the downlink transmission of the grandparent node to the parent node are both the two-way transmission objects of the parent node, so that collision can be generated.
For Wi-SUN FAN mesh network, any uplink data must be transferred through the parent node, when the number of child nodes under the same parent node is larger, each child node will jump to the channel where the same parent node is located, so that the uplink channel competition is more serious, and the amplitude of dynamic adjustment of the energy detection threshold can be slowed down, so that the competition of a plurality of child nodes is avoided. The downlink data is sent to a plurality of sub-nodes, and the plurality of sub-nodes are positioned in different channels, so that the problem of competition can not occur, and the normal amplitude of dynamic adjustment can be maintained.
Based on this, in an embodiment, the sender may adjust the energy detection threshold according to the first change rate if the signal strength of the target channel is greater than the energy detection threshold and the destination node is the parent node (i.e., uplink) of the sender according to the energy detection threshold of the target channel recorded in the table. In an embodiment, if the signal strength of the target channel is greater than the energy detection threshold, and the destination node is a child node of the sender, the energy detection threshold is adjusted up according to a second rate of change; the first rate of change is less than the second rate of change.
That is, when the uplink data is busy, the energy detection threshold is slowly adjusted up according to the first change rate, so that the competition of a plurality of sub-nodes can be avoided, and the communication success rate is improved.
When the bidirectional data is busy, namely the child node and the grandparent node compete for transmission to the parent node (namely the state four above), at the moment, the downlink data has higher priority, accords with the control data application of the back-end control console to the terminal network node, and therefore when the destination node is the child node of the sender, the energy detection threshold is accumulated according to the second change rate, and the transmission of the control data is completed as soon as possible.
In an embodiment, the sender adjusts the energy detection threshold according to the third change rate if the signal strength of the target channel is less than or equal to the energy detection threshold and the destination node is a parent node of the sender according to the energy detection threshold of the target channel recorded in the table. If the signal strength of the target channel is smaller than or equal to the energy detection threshold, and the target node is a child node of the sender, the energy detection threshold is adjusted down according to a fourth change rate; the third rate of change is greater than the fourth rate of change.
It should be noted that, the signal strength of the target channel is smaller than or equal to the energy detection threshold, which can be considered that the target channel is not busy, the energy detection threshold can be adjusted down, and the control data application of the back-end console to the terminal network node is met based on the higher priority of the downlink data, so when the target node is a child node, the energy detection threshold can be adjusted down slowly according to the fourth change rate. And when the destination node is a parent node, the energy detection threshold may be actively lowered at a third rate of change. In an embodiment, the first rate of change may be equal to the fourth rate of change. The second rate of change may be equal to the third rate of change.
In an embodiment, as shown in fig. 8, the step S530 may specifically include the following steps:
step S801: comparing whether the signal strength of the target channel is greater than an energy detection threshold of the target channel; if yes, go to step S802, if no, go to step S803.
Step S802: judging whether the destination node is a father node or not; if yes, go to step S804; if not, step S805 is performed.
Step S803: judging whether the destination node is a father node or not; if yes, go to step S806; if not, step S807 is executed.
Step S804: the energy detection threshold is slowly adjusted up at a first rate of change.
Step S805: the energy detection threshold is adjusted up according to the second rate of change product.
Step S806: the energy detection threshold is actively lowered at a third rate of change.
Step S807: the energy detection threshold is slowly lowered at a fourth rate of change.
According to the technical scheme provided by the embodiment of the application, each node is provided with a table for recording the current energy detection threshold value of each channel, and a slow or active energy detection threshold value adjustment strategy is set according to different transmission objects. According to the difference of the signal intensity of the target channel, when the transmission object is a father node, the energy detection threshold value needs to be slowly adjusted upwards or actively adjusted downwards. When the transmission object is a child node, the energy detection threshold value is required to be actively up-regulated or the energy detection threshold value is required to be slowly down-regulated, so that the mutual competition of multiple nodes can be avoided, the communication success rate is improved, and the transmission of the downlink control data is completed as soon as possible.
Fig. 9 is a flowchart of a method for detecting an idle channel according to another embodiment of the present application, which can be performed when a node is a sender, and the method includes the following steps S910 to S960.
Step S910: and determining a target channel currently intercepted by the target node according to the target node of the data to be transmitted.
Step S920: and switching the transmission channel of the sender to the target channel.
The above step S910 and step S920 may refer to the above step S510 and step S520.
Step S930: the energy detection threshold of the target channel is increased, so that the data to be transmitted is successfully transmitted to the destination node;
the detection of idle channels is typically performed prior to data transmission. But the transmitted channel detection can increase the determined background noise strength. Therefore, for data transmission, the energy detection threshold of the target channel can be temporarily raised, so that the data can be successfully transmitted to the destination node.
Step S940: and detecting the signal intensity of the target channel when the data is successfully transmitted, and determining the background noise intensity.
The sender node detects the signal strength of the target channel when the data is successfully transmitted, wherein the signal strength can be the signal energy lifting caused by the fact that the node is transmitting the data and the background noise. The signal strength of the data transmitted by the sender is a known quantity, so the background noise strength can be determined by subtracting the signal strength of the transmitted data from the detected signal strength.
Step S950: and determining an energy detection threshold of the target channel according to the background noise intensity.
The energy detection threshold of the target channel may be set according to the background noise intensity. In an embodiment, the background noise strength may be directly used as the energy detection threshold of the target channel.
Step S960: and when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel.
Conversely, when the signal strength of the target channel is greater than the energy detection threshold, the target channel is considered to be busy.
According to the scheme, the background noise intensity of the target channel can be determined more by carrying out data transmission and then signal intensity detection, so that a proper energy detection threshold is set, the accuracy of idle channel detection is improved, and the success rate of data transmission is improved.
The following is an embodiment of the apparatus of the present application, which may be used to execute the above-mentioned method embodiment of idle channel detection method of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to an embodiment of the idle channel detection method of the present application.
Fig. 10 is a block diagram of an apparatus for detecting an idle channel according to an embodiment of the present application. The apparatus is applied to a sender, as shown in fig. 10, and includes: channel determination module 1010, channel detection module 1020, threshold adjustment module 1030, and idle determination module 1040.
A channel determining module 1010, configured to determine, according to a destination node of data to be transmitted, a target channel currently monitored by the destination node;
a channel detection module 1020, configured to switch a transmission channel of the sender to the target channel, and detect a signal strength of the target channel;
a threshold adjustment module 1030, configured to adjust an energy detection threshold of the target channel according to the detected signal strength and a node relationship between the destination node and the sender;
and the idle judgment module 1040 is configured to determine that the target channel is an idle channel when the signal strength of the target channel is less than or equal to the energy detection threshold.
Fig. 11 is a block diagram of an idle channel detection apparatus according to another embodiment of the application. The apparatus is applied to a sender, as shown in fig. 11, and includes: channel determination module 1110, channel switch module 1120, data transmission module 1130, noise determination module 1140, threshold determination module 1150, and idle determination module 1060.
A channel determining module 1110, configured to determine, according to a destination node of data to be transmitted, a target channel currently monitored by the destination node;
a channel switching module 1120, configured to switch a transmission channel of the sender to the target channel;
a data transmission module 1130, configured to raise an energy detection threshold of the target channel, so that the data to be transmitted is successfully transmitted to the destination node;
a noise determining module 1140, configured to detect a signal strength of the target channel when the data is successfully transmitted, and determine a background noise strength;
a threshold determining module 1150, configured to determine an energy detection threshold of the target channel according to the background noise intensity;
the idle determination module 1060 is configured to determine that the target channel is an idle channel when the signal strength of the target channel is less than or equal to the energy detection threshold.
The implementation process of the functions and roles of each module in the above device is specifically shown in the implementation process of the corresponding steps in the above idle channel detection method, and will not be described herein.
In the several embodiments provided in the present application, the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (4)

1. A method for detecting an idle channel, the method being applied to a sender and comprising:
determining a target channel currently intercepted by a target node according to the target node of data to be transmitted;
switching the transmission channel of the sender to the target channel, and detecting the signal intensity of the target channel;
according to the detected signal intensity and the node relation between the destination node and the sender, adjusting an energy detection threshold of the target channel;
when the signal intensity of the target channel is smaller than or equal to the energy detection threshold value, determining that the target channel is an idle channel;
the adjusting the energy detection threshold of the target channel according to the detected signal strength and the node relation between the destination node and the sender specifically includes:
comparing the signal intensity of the target channel with an energy detection threshold according to the energy detection threshold of the sender on the target channel;
if the signal intensity of the target channel is greater than the energy detection threshold, and the target node is a father node of the sender, the energy detection threshold is adjusted up according to a first change rate; or if the signal strength of the target channel is greater than the energy detection threshold, and the target node is a child node of the sender, the energy detection threshold is adjusted up according to a second change rate; the first rate of change is less than the second rate of change; or alternatively, the first and second heat exchangers may be,
if the signal strength of the target channel is smaller than or equal to the energy detection threshold, and the target node is a father node of the sender, the energy detection threshold is adjusted down according to a third change rate; or if the signal strength of the target channel is less than or equal to the energy detection threshold, and the target node is a child node of the sender, the energy detection threshold is adjusted down according to a fourth change rate; the third rate of change is greater than the fourth rate of change.
2. The method according to claim 1, wherein the determining, according to the destination node of the data to be transmitted, the target channel currently listened to by the destination node comprises:
and determining a target channel currently intercepted by the destination node according to the frequency hopping time sequence of the destination node.
3. An electronic device, the electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method for detecting an idle channel of any of claims 1-2.
4. A computer readable storage medium storing a computer program executable by a processor to perform the method of detecting an idle channel according to any one of claims 1-2.
CN202111284683.4A 2021-11-01 2021-11-01 Idle channel detection method, electronic equipment and storage medium Active CN114006665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111284683.4A CN114006665B (en) 2021-11-01 2021-11-01 Idle channel detection method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111284683.4A CN114006665B (en) 2021-11-01 2021-11-01 Idle channel detection method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114006665A CN114006665A (en) 2022-02-01
CN114006665B true CN114006665B (en) 2023-10-27

Family

ID=79926368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111284683.4A Active CN114006665B (en) 2021-11-01 2021-11-01 Idle channel detection method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114006665B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114585031B (en) * 2022-03-18 2024-03-15 珠海优特电力科技股份有限公司 Frequency point switching method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101453A (en) * 2015-07-13 2015-11-25 西北工业大学 Carrier sensing method based on dynamic idle channel assessment threshold
CN108696929A (en) * 2017-04-05 2018-10-23 上海诺基亚贝尔股份有限公司 A kind of method and apparatus of dynamic adjustment CCA energy detection thresholds
CN109392184A (en) * 2017-08-02 2019-02-26 维沃移动通信有限公司 Information transferring method, the network equipment and terminal under a kind of unauthorized frequency range

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888256B (en) * 2016-09-30 2022-12-02 中兴通讯股份有限公司 Data transmission and receiving method, device, base station and terminal
CA3029574A1 (en) * 2018-01-10 2019-07-10 Comcast Cable Communications, Llc Power control for channel state information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101453A (en) * 2015-07-13 2015-11-25 西北工业大学 Carrier sensing method based on dynamic idle channel assessment threshold
CN108696929A (en) * 2017-04-05 2018-10-23 上海诺基亚贝尔股份有限公司 A kind of method and apparatus of dynamic adjustment CCA energy detection thresholds
CN109392184A (en) * 2017-08-02 2019-02-26 维沃移动通信有限公司 Information transferring method, the network equipment and terminal under a kind of unauthorized frequency range

Also Published As

Publication number Publication date
CN114006665A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
JP5142669B2 (en) Communication device and method and program for identifying cause of failure
CN101395868B (en) Clear channel reporting and assisting orphaned nodes in a wireless network
US8155099B2 (en) Method of operating an event-driven, delay-critical wireless sensor network
US20060159024A1 (en) Method and apparatus for responding to node anormalities within an ad-hoc network
CN107453794B (en) Information feedback method, device and system
KR20140059298A (en) Methods and apparatus for wan assisted contention detection & resolution in peer to peer networks
KR20150128763A (en) Methods and apparatus to control interference
Dagdeviren et al. PACK: Path coloring based k-connectivity detection algorithm for wireless sensor networks
CN114006665B (en) Idle channel detection method, electronic equipment and storage medium
KR20220141335A (en) Method, system and apparatus and medium for handling resource allocation in V2X communication
Zhao et al. 3-Way multi-carrier asynchronous neighbor discovery algorithm using directional antennas
US10609630B2 (en) Discovery message processing method and apparatus
CN111246398B (en) Low-energy-consumption communication method, device and system and storage medium
US9629023B2 (en) User apparatus and collision detection method
Akhavan et al. On the multi‐hop performance of receiver based MAC protocol in routing protocol for low‐power and lossy networks‐based low power and lossy wireless sensor networks
US20220039154A1 (en) Avoiding collisions in mesh network communications
Leonardi et al. A new adaptive receiver-initiated scheme for mitigating starvation in wireless networks
Seong et al. Distributed synchronization algorithm for infrastructure-less public safety networks
Choi et al. Delay analysis of carrier sense multiple access with collision resolution
Chatterjee et al. A new protocol for concurrently allocating licensed spectrum to underlay cognitive users
Hammoudi et al. Enhanced time‐slotted channel hopping
EP3949519B1 (en) Selective routing algorithm based on background noise
Haghighi Critical Study of Markovian Approaches for Batch Arrival Modeling in IEEE 802.15. 4-based Networks
Lalitha et al. An Integrated Signal Allocation Model with Effective Collision Resolution Model for Performance Enhancement of Wireless Sensor Networks.
Rahimian et al. Adaptive frameless slotted ALOHA considering energy efficiency

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant