一种用于资源分配的方法、接入点及站点Method, access point and site for resource allocation技术领域Technical field本发明涉及通信领域,特别是一种用于资源分配的方法、接入点及站点。The present invention relates to the field of communications, and more particularly to a method, access point and site for resource allocation.
背景技术Background technique由于无线网络技术的不断进步,无线通信已经成为人们最为常用的通信技术之一,在无线局域网中,当前IEEE(Institute of Electrical and Electronics Engineers,电气和电子工程师协会)802.11标准广泛采用的是基于竞争CSMA/CA(Carrier Sense Multiple Access with Collision Detection,载波侦听多路访问/冲突避免)的MAC(Media Access Control,介质访问控制)机制,或OFDM(Orthogonal Frequency Division Multiplexing,正交频分复用)+MIMO(Multi-input Multi-output,多输入多输出)机制,为了进一步提高网络的吞吐量和用户体验,需引入新的MAC和物理层接入技术,一种可选技术是OFDMA(正交频分多址接入Orthogonal Frequency Division Multiple Access)。为了在WiFi(Wireless-Fidelity,无线保真)网络中基于OFDMA实现上行传输,一种实现对上行信道资源进行分配的方案如下所示:Due to the continuous advancement of wireless network technology, wireless communication has become one of the most commonly used communication technologies. In wireless local area networks, the current IEEE (Institute of Electrical and Electronics Engineers) 802.11 standard is widely used based on competition. MAC (Media Access Control) mechanism of CSMA/CA (Carrier Sense Multiple Access with Collision Detection) or OFDM (Orthogonal Frequency Division Multiplexing) +MIMO (Multi-input Multi-output) mechanism, in order to further improve the network throughput and user experience, it is necessary to introduce new MAC and physical layer access technologies. An optional technology is OFDMA (Orthogonal Orthogonal Frequency Division Multiple Access). In order to implement uplink transmission based on OFDMA in a WiFi (Wireless-Fidelity) network, a scheme for realizing allocation of uplink channel resources is as follows:
在现有技术中,根据现有的WiFi相关的标准(如IEEE 802.11),AP(Access Point,接入点)可以利用时分的信道访问机制逐个查询关联的STA(Station,站点)上行缓存数据的信息,AP每访问一个其所关联的STA,该STA则向AP返回上行缓存数据的信息,AP再继续访问下一个其所关联的STA,通过这种查询机制需要消耗太多的信道资源和系统开销,导致信道资源分配的效率很低。In the prior art, according to the existing WiFi-related standards (such as IEEE 802.11), an AP (Access Point, access point) can use the time division channel access mechanism to query the associated STA (Station) uplink cache data one by one. Information: When the AP accesses one of its associated STAs, the STA returns the information of the uplink cache data to the AP, and the AP continues to access the next STA associated with it, and the query mechanism needs to consume too much channel resources and systems. Overhead, resulting in low efficiency of channel resource allocation.
发明内容Summary of the invention
本发明实施例提供了一种用于资源分配的方法、接入点及站点,可实现合理高效地对上行信道资源进行分配。The embodiments of the present invention provide a method, an access point, and a site for resource allocation, which can allocate uplink channel resources reasonably and efficiently.
本发明实施例第一方面提供了一种用于资源分配的方法,包括:A first aspect of the embodiments of the present invention provides a method for resource allocation, including:
接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;The access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate, for at least one station, an uplink scheduling period of channel resources at the access point. Information of a random access resource block included therein, the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used by the at least one station to send a first indication message;
所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;The access point receives the first indication message sent by the first station in the at least one station by using one of the at least one transmission resource unit;
所述第一指示消息用于指示所述第一站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息;The first indication message is used to indicate that the first station has an uplink channel resource requirement, and the first indication message includes identifier information of the first station;
所述接入点验证所述第一指示消息是否为有效第一指示消息,若是,则根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源。Determining, by the access point, whether the first indication message is a valid first indication message, and if yes, according to the first indication message, in the uplink scheduling period of the channel resource of the access point, being the first station Allocate upstream channel resources.
结合本发明实施例的第一方面,在本发明实施例第一方面的第一种实现方式中,所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息包括:With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect of the embodiments, the access point receives the at least one by using one of the at least one transmission resource unit The first indication message sent by the first station in the site includes:
所述接入点通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息。The access point receives, by one of the at least one transmission resource unit with a sequence number, the first station in the at least one site, by using the at least one transmission resource with the sequence number according to a preset rule. The first indication message sent by one of the selected transmission resource units in the unit.
结合本发明实施例的第一方面的第一种实现方式,在本发明实施例第一方面的第二种实现方式中,所述接入点验证所述第一指示消息是否为有效第一指示消息具体包括:With reference to the first implementation manner of the first aspect of the embodiments of the present invention, in a second implementation manner of the first aspect of the embodiment, the access point verifies whether the first indication message is a valid first indication. The message specifically includes:
所述接入点通过所述预设规则计算出所述站点的标识信息的对应值;The access point calculates a corresponding value of the identifier information of the site by using the preset rule;
判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元序号是否对应,若对应,则确定所述第一指示消息为有效第一指示消息;若不对应,则确定所述第一指示消息为无效第一指示消息。Determining whether the corresponding value corresponds to the transmission resource unit number that the access point receives by the first indication message, and if yes, determining that the first indication message is a valid first indication message; And determining that the first indication message is an invalid first indication message.
结合本发明实施例的第一方面、第一方面的第一种实现方式以及第一方面的第二种实现方式,在本发明实施例第一方面的第三种实现方式中,所述根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源包括:With reference to the first aspect of the embodiments of the present invention, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect of the embodiment of the present invention, the The allocating the uplink channel resource to the first station in the uplink scheduling period of the channel resource of the access point includes:
所述接入点根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配预设长度的上行信道资源;或,所述第一指示消息还包括所述站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,所述接入点根据所述第一指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内为所述第一站点分配所需的上行信道资源。And the access point allocates a preset length of the uplink channel resource to the first station in the uplink scheduling period of the channel resource of the access point according to the first indication message; or, the first indication message is further The size of the uplink channel resource required by the site or the size of the cached data that needs to be uplinked by the first station, where the access point is required according to the first site included in the first indication message. The size of the uplink channel resource or the size of the cache data to be uplink transmitted by the first station,Allocating the required uplink channel resources to the first station during an uplink scheduling period of the channel resources of the access point.
结合本发明实施例的第一方面、第一方面的第一种实现方式以及第一方面的第二种实现方式,在本发明实施例第一方面的第四种实现方式中,在所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述第一站点发送的所述第一指示消息之后,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in the fourth implementation manner of the first aspect of the embodiment of the present invention, After the in-point receives the first indication message sent by the first station by using one of the at least one transmission resource unit, the method further includes:
所述接入点向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;The access point sends a second downlink frame to the first station, where the second downlink frame includes second indication information, where the second indication information is used to indicate, for the first station, The station sends the channel resource of the second indication message; the second indication message carries the size of the uplink channel resource required by the first station or the size of the cache data that needs to be uplink transmitted by the first station;
所述接入点接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;Receiving, by the access point, the second indication message sent by the first station according to the channel resource indicated by the second indication information;
所述根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源包括:The allocating the uplink channel resources to the station in the uplink scheduling period of the channel resource of the access point according to the first indication message includes:
所述接入点根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源。The access point according to the size of the uplink channel resource required by the first station included in the second indication message or the size of the cache data to be uplink transmitted by the first station, at the access point The uplink resource is allocated to the first station during an uplink scheduling period of the channel resource.
结合本发明实施例的第一方面、第一方面的第一种实现方式以及第一方面的第二种实现方式,在本发明实施例第一方面的第五种实现方式中,在所述第一下行帧的物理帧头部的SIG字段中或者物理帧数据部分中携带有标志位和指示位,所述标志位用于指示在信道资源的上行调度期内包含有随机接入资源块,所述指示位用于指示随机接入资源块的信息。With reference to the first aspect of the embodiments of the present invention, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a fifth implementation manner of the first aspect of the embodiments of the present invention, A flag bit and an indicator bit are carried in the SIG field or the physical frame data part of the physical frame header of a downlink frame, where the flag bit is used to indicate that a random access resource block is included in an uplink scheduling period of the channel resource. The indication bit is used to indicate information of a random access resource block.
本发明实施例第二方面提供了一种用于资源分配的方法,包括:A second aspect of the embodiments of the present invention provides a method for resource allocation, including:
站点接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;Receiving, by the site, a first downlink frame sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to indicate at the at least one site including the site The information of the random access resource block included in the uplink scheduling period of the inbound channel resource, the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for sending the at least one station a first indication message indicating that the station has an uplink channel resource requirement;
所述站点从所述随机接入资源块中选择一个传输资源单元;The station selects one transmission resource unit from the random access resource blocks;
所述站点通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源。Sending, by the selected transmission resource unit, the first indication message to the access point by using the selected transmission resource unit, whereThe first indication message includes the identifier information of the site, so that when the access point verifies that the first indication message is a valid first indication message, according to the first indication message, the channel at the access point The uplink channel resources are allocated to the station during the uplink scheduling period of the resource.
结合本发明实施例的第二方面,在本发明实施例第二方面的第一种实现方式中,所述站点从所述随机接入资源块中选择一个传输资源单元包括:With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiments of the present disclosure, the selecting, by the station, one transmission resource unit from the random access resource block includes:
所述站点通过预设规则计算出所述站点的标识信息的对应值;The site calculates a corresponding value of the identifier information of the site by using a preset rule;
所述站点从所述随机接入资源块中根据所述对应值,从随机接入资源块包括的设有序号的所述至少一个传输资源单元中选择序号与所述对应值相对应的一个传输资源单元。Determining, by the station from the random access resource block, a transmission sequence corresponding to the corresponding value from the at least one transmission resource unit with a sequence number included in the random access resource block according to the corresponding value Resource unit.
结合本发明实施例的第二方面以及第二方面的第一种实现方式,在本发明实施例第二方面的第二种实现方式中,所述站点通过所述选择的传输资源单元向接入点发送所述第一指示消息之后,所述方法还包括:With reference to the second aspect of the embodiments of the present invention and the first implementation manner of the second aspect, in a second implementation manner of the second aspect of the embodiments, the station accesses the selected transmission resource unit. After the sending the first indication message, the method further includes:
所述站点接收所述接入点发送的第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于所述接入点为所述站点指示用于所述站点发送第二指示消息的信道资源;所述第二指示消息携带所述站点所需要的上行信道资源的大小;Receiving, by the station, a second downlink frame sent by the access point, where the second downlink frame includes second indication information, where the second indication information is used by the access point for the site indication for the The station sends a channel resource of the second indication message; the second indication message carries a size of an uplink channel resource required by the station;
所述站点根据所述第二指示信息所指示的信道资源向所述接入点发送所述第二指示消息,以便所述接入点根据所述第二指示消息中包含的所述站点所需要的上行信道资源的大小,在所述接入点的信道资源的上行调度期内给所述站点分配所需的上行信道资源。Sending, by the station, the second indication message to the access point according to the channel resource indicated by the second indication information, so that the access point needs according to the site included in the second indication message The size of the uplink channel resource is allocated to the station for the required uplink channel resource during the uplink scheduling period of the channel resource of the access point.
结合本发明实施例的第二方面以及第二方面的第一种实现方式,在本发明实施例第二方面的第三种实现方式中,在所述站点从所述随机接入资源块中选择一个传输资源单元之前,所述方法还包括:With reference to the second aspect of the embodiments of the present invention and the first implementation manner of the second aspect, in a third implementation manner of the second aspect of the embodiment of the present invention, the station selects from the random access resource block Before a transmission resource unit, the method further includes:
若所述站点与所述接入点未关联,则所述站点从标识空间内获取临时标识信息,所述站点的标识信息具体为所述临时标识信息。If the site is not associated with the access point, the site obtains temporary identifier information from the identifier space, and the identifier information of the site is specifically the temporary identifier information.
本发明实施例第三方面提供了一种用于资源分配的接入点,包括:A third aspect of the embodiments of the present invention provides an access point for resource allocation, including:
第一发送单元,用于发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;a first sending unit, configured to send a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate channel resources at the access point for at least one station The information of the random access resource block included in the uplink scheduling period, the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used by the at least one station to send the first fingerDisplay message
所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;The access point receives the first indication message sent by the first station in the at least one station by using one of the at least one transmission resource unit;
第一接收单元,用于通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;所述第一指示消息用于指示所述第一站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息;a first receiving unit, configured to receive, by using one of the at least one transmission resource unit, the first indication message sent by the first station in the at least one station; the first indication message is used to indicate The first site has an uplink channel resource requirement, and the first indication message includes identifier information of the first site;
验证单元,用于验证所述第一指示消息是否为有效第一指示消息;a verification unit, configured to verify whether the first indication message is a valid first indication message;
分配单元,用于当所述第一指示消息是有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源。An allocating unit, configured to allocate an uplink channel to the first station during an uplink scheduling period of a channel resource of the access point according to the first indication message, when the first indication message is a valid first indication message Resources.
结合本发明实施例第三方面,在本发明实施例第三方面的第一种实现方式中,第一接收模块,用于通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息。With reference to the third aspect of the embodiments of the present invention, in a first implementation manner of the third aspect of the embodiments, the first receiving module is configured to transmit a resource unit by using one of the at least one transmission resource unit with a sequence number Receiving, by the first station in the at least one station, the first indication message sent by one transmission resource unit selected from the at least one transmission resource unit with the sequence number according to a preset rule.
结合本发明实施例第三方面以及第三方面的第一种实现方式,在本发明实施例第三方面的第二种实现方式中,所述验证单元具体包括:With reference to the third aspect of the embodiments of the present invention, and the first implementation manner of the third aspect, in the second implementation manner of the third aspect of the embodiment, the verification unit specifically includes:
计算模块,用于通过所述预设规则计算出所述站点的标识信息的对应值;a calculation module, configured to calculate, by using the preset rule, a corresponding value of the identifier information of the site;
判断模块,用于判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元序号是否对应;当所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元序号对应时,则确定所述第一指示消息为有效第一指示消息,当所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元序号不对应时,则确定所述第一指示消息为无效第一指示消息。a determining module, configured to determine whether the corresponding value corresponds to a transmission resource unit number through which the access point receives the first indication message; and when the corresponding value and the access point receive the When the number of the transmission resource unit that is indicated by the indication message is corresponding, determining that the first indication message is a valid first indication message, when the corresponding value and the access point receive the first indication message When the sequence number of the transmission resource unit does not correspond, determining that the first indication message is an invalid first indication message.
结合本发明实施例第三方面以及第三方面的第一种实现方式,在本发明实施例第三方面的第三种实现方式中,所述分配单元包括:With reference to the third aspect of the embodiments of the present invention and the first implementation manner of the third aspect, in a third implementation manner of the third aspect of the embodiments, the
第一分配模块,用于根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配预设长度的上行信道资源;或,所述第一指示消息还包括所述站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,所述接入点根据所述第一指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内为所述第一站点分配所需的上行信道资源。a first allocation module, configured to allocate a preset length of uplink channel resources to the first station in an uplink scheduling period of the channel resource of the access point according to the first indication message; or, the first indication The message further includes the size of the uplink channel resource required by the station or the first station needs to be uplinked.The size of the buffered data to be transmitted, the access point according to the size of the uplink channel resource required by the first station included in the first indication message or the size of the cached data to be uplink transmitted by the first station, Allocating a required uplink channel resource to the first station during an uplink scheduling period of the channel resource of the access point.
结合本发明实施例第三方面以及第三方面的第一种实现方式,在本发明实施例第三方面的第四种实现方式中,所述接入点还包括:With reference to the third aspect of the embodiments of the present invention, and the first implementation manner of the third aspect, in the fourth implementation manner of the third aspect of the embodiments, the access point further includes:
第二发送单元,用于在所述第一接收单元接收所述第一站点发送的所述第一指示消息之后,向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;a second sending unit, configured to send, after the first receiving unit receives the first indication message sent by the first station, a second downlink frame to the first station, where the second downlink frame includes The second indication information is used to indicate, for the first station, a channel resource used by the station to send a second indication message, where the second indication message carries an uplink channel required by the first station. The size of the resource or the size of the cached data that the first station needs to transmit upstream;
第二接收单元,用于接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;a second receiving unit, configured to receive the second indication message that is sent by the first station according to the channel resource indicated by the second indication information;
所述分配单元包括第二分配模块,用于根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源。The allocating unit includes a second allocating module, configured to: according to the size of the uplink channel resource required by the first station included in the second indication message or the size of the cache data to be uplink transmitted by the station, An uplink channel resource is allocated to the first station during an uplink scheduling period of a channel resource of the access point.
结合本发明实施例第三方面以及第三方面的第一种实现方式,在本发明实施例第三方面的第五种实现方式中,所述第一发送单元包括:With reference to the third aspect of the embodiments of the present invention, and the first implementation manner of the third aspect, in a fifth implementation manner of the third aspect of the embodiments, the first sending unit includes:
第一发送模块,用于发送第一下行帧,在所述第一下行帧的物理帧头部的SIG字段中或者物理帧数据部分中携带有标志位和指示位,所述标志位用于指示在信道资源的上行调度期内包含有随机接入资源块,所述指示位用于指示随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述传输资源单元用于所述站点发送第一指示消息。a first sending module, configured to send a first downlink frame, where a flag bit and an indicator bit are carried in a SIG field or a physical frame data part of a physical frame header of the first downlink frame, where the flag bit is used And indicating, in the uplink scheduling period of the channel resource, a random access resource block, where the indicator bit is used to indicate information of a random access resource block, where the random access resource block includes at least one transmission resource unit, where the transmission The resource unit is used by the station to send a first indication message.
本发明实施例第四方面提供了一种用于资源分配的站点,包括:A fourth aspect of the embodiments of the present invention provides a site for resource allocation, including:
第三接收单元,用于接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;a third receiving unit, configured to receive a first downlink frame that is sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to be at least one that includes the site The station indicates information of a random access resource block included in an uplink scheduling period of a channel resource of the access point, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used for Said at least one station sending a first indication message indicating that the station has an uplink channel resource requirement;
选择单元,用于从所述随机接入资源块中选择一个传输资源单元;a selecting unit, configured to select one transmission resource unit from the random access resource blocks;
第三发送单元,用于通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源。a third sending unit, configured to send, by using the selected transmission resource unit, the first indication message to an access point, where the first indication message includes identifier information of the site, so that the access point verifies the When the first indication message is a valid first indication message, the uplink channel resource is allocated to the station in an uplink scheduling period of the channel resource of the access point according to the first indication message.
结合本发明实施例第四方面,在本发明实施例第四方面的第一种实现方式中,选择单元具体用于:With reference to the fourth aspect of the embodiments of the present invention, in a first implementation manner of the fourth aspect of the embodiments, the selecting unit is specifically configured to:
通过预设规则计算出所述站点标识信息的对应值,从随机接入资源块包括的设有序号的所述至少一个传输资源单元中选择序号与所述对应值相对应的一个传输资源单元。And calculating, by using a preset rule, a corresponding value of the site identifier information, and selecting, from the at least one transmission resource unit with the sequence number included in the random access resource block, a transmission resource unit whose sequence number corresponds to the corresponding value.
结合本发明实施例第四方面以及第四方面的第一种实现方式,在本发明实施例第四方面的第二种实现方式中,其特征在于,所述站点还包括:With reference to the fourth aspect of the embodiments of the present invention, and the first implementation manner of the fourth aspect, the second implementation manner of the fourth aspect of the embodiments of the present invention is characterized in that:
第四接收单元,用于通过所述选择的传输资源单元向接入点发送所述第一指示消息之后,接收所述接入点发送的第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于所述接入点为所述站点指示发送第二指示消息的信道资源;所述第二指示消息携带所述站点所需要的上行信道资源的大小;a fourth receiving unit, configured to: after sending the first indication message to the access point by using the selected transmission resource unit, receive a second downlink frame sent by the access point, where the second downlink frame includes a second Instructing information, the second indication information is used by the access point to indicate, by the station, a channel resource that sends a second indication message, where the second indication message carries a size of an uplink channel resource required by the station;
第四发送单元,用于根据所述第二指示信息所指示的信道资源向所述接入点发送所述第二指示消息,以便所述接入点根据所述第二指示消息中包含的所述站点所需要的上行信道资源的大小,在所述接入点的信道资源的上行调度期内给所述站点分配所需的上行信道资源。a fourth sending unit, configured to send the second indication message to the access point according to the channel resource indicated by the second indication information, so that the access point is included according to the second indication message The size of the uplink channel resource required by the station is allocated to the station for the required uplink channel resource during the uplink scheduling period of the channel resource of the access point.
结合本发明实施例第四方面以及第四方面的第一种实现方式,在本发明实施例第四方面的第三种实现方式中,所述站点还包括:With reference to the fourth aspect of the embodiments of the present invention and the first implementation manner of the fourth aspect, in a third implementation manner of the fourth aspect of the embodiments, the site further includes:
获取单元,用于所述站点从所述随机接入资源块中选择一个传输资源单元之前,若所述站点与所述接入点未关联,则所述站点从标识空间内获取临时标识信息,所述站点的标识信息具体为所述临时标识信息。An obtaining unit, configured to obtain temporary identification information from the identification space, if the site is not associated with the access point, before the station selects one transmission resource unit from the random access resource block, The identification information of the site is specifically the temporary identifier information.
本发明实施例提供了一种用于资源分配的方法、接入点及站点,用于合理高效地对上行信道资源进行分配,包括:接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述站点发送第一指示消息,所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息,所述第一指示消息用于指示所述第一站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息,所述接入点验证所述第一指示消息是否为有效第一指示消息,若是,则根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源。这样,接入点不需要像现有技术中那样一个个地去询问站点是否有上行数据要发送,而是通过OFDMA机制就可以接收多个站点并行发送的用于指示站点有上行数据需要传输的第一指示消息,就可以很快知道哪些站点有上行数据要发送,提高了查询的效率,进而提高了信道资源分配的效率;同时,接入点可根据实际情况合理分配各站点的上行信道资源,有利于节省信道资源以及系统开销。The embodiment of the present invention provides a method, an access point, and a site for resource allocation, which are used to allocate uplink channel resources reasonably and efficiently, including: the access point sends a first downlink frame, and the first The first frame of the first indication information is used to indicate, for the at least one station, the information of the random access resource block included in the uplink scheduling period of the channel resource of the access point, the random connectionThe ingress resource block includes at least one transmission resource unit, the at least one transmission resource unit is configured to send, by the station, a first indication message, where the access point receives the one by using one of the at least one transmission resource unit The first indication message sent by the first station in the at least one station, the first indication message is used to indicate that the first station has an uplink channel resource requirement, and the first indication message includes the first station Identification information, the access point verifies whether the first indication message is a valid first indication message, and if yes, according to the first indication message, in an uplink scheduling period of the channel resource of the access point, The first station allocates uplink channel resources. In this way, the access point does not need to query the station to send uplink data one by one as in the prior art, but can receive multiple sites simultaneously sent by the OFDMA mechanism to indicate that the station has uplink data to be transmitted. The first indication message can quickly know which stations have uplink data to be sent, which improves the efficiency of the query and improves the efficiency of channel resource allocation. Meanwhile, the access point can reasonably allocate the uplink channel resources of each station according to actual conditions. It is beneficial to save channel resources and system overhead.
附图说明DRAWINGS为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例中用于资源分配的方法的一个实施例的示意图;1 is a schematic diagram of an embodiment of a method for resource allocation in an embodiment of the present invention;
图2为本发明实施例中用于资源分配的方法的另一个实施例的示意图;2 is a schematic diagram of another embodiment of a method for resource allocation in an embodiment of the present invention;
图3为本发明实施例中用于资源分配的方法的另一个实施例的示意图;3 is a schematic diagram of another embodiment of a method for resource allocation in an embodiment of the present invention;
图4为本发明实施例中用于资源分配的方法的另一个实施例的示意图;4 is a schematic diagram of another embodiment of a method for resource allocation in an embodiment of the present invention;
图5为本发明实施例中用于资源分配的方法的另一个实施例的示意图;FIG. 5 is a schematic diagram of another embodiment of a method for resource allocation according to an embodiment of the present invention; FIG.
图6为本发明实施例中用于资源分配的方法的另一个实施例的示意图;FIG. 6 is a schematic diagram of another embodiment of a method for resource allocation according to an embodiment of the present invention; FIG.
图7为本发明实施例中用于资源分配的接入点的一个实施例的示意图;FIG. 7 is a schematic diagram of an embodiment of an access point used for resource allocation according to an embodiment of the present invention; FIG.
图8为本发明实施例中用于资源分配的接入点的另一个实施例的示意图;FIG. 8 is a schematic diagram of another embodiment of an access point for resource allocation according to an embodiment of the present invention; FIG.
图9为本发明实施例中用于资源分配的接入点的另一个实施例的示意图;FIG. 9 is a schematic diagram of another embodiment of an access point for resource allocation according to an embodiment of the present invention; FIG.
图10为本发明实施例中用于资源分配的接入点的另一个实施例的示意图;FIG. 10 is a schematic diagram of another embodiment of an access point for resource allocation according to an embodiment of the present invention; FIG.
图11为本发明实施例中用于资源分配的站点的一个实施例的示意图;11 is a schematic diagram of an embodiment of a site for resource allocation in an embodiment of the present invention;
图12为本发明实施例中用于资源分配的站点的另一个实施例的示意图;FIG. 12 is a schematic diagram of another embodiment of a site for resource allocation according to an embodiment of the present invention; FIG.
图13为本发明实施例中用于资源分配的接入点的另一个实施例的示意图;FIG. 13 is a schematic diagram of another embodiment of an access point for resource allocation according to an embodiment of the present invention; FIG.
图14为本发明实施例中用于资源分配的站点的另一个实施例的示意图;14 is a schematic diagram of another embodiment of a site for resource allocation in an embodiment of the present invention;
图15为本发明实施例中资源分配设备应用场景的一个实施例的示意图。FIG. 15 is a schematic diagram of an embodiment of a resource distribution device application scenario according to an embodiment of the present invention.
具体实施方式detailed description本发明实施例提供了一种用于资源分配的方法、接入点及站点,用于合理高效得对上行信道资源进行分配。The embodiment of the invention provides a method, an access point and a site for resource allocation, which are used for reasonably efficient allocation of uplink channel resources.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参照图1所示,本发明实施例中用于资源分配的方法一个实施例包括:Referring to FIG. 1 , an embodiment of a method for resource allocation in an embodiment of the present invention includes:
101、接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;101. The access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate, at least one station, an uplink of channel resources at the access point. The information of the random access resource block included in the scheduling period, the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used by the at least one station to send the first indication message;
本发明实施例中,在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the embodiment of the present invention, in the downlink frame, the information including the uplink scheduling period includes the random access resource block allocated by the access point for the station in the uplink scheduling period (such as a period corresponding to the whole or part of the channel spectrum), Specifically, the address of the random access resource block allocated by the access point included in the uplink scheduling period for the station may be indicated in the head of the downlink frame, that is, the channel resource window indication arranged according to the uplink scheduling period in the header of the downlink frame. After the random access resource block information allocated for the station is obtained, the access point determines the information of the channel resource window included in the uplink scheduling period before receiving the uplink frame sent by the station in the uplink scheduling period.
102、所述接入点通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;102. The access point receives, by using one of the at least one transmission resource unit, the first indication message sent by a first station in the at least one station.
第一指示消息用于指示所述站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波,一组子载波即为一个子信道,因为有若干个站点存在上行缓存数据,所以需要将随机接入资源块划分为若干个传输资源单元(如若干个子信道)。需要说明的是,随机接入资源块是专门提供给与接入点关联以及未关联的站点用于接入的资源块。The first indication message is used to indicate that the site has an uplink channel resource requirement, and the first indication message includes identifier information of the first site. In the process of signal transmission, the signal is not directlyTransmission, but the signal interacts with a fixed-frequency wave. This process is called loading. Such a fixed-frequency wave is called a carrier, and a group of sub-carriers is a sub-channel because there are several stations that have uplinks. The data is buffered, so the random access resource block needs to be divided into several transmission resource units (such as several subchannels). It should be noted that the random access resource block is specifically provided to the resource block that is associated with the access point and is not associated with the site for access.
103、所述接入点验证所述第一指示消息是否为有效第一指示消息,若是,则执行104,若否,则可以结束流程,如可丢弃接收到的所述第一指示消息;103. The access point verifies whether the first indication message is a valid first indication message, and if yes, performs 104. If not, the process may be ended, for example, the received first indication message may be discarded;
因为在信号的传输过程中,接入点可能会接收到其他不相关的站点所发送的消息,或者是来自其它通信设备的干扰信号,为了确保信息的正确性,则可对接收到的消息进行验证,若验证为相关的站点发送的第一指示消息,则可以认为该第一指示消息有效,再做后续的上行信道资源分配操作。Because during the transmission of the signal, the access point may receive messages sent by other unrelated stations, or interference signals from other communication devices, in order to ensure the correctness of the information, the received message may be It is verified that if the first indication message sent by the relevant station is verified, the first indication message may be considered as valid, and then the subsequent uplink channel resource allocation operation is performed.
104、根据所述第一指示消息在所述接入点的信道资源的上行调度帧中为所述第一站点分配上行信道资源;104. Allocate an uplink channel resource to the first station in an uplink scheduling frame of a channel resource of the access point according to the first indication message.
当多个站点通过OFDMA机制并行向接入点发送第一指示消息后,接入点即可根据实际情况合理分配各站点的上行信道资源。After multiple stations send the first indication message to the access point in parallel through the OFDMA mechanism, the access point can reasonably allocate the uplink channel resources of each station according to actual conditions.
本发明实施例中,接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述传输资源单元用于所述站点发送第一指示消息,所述接入点通过所述传输资源单元中的一个传输资源单元接收所述站点发送的所述第一指示消息,所述第一指示消息用于指示所述站点有上行信道资源需求,所述第一指示消息包括所述站点的标识信息,所述接入点验证所述第一指示消息是否为有效第一指示消息,若是,则根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源。这样,接入点不需要像现有技术中那样一个个地去询问站点是否有上行数据要发送,本发明实施例中,接入点广播一个第一下行帧后,各个接收到所述第一下行帧的站点可以根据其中指示的随机接入资源块的信息,在各站点所对应的信道资源上,向所述接入点发送用于指示所述站点有上行信道资源需求的第一指示消息,接入点可以接收多个站点通过OFDMA机制并行发送的用于指示站点有上行数据需要传输的第一指示消息,就可以很快知道哪些站点有上行数据要发送,提高了对站点进行查询的效率,进而提高了信道资源分配的效率;同时,接入点可根据实际情况合理分配各站点的上行信道资源,有利于节省信道资源以及系统开销。In the embodiment of the present invention, the access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate at the at least one site at the access point. Information about a random access resource block included in an uplink scheduling period of the channel resource, where the random access resource block includes at least one transmission resource unit, where the transmission resource unit is used by the station to send a first indication message, where the connection Receiving, by the one of the transmission resource units, the first indication message sent by the station, where the first indication message is used to indicate that the station has an uplink channel resource requirement, the first indication The message includes the identifier information of the site, and the access point verifies whether the first indication message is a valid first indication message, and if yes, the channel resource of the access point is uplinked according to the first indication message. The uplink channel resources are allocated to the station during the scheduling period. In this way, the access point does not need to query the station to have uplink data to be sent one by one as in the prior art. In the embodiment of the present invention, after the access point broadcasts a first downlink frame, each of the access points receives the first A station of a downlink frame may send, according to the information of the random access resource block indicated therein, a first channel to the access point to indicate that the station has an uplink channel resource requirement, on a channel resource corresponding to each station. Instructing the message, the access point may receive the first indication message that is sent by the multiple stations in parallel through the OFDMA mechanism to indicate that the station has uplink data to be transmitted, so that it can quickly know which stations have uplink data to send, and improve the pair.The efficiency of the query is improved by the site, and the efficiency of channel resource allocation is improved. At the same time, the access point can allocate the uplink channel resources of each site according to the actual situation, which is beneficial to save channel resources and system overhead.
上述实施例中,描述了接入点在下行帧中指示在信道资源的上行调度期内包含随机接入资源块的信息,接入点通过被划分为若干个传输资源单元的所述随机接入资源块接收所述站点发送的所述第一指示消息,在实际应用中,接入点在下行帧的物理帧头中指示在所述信道资源的上行调度期内包含随机接入资源块的信息,所述接入点通过被划分为若干个设有序号的传输资源单元接收所述站点按照预设的规则选择对应序号的传输资源单元所发送的所述第一指示消息,接入点通过第一指示消息中的标识信息验证第一指示消息是否为有效第一指示消息。下面对接入点对第一指示消息的验证与对信道资源的分配进行具体描述,请参照图2所示,本发明实施例中用于资源分配的方法的另一个实施例包括:In the foregoing embodiment, the information that the access point indicates that the random access resource block is included in the uplink scheduling period of the channel resource in the downlink frame is described, and the access point passes the random access that is divided into several transmission resource units. The resource block receives the first indication message sent by the station, and in an actual application, the access point indicates, in a physical frame header of the downlink frame, information that includes a random access resource block in an uplink scheduling period of the channel resource. The access point receives the first indication message sent by the transmission resource unit corresponding to the sequence number according to a preset rule by the transmission resource unit divided into a plurality of sequence numbers, and the access point passes the The identification information in an indication message verifies whether the first indication message is a valid first indication message. The following is a description of the authentication of the first indication message and the allocation of the channel resource by the access point. Referring to FIG. 2, another embodiment of the method for resource allocation in the embodiment of the present invention includes:
201、接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于在下行帧的物理帧头中为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;201. The access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate, in the physical frame header of the downlink frame, the at least one site. Information about a random access resource block included in an uplink scheduling period of a channel resource of the access point, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used to send the at least one station First indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容,如在下行调度帧头部的SIG(signal)区域,可用三个二进制位“011”,则表示在上行信道资源调度期的开始部分有包含3个时间槽(time slot)的信道资源窗口,站点可通过这3个时间槽的信道资源窗口(随机接入资源块)中的信道资源(传输资源单元)随机访问或使用信道,需要使用信道的站点(STA)可选择一个或多个子信道(即子载波)在对应的一个时间槽内发送消息。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问和使用的资源块。In the downlink frame, the uplink scheduling period information is included, and the uplink access resource block allocated by the access point for the station (such as a period corresponding to the whole or part of the channel spectrum) and the physical frame in the downlink frame are included in the uplink scheduling period. The header indicates the random access resource block information allocated by the access point included in the uplink scheduling period for the station, that is, the channel resource allocation is set according to the channel resource block window arranged in the uplink scheduling period in the physical frame header of the downlink frame. information. During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The ingress point has a higher priority of occupying the channel resource, so the access point (AP) first transmits the downlink scheduling frame or the data frame, and the physical frame header of the downlink scheduling frame or the physical frame of the downlink data frame. The header sets the uplink channel resource indication information according to the channel resource window corresponding to the uplink scheduling period. In this embodiment, the AP may include random access in the uplink scheduling period of the channel resource indicating the physical frame header or the physical frame data part of the downlink scheduling frame (or the downlink data frame). CapitalThe information of the source block, the physical frame data part is the content of the MAC layer frame. For example, in the SIG (signal) area of the downlink scheduling frame header, three binary bits "011" are used, indicating the beginning of the uplink channel resource scheduling period. A portion has a channel resource window including three time slots, and the station can randomly access or use the channel through channel resources (transmission resource units) in the channel resource window (random access resource block) of the three time slots. A station (STA) that needs to use a channel may select one or more subchannels (ie, subcarriers) to transmit a message within a corresponding time slot. It should be noted that the random access resource block may provide resource blocks for channel access and use for sites associated with the access point and unassociated sites.
202、所述接入点通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;202. The access point receives, by using one of the at least one transmission resource unit with a sequence number, the first station in the at least one site, by using the preset number according to a preset rule. The first indication message sent by the selected one of the at least one transmission resource unit;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个传输资源单元可以预先设置序号,以供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, the random access resource block needs to be divided into several transmission resource units (such as several subchannels). Preferably, the divided transmission resource units may be preset with a sequence number for site selection. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
因为在信号的传输过程中,会存在很多调度帧在进行信息传输,接入点可能会接收到其他不相关的站点所发送的消息或者干扰信号,为了确保信息的正确性,则可对接收到的消息进行验证确定,再做后续的分配操作。Because in the transmission process of the signal, there will be many scheduling frames in the information transmission, the access point may receive messages or interference signals sent by other unrelated stations, in order to ensure the correctness of the information, it can be received The message is verified and confirmed, and then the subsequent allocation operation.
为了对接入点所接收到的第一指示信息进行验证,以保证第一指示消息的有效性,本发明实施例示例性地提供了一种对第一指示信息进行验证的方法,如步骤203和204所示。In order to verify the first indication information received by the access point to ensure the validity of the first indication message, the embodiment of the present invention exemplarily provides a method for verifying the first indication information, such asstep 203. And 204 are shown.
203、接入点通过预设规则计算出所述第一站点的标识信息的对应值;203. The access point calculates, by using a preset rule, a corresponding value of the identifier information of the first site.
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The algorithm calculates the identification information of the site to obtain a hash value, and the site can select a corresponding transmission resource unit by using the calculated hash value, such as a corresponding hash value as a serial number.Transfer resource unit. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
204、判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配,若是,则执行205;若否,则可以结束流程,如可丢弃接收到的所述第一指示消息。204. Determine whether the corresponding value matches the sequence number of the transmission resource unit that the access point receives the first indication message, and if yes, execute 205; if not, end the process, such as discarding and receiving The first indication message to the arrival.
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值如上例中所述的“8”,进而选择对应序号的8号传输资源单元,通过8号传输资源单元向所述接入点发送第一指示消息,接入点可以通过8号传输资源单元接收到所述站点发送的第一指示消息。所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与用于传输所述第一指示消息的传输资源单元的序号是否匹配来确定第一指示消息是否有效,即,若所述对应值能与接收到所述第一指示消息的传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与接收到所述第一指示消息的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息(即,接入点通过8号传输资源单元接收到第一指示消息),计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The units are sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding number 8 transmission resource according to the corresponding value of the identification information of the site as described in the above example "8". And sending, by the No. 8 transmission resource unit, the first indication message to the access point, where the access point may receive the first indication message sent by the station by using the No. 8 transmission resource unit. Therefore, the access point may determine whether the first indication message is valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit used for transmitting the first indication message, that is, if the The corresponding value can be matched with the sequence number of the transmission resource unit that receives the first indication message, and the first indication message is determined to be valid, if the corresponding value is related to the transmission resource unit that receives the first indication message. If the serial number does not match, it is invalid. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8 (that is, the access point receives the first indication message through the No. 8 transmission resource unit), and calculates association information of the site in the first indication message. The corresponding value of "8" indicates that the corresponding value of the associated information of the station matches the serial number of the transmission unit.
205、所述接入点根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配预设长度的上行信道资源;或,所述第一指示消息还包括所述第一站点所需要的上行信道资源的大小(或所述第一站点需上行传输的缓存数据的大小),所述接入点根据所述第一指示消息中包含的所述第一站点所需求的上行信道资源的大小在所述接入点的信道资源的上行调度期内为所述第一站点分配所需的上行信道资源;205. The access point allocates, according to the first indication message, an uplink channel resource of a preset length to the first station in an uplink scheduling period of the channel resource of the access point; or, the first indication The message further includes a size of the uplink channel resource required by the first station (or a size of the cached data that the first station needs to transmit in the uplink), where the access point is included according to the first indication message The size of the uplink channel resource required by the first station allocates the required uplink channel resource to the first station during an uplink scheduling period of the channel resource of the access point;
当多个站点通过OFDMA机制并行向接入点发送的第一指示消息后,接入点确定第一指示消息是有效的后,接入点即可根据实际情况给各站点分配预设长度的上行信道资源,如平均给每个站点分配10ms的信道资源,若部分站点的上行缓存数据未能一次性传输完毕,则可以在下一次分配的信道资源中继续进行传输,或者当所述第一指示消息还包括所述站点所需要的上行信道资源信息时,也可以根据所述第一指示消息中包含的所述站点所需要的上行信道资源信息在所述接入点的信道资源的上行调度期内为所述站点分配所需的上行信道资源。After the first indication message sent by the multiple sites to the access point in parallel by the OFDMA mechanism, after the access point determines that the first indication message is valid, the access point may assign each station a preset length of uplink according to the actual situation. Channel resources, such as averaging 10ms of channel resources for each site. If the uplink buffer data of some sites fails to be transmitted at one time, it can continue in the next allocated channel resource.Performing the transmission, or when the first indication message further includes the uplink channel resource information required by the station, according to the uplink channel resource information required by the station included in the first indication message, The uplink channel resources required for the station are allocated during the uplink scheduling period of the channel resources of the access point.
本发明实施例中,接入点接收到站点发送的第一指示消息后,对站点的标识信息进行计算得到对应值,并通过判断所得到的对应值是否与传输资源单元的序号是否对应确定第一指示消息的有效性,这样,接入点对站点所发送的第一指示消息进行了一个验证过程,确保了所接收到的消息是准确的,避免了接入点可能接收到错误的第一指示消息而不合理地分配信道资源。另外,接入点根据第一指示消息在上行调度期内为所述站点分配预设长度的上行信道资源或者根据所述第一指示消息中包含的上行资源需求为所述站点分配所需的信道资源,这样,提高了信息传输的效率。In the embodiment of the present invention, after receiving the first indication message sent by the station, the access point calculates the corresponding value of the identifier information of the site, and determines whether the corresponding value is corresponding to the sequence number of the transmission resource unit. An indication of the validity of the message, such that the access point performs a verification process on the first indication message sent by the station, ensuring that the received message is accurate, and avoiding that the access point may receive the wrong first The indication message unreasonably allocates channel resources. In addition, the access point allocates a preset length of the uplink channel resource to the station according to the first indication message, or allocates the required channel to the station according to the uplink resource requirement included in the first indication message. Resources, in this way, improve the efficiency of information transmission.
上述实施例中,描述了接入点验证站点所发送的第一指示消息,并根据第一指示消息对站点进行资源分配,在实际应用中,接入点还可以再获取站点的所需要的上行信道资源,再根据所需要的上行信道资源对站点进行资源分配,下面对接入点获取站点的所需要上行信道资源以及根据所需要的上行信道资源对站点进行资源分配做具体描述,请参照图3所示,本发明实施例中用于资源分配的方法的另一个实施例包括:In the foregoing embodiment, the first indication message sent by the access point verification site is described, and the resource is allocated to the site according to the first indication message. In an actual application, the access point may further acquire the required uplink of the site. Channel resources, and then allocate resources to the stations according to the required uplink channel resources. The following describes the access resources needed by the access point to acquire the uplink channel resources of the station and allocate resources according to the required uplink channel resources. As shown in FIG. 3, another embodiment of a method for resource allocation in an embodiment of the present invention includes:
301、接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于在下行帧的物理帧头中为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;301. The access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate, in the physical frame header of the downlink frame, the at least one site. Information about a random access resource block included in an uplink scheduling period of a channel resource of the access point, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used to send the at least one station First indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(对应整个或部分信道频谱的一段时间),而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容,如在下行调度帧头部的SIG(signal)区域,可用三个二进制位“011”,则表示在上行信道资源调度期的开始部分有包含3个时间槽(time slot)的信道资源窗口,站点可通过这3个时间槽的信道资源窗口(随机接入资源块)中的信道资源(传输资源单元)随机访问或使用信道,需要使用信道的站点(STA)可选择一个或多个子信道(即子载波)在对应的一个时间槽内发送消息。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问和使用的资源块。In the downlink frame, the uplink scheduling period information is included, and the uplink access resource block (the time period corresponding to the whole or part of the channel spectrum) allocated by the access point for the station is included in the uplink scheduling period, and the physical frame header of the downlink frame is included in the downlink scheduling period. The department indicates that the access point included in the uplink scheduling period is the random access resource block information allocated by the station, that is, the channel resource allocation information is set according to the channel resource block window arranged in the uplink scheduling period in the physical frame header of the downlink frame. . During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The entry point has a higher occupied channelThe priority of the source, so the access point (AP) first transmits the downlink scheduling frame or the data frame, and the physical frame header of the downlink scheduling frame or the physical frame header of the downlink data frame is according to the channel corresponding to the uplink scheduling period. The resource window sets the uplink channel resource indication information. In this embodiment, the AP may include random access in the uplink scheduling period of the channel resource indicating the physical frame header or the physical frame data part of the downlink scheduling frame (or the downlink data frame). The information of the resource block, the physical frame data part is the content of the MAC layer frame. For example, in the SIG (signal) area of the downlink scheduling frame header, three binary bits "011" are available, indicating the beginning of the uplink channel resource scheduling period. A portion has a channel resource window including three time slots, and the station can randomly access or use the channel through channel resources (transmission resource units) in the channel resource window (random access resource block) of the three time slots. A station (STA) that needs to use a channel may select one or more subchannels (ie, subcarriers) to transmit a message within a corresponding time slot. It should be noted that the random access resource block may provide resource blocks for channel access and use for sites associated with the access point and unassociated sites.
302、所述接入点通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;302. The access point receives, by using one of the at least one transmission resource unit with a sequence number, the first station in the at least one site, by using the preset number according to a preset rule. The first indication message sent by the selected one of the at least one transmission resource unit;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个传输资源单元可以预先设置序号,如按照频率高低对子载波组从1开始进行顺序编号为第1子信道,第2子信道,第3子信道等,以提供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, it is necessary to divide the random access resource block (such as the channel resource window) into several transmission resource units (such as several subchannels). Preferably, the divided transmission resource units may be preset with a sequence number, for example, the subcarrier groups are sequentially numbered from 1 to the first subchannel, the second subchannel, the third subchannel, etc. according to the frequency level to provide a site. select. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
因为在信号的传输过程中,会存在很多调度帧在进行信息传输,接入点可能会接收到其他不相关的站点所发送的消息或者干扰信号,为了确保信息的正确性,则可对接收到的消息进行验证确定,再做后续的分配操作。Because in the transmission process of the signal, there will be many scheduling frames in the information transmission, the access point may receive messages or interference signals sent by other unrelated stations, in order to ensure the correctness of the information, it can be received The message is verified and confirmed, and then the subsequent allocation operation.
为了对接入点所接收到的第一指示信息进行验证,以保证第一指示消息的有效性,本发明实施例示例性地提供了一种对第一指示信息进行验证的方法,如步骤303和304所示。In order to verify the first indication information received by the access point to ensure the validity of the first indication message, the embodiment of the present invention exemplarily provides a method for verifying the first indication information.As shown insteps 303 and 304.
303、接入点通过预设规则计算出所述第一站点的标识信息的对应值;303. The access point calculates, by using a preset rule, a corresponding value of the identifier information of the first site.
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应序号的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The algorithm calculates the identification information of the site to obtain a hash value, and the station can select the transmission resource unit of the corresponding sequence number by using the calculated hash value, such as the corresponding hash value as the transmission resource unit of the sequence number. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
304、判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配,若是,则执行305;若否,则可以结束流程,如可丢弃接收到的所述第一指示消息。304. Determine whether the corresponding value matches the sequence number of the transmission resource unit that the access point receives the first indication message, and if yes, execute 305; if not, the process may end, such as discarding reception The first indication message to the arrival.
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效,若所述对应值能与第一指示消息通过传输资源单元传输的所述传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与所述第一指示消息通过传输资源单元传输的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The unit is sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding 8th transmission resource unit according to the corresponding value of the identification information of the station, such as "8", so the access point Determining whether the first indication message is valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit, if the corresponding value can be transmitted with the first indication message by using the transmission resource unit. If the sequence number of the transmission resource unit matches, it is determined that the first indication message is valid, and the corresponding value is invalid if the sequence number of the transmission resource unit transmitted by the transmission resource unit does not match the first indication message. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
305、所述接入点向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;305. The access point sends a second downlink frame to the first station, where the second downlink frame includes second indication information, where the second indication information is used to indicate, for the first site, that The first station sends the channel resource of the second indication message; the second indication message carries the size of the uplink channel resource required by the first station or the size of the cache data that needs to be uplink transmitted by the first station;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小信息或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the site, and after determining that the first indication message is valid, the access point may send theThe second downlink frame of the uplink channel resource scheduling information indicates that the station sends the buffered data size information or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
306、所述接入点接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;306. The access point receives the second indication message that is sent by the first station according to the channel resource indicated by the second indication information.
需要说明的是,接入点接收站点所发送的携带所述站点所需要的上行信道资源信息的第二指示消息,除可按照现有802.11标准中定义的接收方式正常接收外,也可通过接收第一指示消息的方式来接收。第二指示消息中携带了站点的标识信息,接入点可对第二指示消息再次进行验证,具体不做赘述。另要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息的传输资源单元有助于有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。It should be noted that the second indication message that is sent by the access point to receive the uplink channel resource information required by the station, which can be received normally according to the receiving mode defined in the existing 802.11 standard, may also be received. The first indication message is received in a manner. The second indication message carries the identifier information of the site, and the access point can verify the second indication message again, and details are not described herein. It is to be noted that, in this step, the station carries the required uplink channel resource size information by using the second indication message, and the comparison station directly carries the required uplink channel resource size information in the first indication message, and reduces the scheme. The channel resource occupied by the first identifier message is sent by the station, that is, the size of the transmission resource unit used for transmitting the first indication message is reduced, so that the same number of stations (STAs) are sent to send the first indication message. Can occupy smaller random access channel resource blocks, because not every allocated random access channel resource block can be used all at all (requires depending on how many uplink transmission needs the site, and this number of access points in advance It is not known), therefore, allocating a small transmission resource unit for transmitting the first indication message helps to reduce the size of the random access channel resource block and improve the channel use efficiency of the entire communication system.
307、所述接入点根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源;307. The access point is configured according to the size of the uplink channel resource required by the first station included in the second indication message or the size of the cache data that needs to be uplink transmitted by the first station. Allocating uplink channel resources to the first station during an uplink scheduling period of the channel resources of the point;
当多个站点通过OFDMA机制并行向接入点发送携带站点所需要的上行信道资源信息的第二指示消息后,并且接入点确定第二指示消息是有效的后,接入点即可根据实际情况给各站点分配相应大小的上行信道资源。After the multiple stations send the second indication message carrying the uplink channel resource information required by the station to the access point in parallel through the OFDMA mechanism, and the access point determines that the second indication message is valid, the access point may be based on the actual The situation allocates corresponding channel uplink channel resources to each station.
本发明实施例中,接入点接收到站点存在上行缓存数据的指示消息后,进一步获取站点的所需要的上行信道资源信息,则可根据站点所需要的上行信道资源信息给站点分配相对应大小的信道资源,这样,使得信道资源得到合理利用,提高了传输效率。In the embodiment of the present invention, after receiving the indication message that the site has the uplink buffer data, the access point further obtains the required uplink channel resource information of the station, and may allocate the corresponding size to the site according to the uplink channel resource information required by the station. The channel resources are such that the channel resources are rationally utilized and the transmission efficiency is improved.
上述实施例中,描述了接入点在下行帧的物理帧头中指示在所述信道资源的上行调度期内包含随机接入资源块的信息,在实际应用中,接入点还可以在下行帧物理帧头部的SIG字段中或者在MAC层帧中用若干个标志位和指示位指示在信道资源的上行调度期内包含随机接入资源块的信息,下面对接入点在下行帧物理帧头部的SIG字段中或者在MAC层帧中用标志位和指示位指示在信道资源的上行调度期内包含随机接入资源块的信息进行具体描述,请参照图4所示,本发明实施例中用于资源分配的方法的另一个实施例包括:In the foregoing embodiment, the access point indicates that the access point includes the information of the random access resource block in the uplink scheduling period of the channel resource in the physical frame header of the downlink frame. In actual applications, the access point may also be in the downlink. A number of flag bits and indicator bits in the SIG field of the frame physical frame header or in the MAC layer frameIndicates that the information of the random access resource block is included in the uplink scheduling period of the channel resource, and the access point indicates the channel in the SIG field of the physical frame header of the downlink frame or in the MAC layer frame by using a flag bit and an indication bit. For example, as shown in FIG. 4, another embodiment of the method for resource allocation in the embodiment of the present invention includes:
401、接入点发送第一下行帧,在所述第一下行帧的物理帧头部的SIG字段中或者物理帧数据部分中携带有标志位和指示位,所述标志位用于指示在信道资源的上行调度期内包含有随机接入资源块,所述指示位用于指示随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;401. The access point sends a first downlink frame, where the SIG field of the physical frame header of the first downlink frame or the physical frame data part carries a flag bit and an indication bit, where the flag bit is used to indicate Having a random access resource block in an uplink scheduling period of the channel resource, the indicator bit is used to indicate information of a random access resource block, the random access resource block includes at least one transmission resource unit, and the at least one transmission The resource unit is configured to send, by the at least one station, a first indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块,如对应整个或部分信道频谱的一段时间,而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部的SIG字段中或在MAC层帧中根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问的资源块。In the downlink frame, the uplink scheduling period information is included, and the random access resource block allocated by the access point to the station is included in the uplink scheduling period, such as a period corresponding to the whole or part of the channel spectrum, and the physical frame header in the downlink frame. The part indicates the random access resource block information allocated by the access point included in the uplink scheduling period to the station, that is, in the SIG field of the physical frame header of the downlink frame or in the MAC layer frame according to the uplink scheduling period. The channel resource block window sets channel resource allocation information. During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The ingress point has a higher priority of occupying the channel resource, so the access point (AP) first transmits the downlink scheduling frame or the data frame, and the physical frame header of the downlink scheduling frame or the physical frame of the downlink data frame. The header sets the uplink channel resource indication information according to the channel resource window corresponding to the uplink scheduling period. In this embodiment, the AP may include random access in the uplink scheduling period of the channel resource indicating the physical frame header or the physical frame data part of the downlink scheduling frame (or the downlink data frame). The information of the resource block, the physical frame data part is the content of the MAC layer frame. It should be noted that the random access resource block may provide a resource block for channel access for the site associated with the access point and the unassociated site.
402、所述第一站点接收到所述接入点发送的下行帧后,通过所述标志位判断所述上行调度期是否包含随机接入资源块,若是,则执行403,若否,则可以确定不能在上行调度期发送所述第一指示消息;After receiving the downlink frame sent by the access point, the first station determines, by using the flag bit, whether the uplink scheduling period includes a random access resource block, and if yes, executing 403, if not, Determining that the first indication message cannot be sent in an uplink scheduling period;
由于接入点首先处理的是下行帧,而在下行的调度帧或下行的数据帧的物理帧头部或物理帧数据部分指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容,则接入点可以在处理上行调度帧之前,就得到了上行调度帧包含的信道资源窗口的信息,如在调度帧头部的SIG-1域中,用1个二进制位“1”表示在上行信道资源部分安排有供站点随机接入的上行信道资源窗口,窗口的时间和大小可以进一步在SIG-2中指示,例如资源窗口指示可采用如下四元组格式:(开始频率,结束频率;开始时间,结束时间),然后可选地进一步指示(也可以采用预设的方式约定)窗口包含的时间槽(time slot)个数、每个时间槽包含的子载波数(即子信道)、子载波的分组信息等。Since the access point first processes the downlink frame, the physical frame header or the physical frame data portion of the downlink scheduling frame or the downlink data frame indicates the information of the random access resource block in the uplink scheduling period of the channel resource, and the physical frame The data part is the content of the MAC layer frame, then the access point can handle the uplink.Before scheduling the frame, the information of the channel resource window included in the uplink scheduling frame is obtained. For example, in the SIG-1 field of the scheduling frame header, one bit "1" is used to indicate that the station is randomly arranged in the uplink channel resource part. The access channel resource window, the time and size of the window can be further indicated in SIG-2. For example, the resource window indication can adopt the following quad format: (start frequency, end frequency; start time, end time), and then The location further indicates (may also adopt a preset manner) the number of time slots included in the window, the number of subcarriers included in each time slot (ie, subchannels), grouping information of subcarriers, and the like.
403、所述接入点通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;403. The access point receives, by using one of the at least one transmission resource unit with a sequence number, the first station in the at least one site, by using the preset number according to a preset rule. The first indication message sent by the selected one of the at least one transmission resource unit;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个第一指示消息传输资源单元可以预先设置序号,如按照频率高低对子载波组从1开始进行顺序编号为第1子信道,第2子信道,第3子信道等,以提供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, it is necessary to divide the random access resource block (such as the channel resource window) into several transmission resource units (such as several subchannels). Preferably, the plurality of first indication message transmission resource units that are divided may be preset with a sequence number, for example, the subcarrier groups are sequentially numbered from 1 to the first subchannel, the second subchannel, the third subchannel, etc. according to the frequency level. To provide site selection. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
因为在信号的传输过程中,会存在很多调度帧在进行信息传输,接入点可能会接收到其他不相关的站点所发送的消息或者干扰信号,为了确保信息的正确性,则可对接收到的消息进行验证确定,再做后续的分配操作。Because in the transmission process of the signal, there will be many scheduling frames in the information transmission, the access point may receive messages or interference signals sent by other unrelated stations, in order to ensure the correctness of the information, it can be received The message is verified and confirmed, and then the subsequent allocation operation.
为了对接入点所接收到的第一指示信息进行验证,以保证第一指示消息的有效性,本发明实施例示例性地提供了一种对第一指示信息进行验证的方法,如步骤404和405所示。In order to verify the first indication information received by the access point to ensure the validity of the first indication message, the embodiment of the present invention exemplarily provides a method for verifying the first indication information, such asstep 404. And 405 are shown.
404、接入点通过预设规则计算出所述第一站点的标识信息的对应值;404. The access point calculates, by using a preset rule, a corresponding value of the identifier information of the first site.
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应序号的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The algorithm calculates the identification information of the site to obtain a hash value, and the site canThe calculated hash unit is selected by the calculated hash value, such as a transmission resource unit corresponding to the hash value as the sequence number. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
405、判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配,若是,则执行406;若否,则可以结束流程,如可丢弃接收到的所述第一指示消息;405. Determine whether the corresponding value matches the sequence number of the transmission resource unit that the access point receives the first indication message, and if yes, perform 406; if not, end the process, such as discarding and receiving. The first indication message that arrives;
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效,若所述对应值能与第一指示消息通过传输资源单元传输的所述传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与所述第一指示消息通过传输资源单元传输的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The unit is sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding 8th transmission resource unit according to the corresponding value of the identification information of the station, such as "8", so the access point Determining whether the first indication message is valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit, if the corresponding value can be transmitted with the first indication message by using the transmission resource unit. If the sequence number of the transmission resource unit matches, it is determined that the first indication message is valid, and the corresponding value is invalid if the sequence number of the transmission resource unit transmitted by the transmission resource unit does not match the first indication message. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
406、所述接入点向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;406. The access point sends a second downlink frame to the first station, where the second downlink frame includes second indication information, where the second indication information is used to indicate, for the first site, that The first station sends the channel resource of the second indication message; the second indication message carries the size of the uplink channel resource required by the first station or the size of the cache data that needs to be uplink transmitted by the first station;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the station, and after determining that the first indication message is valid, the access point may send the uplink channel resource scheduling to the station. The second downlink frame of the information indicates that the station sends the buffered data size or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
407、所述接入点接收所述第一站点根据所述第二指示信息所指示的信道资源所发送所述第二指示消息;407. The access point receives, by the first station, the second indication message that is sent according to the channel resource indicated by the second indication information.
需要说明的是,接入点接收站点所发送的携带所述站点所需要的上行信道资源信息的第二指示消息,除可按照现有802.11标准中定义的接收方式正常接收外,也可通过接收第一指示消息的方式来接收。第二指示消息中携带了站点的标识信息,接入点可对第二指示消息再次进行验证,具体不做赘述。另要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息传的输资源单元有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。It should be noted that the access point receives the uplink channel required by the station to carry the station.The second indication message of the resource information may be received by receiving the first indication message, in addition to being normally received according to the receiving manner defined in the existing 802.11 standard. The second indication message carries the identifier information of the site, and the access point can verify the second indication message again, and details are not described herein. It is to be noted that, in this step, the station carries the required uplink channel resource size information by using the second indication message, and the comparison station directly carries the required uplink channel resource size information in the first indication message, and reduces the scheme. The channel resource occupied by the first identifier message is sent by the station, that is, the size of the transmission resource unit used for transmitting the first indication message is reduced, so that the same number of stations (STAs) are sent to send the first indication message. Can occupy smaller random access channel resource blocks, because not every allocated random access channel resource block can be used all at all (requires depending on how many uplink transmission needs the site, and this number of access points in advance It is not known), therefore, allocating a small transmission resource unit for transmitting the first indication message transmission helps to reduce the size of the random access channel resource block and improve the channel use efficiency of the entire communication system.
408、所述接入点根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源;408. The access point is configured according to a size of an uplink channel resource required by the first station included in the second indication message or a size of cache data that is to be uplink transmitted by the first station. Allocating uplink channel resources to the first station during an uplink scheduling period of the channel resources of the point;
当多个站点通过OFDMA机制并行向接入点发送携带所需要的上行信道资源信息的第二指示消息后,并且接入点确定第二指示消息是有效的后,接入点即可根据实际情况给各站点分配相应大小的上行信道资源。After the multiple stations send the second indication message carrying the required uplink channel resource information to the access point in parallel through the OFDMA mechanism, and the access point determines that the second indication message is valid, the access point may be based on actual conditions. Each station is allocated an uplink channel resource of a corresponding size.
需要说明的是,对于未关联的站点,接入点则为其分配用于发送初始入网消息(如probe request,探测请求/association request,关联请求等)的资源,接入点在为这些站点分配信道资源之前,需要先为站点确定一个身份标识,才能将信道资源指定给所述站点,确定站点的身份标识的方法,可以用站点发送上行指示消息时所使用的对应传输资源单元序号作为站点的身份标识,也可以用站点在标识空间内选择的临时标识作为站点的身份标识。比如一个未关联的站点,它会在临时标识空间内选用一个包括十六个二进制位的第一序列作为自身的临时关联标识,然后按照预设的规则根据所述第一序列计算得到一个包含8个二进制位的第二序列,如果该第二序列对应的十进制的值是“100”,站点则会选取序号是“100”的传输资源单元去发送第一指示消息,当接入点从序号是“100”的传输资源单元接收到所述第一指示消息之后,接入点分配资源的时候,可以用序号“100”作为为所述站点分配的资源的标识,也可以用所述站点所选取的十六个二进制位的所述第一序列做为为所述站点分配的资源的标识。It should be noted that, for an unassociated site, the access point allocates resources for sending initial network access messages (such as probe request, probe request, association request, etc.), and the access point allocates these sites. Before the channel resource, the method of determining the identity of the site to assign the channel resource to the site and determining the identity of the site may be used as the site by using the corresponding transmission resource unit number used by the site to send the uplink indication message. The identity identifier can also be used as the identity of the site by using the temporary identity selected by the site in the identity space. For example, an unassociated site selects a first sequence of sixteen binary bits in its temporary identification space as its own temporary association identifier, and then calculates an inclusion 8 according to the first sequence according to a preset rule. The second sequence of binary bits, if the decimal value corresponding to the second sequence is "100", the station selects the transmission resource unit whose sequence number is "100" to send the first indication message, when the access point is from the sequence number After the transmission resource unit of "100" receives the first indication message, when the access point allocates resources, the sequence number "100" may be used as the identifier of the resource allocated for the site, or may be used.The first sequence of sixteen binary bits selected by the site is used as an identifier of the resource allocated for the site.
本发明实施例中,接入点还可以在下行帧物理帧头部的SIG字段中或者在MAC层帧中用标志位和指示位指示在信道资源的上行调度期内包含的随机接入资源块的信息,指示位用于当标志位标识出接入点有为站点分配随机接入资源块(即在信道资源的上行调度期内包含有随机接入资源块)时,进一步指示出随机接入资源块的详细信息,如随机接入资源块对应的时间、大小、频谱等信息,例如,频谱信息可以用于指示出随机接入资源块的开始频率、结束频率;时间信息可以用于指示出随机接入资源块的开始时间以及结束时间;大小信息用于指示出随机接入资源块(如信道资源窗口窗口)包含的时间槽(time slot)个数、每个时间槽包含的子载波(即子信道)数、子载波的分组信息等。这样,对于接入点没有为站点分配随机接入资源块时,则可以只占用一个二进制位,如仅需在标志位中用“0”表示接入点没有为站点分配随机接入资源块,此时指示位可以为空,从而节省了信道资源,提高了传输效率。In the embodiment of the present invention, the access point may also indicate the random access resource block included in the uplink scheduling period of the channel resource by using the flag bit and the indicator bit in the SIG field of the physical frame header of the downlink frame or in the MAC layer frame. The information indicating that the indicator bit is used to indicate that the access point has allocated a random access resource block for the station (that is, the random access resource block is included in the uplink scheduling period of the channel resource), further indicating random access. The detailed information of the resource block, such as the time, size, and spectrum of the random access resource block. For example, the spectrum information may be used to indicate the start frequency and the end frequency of the random access resource block; the time information may be used to indicate The start time and the end time of the random access resource block; the size information is used to indicate the number of time slots included in the random access resource block (such as the channel resource window window), and the subcarriers included in each time slot ( That is, the number of subchannels, the grouping information of subcarriers, and the like. In this way, when the access point is not allocated a random access resource block for the station, only one binary bit can be occupied. For example, it is only necessary to use "0" in the flag bit to indicate that the access point does not allocate a random access resource block for the station. At this time, the indication bit can be empty, thereby saving channel resources and improving transmission efficiency.
请参照图5所示,本发明实施例中用于资源分配的方法的一个实施例包括:Referring to FIG. 5, an embodiment of a method for resource allocation in an embodiment of the present invention includes:
501、站点接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;501. The station receives a first downlink frame that is sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to indicate at least one site including the site. Information about a random access resource block included in an uplink scheduling period of a channel resource of an access point, where the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for the at least one site Sending a first indication message indicating that the station has an uplink channel resource requirement;
本发明实施例中,在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the embodiment of the present invention, in the downlink frame, the information including the uplink scheduling period includes the random access resource block allocated by the access point for the station in the uplink scheduling period (such as a period corresponding to the whole or part of the channel spectrum), Specifically, the address of the random access resource block allocated by the access point included in the uplink scheduling period for the station may be indicated in the head of the downlink frame, that is, the channel resource window indication arranged according to the uplink scheduling period in the header of the downlink frame. After the random access resource block information allocated for the station is obtained, the access point determines the information of the channel resource window included in the uplink scheduling period before receiving the uplink frame sent by the station in the uplink scheduling period.
502、所述站点从所述随机接入资源块中选择一个传输资源单元;502. The station selects one transmission resource unit from the random access resource blocks.
因为传输资源单元用于站点发送第一指示消息,而传输资源单元被划分为多个,站点必须从多个传输资源单元中选择一个传输资源单元用于发送第一指示消息。Because the transmission resource unit is used by the station to send the first indication message, and the transmission resource unit is divided intoMultiple, the station must select one of the plurality of transmission resource units for transmitting the first indication message.
503、所述站点通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源;503. The station sends the first indication message to an access point by using the selected transmission resource unit, where the first indication message includes identifier information of the site, so that the access point verifies the first When the indication message is a valid first indication message, the uplink channel resource is allocated to the station in an uplink scheduling period of the channel resource of the access point according to the first indication message;
当多个站点通过OFDMA机制并行向接入点发送第一指示消息后,接入点即可根据实际情况合理分配各站点的上行信道资源。After multiple stations send the first indication message to the access point in parallel through the OFDMA mechanism, the access point can reasonably allocate the uplink channel resources of each station according to actual conditions.
本发明实施例中,站点接收到接入点发送的包含所述接入点的信道资源的上行调度期内包含的随机接入块资源的信息后,选择被划分为若干个传输资源单元中的一个传输资源单元,所述站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息。这样,站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息,接入点则可以通过第一指示消息对站点的上行信道资源进行分配。In the embodiment of the present invention, after receiving the information of the random access block resource included in the uplink scheduling period of the channel resource of the access point that is sent by the access point, the station is selected to be divided into several transmission resource units. a transmission resource unit, the station transmitting, by the transmission resource unit, a first indication message to the access point for indicating that the station has an uplink channel resource requirement. In this way, the station sends a first indication message for indicating that the station has an uplink channel resource requirement to the access point by using the transmission resource unit, and the access point may allocate the uplink channel resource of the station by using the first indication message.
上述实施例中,描述了站点从被划分为若干个传输资源单元中选择一个传输资源单元,所述站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息,在实际应用中,站点还可以通过预设的规则选择传输资源单元,站点还可以向接入点发送携带有所需要的上行信道资源信息的第二指示消息。In the above embodiment, the station is configured to select one transmission resource unit from the division into a plurality of transmission resource units, and the station sends, by using the transmission resource unit, an access point to indicate that the station has an uplink channel resource requirement. The first indication message, in an actual application, the station may also select a transmission resource unit by using a preset rule, and the station may further send a second indication message carrying the required uplink channel resource information to the access point.
对于与接入点未关联的站点,该站点可以从标识空间内获取临时标识信息作为该站点的标识信息来实现上述方法。对于与接入点已关联的站点,该站点的标识信息指的是接入点为其分配的关联标识(Association Identity,AID)。下面对站点从标识空间内获取临时标识信息,并根据预设的规则选择传输资源单元向接入点发送第一指示消息等过程来做具体描述,请参照图6所示,本发明实施例中用于资源分配的方法的另一实施例包括:For a site that is not associated with an access point, the site may obtain temporary identification information from the identification space as the identification information of the site to implement the above method. For a site that is associated with an access point, the identity information of the site refers to an Association Identity (AID) assigned by the access point. The following is a detailed description of the process of obtaining the temporary identification information from the identifier space, and selecting the transmission resource unit to send the first indication message to the access point according to the preset rule. Referring to FIG. 6, the embodiment of the present invention is described. Another embodiment of a method for resource allocation in the method includes:
601、站点接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;601. The station receives a first downlink frame sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to indicate at least one site including the site. Information about a random access resource block included in an uplink scheduling period of a channel resource of an access point, where the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for the at least one site Sending a first indication message indicating that the station has an uplink channel resource requirement;
在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the downlink frame, the information including the uplink scheduling period includes the random access resource block allocated by the access point for the station in the uplink scheduling period (for example, a period corresponding to the whole or part of the channel spectrum), which may be in the downlink frame. The header indicates the random access resource block information allocated by the access point included in the uplink scheduling period for the station, that is, the channel resource window arranged in the uplink scheduling period indicates that the location is allocated for the station. When the resource block information is randomly accessed, the access point determines the information of the channel resource window included in the uplink scheduling period before receiving the uplink frame sent by the station in the uplink scheduling period.
602、站点判断自身是否包含有与接入点关联的标识信息,若否,则执行603-608;若是,则执行604-608;602, the station determines whether it contains identification information associated with the access point, if not, then perform 603-608; if yes, execute 604-608;
接入点在为站点分配信道资源时,需要知道站点的标识信息,也就是关联标识(AID)来表示所述站点的唯一身份,所以站点在发送第一指示消息之前,首先可以先判断站点自身是否包含有与接入点关联的关联标识。When the access point allocates channel resources to the site, the access point needs to know the identity information of the site, that is, the association identifier (AID) to indicate the unique identity of the site, so the site may first determine the site itself before sending the first indication message. Whether it contains an association identifier associated with the access point.
603、所述站点从标识空间内获取临时标识信息,所述站点的标识信息具体为所述临时标识信息;603. The site obtains temporary identifier information from the identifier space, where the identifier information of the site is specifically the temporary identifier information.
若站点不存在与接入点所关联的关联标识时,则无法对站点自身进行身份证明以及消息的验证,所以与接入点未关联的站点可以从标识空间内获取临时关联标识作为所述站点的标识信息来进行后续的步骤604-608。If the site does not have an association identifier associated with the access point, the site itself cannot be authenticated and the message is verified. Therefore, the site not associated with the access point can obtain the temporary association identifier from the identifier space as the site. The identification information is used to proceed to subsequent steps 604-608.
604、所述站点通过预设规则计算出所述站点的标识信息的对应值;604. The site calculates a corresponding value of the identifier information of the site by using a preset rule.
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应序号的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The algorithm calculates the identification information of the site to obtain a hash value, and the station can select the transmission resource unit of the corresponding sequence number by using the calculated hash value, such as the corresponding hash value as the transmission resource unit of the sequence number. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
605、所述站点从所述随机接入资源块中根据所述对应值,从随机接入资源块包括的设有序号的所述至少一个传输资源单元中选择序号与所述对应值相对应的一个传输资源单元;605. The station selects, according to the corresponding value, the sequence number corresponding to the corresponding value from the at least one transmission resource unit with a sequence number included in the random access resource block from the random access resource block. a transmission resource unit;
站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效,若所述对应值能与第一指示消息通过传输资源单元传输的所述传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与所述第一指示消息通过传输资源单元传输的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。The station is a transmission resource unit with a unique corresponding sequence number selected according to a unique corresponding value of the identification information of the site. For example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resource units. , then sorted in the order of 1-8, 9-16, 17-24, siteThen, according to the corresponding value of the identification information of the site, for example, “8” selects the transmission resource unit of the corresponding serial number, so the access point can determine the corresponding value and the serial number of the transmission resource unit by determining the identifier information of the received site. Determining whether the first indication message is valid, if the corresponding value can match the sequence number of the transmission resource unit transmitted by the first indication message by the transmission resource unit, determining that the first indication message is valid, if The corresponding value does not match the sequence number of the transmission resource unit transmitted by the transmission resource unit by the first indication message, and is invalid. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
606、所述站点通过所选择的传输资源单元向接入点发送所述第一指示消息;606. The station sends the first indication message to an access point by using the selected transmission resource unit.
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个传输资源单元可以预先设置序号,如按照频率高低对子载波组从1开始进行顺序编号为第1子信道,第2子信道,第3子信道等,以提供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, it is necessary to divide the random access resource block (such as the channel resource window) into several transmission resource units (such as several subchannels). Preferably, the divided transmission resource units may be preset with a sequence number, for example, the subcarrier groups are sequentially numbered from 1 to the first subchannel, the second subchannel, the third subchannel, etc. according to the frequency level to provide a site. select. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
607、所述站点接收所述接入点发送的第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于所述接入点为所述站点指示用于所述站点发送第二指示消息的信道资源;所述第二指示消息携带所述站点所需要的上行信道资源的大小;607. The station receives a second downlink frame sent by the access point, where the second downlink frame includes second indication information, where the second indication information is used by the access point for the site indication The station sends a channel resource of the second indication message; the second indication message carries a size of an uplink channel resource required by the station;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小信息或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the station, and after determining that the first indication message is valid, the access point may send the uplink channel resource scheduling to the station. The second downlink frame of the information indicates that the station sends the buffered data size information or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
608、所述站点根据所述第二指示信息所指示的信道资源向所述接入点发送所述第二指示消息;608. The station sends the second indication message to the access point according to the channel resource indicated by the second indication information.
这样,接入点便可以根据所述接入点根据所述第二指示消息中包含的所述站点所需要的上行信道资源的大小,在所述接入点的信道资源的上行调度期内给所述站点分配所需的上行信道资源。需要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了第一指示消息传输资源单元的大小,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息的传输资源单元有助于有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。In this way, the access point can be configured according to the access point according to the second indication message.The size of the uplink channel resource required by the station allocates the required uplink channel resource to the station during the uplink scheduling period of the channel resource of the access point. It should be noted that, in this step, the station carries the required uplink channel resource size information by using the second indication message, and the comparison station directly carries the information of the required uplink channel resource size in the first indication message, which is reduced. Transmitting, by the station, the channel resource occupied by the first indication message, that is, reducing the size of the first indication message transmission resource unit, that is, reducing the size of the transmission resource unit used for transmitting the first indication message, so that the same quantity is satisfied On the premise that the first station (STA) sends the first indication message, it can occupy smaller random access channel resource blocks, because not every allocated random access channel resource block can be used all at all (depending on how many The uplink transmission needs the site, and the number of access points are not known in advance), so allocating a small transmission resource unit for transmitting the first indication message helps to reduce the size of the random access channel resource block. Improve channel utilization efficiency of the entire communication system.
本发明实施例中,站点获取临时标识信息,这样,与接入点未关联的站点有了一个临时的标识信息,便可以根据标识信息按照预设的规则计算得到对应值,再根据对应值选择匹配序号的传输资源单元,使得接入点为所述站点分配信道资源时;站点在向接入点发送所述站点存在上行缓存数据的指示消息后,进一步向接入点发送所述站点所需要的上行信道资源信息,接入点则可根据站点所需要的上行信道资源信息给站点分配相对应大小的信道资源,这样,使得信道资源得到合理利用,提高了传输效率。In the embodiment of the present invention, the site obtains the temporary identifier information, so that the site that is not associated with the access point has a temporary identifier information, and the corresponding value can be calculated according to the preset rule according to the identifier information, and then the corresponding value is selected according to the corresponding value. Matching the transmission resource unit of the sequence number, so that the access point allocates the channel resource to the site; after the station sends the indication message that the site has the uplink buffer data to the access point, the site further needs to send the site to the access point. The uplink channel resource information, the access point can allocate corresponding channel resources to the station according to the uplink channel resource information required by the station, so that the channel resources are rationally utilized and the transmission efficiency is improved.
请参照图7所示,本发明实施例中用于资源分配的接入点一个实施例包括:Referring to FIG. 7, an embodiment of an access point for resource allocation in an embodiment of the present invention includes:
第一发送单元701,用于发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;Thefirst sending unit 701 is configured to send a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate, at least one station, a channel at the access point. The information about the random access resource block included in the uplink scheduling period of the resource, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used by the at least one station to send the first indication message;
本发明实施例中,在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the embodiment of the present invention, in the downlink frame, the information including the uplink scheduling period includes the random access resource block allocated by the access point for the station in the uplink scheduling period (such as a period corresponding to the whole or part of the channel spectrum), Specifically, the address of the random access resource block allocated by the access point included in the uplink scheduling period for the station may be indicated in the head of the downlink frame, that is, the channel resource window indication arranged according to the uplink scheduling period in the header of the downlink frame. The random access resource block information allocated for the station is received by the access point.Before the uplink frame sent by the station in the uplink scheduling period, the information of the channel resource window included in the uplink scheduling period is determined.
第一接收单元702,用于通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;所述第一指示消息用于指示所述第一站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息;Thefirst receiving unit 702 is configured to receive, by using one of the at least one transmission resource unit, the first indication message sent by the first station in the at least one station; the first indication message is used by Instructing the first station to have an uplink channel resource requirement, where the first indication message includes identifier information of the first station;
在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波,一组子载波即为一个子信道,因为有若干个站点存在上行缓存数据,所以需要将随机接入资源块划分为若干个第一指示消息传输资源单元(如若干个子信道)。需要说明的是,随机接入资源块是专门提供给与接入点关联以及未关联的站点用于接入的资源块。In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called a carrier, a group of subcarriers. That is, one subchannel, because there are several stations with uplink buffer data, the random access resource block needs to be divided into several first indication message transmission resource units (such as several subchannels). It should be noted that the random access resource block is specifically provided to the resource block that is associated with the access point and is not associated with the site for access.
验证单元703,用于验证所述第一指示消息是否为有效第一指示消息;Theverification unit 703 is configured to verify whether the first indication message is a valid first indication message;
因为在信号的传输过程中,接入点可能会接收到其他不相关的站点所发送的消息,或者是来自其它通信设备的干扰信号,为了确保信息的正确性,则可对接收到的消息进行验证,若验证为相关的站点发送的第一指示消息,则可以认为该第一指示消息有效,再做后续的上行信道资源分配操作。Because during the transmission of the signal, the access point may receive messages sent by other unrelated stations, or interference signals from other communication devices, in order to ensure the correctness of the information, the received message may be It is verified that if the first indication message sent by the relevant station is verified, the first indication message may be considered as valid, and then the subsequent uplink channel resource allocation operation is performed.
分配单元704,用于当所述第一指示消息是有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源;The allocatingunit 704 is configured to: when the first indication message is a valid first indication message, allocate an uplink to the first station according to the first indication message in an uplink scheduling period of a channel resource of the access point. Channel resource
当多个站点通过OFDMA机制并行向接入点发送第一指示消息后,接入点即可根据实际情况合理分配各站点的上行信道资源。After multiple stations send the first indication message to the access point in parallel through the OFDMA mechanism, the access point can reasonably allocate the uplink channel resources of each station according to actual conditions.
本发明实施例中,接入点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述传输资源单元用于所述站点发送第一指示消息,所述接入点通过所述传输资源单元中的一个传输资源单元接收所述站点发送的所述第一指示消息,所述第一指示消息用于指示所述站点有上行信道资源需求,所述第一指示消息包括所述站点的标识信息,所述接入点验证所述第一指示消息是否为有效第一指示消息,若是,则根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源。这样,接入点不需要像现有技术中那样一个个地去询问站点是否有上行数据要发送,而是通过OFDMA机制就可以接收多个站点并行发送的用于指示站点有上行数据需要传输的第一指示消息,就可以很快知道哪些站点有上行数据要发送,提高了对站点进行查询的效率,进而提高了信道资源分配的效率;同时,接入点可根据实际情况合理分配各站点的上行信道资源,有利于节省信道资源以及系统开销。In the embodiment of the present invention, the access point sends a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate at the at least one site at the access point. Information about a random access resource block included in an uplink scheduling period of the channel resource, where the random access resource block includes at least one transmission resource unit, where the transmission resource unit is used by the station to send a first indication message, where the connection Receiving, by the one of the transmission resource units, the first indication message sent by the station, where the first indication message is used to indicate that the station has an uplink channel resource requirement, the first indication The message includes the identification information of the site, and the access point verifies whether the first indication message is a valid first indication message, and if yes, according to the first indication message, at the access pointAn uplink channel resource is allocated to the station during an uplink scheduling period of the channel resource. In this way, the access point does not need to query the station to send uplink data one by one as in the prior art, but can receive multiple sites simultaneously sent by the OFDMA mechanism to indicate that the station has uplink data to be transmitted. The first indication message can quickly know which stations have uplink data to send, which improves the efficiency of querying the site, thereby improving the efficiency of channel resource allocation; at the same time, the access point can reasonably allocate the sites according to actual conditions. The uplink channel resources are beneficial to save channel resources and system overhead.
上述实施例中,描述了接入点在下行帧中指示在信道资源的上行调度期内包含随机接入资源块的信息,接入点通过被划分为若干个传输资源单元的所述随机接入资源块接收所述站点发送的所述第一指示消息,在实际应用中,接入点在下行帧的物理帧头中指示在所述信道资源的上行调度期内包含随机接入资源块的信息,所述接入点通过被划分为若干个设有序号的传输资源单元接收所述站点按照预设的规则选择对应序号的传输资源单元所发送的所述第一指示消息,接入点通过第一指示消息中的标识信息验证第一指示消息是否为有效第一指示消息。下面对接入点对第一指示消息的验证与对信道资源的分配进行具体描述,请参照图8所示,本发明实施例中用于资源分配的接入点的另一个实施例包括:In the foregoing embodiment, the information that the access point indicates that the random access resource block is included in the uplink scheduling period of the channel resource in the downlink frame is described, and the access point passes the random access that is divided into several transmission resource units. The resource block receives the first indication message sent by the station, and in an actual application, the access point indicates, in a physical frame header of the downlink frame, information that includes a random access resource block in an uplink scheduling period of the channel resource. The access point receives the first indication message sent by the transmission resource unit corresponding to the sequence number according to a preset rule by the transmission resource unit divided into a plurality of sequence numbers, and the access point passes the The identification information in an indication message verifies whether the first indication message is a valid first indication message. The following is a description of the access point to the first indication message and the allocation of the channel resource. Referring to FIG. 8 , another embodiment of the access point for resource allocation in the embodiment of the present invention includes:
第一发送单元801,用于发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;afirst sending unit 801, configured to send a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate a channel at the access point for at least one station The information about the random access resource block included in the uplink scheduling period of the resource, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used by the at least one station to send the first indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容,如在下行调度帧头部的SIG(signal)区域,可用三个二进制位“011”,则表示在上行信道资源调度期的开始部分有包含3个时间槽(time slot)的信道资源窗口,站点可通过这3个时间槽的信道资源窗口(随机接入资源块)中的信道资源(传输资源单元)随机访问或使用信道,需要使用信道的站点(STA)可选择一个或多个子信道(即子载波)在对应的一个时间槽内发送消息。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问和使用的资源块。In the downlink frame, the uplink scheduling period information is included, and the uplink access resource block allocated by the access point for the station (such as a period corresponding to the whole or part of the channel spectrum) and the physical frame in the downlink frame are included in the uplink scheduling period. The header indicates the random access resource block information allocated by the access point included in the uplink scheduling period for the station, that is, the channel resource allocation is set according to the channel resource block window arranged in the uplink scheduling period in the physical frame header of the downlink frame. information. During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The ingress point has a higher priority of occupying the channel resource, so the access point (AP) first transmits the downlink scheduling frame or the data frame, andThe physical channel header of the downlink scheduling frame or the physical frame header of the downlink data frame sets uplink channel resource indication information according to the channel resource window corresponding to the uplink scheduling period. In this embodiment, the AP may include random access in the uplink scheduling period of the channel resource indicating the physical frame header or the physical frame data part of the downlink scheduling frame (or the downlink data frame). The information of the resource block, the physical frame data part is the content of the MAC layer frame. For example, in the SIG (signal) area of the downlink scheduling frame header, three binary bits "011" are available, indicating the beginning of the uplink channel resource scheduling period. A portion has a channel resource window including three time slots, and the station can randomly access or use the channel through channel resources (transmission resource units) in the channel resource window (random access resource block) of the three time slots. A station (STA) that needs to use a channel may select one or more subchannels (ie, subcarriers) to transmit a message within a corresponding time slot. It should be noted that the random access resource block may provide resource blocks for channel access and use for sites associated with the access point and unassociated sites.
第一接收单元802包括第一接收模块8021,用于通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;Thefirst receiving unit 802 includes afirst receiving module 8021, configured to receive, by using one of the at least one transmission resource unit with the sequence number, the first station in the at least one site by using a predetermined rule The first indication message sent by the selected one of the at least one transmission resource unit with the sequence number;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个传输资源单元可以预先设置序号,以供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, the random access resource block needs to be divided into several transmission resource units (such as several subchannels). Preferably, the divided transmission resource units may be preset with a sequence number for site selection. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
验证单元803具体包括计算模块8031,用于通过预设规则计算出所述第一站点的标识信息的对应值;Theverification unit 803 specifically includes acalculation module 8031, configured to calculate a corresponding value of the identification information of the first site by using a preset rule;
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The hash algorithm calculates the identification information of the site to obtain a hash value, and the station can select a corresponding transmission resource unit by using the calculated hash value, such as a corresponding hash value as the serial transmission resource unit. For example, the identification information may be an association identifier of the site that contains 16 binary bits.The correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value containing 8 binary bits.
验证单元803还包括判断模块8032,用于判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配;Theverification unit 803 further includes a determiningmodule 8032, configured to determine whether the corresponding value matches a sequence number of the transmission resource unit through which the access point receives the first indication message;
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The unit is sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding 8th transmission resource unit according to the corresponding value of the identification information of the station, such as "8", so the access point The first indication message may be determined to be valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit.
若所述对应值能与第一指示消息通过传输资源单元传输的所述传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与所述第一指示消息通过传输资源单元传输的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。If the corresponding value can be matched with the sequence number of the transmission resource unit that is transmitted by the first resource by the transmission resource unit, determining that the first indication message is valid, if the corresponding value and the first indication message are transmitted If the sequence number of the transmission resource unit transmitted by the resource unit does not match, it is invalid. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
分配单元804包括第一分配模块8041,用于根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配预设长度的上行信道资源;或,所述第一指示消息还包括所述第一站点所需要的上行信道资源的大小(或所述第一站点需上行传输的缓存数据的大小),所述接入点根据所述第一指示消息中包含的所述第一站点所需求的上行信道资源的大小在所述接入点的信道资源的上行调度期内为所述第一站点分配所需的上行信道资源;The allocating unit 804 includes afirst allocation module 8041, configured to allocate a preset length of uplink channel resources to the first station in an uplink scheduling period of the channel resources of the access point according to the first indication message; or The first indication message further includes a size of an uplink channel resource required by the first station (or a size of cached data that the first station needs to transmit in the uplink), where the access point is according to the first indication message. The size of the uplink channel resource required by the first station included in the first station is allocated to the first station during an uplink scheduling period of the channel resource of the access point;
当多个站点通过OFDMA机制并行向接入点发送的第一指示消息后,接入点确定第一指示消息是有效的后,接入点即可根据实际情况给各站点分配预设长度的上行信道资源,如平均给每个站点分配10ms的信道资源,若部分站点的上行缓存数据未能一次性传输完毕,则可以在下一次分配的信道资源中继续进行传输,或者当所述第一指示消息还包括所述站点所需要的上行信道资源信息时,也可以根据所述第一指示消息中包含的所述站点所需要的上行信道资源信息在所述接入点的信道资源的上行调度期内为所述站点分配所需的上行信道资源。After the first indication message sent by the multiple sites to the access point in parallel by the OFDMA mechanism, after the access point determines that the first indication message is valid, the access point may assign each station a preset length of uplink according to the actual situation. The channel resource, for example, allocates 10ms of channel resources to each station on average. If the uplink buffer data of some stations fails to be transmitted at one time, the transmission may be continued in the next allocated channel resource, or when the first indication message is received. And when the uplink channel resource information required by the station is further included, the uplink channel resource information required by the station included in the first indication message may be used in an uplink scheduling period of the channel resource of the access point. Allocate the required uplink channel resources for the site.
本发明实施例中,接入点接收到站点发送的第一指示消息后,对站点的标识信息进行计算得到对应值,并通过判断所得到的对应值是否与传输资源单元的序号是否对应确定第一指示消息的有效性,这样,接入点对站点所发送的第一指示消息进行了一个验证过程,确保了所接收到的消息是准确的,避免了接入点可能接收到错误的第一指示消息而不合理地分配信道资源。另外,接入点根据第一指示消息在上行调度期内为所述站点分配预设长度的上行信道资源或者根据所述第一指示消息中包含的上行资源需求为所述站点分配所需的信道资源,这样,提高了信息传输的效率。In the embodiment of the present invention, after receiving the first indication message sent by the station, the access point calculates the corresponding value of the identifier information of the site, and determines whether the corresponding value is corresponding to the sequence number of the transmission resource unit. An indication of the validity of the message, such that the access point performs a verification process on the first indication message sent by the station, ensuring that the received message is accurate, and avoiding that the access point may receive the wrong first The indication message unreasonably allocates channel resources. In addition, the access point allocates a preset length of the uplink channel resource to the station according to the first indication message, or allocates the required channel to the station according to the uplink resource requirement included in the first indication message. Resources, in this way, improve the efficiency of information transmission.
上述实施例中,描述了接入点验证站点所发送的第一指示消息,并根据第一指示消息对站点进行资源分配,在实际应用中,接入点还可以再获取站点的所需要的上行信道资源,再根据所需要的上行信道资源对站点进行资源分配,下面对接入点获取站点的所需要上行信道资源以及根据所需要的上行信道资源对站点进行资源分配做具体描述,请参照图9所示,本发明实施例中用于资源分配的接入点的另一个实施例包括:In the foregoing embodiment, the first indication message sent by the access point verification site is described, and the resource is allocated to the site according to the first indication message. In an actual application, the access point may further acquire the required uplink of the site. Channel resources, and then allocate resources to the stations according to the required uplink channel resources. The following describes the access resources needed by the access point to acquire the uplink channel resources of the station and allocate resources according to the required uplink channel resources. As shown in FIG. 9, another embodiment of an access point for resource allocation in an embodiment of the present invention includes:
第一发送单元901,用于发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于在下行帧的物理帧头中为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;Thefirst sending unit 901 is configured to send a first downlink frame, where the first downlink frame includes first indication information, where the first indication information is used to indicate at least one station in a physical frame header of the downlink frame. Information of a random access resource block included in an uplink scheduling period of a channel resource of the access point, where the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for the at least one One station sends a first indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(对应整个或部分信道频谱的一段时间),而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容,如在下行调度帧头部的SIG(signal)区域,可用三个二进制位“011”,则表示在上行信道资源调度期的开始部分有包含3个时间槽(time slot)的信道资源窗口,站点可通过这3个时间槽的信道资源窗口(随机接入资源块)中的信道资源(传输资源单元)随机访问或使用信道,需要使用信道的站点(STA)可选择一个或多个子信道(即子载波)在对应的一个时间槽内发送消息。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问和使用的资源块。In the downlink frame, the uplink scheduling period information is included, and the uplink access resource block (the time period corresponding to the whole or part of the channel spectrum) allocated by the access point for the station is included in the uplink scheduling period, and the physical frame header of the downlink frame is included in the downlink scheduling period. The department indicates that the access point included in the uplink scheduling period is the random access resource block information allocated by the station, that is, the channel resource allocation information is set according to the channel resource block window arranged in the uplink scheduling period in the physical frame header of the downlink frame. . During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The ingress point has a higher priority of occupying the channel resource, so the access point (AP) first transmits the downlink scheduling frame or the data frame, and the physical frame header of the downlink scheduling frame or the physical frame of the downlink data frame. The header sets the uplink channel resource indication information according to the channel resource window corresponding to the uplink scheduling period. In this embodiment, the AP may be in a physical frame header or a physical frame data part of a downlink scheduling frame (or a downlink data frame).The physical frame data part indicates that the uplink scheduling period of the channel resource includes the information of the random access resource block, and the physical frame data part is the content of the MAC layer frame, such as in the SIG (signal) area of the downlink scheduling frame header. The three binary bits "011" indicate that there is a channel resource window containing three time slots at the beginning of the uplink channel resource scheduling period, and the station can pass the channel resource window of the three time slots (random access) A channel resource (transmission resource unit) in a resource block randomly accesses or uses a channel, and a station (STA) that needs to use a channel can select one or more subchannels (ie, subcarriers) to transmit a message in a corresponding time slot. It should be noted that the random access resource block may provide resource blocks for channel access and use for sites associated with the access point and unassociated sites.
第一接收单元902包括第一接收模块9021,用于通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中第一站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;Thefirst receiving unit 902 includes afirst receiving module 9021, configured to receive, by using one of the at least one transmission resource unit with a sequence number, the first station in the at least one site by using a predetermined rule The first indication message sent by the selected one of the at least one transmission resource unit with the sequence number;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元(如若干个子信道)。优选的,被划分的若干个传输资源单元可以预先设置序号,如按照频率高低对子载波组从1开始进行顺序编号为第1子信道,第2子信道,第3子信道等,以提供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, it is necessary to divide the random access resource block (such as the channel resource window) into several transmission resource units (such as several subchannels). Preferably, the divided transmission resource units may be preset with a sequence number, for example, the subcarrier groups are sequentially numbered from 1 to the first subchannel, the second subchannel, the third subchannel, etc. according to the frequency level to provide a site. select. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
验证单元903具体包括计算模块9031,用于通过预设规则计算出所述第一站点的标识信息的对应值;Theverification unit 903 specifically includes acalculation module 9031, configured to calculate a corresponding value of the identification information of the first site by using a preset rule;
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The hash algorithm calculates the identification information of the site to obtain a hash value, and the station can select a corresponding transmission resource unit by using the calculated hash value, such as a corresponding hash value as the serial transmission resource unit. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
验证单元903还包括判断模块9032,用于判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配;Theverification unit 903 further includes a determiningmodule 9032, configured to determine whether the corresponding value matches a sequence number of the transmission resource unit through which the access point receives the first indication message;
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The unit is sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding 8th transmission resource unit according to the corresponding value of the identification information of the station, such as "8", so the access point The first indication message may be determined to be valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
第二发送单元904,用于在通过所述传输资源单元中的一个传输资源单元接收所述第一站点发送的所述第一指示消息之后,向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;asecond sending unit 904, configured to send, by using one of the transmission resource units, the first indication message sent by the first station, to send, by using the first station, a second downlink frame, where The second downlink frame includes second indication information, where the second indication information is used to indicate, for the first station, a channel resource used by the first station to send a second indication message; Describe the size of the uplink channel resource required by the first station or the size of the buffer data that the first station needs to transmit in the uplink;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小信息或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the station, and after determining that the first indication message is valid, the access point may send the uplink channel resource scheduling to the station. The second downlink frame of the information indicates that the station sends the buffered data size information or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
第二接收单元905,用于接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;Thesecond receiving unit 905 is configured to receive the second indication message that is sent by the first station according to the channel resource indicated by the second indication information;
需要说明的是,接入点接收站点所发送的携带所述站点所需要的上行信道资源信息的第二指示消息,除可按照现有802.11标准中定义的接收方式正常接收外,也可通过接收第一指示消息的方式来接收。第二指示消息中携带了站点的标识信息,接入点可对第二指示消息再次进行验证,具体不做赘述。另要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息的传输资源单元有助于有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。It should be noted that the second indication message that is sent by the access point to receive the uplink channel resource information required by the station, which can be received normally according to the receiving mode defined in the existing 802.11 standard, may also be received. The first indication message is received in a manner. The second indication message carries the identifier information of the site, and the access point can verify the second indication message again, and details are not described herein. It is to be noted that, in this step, the station carries the required uplink channel resource size information by using the second indication message, and the comparison station directly carries the required uplink channel resource size information in the first indication message, and reduces the scheme. The channel resource occupied by the station sending the first indication message is reduced for transmissionTransmitting the size of the transmission resource unit of the first indication message, so that a smaller number of random access channel resource blocks can be occupied on the premise that an equal number of stations (STAs) are sent, because not every allocation The random access channel resource blocks can all be used (the stations that depend on how many uplink transmission requirements are needed, and the number of access points are not known in advance), so a small transmission resource for transmitting the first indication message is allocated. The unit helps to reduce the size of the random access channel resource block and improve the channel usage efficiency of the entire communication system.
分配单元906包括第二分配模块9061,用于根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源;The allocatingunit 906 includes a second allocatingmodule 9061, configured to use, according to the size of the uplink channel resource required by the first station included in the second indication message, or the size of the cached data to be uplink transmitted by the first station, Allocating an uplink channel resource to the first station in an uplink scheduling period of the channel resource of the access point;
当多个站点通过OFDMA机制并行向接入点发送携带所需要的上行信道资源信息的第二指示消息后,并且接入点确定第二指示消息是有效的后,接入点即可根据实际情况给各站点分配相应大小的上行信道资源。After the multiple stations send the second indication message carrying the required uplink channel resource information to the access point in parallel through the OFDMA mechanism, and the access point determines that the second indication message is valid, the access point may be based on actual conditions. Each station is allocated an uplink channel resource of a corresponding size.
本发明实施例中,接入点接收到站点存在上行缓存数据的指示消息后,进一步获取站点的所需要的上行信道资源信息,则可根据站点所需要的上行信道资源信息给站点分配相对应大小的信道资源,这样,使得信道资源得到合理利用,提高了传输效率。In the embodiment of the present invention, after receiving the indication message that the site has the uplink buffer data, the access point further obtains the required uplink channel resource information of the station, and may allocate the corresponding size to the site according to the uplink channel resource information required by the station. The channel resources are such that the channel resources are rationally utilized and the transmission efficiency is improved.
上述实施例中,描述了接入点在下行帧的物理帧头中指示在所述信道资源的上行调度期内包含随机接入资源块的信息,在实际应用中,接入点还可以在下行帧物理帧头部的SIG字段中或者在MAC层帧中用若干个标志位和指示位指示在信道资源的上行调度期内包含随机接入资源块的信息,下面对接入点在下行帧物理帧头部的SIG字段中或者在MAC层帧中用标志位和指示位指示在信道资源的上行调度期内包含随机接入资源块的信息进行具体描述,请参照图10所示,本发明实施例中用于资源分配的接入点的另一个实施例包括:In the foregoing embodiment, the access point indicates that the access point includes the information of the random access resource block in the uplink scheduling period of the channel resource in the physical frame header of the downlink frame. In actual applications, the access point may also be in the downlink. In the SIG field of the frame physical frame header or in the MAC layer frame, a plurality of flag bits and indicator bits are used to indicate that the random access resource block is included in the uplink scheduling period of the channel resource, and the access point is in the downlink frame. The SIG field of the physical frame header or the information indicating that the random access resource block is included in the uplink scheduling period of the channel resource by using the flag bit and the indication bit in the MAC layer frame is specifically described. Referring to FIG. 10, the present invention is shown in FIG. Another embodiment of an access point for resource allocation in an embodiment includes:
第一发送单元1001包括第一发送模块10011,用于发送第一下行帧,在所述第一下行帧的物理帧头部的SIG字段中或者物理帧数据部分中携带有标志位和指示位,所述标志位用于指示在信道资源的上行调度期内包含有随机接入资源块,所述指示位用于指示随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述传输资源单元用于所述站点发送第一指示消息;Thefirst sending unit 1001 includes afirst sending module 10011, configured to send a first downlink frame, and carry a flag and an indication in a SIG field or a physical frame data part of a physical frame header of the first downlink frame. a bit, the flag bit is used to indicate that a random access resource block is included in an uplink scheduling period of the channel resource, where the indicator bit is used to indicate information of a random access resource block, and the random access resource block includes at least one Transmitting a resource unit, where the transmission resource unit is used by the station to send a first indication message;
在下行帧中,包括上行调度期信息,在上行调度期内包含了接入点为站点分配的随机接入资源块,如对应整个或部分信道频谱的一段时间,而在下行帧的物理帧头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的物理帧头部的SIG字段中或在MAC层帧中根据上行调度期内安排的信道资源块窗口设置信道资源分配信息。在通讯过程中,站点多数都有上行缓存数据需要传输,接入点需要为被调度进行上行传输的站点(STA)分配一定的信道资源窗口,以供被上行调度的站点使用信道资源,由于接入点有较高的占用信道资源的优先权,所以接入点(AP)首先发送的是下行的调度帧或数据帧,而在下行的调度帧的物理帧头或下行的数据帧的物理帧头根据上行调度期对应的信道资源窗口设置上行信道资源指示信息。本实施方案中,AP可在下行的调度帧(或下行的数据帧)的物理帧头(physical frame header)或物理帧数据部分(physical frame data part)指示信道资源的上行调度期中包含随机接入资源块的信息,物理帧数据部分即为MAC层帧的内容。需要说明的是,随机接入资源块可为与接入点关联以及未关联的站点提供信道访问的资源块。In the downlink frame, the uplink scheduling period information is included, and the random access resource block allocated by the access point to the station is included in the uplink scheduling period, such as a period corresponding to the whole or part of the channel spectrum, and the physical frame header in the downlink frame. The part indicates the random access resource block information allocated by the access point included in the uplink scheduling period to the station, that is, in the SIG field of the physical frame header of the downlink frame or in the MAC layer frame according to the uplink scheduling period. The channel resource block window sets channel resource allocation information. During the communication process, most of the stations have uplink buffer data to be transmitted. The access point needs to allocate a certain channel resource window for the station (STA) scheduled to perform uplink transmission, so that the uplink scheduling station uses channel resources. The ingress point has a higher priority of occupying the channel resource, so the access point (AP) first transmits the downlink scheduling frame or the data frame, and the physical frame header of the downlink scheduling frame or the physical frame of the downlink data frame. The header sets the uplink channel resource indication information according to the channel resource window corresponding to the uplink scheduling period. In this embodiment, the AP may include random access in the uplink scheduling period of the channel resource indicating the physical frame header or the physical frame data part of the downlink scheduling frame (or the downlink data frame). The information of the resource block, the physical frame data part is the content of the MAC layer frame. It should be noted that the random access resource block may provide a resource block for channel access for the site associated with the access point and the unassociated site.
第一接收单元1002包括第一接收模块10021,用于当标志位标志出所述上行调度期包含随机接入资源块时,通过设有序号的所述至少一个传输资源单元中的一个传输资源单元接收所述站点通过按照预设的规则从所述设有序号的所述至少一个传输资源单元中选择的一个传输资源单元所发送的所述第一指示消息;Thefirst receiving unit 1002 includes a first receiving module 10021, configured to: when the flag bit indicates that the uplink scheduling period includes a random access resource block, by transmitting one of the at least one transmission resource unit with a sequence number Receiving, by the station, the first indication message sent by one transmission resource unit selected from the at least one transmission resource unit with the sequence number according to a preset rule;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元,也就是若干个子信道。优选的,被划分的若干个传输资源单元可以预先设置序号,以供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, the random access resource block (such as the channel resource window) needs to be divided into several transmission resource units, that is, several subchannels. Preferably, the divided transmission resource units may be preset with a sequence number for site selection. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
验证单元1003具体包括计算模块10031,用于通过预设规则计算出所述第一站点的标识信息的对应值;Theverification unit 1003 specifically includes acalculation module 10031, configured to calculate, by using a preset rule, a corresponding value of the identification information of the first site;
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The hash algorithm calculates the identification information of the site to obtain a hash value, and the station can select a corresponding transmission resource unit by using the calculated hash value, such as a corresponding hash value as the serial transmission resource unit. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
验证单元1003还包括判断模块10032,用于判断所述对应值与所述接入点接收到所述第一指示消息所通过的传输资源单元的序号是否匹配;Theverification unit 1003 further includes a determiningmodule 10032, configured to determine whether the corresponding value matches a sequence number of the transmission resource unit through which the access point receives the first indication message;
由于站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。Since the station is a transmission resource unit with a unique corresponding sequence number selected according to the unique corresponding value of the identification information of the site, for example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resources. The unit is sorted in the order of 1-8, 9-16, 17-24, and the station can select the corresponding 8th transmission resource unit according to the corresponding value of the identification information of the station, such as "8", so the access point The first indication message may be determined to be valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
第二发送单元1004,用于在通过所述传输资源单元中的一个传输资源单元接收所述第一站点发送的所述第一指示消息之后,向所述站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;Thesecond sending unit 1004 is configured to send a second downlink frame to the station after receiving the first indication message sent by the first station by using one of the transmission resource units, where And the second indication information is used to indicate, by the first station, a channel resource that is used by the first station to send a second indication message, where the second indication message carries the The size of the uplink channel resource required by a station or the size of the cache data to be uplink transmitted by the first station;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小信息或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the station, and after determining that the first indication message is valid, the access point may send the uplink channel resource scheduling to the station. The second downlink frame of the information indicates that the station sends the buffered data size information or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
第二接收单元1005,用于接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;Thesecond receiving unit 1005 is configured to receive the second indication message that is sent by the first station according to the channel resource indicated by the second indication information;
需要说明的是,接入点接收站点所发送的携带所述站点所需要的上行信道资源信息的第二指示消息,除可按照现有802.11标准中定义的接收方式正常接收外,也可通过接收第一指示消息的方式来接收。第二指示消息中携带了站点的标识信息,接入点可对第二指示消息再次进行验证,具体不做赘述。另要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息传的输资源单元有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。It should be noted that the second indication message that is sent by the access point to receive the uplink channel resource information required by the station, which can be received normally according to the receiving mode defined in the existing 802.11 standard, may also be received. The first indication message is received in a manner. The second indication message carries the identifier information of the site, and the access point can verify the second indication message again, and details are not described herein. It is to be noted that, in this step, the station carries the required uplink channel resource size information by using the second indication message, and the comparison station directly carries the required uplink channel resource size information in the first indication message, and reduces the scheme. The channel resource occupied by the first identifier message is sent by the station, that is, the size of the transmission resource unit used for transmitting the first indication message is reduced, so that the same number of stations (STAs) are sent to send the first indication message. Can occupy smaller random access channel resource blocks, because not every allocated random access channel resource block can be used all at all (requires depending on how many uplink transmission needs the site, and this number of access points in advance It is not known), therefore, allocating a small transmission resource unit for transmitting the first indication message transmission helps to reduce the size of the random access channel resource block and improve the channel use efficiency of the entire communication system.
分配单元1006包括第二分配模块10061,用于根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源;The allocatingunit 1006 includes a second allocating module 10061, configured to: according to the size of the uplink channel resource required by the first station included in the second indication message or the size of the cached data that needs to be uplinked by the first station, Allocating an uplink channel resource to the first station in an uplink scheduling period of the channel resource of the access point;
当多个站点通过OFDMA机制并行向接入点发送携带所需要的上行信道资源信息的第二指示消息后,并且接入点确定第二指示消息是有效的后,接入点即可根据实际情况给各站点分配相应大小的上行信道资源。After the multiple stations send the second indication message carrying the required uplink channel resource information to the access point in parallel through the OFDMA mechanism, and the access point determines that the second indication message is valid, the access point may be based on actual conditions. Each station is allocated an uplink channel resource of a corresponding size.
需要说明的是,对于未关联的站点,接入点则为其分配用于发送初始入网消息(如probe request,探测请求/association request,关联请求等)的资源,接入点在为这些站点分配信道资源时,需要先为站点分配一个关联标识,才能将信道频谱指定给所述站点,分配关联标识可以用站点发送上行指示消息时所使用的对应传输资源单元序号作为站点的关联标识,也可以用站点在标识空间内获得的临时标识信息作为站点的关联标识。比如一个未关联的站点,它会在临时标识空间内选用一个包括十六个二进制位作为自身的临时关联标识,对应的十进制的值是“100”,站点则会选取序号是“100”的传输资源单元去发送第一指示消息,当接入点从序号是“100”的单元接收到指示消息之后,接入点分配资源的时候,可以用序号“100”作为所述站点的关联标识,也可以用所述站点所选取的十六个二进制位做为所述站点的关联标识。It should be noted that, for an unassociated site, the access point allocates resources for sending initial network access messages (such as probe request, probe request, association request, etc.), and the access point allocates these sites. For the channel resource, you need to assign an association identifier to the site to assign the channel spectrum to the site. The associated association identifier can be used as the association identifier of the site when the uplink transmission indicator is sent by the site. The temporary identification information obtained by the site in the identification space is used as the association identifier of the site. For example, an unassociated site selects a temporary association identifier consisting of sixteen binary digits in the temporary identification space. The corresponding decimal value is "100", and the site selects the transmission whose serial number is "100". The resource unit sends the first indication message. When the access point receives the indication message from the unit whose sequence number is “100”, when the access point allocates the resource, the sequence number “100” may be used as the association identifier of the site. Can useThe sixteen binary bits selected by the site are used as the associated identifier of the site.
本发明实施例中,接入点还可以在下行帧物理帧头部的SIG字段中或者在MAC层帧中用标志位和指示位指示在信道资源的上行调度期内包含的随机接入资源块的信息,指示位用于当标志位标识出接入点有为站点分配随机接入资源块(即在信道资源的上行调度期内包含有随机接入资源块)时,进一步指示出随机接入资源块对应的时间和大小信息,时间信息用于指示出随机接入资源块的开始频率、结束频率、开始时间以及结束时间;大小信息用于指示出随机接入资源块(如信道资源窗口窗口)包含的时间槽(time slot)个数、每个时间槽包含的子载波(即子信道)数、子载波的分组信息等。这样,对于接入点没有为站点分配随机接入资源块时,则可以只占用一个二进制位,如仅需在标志位中用“0”表示接入点没有为站点分配随机接入资源块,此时指示位可以为空,从而节省了信道资源,提高了传输效率。In the embodiment of the present invention, the access point may also indicate the random access resource block included in the uplink scheduling period of the channel resource by using the flag bit and the indicator bit in the SIG field of the physical frame header of the downlink frame or in the MAC layer frame. The information indicating that the indicator bit is used to indicate that the access point has allocated a random access resource block for the station (that is, the random access resource block is included in the uplink scheduling period of the channel resource), further indicating random access. The time and size information corresponding to the resource block, the time information is used to indicate the start frequency, the end frequency, the start time, and the end time of the random access resource block; the size information is used to indicate the random access resource block (such as the channel resource window window) The number of time slots included, the number of subcarriers (ie, subchannels) included in each time slot, grouping information of subcarriers, and the like. In this way, when the access point is not allocated a random access resource block for the station, only one binary bit can be occupied. For example, it is only necessary to use "0" in the flag bit to indicate that the access point does not allocate a random access resource block for the station. At this time, the indication bit can be empty, thereby saving channel resources and improving transmission efficiency.
请参照图11所示,本发明实施例中用于资源分配的站点一个实施例包括:Referring to FIG. 11, an embodiment of a site for resource allocation in an embodiment of the present invention includes:
第三接收单元1101,用于接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;Thethird receiving unit 1101 is configured to receive a first downlink frame sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to at least include the site One station indicates information of a random access resource block included in an uplink scheduling period of a channel resource of the access point, the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for Sending, by the at least one station, a first indication message indicating that the station has an uplink channel resource requirement;
本发明实施例中,在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the embodiment of the present invention, in the downlink frame, the information including the uplink scheduling period includes the random access resource block allocated by the access point for the station in the uplink scheduling period (such as a period corresponding to the whole or part of the channel spectrum), Specifically, the address of the random access resource block allocated by the access point included in the uplink scheduling period for the station may be indicated in the head of the downlink frame, that is, the channel resource window indication arranged according to the uplink scheduling period in the header of the downlink frame. After the random access resource block information allocated for the station is obtained, the access point determines the information of the channel resource window included in the uplink scheduling period before receiving the uplink frame sent by the station in the uplink scheduling period.
选择单元1102,用于从所述随机接入资源块中选择一个传输资源单元;The selectingunit 1102 is configured to select one transmission resource unit from the random access resource blocks;
因为传输资源单元用于站点发送第一指示消息,而传输资源单元被划分为多个,站点必须从多个传输资源单元中选择一个传输资源单元用于发送第一指示消息。Because the transmission resource unit is used by the station to send the first indication message, and the transmission resource unit is divided into multiple, the station must select one transmission resource unit from the plurality of transmission resource units for transmitting the first indication message.
第三发送单元1103,用于通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源;athird sending unit 1103, configured to send, by using the selected transmission resource unit, the first indication message to an access point, where the first indication message includes identifier information of the site, so that the access point verification office When the first indication message is a valid first indication message, the uplink channel resource is allocated to the station in an uplink scheduling period of the channel resource of the access point according to the first indication message;
当多个站点通过OFDMA机制并行向接入点发送第一指示消息后,接入点即可根据实际情况合理分配各站点的上行信道资源。After multiple stations send the first indication message to the access point in parallel through the OFDMA mechanism, the access point can reasonably allocate the uplink channel resources of each station according to actual conditions.
本发明实施例中,站点接收到接入点发送的包含所述接入点的信道资源的上行调度期内包含的随机接入块资源的信息后,选择被划分为若干个传输资源单元中的一个传输资源单元,所述站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息。这样,站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息,接入点则可以通过第一指示消息对站点的上行信道资源进行分配。In the embodiment of the present invention, after receiving the information of the random access block resource included in the uplink scheduling period of the channel resource of the access point that is sent by the access point, the station is selected to be divided into several transmission resource units. a transmission resource unit, the station transmitting, by the transmission resource unit, a first indication message to the access point for indicating that the station has an uplink channel resource requirement. In this way, the station sends a first indication message for indicating that the station has an uplink channel resource requirement to the access point by using the transmission resource unit, and the access point may allocate the uplink channel resource of the station by using the first indication message.
上述实施例中,描述了站点从被划分为若干个传输资源单元中选择一个传输资源单元,所述站点通过所述传输资源单元向接入点发送用于指示所述站点有上行信道资源需求的第一指示消息,在实际应用中,站点还可以通过预设的规则选择传输资源单元,站点还可以向接入点发送携带有所需要的上行信道资源信息的第二指示消息。In the above embodiment, the station is configured to select one transmission resource unit from the division into a plurality of transmission resource units, and the station sends, by using the transmission resource unit, an access point to indicate that the station has an uplink channel resource requirement. The first indication message, in an actual application, the station may also select a transmission resource unit by using a preset rule, and the station may further send a second indication message carrying the required uplink channel resource information to the access point.
对于与接入点未关联的站点,该站点可以从标识空间内获取临时标识信息作为该站点的标识信息来实现上述方法。对于与接入点已关联的站点,该站点的标识信息指的是接入点为其分配的关联标识(Association Identity,AID)。下面对站点从标识空间内获取临时标识信息,并根据预设的规则选择传输资源单元向接入点发送第一指示消息等装置来做具体描述,请参照图12所示,本发明实施例中用于资源分配的站点的另一实施例包括:For a site that is not associated with an access point, the site may obtain temporary identification information from the identification space as the identification information of the site to implement the above method. For a site that is associated with an access point, the identity information of the site refers to an Association Identity (AID) assigned by the access point. The following is a detailed description of the device that obtains the temporary identification information from the identifier space and selects the transmission resource unit to send the first indication message to the access point according to the preset rule. Referring to FIG. 12, the embodiment of the present invention is described. Another embodiment of a site for resource allocation includes:
第三接收单元1201,用于接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;Thethird receiving unit 1201 is configured to receive a first downlink frame that is sent by the access point, where the first downlink frame includes first indication information, where the first indication information is used to at least include the site. One station indicates information of a random access resource block included in an uplink scheduling period of a channel resource of the access point, the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is used for Sending, by the at least one station, a first indication message indicating that the station has an uplink channel resource requirement;
在下行帧中,包括上行调度期的信息,在上行调度期内包含了接入点为站点分配的随机接入资源块(如对应整个或部分信道频谱的一段时间),具体可以在下行帧的头部指示出在上行调度期内包含的接入点为站点分配的随机接入资源块信息,也就是在下行帧的头部根据上行调度期内安排的信道资源窗口指示出了为站点分配的随机接入资源块信息,则接入点在接收上行调度期内站点发送的上行帧之前,就确定出了上行调度期包含的信道资源窗口的信息。In the downlink frame, including the information of the uplink scheduling period, the access point is included in the uplink scheduling period.The random access resource block allocated by the point (such as a period of time corresponding to the whole or part of the channel spectrum) may specifically indicate, in the header of the downlink frame, the access point allocated by the access point included in the uplink scheduling period for the station. Information, that is, in the header of the downlink frame, according to the channel resource window arranged in the uplink scheduling period, the random access resource block information allocated for the station is indicated, and the access point before receiving the uplink frame sent by the station in the uplink scheduling period Then, the information of the channel resource window included in the uplink scheduling period is determined.
获取单元1202,当所述站点不包含有与接入点关联的标识信息时,所述站点从所述随机接入资源块中选择一个传输资源单元之前,所述站点从标识空间内获取临时标识信息,用于所述站点通过所述临时标识信息从所述随机接入资源块中选择一个传输资源单元;The obtainingunit 1202, when the station does not include the identifier information associated with the access point, before the station selects one of the random access resource blocks, the station obtains the temporary identifier from the identifier space. Information for the station to select one transmission resource unit from the random access resource block by using the temporary identification information;
若站点不存在与接入点所关联的关联标识时,则无法对站点自身进行身份证明以及消息的验证,所以与接入点未关联的站点可以从标识空间内获取临时关联标识作为所述站点的标识信息来进行后续的步骤。If the site does not have an association identifier associated with the access point, the site itself cannot be authenticated and the message is verified. Therefore, the site not associated with the access point can obtain the temporary association identifier from the identifier space as the site. Identification information to follow the next steps.
选择单元1203包括选择模块12031,通过预设规则计算出所述站点的标识信息的对应值,从随机接入资源块包括的设有序号的所述至少一个传输资源单元中选择序号与所述对应值相对应的一个传输资源单元;The selectingunit 1203 includes a selectingmodule 12031, and calculating a corresponding value of the identification information of the site by using a preset rule, and selecting a serial number from the at least one transmission resource unit with a sequence number included in the random access resource block to correspond to the corresponding a transmission resource unit corresponding to the value;
为了对接入点所接收到的指示信息进行验证,以保证第一指示消息的有效性,站点与接入点可以选择同样的预设规则对标识信息进行计算,得到对应值,如站点通过哈希算法对所述站点的标识信息进行计算,得到哈希值,站点可以通过计算得到的哈希值选择相对应序号的传输资源单元,如对应哈希值作为序号的传输资源单元。例如,标识信息可以是站点的包含16个二进制位的关联标识,通过哈希算法计算这16个二进制位的关联标识,得到一个包含8个二进制位的值。In order to verify the indication information received by the access point to ensure the validity of the first indication message, the site and the access point may select the same preset rule to calculate the identification information, and obtain a corresponding value, such as the site passing through the The algorithm calculates the identification information of the site to obtain a hash value, and the station can select the transmission resource unit of the corresponding sequence number by using the calculated hash value, such as the corresponding hash value as the transmission resource unit of the sequence number. For example, the identification information may be an association identifier of the station that includes 16 binary bits, and the correlation identifier of the 16 binary bits is calculated by a hash algorithm to obtain a value including 8 binary bits.
站点是根据站点的标识信息的唯一对应数值选择的唯一对应序号的传输资源单元,如随机接入资源块为3个时间槽的信道资源窗口,每个信道资源窗口均划分为8个传输资源单元,再按照1-8,9-16,17-24的顺序进行排序,站点则可根据站点的标识信息的对应值,如“8”选择对应序号的8号传输资源单元,所以接入点可以通过判断接收到的站点的标识信息计算出的对应值与传输资源单元的序号是否匹配来确定第一指示消息是否有效,若所述对应值能与第一指示消息通过传输资源单元传输的所述传输资源单元的序号匹配,则确定第一指示消息为有效的,若所述对应值与所述第一指示消息通过传输资源单元传输的传输资源单元的序号不匹配,则是无效的。例如,接入点接收8号传输资源单元传输的第一指示消息,计算出所述第一指示消息内站点的关联信息的对应值为“8”,则表示所述站点的关联信息的对应值与所述传输单元的序号匹配。The station is a transmission resource unit with a unique corresponding sequence number selected according to a unique corresponding value of the identification information of the site. For example, the random access resource block is a channel resource window of three time slots, and each channel resource window is divided into eight transmission resource units. Then, according to the order of 1-8, 9-16, 17-24, the station can select the corresponding transmission resource unit of the corresponding serial number according to the corresponding value of the identification information of the site, such as "8", so the access point can Determining whether the first indication message is valid by determining whether the corresponding value calculated by the identifier information of the received station matches the sequence number of the transmission resource unit, if the corresponding value can be transmitted with the first indication message by using the transmission resource unit. If the sequence number of the transmission resource unit matches, determining that the first indication message is valid, if the corresponding value and the first indication message are transmitted through the transmission resource unitIf the serial number of the transmitted transmission resource unit does not match, it is invalid. For example, the access point receives the first indication message transmitted by the transmission resource unit No. 8, and calculates that the corresponding value of the association information of the site in the first indication message is “8”, indicating the corresponding value of the association information of the site. Matches the serial number of the transmission unit.
第三发送单元1204,用于通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源;Thethird sending unit 1204 is configured to send, by using the selected transmission resource unit, the first indication message to the access point, where the first indication message includes identifier information of the site, so that the access point verification office When the first indication message is a valid first indication message, the uplink channel resource is allocated to the station in an uplink scheduling period of the channel resource of the access point according to the first indication message;
第一指示消息用于指示所述站点有上行信道资源需求。在信号传输的过程中,并不是将信号直接进行传输,而是将信号与一个固定频率的波进行相互作用,这个过程称为加载,这样的一个固定频率的波称为载波频率,一组子载波即为一个子信道,因为有若干个站点数据存在上行缓存数据,所以需要将随机接入资源块(如信道资源窗口)划分为若干个传输资源单元,也就是若干个子信道。优选的,被划分的若干个传输资源单元可以预先设置序号,如按照频率高低对子载波组从1开始进行顺序编号为第1子信道,第2子信道,第3子信道等,以提供站点选择。第一指示消息包括站点的标识信息,或所述站点的标识信息和所述站点所需要的上行信道资源信息。The first indication message is used to indicate that the station has an uplink channel resource requirement. In the process of signal transmission, instead of transmitting the signal directly, the signal is interacted with a wave of a fixed frequency. This process is called loading. Such a fixed frequency wave is called carrier frequency, a group of sub-bands. The carrier is a subchannel. Because there are several site data with uplink buffer data, the random access resource block (such as the channel resource window) needs to be divided into several transmission resource units, that is, several subchannels. Preferably, the divided transmission resource units may be preset with a sequence number, for example, the subcarrier groups are sequentially numbered from 1 to the first subchannel, the second subchannel, the third subchannel, etc. according to the frequency level to provide a site. select. The first indication message includes identifier information of the station, or identifier information of the station, and uplink channel resource information required by the station.
第四接收单元1205,用于通过所述选择的传输资源单元向接入点发送所述第一指示消息之后,接收所述接入点发送的第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于所述接入点为所述站点指示用于所述站点发送第二指示消息的信道资源;所述第二指示消息携带所述站点所需要的上行信道资源的大小;Thefourth receiving unit 1205 is configured to: after sending the first indication message to the access point by using the selected transmission resource unit, receive a second downlink frame sent by the access point, where the second downlink frame includes Two indication information, where the second indication information is used by the access point to indicate, for the station, a channel resource used by the station to send a second indication message; and the second indication message carries an uplink required by the station. The size of the channel resource;
接入点接收到第一指示消息后,表示站点中有待发送的上行缓存数据或管理、控制消息,接入点在确定所述第一指示消息有效后,则可向站点发送包含上行信道资源调度信息的第二下行帧,指示让站点在第二指示信息所指示的信道资源上将缓存数据大小信息或所需要的上行信道资源信息发送给接入点。After receiving the first indication message, the access point indicates the uplink buffer data or the management and control message to be sent in the station, and after determining that the first indication message is valid, the access point may send the uplink channel resource scheduling to the station. The second downlink frame of the information indicates that the station sends the buffered data size information or the required uplink channel resource information to the access point on the channel resource indicated by the second indication information.
第四发送单元1206,用于根据所述第二指示信息所指示的信道资源向所述接入点发送所述第二指示消息;Thefourth sending unit 1206 is configured to send, according to the channel resource indicated by the second indication information, the second indication message to the access point;
这样,接入点便可以根据所述接入点根据所述第二指示消息中包含的所述站点所需要的上行信道资源的大小,在所述接入点的信道资源的上行调度期内给所述站点分配所需的上行信道资源。需要说明的是,这一步骤中站点是通过第二指示消息携带所需要的上行信道资源大小信息,对比站点直接将所需要的上行信道资源大小的信息携带在第一指示消息的方案,减少了站点发送第一指示消息所占用的信道资源,即减小了第一指示消息传输资源单元的大小,即减小了用于传输第一指示消息的传输资源单元的大小,从而使得在满足同等数量的站点(STA)发送第一指示消息的前提下,可以占用更小的随机接入信道资源块,由于并不是每次分配的随机接入信道资源块都能够被全部使用(需要依赖于有多少上行传输需求的站点,而这个数量接入点事先并不知道),因此分配小的用于传输第一指示消息的传输资源单元有助于有助于减小随机接入信道资源块的大小,提高整个通讯系统的信道使用效率。In this way, the access point may be given in the uplink scheduling period of the channel resource of the access point according to the size of the uplink channel resource required by the station included in the second indication message. The station allocates the required uplink channel resources. It should be noted that the site is passed in this step.The second indication message carries the required uplink channel resource size information, and the comparison station directly carries the information of the required uplink channel resource size in the first indication message, which reduces the channel resource occupied by the station sending the first indication message. That is, the size of the first indication message transmission resource unit is reduced, that is, the size of the transmission resource unit for transmitting the first indication message is reduced, so that the condition that the same number of stations (STAs) are sent to transmit the first indication message is satisfied. In the meantime, a smaller random access channel resource block can be occupied, because not every allocated random access channel resource block can be used all at all (requires a station that depends on how many uplink transmission requirements, and this number of access points) It is not known in advance), so allocating a small transmission resource unit for transmitting the first indication message helps to reduce the size of the random access channel resource block and improve the channel use efficiency of the entire communication system.
本发明实施例中,站点获取临时标识信息,这样,与接入点未关联的站点有了一个临时的标识信息,便可以根据标识信息按照预设的规则计算得到对应值,再根据对应值选择匹配序号的传输资源单元,使得接入点为所述站点分配信道资源时;站点在向接入点发送所述站点存在上行缓存数据的指示消息后,进一步向接入点发送所述站点所需要的上行信道资源信息,接入点则可根据站点所需要的上行信道资源信息给站点分配相对应大小的信道资源,这样,使得信道资源得到合理利用,提高了传输效率。In the embodiment of the present invention, the site obtains the temporary identifier information, so that the site that is not associated with the access point has a temporary identifier information, and the corresponding value can be calculated according to the preset rule according to the identifier information, and then the corresponding value is selected according to the corresponding value. Matching the transmission resource unit of the sequence number, so that the access point allocates the channel resource to the site; after the station sends the indication message that the site has the uplink buffer data to the access point, the site further needs to send the site to the access point. The uplink channel resource information, the access point can allocate corresponding channel resources to the station according to the uplink channel resource information required by the station, so that the channel resources are rationally utilized and the transmission efficiency is improved.
图7至图10所示的实施例从功能单元的角度对接入点设备的具体结构进行了说明,以下结合图13所示的实施例从硬件角度对接入点设备的具体结构进行说明:The embodiment shown in FIG. 7 to FIG. 10 illustrates the specific structure of the access point device from the perspective of the functional unit. The specific structure of the access point device is described from the hardware point of view below with reference to the embodiment shown in FIG. 13:
如图13所示,该接入点设备包括:发射器1301、接收器1302、处理器1303和存储器1304。As shown in FIG. 13, the access point device includes atransmitter 1301, areceiver 1302, aprocessor 1303, and amemory 1304.
本发明实施例涉及的接入点设备可以具有比图13所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。The access point device according to an embodiment of the present invention may have more or less components than those shown in FIG. 13, may combine two or more components, or may have different component configurations or settings, and each component may Hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
所述发射器1301,用于向站点发送第一下行帧,所述第一下行帧中包含第一指示信息,所述第一指示信息用于为至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送第一指示消息;Thetransmitter 1301 is configured to send a first downlink frame to the station, where the first downlink frame includes first indication information, where the first indication information is used to indicate at the access point for the at least one site Information of a random access resource block included in an uplink scheduling period of the channel resource, the random access resource block includes at least one transmission resource unit, and the at least one transmission resource unit is configured to send the first indication by the at least one station Message
所述接收器1302,通过所述至少一个传输资源单元中的一个传输资源单元接收所述至少一个站点中的第一站点发送的所述第一指示消息;Thereceiver 1302, by using one of the at least one transmission resource unit, receiving the first indication message sent by the first station in the at least one station;
所述第一指示消息用于指示所述第一站点有上行信道资源需求,所述第一指示消息包括所述第一站点的标识信息;The first indication message is used to indicate that the first station has an uplink channel resource requirement, and the first indication message includes identifier information of the first station;
所述处理器1303,用于验证所述第一指示消息是否为有效第一指示消息,若是,则根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述第一站点分配上行信道资源。Theprocessor 1303 is configured to verify whether the first indication message is a valid first indication message, and if yes, according to the first indication message, in an uplink scheduling period of the channel resource of the access point, The first station allocates uplink channel resources.
在另一个实施例中,所述发射器1301,用于在所述接收器1302接收所述第一站点发送的所述第一指示消息之后,向所述第一站点发送第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于为所述第一站点指示用于所述第一站点发送第二指示消息的信道资源;所述第二指示消息携带所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小;In another embodiment, thetransmitter 1301 is configured to send, after thereceiver 1302 receives the first indication message sent by the first station, a second downlink frame to the first station, where The second downlink frame includes second indication information, where the second indication information is used to indicate, for the first station, a channel resource used by the first station to send a second indication message; Describe the size of the uplink channel resource required by the first station or the size of the buffer data that the first station needs to transmit in the uplink;
所述接收器1302还用于接收所述第一站点根据所述第二指示信息所指示的信道资源所发送的所述第二指示消息;Thereceiver 1302 is further configured to receive the second indication message that is sent by the first station according to the channel resource indicated by the second indication information;
所述处理器1303还用于根据所述第二指示消息中包含的所述第一站点所需要的上行信道资源的大小或所述第一站点需上行传输的缓存数据的大小,在所述接入点的信道资源的上行调度期内给所述第一站点分配上行信道资源。Theprocessor 1303 is further configured to: according to the size of the uplink channel resource required by the first station included in the second indication message or the size of the cache data to be uplink transmitted by the first station, The first station is allocated an uplink channel resource in an uplink scheduling period of the inbound channel resource.
本实施例中,处理器1303接收多个站点并行发送的用于指示站点有上行数据需要传输的第一指示消息,就可以很快知道哪些站点有上行数据要发送,提高了查询的效率,进而提高了信道资源分配的效率;同时,接入点可根据实际情况合理分配各站点的上行信道资源,有利于节省信道资源以及系统开销。In this embodiment, theprocessor 1303 receives the first indication message that is sent by multiple sites in parallel to indicate that the station has uplink data to be transmitted, and can quickly know which sites have uplink data to send, thereby improving the efficiency of the query, and further The efficiency of channel resource allocation is improved. At the same time, the access point can allocate the uplink channel resources of each station reasonably according to the actual situation, which is beneficial to save channel resources and system overhead.
图11至图12所示的实施例从功能模块的角度对站点设备的具体结构进行了说明,以下结合图14所示的实施例从硬件角度对站点设备的具体结构进行说明:The embodiment shown in FIG. 11 to FIG. 12 illustrates the specific structure of the site device from the perspective of the functional module. The specific structure of the site device is described from the hardware point of view below with reference to the embodiment shown in FIG. 14:
如图14所示,该站点设备包括:接收器1401、发射器1402、处理器1403和存储器1404。As shown in FIG. 14, the site device includes areceiver 1401, atransmitter 1402, aprocessor 1403, and amemory 1404.
本发明实施例涉及的站点设备可以具有比图14所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。The site device according to an embodiment of the present invention may have more or less components than those shown in FIG. 14, may combine two or more components, or may have different component configurations or settings, and each component may include Hardware, software or one or more signal processing and/or application specific integrated circuitsA combination of hardware and software implementation.
所述接收器1401用于接收接入点发送的第一下行帧,所述第一下行帧包含第一指示信息,所述第一指示信息用于为包括所述站点在内的至少一个站点指示在所述接入点的信道资源的上行调度期内包含的随机接入资源块的信息,所述随机接入资源块包括至少一个传输资源单元,所述至少一个传输资源单元用于所述至少一个站点发送用于指示站点有上行信道资源需求的第一指示消息;Thereceiver 1401 is configured to receive a first downlink frame that is sent by an access point, where the first downlink frame includes first indication information, where the first indication information is used to be at least one that includes the site. The station indicates information of a random access resource block included in an uplink scheduling period of a channel resource of the access point, where the random access resource block includes at least one transmission resource unit, where the at least one transmission resource unit is used for Said at least one station sending a first indication message indicating that the station has an uplink channel resource requirement;
所述处理器1403用于从所述随机接入资源块中选择一个传输资源单元;Theprocessor 1403 is configured to select one transmission resource unit from the random access resource blocks;
所述发射器1402用于通过所选择的传输资源单元向接入点发送所述第一指示消息,所述第一指示消息包括所述站点的标识信息,以使所述接入点验证所述第一指示消息为有效第一指示消息时,根据所述第一指示消息在所述接入点的信道资源的上行调度期内为所述站点分配上行信道资源。Thetransmitter 1402 is configured to send, by using the selected transmission resource unit, the first indication message to an access point, where the first indication message includes identifier information of the site, so that the access point verifies the When the first indication message is a valid first indication message, the uplink channel resource is allocated to the station in an uplink scheduling period of the channel resource of the access point according to the first indication message.
在另一个实施例中,所述处理器1403还用于在接收器1401接收到接入点发送的第一下行帧之后,判断自身是否包含有标识信息,若不包含,则从标识空间内获取临时标识信息,所述站点的标识信息具体为所述临时标识信息。In another embodiment, theprocessor 1403 is further configured to determine, after thereceiver 1401 receives the first downlink frame sent by the access point, whether the identifier information is included in the identifier, and if not, the slave identifier The temporary identification information is obtained, and the identification information of the site is specifically the temporary identification information.
所述处理器1403还用于在接收器1401接收到接入点发送的第一下行帧之后,通过预设规则计算出所述站点的标识信息的对应值;Theprocessor 1403 is further configured to: after thereceiver 1401 receives the first downlink frame sent by the access point, calculate a corresponding value of the identifier information of the site by using a preset rule;
从所述随机接入资源块中根据所述对应值选择相应的一个传输资源单元;Selecting, according to the corresponding value, a corresponding one of the transmission resource units from the random access resource block;
所述接收器1401还用于通过所述选择的传输资源单元向接入点发送所述第一指示消息之后,接收所述接入点发送的第二下行帧,所述第二下行帧包含第二指示信息,所述第二指示信息用于所述接入点为所述站点指示用于所述站点发送第二指示消息的信道资源;所述第二指示消息携带所述站点所需要的上行信道资源的大小;Thereceiver 1401 is further configured to: after sending the first indication message to the access point by using the selected transmission resource unit, receive a second downlink frame sent by the access point, where the second downlink frame includes Two indication information, where the second indication information is used by the access point to indicate, for the station, a channel resource used by the station to send a second indication message; and the second indication message carries an uplink required by the station. The size of the channel resource;
所述发射器1402还用于根据所述第二指示信息所指示的信道资源向所述接入点发送所述第二指示消息,以便所述接入点根据所述第二指示消息中包含的所述站点所需要的上行信道资源的大小,在所述接入点的信道资源的上行调度期内给所述站点分配所需的上行信道资源;Thetransmitter 1402 is further configured to send the second indication message to the access point according to the channel resource indicated by the second indication information, so that the access point is included according to the second indication message. The size of the uplink channel resource required by the station, and allocates the required uplink channel resource to the station during an uplink scheduling period of the channel resource of the access point;
本实施例中,处理器1403在接入点发送的第二指示信息后,将站点所需要的上行信道资源通过发射器1402发送给接入点,提高了信道资源分配的效率。In this embodiment, after the second indication information sent by the access point, theprocessor 1403 transmits the uplink channel resources required by the station to the access point through thetransmitter 1402, thereby improving the efficiency of channel resource allocation.
下面举例说明。在一个具体的实例中,调度帧设置3个时间槽,调度帧头部设置SIG为二进制的“011”共三位,其中一个STA为STA H,STA H上有上行缓存数据20Kb,STA H与AP的关联标识AID为5,请参照图15所示,本发明实施例中资源分配设备的具体应用场景的一个实施例包括:The following is an example. In a specific example, the scheduling frame sets 3 time slots, and the scheduling frame headerThe SIG is set to a binary "011" of three bits, one STA is STA H, STA H has uplink buffer data 20Kb, and STA H and AP associated identifier AID is 5. Referring to FIG. 15, the present invention is implemented. An embodiment of a specific application scenario of the resource allocation device in the example includes:
AP将3列时间槽划分为30个子信道,子信道顺序分别是从1~30排列,STA H通过哈希算法计算AID 5,得到哈希值20,则选择第20个子信道,STA H将包含有AID 5以及指示所述STA有上行缓存数据的第一指示消息通过第20个子信道发送给AP,AP接收到多个STA通过OFDMA机制并行发送的第一指示消息后,获得在第20个子信道接收到的消息中包含的STA H的AID 5,然后用与STA H选取子信道时使用的相同的哈希算法计算AID 5的哈希值,得到哈希值20,并与接收到包含该AID 5的消息的对应子信道的序号20进行比较看是否一致,如果一致,确定上行缓存数据第一指示消息是有效的第一指示消息,AP向STA H发送确认消息,STA H收到确认消息后将上行缓存数据的大小20Kb发送给AP,AP则为STA H分配20Kb所需要的信道资源。The AP divides the three columns of time slots into 30 subchannels, and the subchannel order is arranged from 1 to 30, STA H calculates the AID 5 through the hash algorithm, and obtains the hash value of 20, then selects the 20th subchannel, and STA H will contain The AID 5 and the first indication message indicating that the STA has the uplink buffer data are sent to the AP through the 20th subchannel, and the AP receives the first indication message that multiple STAs send in parallel through the OFDMA mechanism, and obtains the 20th subchannel. The AID 5 of the STA H included in the received message is then used to calculate the hash value of the AID 5 using the same hash algorithm as that used by the STA H to select the subchannel, to obtain a hash value of 20, and to receive the included AID. The sequence number 20 of the corresponding sub-channel of the message of 5 is compared to see whether it is consistent. If the first-information message of the uplink-cached data is determined to be a valid first indication message, the AP sends an acknowledgment message to the STA H, and the STA H receives the acknowledgment message. The size of the uplink buffer data is sent to the AP, and the AP allocates 20Kb of channel resources for the STA H.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that The technical solutions are described as being modified, or equivalent to some of the technical features, and the modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.