CN103379595B - In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data - Google Patents
In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data Download PDFInfo
- Publication number
- CN103379595B CN103379595B CN201210132619.9A CN201210132619A CN103379595B CN 103379595 B CN103379595 B CN 103379595B CN 201210132619 A CN201210132619 A CN 201210132619A CN 103379595 B CN103379595 B CN 103379595B
- Authority
- CN
- China
- Prior art keywords
- sta
- data
- beacon
- listeninterval
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种无线局域网中STA获取数据的方法,包括:如果所述AP有数据需要发送给所述STA,根据所述AP的通信能力和网络状况,在所述STA所接收的下一个信标中增加数据标识信息,所述数据标识信息用于指示所述STA从所述AP获取数据。相应地,本发明实施例还提供一种用户设备及通信系统,通过以上技术方案,AP可以根据其自身能力,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,从而减小了STA在省电模式下获取数据的能量消耗,更合理地利用了信道。
An embodiment of the present invention provides a method for a STA to obtain data in a wireless local area network, including: if the AP has data to send to the STA, according to the communication capability of the AP and the network condition, the STA receives the following data: Data identification information is added to a beacon, where the data identification information is used to instruct the STA to acquire data from the AP. Correspondingly, the embodiments of the present invention also provide a user equipment and a communication system. Through the above technical solution, the AP can selectively notify a specific STA to obtain data in a specific beacon according to its own capabilities, so as to coordinate multiple or The channel usage time of multiple groups of STAs enables STAs to obtain data from APs in a timely and orderly manner, thereby reducing the energy consumption of STAs in power-saving mode to obtain data and using channels more reasonably.
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及无线局域网中STA获取数据的方法、装置及系统。The present invention relates to the field of communication technology, in particular to a method, device and system for STAs to acquire data in a wireless local area network.
背景技术 Background technique
在WLAN(WirelessLocalAreaNetworks,无线局域网络)中,因为STA(Station,无线站点)通常为电池供电,能量受限,IEEE802.11定义的MAC(MediumAccessControl,媒体介入控制)层详细规范定义了省电模式,允许STA工作在“苏醒状态”或“睡眠状态”。AP(AccessPoint,接入点)按照BI(BeaconInterval,信标间隔)周期性广播Beacon(信标),工作在省电模式下的STA按照ListenInterval周期性接收信标,其中,信标是用于通知STA某些特定信息的一种管理帧,ListenInterval在标准中是一个大于等于零的整数,意义是STA周期性接收的相邻两个信标之间有ListenInterval个BeaconInterval。In WLAN (WirelessLocalAreaNetworks, wireless local area network), because STA (Station, wireless station) is usually powered by battery, energy is limited, the MAC (MediumAccessControl, media access control) layer detailed specification defined by IEEE802.11 defines the power saving mode, Allow STA to work in "awake state" or "sleep state". AP (AccessPoint, access point) periodically broadcasts Beacon (beacon) according to BI (BeaconInterval, beacon interval), and STA working in power saving mode periodically receives beacon according to ListenInterval, where the beacon is used to notify A management frame for some specific information of the STA. ListenInterval is an integer greater than or equal to zero in the standard, meaning that there are ListenInterval BeaconIntervals between two adjacent beacons received periodically by the STA.
在现有802.11标准中,STA和AP关联时会在关联请求中标识自己的ListenInterval值,STA按照ListenInterval有选择性的接收信标。当AP有要下发给STA的数据时,把该信息标识在TIM(TrafficIndicationMap,交通指示图)进行广播中,STA接收到包含有该信息的TIM后,按照标准规定获取数据,其中,TIM是AP用于通知STA该AP缓存有给该STA的数据的一种信息元素,一般包含在信标中。In the existing 802.11 standard, when an STA associates with an AP, it will identify its own ListenInterval value in the association request, and the STA selectively receives beacons according to the ListenInterval. When the AP has data to be sent to the STA, it marks the information in TIM (TrafficIndicationMap, traffic indication map) for broadcasting. After receiving the TIM containing the information, the STA obtains the data according to the standard regulations. Among them, the TIM is An information element used by the AP to notify the STA that the AP buffers data for the STA, and is generally included in the beacon.
在有大量STA的网络中,由于信道竞争激烈,虽然AP在STA周期性接收的信标中标识了有给STA的数据,但是该信标的BI中,AP要给过多的STA下发数据或竞争上传数据的STA过多,导致该STA未能在该BI中竞争到信道以获取数据,则该STA会一直处于活跃甚至竞争信道状态多于一个BI的时间,导致STA消耗较多能量,同时,对于ListenInterval很大的STA,以上方案可能导致AP不能及时把数据发送给STA。In a network with a large number of STAs, due to fierce channel competition, although the AP indicates that there is data for the STA in the beacon received periodically by the STA, in the BI of the beacon, the AP will send data to too many STAs or There are too many STAs competing to upload data, resulting in the STA failing to compete for the channel in the BI to obtain data, the STA will always be active or even compete for the channel state for more than one BI, causing the STA to consume more energy. , for a STA with a large ListenInterval, the above solution may cause the AP to fail to send data to the STA in time.
发明内容 Contents of the invention
本发明实施例提供一种无线局域网中STA获取数据的方法、用户设备及通信系统,以使无线局域网中工作在省电模式下的STA,能够用更及时、更省电的方式获得数据。Embodiments of the present invention provide a method for obtaining data by STAs in a wireless local area network, user equipment and a communication system, so that STAs working in a power saving mode in a wireless local area network can obtain data in a more timely and power-saving manner.
本发明实施例提供一种无线局域网中站点STA获取数据的方法,用于STA从其接入的接入点AP中获取数据,包括:An embodiment of the present invention provides a method for obtaining data by a station STA in a wireless local area network, which is used for the STA to obtain data from its access point AP, including:
AP周期性地向所述STA发送信标,且发送的两个相邻的信标之间的时间间隔为信标间隔BI,所述信标是所述AP用于通知所述STA特定信息的一种管理帧;The AP periodically sends a beacon to the STA, and the time interval between two adjacent beacons sent is the beacon interval BI, and the beacon is used by the AP to notify the STA of specific information. a management frame;
如果所述AP有数据需要发送给所述STA,根据所述AP的通信能力和网络状况,在所述STA所接收的下一个信标中增加数据标识信息,所述数据标识信息用于指示所述STA从所述AP获取数据。If the AP has data to send to the STA, according to the AP’s communication capabilities and network conditions, add data identification information to the next beacon received by the STA, the data identification information is used to indicate the The STA acquires data from the AP.
本发明实施例还提供一种用户设备,应用在无线局域网中,其特征在于,包括:存储器、处理单元和天线,所述存储器和天线通过总线系统与所述处理单元连接,其中,An embodiment of the present invention also provides a user equipment, which is applied in a wireless local area network, and is characterized in that it includes: a memory, a processing unit, and an antenna, and the memory and the antenna are connected to the processing unit through a bus system, wherein,
所述天线,周期性地向接入所述用户设备的站点STA发送信标,且发送的两个相邻的信标之间的时间间隔为信标间隔BI,所述信标是所述用户设备用于通知所述STA特定信息的一种管理帧;The antenna periodically sends a beacon to the station STA accessing the user equipment, and the time interval between two adjacent beacons sent is a beacon interval BI, and the beacon is the user equipment A management frame used by the device to notify the STA of specific information;
所述存储器,用于缓存将被发往所述STA的数据;The memory is used for buffering data to be sent to the STA;
所述处理单元,用于在所述用户设备有数据需要发送给所述STA时,根据所述用户设备的通信能力和网络状况,在所述STA所接收的下一个信标中增加数据标识信息,所述数据标识信息用于指示所述STA从所述用户设备获取数据。The processing unit is configured to add data identification information to the next beacon received by the STA according to the communication capability and network conditions of the user equipment when the user equipment needs to send data to the STA , the data identification information is used to instruct the STA to acquire data from the user equipment.
本发明实施例还提供一种通信系统,包括:上述的用户设备,以及至少一个站点STA,所述至少一个STA与所述用户设备通信连接。An embodiment of the present invention further provides a communication system, including: the user equipment described above, and at least one station STA, where the at least one STA communicates with the user equipment.
本发明实施例通过以上技术方案,当AP有数据要下发给STA时,AP根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the AP has data to send to the STA, the AP selectively notifies the specific STA to obtain the data in a specific beacon according to its own communication capability and network conditions, so as to coordinate multiple Or the channel usage time of multiple groups of STAs, so that STAs can obtain data from the AP in a timely and orderly manner, so that STAs do not need to be in an active state for a long time to compete for channels to obtain data, thereby reducing the STA’s power-saving mode. The energy consumption of acquiring data also makes more reasonable and effective use of channels.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本发明实施例提供的网络系统的网络拓扑图;FIG. 1 is a network topology diagram of a network system provided by an embodiment of the present invention;
图2为本发明实施例提供的无线局域网中STA获取数据的方法流程图;FIG. 2 is a flowchart of a method for obtaining data by a STA in a wireless local area network provided by an embodiment of the present invention;
图3为本发明另一实施例提供的无线局域网中STA获取数据的方法流程图;FIG. 3 is a flowchart of a method for obtaining data by a STA in a wireless local area network according to another embodiment of the present invention;
图4为本发明实施例提供的AP与STA关联的过程示意图;FIG. 4 is a schematic diagram of the process of associating an AP with a STA according to an embodiment of the present invention;
图5为本发明实施例提供的AP与STA重关联的过程示意图;FIG. 5 is a schematic diagram of the process of reassociation between an AP and an STA provided by an embodiment of the present invention;
图6为本发明实施例提供的信标中的第二标识信息示例图;FIG. 6 is an example diagram of second identification information in a beacon provided by an embodiment of the present invention;
图7为本发明实施例提供的无线局域网中STA获取数据的方法示意图;FIG. 7 is a schematic diagram of a method for obtaining data by a STA in a wireless local area network according to an embodiment of the present invention;
图8为本发明实施例提供的另一种无线局域网中STA获取数据的方法流程图;FIG. 8 is a flowchart of another method for obtaining data by a STA in a wireless local area network according to an embodiment of the present invention;
图9为本发明实施例提供的另一种无线局域网中STA获取数据的方法示意图;FIG. 9 is a schematic diagram of another method for obtaining data by a STA in a wireless local area network according to an embodiment of the present invention;
图10为本发明另一实施例提供的信标中的第二标识信息示意图;FIG. 10 is a schematic diagram of second identification information in a beacon provided by another embodiment of the present invention;
图11为本发明实施例提供的用户设备的结构图;FIG. 11 is a structural diagram of a user equipment provided by an embodiment of the present invention;
图12为本发明实施例提供的通信系统示意图。Fig. 12 is a schematic diagram of a communication system provided by an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例一,本发明实施例一提供一种无线局域网中STA获取数据的方法,用于无线局域网中的STA从其接入的AP中获取数据。图1所示为应用本发明技术方案的典型网络拓扑结构图,根据图1,无线局域网100包括:接入点(AP,AccessPoint)120,以及通过接入点120接入网络的站点(STA,Station)110-115,关联到同一个AP120下的STA110-115构成一个基本服务集(BSS);无线局域网100通过网关130接入骨干网140,进而连接到网络中的服务器。Embodiment 1. Embodiment 1 of the present invention provides a method for a STA in a wireless local area network to obtain data, which is used for the STA in the wireless local area network to obtain data from an AP it accesses. Fig. 1 shows the typical network topological structure figure of application technical scheme of the present invention, according to Fig. 1, wireless local area network 100 comprises: access point (AP, AccessPoint) 120, and the station (STA, AccessPoint) by access point 120 access network Station) 110-115, which are associated with STAs 110-115 under the same AP 120 to form a basic service set (BSS); the wireless local area network 100 accesses the backbone network 140 through the gateway 130, and then connects to the server in the network.
需要说明的是,本发明实施例中的STA是指无线局域网中的基本逻辑实体,STA具体可以为包含无线局域网接口的终端设备,如目前市场上许多手机、平板电脑等都支持无线局域网接口,便携机也已内置无线局域网接口。对于一些本身不具备无线局域网接口的设备,可以通过安装WLAN无线网卡的方式来为其提供无线局域网接口。It should be noted that the STA in the embodiment of the present invention refers to the basic logical entity in the wireless local area network. Specifically, the STA may be a terminal device including a wireless local area network interface. For example, many mobile phones and tablet computers on the market currently support the wireless local area network interface. The laptop also has a built-in wireless LAN interface. For some devices that do not have a wireless local area network interface, you can provide a wireless local area network interface by installing a WLAN wireless network card.
图2所示为本发明实施例提供的无线局域网中STA获取数据的方法流程图,根据图2,该方法包括:FIG. 2 is a flowchart of a method for obtaining data by a STA in a wireless local area network provided by an embodiment of the present invention. According to FIG. 2, the method includes:
步骤201,AP周期性地向所述STA发送信标,且发送的两个相邻的信标之间的时间间隔为信标间隔BI;Step 201, the AP periodically sends a beacon to the STA, and the time interval between two adjacent beacons sent is the beacon interval BI;
需要说明的是,IEEE802.11协议在MAC层定义了能量管理(powermanagement)的机制,提出利用结点在活跃模式(activemode)和节能模式(powersavemode,PSM)之间的状态转换来整体减少能量的消耗,从而延长电池的使用时间。按照IEEE802.11协议的描述,在时间驱动的节能机制中,将时间轴分为连续的BI(BeaconInterval,信标间隔),AP(AccessPoint,接入点)按照BI周期性广播Beacon(信标),工作在省电模式下的STA按照ListenInterval周期性接收信标,其中,信标是用于通知STA某些特定信息的一种管理帧。It should be noted that the IEEE802.11 protocol defines a power management (power management) mechanism at the MAC layer, and proposes to use the state transition of the node between the active mode (active mode) and the power saving mode (power save mode, PSM) to reduce the overall energy. Consumption, thereby prolonging the battery life. According to the description of the IEEE802.11 protocol, in the time-driven energy-saving mechanism, the time axis is divided into continuous BI (BeaconInterval, beacon interval), and AP (AccessPoint, access point) periodically broadcasts Beacon (beacon) according to BI , the STA working in the power saving mode periodically receives the beacon according to the ListenInterval, wherein the beacon is a management frame used to notify the STA of some specific information.
步骤202,如果所述AP有数据需要发送给所述STA,根据所述AP的通信能力和网络状况,在所述STA所接收的下一个信标中增加数据标识信息,所述数据标识信息用于指示所述STA从所述AP获取数据。Step 202, if the AP has data to send to the STA, according to the AP's communication capabilities and network conditions, add data identification information to the next beacon received by the STA, and the data identification information uses to instruct the STA to acquire data from the AP.
具体地,在一个实施例中,AP可根据自身的通信能力,以及当前网络的状况,将自身缓存的STA的数据均匀安排在一个或多个BI里下发给对应的STA。需要说明的是,AP的通信能力包括但不限于:AP的存储空间大小、当前存储的数据量、AP发送数据的速率等。在一个实施例中,假设所述STA所接收的下一个信标为信标a,AP可通过对信标a中的TIM进行标识,或在信标a中加入相应的标识信息(比如用STAID进行标识),并进行广播,以通知所述STA,在信标a的BI或者信标a之后的其它信标的BI中,从AP获取数据;其中,TIM是包含在信标中的一种数据结构(信息元素),用于通知STA该AP缓存有给该STA的数据。STA接收到包含有数据标识信息的信标后,按照标准规定获取数据。在一个实施例中,STA通过发送PSPoll帧的方式取得相应数据,其中PSPoll帧为802.11协议中规定的一种控制帧,用于处于省电模式的STA请求AP发送为该STA缓存的数据帧;在另一个实施例中,AP也可以在信标a的BI中主动将相应数据发给STA。Specifically, in one embodiment, the AP can evenly arrange the STA data cached by itself in one or more BIs and send them to corresponding STAs according to its own communication capabilities and current network conditions. It should be noted that the communication capability of the AP includes, but is not limited to: the size of the storage space of the AP, the amount of data currently stored, the rate at which the AP sends data, and the like. In one embodiment, assuming that the next beacon received by the STA is beacon a, the AP can identify the TIM in beacon a, or add corresponding identification information to beacon a (for example, use STAID identify), and broadcast to inform the STA that in the BI of beacon a or the BI of other beacons after beacon a, obtain data from AP; wherein, TIM is a kind of data contained in the beacon Structure (information element), used to notify the STA that the AP caches data for the STA. After receiving the beacon containing the data identification information, the STA obtains the data according to the standard. In one embodiment, the STA obtains corresponding data by sending a PSPoll frame, wherein the PSPoll frame is a control frame specified in the 802.11 protocol, and is used for the STA in the power saving mode to request the AP to send the data frame buffered for the STA; In another embodiment, the AP may also proactively send corresponding data to the STA in the BI of the beacon a.
本发明实施例通过以上技术方案,当AP有数据要下发给STA时,AP根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the AP has data to send to the STA, the AP selectively notifies the specific STA to obtain the data in a specific beacon according to its own communication capability and network conditions, so as to coordinate multiple Or the channel usage time of multiple groups of STAs, so that STAs can obtain data from the AP in a timely and orderly manner, so that STAs do not need to be in an active state for a long time to compete for channels to obtain data, thereby reducing the STA’s power-saving mode. The energy consumption of acquiring data also makes more reasonable and effective use of channels.
进一步地,在本发明实施例提供的一个更具体的实施中,如图3所示,本发明实施例提供的无线局域网中STA获取数据的方法包括:Further, in a more specific implementation provided by the embodiment of the present invention, as shown in FIG. 3 , the method for obtaining data by the STA in the wireless local area network provided by the embodiment of the present invention includes:
步骤301,AP周期性地向与之通信连接的STA发送信标,且发送的两个相邻的信标之间的时间间隔为信标间隔BI,所述信标是所述AP用于通知所述各个STA特定信息的一种管理帧;In step 301, the AP periodically sends a beacon to the STA communicating with it, and the time interval between two adjacent beacons sent is the beacon interval BI, and the beacon is used by the AP to notify A management frame of the specific information of each STA;
步骤302,当AP有数据需要下发给处于睡眠状态的STA时,确定所述STA从睡眠状态醒来后接收的下一个信标a;Step 302, when the AP has data to be sent to the STA in the sleep state, determine the next beacon a received by the STA after waking up from the sleep state;
具体地,AP可以根据所述STA的ListenInterval值来确定所述STA接收的下一个信标a;其中,所述ListenInterval值代表所述STA周期性接收的相邻两个信标之间的信标间隔BeaconInterval的个数;Specifically, the AP may determine the next beacon a received by the STA according to the ListenInterval value of the STA; wherein the ListenInterval value represents the beacon between two adjacent beacons periodically received by the STA. The number of interval BeaconInterval;
需要说明的是,根据上述对STA省电模式的描述可知,STA只在特定时刻唤醒一段时间来监听Beacon或交互信息,其余时间均处于睡眠状态,在现有IEEE802.11协议中,STA一次睡眠的时间,是根据其ListenInterval值来确定的,ListenInterval在IEEE802.11协议中是一个大于等于零的整数,意义是STA周期性接收的相邻两个信标之间的信标间隔BeaconInterval的个数,即STA周期性接收的相邻两个信标之间有ListenInterval个BI;比如,某一STA的ListenInterval为10,就表示,该STA在接收一个信标之后,睡眠10个BI后醒来,再接搜下一个信标,也就是说,该STA睡眠一次的时间为10个BI的时间长度;这样,只要知道了STA的ListenInterval值,就可以确定该STA接收的下一个信标a。It should be noted that, according to the above description of STA power-saving mode, STA only wakes up at a certain time for a period of time to monitor Beacon or interactive information, and stays in sleep state for the rest of the time. In the existing IEEE802.11 protocol, STA sleeps once The time is determined according to its ListenInterval value. In the IEEE802.11 protocol, ListenInterval is an integer greater than or equal to zero, which means the number of BeaconIntervals between two adjacent beacons periodically received by the STA. That is, there are ListenInterval BIs between two adjacent beacons received periodically by the STA; for example, if the ListenInterval of a certain STA is 10, it means that the STA wakes up after receiving a beacon after sleeping for 10 BIs, and then Receive the next beacon, that is, the STA sleeps once for 10 BIs; in this way, as long as the ListenInterval value of the STA is known, the next beacon a received by the STA can be determined.
在一个实施例中,STA的ListenInterval值可以是由使用该STA的用户来静态配置的,在802.11ah的应用场景中,一般都包含有6000+个工作在省电模式下的STA,因此ListenInterval的设置应越大越好;在另一个实施例中,STA也可以根据预先设定的条件来调整ListenInterval值,这里所说的预先设定的条件,可以为STA当前的电池的电量,例如,若STA当前的电量较低,可以适当增大ListenInterval值;预先设定的条件还可以为当前的网络状况或者网络参数。In one embodiment, the ListenInterval value of an STA can be statically configured by the user using the STA. In an 802.11ah application scenario, there are generally 6000+ STAs working in power-saving mode. Therefore, the value of ListenInterval The setting should be as large as possible; in another embodiment, the STA can also adjust the ListenInterval value according to preset conditions. The preset conditions mentioned here can be the current battery power of the STA. For example, if the STA The current power is low, and the value of ListenInterval can be appropriately increased; the preset condition can also be the current network status or network parameters.
可选地,在另一个实施例中,在步骤302之前,还包含:Optionally, in another embodiment, before step 302, it also includes:
步骤301a,STA在和AP进行关联时,在关联请求中标识自己的ListenInterval值,以使AP保存其ListenInterval值。Step 301a, when the STA associates with the AP, it identifies its own ListenInterval value in the association request, so that the AP saves its ListenInterval value.
通过这一步骤,STA在与AP关联的过程中,将自身预先配置的ListenInterval值上报给AP存储,这样AP在发送数据的时候,就可以利用该ListenInterval值来确定该STA接收的下一个信标a。Through this step, the STA reports its pre-configured ListenInterval value to the AP for storage during the process of associating with the AP, so that the AP can use the ListenInterval value to determine the next beacon received by the STA when sending data. a.
可选地,在另一个实施例中,AP还可以为STA重新分配ListenInterval值,具体地,在步骤302之前,还包括:Optionally, in another embodiment, the AP may also reassign the ListenInterval value to the STA. Specifically, before step 302, it also includes:
步骤301b,AP在与STA的关联过程中分配给该STA一个ListenInterval值,以使该STA用该ListenInterval值替代自己原有的ListenInterval值。In step 301b, the AP assigns a ListenInterval value to the STA during the association process with the STA, so that the STA uses the ListenInterval value to replace its original ListenInterval value.
具体地,步骤301b的具体实现过程如图4所示,AP在STA与其关联的过程中,接收STA发送的关联请求AssociationRequest,然后把分配给STA的ListenInterval值放在与关联请求对应的AssociationResponseframe中通知STA,STA收到后,即用该ListenInterval值替代自己原有的ListenInterval值。Specifically, the specific implementation process of step 301b is shown in Figure 4. During the association process between the STA and the AP, it receives the association request AssociationRequest sent by the STA, and then notifies the STA of the ListenInterval value assigned to the STA in the AssociationResponseframe corresponding to the association request. STA, after receiving the STA, it replaces its original ListenInterval value with the ListenInterval value.
进一步地,如图5所示,AP在STA与其重关联的过程中,若有需要,也可把更新的ListenInterval值放在ReassociationResponseframe中通知STA。STA收到后,即用该ListenInterval值替代自己原有的ListenInterval值。Further, as shown in FIG. 5 , during the process of reassociation between the STA and the AP, if necessary, the AP may also put the updated ListenInterval value in the ReassociationResponseframe to notify the STA. After the STA receives it, it replaces its original ListenInterval value with the ListenInterval value.
步骤303,AP根据其缓存数据量、数据发送速率、BI长度,决定是否在信标a中通知所述STA所述AP中有其数据。Step 303 , the AP decides whether to notify the STA in beacon a that the AP has its data according to its cached data volume, data transmission rate, and BI length.
在一个实施例中,AP可将自身缓存的STA的数据均匀安排在一个或多个BI里下发给对应的STA。具体地,当AP有数据需要发送给某一STA时,AP根据自身当前缓存的数据量大小、数据发送速率以及BI的长度,来判断当前缓存的数据能否在一个BI中全部发送,若当前缓存的数据能在一个BI中全部发送,则决定在该STA从睡眠状态醒来后接收的下一个信标a中通知该STA所述AP中有其数据;若当前缓存的数据不能在一个BI中全部发送完毕,则决定不在信标a中通知该STA所述AP中有其数据。In one embodiment, the AP can evenly arrange the data of the STAs cached by the AP in one or more BIs and send them to the corresponding STAs. Specifically, when the AP has data to send to a certain STA, the AP judges whether the currently cached data can be sent in one BI according to the size of the data it currently caches, the data transmission rate, and the length of the BI. If the cached data can be sent in one BI, it is decided to notify the STA that the AP has its data in the next beacon a received after the STA wakes up from the sleep state; if the current cached data cannot be sent in a BI After all the data in the AP have been sent, it is decided not to notify the STA in beacon a that there is its data in the AP.
为便于更好的理解和实施本发明实施例的上述方案,下面进一步通过举例的方式,阐述本发明实施例的步骤303处理流程。假设AP当前从服务器或者第三方收到了准备发往某一STA(假设为A)的数据,大小为100kb,则将该数据缓存,并统计自身当前已经缓存的数据量的大小(假设为5M),然后根据数据发送速率(假设2M/s),以及BI的长度(假设为2s),通过计算可以判断出,当前缓存的数据不能在一个BI中全部发送完毕,由此AP可以决定不在该STA从睡眠状态醒来后接收的下一个信标a中通知该STA所述AP中有其数据,这样,A在从当前的睡眠状态被唤醒后,由于接收到的信标a中没有其信息标识,故可立即转入睡眠或省电状态,直到接收到通知其接收数据的下一个信标为止,这样,通过基于缓存数据量的合理预测,可以合理地分配信道,避免出现AP同时要给过多的STA下发数据或竞争上传数据的STA过多,导致STA未能在一个BI中竞争到信道以获取数据,从而会一直处于活跃甚至竞争信道状态多于一个BI的时间,导致STA消耗较多能量。In order to facilitate a better understanding and implementation of the above solution of the embodiment of the present invention, the processing flow of step 303 of the embodiment of the present invention is further described below by way of examples. Assuming that the AP currently receives data from the server or a third party to be sent to a certain STA (assumed to be A), and the size is 100kb, it will cache the data and count the size of the data it has currently cached (assumed to be 5M) , and then according to the data transmission rate (assumed to be 2M/s), and the length of BI (assumed to be 2s), it can be judged through calculation that the current cached data cannot be sent in one BI, so the AP can decide not to be in the STA The next beacon a received after waking up from the sleep state informs the STA that there is its data in the AP. In this way, after A wakes up from the current sleep state, since the received beacon a does not have its information identification , so it can immediately go to sleep or power-saving state until it receives the next beacon notifying it to receive data. In this way, through reasonable prediction based on the amount of buffered data, channels can be allocated reasonably, avoiding the occurrence of APs giving overtime at the same time. Many STAs send data or there are too many STAs competing to upload data, resulting in STAs failing to compete for a channel in a BI to obtain data, and thus being active or even competing for a channel for more than one BI, causing STAs to consume more much energy.
需要说明的是,本发明实施例将AP缓存数据量、数据发送速率以及BI长度作为决定是否在信标a中通知所述STA所述AP中有其数据时考虑的因素,可以理解的是AP缓存数据量、数据发送速率以及BI长度着三者本身并不构成对本发明方案的限制,可以理解的是,在其它实施方式中,还可以将其他相关参数,比如信道质量、接入所述AP的STA的个数等作为决定是否在信标a中通知所述STA所述AP中有其数据时的考虑因素,此处就不再赘述。It should be noted that, in this embodiment of the present invention, the amount of data buffered by the AP, the data transmission rate, and the length of the BI are used as factors considered when deciding whether to notify the STA in the beacon a that the AP has its data. It can be understood that the AP The amount of buffered data, the data transmission rate and the length of BI do not constitute a limitation on the solution of the present invention. It can be understood that in other implementation modes, other related parameters, such as channel quality and access to the AP, can also be used. The number of STAs in the AP is used as a consideration factor when deciding whether to notify the STA in the beacon a that the AP has its data, which will not be repeated here.
步骤304,若是,则AP在信标a中增加第一标识信息,以使该STA在接收到信标a后,在信标a的BI中,从所述AP获取数据;Step 304, if yes, the AP adds first identification information to the beacon a, so that the STA obtains data from the AP in the BI of the beacon a after receiving the beacon a;
具体地,在一个实施例中,AP可通过对信标a中的TIM进行标识,作为添加的第一标识信息,或在信标a中加入STA的特定信息(比如用STAID进行标识),作为第一标识信息,并进行广播,以通知所述STA,在信标a的BI中,从AP获取数据。Specifically, in an embodiment, the AP may identify the TIM in beacon a as the added first identification information, or add STA-specific information (for example, use STAID for identification) in beacon a as the added first identification information. The first identification information is broadcasted to notify the STA that in the BI of beacon a, data is obtained from the AP.
在一个实施例中,STA通过发送PSPoll帧的方式取得相应数据,其中PSPoll帧为802.11协议中规定的一种控制帧,用于处于省电模式的STA请求AP发送为该STA缓存的数据帧;在另一个实施例中,AP也可以在信标a的BI中主动将相应数据发给STA。In one embodiment, the STA obtains corresponding data by sending a PSPoll frame, wherein the PSPoll frame is a control frame specified in the 802.11 protocol, and is used for the STA in the power saving mode to request the AP to send the data frame buffered for the STA; In another embodiment, the AP may also proactively send corresponding data to the STA in the BI of the beacon a.
进一步地,本发明实施例提供的无线局域网中STA获取数据的方法,还包括:Further, the method for obtaining data by a STA in a wireless local area network provided by an embodiment of the present invention further includes:
步骤305,若否,AP选择信标a之后的另一个信标(下文以信标b指代该信标),并在信标a中增加第二标识信息,以通知该STA其在信标b的BI中接收数据;Step 305, if not, AP selects another beacon after beacon a (hereinafter referred to as beacon b), and adds second identification information to beacon a to notify the STA that it is in the beacon Receive data in BI of b;
具体地,在一个实施例中,AP选择的信标b可以是信标a后的任一信标。Specifically, in an embodiment, the beacon b selected by the AP may be any beacon after the beacon a.
需要说明的是,在发明的一个最优实施例中,AP可以根据其缓存数据量、数据发送速率、BI长度,选择信标a后的第N个信标,作为信标b,且1<=N<ListenInterval;即信标b是在信标a和距信标aListenInterval值后的信标之间的信标,即信标b在STA按照ListenInterval值周期性醒来并接收的相邻的两个信标之间。具体地,AP可以根据其缓存数据量、数据发送速率、BI长度估算出发往该STA的数据,能在信标a的BI之后的哪一个信标BI被一次性发送出去,从而确定出信标b。当AP选择好信标b后,在信标a中加入第二标识信息,用于通知STA让其在信标b的BI中接收或取得数据,当STA醒来并接收信标a时,即可获得该信息。具体地,在一个实施例中,如图6为信标a中的第二标识信息示例,信标a可把该第二标识信息作为一种信息元素(InformationElement)携带在信标帧中,以提示STA在信标b的BI中接收或取得数据,根据图6,第二标识信息中包含有STA的标识以及数字N,以通知信标a中的STA标识对应的STA在信标a后第N个BI来接收或取得数据;STAID可以是AID等可唯一标识STA。It should be noted that, in an optimal embodiment of the invention, the AP can select the Nth beacon after beacon a as beacon b according to its cached data volume, data transmission rate, and BI length, and 1< =N<ListenInterval; Beacon b is the beacon between Beacon a and the Beacon that is behind the value of ListenInterval from Beacon a, that is, Beacon b wakes up and receives the two adjacent beacons periodically according to the ListenInterval value of the STA. between beacons. Specifically, the AP can estimate the data sent to the STA according to its cached data volume, data transmission rate, and BI length, and which beacon BI after the BI of beacon a can be sent at one time, so as to determine the beacon b. After the AP selects the beacon b, it adds the second identification information to the beacon a, which is used to notify the STA to receive or obtain data in the BI of the beacon b. When the STA wakes up and receives the beacon a, that is This information is available. Specifically, in one embodiment, FIG. 6 is an example of the second identification information in beacon a, and beacon a may carry the second identification information as an information element (InformationElement) in the beacon frame, so as to Prompt the STA to receive or obtain data in the BI of the beacon b. According to FIG. 6, the second identification information contains the identification of the STA and the number N, so as to notify the corresponding STA of the STA identification in the beacon a that the corresponding STA is the first after the beacon a. N BIs are used to receive or obtain data; STAID can be AID, which can uniquely identify STA.
STA接收信标a并获得该信息后,可立即转入睡眠或省电状态。然后STA可通过以下两种方式获取相应数据,具体地,根据图7:After the STA receives the beacon a and obtains the information, it can immediately enter the sleep or power saving state. Then the STA can obtain the corresponding data in the following two ways, specifically, according to Figure 7:
第一种方式:如图7中(a)所示,STA可保持睡眠或省电状态直到信标b的广播时间再醒来并接收信标b,在信标b的BI中通过发送PS-Poll帧的方式取得相应数据,或如图7(b)所示,AP在该BI中主动将相应数据发给STA。其中信标b中包含标识着有下发给STA数据的TIM。The first method: as shown in (a) in Figure 7, the STA can stay in sleep or power-saving state until the broadcast time of beacon b and then wake up and receive beacon b. In the BI of beacon b, by sending PS- Poll frames are used to obtain the corresponding data, or as shown in Figure 7(b), the AP actively sends the corresponding data to the STA in the BI. Wherein, the beacon b includes a TIM that indicates that there is data delivered to the STA.
第二种方式:如图7(c)所示,STA可保持睡眠或省电状态直到信标b广播完成后醒来,直接在信标b的BI中通过发送PS-Poll帧的方式取得相应数据,或AP在该BI中主动将相应数据发给STA。The second method: as shown in Figure 7(c), the STA can stay in the sleep or power-saving state until it wakes up after the beacon b broadcast is completed, and directly obtains the corresponding PS-Poll frame in the BI of the beacon b. data, or the AP actively sends the corresponding data to the STA in the BI.
STA获得相应数据后,可立即转入睡眠或省电状态,直到距信标aListenInterval值后的信标再醒来并接收该信标,即STA按ListenInterval值周期性醒来并接收信标。After the STA obtains the corresponding data, it can immediately enter the sleep or power saving state until the beacon aListenInterval value away from the beacon wakes up and receives the beacon again, that is, the STA wakes up periodically according to the ListenInterval value and receives the beacon.
需要说明的是,在本发明实施例中,在信标b中可不再加入任何数据标识信息,以通知所述STA在信标b的BI中获取数据,当然可以理解的是,也可以同信标a一样,再次在信标b中加入第一标识信息。It should be noted that, in this embodiment of the present invention, no data identification information may be added to the beacon b to notify the STA to acquire data in the BI of the beacon b. Like the beacon a, the first identification information is added to the beacon b again.
本发明实施例通过以上技术方案,当AP有数据要下发给STA时,AP根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the AP has data to send to the STA, the AP selectively notifies the specific STA to obtain the data in a specific beacon according to its own communication capability and network conditions, so as to coordinate multiple Or the channel usage time of multiple groups of STAs, so that STAs can obtain data from the AP in a timely and orderly manner, so that STAs do not need to be in an active state for a long time to compete for channels to obtain data, thereby reducing the STA’s power-saving mode. The energy consumption of acquiring data also makes more reasonable and effective use of channels.
本发明实施例还提供另一种无线局域网中STA获取数据的方法,用于STA从其接入的AP中获取数据,该方法同样可以运用在图1所示的网络系统中。The embodiment of the present invention also provides another method for obtaining data by a STA in a wireless local area network, which is used for the STA to obtain data from an AP it accesses. This method can also be applied in the network system shown in FIG. 1 .
当无线局域网中存在的STA数量比较庞大时,本发明实施例提供的方法,可以先把与AP关联的全部或部分STA按照一定规则进行分组。一组STA(Group)有相同的ListenInterval值。基于这一前提,如图8所示,本发明实施例提供的方法还包括:When the number of STAs in the wireless local area network is relatively large, the method provided by the embodiment of the present invention may first group all or part of the STAs associated with the AP according to certain rules. A group of STAs (Group) have the same ListenInterval value. Based on this premise, as shown in Figure 8, the method provided by the embodiment of the present invention further includes:
步骤801,AP周期性地向与之通信连接的各个Group中的各个STA发送信标,且发送的两个相邻的信标之间的时间间隔为信标间隔BI,所述信标是所述AP用于通知所述各个STA特定信息的一种管理帧;In step 801, the AP periodically sends a beacon to each STA in each Group communicated with it, and the time interval between two adjacent beacons sent is the beacon interval BI, and the beacon is the A management frame used by the AP to notify each STA of specific information;
步骤802,当AP有数据要下发给Group时,确定该Group醒来并接收的最近的下一个信标(下文以信标a指代该信标)。Step 802, when the AP has data to be delivered to the Group, determine the latest next beacon that the Group wakes up and receives (hereinafter referred to as the beacon by beacon a).
具体地,AP可以根据所述STA的ListenInterval值来确定所述STA接收的下一个信标a;其中,所述ListenInterval值代表所述STA周期性接收的相邻两个信标之间的信标间隔BeaconInterval的个数。Specifically, the AP may determine the next beacon a received by the STA according to the ListenInterval value of the STA; wherein the ListenInterval value represents the beacon between two adjacent beacons periodically received by the STA. The number of BeaconInterval intervals.
步骤803,AP根据其缓存数据量、数据发送速率以及BI长度,决定是否在信标a中通知该Group来获取相应数据(所述相应数据为AP向STA的单播数据)。In step 803, the AP decides whether to notify the Group in beacon a to obtain the corresponding data (the corresponding data is unicast data from the AP to the STA) according to its cached data volume, data transmission rate and BI length.
在一个实施例中,AP可将自身缓存的各个Group的数据均匀安排在一个或多个BI里下发给对应的Group。具体地,当AP有数据需要发送给某一Group时,AP根据自身当前缓存的数据量大小、数据发送速率以及BI的长度,来判断当前缓存的数据能否在一个BI中全部发送,若当前缓存的数据能在一个BI中全部发送,则决定在该Group从睡眠状态醒来后接收的下一个信标a中通知该Group所述AP中有其数据;若当前缓存的数据不能在一个BI中全部发送完毕,则决定不在信标a中通知该Group所述AP中有其数据。In one embodiment, the AP can evenly arrange the data of each group cached by the AP in one or more BIs and send them to the corresponding groups. Specifically, when the AP has data to send to a certain group, the AP judges whether the currently cached data can be sent in one BI according to the amount of data it currently caches, the data transmission rate, and the length of the BI. If all the cached data can be sent in one BI, it is decided to notify the Group that there is data in the AP in the next beacon a received after the Group wakes up from sleep; if the current cached data cannot be sent in one BI After all the data in the group are sent, it is decided not to notify the Group in beacon a that the AP has its data.
步骤804,若是,AP在信标a中通知该Group有相应数据,以使该Group中的STA在醒来并接收到信标a后,在信标a的BI中通过发送PS-Poll帧的方式取得相应数据,或AP在信标a的BI中主动将相应数据发给该Group中的STA。Step 804, if yes, the AP notifies the Group that there is corresponding data in the beacon a, so that the STAs in the Group wake up and receive the beacon a, and send PS-Poll frames in the BI of the beacon a Obtain the corresponding data by means, or the AP actively sends the corresponding data to the STAs in the Group in the BI of beacon a.
需要说明的是,AP可通过对信标a中的TIM进行标识,或在信标a中用GroupID进行标识,来通知Group有相应数据。It should be noted that the AP can notify the Group that there is corresponding data by identifying the TIM in the beacon a, or identifying it with the GroupID in the beacon a.
进一步的,本发明实施例提供的方法,还包括:Further, the method provided by the embodiment of the present invention also includes:
步骤805,若否,AP选择信标a之后的另一个信标(下文以信标b指代该信标),并在信标a中通知该Group让其在信标b的BI中接收数据。Step 805, if not, AP selects another beacon after beacon a (hereinafter referred to as beacon b), and notifies the Group in beacon a to receive data in the BI of beacon b .
在一个实施例中,AP选择的信标b可以是信标a后的任一信标。In an embodiment, the beacon b selected by the AP may be any beacon after the beacon a.
在发明的一个最优实施例中,AP可以根据其缓存数据量、数据发送速率、BI长度,选择信标a后的第N个信标,作为信标b,且1<=N<ListenInterval;即信标b须是在信标a和距信标aListenInterval值后的信标之间的信标,即信标b在该Group按照ListenInterval值周期性醒来并接收的相邻的两个信标之间。当AP选择好信标b后,在信标a中通知该Group让其在信标b的BI中接收或取得数据,信标a可把该信息作为一种信息元素(InformationElement)携带在信标帧中,当STA醒来并接收信标a时,即可获得该信息。In an optimal embodiment of the invention, the AP can select the Nth beacon after beacon a as beacon b according to its cached data volume, data transmission rate, and BI length, and 1<=N<ListenInterval; That is, beacon b must be a beacon between beacon a and the beacon after the ListenInterval value of beacon a, that is, beacon b wakes up periodically and receives two adjacent beacons in the Group according to the ListenInterval value between. After the AP selects the beacon b, it notifies the group in the beacon a to receive or obtain data in the BI of the beacon b, and the beacon a can carry the information as an information element (InformationElement) in the beacon In the frame, when the STA wakes up and receives the beacon a, it can obtain this information.
STA接收信标a并获得该信息后,可立即转入睡眠或省电状态。然后STA可通过以下两种方式获取相应数据,具体地,根据图9,假设STA1、STA2构成一个Group:After the STA receives the beacon a and obtains the information, it can immediately enter the sleep or power saving state. Then STA can obtain the corresponding data in the following two ways. Specifically, according to Figure 9, it is assumed that STA1 and STA2 form a Group:
第一种方式:如图9中(a)所示,Group中的STA1、STA2可保持睡眠或省电状态直到信标b的广播时间再醒来并接收信标b,Group中的STA1、STA2在信标b的BI中通过发送PS-Poll帧的方式取得相应数据,或AP在该BI中主动将相应数据发给Group的STA。The first method: as shown in (a) in Figure 9, STA1 and STA2 in the Group can stay in sleep or power-saving state until the broadcast time of beacon b and then wake up and receive beacon b, STA1 and STA2 in the Group In the BI of the beacon b, the corresponding data is obtained by sending a PS-Poll frame, or the AP actively sends the corresponding data to the STAs of the Group in the BI.
第二种方式:如图9(b)所示,Group可保持睡眠或省电状态直到信标b广播完成后醒来,直接在信标b的BI中通过发送PS-Poll帧的方式取得相应数据,或AP在该BI中主动将相应数据发给Group的STA。The second way: as shown in Figure 9(b), Group can stay in sleep or power-saving state until it wakes up after the broadcast of beacon b is completed, and directly obtains the corresponding PS-Poll frame in the BI of beacon b. data, or the AP actively sends the corresponding data to the STAs of the Group in the BI.
需要说明的是,只要AP通知了STA本身或其所在的组在信标b的BI中来获取数据,STA就要在该BI醒来并获取相应数据。如果AP通知了STA其所在的组在信标b的BI中来获取数据,但实际上AP并没有数据要下发给该STA,该STA也要醒来并尝试获取数据。就本实施例来说,可以在信标a中,加入第二标识信息,来通知STA本身或其所在的组在信标b的BI中来获取数据,如图10所示,第二标识信息可能分别标识Group中每个有数据要下发的STA(如用TIM),也可能用GroupID(如用TIM)统一标识一组STA,图10中的左图为信标a中的第二标识信息示例一,意思是AP通知Group在信标a后第n个BI来接收或取得数据;图10中的右图为信标a中的第二标识信息示例二,意思是AP通知Group中的STA1、3和6在信标a后第N个BI来接收或取得数据。此处不一定携带GroupID。It should be noted that as long as the AP notifies the STA itself or its group to obtain data in the BI of the beacon b, the STA will wake up in the BI and obtain corresponding data. If the AP notifies the STA that the group it belongs to obtains data in the BI of beacon b, but in fact the AP has no data to deliver to the STA, the STA also wakes up and tries to obtain data. As far as this embodiment is concerned, the second identification information can be added to the beacon a to notify the STA itself or its group to obtain data in the BI of the beacon b, as shown in FIG. 10 , the second identification information It is possible to separately identify each STA that has data to be delivered in the Group (such as using TIM), or it is possible to use GroupID (such as using TIM) to uniformly identify a group of STAs. The left figure in Figure 10 is the second identification in beacon a Information example 1 means that the AP informs the Group to receive or obtain data at the nth BI after beacon a; the right picture in Figure 10 is the second identification information example 2 in beacon a, which means that the AP informs the group in the STA1, 3 and 6 receive or obtain data at the Nth BI after beacon a. GroupID is not necessarily carried here.
Group的STA获得相应数据后,可立即转入睡眠或省电状态,直到距信标aListenInterval值后的信标再醒来并接收该信标,即Group按ListenInterval值周期性醒来并接收的信标。After the STA of the Group obtains the corresponding data, it can immediately enter the sleep or power saving state until the beacon aListenInterval value away from the beacon wakes up and receives the beacon again, that is, the Group wakes up periodically according to the ListenInterval value and receives the signal mark.
还需要说明的是,AP可按本发明实施例提供的方法同时处理多组STA,或同时处理一组或多组STA和/或一个或多个STA。It should also be noted that the AP can simultaneously process multiple groups of STAs, or simultaneously process one or more groups of STAs and/or one or more STAs according to the method provided by the embodiment of the present invention.
本发明实施例通过以上技术方案,当AP有数据要下发给特定STA构成的Group时,AP根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的Group获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the AP has data to send to a group formed by a specific STA, the AP selectively notifies the specific group in a specific beacon to obtain data according to its own communication capability and network conditions, To coordinate the channel usage time of multiple or multiple groups of STAs, so that STAs can obtain data from the AP in a timely and orderly manner, so that STAs do not need to be active for a long time to compete for channels to obtain data, thereby reducing the STA’s The energy consumption of acquiring data in the power saving mode also makes more reasonable and effective use of the channel.
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。本发明实施例可应用于各种通信系统中,尤其可以适应与如图1所示的网络系统中。图11示出了一种用户设备的结构图,根据图11,用户设备10包括:处理单元101,存储器102及天线103。处理单元101控制用户设备10的操作,处理单元101还可以称为CPU。存储器102可以包括只读存储器和随机存取存储器,用于向处理单元306提供指令和数据。存储器102的一部分还可以包括非易失行随机存取存储器(NVRAM)。具体的应用中,用户设备10可以嵌入或者本身可以就是例如无线接入点、WiFI热点或者无线路由器之类的无线通信设备。用户设备10的各个组件通过总线系统100耦合在一起,其中总线系统除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线系统100。Embodiments of the present invention further provide device embodiments for implementing the steps and methods in the above method embodiments. The embodiments of the present invention can be applied to various communication systems, and especially can be adapted to the network system shown in FIG. 1 . FIG. 11 shows a structural diagram of a user equipment. According to FIG. 11 , the user equipment 10 includes: a processing unit 101 , a memory 102 and an antenna 103 . The processing unit 101 controls the operation of the user equipment 10, and the processing unit 101 may also be referred to as a CPU. Memory 102 may include read-only memory and random-access memory for providing instructions and data to processing unit 306 . A portion of memory 102 may also include non-volatile random access memory (NVRAM). In a specific application, the user equipment 10 may be embedded or itself may be a wireless communication device such as a wireless access point, a WiFI hotspot or a wireless router. Various components of the user equipment 10 are coupled together through the bus system 100, wherein the bus system includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 100 in the figures.
本发明实施例揭示的STA获取数据的方法可以应用于本实施例提供的用户设备10中,或者说由用户设备10来实现。在实现过程中,上述方法的各步骤可以通过用户设备10的硬件的集成逻辑电路或者软件形式的指令完成。这些指令可以通过用户设备10的处理单元101以配合实现及控制。用于执行本发明实施例一、二揭示的方法,处理单元101可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The method for an STA to obtain data disclosed in the embodiment of the present invention may be applied to the user equipment 10 provided in this embodiment, or implemented by the user equipment 10 . In the implementation process, each step of the above method may be completed by an integrated logic circuit of the hardware of the user equipment 10 or an instruction in the form of software. These instructions can be realized and controlled by the processing unit 101 of the user equipment 10 in cooperation. For performing the method disclosed in the first and second embodiments of the present invention, the processing unit 101 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components.
具体地,本发明实施例三提供的用户设备10中,天线103周期性地向与用户设备10通信连接且工作在省电模式下的各个STA发送信标,其中,信标是用于通知STA某些特定信息的一种管理帧,天线103发送的两个相邻的信标之间的时间间隔为BI(BeaconInterval,信标时隙),工作在省电模式下的STA按照ListenInterval周期性接收信标,ListenInterval在标准中是一个大于等于零的整数,意义是STA周期性接收的相邻两个信标之间有ListenInterval个BI;Specifically, in the user equipment 10 provided in Embodiment 3 of the present invention, the antenna 103 periodically sends a beacon to each STA that is communicatively connected with the user equipment 10 and works in the power saving mode, wherein the beacon is used to notify the STA A management frame of some specific information, the time interval between two adjacent beacons sent by the antenna 103 is BI (BeaconInterval, beacon slot), and the STA working in the power saving mode receives periodically according to ListenInterval Beacon, ListenInterval is an integer greater than or equal to zero in the standard, which means that there are ListenInterval BIs between two adjacent beacons that STA periodically receives;
存储器102用于,用于缓存将被发往所述STA的数据;The memory 102 is used for caching data to be sent to the STA;
处理单元101,用于在用户设备10有数据需要发送给所述STA时,根据用户设备10自身的通信能力和网络状况,在所述STA所接收的下一个信标中增加数据标识信息,所述数据标识信息用于指示所述STA从所述用户设备获取数据。The processing unit 101 is configured to add data identification information to the next beacon received by the STA according to the communication capability and network conditions of the user equipment 10 itself when the user equipment 10 has data to be sent to the STA, so The data identification information is used to instruct the STA to acquire data from the user equipment.
需要说明的是,处理单元101的具体工作流程可以参见本发明实施例的步骤202,步骤302-305,以及步骤802-705,此处不再赘述。It should be noted that, for the specific working process of the processing unit 101, reference may be made to step 202, steps 302-305, and steps 802-705 of the embodiment of the present invention, which will not be repeated here.
具体地,处理单元101根据存储器102中的数据量、天线103的数据发送速率以及BI长度,在所述STA所接收的下一个信标中增加数据标识信息。Specifically, the processing unit 101 adds data identification information to the next beacon received by the STA according to the amount of data in the memory 102, the data transmission rate of the antenna 103, and the BI length.
在一个实施例中,当处理单元101根据存储器102中的数据量、天线103的数据发送速率以及BI长度,判断出当前自身缓存的数据可以在一个BI中全部发送时,在所述STA所接收的下一个信标(下文以信标a指代该信标)中增加第一标识信息,以指示所述STA在所述下一个信标的BI中,从所述AP获取数据。In one embodiment, when the processing unit 101 judges that all the data currently buffered by itself can be sent in one BI according to the amount of data in the memory 102, the data transmission rate of the antenna 103, and the length of the BI, the STA receives The first identification information is added to the next beacon (hereinafter referred to as beacon a) to indicate that the STA acquires data from the AP in the BI of the next beacon.
在另一个实施例中,当处理单元101具根据存储器102中的数据量、天线103的数据发送速率以及BI长度,判断出当前自身缓存的数据不能在一个BI中全部发送时,在所述STA所接收的下一个信标中增加第二标识信息,以指示所述STA在接收到所述下一个信标之后,保持睡眠状态直到所述下一个信标之后的另一信标(下文以信标b指代该信标)的广播时间或所述另一信标的广播完成后再醒来,并在所述另一信标的BI中获得相应的数据。In another embodiment, when the processing unit 101 judges that all the data currently buffered by itself cannot be sent in one BI according to the amount of data in the memory 102, the data transmission rate of the antenna 103, and the length of the BI, the STA The second identification information is added to the received next beacon to indicate that after receiving the next beacon, the STA will remain in a sleep state until another beacon after the next beacon (hereinafter referred to as signal Mark b refers to the broadcast time of the beacon) or wakes up after the broadcast of the other beacon is completed, and obtains corresponding data in the BI of the other beacon.
需要说明的是,在一个实施例中,处理单元101可以选择信标a后的任一信标作为信标b。It should be noted that, in an embodiment, the processing unit 101 may select any beacon following the beacon a as the beacon b.
需要说明的是,在发明的一个最优实施例中,处理单元101可以根据存储器102中的数据量、天线103的数据发送速率以及BI长度,选择信标a后的第N个信标,作为信标b,且1<=N<ListenInterval;即信标b是在信标a和距信标aListenInterval值后的信标之间的信标,即信标b在STA按照ListenInterval值周期性醒来并接收的相邻的两个信标之间。具体地,处理单元101可以根据存储器102中的数据量、天线103的数据发送速率以及BI长度估算出发往该STA的数据,能在信标a的BI之后的哪一个信标BI被一次性发送出去,从而确定出信标b。当AP选择好信标b后,在信标a中加入第二标识信息,用于通知STA让其在信标b的BI中接收或取得数据,当STA醒来并接收信标a时,即可获得该信息。具体地,在一个实施例中,如图6为信标a中的第二标识信息示例,信标a可把该第二标识信息作为一种信息元素(InformationElement)携带在信标帧中,以提示STA在信标b的BI中接收或取得数据,根据图6,第二标识信息中包含有STA的标识以及数字N,以通知信标a中的STA标识对应的STA在信标a后第N个BI来接收或取得数据;STAID可以是AID等可唯一标识STA。It should be noted that, in an optimal embodiment of the invention, the processing unit 101 can select the Nth beacon after the beacon a according to the amount of data in the memory 102, the data transmission rate of the antenna 103, and the BI length, as Beacon b, and 1<=N<ListenInterval; that is, beacon b is the beacon between beacon a and the beacon after the value of ListenInterval from beacon a, that is, beacon b wakes up periodically in STA according to the value of ListenInterval And received between two adjacent beacons. Specifically, the processing unit 101 can estimate the data destined for the STA according to the amount of data in the memory 102, the data transmission rate of the antenna 103, and the BI length, which beacon BI after the BI of the beacon a can be sent at one time Go out, so as to determine the beacon b. After the AP selects the beacon b, it adds the second identification information to the beacon a, which is used to notify the STA to receive or obtain data in the BI of the beacon b. When the STA wakes up and receives the beacon a, that is This information is available. Specifically, in one embodiment, FIG. 6 is an example of the second identification information in beacon a, and beacon a may carry the second identification information as an information element (InformationElement) in the beacon frame, so as to Prompt the STA to receive or obtain data in the BI of the beacon b. According to FIG. 6, the second identification information contains the identification of the STA and the number N, so as to notify the corresponding STA of the STA identification in the beacon a that the corresponding STA is the first after the beacon a. N BIs are used to receive or obtain data; STAID can be AID, which can uniquely identify STA.
进一步地,在一个实施例中,天线103还用于,接收所述STA发送的关联请求;相应地,处理单元101还用于,分配给所述STA一个ListenInterval值,并把分配给所述STA的ListenInterval值添加在与所述关联请求对应的关联响应消息中,通过天线103发送给所述STA,以使所述STA收到所述关联响应消息后,用所述分配的ListenInterval值替代自己原有的ListenInterval值。Further, in an embodiment, the antenna 103 is also used to receive the association request sent by the STA; correspondingly, the processing unit 101 is also used to assign a ListenInterval value to the STA, and assign the STA to the STA The ListenInterval value is added to the association response message corresponding to the association request, and sent to the STA through the antenna 103, so that after the STA receives the association response message, it replaces its original value with the assigned ListenInterval value. There are ListenInterval values.
本发明实施例通过以上技术方案,当用户设备有数据要下发给STA时,用户设备根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the user equipment has data to send to the STA, the user equipment selectively notifies a specific STA to obtain data in a specific beacon according to its own communication capability and network conditions, so as to coordinate The channel usage time of multiple or multiple groups of STAs enables STAs to obtain data from the AP in a timely and orderly manner, so that STAs do not need to be active for a long time to compete for channels to obtain data, thereby reducing the power consumption of STAs. The energy consumption of acquiring data in this mode also utilizes the channel more reasonably and effectively.
如图12所示,本发明实施例还提供一种通信系统,包括:多个STA(如图12中的110-115)和接入点120;As shown in FIG. 12, an embodiment of the present invention also provides a communication system, including: multiple STAs (110-115 in FIG. 12) and an access point 120;
其中,接入点120可以是本发明实施例三种的用户设备10;在一个实施例中,STA(如图11中的110-115)在和所述用户设备进行关联时,可以在关联请求中标识自己的ListenInterval值,以使所述用户设备保存所述ListenInterval值;在另一个实施例中,接入点120也可以在与STA的关联或重关联过程中分配给该STA一个ListenInterval值,以使该STA用该ListenInterval值替代自己原有的ListenInterval值。Wherein, the access point 120 may be the user equipment 10 of the third embodiment of the present invention; in one embodiment, when the STA (such as 110-115 in FIG. 11 ) associates with the user equipment, it may Identify its own ListenInterval value in the user equipment, so that the user equipment saves the ListenInterval value; in another embodiment, the access point 120 may also assign a ListenInterval value to the STA during the association or re-association process with the STA, So that the STA uses the ListenInterval value to replace its original ListenInterval value.
本发明实施例通过以上技术方案,当用户设备有数据要下发给STA时,用户设备根据自身的通信能力及网络状况,选择性地在特定的信标中通知特定的STA获取数据,以协调多个或多组STA的信道使用时间,使STA能够及时有序地从AP中获取数据,这样STA就不需要较长时间处于活跃状态来竞争信道以获取数据,从而减小了STA在省电模式下获取数据的能量消耗,也更合理有效地利用了信道。In the embodiment of the present invention, through the above technical solutions, when the user equipment has data to send to the STA, the user equipment selectively notifies a specific STA to obtain data in a specific beacon according to its own communication capability and network conditions, so as to coordinate The channel usage time of multiple or multiple groups of STAs enables STAs to obtain data from the AP in a timely and orderly manner, so that STAs do not need to be active for a long time to compete for channels to obtain data, thereby reducing the power consumption of STAs. The energy consumption of acquiring data in this mode also utilizes the channel more reasonably and effectively.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210132619.9A CN103379595B (en) | 2012-04-28 | 2012-04-28 | In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210132619.9A CN103379595B (en) | 2012-04-28 | 2012-04-28 | In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103379595A CN103379595A (en) | 2013-10-30 |
CN103379595B true CN103379595B (en) | 2016-03-30 |
Family
ID=49464029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210132619.9A Expired - Fee Related CN103379595B (en) | 2012-04-28 | 2012-04-28 | In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103379595B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105409271B (en) * | 2013-12-04 | 2019-07-09 | 华为技术有限公司 | The transmission processing method and system of management frame |
US20160309469A1 (en) * | 2013-12-12 | 2016-10-20 | Huawei Device Co., Ltd. | Data transmission method and apparatus |
US9736774B2 (en) | 2015-01-30 | 2017-08-15 | Huawei Technologies Co., Ltd. | Apparatus and method for a wireless device to receive data in an eco state |
US20160337899A1 (en) * | 2015-05-13 | 2016-11-17 | Qualcomm Incorporated | Power save trigger |
US10952139B2 (en) * | 2016-03-28 | 2021-03-16 | Qualcomm Incorporated | Wireless communication involving a wake time period for a station |
CN109302736B (en) * | 2017-07-24 | 2021-06-25 | 展讯通信(上海)有限公司 | Sleep control method and device for wireless local area network, storage medium, workstation and terminal |
CN111108805B (en) * | 2017-09-27 | 2022-04-05 | 华为技术有限公司 | Transmission method and communication device based on multi-beam polling |
CN113728589B (en) * | 2019-04-25 | 2022-10-28 | 微芯片技术股份有限公司 | Changing master nodes in a wired local area network and related systems, methods and devices |
CN110087244A (en) * | 2019-04-29 | 2019-08-02 | 新华三技术有限公司 | A kind of information acquisition method and device |
US11659486B2 (en) * | 2020-02-11 | 2023-05-23 | Mediatek Inc. | Wireless communication method with adaptive power control mechanism and associated circuitry within electronic device |
US11570715B2 (en) * | 2020-09-07 | 2023-01-31 | Mediatek Inc. | Power saving with latency control mechanism of electronic device |
CN117499946A (en) * | 2022-07-26 | 2024-02-02 | 华为技术有限公司 | Clock signal processing method, device and wireless distributed system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101395844A (en) * | 2006-03-03 | 2009-03-25 | 高通股份有限公司 | Standby time improvement for stations in a wireless network |
CN102325360A (en) * | 2011-07-13 | 2012-01-18 | 中国联合网络通信集团有限公司 | Data frame processing method and wireless access point |
-
2012
- 2012-04-28 CN CN201210132619.9A patent/CN103379595B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101395844A (en) * | 2006-03-03 | 2009-03-25 | 高通股份有限公司 | Standby time improvement for stations in a wireless network |
CN102325360A (en) * | 2011-07-13 | 2012-01-18 | 中国联合网络通信集团有限公司 | Data frame processing method and wireless access point |
Non-Patent Citations (1)
Title |
---|
无线局域网的电源管理和网络管理功能研究;杨秋岩;《中国优秀硕士学位论文全文数据库 信息科技辑》;20091115;第18-23页、第37-38页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103379595A (en) | 2013-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103379595B (en) | In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data | |
CN110831123B (en) | A signal sending and receiving method, network equipment and terminal | |
JP6974454B2 (en) | Data communication method and equipment | |
WO2018157786A1 (en) | Method and equipment for indicating downlink service data | |
EP3342215B1 (en) | Power save mechanism in a wlan network with large number of stations | |
KR100584446B1 (en) | Operation Mode Control Method of Terminal in Broadband Wireless Access Communication System | |
US9439146B2 (en) | Standby time improvements for stations in a wireless network | |
CN101617506B (en) | Method and device for power management in WLAN | |
CN101541068B (en) | WLAN network control method and device thereof | |
WO2018192374A1 (en) | Site wake-up method and site | |
CN113747571B (en) | Communication method and device | |
US20100138549A1 (en) | Portable ap enhancements | |
WO2013139182A1 (en) | Sleeping method and apparatus | |
CN116614869B (en) | DTX mode configuration method, DTX mode receiving device and processor | |
WO2011020365A1 (en) | Method and control device for service data transmission in sleep mode | |
CN117651322B (en) | Power management method, device, terminal and storage medium | |
CN109302736B (en) | Sleep control method and device for wireless local area network, storage medium, workstation and terminal | |
WO2011137796A1 (en) | Method, apparatus and system for sleep state control | |
CN119922664A (en) | Device energy saving method, electronic device and storage medium | |
Ogawa | Saving Power in IEEE802. 16m Mobile Routers by Coordinating with IEEE802. 11 | |
HK1160308B (en) | Access control to a wireless network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180428 Address after: California, USA Patentee after: Global innovation polymerization LLC Address before: London, England Patentee before: GW partnership Co.,Ltd. Effective date of registration: 20180428 Address after: London, England Patentee after: GW partnership Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 |
|
CF01 | Termination of patent right due to non-payment of annual fee |