WO2020172980A1 - 信道扫描方法及装置、存储介质、终端 - Google Patents
信道扫描方法及装置、存储介质、终端 Download PDFInfo
- Publication number
- WO2020172980A1 WO2020172980A1 PCT/CN2019/083823 CN2019083823W WO2020172980A1 WO 2020172980 A1 WO2020172980 A1 WO 2020172980A1 CN 2019083823 W CN2019083823 W CN 2019083823W WO 2020172980 A1 WO2020172980 A1 WO 2020172980A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- cca
- minimum
- controllable
- current
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of communication technology, in particular to a channel scanning method and device, storage medium, and terminal.
- wireless fidelity Wireless Fidelity, Wi-Fi for short
- the 2.4GHz band contains 14 channels
- the 5GHz band contains 42 channels, among which the channel bandwidth is 20MHz or 10MHz.
- channel scanning time When the channel scanning time is long, it will have many negative effects on Wi-Fi devices: for example, channel scanning before the Wi-Fi device is connected will cause the connection process to be prolonged; for example, in Wi-Fi devices Performing channel scan before roaming will cause the roaming process to be prolonged; for another example, when the Wi-Fi device performs positioning and other functions, the channel scan time will reduce the efficiency of positioning and other functions. Furthermore, the longer the channel scanning time, the more power consumption is consumed.
- the technical problem solved by the present invention is how to optimize the channel scanning mode to improve the channel scanning efficiency.
- an embodiment of the present invention provides a channel scanning method, which includes: when scanning the current channel, determining whether to extend the minimum value of the current channel within a time interval before the current channel sends a probe request frame.
- Channel dwell time if it is determined to extend, the minimum channel dwell time of the current channel is updated, otherwise, the minimum channel dwell time of the current channel is maintained unchanged; on the current channel, based on the CSMA competition for channel usage rights, when When the channel use right is obtained, a probe request frame is sent, and a minimum channel stay time timer is started, and the timing time of the minimum channel stay time timer is set based on the minimum channel stay time.
- the determining whether to extend the minimum channel stay time of the current channel includes: performing channel detection on the current channel, and determining whether to extend the minimum channel stay time of the current channel according to the channel detection result.
- the performing channel detection on the current channel includes: using a controllable CCA to detect the current channel, the energy detection threshold of the controllable CCA is lower than the energy detection threshold of the CCA, and the controllable CCA The carrier sense detection threshold of is lower than the carrier sense detection threshold of the CCA.
- the time interval includes a detection delay interval.
- the method further includes: within the detection delay interval, determining the available channel based on historical channel scan data. Control the energy detection threshold and carrier sense detection threshold of CCA.
- the time interval includes a detection delay interval and a channel contention access interval.
- the method further includes: performing a detection delay interval and a channel contention access interval.
- the energy detection threshold and the carrier sense detection threshold of the controllable CCA are determined based on historical channel scan data.
- the determining whether to extend the minimum channel stay time of the current channel according to the channel detection result includes: if the channel detection result of the controllable CCA is higher than the energy detection threshold of the controllable CCA, and/or, If the channel detection result of the controllable CCA is higher than the carrier sense detection threshold of the controllable CCA, the minimum channel stay time of the current channel is extended.
- the extending the minimum channel stay time of the current channel includes: extending the minimum channel stay time of the current channel based on the minimum channel stay time in historical channel scan data.
- the channel scanning method further includes: after sending the probe request frame on the current channel, waiting to receive a probe response within an extended minimum channel stay time of the current channel.
- the determining whether to extend the minimum channel dwell time of the current channel according to the channel detection result includes: if the channel detection result of the controllable CCA is less than the energy detection threshold of the controllable CCA, and/or, If the channel detection result of the controllable CCA is less than the carrier sense detection threshold of the controllable CCA, the minimum channel stay time of the current channel is maintained.
- the channel scanning method further includes: when the minimum channel stay time timer is started, a maximum channel stay time timer is also started.
- an embodiment of the present invention also provides a channel scanning device, including: a determining module, adapted to scan the current channel, determine whether to extend the time interval before the current channel sends the probe request frame The minimum channel stay time of the current channel; update the maintenance module, if it is determined to be extended, the update maintenance module is adapted to update the minimum channel stay time of the current channel, otherwise, maintain the minimum channel stay time of the current channel.
- the sending module is adapted to compete for channel use rights based on CSMA on the current channel, send a probe request frame when the channel use rights are obtained, and start a minimum channel dwell time timer, the timing of the minimum channel dwell time timer The time is set based on the minimum channel dwell time.
- an embodiment of the present invention also provides a storage medium on which computer instructions are stored, and the computer instructions execute the steps of the above method when the computer instructions are executed.
- an embodiment of the present invention also provides a terminal, including a memory and a processor, the memory stores computer instructions that can run on the processor, and when the processor runs the computer instructions Perform the steps of the above method.
- the embodiment of the present invention provides a channel scanning method, which includes: when scanning the current channel, determining whether to extend the minimum channel stay time of the current channel within a time interval before the current channel sends a probe request frame; Extend, update the minimum channel stay time of the current channel, otherwise, keep the minimum channel stay time of the current channel unchanged; on the current channel, based on the CSMA competition for the channel use right, send a probe when the channel use right is obtained Request a frame and start a minimum channel stay time timer, and the timing of the minimum channel stay time timer is set based on the minimum channel stay time.
- the embodiment of the present invention can adjust the channel dwell time of the Wi-Fi device during channel scanning by updating the minimum channel dwell time.
- the prior art can reduce the minimum channel dwell time, reduce the delay, and optimize Scanning efficiency of Wi-Fi devices. Furthermore, by adjusting the minimum channel dwell time, the reception success rate of the probe response sent by the Wi-Fi device delayed due to the busy channel of the access point can be effectively improved, effectively reducing the adverse impact brought by hidden nodes, which is beneficial to increase Wi-Fi The number of access points scanned by the device. Further, the technical solution provided by the embodiment of the present invention does not affect the channel scanning process of other Wi-Fi devices, and has good compatibility.
- the detecting the current channel includes: using a controllable CCA to detect the current channel, the energy detection threshold of the controllable CCA is lower than the energy detection threshold of the CCA, and the carrier detection of the controllable CCA The listening detection threshold is lower than the carrier detection detection threshold of the CCA.
- the time interval includes a detection delay interval
- the method further includes: within the detection delay interval, determining the controllable CCA based on historical channel scan data Energy detection threshold and carrier sense detection threshold.
- FIG. 1 is a schematic flowchart of a channel scanning method in the prior art
- Fig. 2 is a schematic diagram of an application scenario using a channel scanning method in the prior art
- FIG. 3 is a schematic flowchart of a channel scanning method according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a specific implementation of a channel scanning method according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a channel scanning process based on time according to an embodiment of the present invention.
- Fig. 6 is a schematic structural diagram of a channel scanning device according to an embodiment of the present invention.
- the channel scan time is long and the scan result is not accurate enough.
- the main channel scanning mechanism is based on the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard protocol.
- the IEEE 802.11 standard protocol defines two timers for channel scanning, one is the minimum channel time (Minimum Channel Time, MinCT) timer, and the other is the maximum channel time (Maximum Channel Time, referred to as MaxCT) timer. These two timers determine how long a Wi-Fi device (also known as a station (station), STA for short) can stay on a channel after sending a Probe Request frame.
- MinCT Minimum Channel Time
- MaxCT Maximum Channel Time
- the Wi-Fi device that is, the scanning station in the figure, sends a probe request frame on the channel. After sending the probe request frame, it starts to start the MinCT timer and the MaxCT timer. The figure shows Timing duration of MinCT timer and MaxCT timer.
- the scanning station waits for a period of time to wait to receive the probe response frame.
- the period of time may be a distributed interframe space (DIFS). If on the channel, the scanning station receives the probe response frame from the probe responder, the scanning station will feed back an Acknowledgement (ACK) after a short frame interval (Short Interframe Space, SIFS) to complete Scan of the channel.
- DIFS distributed interframe space
- the scanning station does not receive any Probe Response frames before the MinCT timer expires, or the scanning station detects that the channel is an IDLE channel, then the scanning station It can be considered that there is no Access Point (AP for short) on this channel, and it can jump directly to the next channel for scanning.
- AP Access Point
- the scanning station receives a detection response frame before the MinCT timer expires, or the scanning station detects that the channel is not idle, then the scanning station considers that there is an access point on the channel, and Stay on this channel until the MaxCT timer expires, and then jump to the next channel to scan.
- the scanning station uses the traditional Channel Idle Assessment (Clear Channel Assessment, referred to as CCA) mechanism, through energy (Energy Detect, referred to as abbreviation) detection with a fixed detection threshold and carrier sense (Carrier Sense).
- CCA Channel Idle Assessment
- Energy Detect referred to as abbreviation
- Carrier Sense Carrier Sense
- protection frames such as Request To Send (RTS) frames ( Not shown in the figure), Clear To Send (CTS for short) frame interaction, and reserved channel usage time.
- RTS Request To Send
- CTS Clear To Send
- the AP can set its network allocation vector (Network Allocated Vector, NAV for short) time, and does not send any packets during the NAV time.
- NAV Network Allocated Vector
- the AP will not send a probe response frame until the MinCT timer of the scanning station expires, which will cause the scanning station to mistake the channel for this channel If there is no AP on it, it will jump to the next channel after the MinCT timer expires, and miss the subsequent probe response frame sent by the AP.
- the prior art In order to reduce the defects caused by hidden nodes, the prior art often increases the minimum dwell time to increase the probability of more APs scanned by the channel, but this will greatly reduce the scanning efficiency.
- the embodiment of the present invention provides a channel scanning method, which includes: when scanning the current channel, determining whether to extend the minimum channel stay time of the current channel within a time interval before the current channel sends a probe request frame; Extend, update the minimum channel stay time of the current channel, otherwise, keep the minimum channel stay time of the current channel unchanged; on the current channel, based on the CSMA competition for the channel use right, send a probe when the channel use right is obtained Request a frame and start a minimum channel stay time timer, and the timing of the minimum channel stay time timer is set based on the minimum channel stay time.
- the embodiment of the present invention can adjust the channel dwell time of the Wi-Fi device during channel scanning by updating the minimum channel dwell time. Compared with the prior art, it can reduce the minimum channel dwell time, reduce the delay, and optimize Scanning efficiency of Wi-Fi devices. Furthermore, by adjusting the minimum channel dwell time, the reception success rate of the probe response sent by the Wi-Fi device delayed due to the busy channel of the access point can be effectively improved, effectively reducing the adverse impact brought by hidden nodes, which is beneficial to increase Wi-Fi The number of access points scanned by the device. Further, the technical solution provided by the embodiment of the present invention does not affect the channel scanning process of other Wi-Fi devices, and has good compatibility.
- FIG. 3 is a schematic flowchart of a channel scanning method according to an embodiment of the present invention.
- the channel scanning method may be executed by a Wi-Fi device. Specifically, the channel scanning method may include the following steps:
- Step S301 When scanning the current channel, determine whether to extend the minimum channel stay time of the current channel within a time interval before the current channel sends a probe request frame;
- Step S302 if it is determined to extend, update the minimum channel stay time of the current channel; otherwise, keep the minimum channel stay time of the current channel unchanged;
- Step S303 On the current channel, based on the CSMA competition for the channel use right, when the channel use right is obtained, a probe request frame is sent, and a minimum channel dwell time timer is started. The timing of the minimum channel dwell time timer is based on all The minimum channel dwell time is set.
- step S301 when the STA jumps to an unscanned channel and scans the channel as the current channel, the STA may determine whether to scan the current channel within the time interval before sending the probe request frame. The minimum channel dwell time of the channel is adjusted.
- the STA when the STA starts scanning on the current channel, it needs to wait for a probe delay interval (Probe Delay) on the current channel to monitor whether the current channel is idle. After that, if the current channel is idle within the detection delay interval, the STA can use a controllable CCA mode to compete for the channel to send the detection request frame.
- a probe delay interval Probe Delay
- controllable CCA is different from the traditional CCA in the prior art in that the carrier sense detection threshold and the energy detection threshold of the controllable CCA are thresholds that can be adjusted automatically, not fixed thresholds.
- the STA may determine the energy detection threshold and carrier sense detection of the controllable CCA based on historical channel scan data within the detection delay interval Threshold.
- the historical channel scan data may be determined by the STA based on the channel detection results of each channel of the completed channel scan and the number of APs scanned on the same channel.
- the STA can determine the location based on the historical channel scan data within the detection delay interval and the channel contention access interval.
- the energy detection threshold and carrier sense detection threshold of the controllable CCA are described.
- the energy detection threshold of the controllable CCA may be lower than the energy detection threshold of the traditional CCA, and the carrier sense detection threshold of the controllable CCA may be lower than the carrier sense detection threshold of the traditional CCA.
- the two detection thresholds of the controllable CCA can be updated based on the detection result of the traditional CCA.
- the STA may use traditional CCA to detect the current channel during the channel contention access interval time period. According to the channel detection result, it can be determined whether to adjust the carrier sense detection threshold and energy detection threshold of the controllable CCA, and then determine whether to extend the current channel according to the carrier sense detection threshold and energy detection threshold of the controllable CCA The minimum channel dwell time.
- the energy detection threshold of the traditional CCA is significantly higher than the energy detection threshold of the controllable CCA
- the channel sense detection threshold of the traditional CCA is significantly higher than the carrier sense detection threshold of the controllable CCA.
- the energy detection threshold and/or carrier sense detection threshold of the controllable CCA may be predefined before channel scanning. Under this condition, the STA can detect the channel within the channel contention access interval, and the controllable CCA can determine whether to increase and adjust the energy detection result of the controllable CCA according to the channel detection result, and/or carrier sensing Test results.
- the energy detection result and/or carrier sense detection result of the controllable CCA may each be equal to the energy detection result and/or carrier sense detection result of the traditional CCA.
- the STA may determine the energy detection result and the carrier sensing detection result of the controllable CCA together. If the energy detection result of the controllable CCA is higher than the energy detection threshold of the controllable CCA, the STA may extend the minimum channel dwell time of the current channel; and/or if the carrier of the controllable CCA If the sensing detection result is higher than the carrier sensing detection threshold of the controllable CCA, the STA can extend the minimum channel dwell time of the current channel to ensure that the STA can receive AP access points as much as possible due to hidden nodes The probe response frame that was delayed to be sent. Wherein, the extension time of the minimum channel stay time may refer to the minimum channel stay time in the historical channel scan data.
- the STA can maintain the minimum channel stay time of the current channel.
- the minimum channel stay time of the current channel may be the default minimum channel stay time specified by the IEEE 802.11 standard protocol.
- step S303 after competing for the channel based on the CSMA mechanism and acquiring the channel use right, the STA may send a probe request frame. And start MinCT timer and MaxCT timer.
- the timing time of the MinCT timer is set based on the minimum channel stay time.
- the MaxCT timer can be set according to the IEEE802.11 standard protocol.
- the timing time of the MinCT timer may be equal to the default specified in the IEEE802.11 standard protocol. Minimum channel dwell time.
- the STA when the STA performs channel scanning, the STA may first perform step S401, that is, the STA jumps to the current channel to scan the current channel;
- the STA may perform step S402. During the operation of the detection dwell time timer, the STA may perform a controllable CCA based on energy detection to detect the energy value (ie ED value) of the current channel;
- step S403 that is, determine whether the detection dwell time timer expires? If yes, the STA can perform operation S404, that is, record the energy detection result of the controllable CCA (the ED value is shown in the figure); if not, perform step S405 to determine whether the detection dwell time timer is running during the operation Wi-Fi grouping? If yes, go to step S4051, that is, record the controllable CCA carrier sense detection result (the CS value is shown in the figure), and go to step S406; if not, go to step S402;
- the STA may perform step S406, that is, use the traditional CCA to compete for the channel.
- the STA may perform step S4071, that is, record the controllable CCA ED value and/or the controllable CCA CS value, and the channel detection result of the controllable CCA may be based on the channel detection result of the traditional CCA Determined, that is, the channel detection result of the controllable CCA may be equal to the channel detection result of the traditional CCA;
- the STA may perform step S407 to determine whether the traditional CCA has successfully obtained the channel use right? If yes, perform step S408, that is, the STA can transmit a probe request frame on the current channel; if not, perform step S406;
- the STA may perform step S409, that is, the STA waits until the probe request frame is sent completely;
- the STA may perform step S410 to determine whether the recorded controllable CCA ED value is higher than the first preset energy threshold? If yes, execute step S410', that is, increase MinCT, and continue to execute step S411, that is, determine whether the CS value of the controllable CCA record is higher than the second preset energy threshold? If yes, perform step S412 to increase MinCT again;
- step S413 is executed, that is, MinCT is maintained.
- Fig. 5 is a schematic diagram of a channel scanning flow based on time according to an embodiment of the present invention.
- STA jumps to a new channel at time T1 and enters the detection delay interval from time T1.
- STA tries to send a probe request frame.
- STA needs to compete for the channel. That is, starting from time T2, channel competition is carried out.
- the STA successfully acquires the channel use right at time T3, it can send a probe request frame.
- the time from time T2 to time T3 represents the channel access duration for the STA to compete for the channel.
- the probe request frame starts to be transmitted at time T3, and the transmission is completed at time T4.
- MinCT the minimum channel dwell time based on the controllable CCA channel detection result (ie MinCT shown in the figure).
- MinCT the minimum channel dwell time based on the controllable CCA channel detection result
- channel scanning can be optimized, channel scanning efficiency can be improved, and adverse effects caused by hidden nodes can be reduced, which is beneficial to increase the number of access points scanned by Wi-Fi devices. Furthermore, because the technical solution provided by the embodiment of the present invention does not affect the channel scanning process of other Wi-Fi devices, it can coexist with other Wi-Fi devices in practical applications and has good compatibility.
- Fig. 6 is a schematic structural diagram of a channel scanning device according to an embodiment of the present invention.
- the channel scanning device 6 may be implemented by a Wi-Fi device to implement the technical solutions shown in FIGS. 3 to 5, for example, implemented by a Wi-Fi site.
- the channel scanning device 6 may include: when the determining module 61 is adapted to scan the current channel, determine whether to extend the minimum channel of the current channel within a time interval before the current channel sends a probe request frame Stay time; update maintaining module 62, if it is determined to be extended, said update maintaining module 62 is adapted to update the minimum channel stay time of the current channel, otherwise, maintain the minimum channel stay time of the current channel unchanged; sending module 63 , Suitable for competing for channel use rights based on CSMA on the current channel, sending a probe request frame when the channel use rights are obtained, and starting a minimum channel dwell time timer. The timing of the minimum channel dwell time timer is based on all The minimum channel dwell time is set.
- the determining module 61 may include: a determining sub-module 611, adapted to perform channel detection on the current channel, and determine whether to extend the minimum channel stay time of the current channel according to the channel detection result.
- the determining submodule 611 may include: a detecting unit 6111, adapted to detect the current channel by using a controllable CCA, the energy detection threshold of the controllable CCA is lower than the energy detection threshold of the CCA, so The carrier sense detection threshold of the controllable CCA is lower than the carrier sense detection threshold of the CCA.
- the time interval includes a detection delay interval
- the determining submodule 611 may include: a first determining unit 6112, adapted to detect the current channel by using a controllable CCA, before the detection delay In the interval, the energy detection threshold and the carrier sense detection threshold of the controllable CCA are determined based on historical channel scan data.
- the time interval may include a detection delay interval and a channel contention access interval
- the determining submodule 611 may further include: a second determining unit 6113, which is adapted to use a controllable CCA pair Before detecting the current channel, within the detection delay interval and the channel competition access interval, the energy detection threshold and the carrier sense detection threshold of the controllable CCA are determined based on historical channel scan data.
- the determining submodule 611 is further adapted to extend the minimum channel stay time of the current channel.
- the determining submodule 611 is further adapted to extend the minimum channel stay time of the current channel based on the minimum channel stay time in the historical channel scan data.
- the determining submodule 611 is further adapted to compete for the channel use right based on CSMA on the current channel, and after sending the probe request frame when the channel use right is obtained, extend the obtained minimum channel of the current channel During the stay, waiting to receive the probe response.
- the determining submodule 611 may include: a maintaining unit 6114. If the channel detection result of the controllable CCA is less than the energy detection threshold of the controllable CCA, and/or the channel detection result of the controllable CCA is less than the carrier sense detection threshold of the controllable CCA, the The maintaining unit 6114 is adapted to maintain the minimum channel dwell time of the current channel.
- the channel scanning device 6 may further include: a starting module 64, which is adapted to start the maximum channel stay time timer when starting the minimum channel stay time timer.
- the embodiment of the present invention also discloses a storage medium on which computer instructions are stored, and when the computer instructions are executed, the method and technical solutions described in the embodiments shown in FIGS. 3 to 5 are executed.
- the storage medium may include a computer-readable storage medium such as a non-volatile memory or a non-transitory memory.
- the computer-readable storage medium may include ROM, RAM, magnetic disk or optical disk, etc.
- an embodiment of the present invention also discloses a terminal, including a memory and a processor, the memory stores computer instructions that can run on the processor, and the processor executes the above diagram when the computer instructions are executed.
- the terminal is a Wi-Fi station.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种信道扫描方法及装置、存储介质、终端,所述信道扫描方法包括:对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。通过本发明的实施例,可以优化信道扫描,提高信道扫描效率。
Description
本申请要求于2019年2月26日提交中国专利局、申请号为201910142205.6、发明名称为“信道扫描方法及装置、存储介质、终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及通信技术领域,具体地涉及一种信道扫描方法及装置、存储介质、终端。
当前市面上,很多无线保真技术(Wireless Fidelity,简称Wi-Fi)设备支持2.4GHz和5GHz两个频带。2.4GHz频带包含14个信道,5GHz频带包含了42个信道,其中,信道带宽为20MHz或10MHz。
对于一个完整的Wi-Fi信道扫描,会将上述所有的信道都扫描一遍。以每个信道固定采用40毫秒的扫描时间为例,2.4GHz频带需要的扫描时间为:14×40=560毫秒;5GHz需要的扫描时间为:42×40=1680毫秒。以每个信道固定采用100毫秒的扫描时间为例:2.4GHz需要的扫描时间为:14×40=1400毫秒;5GHz需要的扫描时间为:42×40=4200毫秒。
当信道扫描时间较长时,将对Wi-Fi设备带来很多负面影响:例如,在Wi-Fi设备的连接之前进行信道扫描,将会导致连接过程被延长;又例如,在Wi-Fi设备的漫游之前进行信道扫描,将会导致漫游过程被延长;再例如,在Wi-Fi设备执行定位等功能时进行信道扫描,信道扫描时间将降低定位等功能效率。进一步,信道扫描时间越长,功耗消耗也越多。
因而,如何优化信道扫描效率,还需进一步研究。
发明内容
本发明解决的技术问题是如何优化信道扫描方式,以提高信道扫描效率。
为解决上述技术问题,本发明实施例提供一种信道扫描方法,包括:对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
可选的,所述确定是否延长所述当前信道的最小信道停留时间包括:对所述当前信道进行信道检测,并根据信道检测结果确定是否延长所述当前信道的最小信道停留时间。
可选的,所述对所述当前信道进行信道检测包括:采用可控CCA对所述当前信道进行检测,所述可控CCA的能量检测门限低于CCA的能量检测门限,所述可控CCA的载波侦听检测门限低于所述CCA的载波侦听检测门限。
可选的,所述时间间隔包括探测推迟间隔,在采用可控CCA对所述当前信道进行检测之前,所述方法还包括:在所述探测推迟间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
可选的,所述时间间隔包括探测推迟间隔和信道竞争接入间隔,在采用可控CCA对所述当前信道进行检测之前,所述方法还包括:在所述探测推迟间隔和信道竞争接入间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
可选的,所述根据信道检测结果确定是否延长所述当前信道的最小信道停留时间包括:如果所述可控CCA的信道检测结果高于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果高于所述可控CCA的载波侦听检测门限,则延长所述当前信道的最小信道停留时间。
可选的,所述延长所述当前信道的最小信道停留时间包括:基于历史信道扫描数据中的最小信道停留时间,延长所述当前信道的最小信道停留时间。
可选的,所述信道扫描方法还包括:在所述当前信道上发送所述探测请求帧之后,在延长得到的所述当前信道的最小信道停留时间内,等待接收探测响应。
可选的,所述根据信道检测结果确定是否延长所述当前信道的最小信道停留时间包括:如果所述可控CCA的信道检测结果小于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果小于所述可控CCA的载波侦听检测门限,则维持所述当前信道的最小信道停留时间。
可选的,所述信道扫描方法还包括:启动所述最小信道停留时间定时器时,一并启动最大信道停留时间定时器。
为解决上述技术问题,本发明实施例还提供一种信道扫描装置,包括:确定模块,适于对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;更新维持模块,如果确定延长,则所述更新维持模块适于更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;发送模块,适于在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
为解决上述技术问题,本发明实施例还提供一种存储介质,其上存储有计算机指令,所述计算机指令运行时执行上述方法的步骤。
为解决上述技术问题,本发明实施例还提供一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机指令,所述处理器运行所述计算机指令时执行上述方法的步骤。
与现有技术相比,本发明实施例的技术方案具有以下有益效果:
本发明实施例提供一种信道扫描方法,包括:对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。考虑到隐藏节点的存在,本发明实施例可以通过更新最小信道停留时间,调整Wi-Fi设备在信道扫描时的信道停留时间,对比现有技术,可以减少最小信道停留时间,降低时延,优化Wi-Fi设备的扫描效率。进一步,通过调整最小信道停留时间,可以有效提高Wi-Fi设备因接入点所在信道繁忙而推迟发送的探测响应的接收成功率,有效降低隐藏节点带来的不利影响,有利于增加Wi-Fi设备扫描到的接入点数量。进一步,本发明实施例提供的技术方案不会影响其他Wi-Fi设备的信道扫描过程,具有很好的兼容性。
进一步,所述对所述当前信道进行检测包括:采用可控CCA对所述当前信道进行检测,所述可控CCA的能量检测门限低于CCA的能量检测门限,所述可控CCA的载波侦听检测门限低于所述CCA的载波侦听检测门限。通过本发明实施例提供的技术方案,通过调整信道检测门限,进一步为确定是否延长最小信道停留时间提供可行技术方案。
进一步,所述时间间隔包括探测推迟间隔,在采用可控CCA对 所述当前信道进行检测之前,所述方法还包括:在所述探测推迟间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。通过本发明实施例提供的技术方案,可以自适应地根据历史信道扫描数据调整可控CCA的信道检测门限,灵活度高,有利于基于信道负载信息实现对最小信道停留时间的调整,为进一步优化信道扫描提供可能。
图1是现有技术中的一种信道扫描方法的流程示意图;
图2是利用现有技术中的信道扫描方法的应用场景示意图;
图3是本发明实施例的一种信道扫描方法的流程示意图;
图4是本发明实施例的一种信道扫描方法的具体实施方式的流程示意图;
图5是本发明实施例的一种以时间为主线的信道扫描流程示意图;
图6是本发明实施例的一种信道扫描装置的结构示意图。
如背景技术所言,现有技术中,信道扫描时间长,扫描结果不够准确。
当前,主要的信道扫描机制是基于电气和电子工程师协会(Institute of Electrical and Electronics Engineers,简称IEEE)802.11标准协议完成的。
IEEE 802.11标准协议为信道扫描定义了两个计时器,一个是最小信道停留时间(Minimum Channel Time,简称MinCT)计时器,另一个是最大信道停留时间(Maximum Channel Time,简称MaxCT) 计时器。这两个计时器决定了Wi-Fi设备(亦称站点(station),简称STA)发送完探测请求(Probe Request)帧后,可以在一个信道上的停留时间。
通常情况下,如图1所示,Wi-Fi设备即图中扫描站点在信道上发送探测请求帧,发完该探测请求帧后,开始启动MinCT计时器和MaxCT计时器,图中示出了MinCT计时器和MaxCT计时器的定时时长。在发送探测请求帧之后,所述扫描站点会等待一段时间以等待接收探测响应帧,例如,所述一段时间可以是分布式帧间间隔(Distributed Interframe Space,简称DIFS)。如果在信道上,所述扫描站点接收到来自探测应答方的探测响应帧,那么所述扫描站点将在短帧间隔(Short Interframe Space,简称SIFS)后反馈确认帧(Acknowledgement,简称ACK),完成所述信道的扫描。
进一步,如果在MinCT计时器超时之前,所述扫描站点没有收到任何探测响应(Probe Response)帧,或是所述扫描站点侦测到所述信道是空闲(IDLE)信道,那么所述扫描站点就可以认为该信道上没有接入点(Access Point,简称AP),可以直接跳转到下一个信道进行扫描。
如果在MinCT计时器超时之前,所述扫描站点收到探测响应帧,或是所述扫描站点侦测到该信道是非空闲的,那么所述扫描站点就认为该信道上存在接入点,并在该信道上停留,直到MaxCT计时器超时,再跳转到下一个信道进行扫描。
在MinCT计时器计时过程中,所述扫描站点使用传统的信道空闲评估(Clear Channel Assessment,简称CCA)机制,通过具有固定检测门限值的能量(Energy Detect,简称)检测和载波侦听(Carrier Sense,简称CS)检测判断信道是否空闲。
如果所述扫描站点周围存在隐藏节点,而该隐藏节点对于AP是非隐藏的,那么参考图2,可能存在如下情况:隐藏节点通过保护帧交互,比如请求发送(Request To Send,简称RTS)帧(图未示)、 清除发送(Clear To Send,简称CTS)帧交互,预留信道使用时间。
在此条件下,由于该隐藏节点对于AP是非隐藏的,使得AP能够设置其网络分配向量(Network Allocated Vector,简称NAV)时间,并在NAV时间内不发送任何包。然而,由于该隐藏节点对于所述扫描站点是隐藏的,该扫描站点不知信道已被其他站点占用,因而将会在此隐藏节点预留的保护时间内,发送探测请求帧,并在探测请求帧发送结束后启动MinCT计时器。
如果AP设置的NAV时间间隔过长,超过MinCT计时器超时时间,那么在所述扫描站点的MinCT计时器超时之前,AP都不会发送探测响应帧,这将导致所述扫描站点误认为该信道上没有任何AP的存在,将在MinCT计时器超时后跳转到下一个信道,错过该AP后续发送的探测响应帧。
现有技术为了减小隐藏节点带来的缺陷,往往采用增加最小停留时间来提高信道扫描到的更多AP的概率,但这将极大地降低扫描效率。
本发明实施例提供一种信道扫描方法,包括:对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
考虑到隐藏节点的存在,本发明实施例可以通过更新最小信道停留时间,调整Wi-Fi设备在信道扫描时的信道停留时间,对比现有技术,可以减少最小信道停留时间,降低时延,优化Wi-Fi设备的扫描效率。进一步,通过调整最小信道停留时间,可以有效提高Wi-Fi设备因接入点所在信道繁忙而推迟发送的探测响应的接收成功率,有效 降低隐藏节点带来的不利影响,有利于增加Wi-Fi设备扫描到的接入点数量。进一步,本发明实施例提供的技术方案不会影响其他Wi-Fi设备的信道扫描过程,具有很好的兼容性。
为使本发明的上述目的、特征和有益效果能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。
图3是本发明实施例的一种信道扫描方法的流程示意图,所述信道扫描方法可以由Wi-Fi设备执行。具体地,所述信道扫描方法可以包括以下步骤:
步骤S301,对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;
步骤S302,如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;
步骤S303,在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
更具体而言,在步骤S301中,当STA跳转到一个未扫描的信道,并将该信道作为当前信道进行扫描时,STA可以在发送探测请求帧之前的时间间隔内,确定是否对该当前信道的最小信道停留时间进行调整。
具体而言,STA在所述当前信道上开始扫描时,需要在该当前信道上等待探测推迟间隔(Probe Delay),以侦听该当前信道是否空闲。之后,如果所述当前信道在探测推迟间隔内是空闲的,那么STA可以采用可控CCA方式来竞争信道以发送探测请求帧。
在具体实施中,所述可控CCA与现有技术中的传统CCA的不同之处在于,可控CCA的载波侦听检测门限和能量检测门限是能够自 适应调整的门限,不是固定门限。
作为一个非限制性的例子,在采用可控CCA检测所述当前信道之前,STA可以在所述探测推迟间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。所述历史信道扫描数据可以是该STA基于已经完成的信道扫描的各个信道的信道检测结果,以及同一信道上扫描得到的AP的数量确定的。
或者,如果在采用可控CCA检测所述当前信道之前,存在探测推迟间隔和信道竞争接入间隔,那么STA可以在所述探测推迟间隔和信道竞争接入间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
在具体实施中,所述可控CCA的能量检测门限可以低于传统CCA的能量检测门限,所述可控CCA的载波侦听检测门限可以低于传统CCA的载波侦听检测门限。所述可控CCA的两个检测门限可以基于传统CCA的检测结果进行更新。
具体地,STA可以在信道竞争接入间隔时间段内,采用传统CCA对所述当前信道进行检测。根据该信道检测结果,可以确定是否调整所述可控CCA的载波侦听检测门限和能量检测门限,进而根据所述可控CCA的载波侦听检测门限和能量检测门限确定是否延长所述当前信道的最小信道停留时间。
作为一个非限制性的例子,传统CCA的能量检测门限显著高于所述可控CCA的能量检测门限,传统CCA的信道侦听检测门限显著高于所述可控CCA的载波侦听检测门限。所述可控CCA的能量检测门限和/或载波侦听检测门限可以是在信道扫描前预先定义的。在此条件下,STA可以在所述信道竞争接入间隔内对信道进行检测,可控CCA可以根据信道检测结果确定是否增大调整所述可控CCA的能量检测结果,和/或载波侦听检测结果。所述可控CCA的能量检测结果和/或载波侦听检测结果可以各自等于所述传统CCA的能量检测结果和/或载波侦听检测结果。
在步骤S302中,在STA通过传统CCA获得信道使用权之后,STA可以一并确定所述可控CCA的能量检测结果和载波侦听检测结果。如果所述可控CCA的能量检测结果高于所述可控CCA的能量检测门限,则所述STA可以延长所述当前信道的最小信道停留时间;和/或,如果所述可控CCA的载波侦听检测结果高于所述可控CCA的载波侦听检测门限,则所述STA可以延长所述当前信道的最小信道停留时间,使其能尽量保证STA可以接收到AP接入点由于隐藏节点被推迟发送的探测响应帧。其中,所述最小信道停留时间的延长时间可以参考历史信道扫描数据中的最小信道停留时间。
作为一个变化例,如果所述可控CCA的能量检测结果低于或等于所述可控CCA的能量检测门限,且所述可控CCA的载波侦听检测结果低于或等于所述可控CCA的载波侦听检测门限,则所述STA可以维持所述当前信道的最小信道停留时间。所述当前信道的最小信道停留时间可以是IEEE 802.11标准协议规定的默认最小信道停留时间。
在步骤S303中,在基于CSMA机制竞争信道,并在获取到信道使用权之后,STA可以发送探测请求帧。并启动MinCT计时器和MaxCT计时器。所述MinCT计时器的定时时间是基于所述最小信道停留时间设置的。所述MaxCT计时器可以根据IEEE802.11标准协议进行设置。
在具体实施中,如果所述最小信道停留时间被延长,那么意味着所述MinCT计时器的计时时间也将延长,否则,所述MinCT计时器的计时时间可以等于IEEE802.11标准协议规定的默认最小信道停留时间。
在一个典型应用场景中,如图4所示,STA进行信道扫描时,STA可以首先执行步骤S401,即STA跳转到当前信道,以对该当前信道进行扫描;
其次,STA可以执行步骤S402,在探测停留时间定时器运行期 间,STA可以基于能量检测执行可控CCA,以检测所述当前信道的能量值(即ED值);
再次,STA可以执行步骤S403,即确定所述探测停留时间定时器是否超时?如果是,则STA可以执行操作S404,即记录可控CCA的能量检测结果(图示为ED值);如果否,则执行步骤S405,确定在所述探测停留时间定时器运行期间,是否检测到Wi-Fi分组?如果是,则执行步骤S4051,即记录可控CCA载波侦听检测结果(图示为CS值),并转向步骤S406;如果否,则转向步骤S402;
进一步,STA可以执行步骤S406,即利用传统CCA竞争信道。本领域技术人员理解,此时,STA可以执行步骤S4071,即记录可控CCA ED值和/或可控CCA CS值,所述可控CCA的信道检测结果可以根据所述传统CCA的信道检测结果确定,即所述可控CCA的信道检测结果可以等于所述传统CCA的信道检测结果;
进一步,STA可以执行步骤S407,确定传统CCA是否成功获取到信道使用权?如果是,则执行步骤S408,即STA可以在当前信道传输探测请求帧;如果否,则执行步骤S406;
进一步,STA可以执行步骤S409,即STA等待直到所述探测请求帧发送完毕;
进一步,STA可以执行步骤S410,确定记录的可控CCA ED值是否高于第一预设能量门限?如果是,则执行步骤S410’,即增加MinCT,并继续执行步骤S411,即确定可控CCA记录的CS值是否高于第二预设能量门限?如果是,则执行步骤S412,以再次增加MinCT;
进一步,如果所述可控CCA记录的ED值低于所述第一预设能量门限,且记录的CS值低于所述第二预设能量门限,则执行步骤S413,即维持MinCT。
图5是本发明实施例的一种以时间为主线的信道扫描流程示意 图。参考图5,STA在时刻T1跳转到一个新信道上,并从时刻T1开始进入探测推迟间隔,在时刻T2,STA尝试发送探测请求帧,在发送探测请求帧之前,STA需要进行信道竞争,即从时刻T2开始,进行信道竞争。当STA在时刻T3成功获取信道使用权后,可以发送探测请求帧,此时,可以得知从时刻T2至时刻T3表示STA进行信道竞争的信道接入时长。其中,从时刻T1至时刻T3为可控CCA检测时长。进一步,所述探测请求帧从时刻T3开始传输,并在时刻T4传输完毕。
之后,如果STA基于所述可控CCA的信道检测结果确定调整最小信道停留时间(即图示的MinCT),那么在时刻T4调整MinCT,图中从时刻T4开始至时刻T5为原始MinCT时长,从时刻T4至时刻T6为调整后的MinCT时长。进一步,如果在所述调整后的MinCT时长内,信道一直处于空闲状态,那么STA可以在时刻T6跳转至下一个信道。
由上,通过本发明实施例可以优化信道扫描,可以提高信道扫描效率,降低隐藏节点带来的不利影响,有利于增加Wi-Fi设备扫描到的接入点数量。进一步,由于本发明实施例提供的技术方案不会影响其他Wi-Fi设备的信道扫描过程,因而在实际应用中,可以与其他Wi-Fi设备共存,具有很好的兼容性。
图6是本发明实施例的一种信道扫描装置的结构示意图。所述信道扫描装置6可以由Wi-Fi设备实施上述图3至图5所示方法技术方案,例如,由Wi-Fi站点实施。
具体而言,所述信道扫描装置6可以包括:确定模块61适于对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;更新维持模块62,如果确定延长,则所述更新维持模块62适于更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;发送模块63,适于在所述当前信道上,基于CSMA竞争信 道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
在具体实施中,所述确定模块61可以包括:确定子模块611,适于对所述当前信道进行信道检测,并根据信道检测结果确定是否延长所述当前信道的最小信道停留时间。
在具体实施中,所述确定子模块611可以包括:检测单元6111,适于采用可控CCA对所述当前信道进行检测,所述可控CCA的能量检测门限低于CCA的能量检测门限,所述可控CCA的载波侦听检测门限低于所述CCA的载波侦听检测门限。
在具体实施中,所述时间间隔包括探测推迟间隔,所述确定子模块611可以包括:第一确定单元6112,适于在采用可控CCA对所述当前信道进行检测之前,在所述探测推迟间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
作为一个变化例,在具体实施中,所述时间间隔可以包括探测推迟间隔和信道竞争接入间隔,所述确定子模块611还可以包括:第二确定单元6113,适于在采用可控CCA对所述当前信道进行检测之前,在所述探测推迟间隔和信道竞争接入间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
在具体实施中,如果所述可控CCA的信道检测结果高于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果高于所述可控CCA的载波侦听检测门限,则所述确定子模块611还适于延长所述当前信道的最小信道停留时间。
在具体实施中,所述确定子模块611还适于基于历史信道扫描数据中的最小信道停留时间,延长所述当前信道的最小信道停留时间。
在具体实施中,所述确定子模块611还适于在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧 之后,在延长得到的所述当前信道的最小信道停留时间内,等待接收探测响应。
在具体实施中,所述确定子模块611可以包括:维持单元6114。如果所述可控CCA的信道检测结果小于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果小于所述可控CCA的载波侦听检测门限,则所述维持单元6114适于维持所述当前信道的最小信道停留时间。
在具体实施中,所述信道扫描装置6还可以包括:启动模块64,适于启动所述最小信道停留时间定时器时,一并启动最大信道停留时间定时器。
关于图6所示的信道扫描装置6的工作原理、工作方式的更多内容,可以一并参照上述图3至图5中的相关描述,这里不再赘述。
进一步地,本发明实施例还公开一种存储介质,其上存储有计算机指令,所述计算机指令运行时执行上述图3至图5所示实施例中所述方法技术方案。优选地,所述存储介质可以包括诸如非挥发性(non-volatile)存储器或者非瞬态(non-transitory)存储器等计算机可读存储介质。所述计算机可读存储介质可以包括ROM、RAM、磁盘或光盘等。
进一步地,本发明实施例还公开一种终端,包括存储器和处理器,所述存储器上存储有能够在所述处理器上运行的计算机指令,所述处理器运行所述计算机指令时执行上述图3至图5所示实施例中所述方法技术方案。优选地,所述终端为Wi-Fi站点。
虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。
Claims (13)
- 一种信道扫描方法,其特征在于,包括:对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;如果确定延长,则更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
- 根据权利要求1所述的信道扫描方法,其特征在于,所述确定是否延长所述当前信道的最小信道停留时间包括:对所述当前信道进行信道检测,并根据信道检测结果确定是否延长所述当前信道的最小信道停留时间。
- 根据权利要求2所述的信道扫描方法,其特征在于,所述对所述当前信道进行信道检测包括:采用可控CCA对所述当前信道进行检测,所述可控CCA的能量检测门限低于CCA的能量检测门限,所述可控CCA的载波侦听检测门限低于所述CCA的载波侦听检测门限。
- 根据权利要求3所述的信道扫描方法,其特征在于,所述时间间隔包括探测推迟间隔,在采用可控CCA对所述当前信道进行检测之前,还包括:在所述探测推迟间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
- 根据权利要求3所述的信道扫描方法,其特征在于,所述时间间隔包括探测推迟间隔和信道竞争接入间隔,在采用可控CCA对所 述当前信道进行检测之前,所述方法还包括:在所述探测推迟间隔和信道竞争接入间隔内,基于历史信道扫描数据确定所述可控CCA的能量检测门限和载波侦听检测门限。
- 根据权利要求3所述的信道扫描方法,其特征在于,所述根据信道检测结果确定是否延长所述当前信道的最小信道停留时间包括:如果所述可控CCA的信道检测结果高于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果高于所述可控CCA的载波侦听检测门限,则延长所述当前信道的最小信道停留时间。
- 根据权利要求6所述的信道扫描方法,其特征在于,所述延长所述当前信道的最小信道停留时间包括:基于历史信道扫描数据中的最小信道停留时间,延长所述当前信道的最小信道停留时间。
- 根据权利要求7所述的信道扫描方法,其特征在于,还包括:在所述当前信道上发送所述探测请求帧之后,在延长得到的所述当前信道的最小信道停留时间内,等待接收探测响应。
- 根据权利要求3所述的信道扫描方法,其特征在于,所述根据信道检测结果确定是否延长所述当前信道的最小信道停留时间包括:如果所述可控CCA的信道检测结果小于所述可控CCA的能量检测门限,和/或,所述可控CCA的信道检测结果小于所述可控CCA的载波侦听检测门限,则维持所述当前信道的最小信道停留时间。
- 根据权利要求1至9任一项所述的信道扫描方法,其特征在于,还包括:启动所述最小信道停留时间定时器时,一并启动最大信道停留时间定时器。
- 一种信道扫描装置,其特征在于,包括:确定模块,适于对当前信道进行扫描时,在所述当前信道发送探测请求帧之前的时间间隔内,确定是否延长所述当前信道的最小信道停留时间;更新维持模块,如果确定延长,则所述更新维持模块适于更新所述当前信道的最小信道停留时间,否则,维持所述当前信道的最小信道停留时间不变;发送模块,适于在所述当前信道上,基于CSMA竞争信道使用权,当获得信道使用权时发送探测请求帧,并启动最小信道停留时间定时器,所述最小信道停留时间定时器的定时时间是基于所述最小信道停留时间设置的。
- 一种存储介质,其上存储有计算机指令,其特征在于,所述计算机指令运行时执行权利要求1至10任一项所述的方法的步骤。
- 一种终端,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机指令,其特征在于,所述处理器运行所述计算机指令时执行权利要求1至10任一项所述的方法的步骤。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US17/042,608 US11490418B2 (en) | 2019-02-26 | 2019-04-23 | Channel scanning method and device, storage medium and terminal |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910142205.6 | 2019-02-26 | ||
| CN201910142205.6A CN109618395B (zh) | 2019-02-26 | 2019-02-26 | 信道扫描方法及装置、存储介质、终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020172980A1 true WO2020172980A1 (zh) | 2020-09-03 |
Family
ID=66022193
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/083823 Ceased WO2020172980A1 (zh) | 2019-02-26 | 2019-04-23 | 信道扫描方法及装置、存储介质、终端 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US11490418B2 (zh) |
| CN (1) | CN109618395B (zh) |
| WO (1) | WO2020172980A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109618395B (zh) * | 2019-02-26 | 2020-06-02 | 展讯通信(上海)有限公司 | 信道扫描方法及装置、存储介质、终端 |
| CN110351812B (zh) * | 2019-06-24 | 2021-10-22 | 惠州Tcl移动通信有限公司 | Wifi搜索网络功率控制方法、移动终端及存储介质 |
| CN113438714B (zh) | 2019-08-01 | 2022-12-02 | Oppo广东移动通信有限公司 | 一种调整方法、终端及计算机存储介质 |
| CN111147165B (zh) * | 2020-01-20 | 2022-07-15 | 展讯通信(上海)有限公司 | 无线信道启动方法及装置、存储介质、终端 |
| CN114885401A (zh) * | 2022-05-12 | 2022-08-09 | 南京创芯慧联技术有限公司 | Wifi主动扫描方法及装置、终端定位方法及装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102752823A (zh) * | 2012-07-04 | 2012-10-24 | 西安电子科技大学 | 基于ap协作的wlan中用户终端在接入点之间的切换方法 |
| US20150245285A1 (en) * | 2014-02-27 | 2015-08-27 | Samsung Electronics Co., Ltd. | Method for setting communication channel of device, method for setting communication channel between a plurality of devices, and device |
| EP2945431A1 (en) * | 2013-01-11 | 2015-11-18 | LG Electronics Inc. | Method and device for performing active scanning |
| CN109219075A (zh) * | 2018-10-09 | 2019-01-15 | 深圳创维数字技术有限公司 | 一种无线信道扫描方法、装置、终端及存储介质 |
| CN109618395A (zh) * | 2019-02-26 | 2019-04-12 | 展讯通信(上海)有限公司 | 信道扫描方法及装置、存储介质、终端 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| HK1202757A1 (zh) | 2012-05-03 | 2015-10-02 | Interdigital Patent Holdings, Inc. | 在無線局域網中的增强型主動掃描 |
| US9210652B2 (en) * | 2012-07-06 | 2015-12-08 | Futurewei Technologies, Inc. | System and method for active scanning in multi-channel Wi-Fi system |
| KR101715535B1 (ko) * | 2012-10-15 | 2017-03-10 | 엘지전자 주식회사 | 무선랜에서 액티브 스캐닝 방법 및 장치 |
| JP6214759B2 (ja) * | 2013-05-14 | 2017-10-18 | エルジー エレクトロニクス インコーポレイティド | 無線lanシステムにおいて基本サービスセットを支援する方法及び装置 |
| US9521587B2 (en) | 2013-12-11 | 2016-12-13 | Futurewei Technologies, Inc. | System and method for determining a clear channel assessment threshold |
| CN105939543B (zh) * | 2015-03-05 | 2021-07-09 | 中兴通讯股份有限公司 | 一种信道检测方法和装置 |
| WO2017058135A1 (en) * | 2015-09-28 | 2017-04-06 | Nokia Technologies Oy | Multiplexed messaging in wireless network |
| CN108135006A (zh) * | 2017-12-22 | 2018-06-08 | 北京邮电大学 | 一种基于Minstrel算法的速率和载波侦听阈值联合调整方法 |
| US10743356B2 (en) * | 2018-08-20 | 2020-08-11 | Sony Corporation | Unassigned slots announcement in TDD SP channel access WLAN networks |
-
2019
- 2019-02-26 CN CN201910142205.6A patent/CN109618395B/zh active Active
- 2019-04-23 WO PCT/CN2019/083823 patent/WO2020172980A1/zh not_active Ceased
- 2019-04-23 US US17/042,608 patent/US11490418B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102752823A (zh) * | 2012-07-04 | 2012-10-24 | 西安电子科技大学 | 基于ap协作的wlan中用户终端在接入点之间的切换方法 |
| EP2945431A1 (en) * | 2013-01-11 | 2015-11-18 | LG Electronics Inc. | Method and device for performing active scanning |
| US20150245285A1 (en) * | 2014-02-27 | 2015-08-27 | Samsung Electronics Co., Ltd. | Method for setting communication channel of device, method for setting communication channel between a plurality of devices, and device |
| CN109219075A (zh) * | 2018-10-09 | 2019-01-15 | 深圳创维数字技术有限公司 | 一种无线信道扫描方法、装置、终端及存储介质 |
| CN109618395A (zh) * | 2019-02-26 | 2019-04-12 | 展讯通信(上海)有限公司 | 信道扫描方法及装置、存储介质、终端 |
Also Published As
| Publication number | Publication date |
|---|---|
| US11490418B2 (en) | 2022-11-01 |
| CN109618395A (zh) | 2019-04-12 |
| CN109618395B (zh) | 2020-06-02 |
| US20210100032A1 (en) | 2021-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230345537A1 (en) | Communication method and apparatus, and computer-readable storage medium | |
| KR102238772B1 (ko) | 액세스 방법 및 장치 | |
| EP3139680B1 (en) | Channel access method, system and computer readable storage medium | |
| JP7532648B2 (ja) | チャネル競合方法及び関連機器 | |
| US9648559B2 (en) | Systems and methods for differentiated fast initial link setup | |
| KR101601616B1 (ko) | 다중 채널 Wi-Fi 시스템에서 능동 스캐닝을 위한 시스템 및 방법 | |
| WO2020172980A1 (zh) | 信道扫描方法及装置、存储介质、终端 | |
| JP7524468B2 (ja) | マルチ・リンク・デバイスのチャネル・アクセス方法及び関連装置 | |
| US12232037B2 (en) | Method for sending wake up packet | |
| CN105830506B (zh) | 在支持用于下行链路的信道的无线lan系统中的功率减少模式操作方法及其装置 | |
| US10117272B2 (en) | Data transmission method and device in wireless LAN system supporting downlink oriented channel | |
| US10128966B1 (en) | Method and apparatus for communication | |
| KR20230116722A (ko) | Emlsr 동작을 지원하는 무선랜에서 저지연 통신을 위한 방법 및 장치 | |
| WO2013037327A1 (zh) | 一种传输信息的方法和装置 | |
| US9084230B2 (en) | Communication method in WLAN system | |
| CN1996908A (zh) | 无线局域网中信道占用结束时刻更新及其状态检测的方法 | |
| WO2023134581A1 (zh) | 信道竞争方法及装置 | |
| US20160353417A1 (en) | Method for transmitting and receiving data in wireless lan system supporting downlink frame transmission interval and device for same | |
| CN119789231A (zh) | 信道接入方法和装置 | |
| US12356373B2 (en) | Nonconforming network allocation vector (NAV) detection and mitigation | |
| WO2025089088A1 (ja) | 通信装置、通信装置の制御方法、およびプログラム | |
| CN121359529A (zh) | 接入点省电方法、装置、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19917226 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19917226 Country of ref document: EP Kind code of ref document: A1 |