WO2018120900A1 - Network access method and device, and system - Google Patents
Network access method and device, and system Download PDFInfo
- Publication number
- WO2018120900A1 WO2018120900A1 PCT/CN2017/100229 CN2017100229W WO2018120900A1 WO 2018120900 A1 WO2018120900 A1 WO 2018120900A1 CN 2017100229 W CN2017100229 W CN 2017100229W WO 2018120900 A1 WO2018120900 A1 WO 2018120900A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- access point
- station
- wake
- message
- Prior art date
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
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- 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 application relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a network access method, apparatus, and system.
- IoT devices are connected to the network and connected to each other through wired or wireless means, including intelligent transportation, environmental protection, government work, public safety, safe home, intelligent fire protection, industrial monitoring, and elderly care. Personal health, water monitoring, food traceability and many other areas.
- the number of IoT devices involved in IoT applications is huge and can be called massive terminals. Most of these terminals work on battery power.
- one of the methods is to add a power-saving module to the IoT device with wireless communication capability.
- the working principle of the power-saving module is as follows: When the power-saving module is turned on, the device can shut down other modules. For example, the sensor module, the microprocessor module, the memory module, the wireless communication module, etc., only retains the operation of the power saving module, and the working state of the device is hereinafter referred to as the power saving state.
- the power-saving module consumes very little power during operation, generally at the microwatt level.
- the power-saving module needs to monitor whether there is a wake-up signal sent to itself. Once received, it triggers other modules to work according to the request of the wake-up signal, such as turning on the micro-processing module, turning on the wireless communication module, etc., hereinafter referred to as a wake-up process. .
- the AP can also add a power-saving module.
- the STA associated with the AP does not provide uplink data to the AP, the AP can only save the power-saving module. If a STA needs to send data to the AP, The wake-up signal is first sent to the AP, and the AP receives the wake-up signal, turns on other modules, and performs related operations, such as receiving uplink data from the STA.
- the scanning process starts, but when the AP is in the power-saving state, only the power-saving module is in the listening state, so when the STA performs active or passive scanning on the channel,
- the Beacon frame or the Probe Response frame from the AP may not be received within the length of the system.
- the STA may jump to other channels to scan the target AP, thus extending the duration of the STA accessing the network.
- an embodiment of the present application provides a network access method, including:
- the station sends one or more wake-up messages on a channel in the first set of channels, wherein the wake-up message is used to wake up one or more access points, the wake-up message carrying indication information, the indication information is used for Instructing the site to perform network access;
- an embodiment of the present application provides a network access apparatus, including:
- a first receiving module configured to receive information returned by the access point according to the indication information
- a processing module configured to perform network access according to the returned information.
- the embodiment of the present application provides a network access method, including:
- the access point receives the wake-up message sent by the station on the channel in the first channel set;
- the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the information is returned to the site according to the indication information in the wakeup message;
- FIG. 7 is a schematic diagram of a working channel bandwidth of an AP in an application example of the present application.
- FIG. 1 is a flowchart of a network access method according to an embodiment of the present application. As shown in FIG. 1 , the network access method provided in this embodiment is applied to a station, and a method for performing network access by a station when a wireless communication access point is in a power saving state is given. The method includes the following steps:
- Step 101 The station sends one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, the indication The information is used to indicate that the site needs to perform network access;
- the first channel set may refer to a channel set in which the one or more access points monitor wake-up messages.
- the wakeup identifier of the one or more access points may be carried in the wakeup message.
- the site scan type is passive scanning, and the following embodiments are provided in this embodiment:
- step 102 the station listens to the second predetermined duration on the designated channel, and receives a response frame that is sent by the access point to the user within the second predetermined duration; the response frame carries the connection a working channel of an ingress; the station receives a beacon frame on the working channel;
- step 103 after the station acquires the beacon frame, the access point is selected to perform network access.
- the station receiving a beacon frame on the working channel may include: listening to a first predetermined duration for each channel of the working channel, and receiving a beacon frame received within a first predetermined duration When the first predetermined duration arrives, it jumps to the next channel until it jumps to the last channel of the working channel.
- the access point when the site scan type is passive scanning, the access point sends a working channel notification on the site designated channel, and the station then performs passive scanning on one or more working channels. After all the channels are scanned, the scanning result is processed. If the access point that you want to access or the access point that is suitable for access is found, the subsequent access operation is performed.
- the station carries a designated channel while waking up the access point, and the access point wakes up and responds to the response frame on the designated channel, indicating that it has woken up and carrying its own working channel in the response frame. In order to achieve the purpose of quickly notifying the station of the working channel of the access point, thereby further reducing the number of station scanning channels.
- the access point sends a response frame to the station on a predefined channel, where the response frame carries the working channel of the access point;
- the predefined channel is that the station sends a wake-up message. a channel in the first channel set, or a channel in the second channel set;
- the first sending module 301 can be configured to send one or more wake-up messages on a channel in the first set of channels by transmitting one or more on a set of channels on which the access point listens for wake-up messages Multiple wakeup messages.
- the first sending module 301 can be configured to send a wake-up message carrying the wake-up identifier of the one or more access points by sending a wake-up message carrying a wake-up identifier of at least one of the following identifiers:
- the first receiving module 302 may be configured to receive information returned by the access point according to the indication information by:
- the predefined Channel is a channel in a first channel set in which the station sends a wake-up message, or a channel in a second channel set;
- the processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
- the processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
- the first sending module 301 may be further configured to send a probe request frame on each channel of the working channel, or a probe request frame that does not include a MAC layer load;
- the first receiving module 302 may be configured to not receive any response frame within a third predetermined duration, and jump to the next channel; if at least one response frame is received, the current channel is monitored until the first predetermined time arrives, and the receiving The probe response frame sent by the access point jumps to the next channel until it jumps to the last channel of the working channel;
- the processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
- This embodiment also provides a site, including the network access device provided by the embodiment shown in FIG.
- the indication information carried in the awake message may indicate that the scanning type performed by the station is an active scanning or a passive scanning; or the indication information may indicate that the type of the awake message is used for waking up Incoming and performing a wake-up message for network access, and the site will by default perform one of the following scan types: active scan, passive scan.
- the second sending module 402 may be configured to return information to the station according to the indication information in the wakeup message by sending a beacon frame on the working channel of the access point itself, if the probe request frame is received, or A probe request frame that does not contain a MAC layer load, and sends a probe response frame to the station.
- the predefined channel is a channel in a first channel set in which the station sends a wake-up message, or a channel in a second channel set; transmitting a beacon frame on the working channel, if A probe response frame is sent to the station to the probe request frame or a probe request frame that does not include a MAC layer load.
- This embodiment further provides an access point, including the network access apparatus provided in the embodiment shown in FIG.
- Sites including:
- a second receiving module configured to receive, on a channel in the first channel set, a wake-up message sent by the first sending module of the station, where the wake-up message carries indication information, where the indication information is used to indicate that a site needs to perform a network Access
- the second sending module is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return the information to the first receiving module of the site according to the indication information in the wakeup message.
- Step 604 The station receives information returned by the access point according to the indication information.
- the AP is configured with a power-saving module.
- a power-saving module As shown in Figure 8, when the AP does not have uplink and downlink services, the AP can only save the power-saving module and enter the power-saving state.
- the power saving module of the AP only needs to continuously or non-continuously listen to the wake-up signal from the station on a specific channel.
- the channel of the AP's power-saving module listening for the wake-up signal is pre-configured by the system. Among them, there are several possible configurations:
- the site that wakes up the AP may have data to send to the AP, or it may want to access the AP in the power-saving state. This example is mainly for the latter case.
- a site wants to access an AP but does not receive the AP signal after active scanning or passive scanning, or does not find an AP after active scanning or passive scanning, if it wants to detect whether an AP exists, the site is in the pre-configured AP.
- the awake message needs to carry a wake-up identifier in the wake-up message to achieve the purpose of waking up the AP.
- the wake-up message is sent to the awake message on one or more channels in the channel set of the wake-up signal. Or, the site wants to perform network access.
- At least one of an SSID and a BSSID of the target access point At least one of an SSID and a BSSID of the target access point
- At least one of a wildcard SSID and a wildcard BSSID At least one of a wildcard SSID and a wildcard BSSID.
- the receiving address is a unicast address, and carries one or a combination of two or more of the following identifiers of the AP that is desired to be accessed: the SSID, the BSSID, the value obtained by calculating the SSID, and the calculated value obtained by the BSSID;
- the receiving address is a multicast address or a broadcast address, and carries one or a combination of two or more of the following identifiers of the APs that are desired to be accessed: the SSID, the BSSID, the value obtained by calculating the SSID, and the calculated value obtained by the BSSID. ;
- the station may send one or more wake-up signals on one channel, or send one or more wake-up signals on each channel in turn, or use parallel transmission.
- multiple wake-up signals are sent on multiple channels, and the wake-up identifiers carried in each wake-up signal may be the same or different.
- the configuration of the channel for listening to the wake-up signal, the value of the wake-up identifier, and the sending method of the wake-up message are the same as those of the application example 1.
- the scan type of the site is active scanning.
- the station After the station sends the wake-up signal, it goes to the working channel set of the AP and performs active scanning for each channel.
- the probe request frame or the NDP (Null Data Packet) probe request frame is sent on one channel. If no response frame is received within the T3 time, the jump to the next channel starts to send the probe request frame. If any response frame is received, the T1 duration is always monitored. When the T1 duration arrives, the next channel is transmitted and the probe request frame is started.
- NDP Null Data Packet
- the jump to the next channel starts to send the probe request frame, and if any response frame is received, the T1 is always monitored.
- the duration when the T1 duration arrives, moves to the next channel and starts transmitting the probe request frame.
- the scan result is processed. If the AP that you want to access or the AP that is suitable for access is found, the subsequent access operations are performed.
- the configuration of the channel on which the AP listens for the wake-up signal, the value of the wake-up identifier, and the method of transmitting the wake-up message are the same as in the application example 1.
- the site does not carry the channel information in the wake-up message.
- the AP sends a response frame to the site by default on the predefined channel, and the response frame carries the working channel of the AP itself.
- the predefined channel here may be a channel that receives a wake-up message, or a channel in a second set of channels pre-defined by the system.
- the station will listen to the T2 duration on the channel to receive response frames from one or more APs.
- the AP may contend to send the response frame one or more times in T2, switch to the working channel when T2 arrives, or switch to the working channel only once.
- the station sends a probe request frame or an NDP probe request frame to each channel on the working channel indicated by the response frame. If no response frame is received within time T3, the station jumps to the next channel. Send a probe request frame, if it receives any response frame, it will always listen The T1 duration, when the T1 duration arrives, moves to the next channel and starts transmitting the probe request frame.
- the station may perform AP selection according to at least one of information content and signal reception strength of the response frame, and pre-screen out a plurality of APs that may be further scanned or accessed, and Sending a radio frame, such as a management frame, or a control frame, to the selected one or more APs on the designated channel.
- a radio frame such as a management frame, or a control frame
- the site goes to the working channel of the selected one or more APs. If only one AP is selected, the AP can be directly associated with the AP. If multiple APs are selected, active scanning or passive scanning can be performed on the channels on which the APs work, and then the system parameters of the APs are obtained. The selected target accesses the AP and completes network access.
- the implementation manner is the same as that of the application example 4.
- Computer storage medium is included for storing information (such as computer readable instructions, data structures, program modules). Volatile and non-volatile, removable and non-removable media implemented in any method or technology, or other data.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
- communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A network access method comprises: a station transmitting, on channels in a first channel set, one or more wake-up messages, the wake-up messages being used to wake up one or more access points, the wake-up messages carrying indication information, the indication information indicating a need of the station to execute network access; the station receiving information returned by the access points according to the indication information; and the station executing network access according to the returned information.
Description
本申请涉及但不限于无线通信技术领域,尤其涉及一种网络接入方法及装置、系统。The present application relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a network access method, apparatus, and system.
目前,物联网行业快速发展,大量物联网设备接入网络,通过有线或者无线的方式互相连接,遍及智能交通、环境保护、政府工作、公共安全、平安家居、智能消防、工业监测、老人护理、个人健康、水系监测、食品溯源等多个领域。物联网应用中涉及的物联网设备数量巨大,可以称之为海量终端。这些终端大多通过电池供电进行工作。在多数应用场景中,如水质监测、环境监测和工业监测中,设备的安装地点并不容易随时进行检测维修,以及更换电池;在另一些场景中,如智能交通,电力抄表,服务提供商也希望设备一旦安装,可以长达数月甚至数年无需更换电池,这就需要物联网设备具有高性能的省电机制。At present, the Internet of Things industry is developing rapidly. A large number of IoT devices are connected to the network and connected to each other through wired or wireless means, including intelligent transportation, environmental protection, government work, public safety, safe home, intelligent fire protection, industrial monitoring, and elderly care. Personal health, water monitoring, food traceability and many other areas. The number of IoT devices involved in IoT applications is huge and can be called massive terminals. Most of these terminals work on battery power. In most application scenarios, such as water quality monitoring, environmental monitoring and industrial monitoring, the installation location of the equipment is not easy to detect and repair at any time, and to replace the battery; in other scenarios, such as intelligent transportation, electricity meter reading, service providers It is also hoped that once the device is installed, it can be replaced for several months or even years without replacing the battery, which requires the IoT device to have a high-performance power-saving mechanism.
在各类省电机制中,其中一种方法是为具备无线通信能力的物联网设备增加一个省电模块,该省电模块的工作原理如下:当此省电模块开启时,设备可以关闭其他模块,例如传感器模块、微处理器模块、存储器模块、无线通信模块等等,仅保留省电模块工作,下文称设备的这种工作状态为省电状态。省电模块在工作时耗电量极低,一般在微瓦级别。省电模块需要监听是否有发送给自己的唤醒信号,一旦收到,则根据唤醒信号的要求,触发其他模块进行工作,例如开启微处理模块、开启无线通信模块等,下文称这一过程为唤醒。Among the various power-saving mechanisms, one of the methods is to add a power-saving module to the IoT device with wireless communication capability. The working principle of the power-saving module is as follows: When the power-saving module is turned on, the device can shut down other modules. For example, the sensor module, the microprocessor module, the memory module, the wireless communication module, etc., only retains the operation of the power saving module, and the working state of the device is hereinafter referred to as the power saving state. The power-saving module consumes very little power during operation, generally at the microwatt level. The power-saving module needs to monitor whether there is a wake-up signal sent to itself. Once received, it triggers other modules to work according to the request of the wake-up signal, such as turning on the micro-processing module, turning on the wireless communication module, etc., hereinafter referred to as a wake-up process. .
以无线网中常见的设备:接入点(Access Point,简称AP)以及非接入站点(non-AP STA,简称STA)为例,说明上述工作方式。一个AP建立一个基本服务集(Basic Service Set,简称BSS),STA为与该AP关联的一个无线设备,为该STA增加省电模块,则该STA在没有业务的情况下可以仅保留省电模块工作,用于接收唤醒信号。一段时间之后,AP需要向STA发
送下行数据,则AP首先发送唤醒信号给STA,STA的省电模块收到唤醒信号,确认该唤醒信号是发送给自己的,则根据唤醒信号的内容,开启其他模块,执行相关操作,例如接收来自AP的下行数据。另一种应用场景下,为AP也可以增加省电模块,则当与AP关联的STA没有给AP的上行数据时,AP可以仅保留省电模块工作,若某个STA需要向AP发送数据,首先发送唤醒信号给AP,AP收到唤醒信号,开启其他模块,执行相关操作,例如接收来自STA的上行数据。The above-mentioned working methods are described by taking the common devices in the wireless network: an Access Point (AP) and a non-AP STA (STA). An AP establishes a Basic Service Set (BSS). The STA is a wireless device associated with the AP. If the STA adds a power-saving module to the STA, the STA can retain only the power-saving module if there is no service. Work to receive wake-up signals. After a while, the AP needs to send to the STA.
After sending the downlink data, the AP first sends a wake-up signal to the STA. The STA's power-saving module receives the wake-up signal and confirms that the wake-up signal is sent to itself. According to the content of the wake-up signal, other modules are enabled to perform related operations, such as receiving. Downstream data from the AP. In another application scenario, the AP can also add a power-saving module. When the STA associated with the AP does not provide uplink data to the AP, the AP can only save the power-saving module. If a STA needs to send data to the AP, The wake-up signal is first sent to the AP, and the AP receives the wake-up signal, turns on other modules, and performs related operations, such as receiving uplink data from the STA.
一个STA想要接入网络,首先要进行网络扫描,目前存在两类网络扫描方式:被动扫描和主动扫描。被动扫描是指STA根据信道列表,在每个信道上监听一定时间长度,以接收Beacon(信标)帧,发现该信道上存在的BSS。主动扫描是指STA根据信道列表,在每个信道上主动发送广播地址的Probe Request(探测请求)帧,其中携带希望接入的SSID(Service Set Identifier,服务集标识)、SSID列表、或者BSSID(基本服务集标识),收集每个信道上收到的Probe Response(探测响应)帧,从而发现该信道上存在的BSS。When a STA wants to access the network, it first needs to perform network scanning. Currently, there are two types of network scanning methods: passive scanning and active scanning. Passive scanning means that the STA listens on each channel for a certain length of time according to the channel list to receive the Beacon frame and discover the BSS existing on the channel. Active scanning refers to a Probe Request frame that the STA actively sends a broadcast address on each channel according to the channel list, which carries the SSID (Service Set Identifier), the SSID list, or the BSSID (which is desired to be accessed). The basic service set identifier) collects the Probe Response frame received on each channel to discover the BSS existing on the channel.
当AP进入省电状态,如果一个STA想要接入该AP,则开始发起扫描过程,但AP在省电状态时只有省电模块处于监听状态,因此STA在信道上执行主动或被动扫描时,可能在系统定义的时间长度内无法接收到来自该AP的Beacon帧或者Probe Response帧,STA可能跳转到其他信道上去扫描目标AP,从而延长了STA接入网络的时长。When the AP enters the power-saving state, if a STA wants to access the AP, the scanning process starts, but when the AP is in the power-saving state, only the power-saving module is in the listening state, so when the STA performs active or passive scanning on the channel, The Beacon frame or the Probe Response frame from the AP may not be received within the length of the system. The STA may jump to other channels to scan the target AP, thus extending the duration of the STA accessing the network.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
第一方面,本申请实施例提供一种网络接入方法,包括:In a first aspect, an embodiment of the present application provides a network access method, including:
站点在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The station sends one or more wake-up messages on a channel in the first set of channels, wherein the wake-up message is used to wake up one or more access points, the wake-up message carrying indication information, the indication information is used for Instructing the site to perform network access;
站点接收接入点根据所述指示信息返回的信息;
The station receives information returned by the access point according to the indication information;
站点根据所述返回的信息执行网络接入。The station performs network access based on the returned information.
第二方面,本申请实施例提供一种网络接入方法,包括:In a second aspect, the embodiment of the present application provides a network access method, including:
接入点在第一信道集合中的信道上接收站点发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The access point receives the awake message sent by the station on the channel in the first channel set, where the awake message carries the indication information, where the indication information is used to indicate that the site needs to perform network access;
当接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点。When the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the information is returned to the site according to the indication information in the wakeup message.
第三方面,本申请实施例提供一种网络接入装置,包括:In a third aspect, an embodiment of the present application provides a network access apparatus, including:
第一发送模块,配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;a first sending module, configured to send one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, The indication information is used to indicate that the site needs to perform network access;
第一接收模块,配置为接收接入点根据所述指示信息返回的信息;a first receiving module, configured to receive information returned by the access point according to the indication information;
处理模块,配置为根据所述返回的信息执行网络接入。And a processing module configured to perform network access according to the returned information.
第四方面,本申请实施例提供一种站点,包括上述第三方面的网络接入装置。In a fourth aspect, an embodiment of the present application provides a site, including the network access device of the foregoing third aspect.
第五方面,本申请实施例提供一种网络接入装置,包括:In a fifth aspect, the embodiment of the present application provides a network access apparatus, including:
第二接收模块,配置为在第一信道集合中的信道上接收站点发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;a second receiving module, configured to receive, by using a channel in the first channel set, a wake-up message sent by the station, where the wake-up message carries indication information, where the indication information is used to indicate that the site needs to perform network access;
第二发送模块,配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点。The second sending module is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return information to the site according to the indication information in the wakeup message.
第六方面,本申请实施例提供一种接入点,包括上述第五方面的网络接入装置。In a sixth aspect, an embodiment of the present application provides an access point, including the network access apparatus of the foregoing fifth aspect.
第七方面,本申请实施例提供一种网络接入系统,包括:站点和接入点;In a seventh aspect, the embodiment of the present application provides a network access system, including: a site and an access point;
站点,包括:第一发送模块,配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接
入;第一接收模块,配置为接收接入点根据所述指示信息返回的信息;处理模块,配置为根据所述返回的信息执行网络接入;The station includes: a first sending module configured to send one or more wake-up messages on a channel in the first channel set, wherein the wake-up message is used to wake up one or more access points, in the wake-up message Carrying indication information, the indication information is used to indicate that the site needs to perform network connection
The first receiving module is configured to receive information returned by the access point according to the indication information, and the processing module is configured to perform network access according to the returned information;
接入点,包括:第二接收模块,配置为在第一信道集合中的信道上接收站点第一发送模块发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;第二发送模块,配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点的第一接收模块。The access point includes: a second receiving module, configured to receive, on a channel in the first channel set, a wake-up message sent by the first sending module of the station, where the wake-up message carries indication information, where the indication information is used Instructing the station to perform network access; the second sending module is configured to: when it is determined that the wake-up identifier and the self-awake identifier in the wake-up message match, return information to the first receiving of the station according to the indication information in the wake-up message Module.
第八方面,本申请实施例提供一种网络接入方法,包括:In an eighth aspect, the embodiment of the present application provides a network access method, including:
站点在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The station sends one or more wake-up messages on a channel in the first set of channels, wherein the wake-up message is used to wake up one or more access points, the wake-up message carrying indication information, the indication information is used for Instructing the site to perform network access;
接入点在第一信道集合中的信道上接收站点发送的唤醒消息;The access point receives the wake-up message sent by the station on the channel in the first channel set;
当接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点;When the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the information is returned to the site according to the indication information in the wakeup message;
站点接收接入点根据所述指示信息返回的信息;The station receives information returned by the access point according to the indication information;
站点根据所述返回的信息执行网络接入。The station performs network access based on the returned information.
此外,本申请实施例还提供一种计算机可读介质,存储有网络接入程序,所述网络接入程序被处理器执行时实现如上述第一方面或第二方面提供的网络接入方法的步骤。In addition, the embodiment of the present application further provides a computer readable medium, where a network access program is stored, and when the network access program is executed by the processor, the network access method provided by the first aspect or the second aspect is implemented. step.
上述方案实现了无线通信接入点处于省电状态时,当站点需要接入网络时,通过发送唤醒消息给接入点,并根据接入点反馈的信息执行网络接入,从而使得站点可以快速发现信道上存在的网络,并执行网络接入,有效减小了由于接入点处于省电状态而带来的网络接入时延。The above solution realizes that when the wireless communication access point is in the power saving state, when the station needs to access the network, the waking message is sent to the access point, and the network access is performed according to the information fed back by the access point, so that the station can be quickly Discovering the network existing on the channel and performing network access effectively reduces the network access delay caused by the access point being in a power-saving state.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本申请实施例提供的一种网络接入方法的流程图;
FIG. 1 is a flowchart of a network access method according to an embodiment of the present application;
图2为本申请实施例提供的一种网络接入方法的流程图;2 is a flowchart of a network access method according to an embodiment of the present application;
图3为本申请实施例提供的网络接入装置的结构示意图;FIG. 3 is a schematic structural diagram of a network access apparatus according to an embodiment of the present application;
图4为本申请实施例提供的网络接入装置的结构示意图;4 is a schematic structural diagram of a network access apparatus according to an embodiment of the present application;
图5为本申请实施例提供的网络接入系统的结构示意图;FIG. 5 is a schematic structural diagram of a network access system according to an embodiment of the present application;
图6为本申请实施例提供的网络接入方法的流程图;FIG. 6 is a flowchart of a network access method according to an embodiment of the present application;
图7为本申请的应用实例中的AP的工作信道带宽示意图;7 is a schematic diagram of a working channel bandwidth of an AP in an application example of the present application;
图8为本申请的应用实例中的AP配置了一个省电模块的结构示意图。FIG. 8 is a schematic structural diagram of a power saving module configured in an AP in an application example of the present application.
详述Detailed
下文中将结合附图对本申请实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1所示为本申请实施例提供的一种网络接入方法的流程图。如图1所示,本实施例提供的网络接入方法应用于站点,给出了无线通信接入点处于省电状态时,站点进行网络接入的方法。所述方法包括以下步骤:FIG. 1 is a flowchart of a network access method according to an embodiment of the present application. As shown in FIG. 1 , the network access method provided in this embodiment is applied to a station, and a method for performing network access by a station when a wireless communication access point is in a power saving state is given. The method includes the following steps:
步骤101,站点在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;Step 101: The station sends one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, the indication The information is used to indicate that the site needs to perform network access;
步骤102,站点接收接入点根据所述指示信息返回的信息;Step 102: The station receives information returned by the access point according to the indication information.
步骤103,站点根据所述返回的信息执行网络接入。Step 103: The station performs network access according to the returned information.
其中,所述第一信道集合可以是指所述一个或多个接入点监听唤醒消息的信道集合。The first channel set may refer to a channel set in which the one or more access points monitor wake-up messages.
其中,所述接入点返回的信息可以是信标帧,或者是探测响应帧。The information returned by the access point may be a beacon frame or a probe response frame.
示例性地,所述唤醒消息的接收地址可以为单播地址,或者组播地址,或者广播地址。Exemplarily, the receiving address of the wake-up message may be a unicast address, or a multicast address, or a broadcast address.
示例性地,所述唤醒消息中可以携带所述一个或多个接入点的唤醒标识。Exemplarily, the wakeup identifier of the one or more access points may be carried in the wakeup message.
示例性地,所述唤醒标识可以是以下至少之一:接入点的SSID,SSID经运算得到的值,接入点的BSSID,BSSID经运算得到的值,通配符SSID,
通配符BSSID。Exemplarily, the wakeup identifier may be at least one of: an SSID of an access point, an operationd value of the SSID, a BSSID of the access point, a calculated value of the BSSID, a wildcard SSID,
Wildcard BSSID.
示例性地,所述SSID经运算得到的值可以是:SSID的部分字节,或者经压缩算法得到的SSID;所述BSSID经运算得到的值可以是:BSSID的部分字节,或者经压缩算法得到的BSSID。Exemplarily, the value obtained by the operation of the SSID may be: a partial byte of the SSID or an SSID obtained by a compression algorithm; the calculated value of the BSSID may be: a partial byte of the BSSID, or a compression algorithm The resulting BSSID.
在本实施例中,步骤101中,在第一信道集合中的信道上发送一个或多个唤醒消息,可以包括:在第一信道集合中的一个信道上顺序发送一个或多个唤醒消息,或者在第一信道集合中的多个信道中的每个信道上顺序发送一个或多个唤醒消息,或者在第一信道集合中的多个信道中的每个信道上并行发送多个唤醒消息。In this embodiment, in step 101, sending one or more wake-up messages on a channel in the first channel set may include: sequentially transmitting one or more wake-up messages on one channel in the first channel set, or One or more wake-up messages are sequentially transmitted on each of the plurality of channels in the first set of channels, or a plurality of wake-up messages are transmitted in parallel on each of the plurality of channels in the first set of channels.
作为本实施例的一种示例性实施方式,步骤101中所述指示信息,可以指示所述站点执行的扫描类型为主动扫描或者是被动扫描。As an exemplary implementation manner of this embodiment, the indication information in step 101 may indicate that the scanning type performed by the site is active scanning or passive scanning.
作为本实施例的另一种示例性实施方式,步骤101中所述指示信息,可以指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。As another exemplary embodiment of this embodiment, the indication information in step 101 may indicate that the type of the wake-up message is a wake-up message for waking up an access point and performing network access, and the site will One of the following scan types is performed by default: active scan, passive scan.
下面通过多个实施例对被动扫描和主动扫描的实施方式进行说明。Embodiments of passive scanning and active scanning will be described below through various embodiments.
被动扫描实施方式一:Passive scan implementation mode 1:
本实施例中,站点扫描类型为被动扫描,本实施例提供了以下实施方式:In this embodiment, the site scan type is passive scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入;In step 101, the indication information indicates that the site needs to perform network access;
步骤102中,所述站点在第二信道集合中的信道上接收信标帧;In step 102, the station receives a beacon frame on a channel in the second channel set;
示例性地,所述第二信道集合是指所述一个或多个接入点进行数据和信令收发的工作信道的集合;Illustratively, the second set of channels refers to a set of working channels for which the one or more access points perform data and signaling;
作为本实施例的一种示例性实施方式,所述站点在所述第二信道集合中的信道上接收信标帧可以指:对于每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到第二信道集合的最后一个信道;As an exemplary implementation manner of this embodiment, the receiving, by the station, a beacon frame on a channel in the second channel set may be: for each channel, listening for a first predetermined duration, and receiving at a first predetermined duration The received beacon frame, when the first predetermined duration arrives, jumps to the next channel until it jumps to the last channel of the second channel set;
步骤103中,站点根据所述返回的信息执行网络接入,可以包括:In step 103, the station performs network access according to the returned information, and may include:
站点获取信标帧后,选择接入点执行网络接入。
After the site obtains the beacon frame, the access point is selected to perform network access.
在本实施方式中,当站点扫描类型为被动扫描,站点对第二信道集合的一个或多个信道逐一扫描,所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。In this embodiment, when the station scan type is passive scanning, the station scans one or more channels of the second channel set one by one, all channels are scanned, the scan result is processed, if the access point that wants to access is found, or The access point suitable for access performs subsequent access operations.
被动扫描实施方式二:Passive Scan Implementation 2:
本实施例中,站点扫描类型为被动扫描,本实施例提供了以下实施方式:In this embodiment, the site scan type is passive scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入,所述唤醒消息中还包括第二信道集合中的指定信道;In step 101, the indication information indicates that the station needs to perform network access, and the wakeup message further includes a designated channel in the second channel set.
步骤102中,所述站点在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的所述接入点发送给自己的响应帧;所述响应帧携带所述接入点的工作信道;站点在所述工作信道上接收信标帧;In step 102, the station listens to the second predetermined duration on the designated channel, and receives a response frame that is sent by the access point to the user within the second predetermined duration; the response frame carries the connection a working channel of an ingress; the station receives a beacon frame on the working channel;
步骤103中,站点获取信标帧后,选择接入点执行网络接入。In step 103, after the station acquires the beacon frame, the access point is selected to perform network access.
示例性地,所述站点在所述工作信道上接收信标帧,可以包括:对于所述工作信道的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到所述工作信道的最后一个信道。Illustratively, the station receiving a beacon frame on the working channel may include: listening to a first predetermined duration for each channel of the working channel, and receiving a beacon frame received within a first predetermined duration When the first predetermined duration arrives, it jumps to the next channel until it jumps to the last channel of the working channel.
在本实施方式中,当站点扫描类型为被动扫描,接入点在站点指定信道上发送工作信道通知,站点随后在一个或多个工作信道上进行被动扫描。所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。在本实施方式中,站点在唤醒接入点的同时携带一个指定信道,接入点醒来后在这个指定信道上回复响应帧,表明自己已经醒来,同时在响应帧中携带自己的工作信道,以达到快速向所述站点通知所述接入点的工作信道的目的,从而进一步减少了站点扫描信道的数量。In this embodiment, when the site scan type is passive scanning, the access point sends a working channel notification on the site designated channel, and the station then performs passive scanning on one or more working channels. After all the channels are scanned, the scanning result is processed. If the access point that you want to access or the access point that is suitable for access is found, the subsequent access operation is performed. In this embodiment, the station carries a designated channel while waking up the access point, and the access point wakes up and responds to the response frame on the designated channel, indicating that it has woken up and carrying its own working channel in the response frame. In order to achieve the purpose of quickly notifying the station of the working channel of the access point, thereby further reducing the number of station scanning channels.
示例性地,所述响应帧除了携带所述接入点的工作信道,还携带有执行网络接入的必要信息;所述站点根据所述响应帧的必要信息内容和信号接收强度中至少一项进行接入点选择,并在所述指定信道上向已选择的一个或多个接入点发送无线帧;所述站点在所述已选择的一个或多个接入点的工作信道上接收信标帧,执行后续的接入操作。当未收到站点发送给自己的无线帧,
或者收到无线帧但接收地址不是自己时,被唤醒的接入点返回省电状态。Illustratively, the response frame carries, in addition to the working channel of the access point, necessary information for performing network access; the station according to at least one of necessary information content and signal reception strength of the response frame Performing an access point selection and transmitting a radio frame to the selected one or more access points on the designated channel; the station receiving a message on a working channel of the selected one or more access points Frame the frame and perform subsequent access operations. When the wireless frame sent by the station to itself is not received,
Or when the wireless frame is received but the receiving address is not itself, the awakened access point returns to the power saving state.
在本实施方式中,接入点在响应帧中还携带网络接入的必要信息,用于站点在此步骤中可以筛选出若干适合的接入点,随后站点在认为合适的接入点的工作信道上执行网络扫描,选定目标接入点,完成网络接入,进一步减小了站点扫描信道的数量。未被选中的接入点可以及时返回省电状态,进一步减小了接入点的功耗。In this embodiment, the access point further carries the necessary information of the network access in the response frame, and the site can select a plurality of suitable access points in this step, and then the site works at the access point that is deemed to be suitable. Network scanning is performed on the channel, the target access point is selected, and network access is completed, which further reduces the number of site scanning channels. The unselected access point can return to the power saving state in time, further reducing the power consumption of the access point.
被动扫描实施方式三:Passive scan implementation three:
本实施例中,站点扫描类型为被动扫描,本实施例提供了以下实施方式:In this embodiment, the site scan type is passive scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入;In step 101, the indication information indicates that the site needs to perform network access;
步骤102中,站点在预定义的信道上监听第二预定时长,接收接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;所述站点在所述工作信道上接收信标帧;In step 102, the station monitors a second predetermined duration on a predefined channel, and receives a response frame sent by the access point; the response frame carries a working channel of the access point; the predefined channel is the site Transmitting a channel in a first channel set of the wake-up message, or a channel in a second channel set; the station receiving a beacon frame on the working channel;
步骤103中,站点获取信标帧后,选择接入点执行网络接入。In step 103, after the station acquires the beacon frame, the access point is selected to perform network access.
示例性地,所述站点在所述工作信道上接收信标帧,可以包括:对于所述工作信道的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到所述工作信道的最后一个信道。Illustratively, the station receiving a beacon frame on the working channel may include: listening to a first predetermined duration for each channel of the working channel, and receiving a beacon frame received within a first predetermined duration When the first predetermined duration arrives, it jumps to the next channel until it jumps to the last channel of the working channel.
在本实施方式中,当站点扫描类型为被动扫描,接入点在预定义的信道上发送所述工作信道通知,站点随后在接入点通知的工作信道上执行被动扫描,所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。在本实施例中,站点可以直接在预定义的信道上监听到唤醒消息,以及携带接入点的工作信道的响应帧,避免了在唤醒消息中携带信道信息,降低了信令开销。In this embodiment, when the station scan type is passive scanning, the access point sends the working channel notification on a predefined channel, and the station then performs passive scanning on the working channel notified by the access point, and all channels are scanned. The scan result is processed, and if an access point that is desired to be accessed, or an access point suitable for access is found, a subsequent access operation is performed. In this embodiment, the station can directly listen to the wake-up message on the predefined channel and the response frame of the working channel carrying the access point, thereby avoiding carrying the channel information in the wake-up message and reducing the signaling overhead.
示例性地,所述响应帧除了携带所述接入点的工作信道,还携带有执行网络接入的必要信息;所述站点根据所述响应帧的必要信息内容和信号接收强度中的至少之一进行接入点选择,并在所述指定信道上向已选择的一个或多个接入点发送无线帧;所述站点在所述已选择的一个或多个接入点的工作
信道上接收信标帧,执行后续的接入操作。当未收到站点发送给自己的无线帧,或收到无线帧但接收地址不是自己时,被唤醒的接入点返回省电状态。Illustratively, the response frame carries, in addition to the working channel of the access point, necessary information for performing network access; the station according to at least one of necessary information content and signal reception strength of the response frame. Performing an access point selection and transmitting a radio frame to the selected one or more access points on the designated channel; the station is working at the selected one or more access points
A beacon frame is received on the channel to perform subsequent access operations. When the wireless frame sent by the station to itself is not received, or the wireless frame is received but the receiving address is not itself, the awakened access point returns to the power saving state.
在本实施方式中,接入点在响应帧中还携带网络接入的必要信息,用于站点在此步骤中可以筛选出若干适合的接入点,随后站点在认为合适的接入点的工作信道上执行网络扫描,选定目标接入点,完成网络接入,进一步减小了站点扫描信道的数量。未被选中的接入点可以及时返回省电状态,进一步减小了接入点的功耗。In this embodiment, the access point further carries the necessary information of the network access in the response frame, and the site can select a plurality of suitable access points in this step, and then the site works at the access point that is deemed to be suitable. Network scanning is performed on the channel, the target access point is selected, and network access is completed, which further reduces the number of site scanning channels. The unselected access point can return to the power saving state in time, further reducing the power consumption of the access point.
主动扫描实施方式一:Active scanning implementation method 1:
本实施例中,站点扫描类型为主动扫描,本实施例提供了以下实施方式:In this embodiment, the site scanning type is active scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入;In step 101, the indication information indicates that the site needs to perform network access;
步骤102中,站点在第二信道集合中的每个信道发送探测请求帧,或者不包含MAC(媒体存取控制,Medium Access Control)层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到第二信道集合的最后一个信道;In step 102, the station sends a probe request frame on each channel in the second channel set, or a probe request frame that does not include a MAC (Medium Access Control) layer load, and is not received within the third predetermined duration. Any response frame, jump to the next channel; if at least one response frame is received, the current channel listens to the first predetermined time period, receives the probe response frame sent by the access point, and jumps to the next channel until the jump To the last channel of the second channel set;
步骤103中,站点获取探测响应帧后,选择接入点执行网络接入。In step 103, after obtaining the probe response frame, the station selects the access point to perform network access.
在本实施方式中,当站点扫描类型为主动扫描,站点对第二信道集合的一个或多个信道逐一扫描,所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。In this embodiment, when the station scan type is active scanning, the station scans one or more channels of the second channel set one by one, all channels are scanned, the scan result is processed, if the access point that wants to access is found, or The access point suitable for access performs subsequent access operations.
主动扫描实施方式二:Active scanning implementation method 2:
本实施例中,站点扫描类型为主动扫描,本实施例提供了以下实施方式:In this embodiment, the site scanning type is active scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入,所述唤醒消息中携带第二信道集合中的指定信道;In step 101, the indication information indicates that the station needs to perform network access, and the wake-up message carries a designated channel in the second channel set.
步骤102中,站点在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;In step 102, the station listens to the second predetermined duration on the designated channel, and receives a response frame sent by the access point received within the second predetermined duration; the response frame carries the working channel of the access point;
站点在所述工作信道中的每个信道发送探测请求帧,或者不包含MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一
信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The station sends a probe request frame on each channel in the working channel, or a probe request frame that does not include a MAC layer load, and does not receive any response frame within a third predetermined duration, and jumps to the next
a channel; if at least one response frame is received, the current channel is monitored to reach a first predetermined duration, and the probe response frame sent by the access point is received, and the next channel is jumped to the last channel of the working channel;
步骤103中,站点获取探测响应帧后,选择接入点执行网络接入。In step 103, after obtaining the probe response frame, the station selects the access point to perform network access.
在本实施方式中,当站点扫描类型为主动扫描,接入点在站点指定信道上发送工作信道通知,站点随后在一个或多个工作信道上进行主动扫描。所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。在本实施方式中,站点在唤醒接入点的同时携带一个指定信道,接入点醒来后在这个指定信道上回复响应帧,表明自己已经醒来,同时在响应帧中携带自己的工作信道,以达到快速向所述站点通知所述接入点的工作信道的目的,从而进一步减少了站点扫描信道的数量。In this embodiment, when the site scan type is active scanning, the access point sends a working channel notification on the site designated channel, and the station then performs active scanning on one or more working channels. After all the channels are scanned, the scanning result is processed. If the access point that you want to access or the access point that is suitable for access is found, the subsequent access operation is performed. In this embodiment, the station carries a designated channel while waking up the access point, and the access point wakes up and responds to the response frame on the designated channel, indicating that it has woken up and carrying its own working channel in the response frame. In order to achieve the purpose of quickly notifying the station of the working channel of the access point, thereby further reducing the number of station scanning channels.
示例性地,所述响应帧除了携带所述接入点的工作信道,还携带有执行网络接入的必要信息;所述站点根据所述响应帧的必要信息内容和信号接收强度中的至少之一进行接入点选择,并在指定信道上向已选择的一个或多个接入点发送无线帧;所述站点在所述已选择的一个或多个接入点的工作信道上发送探测请求帧,执行后续的接入操作。当未收到站点发送给自己的无线帧,或者收到无线帧但接收地址不是自己时,被唤醒的接入点返回省电状态。Illustratively, the response frame carries, in addition to the working channel of the access point, necessary information for performing network access; the station according to at least one of necessary information content and signal reception strength of the response frame. Performing an access point selection and transmitting a radio frame to the selected one or more access points on a designated channel; the station transmitting a probe request on a working channel of the selected one or more access points Frame, perform subsequent access operations. When the wireless frame sent by the station to itself is not received, or the wireless frame is received but the receiving address is not itself, the awake access point returns to the power saving state.
在本实施方式中,接入点在响应帧中还携带网络接入的必要信息,用于站点在此步骤中可以筛选出若干适合的接入点,随后站点在认为合适的接入点的工作信道上执行网络扫描,选定目标接入点,完成网络接入,进一步减小了站点扫描信道的数量。未被选中的接入点可以及时返回省电状态,进一步减小了接入点的功耗。In this embodiment, the access point further carries the necessary information of the network access in the response frame, and the site can select a plurality of suitable access points in this step, and then the site works at the access point that is deemed to be suitable. Network scanning is performed on the channel, the target access point is selected, and network access is completed, which further reduces the number of site scanning channels. The unselected access point can return to the power saving state in time, further reducing the power consumption of the access point.
主动扫描实施方式三:Active Scan Implementation Mode 3:
本实施例中,站点扫描类型为主动扫描,本实施例提供了以下实施方式:In this embodiment, the site scanning type is active scanning, and the following embodiments are provided in this embodiment:
步骤101中,指示信息指示站点需要执行网络接入;In step 101, the indication information indicates that the site needs to perform network access;
步骤102中,站点在预定义的信道上监听第二预定时长,接收接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;所述预定义的信道是
所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;In step 102, the station monitors a second predetermined duration on a predefined channel, and receives a response frame sent by the access point; the response frame carries a working channel of the access point; the predefined channel is
Sending, by the station, a channel in a first channel set of a wake-up message, or a channel in a second channel set;
所述站点在所述工作信道的每个信道发送探测请求帧,或者不包含MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The station sends a probe request frame on each channel of the working channel, or a probe request frame that does not include a MAC layer load, and does not receive any response frame within a third predetermined duration, and jumps to the next channel; Receiving at least one response frame, when the current channel is monitored to a first predetermined duration, receiving a probe response frame sent by the access point, and jumping to the next channel until jumping to the last channel of the working channel;
步骤103,站点获取探测响应帧后,选择接入点执行网络接入。Step 103: After obtaining the probe response frame, the station selects the access point to perform network access.
在本实施方式中,当站点扫描类型为主动扫描,接入点在预定义的信道上发送所述工作信道通知,站点随后在接入点通知的工作信道上执行主动扫描,所有信道扫描完毕,处理扫描结果,如果找到了希望接入的接入点,或者适合接入的接入点,执行后续的接入操作。在本实施例中,站点可以直接在预定义信道上监听到唤醒消息,以及携带接入点的工作信道的响应帧,避免了在唤醒消息中携带信道信息,降低了信令开销。In this embodiment, when the station scan type is active scanning, the access point sends the working channel notification on a predefined channel, and the station then performs active scanning on the working channel notified by the access point, and all channels are scanned. The scan result is processed, and if an access point that is desired to be accessed, or an access point suitable for access is found, a subsequent access operation is performed. In this embodiment, the station can directly listen to the wake-up message on the predefined channel and the response frame of the working channel carrying the access point, thereby avoiding carrying the channel information in the wake-up message and reducing the signaling overhead.
示例性地,所述响应帧除了携带所述接入点的工作信道,还携带有执行网络接入的必要信息;所述站点根据所述响应帧的必要信息内容和信号接收强度中的至少之一进行接入点选择,并在指定信道上向已选择的一个或多个接入点发送无线帧;所述站点在所述已选择的一个或多个接入点的工作信道上发送探测请求帧,执行后续的接入操作。当未收到站点发送给自己的无线帧,或者收到无线帧但接收地址不是自己时,被唤醒的接入点返回省电状态。Illustratively, the response frame carries, in addition to the working channel of the access point, necessary information for performing network access; the station according to at least one of necessary information content and signal reception strength of the response frame. Performing an access point selection and transmitting a radio frame to the selected one or more access points on a designated channel; the station transmitting a probe request on a working channel of the selected one or more access points Frame, perform subsequent access operations. When the wireless frame sent by the station to itself is not received, or the wireless frame is received but the receiving address is not itself, the awake access point returns to the power saving state.
在本实施方式中,接入点在响应帧中还携带网络接入的必要信息,用于站点在此步骤中可以筛选出若干适合的接入点,随后站点在认为合适的接入点的工作信道上执行网络扫描,选定目标接入点,完成网络接入,进一步减小了站点扫描信道的数量。未被选中的接入点可以及时返回省电状态,进一步减小了接入点的功耗。In this embodiment, the access point further carries the necessary information of the network access in the response frame, and the site can select a plurality of suitable access points in this step, and then the site works at the access point that is deemed to be suitable. Network scanning is performed on the channel, the target access point is selected, and network access is completed, which further reduces the number of site scanning channels. The unselected access point can return to the power saving state in time, further reducing the power consumption of the access point.
在上述多个实施方式中,所述第一预定时长,第二预定时长和第三预定时长的取值可以相同或不同。In the above various embodiments, the values of the first predetermined duration, the second predetermined duration, and the third predetermined duration may be the same or different.
在上述多个实施方式中,第一信道集合与第二信道集合可以位于相同或不同频段。
In the above various embodiments, the first channel set and the second channel set may be located in the same or different frequency bands.
图2所示为本申请实施例提供的另一种网络接入方法的流程图。如图2所示,本实施例提供的网络接入方法应用于接入点,给出了无线通信接入点处于省电状态时,站点进行网络接入的方法。所述方法包括以下步骤:FIG. 2 is a flowchart of another network access method according to an embodiment of the present application. As shown in FIG. 2, the network access method provided in this embodiment is applied to an access point, and a method for performing network access by a station when a wireless communication access point is in a power saving state is given. The method includes the following steps:
步骤201,接入点在第一信道集合中的信道上接收站点发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;Step 201: The access point receives the awake message sent by the station on the channel in the first channel set, where the awake message carries the indication information, where the indication information is used to indicate that the site needs to perform network access.
步骤202,当接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点。Step 202: When the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the information is returned to the site according to the indication information in the wakeup message.
所述唤醒标识和自身唤醒标识匹配可以指:The matching of the wakeup identifier and the self wakeup identifier may refer to:
当唤醒标识包括以下标识中的一种或者两种以上的组合,与自身唤醒标识相同:接入点的SSID,SSID经运算得到的值,接入点的BSSID,BSSID经运算得到的值,通配符SSID,通配符BSSID;When the wake-up identifier includes one or more combinations of the following identifiers, the same as the self-awake identifier: the SSID of the access point, the value obtained by the operation of the SSID, the BSSID of the access point, the value obtained by the BSSID, and the wildcard SSID, wildcard BSSID;
其中,所述SSID经运算得到的值包括:SSID的部分字节,或者经压缩算法得到的SSID;所述BSSID经运算得到的值包括:BSSID的部分字节,或者经压缩算法得到的BSSID。The value obtained by the operation of the SSID includes: a partial byte of the SSID or an SSID obtained by a compression algorithm; and the calculated value of the BSSID includes: a partial byte of the BSSID, or a BSSID obtained by a compression algorithm.
示例性地,所述唤醒消息中的指示信息可以指示所述站点执行的扫描类型为主动扫描或者是被动扫描。Exemplarily, the indication information in the wakeup message may indicate that the scan type performed by the site is an active scan or a passive scan.
示例性地,所述唤醒消息中的指示信息,可以指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。Exemplarily, the indication information in the wake-up message may indicate that the type of the wake-up message is a wake-up message for waking up an access point and performing network access, and the station will perform one of the following scan types by default: Active scanning, passive scanning.
在一种示例性实施方式中,步骤201中,所述指示信息指示站点进行网络接入;In an exemplary embodiment, in step 201, the indication information indicates that the station performs network access;
步骤202中,接入点在自身工作信道上发送信标帧,若收到站点发送的探测请求帧,或者不包含MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。In step 202, the access point sends a beacon frame on its own working channel. If the probe request frame sent by the station is received, or the probe request frame does not include the MAC layer load, the access point sends a probe response to the station. frame.
在一种示例性实施方式中,步骤201中,所述指示信息指示站点进行网络接入,所述唤醒消息中携带第二信道集合中的指定信道;In an exemplary embodiment, in step 201, the indication information indicates that the station performs network access, and the wake-up message carries a designated channel in the second channel set;
步骤202中,接入点在所述指定信道上向所述站点发送响应帧;
In step 202, the access point sends a response frame to the station on the designated channel.
所述响应帧携带所述接入点的工作信道;The response frame carries a working channel of the access point;
所述接入点在所述工作信道上发送信标帧,若收到站点发送的探测请求帧,或者不包含MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。The access point sends a beacon frame on the working channel, and if receiving a probe request frame sent by the station or a probe request frame that does not include a MAC layer load, the access point sends a probe response frame to the station. .
在本示例性实施例中,本实施例的方法还可以包括:In the exemplary embodiment, the method in this embodiment may further include:
步骤203,接入点转换至工作信道工作后,在第四预定时长内没有收到来自站点的帧,接入点返回省电状态。Step 203: After the access point switches to the working channel, the frame from the station is not received within the fourth predetermined duration, and the access point returns to the power saving state.
在本示例性实施方式中,步骤202中,接入点在指定信道上向所述站点发送响应帧;所述响应帧携带所述接入点的工作信道,还携带有站点执行网络接入的必要信息;In this exemplary embodiment, in step 202, the access point sends a response frame to the station on the designated channel; the response frame carries the working channel of the access point, and also carries the site to perform network access. Necessary information;
所述接入点在发送所述响应帧后收到所述站点发送的无线帧,所述接入点在所述工作信道上发送信标帧;若收到探测请求帧,或者不包含MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。Receiving, by the access point, the radio frame sent by the station after sending the response frame, where the access point sends a beacon frame on the working channel; if the probe request frame is received, or does not include a MAC layer A probe request frame of the load, the access point transmitting a probe response frame to the station.
所述接入点在发送所述响应帧后未收到所述站点发送的无线帧,或者收到站点发送给自己的无线帧,接收地址不是自己时,返回省电状态。The access point does not receive the radio frame sent by the station after transmitting the response frame, or receives the radio frame sent by the station to itself, and returns to the power saving state when the receiving address is not itself.
在一种示例性实施方式中,步骤201中,所述指示信息指示站点进行被动扫描;In an exemplary embodiment, in step 201, the indication information indicates that the site performs passive scanning;
步骤202中,接入点在预定义的信道上向所述站点发送响应帧,所述响应帧中携带所述接入点的工作信道;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;In step 202, the access point sends a response frame to the station on a predefined channel, where the response frame carries the working channel of the access point; the predefined channel is that the station sends a wake-up message. a channel in the first channel set, or a channel in the second channel set;
所述接入点在所述工作信道上发送信标帧;若收到探测请求帧,或者不包含MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。The access point sends a beacon frame on the working channel; if a probe request frame is received, or a probe request frame that does not include a MAC layer load, the access point sends a probe response frame to the station.
在本示例性实施例中,所述方法还可以包括:In this exemplary embodiment, the method may further include:
步骤203,接入点转换至工作信道工作后,在第四预定时长内没有收到来自站点的帧,接入点返回省电状态。Step 203: After the access point switches to the working channel, the frame from the station is not received within the fourth predetermined duration, and the access point returns to the power saving state.
在本示例性实施方式中,步骤202中,接入点在所述指定信道上向所述站点发送响应帧;所述响应帧携带所述接入点的工作信道,还携带有站点执行网络接入的必要信息;所述接入点在发送所述响应帧后收到所述站点发送
的无线帧,所述接入点在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。In this exemplary embodiment, in step 202, the access point sends a response frame to the station on the designated channel; the response frame carries a working channel of the access point, and also carries a site execution network connection. Necessary information entered; the access point receives the response from the station after sending the response frame
a radio frame, the access point transmitting a beacon frame on the working channel, and if receiving a probe request frame or a probe request frame that does not include a MAC layer load, the access point sends a probe response to the station frame.
所述接入点在发送所述响应帧后未收到所述站点发送的无线帧,或者收到站点发送给自己的无线帧,接收地址不是自己时,返回省电状态。The access point does not receive the radio frame sent by the station after transmitting the response frame, or receives the radio frame sent by the station to itself, and returns to the power saving state when the receiving address is not itself.
图3为本申请实施例提供的一种网络接入装置的结构示意图。如图3所示,本实施例提供的网络接入装置应用于站点,实现无线通信接入点处于省电状态时,站点进行网络接入操作。所述网络接入装置,包括:FIG. 3 is a schematic structural diagram of a network access apparatus according to an embodiment of the present application. As shown in FIG. 3, the network access device provided in this embodiment is applied to a site, and when the wireless communication access point is in a power-saving state, the site performs a network access operation. The network access device includes:
第一发送模块301,配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The first sending module 301 is configured to send one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries the indication information The indication information is used to indicate that the site needs to perform network access;
第一接收模块302,配置为接收接入点根据所述指示信息返回的信息;The first receiving module 302 is configured to receive information returned by the access point according to the indication information;
处理模块303,配置为根据所述返回的信息执行网络接入。The processing module 303 is configured to perform network access according to the returned information.
示例性地,所述第一发送模块301可以配置为通过以下方式在第一信道集合中的信道上发送一个或多个唤醒消息:在所述接入点监听唤醒消息的信道集合上发送一个或多个唤醒消息。Illustratively, the first sending module 301 can be configured to send one or more wake-up messages on a channel in the first set of channels by transmitting one or more on a set of channels on which the access point listens for wake-up messages Multiple wakeup messages.
示例性地,所述第一发送模块301可以配置为通过以下方式发送一个或多个唤醒消息:发送接收地址为单播地址或者组播或者广播地址的唤醒消息。Exemplarily, the first sending module 301 can be configured to send one or more wake-up messages by sending a wake-up message whose receiving address is a unicast address or a multicast or broadcast address.
示例性地,所述第一发送模块301可以配置为通过以下方式发送一个或多个唤醒消息:发送携带所述一个或多个接入点的唤醒标识的唤醒消息。Exemplarily, the first sending module 301 can be configured to send one or more wake-up messages by sending a wake-up message carrying a wake-up identifier of the one or more access points.
示例性地,所述第一发送模块301可以配置为通过以下方式发送携带所述一个或多个接入点的唤醒标识的唤醒消息:发送携带以下标识至少之一的唤醒标识的唤醒消息:Exemplarily, the first sending module 301 can be configured to send a wake-up message carrying the wake-up identifier of the one or more access points by sending a wake-up message carrying a wake-up identifier of at least one of the following identifiers:
接入点的SSID,SSID经运算得到的值,接入点的BSSID,BSSID经运算得到的值,通配符SSID,通配符BSSID;SSID of the access point, the value obtained by the operation of the SSID, the BSSID of the access point, the value obtained by the BSSID, the wildcard SSID, the wildcard BSSID;
其中,所述SSID经运算得到的值为:SSID的部分字节,或者经压缩算法得到的SSID,所述BSSID经运算得到的值为:BSSID的部分字节,或者经压缩算法得到的BSSID。
The value obtained by the operation of the SSID is: a partial byte of the SSID, or an SSID obtained by a compression algorithm, and the calculated value of the BSSID is: a partial byte of the BSSID, or a BSSID obtained by a compression algorithm.
示例性地,所述第一发送模块301可以配置为通过以下方式在第一信道集合中的信道上发送一个或多个唤醒消息:在一个信道上顺序发送一个或多个唤醒消息,或者在多个信道的每个信道上顺序发送一个或多个唤醒消息,或者在多个信道并行发送多个唤醒消息。Illustratively, the first transmitting module 301 can be configured to transmit one or more wake-up messages on a channel in the first set of channels by sequentially transmitting one or more wake-up messages on one channel, or at most One or more wake-up messages are sequentially transmitted on each channel of the channel, or multiple wake-up messages are transmitted in parallel on multiple channels.
示例性地,所述第一发送模块301发送的唤醒消息中携带的指示信息,可以指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述指示信息,可以指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。Illustratively, the indication information carried in the awake message sent by the first sending module 301 may indicate that the scanning type performed by the station is active scanning or passive scanning; or the indication information may indicate the waking The type of message is a wake-up message for waking up the access point and performing network access, and the station will by default perform one of the following scan types: active scanning, passive scanning.
示例性地,所述第一接收模块302可以配置为在第二信道集合中的信道上接收信标帧;Illustratively, the first receiving module 302 can be configured to receive a beacon frame on a channel in the second set of channels;
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
示例性地,所述第一接收模块302可以配置为通过以下方式在第二信道集合中的信道上接收信标帧:在所述一个或多个接入点进行数据和信令收发的工作信道的集合中的信道上接收信标帧。Illustratively, the first receiving module 302 can be configured to receive beacon frames on channels in the second set of channels by: working channels for data and signaling at the one or more access points A beacon frame is received on a channel in the set.
示例性地,所述第一接收模块302可以配置为通过以下方式在第二信道集合中的信道上接收信标帧:对于每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到第二信道集合的最后一个信道。Illustratively, the first receiving module 302 can be configured to receive a beacon frame on a channel in the second channel set by: for each channel, listening for a first predetermined duration, and receiving the first predetermined duration The arriving beacon frame, when the first predetermined duration arrives, jumps to the next channel until it jumps to the last channel of the second channel set.
示例性地,当所述第一发送模块301发送的唤醒消息中还包括第二信道集合中的指定信道,所述第一接收模块302可以配置为通过以下方式接收接入点根据所述指示信息返回的信息:在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的所述接入点发送给自己的响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上接收信标帧;Illustratively, when the awake message sent by the first sending module 301 further includes a designated channel in the second channel set, the first receiving module 302 may be configured to receive the access point according to the indication information by: Returning information: on the designated channel, listening for a second predetermined duration, receiving a response frame sent by the access point that is received within the second predetermined duration to the user, the response frame carrying the access point a working channel; receiving a beacon frame on the working channel;
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
示例性地,所述第一接收模块302可以配置为通过以下方式在工作信道
上接收信标帧:对于工作信道的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到工作信道的最后一个信道。Illustratively, the first receiving module 302 can be configured to work on the working channel in the following manner
Receiving a beacon frame: for each channel of the working channel, listening for a first predetermined duration, receiving a beacon frame received within a first predetermined duration, and when the first predetermined duration arrives, jumping to the next channel until jumping Go to the last channel of the working channel.
示例性地,所述第一接收模块302可以配置为通过以下方式接收接入点根据所述指示信息返回的信息:Exemplarily, the first receiving module 302 may be configured to receive information returned by the access point according to the indication information by:
在预定义的信道上监听第二预定时长,接收接入点发送的响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上接收信标帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;Listening to a second predetermined duration on a predefined channel, receiving a response frame sent by the access point, the response frame carrying a working channel of the access point; receiving a beacon frame on the working channel; the predefined Channel is a channel in a first channel set in which the station sends a wake-up message, or a channel in a second channel set;
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
示例性地,所述第一接收模块302可以配置为通过以下方式在所述工作信道上接收信标帧:对于工作信道的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到工作信道的最后一个信道。Illustratively, the first receiving module 302 can be configured to receive a beacon frame on the working channel by listening to a first predetermined duration for each channel of the working channel, and receiving the first predetermined duration The arriving beacon frame, when the first predetermined duration arrives, jumps to the next channel until it jumps to the last channel of the working channel.
示例性地,所述第一发送模块301,还可以配置为在第二信道集合中的每个信道发送探测请求帧,或者不包含MAC层负载的探测请求帧;Exemplarily, the first sending module 301 may be further configured to send a probe request frame on each channel in the second channel set, or a probe request frame that does not include a MAC layer load;
所述第一接收模块302可以配置为在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到第二信道集合的最后一个信道;The first receiving module 302 may be configured to not receive any response frame within a third predetermined duration, and jump to the next channel; if at least one response frame is received, the current channel is monitored until the first predetermined time arrives, and the receiving The probe response frame sent by the access point jumps to the next channel until it jumps to the last channel of the second channel set;
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
示例性地,当所述唤醒消息中还携带第二信道集合中的指定信道,所述第一接收模块302可以配置为通过以下方式接收接入点根据所述指示信息返回的信息:Exemplarily, when the awake message further carries a specified channel in the second channel set, the first receiving module 302 may be configured to receive information returned by the access point according to the indication information by:
在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;
Receiving, on the designated channel, a second predetermined duration, receiving a response frame sent by the access point received within the second predetermined duration; the response frame carrying the working channel of the access point;
第一发送模块301,还可以配置为在所述工作信道中的每个信道发送探测请求帧,或者不包含MAC层负载的探测请求帧;The first sending module 301 may be further configured to send a probe request frame on each channel of the working channel, or a probe request frame that does not include a MAC layer load;
所述第一接收模块302可以配置为在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The first receiving module 302 may be configured to not receive any response frame within a third predetermined duration, and jump to the next channel; if at least one response frame is received, the current channel is monitored until the first predetermined time arrives, and the receiving The probe response frame sent by the access point jumps to the next channel until it jumps to the last channel of the working channel;
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
示例性地,所述第一接收模块302可以配置为通过以下方式接收接入点根据所述指示信息返回的信息:Exemplarily, the first receiving module 302 may be configured to receive information returned by the access point according to the indication information by:
在预定义的信道上监听第二预定时长,接收接入点发送的响应帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;所述响应帧携带所述接入点的工作信道;Listening to a second predetermined duration on a predefined channel, receiving a response frame sent by the access point; the predefined channel is a channel in a first channel set in which the station sends a wake-up message, or is in a second channel set Channel; the response frame carries a working channel of the access point;
第一发送模块302,还可以配置为在工作信道的每个信道发送探测请求帧,或者不包含MAC层负载的探测请求帧;The first sending module 302 may be further configured to send a probe request frame on each channel of the working channel, or a probe request frame that does not include a MAC layer load;
第一接收模块302可以配置为在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;相应的,The first receiving module 302 may be configured to not receive any response frame within a third predetermined duration, and jump to the next channel; if at least one response frame is received, the current channel is monitored to reach the first predetermined duration, and the receiving access is received. The probe response frame sent by the point jumps to the next channel until it jumps to the last channel of the working channel; correspondingly,
所述处理模块303可以配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module 303 can be configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
示例性地,所述第一信道集合与第二信道集合可以位于相同或不同频段。Illustratively, the first set of channels and the second set of channels may be in the same or different frequency bands.
本实施例还提供了一种站点,包括图3所示的实施例提供的网络接入装置。This embodiment also provides a site, including the network access device provided by the embodiment shown in FIG.
图4为本申请实施例提供的另一种网络接入装置的结构示意图。如图4所示,本实施例提供的网络接入装置应用于接入点,实现无线通信接入点处于省电状态时,站点进行网络接入操作。所述网络接入装置,包括:FIG. 4 is a schematic structural diagram of another network access apparatus according to an embodiment of the present application. As shown in FIG. 4, the network access device provided in this embodiment is applied to an access point, and when the wireless communication access point is in a power-saving state, the site performs a network access operation. The network access device includes:
第二接收模块401,配置为在第一信道集合中的信道上接收站点发送的
唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The second receiving module 401 is configured to receive the sending by the station on the channel in the first channel set
a wake-up message, where the wake-up message carries indication information, where the indication information is used to indicate that the station needs to perform network access;
第二发送模块402,配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点。The second sending module 402 is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return information to the site according to the indication information in the wakeup message.
示例性地,所述第二发送模块402可以配置为通过以下方式判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配:Exemplarily, the second sending module 402 may be configured to determine that the wakeup identifier and the self wakeup identifier in the wakeup message match by:
当唤醒标识包括以下标识中的一种或者两种以上的组合,与自身唤醒标识相同:接入点的SSID,SSID经运算得到的值,接入点的BSSID,BSSID经运算得到的值,通配符SSID,通配符BSSID;其中,所述SSID经运算得到的值包括:SSID的部分字节,或者经压缩算法得到的SSID;所述BSSID经运算得到的值包括:BSSID的部分字节,或者经压缩算法得到的BSSID。When the wake-up identifier includes one or more combinations of the following identifiers, the same as the self-awake identifier: the SSID of the access point, the value obtained by the operation of the SSID, the BSSID of the access point, the value obtained by the BSSID, and the wildcard SSID, a wildcard BSSID; wherein the value obtained by the operation of the SSID includes: a partial byte of the SSID, or an SSID obtained by a compression algorithm; the calculated value of the BSSID includes: a partial byte of the BSSID, or is compressed The BSSID obtained by the algorithm.
示例性地,所述唤醒消息中携带的指示信息可以指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述指示信息,可以指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。Illustratively, the indication information carried in the awake message may indicate that the scanning type performed by the station is an active scanning or a passive scanning; or the indication information may indicate that the type of the awake message is used for waking up Incoming and performing a wake-up message for network access, and the site will by default perform one of the following scan types: active scan, passive scan.
示例性地,所述第二发送模块402可以配置为通过以下方式按照唤醒消息中的指示信息返回信息给站点:在接入点自身工作信道上发送信标帧,若收到探测请求帧,或者不包含MAC层负载的探测请求帧,向所述站点发送探测响应帧。Exemplarily, the second sending module 402 may be configured to return information to the station according to the indication information in the wakeup message by sending a beacon frame on the working channel of the access point itself, if the probe request frame is received, or A probe request frame that does not contain a MAC layer load, and sends a probe response frame to the station.
示例性地,当所述第二接收模块401接收的唤醒消息中还携带第二信道集合中的指定信道,所述第二发送模块402可以配置为通过以下方式按照唤醒消息中的指示信息返回信息给站点:在所述指定信道上向所述站点发送响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含MAC层负载的探测请求帧,向所述站点发送探测响应帧。Illustratively, when the awake message received by the second receiving module 401 further carries a specified channel in the second channel set, the second sending module 402 may be configured to return information according to the indication information in the awake message by: Giving a station: transmitting a response frame to the station on the designated channel, the response frame carrying a working channel of the access point; transmitting a beacon frame on the working channel, if receiving a probe request frame, or A probe request frame that does not contain a MAC layer load, and sends a probe response frame to the station.
示例性地,所述第二发送模块402可以配置为通过以下方式按照唤醒消息中的指示信息返回信息给站点:Exemplarily, the second sending module 402 can be configured to return information to the site according to the indication information in the wakeup message by:
在预定义的信道上向所述站点发送响应帧,所述响应帧中携带所述接入
点的工作信道;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含MAC层负载的探测请求帧,向所述站点发送探测响应帧。Sending a response frame to the station on a predefined channel, where the response frame carries the access
a working channel of a point; the predefined channel is a channel in a first channel set in which the station sends a wake-up message, or a channel in a second channel set; transmitting a beacon frame on the working channel, if A probe response frame is sent to the station to the probe request frame or a probe request frame that does not include a MAC layer load.
本实施例还提供了一种接入点,包括图4所示实施例提供的网络接入装置。This embodiment further provides an access point, including the network access apparatus provided in the embodiment shown in FIG.
图5为本申请实施例提供的一种网络接入系统的结构示意图。如图5所示,所述网络接入系统包括:站点和接入点;FIG. 5 is a schematic structural diagram of a network access system according to an embodiment of the present application. As shown in FIG. 5, the network access system includes: a site and an access point;
站点,包括:Sites, including:
第一发送模块,配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示有站点需要执行网络接入;a first sending module, configured to send one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, The indication information is used to indicate that a site needs to perform network access;
第一接收模块,配置为接收接入点根据所述指示信息返回的信息;a first receiving module, configured to receive information returned by the access point according to the indication information;
处理模块,配置为根据所述返回的信息执行网络接入;a processing module, configured to perform network access according to the returned information;
接入点,包括:Access points, including:
第二接收模块,配置为在第一信道集合中的信道上接收站点第一发送模块发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示有站点需要执行网络接入;a second receiving module, configured to receive, on a channel in the first channel set, a wake-up message sent by the first sending module of the station, where the wake-up message carries indication information, where the indication information is used to indicate that a site needs to perform a network Access
第二发送模块,配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点的第一接收模块。The second sending module is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return the information to the first receiving module of the site according to the indication information in the wakeup message.
在本实施例中,关于站点及接入点的其他内容请参见图3所示实施例及图4所示实施例的详细描述,在此不再赘述。For the other content of the site and the access point, refer to the embodiment shown in FIG. 3 and the detailed description of the embodiment shown in FIG. 4, and details are not described herein again.
图6为本申请实施例提供的网络接入方法的流程图。如图6所示,所述网络接入方法包括:FIG. 6 is a flowchart of a network access method according to an embodiment of the present application. As shown in FIG. 6, the network access method includes:
步骤601,站点在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示有站点需要执行网络接入;
Step 601: The station sends one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, where the indication The information is used to indicate that there is a site that needs to perform network access;
步骤602,接入点在第一信道集合中的信道上接收站点发送的唤醒消息;Step 602: The access point receives the wakeup message sent by the station on the channel in the first channel set.
步骤603,当接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照唤醒消息中的指示信息返回信息给站点;Step 603: When the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the information is returned to the site according to the indication information in the wakeup message.
步骤604,站点接收接入点根据所述指示信息返回的信息;Step 604: The station receives information returned by the access point according to the indication information.
步骤605,站点根据所述返回的信息执行网络接入。Step 605: The station performs network access according to the returned information.
在本实施例中,关于所述方法的其他内容请参见图1所示实施例及图2所示实施例的详细描述,在此不再赘述。For the rest of the method, refer to the embodiment shown in FIG. 1 and the detailed description of the embodiment shown in FIG. 2, and details are not described herein again.
下面通过应用实例对本申请的技术方案进行示例性说明。The technical solutions of the present application are exemplarily described below through application examples.
应用实例1Application example 1
根据不同国家和地区的频谱规划,对WLAN(无线局域网,Wireless Local Area Network)使用的免授权频段预先划分为多个信道,对每个信道都进行编号,并给出了每个信道的起始频点、信道间隔、带宽大小等参数。以2.4GHz(吉赫兹)和5GHz为例,每个信道的带宽默认是20MHz(兆赫兹)。一个AP选择某个20MHz信道作为主信道建立BSS,可以同时使用多个20MHz信道,工作信道带宽可以是20MHz或者40MHz或者80MHz或者160MHz或者80+80MHz(两个80MHz不连续的情况)。According to the spectrum planning of different countries and regions, the unlicensed frequency band used by WLAN (Wireless Local Area Network) is pre-divided into multiple channels, each channel is numbered, and the start of each channel is given. Frequency, channel spacing, bandwidth size and other parameters. Taking 2.4 GHz (GHz) and 5 GHz as an example, the bandwidth of each channel defaults to 20 MHz (megahertz). An AP selects a 20MHz channel as the primary channel to establish a BSS. Multiple 20MHz channels can be used simultaneously. The working channel bandwidth can be 20MHz or 40MHz or 80MHz or 160MHz or 80+80MHz (two 80MHz discontinuities).
参照图7所示,比如AP的工作信道带宽是80MHz,则该AP在主20MHz信道上发送信标帧,和站点交互其他管理帧;AP能够支持传输20MHz或40MHz或80MHz的数据帧,因此可以在20MHz或40MHz或80MHz的信道上与站点进行数据帧和控制帧的收发。所述控制帧如ACK(Acknowledgement,确认)帧、BA(Block Acknowledgement,块确认)帧、RTS(请求发送,Request To Send)帧以及CTS(Clear To Send,允许发送)帧。Referring to FIG. 7, if the AP's working channel bandwidth is 80 MHz, the AP transmits a beacon frame on the primary 20 MHz channel, and the station exchanges other management frames; the AP can support transmission of 20 MHz or 40 MHz or 80 MHz data frames, so Transceiver data frames and control frames with stations on a 20 MHz or 40 MHz or 80 MHz channel. The control frame is an ACK (Acknowledgement) frame, a BA (Block Acknowledgement) frame, an RTS (Request To Send) frame, and a CTS (Clear To Send) frame.
在本实例中,所述AP配置了一个省电模块,如图8所示,当AP没有上下行业务时,AP可以仅保留省电模块工作,进入省电状态。AP的省电模块只需要在特定信道上持续或者非持续地监听来自站点的唤醒信号即可。AP的省电模块监听唤醒信号的信道是系统预配置的。其中,可以有以下几种可能的配置情况:
In this example, the AP is configured with a power-saving module. As shown in Figure 8, when the AP does not have uplink and downlink services, the AP can only save the power-saving module and enter the power-saving state. The power saving module of the AP only needs to continuously or non-continuously listen to the wake-up signal from the station on a specific channel. The channel of the AP's power-saving module listening for the wake-up signal is pre-configured by the system. Among them, there are several possible configurations:
方式一:预配置AP监听唤醒信号的信道的中心频点位于系统划分的20MHz信道内部,带宽大小为默认值。一种简单的实施方式是:默认监听唤醒信号的信道带宽是4MHz大小,配置多个这样的信道,每个信道供一个或多个AP监听使用,所有信道的中心频点都落在系统划分的一个或多个20MHz信道内部;AP的工作信道与监听唤醒信号的信道位于同频段,例如都处于2.4GHz频段,或者都处于5GHz频段,还可能与其发生交叠;Manner 1: The center frequency of the channel pre-configured by the AP to monitor the wake-up signal is located inside the 20 MHz channel of the system, and the bandwidth is the default value. A simple implementation manner is: the channel bandwidth of the default listening wake-up signal is 4 MHz, and multiple such channels are configured, and each channel is used for monitoring by one or more APs, and the center frequency of all channels falls within the system partition. One or more internal channels of 20 MHz; the working channel of the AP is in the same frequency band as the channel for monitoring the wake-up signal, for example, both in the 2.4 GHz band, or both in the 5 GHz band, and may overlap with it;
方式二:预配置AP监听唤醒信号的信道的中心频点位于系统划分的两个20MHz信道的中间,例如在2.4GHz,信道编号为1和6,以及6和11中间留有一定空余频带,将该段频带划分为一个或多个信道,供一个或多个AP监听唤醒信号使用;Manner 2: The center frequency of the channel for pre-configuring the AP to listen for the wake-up signal is located in the middle of the two 20 MHz channels divided by the system, for example, at 2.4 GHz, the channel numbers are 1 and 6, and a certain spare frequency band is left between 6 and 11. The frequency band is divided into one or more channels for one or more APs to listen to wake-up signals;
方式三:类似于方式一,但不同的是,预配置的监听唤醒信号的信道与AP的工作信道位于不同频段。例如,预配置的监听唤醒信号的信道位于2.4GHZ,而AP的工作信道处于5GHz,或者1GHz以下,或者处于45GHz或者60GHz频段。Mode 3: Similar to mode 1, but the difference is that the pre-configured channel for monitoring the wake-up signal is located in a different frequency band from the working channel of the AP. For example, the pre-configured channel for listening for wake-up signals is at 2.4 GHz, while the AP's working channel is at 5 GHz, or below 1 GHz, or in the 45 GHz or 60 GHz band.
唤醒AP的站点可能是有数据要发送给AP,也可能是希望接入处于省电状态的AP,本实例主要针对后一种情况。当一个站点希望接入某个AP,但经过主动扫描或者被动扫描没有收到该AP的信号;或者经过主动扫描或者被动扫描没有发现AP,希望探测是否有AP存在时,站点在预配置的AP监听唤醒信号的信道集合中的一个或多个信道上发送接收地址为单播地址或者组播地址或者广播地址的若干唤醒消息,唤醒消息中需要携带唤醒标识,以达到唤醒AP的目的。或者,站点希望执行网络接入,考虑到网络中可能存在处于省电状态的AP,站点首先发送唤醒消息,唤醒AP,已经处于正常工作状态的AP可以忽略该消息。站点发送完毕唤醒消息后,再执行网络扫描,完成网络接入。The site that wakes up the AP may have data to send to the AP, or it may want to access the AP in the power-saving state. This example is mainly for the latter case. When a site wants to access an AP but does not receive the AP signal after active scanning or passive scanning, or does not find an AP after active scanning or passive scanning, if it wants to detect whether an AP exists, the site is in the pre-configured AP. The awake message needs to carry a wake-up identifier in the wake-up message to achieve the purpose of waking up the AP. The wake-up message is sent to the awake message on one or more channels in the channel set of the wake-up signal. Or, the site wants to perform network access. Considering that there may be an AP in the power-saving state in the network, the site first sends a wake-up message to wake up the AP. The AP that is already in normal working state can ignore the message. After the site sends the wake-up message, it performs network scanning to complete network access.
唤醒标识的取值情况可能是以下几种情况:The value of the wake-up flag may be the following:
目标接入点的SSID和BSSID中的至少之一;At least one of an SSID and a BSSID of the target access point;
目标接入点的SSID的部分字节和BSSID的部分字节中的至少之一;At least one of a partial byte of the SSID of the target access point and a partial byte of the BSSID;
目标接入点的SSID和BSSID经过压缩算法计算获得的值中的至少之一,比如,压缩算法为hash算法;
The SSID and the BSSID of the target access point are at least one of values obtained by the compression algorithm, for example, the compression algorithm is a hash algorithm;
通配符SSID和通配符BSSID中的至少之一。At least one of a wildcard SSID and a wildcard BSSID.
基于以上几种情况,则唤醒信号有以下几种发送方法:Based on the above situations, the wake-up signal has the following transmission methods:
接收地址为单播地址,其中携带某个希望接入的AP的以下标识中的一种或者两种以上的组合:SSID,BSSID,SSID经过计算获得的值,BSSID经过计算获得的值;The receiving address is a unicast address, and carries one or a combination of two or more of the following identifiers of the AP that is desired to be accessed: the SSID, the BSSID, the value obtained by calculating the SSID, and the calculated value obtained by the BSSID;
接收地址为组播地址或者广播地址,其中携带一组希望接入的AP的以下标识中的一种或者两种以上的组合:SSID,BSSID,SSID经过计算获得的值,BSSID经过计算获得的值;The receiving address is a multicast address or a broadcast address, and carries one or a combination of two or more of the following identifiers of the APs that are desired to be accessed: the SSID, the BSSID, the value obtained by calculating the SSID, and the calculated value obtained by the BSSID. ;
接收地址为组播地址或者广播地址,其中携带一组希望接入的AP的以下标识中的一种或者两种以上的组合:SSID,BSSID,SSID经过计算获得的值,BSSID经过计算获得的值;或者,通配符SSID和通配符BSSID中的至少之一。The receiving address is a multicast address or a broadcast address, and carries one or a combination of two or more of the following identifiers of the APs that are desired to be accessed: the SSID, the BSSID, the value obtained by calculating the SSID, and the calculated value obtained by the BSSID. Or, at least one of a wildcard SSID and a wildcard BSSID.
如果系统预配置了多个AP监听唤醒信号的信道,站点可以在一个信道上发送一个或多个唤醒信号,或者依次在每个信道上发送一个或多个唤醒信号,也可以采用并行发送的方法,同时在多个信道上发送多个唤醒信号,每个唤醒信号中携带的唤醒标识可以相同或不同。If the system is pre-configured with multiple APs listening to the wake-up channel, the station may send one or more wake-up signals on one channel, or send one or more wake-up signals on each channel in turn, or use parallel transmission. At the same time, multiple wake-up signals are sent on multiple channels, and the wake-up identifiers carried in each wake-up signal may be the same or different.
在本实施例中,站点发送的唤醒信号中携带网络扫描类型指示,指示了自己的扫描类型:主动扫描,或者被动扫描。一个简单的实现方式是:唤醒消息中可以指示终端可能进行的多种操作:网络扫描、位置上报、数据发送等等,在唤醒消息中设置一个比特图,比特图的每一比特表示是否存在相应的指示位,0表示不存在,1表示存在。当比特图中对应于网络扫描操作的比特位为1时,表示存在网络扫描类型指示位,则在比特图之后另有一比特的扫描类型指示位,取值为1表示主动扫描,取值为0时表示被动扫描。In this embodiment, the wake-up signal sent by the station carries a network scan type indication, indicating its own scan type: active scanning, or passive scanning. A simple implementation manner is: the wake-up message can indicate various operations that the terminal may perform: network scanning, location reporting, data transmission, etc., setting a bitmap in the wake-up message, and each bit of the bitmap indicates whether there is a corresponding The indication bit, 0 means no, 1 means existence. When the bit corresponding to the network scanning operation in the bitmap is 1, it indicates that there is a network scan type indication bit, and another bit of the scan type indication bit is followed by the bitmap, and the value 1 indicates active scanning, and the value is 0. Time indicates passive scanning.
AP的省电模块收到与自己的唤醒标识匹配的唤醒消息,或者携带通配符SSID,或者通配符BSSID的唤醒消息,则AP从省电状态转为工作状态,打开收发模块,在自己工作信道的主信道上开始发送信标(Beacon)帧。站点发送完唤醒信号之后,转至AP的工作信道集合上,如果执行被动扫描,则站点期望接收到一个或多个Beacon帧。这里所说的AP的工作信道集合一般会存储在站点内部,是一个信道列表,在扫描时由站点内部的管理实体发
送给MAC实体以执行扫描。信道列表中包括了上次该站点接入过的AP的工作信道,或者是一组位于某个频段内的多个连续或者非连续的信道。When the power saving module of the AP receives the wakeup message matching the wakeup identifier of the AP, or carries the wildcard SSID or the wakeup message of the wildcard BSSID, the AP changes from the power saving state to the working state, and the transceiver module is opened, and the master of the working channel is activated. A beacon frame is started to be transmitted on the channel. After the station sends the wake-up signal, it goes to the working channel set of the AP. If passive scanning is performed, the station expects to receive one or more Beacon frames. The working channel set of the AP mentioned here is generally stored in the site, and is a channel list, which is sent by the management entity inside the site during scanning.
Send to the MAC entity to perform the scan. The channel list includes the working channel of the AP that was accessed by the site last time, or a group of consecutive or non-contiguous channels located in a certain frequency band.
执行被动扫描时,站点对于工作信道集合中的每个信道,持续接收一定时间长度T1,系统预定义该时间长度值,时间到达,则转至下一信道,继续接收,所有信道扫描完毕,处理扫描结果,如果找到了希望接入的AP,或者适合接入的AP,执行后续的接入操作。When performing passive scanning, the station continuously receives a certain length of time T1 for each channel in the working channel set. The system pre-defines the time length value. When the time arrives, the station proceeds to the next channel, continues to receive, and all channels are scanned and processed. If the AP that you want to access or the AP that is suitable for access is found, the subsequent access operations are performed.
被动扫描的另一种实施方式是,系统预定义AP的省电模块监听唤醒信号的信道与AP工作信道之间的映射关系,例如,监听唤醒信号的信道1,对应于工作信道编号1,监听唤醒信号的信道2对应于工作信道编号6,以此类推。当存在预定义的映射关系时,如果站点在监听信道1上发送了唤醒信号,则站点在发送完毕唤醒信号后,直接转至工作信道1接收Beacon帧。如果站点在多个监听信道上发送了唤醒信号,则站点在每个监听信道对应的工作信道上持续监听T1,时间到达,则转至下一信道,继续接收,所有信道扫描完毕,处理扫描结果。Another implementation manner of the passive scanning is that the power saving module of the system pre-defined AP monitors the mapping relationship between the channel of the wake-up signal and the AP working channel, for example, the channel 1 that monitors the wake-up signal, corresponding to the working channel number 1, and listens Channel 2 of the wake-up signal corresponds to working channel number 6, and so on. When there is a predefined mapping relationship, if the station sends a wake-up signal on the listening channel 1, the station directly transfers to the working channel 1 to receive the Beacon frame after transmitting the wake-up signal. If the station sends a wake-up signal on multiple listening channels, the station continuously listens to T1 on the working channel corresponding to each listening channel. When the time arrives, it transfers to the next channel, continues to receive, all channels are scanned, and the scanning result is processed. .
应用实例2Application example 2
AP监听唤醒信号的信道的配置、唤醒标识的取值、唤醒消息的发送方法等同应用实例1,与应用实例1不同的是,在本应用实例中,站点的扫描类型是主动扫描。The configuration of the channel for listening to the wake-up signal, the value of the wake-up identifier, and the sending method of the wake-up message are the same as those of the application example 1. In the application example, the scan type of the site is active scanning.
站点发送完唤醒信号之后,转至AP的工作信道集合上,对每个信道执行主动扫描。其中,在一个信道上发送探测请求帧,或NDP(Null Data Packet,空数据包)探测请求帧,如果在T3时间内没收到任何响应帧,则跳转到下一个信道开始发送探测请求帧,如果收到任一响应帧,则一直监听T1时长,在T1时长到达时,转至下一信道,开始发送探测请求帧。After the station sends the wake-up signal, it goes to the working channel set of the AP and performs active scanning for each channel. The probe request frame or the NDP (Null Data Packet) probe request frame is sent on one channel. If no response frame is received within the T3 time, the jump to the next channel starts to send the probe request frame. If any response frame is received, the T1 duration is always monitored. When the T1 duration arrives, the next channel is transmitted and the probe request frame is started.
主动扫描的另一种实施方式是,系统预定义AP的省电模块监听唤醒信号的信道与AP工作信道之间的映射关系,例如,监听唤醒信号的信道1,对应于工作信道编号1,监听唤醒信号的信道2对应于工作信道编号6,以此类推。当存在预定义的映射关系时,如果站点在监听信道1上发送了唤醒信号,则站点在发送完毕唤醒信号后,直接转至工作信道1发送探测请求帧。如果站点在多个监听信道上发送了唤醒信号,则站点在每个监听信道对应的
工作信道上发送探测请求帧,或NDP探测请求帧,如果在T3时间内没收到任何响应帧,则跳转到下一个信道开始发送探测请求帧,如果收到任一响应帧,则一直监听T1时长,在T1时长到达时,转至下一信道,开始发送探测请求帧。Another implementation manner of the active scanning is that the power saving module of the pre-defined AP monitors the mapping relationship between the channel of the wake-up signal and the AP working channel, for example, the channel 1 that monitors the wake-up signal, corresponding to the working channel number 1, and listens Channel 2 of the wake-up signal corresponds to working channel number 6, and so on. When there is a predefined mapping relationship, if the station sends a wake-up signal on the listening channel 1, the station directly transfers to the working channel 1 to send the probe request frame after transmitting the wake-up signal. If the station sends a wake-up signal on multiple listening channels, the station corresponds to each listening channel.
The probe request frame or the NDP probe request frame is sent on the working channel. If no response frame is received within the T3 time, the jump to the next channel starts to send the probe request frame, and if any response frame is received, the T1 is always monitored. The duration, when the T1 duration arrives, moves to the next channel and starts transmitting the probe request frame.
AP的省电模块收到与自己的唤醒标识匹配的唤醒消息,或者携带通配符SSID/BSSID的唤醒消息,唤醒消息中指示发送方正在进行网络接入,则AP从省电状态转为工作状态,打开收发模块,开始发送Beacon帧,若收到探测请求帧,或者不包含MAC层负载的探测请求帧(以下简称为NDP探测请求帧),其中,探测请求帧可能携带的是通配符SSID或者通配符BSSID,或者接收地址就是该AP,则AP向该站点发送探测响应帧。The power saving module of the AP receives the wake-up message matching the wake-up identifier of the AP, or the wake-up message carrying the wildcard SSID/BSSID, and the wake-up message indicates that the sender is performing network access, and the AP changes from the power-saving state to the working state. The transceiver module is started, and the Beacon frame is sent. If the probe request frame is received, or the probe request frame (hereinafter referred to as the NDP probe request frame) that does not include the MAC layer load, the probe request frame may carry a wildcard SSID or a wildcard BSSID. Or, if the receiving address is the AP, the AP sends a probe response frame to the station.
站点对所有信道扫描完毕,处理扫描结果,如果找到了希望接入的AP,或者适合接入的AP,执行后续的接入操作。After the site scans all the channels, the scan result is processed. If the AP that you want to access or the AP that is suitable for access is found, the subsequent access operations are performed.
应用实例3Application example 3
AP监听唤醒信号的信道的配置、唤醒标识的取值、唤醒消息的发送方法等同应用实例1。The configuration of the channel on which the AP listens for the wake-up signal, the value of the wake-up identifier, and the method of transmitting the wake-up message are the same as in the application example 1.
与应用实例1不同,在本实例中,站点在唤醒消息中携带了一个信道信息,该信道一般是AP工作信道集合中的某个,可用于AP正常数据收发的信道。站点提供了这个信道指示信息之后,当发送完毕唤醒消息,站点会转至该信道监听一定时长T2,以期望在该时间内接收到自己唤醒的一个或多个AP发来的响应帧,例如是一个确认帧。AP在该响应帧中指示了自身的工作信道的具体标识,例如是信道编号。站点在唤醒消息中携带的信道信息也可以是多个,例如为一组AP指定一个信道,为另一组AP指定另一个信道,而站点可以并行监听指定的这几个信道,在T2时间长度内接收AP发送的响应帧。或者,站点在唤醒消息中携带一组信道编号,多个AP随机选择信道来竞争发送,而站点并行监听这几个信道,并在T2时间长度内接收AP发送的响应帧。Different from the application example 1, in this example, the station carries a channel information in the wake-up message, and the channel is generally one of the AP working channel sets, and can be used for the channel for normal data transmission and reception of the AP. After the site provides the channel indication information, when the wake-up message is sent, the station will go to the channel for a certain period of time T2, in order to receive a response frame sent by one or more APs that wake up by itself, for example, An acknowledgement frame. The AP indicates the specific identity of its own working channel in the response frame, such as the channel number. The channel information carried by the station in the wake-up message may also be multiple, for example, one channel is assigned to one group of APs, and another channel is designated for another group of APs, and the station can monitor the specified channels in parallel for a length of time T2. Receive the response frame sent by the AP. Alternatively, the station carries a set of channel numbers in the wake-up message, and multiple APs randomly select channels to contend for transmission, and the station monitors the channels in parallel and receives the response frames sent by the AP within the length of T2.
需要注意的是,站点可以发送一个唤醒消息,尝试唤醒多个AP,则有可能这些AP都被唤醒,并从省电状态进入工作状态后,都开始在同一个指定信道上发送响应帧。这种情况下AP采用竞争发送的方法发送响应帧。AP
可以在T2时间内尝试竞争多次发送,在T2到达时,结束发送,或者只发送一次,然后结束发送。It should be noted that the station can send a wake-up message and try to wake up multiple APs. It is possible that these APs are woken up and start to send response frames on the same designated channel after entering the working state from the power-saving state. In this case, the AP sends a response frame by means of contention transmission. AP
It is possible to try to compete for multiple transmissions within T2 time, end the transmission when T2 arrives, or only send once, and then end the transmission.
AP收到发送给自己的唤醒消息,其中如果携带了信道信息,则AP在从省电状态进入工作状态后,会在该信道上竞争发送响应帧给站点,其中携带自己的工作信道信息。AP在指定信道发送结束后,转换至自身工作信道开始发送信标帧。The AP receives the wake-up message sent to itself, and if the channel information is carried, the AP contends to send a response frame to the station, which carries its own working channel information, after entering the working state from the power-saving state. After the specified channel is sent, the AP switches to its own working channel to start transmitting the beacon frame.
站点在时间T2内收到若干AP的响应帧,得到了它们的工作信道信息,在这些信道上进行被动扫描,操作同应用实例1的被动扫描过程。The station receives response frames of several APs in time T2, obtains their working channel information, performs passive scanning on these channels, and operates the passive scanning process of the application example 1.
站点如果是进行主动扫描,则站点在每个收到的响应帧中AP指示的自身工作信道上发送探测请求帧,或者NDP探测请求帧,如果在时间T3时间内没收到任何响应帧,则跳转到下一个信道开始发送探测请求帧,如果收到任一响应帧,则一直监听T1时长,在T1时长到达时,转至下一信道,开始发送探测请求帧。If the station performs active scanning, the station sends a probe request frame or an NDP probe request frame on its own working channel indicated by the AP in each received response frame, and if no response frame is received within time T3, the station skips. Go to the next channel to start sending the probe request frame. If any response frame is received, it will always listen to the T1 duration. When the T1 duration arrives, it will go to the next channel and start sending the probe request frame.
AP在指定信道发送结束后,转换至自身工作信道,若收到探测请求帧,AP向所述站点发送探测响应帧。After the specified channel is sent, the AP switches to its own working channel. If a probe request frame is received, the AP sends a probe response frame to the station.
如果站点在唤醒消息中指定的信道上没有收到任何响应帧,则站点应该在自身管理实体配置的信道列表中的每个信道上,按照应用实例1或应用实例2的方法,实施主动或者被动扫描。If the station does not receive any response frame on the channel specified in the wakeup message, the station shall implement active or passive according to the application instance 1 or application instance 2 on each channel in the channel list configured by its own management entity. scanning.
本实施例的另一个实现方法是,AP在站点指定的信道上发送的响应帧中除了携带AP的工作信道之外,还携带有执行网络接入的必要信息。这里所说的执行网络接入的必要信息可以是Beacon帧或者探测响应帧中信息的子集,例如AP的BSSID、SSID、AP的信标帧间隔、AP的能力参数等,也可以包括网络类型、AP应用类型等选网所需的信息。响应帧的类型可以是管理帧,比如一个新增管理帧,或者是复用信道转换管理帧。Another implementation manner of this embodiment is that the response frame sent by the AP on the designated channel of the station carries the necessary information for performing network access, in addition to the working channel carrying the AP. The necessary information for performing network access herein may be a subset of the information in the Beacon frame or the probe response frame, such as the BSSID of the AP, the SSID, the beacon frame interval of the AP, the capability parameter of the AP, etc., and may also include the network type. , AP application type and other information required for network selection. The type of the response frame may be a management frame, such as a newly added management frame, or a multiplexed channel conversion management frame.
站点在T2时间内收到一个或多个响应帧之后,可以根据响应帧的信息内容和信号接收强度中的至少之一进行AP的选择,预先筛选出可能进一步扫描或者接入的若干AP,并在指定信道上向已选择的一个或多个AP发送一个无线帧,例如是一个管理帧,或者控制帧,该无线帧是对AP发送的响应帧的确认帧,用来通知AP已被选择。发送完毕,站点转至已选择的一个或
多个AP的工作信道上。如果仅选择了一个AP,则可以直接与该AP尝试关联,如果选择了多个AP,则可以在这几个AP工作的信道上进行主动扫描,或者被动扫描,然后获取这些AP的系统参数,选定目标接入AP,完成网络接入。After receiving one or more response frames in the T2 time, the station may perform AP selection according to at least one of information content and signal reception strength of the response frame, and pre-screen out a plurality of APs that may be further scanned or accessed, and Sending a radio frame to the selected one or more APs on the designated channel, for example, a management frame, or a control frame, the radio frame is an acknowledgement frame for the response frame sent by the AP, to notify the AP that it has been selected. After sending, the site will go to the selected one or
On multiple APs' working channels. If only one AP is selected, the AP can be directly associated with the AP. If multiple APs are selected, active scanning or passive scanning can be performed on the channels on which the APs work, and then the system parameters of the APs are obtained. The selected target accesses the AP and completes network access.
AP如果没有收到站点发送给自己的无线帧,或者收到无线帧,但接收地址不是自己时,认为站点没有选择自己进行网络接入,则不必转至工作信道,可以直接返回省电状态,从而节省了AP的电量。这里,发送给自己的无线帧包括:无线帧的接收地址与自己的MAC地址匹配,或者,无线帧的接收地址是广播地址,但无线帧中携带了自己的标识信息(唤醒标识、BSSID、SSID等)。If the AP does not receive the radio frame sent by the station to itself, or receives the radio frame, but the receiving address is not itself, the AP does not need to go to the working channel to return to the power saving state. Thereby saving the power of the AP. Here, the radio frame sent to itself includes: the receiving address of the radio frame matches its own MAC address, or the receiving address of the radio frame is a broadcast address, but the radio frame carries its own identification information (wakeup identifier, BSSID, SSID) Wait).
应用实例4Application example 4
AP监听唤醒信号的信道的配置、唤醒标识的取值、唤醒消息的发送方法等同应用实例1。The configuration of the channel on which the AP listens for the wake-up signal, the value of the wake-up identifier, and the method of transmitting the wake-up message are the same as in the application example 1.
在本实例中,站点不在唤醒消息中携带信道信息,AP从省电状态进入工作状态后,会默认在预定义的信道上向站点发送响应帧,响应帧中携带AP自身的工作信道。这里的预定义信道可以是收到唤醒消息的信道,或者是系统预先制定的第二信道集合中的信道。站点会在该信道上监听T2时长,以接收一个或多个AP发来的响应帧。AP可以在T2时间内竞争发送响应帧一次或多次,在T2到达时转换至工作信道,或者仅发送一次,就转换至工作信道。In this example, the site does not carry the channel information in the wake-up message. After the AP enters the working state from the power-saving state, the AP sends a response frame to the site by default on the predefined channel, and the response frame carries the working channel of the AP itself. The predefined channel here may be a channel that receives a wake-up message, or a channel in a second set of channels pre-defined by the system. The station will listen to the T2 duration on the channel to receive response frames from one or more APs. The AP may contend to send the response frame one or more times in T2, switch to the working channel when T2 arrives, or switch to the working channel only once.
AP转换至工作信道后,开始发送Beacon帧。After the AP switches to the working channel, it starts to send Beacon frames.
站点可能会在T2内收到若干响应帧,则在这些响应帧中指示的工作信道上,对于每个信道,执行被动扫描,或者主动扫描。The station may receive several response frames within T2, and perform passive scanning or active scanning for each channel on the working channel indicated in these response frames.
需要说明的是,对于上述应用实例1至4中,T1,T2和T3的取值可以设置为相同或者不同。It should be noted that, in the above application examples 1 to 4, the values of T1, T2, and T3 may be set to be the same or different.
主动扫描时,站点在响应帧指示的工作信道上,对每个信道,发送探测请求帧,或NDP探测请求帧,如果在时间T3时间内没收到任何响应帧,则跳转到下一个信道开始发送探测请求帧,如果收到任一响应帧,则一直监听
T1时长,在T1时长到达时,转至下一信道,开始发送探测请求帧。During active scanning, the station sends a probe request frame or an NDP probe request frame to each channel on the working channel indicated by the response frame. If no response frame is received within time T3, the station jumps to the next channel. Send a probe request frame, if it receives any response frame, it will always listen
The T1 duration, when the T1 duration arrives, moves to the next channel and starts transmitting the probe request frame.
AP转换至工作信道后,如果收到发送给自己的探测请求帧响应探测响应帧。After the AP transitions to the working channel, it receives a probe request frame response probe response frame sent to itself.
AP转换至工作信道工作后,在时长T4内收不到站点发送的任何帧,则重新进入省电状态。After the AP switches to the working channel, if any frame sent by the station is not received within the duration T4, the power saving state is re-entered.
本实施例的另一个实现方法是,AP在站点指定的信道上发送的响应帧中除了携带AP的工作信道之外,还携带有执行网络接入的必要信息。这里所说的执行网络接入的必要信息可以是Beacon帧或者探测响应帧中信息的子集,例如AP的BSSID、SSID、AP的信标帧间隔、AP的能力参数等,也可以包括网络类型、AP应用类型等选网所需的信息。响应帧的类型可以是管理帧,比如一个新增管理帧,或者是复用信道转换管理帧。Another implementation manner of this embodiment is that the response frame sent by the AP on the designated channel of the station carries the necessary information for performing network access, in addition to the working channel carrying the AP. The necessary information for performing network access herein may be a subset of the information in the Beacon frame or the probe response frame, such as the BSSID of the AP, the SSID, the beacon frame interval of the AP, the capability parameter of the AP, etc., and may also include the network type. , AP application type and other information required for network selection. The type of the response frame may be a management frame, such as a newly added management frame, or a multiplexed channel conversion management frame.
站点在T2时间内收到一个或多个响应帧之后,可以根据响应帧的信息内容和信号接收强度中的至少之一进行AP的选择,预先筛选出可能进一步扫描或者接入的若干AP,并在指定信道上向已选择的一个或多个AP发送一个无线帧,例如是一个管理帧,或者控制帧。发送完毕,站点转至选择的一个或多个AP的工作信道上。如果仅选择了一个AP,则可以直接与该AP尝试关联,如果选择了多个AP,则可以在这几个AP工作的信道上进行主动扫描,或者被动扫描,然后获取这些AP的系统参数,选定目标接入AP,完成网络接入。After receiving one or more response frames in the T2 time, the station may perform AP selection according to at least one of information content and signal reception strength of the response frame, and pre-screen out a plurality of APs that may be further scanned or accessed, and Sending a radio frame, such as a management frame, or a control frame, to the selected one or more APs on the designated channel. After the transmission is completed, the site goes to the working channel of the selected one or more APs. If only one AP is selected, the AP can be directly associated with the AP. If multiple APs are selected, active scanning or passive scanning can be performed on the channels on which the APs work, and then the system parameters of the APs are obtained. The selected target accesses the AP and completes network access.
AP如果没有收到站点发送给自己的无线帧,或者收到无线帧,但接收地址不是自己时,不必转至工作信道,可以直接返回省电状态,从而节省了AP的电量。这里,发送给自己的无线帧包括:无线帧的接收地址与自己的MAC地址匹配,或者,无线帧的接收地址是广播地址,但无线帧中携带了自己的标识信息(唤醒标识、BSSID、SSID等)。If the AP does not receive the radio frame sent by the station to itself, or receives the radio frame, but the receiving address is not itself, it does not need to go to the working channel, and can directly return to the power saving state, thereby saving the AP's power. Here, the radio frame sent to itself includes: the receiving address of the radio frame matches its own MAC address, or the receiving address of the radio frame is a broadcast address, but the radio frame carries its own identification information (wakeup identifier, BSSID, SSID) Wait).
应用实例5Application example 5
AP监听唤醒信号的信道的配置、唤醒标识的取值、唤醒消息的发送方法等同应用实例1,与应用实例1不同的是,在本应用实例中,当站点发送唤醒消息,通过唤醒消息的中的消息类型指示,指示该唤醒消息为进行网络接入的唤醒消息,接入点收到该消息后,解析消息类型,判断该消息为进行
网络接入的唤醒消息,则认为发送站点需要执行网络扫描。The configuration of the channel for monitoring the wake-up signal of the AP, the value of the wake-up identifier, and the sending method of the wake-up message are the same as the application example 1. Unlike the application instance 1, in this application example, when the station sends a wake-up message, the wake-up message is received. The message type indication indicates that the wake-up message is a wake-up message for network access, and after receiving the message, the access point parses the message type and determines that the message is performed.
The wake-up message of the network access considers that the sending site needs to perform a network scan.
站点执行网络扫描的类型可以预配置为默认类型,例如预配置为被动扫描,或者主动扫描。则接入点收到唤醒消息,默认地认为站点即将进行被动扫描,或者即将进行主动扫描。The type of network scan performed by the site can be pre-configured to a default type, such as pre-configured as passive scanning, or active scanning. The access point receives the wake-up message, and by default, the site is about to undergo a passive scan, or is about to perform an active scan.
若默认扫描类型为被动扫描,实施方式同应用实例1;If the default scan type is passive scanning, the implementation manner is the same as application example 1;
若默认扫描类型为主动扫描,实施方式同应用实例2;If the default scan type is active scanning, the implementation manner is the same as application example 2;
若默认扫描类型为被动扫描或主动扫描,且唤醒消息中还携带了指定信道,实施方式同应用实例3;If the default scan type is passive scanning or active scanning, and the awake message also carries the designated channel, the implementation manner is the same as the application example 3;
若默认扫描类型为被动扫描或主动扫描,且AP发送响应帧的指定信道为预定义信道,实施方式同应用实例4。If the default scan type is passive scan or active scan, and the specified channel that the AP sends the response frame is a predefined channel, the implementation manner is the same as that of the application example 4.
本申请实施例通过站点在第一信道集合中的信道上发送一个或多个唤醒消息,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入,所述唤醒消息用于唤醒一个或多个接入点,接入点唤醒后,根据所述指示信息返回信息给站点,所述返回信息包括AP发送的Beacon帧或者探测响应帧,站点根据所述返回的信息执行网络接入。本申请实施例可以实现快速的网络接入操作。The embodiment of the present application sends one or more wake-up messages on the channel in the first channel set by the station, where the wake-up message carries indication information, where the indication information is used to indicate that the site needs to perform network access, The wake-up message is used to wake up one or more access points. After the access point wakes up, the information is returned to the station according to the indication information, where the return information includes a Beacon frame or a probe response frame sent by the AP, and the station returns according to the Information performs network access. The embodiment of the present application can implement a fast network access operation.
此外,本申请实施例还提供一种计算机可读介质,存储有网络接入程序,所述网络接入程序被处理器执行时实现上述任一种网络接入方法的步骤。In addition, the embodiment of the present application further provides a computer readable medium, where a network access program is stored, and the network access program is executed by a processor to implement the steps of any one of the foregoing network access methods.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块
或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium is included for storing information (such as computer readable instructions, data structures, program modules).
Volatile and non-volatile, removable and non-removable media implemented in any method or technology, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
以上所述仅为本申请的示例性实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an exemplary embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
本申请实施例提供一种网络接入方法及装置、系统,站点可以快速发现信道上存在的网络,并执行网络接入,有效减小了由于接入点处于省电状态而带来的网络接入时延。
The embodiment of the present invention provides a network access method, device, and system, where a station can quickly discover a network existing on a channel and perform network access, thereby effectively reducing network connection caused by the access point being in a power-saving state. Enter the delay.
Claims (48)
- 一种网络接入方法,包括:A network access method includes:站点在第一信道集合中的信道上发送一个或多个唤醒消息(101),其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The station transmits one or more wake-up messages (101) on a channel in the first set of channels, wherein the wake-up message is used to wake up one or more access points, the wake-up message carrying indication information, the indication The information is used to indicate that the site needs to perform network access;所述站点接收接入点根据所述指示信息返回的信息(102);The station receives information returned by the access point according to the indication information (102);所述站点根据所述返回的信息执行网络接入(103)。The station performs network access based on the returned information (103).
- 如权利要求1所述的方法,其中,所述第一信道集合为所述一个或多个接入点监听唤醒消息的信道集合。The method of claim 1 wherein said first set of channels is a set of channels for said one or more access points to listen for wake-up messages.
- 如权利要求1所述的方法,其中,所述唤醒消息中携带所述一个或多个接入点的唤醒标识,所述唤醒标识包括以下标识中的一种或者两种以上的组合:接入点的服务集标识SSID,SSID经运算得到的值,接入点的基本服务集标识BSSID,BSSID经运算得到的值,通配符SSID,通配符BSSID;The method of claim 1, wherein the wake-up message carries a wake-up identifier of the one or more access points, the wake-up identifier comprising one or a combination of two or more of the following: access Point service set identifier SSID, SSID calculated value, access point basic service set identifier BSSID, BSSID calculated value, wildcard SSID, wildcard BSSID;所述SSID经运算得到的值包括:SSID的部分字节,或者经压缩算法得到的SSID;所述BSSID经运算得到的值包括:BSSID的部分字节,或者经压缩算法得到的BSSID。The calculated value of the SSID includes: a partial byte of the SSID, or an SSID obtained by a compression algorithm; the calculated value of the BSSID includes: a partial byte of the BSSID, or a BSSID obtained by a compression algorithm.
- 如权利要求1所述的方法,其中,所述站点在第一信道集合中的信道上发送一个或多个唤醒消息,包括:在第一信道集合中的一个信道上顺序发送一个或多个唤醒消息,或者在第一信道集合中的多个信道中的每个信道上顺序发送一个或多个唤醒消息,或者在第一信道集合中的多个信道中的每个信道上并行发送多个唤醒消息。The method of claim 1 wherein said station transmits one or more wake-up messages on a channel in the first set of channels, comprising: sequentially transmitting one or more wake-ups on a channel in the first set of channels Message, or sequentially transmitting one or more wake-up messages on each of a plurality of channels in the first set of channels, or transmitting multiple wake-ups in parallel on each of the plurality of channels in the first set of channels Message.
- 如权利要求1所述的方法,其中,所述唤醒消息中携带的指示信息指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述指示信息,指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。The method of claim 1, wherein the indication information carried in the wake-up message indicates that the scan type performed by the station is an active scan or a passive scan; or the indication information indicates a type of the wake-up message. A wake-up message for waking up the access point and performing network access, and the site will by default perform one of the following scan types: active scanning, passive scanning.
- 如权利要求1所述的方法,其中,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在第二信道集合中的信道上接收信标帧;The method of claim 1, wherein the station receiving information returned by the access point according to the indication information comprises: the station receiving a beacon frame on a channel in the second channel set;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取信标 帧后,选择接入点执行网络接入。Performing, by the station, network access according to the returned information, including: the site acquiring a beacon After the frame, select the access point to perform network access.
- 如权利要求6所述的方法,其中,所述第二信道集合为所述一个或多个接入点进行数据和信令收发的工作信道的集合。The method of claim 6 wherein said second set of channels is a set of working channels for data and signaling for said one or more access points.
- 如权利要求7所述的方法,其中,所述站点在第二信道集合中的信道上接收信标帧,包括:对于每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到第二信道集合的最后一个信道。The method of claim 7 wherein said station receives a beacon frame on a channel in the second set of channels, comprising: for each channel, listening for a first predetermined duration, the receiving being received within a first predetermined duration The beacon frame, when the first predetermined duration arrives, jumps to the next channel until it jumps to the last channel of the second channel set.
- 如权利要求1所述的方法,其中,当所述唤醒消息中还包括第二信道集合中的指定信道,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的所述接入点发送给自己的响应帧,所述响应帧携带所述接入点的工作信道;所述站点在所述工作信道上接收信标帧;The method of claim 1, wherein when the awake message further includes a designated channel in the second channel set, the station receives information returned by the access point according to the indication information, including: the site is Receiving, on the designated channel, a second predetermined duration, receiving a response frame sent by the access point that is received in the second predetermined duration, and the response frame carries a working channel of the access point; The station receives a beacon frame on the working channel;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取信标帧后,选择接入点执行网络接入。The performing network access by the station according to the returned information includes: after the station acquires a beacon frame, selecting an access point to perform network access.
- 如权利要求1所述的方法,其中,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在预定义的信道上监听第二预定时长,接收接入点发送的响应帧,所述响应帧携带所述接入点的工作信道;所述站点在所述工作信道上接收信标帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;The method according to claim 1, wherein the station receives information returned by the access point according to the indication information, comprising: the station listening for a second predetermined duration on a predefined channel, and receiving the sending by the access point. a response frame, the response frame carrying a working channel of the access point; the station receiving a beacon frame on the working channel; the predefined channel being a first channel set in which the station sends a wake-up message Channel, or channel in the second channel set;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取信标帧后,选择接入点执行网络接入。The performing network access by the station according to the returned information includes: after the station acquires a beacon frame, selecting an access point to perform network access.
- 如权利要求9或10所述的方法,其中,所述站点在所述工作信道上接收信标帧,包括:对于工作信道的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到工作信道的最后一个信道。The method of claim 9 or 10, wherein the station receives a beacon frame on the working channel, comprising: listening to a first predetermined duration for each channel of the working channel, receiving within a first predetermined duration The received beacon frame, when the first predetermined duration arrives, jumps to the next channel until it jumps to the last channel of the working channel.
- 如权利要求9或10所述的方法,其中,所述响应帧还携带有执行网络接入的必要信息;The method of claim 9 or 10, wherein the response frame further carries necessary information for performing network access;所述站点根据所述返回的信息执行网络接入,包括:所述站点进行接入 点选择,并在指定信道上向已选择的一个或多个接入点发送无线帧;所述站点在已选择的一个或多个接入点的工作信道上接收信标帧,执行后续的接入操作。Performing, by the station, network access according to the returned information, including: the site accessing Point selection and transmitting a radio frame to the selected one or more access points on the designated channel; the station receives the beacon frame on the working channel of the selected one or more access points, performing subsequent connections Into the operation.
- 如权利要求1所述的方法,其中,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在第二信道集合中的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到第二信道集合的最后一个信道;The method of claim 1, wherein the station receiving information returned by the access point according to the indication information comprises: the station transmitting a probe request frame on each channel in the second channel set, or not including The media access control MAC layer load probe request frame does not receive any response frame within the third predetermined duration, and jumps to the next channel; if at least one response frame is received, the current channel listens to the first predetermined duration to arrive. Receiving a probe response frame sent by the access point, and jumping to the next channel until jumping to the last channel of the second channel set;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取探测响应帧后,选择接入点执行网络接入。The performing network access by the station according to the returned information includes: after the station acquires the probe response frame, selecting the access point to perform network access.
- 如权利要求1所述的方法,其中,当所述唤醒消息中还携带第二信道集合中的指定信道,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;站点在所述工作信道中的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The method of claim 1, wherein when the awake message further carries a designated channel in the second channel set, the station receives information returned by the access point according to the indication information, including: the site is Receiving, on the designated channel, a second predetermined duration, receiving a response frame sent by an access point received within a second predetermined duration; the response frame carrying a working channel of the access point; and the station is in the working channel Each channel in the transmission sends a probe request frame, or a probe request frame that does not include a media access control MAC layer load, does not receive any response frame within a third predetermined duration, and jumps to the next channel; if at least one is received The response frame arrives at the first predetermined duration of the current channel, receives the probe response frame sent by the access point, and jumps to the next channel until it jumps to the last channel of the working channel;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取探测响应帧后,选择接入点执行网络接入。The performing network access by the station according to the returned information includes: after the station acquires the probe response frame, selecting the access point to perform network access.
- 如权利要求1所述的方法,其中,所述站点接收接入点根据所述指示信息返回的信息,包括:所述站点在预定义的信道上监听第二预定时长,接收接入点发送的响应帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合上的信道,或者是第二信道集合上的信道;所述响应帧携带所述接入点的工作信道;所述站点在工作信道的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听 至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The method according to claim 1, wherein the station receives information returned by the access point according to the indication information, comprising: the station listening for a second predetermined duration on a predefined channel, and receiving the sending by the access point. a response frame; the predefined channel is a channel on a first channel set in which the station sends a wake-up message, or a channel on a second channel set; the response frame carries a working channel of the access point; The station sends a probe request frame on each channel of the working channel, or a probe request frame that does not include a media access control MAC layer load, and does not receive any response frame within the third predetermined duration, and jumps to the next channel; Received at least one response frame, listening on the current channel Arriving until the first predetermined time period, receiving the probe response frame sent by the access point, and jumping to the next channel until jumping to the last channel of the working channel;所述站点根据所述返回的信息执行网络接入,包括:所述站点获取探测响应帧后,选择接入点执行网络接入。The performing network access by the station according to the returned information includes: after the station acquires the probe response frame, selecting the access point to perform network access.
- 如权利要求14或15所述的方法,其中,所述响应帧还携带有执行网络接入的必要信息;The method of claim 14 or 15, wherein the response frame further carries necessary information for performing network access;所述站点根据所述返回的信息执行网络接入,包括:所述站点进行接入点选择,并在指定信道上向已选择的一个或多个接入点发送无线帧;所述无线帧用于对响应帧进行确认;所述站点在所述已选择的一个或多个接入点的工作信道上发送探测请求帧,执行后续的接入操作。Performing, by the station, network access according to the returned information, including: the station performs an access point selection, and sends a radio frame to the selected one or more access points on the designated channel; Confirming the response frame; the station sends a probe request frame on the working channel of the selected one or more access points, and performs subsequent access operations.
- 如权利要求6所述的方法,其中,所述第一信道集合与第二信道集合位于相同或不同频段。The method of claim 6 wherein said first set of channels and said second set of channels are in the same or different frequency bands.
- 如权利要求14所述的方法,其中,所述第一预定时长、第二预定时长和第三预定时长的取值相同或不同。The method of claim 14, wherein the first predetermined duration, the second predetermined duration, and the third predetermined duration are the same or different.
- 一种网络接入方法,包括:A network access method includes:接入点在第一信道集合中的信道上接收站点发送的唤醒消息(201),其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The access point receives the awake message (201) sent by the station on the channel in the first channel set, where the awake message carries indication information, where the indication information is used to indicate that the station needs to perform network access;当所述接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,所述接入点按照所述唤醒消息中的指示信息返回信息给站点(202)。When the access point determines that the wake-up identifier in the wake-up message matches the self-awake identifier, the access point returns information to the station according to the indication information in the wake-up message (202).
- 如权利要求19所述的方法,其中,所述接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配,包括:当唤醒标识包括以下标识中的一种或者两种以上的组合,与自身唤醒标识相同:接入点的服务集标识SSID,SSID经运算得到的值,接入点的基本服务集标识BSSID,BSSID经运算得到的值,通配符SSID,通配符BSSID;The method of claim 19, wherein the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, and includes: when the wakeup identifier includes one or more of the following identifiers Same as the self-awake identifier: the service set identifier SSID of the access point, the value obtained by the operation of the SSID, the basic service set identifier BSSID of the access point, the calculated value of the BSSID, the wildcard SSID, the wildcard BSSID;其中,所述SSID经运算得到的值包括:SSID的部分字节,或者经压缩算法得到的SSID;所述BSSID经运算得到的值包括:BSSID的部分字节,或者经压缩算法得到的BSSID。 The value obtained by the operation of the SSID includes: a partial byte of the SSID or an SSID obtained by a compression algorithm; and the calculated value of the BSSID includes: a partial byte of the BSSID, or a BSSID obtained by a compression algorithm.
- 如权利要求19所述的方法,其中,所述唤醒消息中携带的指示信息指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述唤醒消息中的指示信息,指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。The method of claim 19, wherein the indication information carried in the wake-up message indicates that the scan type performed by the station is an active scan or a passive scan; or the indication information in the wake-up message indicates the The type of wake-up message is a wake-up message for waking up the access point and performing network access, and the station will by default perform one of the following scan types: active scan, passive scan.
- 如权利要求19所述的方法,其中,所述接入点按照所述唤醒消息中的指示信息返回信息给站点,包括:所述接入点在自身工作信道上发送信标帧,若收到探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。The method of claim 19, wherein the access point returns information to the station according to the indication information in the wake-up message, comprising: the access point transmitting a beacon frame on its own working channel, if received A probe request frame, or a probe request frame that does not include a media access control MAC layer load, the access point transmitting a probe response frame to the station.
- 如权利要求19所述的方法,其中,当所述唤醒消息中还携带第二信道集合中的指定信道,所述接入点按照所述唤醒消息中的指示信息返回信息给站点,包括:所述接入点在所述指定信道上向所述站点发送响应帧;所述响应帧携带所述接入点的工作信道;所述接入点在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。The method of claim 19, wherein when the awake message further carries a designated channel in the second channel set, the access point returns information to the station according to the indication information in the awake message, including: The access point sends a response frame to the station on the designated channel; the response frame carries a working channel of the access point; and the access point sends a beacon frame on the working channel, if To the probe request frame, or a probe request frame that does not include a media access control MAC layer load, the access point sends a probe response frame to the station.
- 如权利要求19所述的方法,其中,所述接入点按照所述唤醒消息中的指示信息返回信息给站点,包括:The method of claim 19, wherein the access point returns information to the site according to the indication information in the wake-up message, including:所述接入点在预定义的信道上向所述站点发送响应帧,所述响应帧中携带所述接入点的工作信道;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;Sending, by the access point, a response frame to the station on a predefined channel, where the response frame carries a working channel of the access point; the predefined channel is the first that the station sends a wake-up message a channel in a set of channels, or a channel in a second set of channels;所述接入点在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,所述接入点向所述站点发送探测响应帧。The access point sends a beacon frame on the working channel, and if the probe request frame is received, or a probe request frame that does not include a media access control MAC layer load, the access point sends a probe response to the station. frame.
- 如权利要求19所述的方法,其中,所述接入点按照所述唤醒消息中的指示信息返回信息给站点,包括:The method of claim 19, wherein the access point returns information to the site according to the indication information in the wake-up message, including:所述接入点在指定信道上向所述站点发送响应帧;所述响应帧携带所述接入点的工作信道,还携带有站点执行网络接入的必要信息;The access point sends a response frame to the station on the designated channel; the response frame carries the working channel of the access point, and further carries necessary information for the site to perform network access;所述接入点在发送所述响应帧后收到所述站点发送的无线帧,所述接入 点在所述工作信道上发送信标帧,等待接收所述站点发送的探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧;若收到所述探测请求帧,所述接入点向所述站点发送探测响应帧;Receiving, by the access point, the radio frame sent by the station after sending the response frame, the access Point transmitting a beacon frame on the working channel, waiting to receive a probe request frame sent by the station, or a probe request frame not including a media access control MAC layer load; if receiving the probe request frame, the connecting The ingress point sends a probe response frame to the station;所述接入点在发送所述响应帧后未收到所述站点发送给自己的无线帧,或者收到站点发送的无线帧,接收地址不是自己时,返回省电状态。The access point does not receive the radio frame sent by the station to itself after transmitting the response frame, or receives the radio frame sent by the station, and returns to the power saving state when the receiving address is not itself.
- 如权利要求22至25中任一项所述的方法,所述方法还包括:所述接入点转换至工作信道工作后,在第四预定时长内没有收到来自站点的帧,所述接入点进入省电状态(203)。The method according to any one of claims 22 to 25, further comprising: after the access point is switched to the working channel, the frame from the station is not received within the fourth predetermined duration, the connection The entry point enters a power saving state (203).
- 一种网络接入装置,包括:A network access device includes:第一发送模块(301),配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示站点需要执行网络接入;The first sending module (301) is configured to send one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message is carried Instructing information, the indication information is used to indicate that the site needs to perform network access;第一接收模块(302),配置为接收接入点根据所述指示信息返回的信息;The first receiving module (302) is configured to receive information returned by the access point according to the indication information;处理模块(303),配置为根据所述返回的信息执行网络接入。The processing module (303) is configured to perform network access according to the returned information.
- 如权利要求27所述的网络接入装置,其中,所述第一发送模块(301)配置为通过以下方式在第一信道集合中的信道上发送一个或多个唤醒消息:在接入点监听唤醒消息的信道集合上发送一个或多个唤醒消息。The network access device of claim 27, wherein the first transmitting module (301) is configured to transmit one or more wake-up messages on a channel in the first set of channels by: listening at the access point One or more wake-up messages are sent on the set of channels of the wake-up message.
- 如权利要求27所述的网络接入装置,其中,所述第一发送模块(301)配置为通过以下方式发送一个或多个唤醒消息:发送携带一个或多个接入点的唤醒标识的唤醒消息。The network access device of claim 27, wherein the first transmitting module (301) is configured to transmit one or more wake-up messages by transmitting a wake-up identifier carrying one or more access points Message.
- 如权利要求27所述的网络接入装置,其中,所述第一发送模块(301)配置为通过以下方式在第一信道集合中的信道上发送一个或多个唤醒消息:在一个信道上顺序发送一个或多个唤醒消息,或者在多个信道的每个信道上顺序发送一个或多个唤醒消息,或者在多个信道并行发送多个唤醒消息。The network access device of claim 27, wherein the first transmitting module (301) is configured to transmit one or more wake-up messages on a channel in the first set of channels by: ordering on one channel One or more wake-up messages are sent, or one or more wake-up messages are sequentially transmitted on each of a plurality of channels, or multiple wake-up messages are transmitted in parallel on multiple channels.
- 如权利要求27所述的网络接入装置,其中,所述第一发送模块(301)发送的唤醒消息中携带的指示信息指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述指示信息,指示所述唤醒消息的类型为用于唤 醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。The network access device of claim 27, wherein the indication information carried in the wake-up message sent by the first sending module (301) indicates that the scanning type performed by the station is active scanning or passive scanning; or The indication information indicating that the type of the wakeup message is used for calling Wake up the access point and perform a wake-up message for network access, and the site will by default perform one of the following scan types: active scan, passive scan.
- 如权利要求27所述的网络接入装置,其中,所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:在第二信道集合中的信道上接收信标帧;The network access device of claim 27, wherein the first receiving module (302) is configured to receive information returned by the access point according to the indication information by: on a channel in the second channel set Receiving a beacon frame;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
- 如权利要求32所述的网络接入装置,其中,所述第一接收模块(302)配置为通过以下方式在第二信道集合中的信道上接收信标帧:在所述一个或多个接入点进行数据和信令收发的工作信道的集合中的信道上接收信标帧。The network access device of claim 32, wherein the first receiving module (302) is configured to receive a beacon frame on a channel in the second set of channels by: in the one or more A beacon frame is received on a channel in a set of working channels for data and signaling.
- 如权利要求27所述的网络接入装置,其中,当所述第一发送模块(301)发送的唤醒消息中还包括第二信道集合中的指定信道,所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:The network access device of claim 27, wherein when the wakeup message sent by the first sending module (301) further includes a designated channel in the second channel set, the first receiving module (302) is configured. The information returned by the access point according to the indication information is received by:在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的所述接入点发送给自己的响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上接收信标帧;Receiving, on the designated channel, a second predetermined duration, receiving a response frame sent by the access point that is received within the second predetermined duration, to the self, the response frame carrying the working channel of the access point; Receiving a beacon frame on the working channel;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
- 如权利要求27所述的网络接入装置,其中,所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:The network access device of claim 27, wherein the first receiving module (302) is configured to receive information returned by the access point according to the indication information by:在预定义的信道上监听第二预定时长,接收接入点发送的响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上接收信标帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;Listening to a second predetermined duration on a predefined channel, receiving a response frame sent by the access point, the response frame carrying a working channel of the access point; receiving a beacon frame on the working channel; the predefined Channel is a channel in a first channel set in which the station sends a wake-up message, or a channel in a second channel set;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的信标帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired beacon frame.
- 如权利要求34或35所述的网络接入装置,其中,所述第一接收模块(302)配置为通过以下方式在所述工作信道上接收信标帧:对于工作信道 的每个信道,监听第一预定时长,接收在第一预定时长内收到的信标帧,当第一预定时长到达,跳转至下一信道,直至跳转到工作信道的最后一个信道。The network access device of claim 34 or 35, wherein the first receiving module (302) is configured to receive a beacon frame on the working channel by: for a working channel Each channel listens for a first predetermined duration and receives a beacon frame received within a first predetermined duration. When the first predetermined duration arrives, it jumps to the next channel until it jumps to the last channel of the working channel.
- 如权利要求27所述的网络接入装置,其中,所述第一发送模块(301),还配置为在第二信道集合中的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧;The network access device of claim 27, wherein the first transmitting module (301) is further configured to transmit a probe request frame for each channel in the second channel set or does not include a media access control MAC Layer request probe request frame;所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到第二信道集合的最后一个信道;The first receiving module (302) is configured to receive information returned by the access point according to the indication information by: receiving no response frame within a third predetermined duration, jumping to the next channel; At least one response frame arrives at the current channel for the first predetermined duration, receives the probe response frame sent by the access point, and jumps to the next channel until the last channel of the second channel set is jumped;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
- 如权利要求27所述的网络接入装置,其中,当所述唤醒消息中还携带第二信道集合中的指定信道,所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:在所述指定信道上,监听第二预定时长,接收在第二预定时长内收到的接入点发送的响应帧;所述响应帧携带所述接入点的工作信道;The network access device of claim 27, wherein when the awake message further carries a designated channel in the second channel set, the first receiving module (302) is configured to receive an access point according to the following manner according to And the information returned by the indication information: monitoring, on the designated channel, a second predetermined duration, and receiving a response frame sent by the access point received within the second predetermined duration; the response frame carrying the access point Working channel所述第一发送模块(301),还配置为在所述工作信道中的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The first sending module (301) is further configured to send a probe request frame on each channel of the working channel, or a probe request frame that does not include a media access control MAC layer load, and does not have a third predetermined duration Receiving any response frame, jumping to the next channel; if at least one response frame is received, the current channel is monitored until the first predetermined time arrives, and the probe response frame sent by the access point is received, and the next channel is reached. Jump to the last channel of the working channel;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
- 如权利要求27所述的网络接入装置,其中,所述第一接收模块(302)配置为通过以下方式接收接入点根据所述指示信息返回的信息:在预定义的信道上监听第二预定时长,接收接入点发送的响应帧;所述预定义的信道是所述站点发送唤醒消息的第一信道集合上的信道,或者是第二信道集合上的信道;所述响应帧携带所述接入点的工作信道; The network access device of claim 27, wherein the first receiving module (302) is configured to receive information returned by the access point according to the indication information by: listening to the second on a predefined channel Receiving a response frame sent by the access point; the predefined channel is a channel on a first channel set in which the station sends a wake-up message, or a channel on a second channel set; the response frame carries The working channel of the access point;所述第一发送模块(301),还配置为在工作信道的每个信道发送探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧;The first sending module (301) is further configured to send a probe request frame on each channel of the working channel, or a probe request frame that does not include a media access control MAC layer load;所述第一接收模块(302)配置为在第三预定时长内没有收到任何响应帧,跳转至下一信道;若收到至少一个响应帧,在当前信道监听至第一预定时长到达,接收接入点发送的探测响应帧,跳转至下一信道,直至跳转到工作信道的最后一个信道;The first receiving module (302) is configured to not receive any response frame within a third predetermined duration, and jump to the next channel; if at least one response frame is received, the current channel is monitored until the first predetermined time arrives, Receiving a probe response frame sent by the access point, and jumping to the next channel until jumping to the last channel of the working channel;所述处理模块(303)配置为通过以下方式根据所述返回的信息执行网络接入:根据获取的探测响应帧,选择接入点执行网络接入。The processing module (303) is configured to perform network access according to the returned information by selecting an access point to perform network access according to the acquired probe response frame.
- 一种网络接入装置,包括:A network access device includes:第二接收模块(401),配置为在第一信道集合中的信道上接收站点发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The second receiving module (401) is configured to receive, on a channel in the first channel set, a wake-up message sent by the station, where the wake-up message carries indication information, where the indication information is used to indicate that the site needs to perform a network. Access第二发送模块(402),配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照所述唤醒消息中的指示信息返回信息给站点。The second sending module (402) is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return information to the site according to the indication information in the wakeup message.
- 如权利要求40所述的网络接入装置,其中,所述唤醒消息中携带的指示信息,指示所述站点执行的扫描类型为主动扫描或者是被动扫描;或者,所述指示信息,指示所述唤醒消息的类型为用于唤醒接入点并执行网络接入的唤醒消息,且所述站点将默认执行以下扫描类型之一:主动扫描、被动扫描。The network access device of claim 40, wherein the indication information carried in the wake-up message indicates that the scan type performed by the station is an active scan or a passive scan; or the indication information indicates the The type of wake-up message is a wake-up message for waking up the access point and performing network access, and the station will by default perform one of the following scan types: active scan, passive scan.
- 如权利要求40所述的网络接入装置,其中,所述第二发送模块(402)配置为通过以下方式按照所述唤醒消息中的指示信息返回信息给站点:The network access device of claim 40, wherein the second transmitting module (402) is configured to return information to the site in accordance with the indication information in the wakeup message by:在接入点自身工作信道上发送信标帧,若收到探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,向所述站点发送探测响应帧。A beacon frame is transmitted on the working channel of the access point itself, and if a probe request frame is received, or a probe request frame that does not include a medium access control MAC layer load, a probe response frame is sent to the station.
- 如权利要求40所述的网络接入装置,其中,当所述第二接收模块(401)接收的唤醒消息中还携带第二信道集合中的指定信道,所述第二发送模块(402)配置为通过以下方式按照所述唤醒消息中的指示信息返回信息给站点:在所述指定信道上向所述站点发送响应帧,所述响应帧携带所述接入点的工作信道;在所述工作信道上发送信标帧,若收到探测请求帧,或者不 包含媒体存取控制MAC层负载的探测请求帧,向所述站点发送探测响应帧。The network access device of claim 40, wherein the waking message received by the second receiving module (401) further carries a designated channel in the second channel set, and the second sending module (402) is configured. Returning information to the station according to the indication information in the wake-up message by sending a response frame to the station on the designated channel, the response frame carrying a working channel of the access point; Send a beacon frame on the channel, if a probe request frame is received, or A probe request frame containing a media access control MAC layer load, and a probe response frame is sent to the station.
- 如权利要求40所述的网络接入装置,其中,所述第二发送模块(402)配置为通过以下方式按照所述唤醒消息中的指示信息返回信息给站点:The network access device of claim 40, wherein the second transmitting module (402) is configured to return information to the site in accordance with the indication information in the wakeup message by:在预定义的信道上向所述站点发送响应帧,所述响应帧中携带所述接入点的工作信道;所述预定义的信道是所述站点发送唤醒消息的第一信道集合中的信道,或者是第二信道集合中的信道;Sending a response frame to the station on a predefined channel, where the response frame carries a working channel of the access point; the predefined channel is a channel in a first channel set in which the station sends a wake-up message Or a channel in the second channel set;在所述工作信道上发送信标帧,若收到探测请求帧,或者不包含媒体存取控制MAC层负载的探测请求帧,向所述站点发送探测响应帧。A beacon frame is transmitted on the working channel, and if a probe request frame is received, or a probe request frame that does not include a media access control MAC layer load, a probe response frame is sent to the station.
- 一种站点,包括如权利要求27至39中任意一项所述的网络接入装置。A site comprising the network access device of any one of claims 27 to 39.
- 一种接入点,包括如权利要求40至44中任意一项所述的网络接入装置。An access point comprising the network access device of any one of claims 40 to 44.
- 一种网络接入系统,包括:站点和接入点;A network access system includes: a station and an access point;所述站点,包括:The site includes:第一发送模块,配置为在第一信道集合中的信道上发送一个或多个唤醒消息,其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;a first sending module, configured to send one or more wake-up messages on a channel in the first channel set, where the wake-up message is used to wake up one or more access points, where the wake-up message carries indication information, The indication information is used to indicate that the site needs to perform network access;第一接收模块,配置为接收接入点根据所述指示信息返回的信息;a first receiving module, configured to receive information returned by the access point according to the indication information;处理模块,配置为根据所述返回的信息执行网络接入;a processing module, configured to perform network access according to the returned information;所述接入点,包括:The access point includes:第二接收模块,配置为在第一信道集合中的信道上接收站点第一发送模块发送的唤醒消息,其中,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;a second receiving module, configured to receive, on a channel in the first channel set, a wake-up message sent by the first sending module of the station, where the wake-up message carries indication information, where the indication information is used to indicate that the site needs to be executed Network access;第二发送模块,配置为当判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,按照所述唤醒消息中的指示信息返回信息给站点的第一接收模块。The second sending module is configured to: when it is determined that the wakeup identifier in the wakeup message matches the self wakeup identifier, return information to the first receiving module of the site according to the indication information in the wakeup message.
- 一种网络接入方法,包括: A network access method includes:站点在第一信道集合中的信道上发送一个或多个唤醒消息(601),其中,所述唤醒消息用于唤醒一个或多个接入点,所述唤醒消息中携带指示信息,所述指示信息用于指示所述站点需要执行网络接入;The station transmits one or more wake-up messages (601) on a channel in the first set of channels, wherein the wake-up message is used to wake up one or more access points, the wake-up message carrying indication information, the indication The information is used to indicate that the site needs to perform network access;接入点在第一信道集合中的信道上接收所述站点发送的唤醒消息(602);The access point receives the wake-up message sent by the station on a channel in the first channel set (602);当所述接入点判断到所述唤醒消息中的唤醒标识和自身唤醒标识匹配时,所述接入点按照所述唤醒消息中的指示信息返回信息给所述站点(603);When the access point determines that the wakeup identifier in the wakeup message matches the self wakeup identifier, the access point returns information to the site according to the indication information in the wakeup message (603);所述站点接收所述接入点根据所述指示信息返回的信息(604);Receiving, by the station, the information returned by the access point according to the indication information (604);所述站点根据所述返回的信息执行网络接入(605)。 The station performs network access based on the returned information (605).
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611256150.4 | 2016-12-29 | ||
CN201611256150 | 2016-12-29 | ||
CN201710030440.5A CN108260186B (en) | 2016-12-29 | 2017-01-16 | Network access method, device and system |
CN201710030440.5 | 2017-01-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018120900A1 true WO2018120900A1 (en) | 2018-07-05 |
Family
ID=62710289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/100229 WO2018120900A1 (en) | 2016-12-29 | 2017-09-01 | Network access method and device, and system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018120900A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113452568A (en) * | 2020-03-25 | 2021-09-28 | 上汽通用汽车有限公司 | Vehicle communication method, communication system, vehicle, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120178383A1 (en) * | 2009-06-26 | 2012-07-12 | Martin Dottling | Wake Up Procedure for a Base Station in a Communications Network |
CN102685860A (en) * | 2012-05-04 | 2012-09-19 | 华为终端有限公司 | Method and device for transmitting and receiving data |
CN104125628A (en) * | 2013-04-27 | 2014-10-29 | 华为技术有限公司 | Tiny cell sleep control method and network equipment |
CN105101343A (en) * | 2015-08-11 | 2015-11-25 | 北京邮电大学 | Energy saving method for enabling mobile terminal and wireless access point to be correlated and device |
-
2017
- 2017-09-01 WO PCT/CN2017/100229 patent/WO2018120900A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120178383A1 (en) * | 2009-06-26 | 2012-07-12 | Martin Dottling | Wake Up Procedure for a Base Station in a Communications Network |
CN102685860A (en) * | 2012-05-04 | 2012-09-19 | 华为终端有限公司 | Method and device for transmitting and receiving data |
CN104125628A (en) * | 2013-04-27 | 2014-10-29 | 华为技术有限公司 | Tiny cell sleep control method and network equipment |
CN105101343A (en) * | 2015-08-11 | 2015-11-25 | 北京邮电大学 | Energy saving method for enabling mobile terminal and wireless access point to be correlated and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113452568A (en) * | 2020-03-25 | 2021-09-28 | 上汽通用汽车有限公司 | Vehicle communication method, communication system, vehicle, and storage medium |
CN113452568B (en) * | 2020-03-25 | 2023-05-26 | 上汽通用汽车有限公司 | Vehicle communication method, communication system, vehicle, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220070918A1 (en) | Communication Method And Device | |
KR102211930B1 (en) | Data communication method and device | |
JP6120994B2 (en) | Station signal transmission / reception method and apparatus in wireless LAN system | |
US9344963B2 (en) | Method and apparatus for transmitting and receiving power save-polling frame and response frame in wireless LAN system | |
CN108260186B (en) | Network access method, device and system | |
CN108738109B (en) | Site awakening method and site | |
EP2962508B1 (en) | Methods and apparatuses for differentiated fast initial link setup | |
US11057826B2 (en) | Scanning enhancements for next generation Wi-Fi channels | |
US9848381B2 (en) | Channel access method and apparatus in wireless LAN system | |
EP2866513A2 (en) | Method and apparatus for gaining access in wireless lan system | |
CN108282849B (en) | Data sending method, data receiving method, data sending device, data receiving device, access point and station | |
US10015646B2 (en) | Group owner selection within a peer-to-peer network | |
CN104604319A (en) | Method and device for performing channel access in wlan system | |
EP3145237A1 (en) | Processing method for dynamic channel detection, station, and access point device | |
WO2018205799A1 (en) | Signal transmission method, communication device and storage medium | |
US11765706B2 (en) | Cooperative inter-network channel selection | |
RU2635868C2 (en) | Method and device to perform access in wireless lan system | |
US20160143072A1 (en) | Support for peer-to-peer discovery in 5 ghz band | |
WO2017173883A1 (en) | Method and device for ra-rnti configuration | |
CN106537955B (en) | Data transmission method and device | |
US10430734B2 (en) | Managing operation during absence in wireless network | |
EP2983304A1 (en) | Method and apparatus for receiving signal by station in wireless lan system | |
WO2018120900A1 (en) | Network access method and device, and system | |
CN105191475A (en) | Method and device for performing access in wireless LAN system | |
CN107852673B (en) | Access point discovery method and device |
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: 17888069 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: 17888069 Country of ref document: EP Kind code of ref document: A1 |