基于固定服务质量保证策略的无线局域网分群轮询方法 Wireless local area network group polling method based on fixed service quality assurance strategy
技术领域 Technical field
本发明涉及无线通信技术, 特别是涉及基于服务质量保证的无线局域网 分群轮询方法。 背景技术 The present invention relates to wireless communication technologies, and more particularly to a wireless local area network grouping polling method based on quality of service guarantee. Background technique
无线局域网通常是基于载波侦听多址协议 CSMA的, 其改进方式有: 信 道分裂预约多址接入 SRMA ( split-channel reservation multiple access )、 冲突避免多址接入协议 MACA (multiple access with collision avoidance)、 改进的冲突避免多址接入协议 MACAW、 底部获取多址接入协议 FAMA (floor acquisition multiple acess)和 802. 11等协议, 本发明所指的无线局域网 一般都是基于 CSM协议。 The WLAN is usually based on the Carrier Sense Multiple Access Protocol (CSMA). The improvements are as follows: split-channel reservation multiple access (SRMA), multiple access with collision avoidance (MACA) (multiple access with collision avoidance) The improved collision avoidance multiple access protocol (MACAW), BAMA (floor acquisition multiple acess) and 802.11 protocols, etc., are generally based on the CSM protocol.
在无线局域网中需要建立服务质量 (QoS )保证机制, 目前典型的方法 有两种: IEEE802. il 标准和 IEEE802. lie 标准草案。 其中商用的有 IEEE802. il, 该协议规定了分布式协调功能 (DCF)和点协调 (PCF) 功能, 可实现两种不同优先级的简单 QoS保证机制。在 IEEE802. 11中, PCF采用轮 询方法适用于传输对时延敏感的业务(traffic)类别, 帧间间隔短, 优先 级高, 采用 DCF方式传输的业务类别, 须竞争接入, 帧间间隔相对较长, 优 先级低。 业务类别的定义指, 一个业务类别是一组媒质接入控制 (MAC)层 服务数据单元 (MSDU) , 同一个业务类别的 MSDU, 相比与其他业务类别 MSDU, 具有特定的优先级要求。 IEEE802. 11不能适应优先分级较多的多媒体业务传 输需求。 There is a need to establish a quality of service (QoS) guarantee mechanism in a wireless local area network. Currently, there are two typical methods: IEEE802. il standard and IEEE802. lie draft standard. Commercially available is IEEE 802. il, which specifies Distributed Coordination Function (DCF) and Point Coordination (PCF) functions to implement two simple QoS guarantee mechanisms of different priorities. In IEEE 802.11, the PCF adopts a polling method, which is suitable for transmitting a delay-sensitive traffic category, with a short interframe interval and a high priority. The service class transmitted by the DCF method requires contention access and interframe space. Relatively long, low priority. The definition of a service class means that one service class is a set of Media Access Control (MAC) layer Service Data Units (MSDUs), and the MSDUs of the same service class have specific priority requirements compared to other service classes MSDU. IEEE 802.11 cannot accommodate the multimedia service transmission requirements with a higher priority.
为克服该缺点, IEEE802. 11e 标准草案增加了增强型分布式协调功能 To overcome this shortcoming, the IEEE 802.11e draft standard adds enhanced distributed coordination capabilities.
(EDCF)和混合协调功能(HCF)。 EDCF赋予不同优先级业务类别以不同的帧 间间隔,帧间间隔长的业务接入概率低于帧间间隔短的业务, EDCF可和轮询 方法混合为 HCF, 可实现较复杂的 QoS保证机制。 其缺点是当网络中规定的 业务类别较多时, 各业务类别数据传输的帧间间隔差异较大, 较低优先级业 务类别具有较长帧间间隔, 这并不是业务传输本身要求的, 而是由于多种优
先级不同的业务类别同时竞争媒体造成的, 通过对不同的业务类别设置不同 的帧间间隔, 使之具有不同的接入概率以此实现 QoS保证。 低优先级业务类 别传输的帧间间隔大, 尤其当没有高优先级业务类别传输时, 低优先级业务 类别不能缩短帧间间隔, 造成不必要的传输时延, 降低了网络吞吐量, 网络 性能变差。 (EDCF) and Hybrid Coordination Function (HCF). The EDCF assigns different inter-frame spaces to different priority service classes. The service access probability with a long inter-frame interval is lower than the short inter-frame interval. The EDCF can be mixed with the polling method as HCF, which can implement a more complex QoS guarantee mechanism. . The disadvantage is that when there are many service categories specified in the network, the inter-frame spacing of data transmission of each service category is relatively large, and the lower priority service category has a longer interframe space, which is not required by the service transmission itself, but Due to multiple advantages Different service categories of the predecessors are caused by competing media at the same time. By setting different interframe spaces for different service classes, they have different access probabilities to achieve QoS guarantee. The inter-frame spacing of the low-priority service class transmission is large, especially when there is no high-priority service class transmission, the low-priority service class cannot shorten the interframe space, causing unnecessary transmission delay, reducing network throughput, and network performance. Getting worse.
发明内容 Summary of the invention
本发明所要解决的技术问题是提供一种基于固定服务质量保证策略的 无线局域网分群轮询方法,解决现有技术在业务类别较多时, 各分类业务数 据传输的帧间间隔差异较大, 较低优先级业务类别具有较长帧间间隔, 会造 成不必要的传输时延, 降低了网络吞吐量的技术问题。 The technical problem to be solved by the present invention is to provide a wireless local area network grouping and polling method based on a fixed service quality assurance policy, which solves the problem that the prior art has a large difference in frame spacing between different classified service data transmissions when the service category is large. The priority service class has a longer interframe space, which causes unnecessary transmission delay and reduces the technical problem of network throughput.
为达到上述目的, 本发明提供了一种基于固定服务质量保证策略的无线 局域网分群轮询方法, 其特点在于, 包括: 步骤一、 按业务类别优先级确定 分群轮询策略并按该策略对各分群进行循环反复的轮询, 所述循环反复轮询 的一轮分群轮询, 轮询所有分群或者轮询部分分群,每一轮分群轮询所轮询 内容可不同; 步骤二、 站点根据自己要传输数据业务类别的优先级响应分群 轮询; 步骤三、 符合被轮询条件的站点向目的站点发送数据。 To achieve the above objective, the present invention provides a wireless local area network grouping and polling method based on a fixed service quality assurance policy, which is characterized by the following steps: Step 1: Determine a group polling strategy according to a service category priority and The cluster performs cyclically repeated polling, and the round-robin polling of the round-robin polling polls all clusters or polling partial clusters, and the round-robin polling content of each round may be different; Step 2: The site according to itself The priority response group polling of the data service category is to be transmitted; Step 3: The station that meets the polling condition sends data to the destination station.
上述的方法, 其特点在于, 所述步骤一进一步包括: 由分群轮询协调点 按照站点公知的业务类别优先级和分群编号之间的对应关系, 对不同优先级 的业务类别进行分群, 确定分群轮询策略并按该策略对各分群进行循环反复 的轮询, 实现在高优先级业务类别传输过程中有一定比例低优先级业务类别 的传输, 或者实现在一定时间间隔内, 网络中高优先级业务类别传输完毕之 前禁止低优先级业务类别的传输, 分群轮询的发起和控制由分群轮询协调点 完成。 The above method is characterized in that: the step 1 further comprises: grouping, by the grouping and polling coordination point, grouping service categories of different priorities according to the correspondence between the service class priority and the grouping number known by the station, and determining the grouping Polling the policy and performing round-robin polling for each group according to the policy, achieving a certain proportion of low-priority service class transmission in the high-priority service class transmission process, or achieving high priority in the network within a certain time interval The transmission of low priority service classes is prohibited before the service class is transmitted. The initiation and control of the group polling is completed by the group polling coordination point.
上述的方法, 其特点在于, 所述步骤二中, 还包括使不同优先级业务类 别传输时的帧间间隔以及退避窗口可设置为相同或不同, 并且一个站点可以 响应多个分群的轮询的步骤。 The foregoing method is characterized in that, in the step 2, the inter-frame interval and the backoff window when different priority service classes are transmitted may be set to be the same or different, and one station may respond to the polling of multiple groups. step.
上述的方法, 其特点在于, 所述步骤三中, 所述符合被轮询条件的站点 是基于载波侦听多址协议向目的站点发送数据。 The above method is characterized in that, in the step (3), the station that meets the polling condition transmits data to the destination station based on a carrier sense multiple access protocol.
上述的方法, 其特点在于, 在所述步骤一中, 所述对应关系为: 将业务
类别类别划分为从 SI到 SP的 P种优先级, S1优先级最高, 依次优先级别 递减, SP优先级别最低, 并且站点确知该对应关系。 The above method is characterized in that, in the step 1, the corresponding relationship is: The category category is divided into P priorities from SI to SP, S1 has the highest priority, the priority is decremented, the SP priority is the lowest, and the site knows the correspondence.
上述的方法, 其特点在于, 在所述步骤一中, 所述分群轮询策略为: 由 The above method is characterized in that, in the step 1, the group polling strategy is:
S1向 SP依次、循环反复地对各分群进行轮询, 由 SI分群轮询开始到下一次 S1分群轮询开始之前的过程为所述的一轮分群轮询,所述的一轮分群轮询会 轮询所有分群或者部分分群, 在每个分群轮询期间内, 周期发送或仅在该分 群轮询开始时发送分群轮询参数, 该参数包含被轮询分群的编号。 S1 polls the SPs sequentially and cyclically, and the process from the start of the SI group polling to the start of the next S1 group polling is the round polling of the rounds. All clusters or partial clusters are polled. During each cluster polling period, the periodic polling parameters are sent periodically or only at the beginning of the cluster polling. This parameter contains the number of the polled cluster.
上述的方法, 其特点在于, 所述步骤二进一步包括: 站点识别分群轮询 参数并将该参数中的分群编号和该站点本身的待发送业务类别相比对, 判断 所述待发送业务类别和该分群编号对应的业务类别是否一致, 是则该站点参 与当前分群轮询,传输相应类别的业务类别数据,否则在当前分群轮询期间, 该站点停止发送数据; 如果站点中有多种待传输的业务类别数据, 则该站点 可在每一轮分群轮询期间按上述规则响应多个分群的轮询。 The above method is characterized in that: the step 2 further comprises: the station identifying the grouping polling parameter and comparing the grouping number in the parameter with the to-be-sent service category of the station itself, determining the service category to be sent and Whether the service category corresponding to the group number is consistent, if the station participates in the current group polling and transmits the service category data of the corresponding category, otherwise the station stops transmitting data during the current group polling; if there are multiple to be transmitted in the station The service category data, the station can respond to multiple clusters of polls according to the above rules during each round of group polling.
上述的方法, 其特点在于, 在所述步骤一中, 所述实现在高优先级业务 类别传输过程有一定比例低优先级业务类别的传输,包括:在分群轮询期间, 分群轮询协调点为优先级不同的分群指配不同的分群轮询最大间隔, 在分群 轮询期间, 每当媒体空闲时, 分群轮询协调点判断当前分群轮询期间是否已 无相应业务类别数据发送, 是则分群轮询协调点轮询下一个分群, 否则继续 轮询当前的分群轮询, 直到轮询间隔达到该分群轮询的最大间隔。 The foregoing method is characterized in that, in the step 1, the transmitting in the high priority service class transmission process has a certain proportion of low priority service class, including: during the group polling, the group polling coordination point Different clustering polling maximum intervals are assigned to different priority groups. During the group polling, when the media is idle, the cluster polling coordination point determines whether there is no corresponding service category data transmission during the current group polling period. The cluster polling coordination point polls the next cluster, otherwise it continues to poll the current cluster poll until the polling interval reaches the maximum interval of the cluster poll.
上述的方法, 其特点在于, 还包括, 分群轮询协调点设置当前一轮分群 轮询的最大时长, 如臬该轮分群轮询'的轮询间隔达到所述最大时长, 则分群 轮询协调点将轮询下一轮分群轮询。 The foregoing method is characterized in that, the method further includes: the group polling coordination point sets a maximum duration of the current round of group polling, and if the polling interval of the round group polling reaches the maximum duration, the group polling coordination The point will poll the next round of group polling.
上述的方法, 其特点在于, 在所述步骤一中, 所述实现在一定时间间隔 内, 网络中高优先级业务类别传输完毕之前禁止低优先级业务类别的传输, 包括: 确定每轮分群轮询的最大时长, 在分群轮询期间, 每当媒体空闲时, 分群轮询协调点将判断当前分群轮询期间是否已无相应类别业务数据发送, 是则分群轮询协调点将轮询下一个分群, 否则将继续轮询当前的分群轮询, 如果在规定的当前一轮的分群轮询的最大时长到达时前, SP分群轮询结束, 则分群轮询协调点结束该轮的分群轮询开始下一轮分群轮询, 否则直到当前 一轮的分群轮询达到其对应的最大时长, 分群轮询协调点结束该轮的分群轮
询, 开始下一轮分群轮询。 The foregoing method is characterized in that, in the step 1, the implementation prohibits transmission of the low priority service category before the high priority service category in the network is completed in a certain time interval, including: determining each round of group polling The maximum duration, during the group polling, whenever the media is idle, the cluster polling coordination point will judge whether there is no corresponding category of service data transmission during the current group polling, and the cluster polling coordination point will poll the next group. Otherwise, the current cluster polling will continue to be polled. If the SP cluster polling ends before the specified maximum time of the current round of cluster polling arrives, the cluster polling coordination point ends the round polling of the round. The next round of group polling, otherwise until the current round of group polling reaches its corresponding maximum duration, the cluster polling coordination point ends the round of the group Inquire, start the next round of group polling.
上述的方法, 其特点在于, 所述分群轮询协调点驻留在接入点中。 The above method is characterized in that the group polling coordination point resides in an access point.
本发明的技术效果在于: The technical effects of the present invention are:
本发明由分群轮询协调点按照站点公知的业务类别优先级和分群编号 之间的对应关系, 对不同优先级的业务类别进行分群, 站点根据自己要传输 数据业务类别的优先级响应分群轮询, 从而使不同优先级业务类别传输时的 帧间间隔以及退避窗口可以相同或不同, 进而避免了现有技术因为通过对不 同的业务类别设置不同的帧间间隔以实现 QoS保证所带来的技术问题。本发 明高、 低优先级业务类别传输的帧间间隔可设置为相同或不同, 低优先级业 务类别传输的帧间间隔不会因为高优先级业务类别数量的增加而增大, 当没 有高优先级业务类别传输时, 能适当地提前发起低优先级业务类别的轮询, 减少不必要的传输时延, 增加了网络吞吐量, 加强了网络性能。 According to the present invention, the group polling coordination point groups the service categories of different priorities according to the correspondence between the service class priority and the group number known by the site, and the station responds to the group poll according to the priority of the data service class to be transmitted. Therefore, the interframe space and the backoff window when different priority service classes are transmitted may be the same or different, thereby avoiding the technology of the prior art because QoS guarantee is implemented by setting different interframe spaces for different service classes. problem. The inter-frame spacing of the high- and low-priority service class transmissions of the present invention may be set to be the same or different, and the inter-frame spacing of the low-priority service class transmissions will not increase due to the increase in the number of high-priority service classes, when there is no high priority When the service class is transmitted, the polling of the low priority service class can be initiated in advance, the unnecessary transmission delay is reduced, the network throughput is increased, and the network performance is enhanced.
附图概述 BRIEF abstract
图 1是本发明一个实施例的无线局域网中基于 QoS的分群轮询的轮询流 程图; 1 is a polling flow chart of QoS-based group polling in a wireless local area network according to an embodiment of the present invention;
图 2是本发明的步骤流程图。 Figure 2 is a flow chart of the steps of the present invention.
本发明的最佳实施方式 BEST MODE FOR CARRYING OUT THE INVENTION
下面就结合附图对本发明的各个优选实施例进行详细的说明。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, various preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
图 2是本发明的步骤流程图, 本发明提供的基于服务质量保证的无线局 域网分群轮询方法, 包括: 2 is a flow chart of the steps of the present invention, and the method for grouping and polling the wireless local area network based on the service quality assurance provided by the present invention includes:
步骤 210: 分群轮询的发起和控制由分群轮询协调点完成, 分群轮询协 调点可以驻留在接入点 (AP) 中, 按业务类别优先级不同对业务类别分群, 业务类别优先级和分群编号的对应关系是站点 (STA) 公知的, 分群轮询协 调点确定分群轮询策略并按该策略对各分群进行轮询, 轮询是循环反复的; 步骤 220: STA根据自己要传输数据的业务类别优先级响应分群轮询, 一个站点可以响应多个分群的轮询; 分群轮询协调点能实现在高优先级业务 类别传输过程中有一定比例低优先级业务类别的传输, 或保证在一定时间间
隔内, 网络中高优先级业务类别传输完毕之前禁止低优先级业务类别的传 输; Step 210: The initiation and control of the group polling is completed by the group polling coordination point, and the group polling coordination point may reside in the access point (AP), and the service category is grouped according to the service category priority, and the service class priority is The correspondence between the group and the group number is known to the station (STA). The group polling coordination point determines the group polling strategy and polls each group according to the policy. The polling is cyclically repeated. Step 220: The STA transmits according to itself. The service category priority of the data is responded to the group polling, and one station can respond to the polling of multiple groups; the group polling coordination point can realize the transmission of a certain proportion of low priority service categories in the transmission process of the high priority service category, or Guaranteed for a certain period of time In the interval, the transmission of the low priority service class is prohibited before the transmission of the high priority service class in the network is completed;
步骤 230在分群轮询期间, 符合被轮询条件的 STA基于载波侦听多址协 议 CSMA发送数据, 接收 STA不论是否被轮询或是否能被轮询都予以响应, 不同优先级业务类别传输时的帧间间隔以及退避窗口可以相同或不同。 Step 230 During the group polling, the STA that meets the polling condition transmits data based on the carrier sense multiple access protocol CSMA, and the receiving STA responds whether it is polled or whether it can be polled. When different priority service classes are transmitted, The interframe space and the backoff window may be the same or different.
优选地, 上述按业务类别优先级不同对业务类别分群, 业务类别和分群 编号的对应关系是站点 (STA) 公知的, 分群轮询协调点确定分群轮询策略 并按该策略对各分群进行轮询, 轮询是循环反复的步骤, 包括: 将业务类别 划分为 P种优先级, 即 S1〜SP, SI优先级最高, 依次优先级别递减, SP优 先级别最低, STA确知该对应关系。 分群轮询协调点根据实际情况确定分群 轮询策略, 通常分群轮询策略是由 S1向 SP依次轮询, 轮询完最后一个分群 后循环反复, 在每个分群轮询期间周期发送或仅该分群轮询开始时发送分群 轮询参数, 该参数包含被轮询分群的编号 (如 S3)。 Preferably, the foregoing is a group of service categories grouped according to different service category priorities, and the correspondence between the service category and the group number is known by the station (STA), and the group polling coordination point determines the group polling strategy and performs rounds for each group according to the policy. The polling is a cyclically repeated step, including: dividing the service class into P priorities, that is, S1 to SP, the SI priority is the highest, the priority is decreased in descending, and the SP priority is the lowest, and the STA knows the corresponding relationship. The group polling coordination point determines the group polling strategy according to the actual situation. Usually, the group polling strategy is polled sequentially from S1 to SP, and the loop is repeated after polling the last group, and is sent periodically during each group polling period. The cluster polling parameter is sent at the beginning of the group polling, and the parameter contains the number of the polled group (such as S3).
优选地, 上述 STA根据自己要传输数据的业务类别响应分群轮询, 一个 站点可以响应多个分群的轮询的步骤, 包括: STA能够识别分群轮询参数并 将该参数中的分群编号和自己待发送业务类别相比对, 如果 STA中待发送业 务类别和该分群编号对应的业务类别一致, 则该 STA参与当前分群轮询, 传 输相应类别的业务数据, 反之, 在当前分群轮询期间, 该 STA将停止发送数 据。 如果 STA中有多种业务类别数据, 则该站点可按上述规则响应多个分群 的轮询。 Preferably, the STA responds to the group polling according to the service class for which the data is to be transmitted, and the step that one station can respond to the plurality of grouped polls includes: the STA can identify the group polling parameter and group the group in the parameter If the service class to be sent in the STA is the same as the service class corresponding to the group number, the STA participates in the current group polling and transmits the service data of the corresponding category. Otherwise, during the current group polling period, The STA will stop sending data. If there are multiple service category data in the STA, the site can respond to multiple grouped polls according to the above rules.
优选地, 上述分群轮询协调点可以实现在高优先级业务类别传输过程有 一定比例低优先级业务类别的传输步骤, 包括: 在分群轮询期间, 分群轮询 协调点为优先级不同的分群指配不同的分群轮询最大间隔, 分群轮询协调点 可以设置当前一轮的分群轮询最大时间间隔, 也可以不设置该参数, 在分群 轮询期间, 每当媒体空闲时, 分群轮询协调点将判断当前分群轮询期间是否 还有数据发送, 如果分群轮询协调点认为当前分群轮询期间已无相应业务类 别数据传输, 分群轮询协调点将轮询下一个分群, 反之, 将继续轮询当前的 分群轮询, 直到轮询间隔达到该分群轮询的最大间隔或当前一轮分群轮询的 最大时长。 Preferably, the foregoing grouping and polling coordination point may implement a transmission step of a certain proportion of low priority service classes in the high priority service class transmission process, including: during the grouping polling, the grouping polling coordination point is a group with different priorities The maximum interval for grouping polling is assigned. The group polling coordination point can set the maximum interval of the current round of group polling, or can not set this parameter. During the group polling, when the media is idle, the group polling The coordination point will judge whether there is still data transmission during the current cluster polling. If the cluster polling coordination point believes that there is no corresponding service category data transmission during the current cluster polling period, the cluster polling coordination point will poll the next cluster, and vice versa. Continue to poll the current cluster poll until the polling interval reaches the maximum interval for the cluster poll or the maximum duration of the current round poll.
优选地, 上述在一定时间间隔内, 网络中高优先级业务类别传输完毕之
前禁止低优先级业务类别的传输步骤,包括:确定每轮分群轮询的最大时长, 在分群轮询期间, 每当媒体空闲时, 分群轮询协调点将判断当前分群轮询期 间是否还有数据发送, 如果分群轮询协调点认为当前分群轮询期间已无相应 业务类别数据传输, 分群轮询协调点将轮询下一个分群, 反之, 将继续轮询 当前的分群轮询, 直到当前一轮的分群轮询达到其的最大轮询时长。 分群轮 询不保证在每一轮轮询过程中都能轮询所有业务类别。 Preferably, the high-priority service category in the network is transmitted within a certain time interval. The transmission steps of the low priority service class are prohibited before, including: determining the maximum duration of each round of group polling. During the group polling, whenever the media is idle, the cluster polling coordination point will determine whether there is still a current group polling period. Data transmission, if the group polling coordination point believes that there is no corresponding service category data transmission during the current group polling period, the cluster polling coordination point will poll the next group, and vice versa, will continue to poll the current group poll until the current one The round polling of the round reaches its maximum polling duration. Cluster polling does not guarantee that all service categories can be polled during each round of polling.
图 1是本发明的一个实施例,是无线局域网中传输数据的方法的流程图。 如图 1所示,本实施例的无线局域网中传输数据的方法,首先在步骤 101, 按业务类别优先级分群、 确定轮询策略, 具体地, 分群轮询协调点按类别将 业务类别划分为 P个分群编号 S1〜SP, SI对应的业务类别优先级最高, 依 次优先级别递减, SP优先级别最低, STA确知该对应关系。 分群轮询协调点 确定分群轮询策略, 包括: 分群轮询的时间参数, 是否允许在每轮分群轮询 期间, 高优先级业务类别传输过程中有一定比例低优先级业务类别的传输, 轮询策略规定了分群轮询的次序, 优先级别高的在先, 分群轮询协调点依据 该次序循环反复地轮询。 1 is a flow chart of a method of transmitting data in a wireless local area network, in accordance with an embodiment of the present invention. As shown in FIG. 1 , in the method for transmitting data in the WLAN of the embodiment, first, in step 101, the polling policy is determined according to the priority of the service category, and specifically, the group polling coordination point divides the service category into categories according to the category. For the P group numbers S1 to SP, the service category corresponding to the SI has the highest priority, and the priority level is decremented, and the SP priority level is the lowest. The STA knows the corresponding relationship. The group polling coordination point determines the group polling strategy, including: time parameter of the group polling, whether to allow a certain proportion of low priority service class transmission during the high priority service class transmission during each round of group polling, The inquiry policy specifies the order of group polling, and the priority level is higher, and the group polling coordination point polls repeatedly according to the order.
接着, 在步骤 105, 开始首轮分群轮询, 具体地, 首轮分群轮询以一个 信标帧的发送开始, 该信标帧中包含该轮分群轮询周期的最大时长和剩余时 长。 除了分群轮询协调点所在 STA外的所有 STA根据这些参数设置和更新网 络分配适量。 Next, in step 105, the first round of grouping polling is started. Specifically, the first round of grouping polling starts with the transmission of a beacon frame, and the beacon frame includes the maximum duration and remaining duration of the rounding group polling period. All STAs except the STA where the clustering coordination coordination point is located are allocated and updated according to these parameters.
接着, 在步骤 110, 开始第一个分群分群轮询, 具体地, 分群轮询协调 点广播分群轮询开始信息, 其中包含当前分群轮询的分群群号, 并设置启动 业务超时定时器和分群轮询超时定时器, 或仅设置启动业务超时定时器, 在 当前分群询期间发送的信标帧中携带当前被轮询分群的分群信息。 Next, in step 110, the first grouping grouping polling is started. Specifically, the grouping polling coordination point broadcasts the grouping polling start information, which includes the grouping group number of the current grouping polling, and sets the startup service timeout timer and the grouping. The polling timeout timer, or only the start service timeout timer is set, and the beacon frame sent during the current packet query carries the group information of the currently polled group.
接着, 在步骤 115, 当前分群轮询传输, 具体地, STA能够识别分群群 号, 并将自己待发送业务类别的优先级和分群群号比对, 如果 STA有和当前 轮询编号一致的业务类别数据, 则参与该分群轮询, 依据 CSMA协议以一定 的帧间间隔发送相应数据。不参与该分群轮询的 STA不能发送数据。接收 STA 不论是否被轮询或是否能被轮询都予以响应, 不同优先级业务类别传输时的 帧间间隔以及退避窗口可以相同或不同。 Next, in step 115, the current group polling transmission, specifically, the STA can identify the grouping group number, and compare the priority of the service category to be sent and the group group number, if the STA has a service that is consistent with the current polling number. The category data participates in the cluster polling, and sends corresponding data at certain interframe intervals according to the CSMA protocol. STAs that do not participate in this group polling cannot send data. The receiving STA responds regardless of whether it is polled or whether it can be polled. The interframe space and the backoff window when different priority service classes are transmitted may be the same or different.
接着, 在步骤 120, 判断当前分群轮询是否结束。 具体地, 在每个分群
T/CN2005/001616 轮询期间, 分群轮询协调点判断当前分群轮询期间是否还有数据发送的方法 是, 一旦媒体空闲, 分群轮询协调点就设置启动业务超时定时器, 如果在该 定时器超时前没有被轮询分群业务类别发送, 则分群轮询协调点认为已没有 该级别业务类别数据要传输, 该分群轮询结束, 分群轮询协调点依照轮询策 略转而轮询下一个分群, 反之则关闭该定时器, 直到下一次媒体空闲时, 重 新设置启动业务超时定时器。分群轮询超时定时器则规定了各分群轮询的最 大时间间隔, 如果在当前分群轮询期间, 业务超时定时器始终没有超时, 则 当分群轮询超时或当前一轮的分群轮询间隔已经达到该轮分群的最大间隔 时, 当前分群轮询结束, 分群轮询协调点将检测媒体是否空闲, 如果空闲分 群轮询协调点将立即轮询下一个分群, 如果媒体忙, 则一旦媒体转为空闲, 分群轮询协调点将轮询下一个分群。如果当前分群轮询结束则进行步骤 125, 否则继续当前分群轮询传输。 Next, at step 120, it is determined whether the current cluster polling is over. Specifically, in each group During the polling period, the group polling coordination point determines whether there is still data transmission during the current group polling. Once the media is idle, the cluster polling coordination point sets the start service timeout timer, if at this timing. If the packet is not polled before being timed out, the cluster polling coordination point considers that there is no traffic class data to be transmitted. The cluster polling ends, and the cluster polling coordination point polls the next poll according to the polling policy. Grouping, otherwise, the timer is turned off, and the startup service timeout timer is reset until the next time the media is idle. The group polling timeout timer specifies the maximum time interval for each group polling. If the service timeout timer does not time out during the current group polling period, the grouping polling timeout or the current round of grouping polling interval has been When the maximum interval of the round group is reached, the current cluster polling ends, and the cluster polling coordination point will detect whether the media is idle. If the idle cluster polling coordination point will immediately poll the next group, if the media is busy, once the media turns to Idle, the cluster polling coordination point will poll the next group. If the current cluster polling is over, proceed to step 125, otherwise continue the current cluster polling transmission.
接着, 在步骤 125, 判断是否是该轮最后一个分群轮询, 具体的, 如果 在步骤 120判断, 当前分群轮询结束, 则分群轮询协调点根据轮询策略, 判 断结束的当前分群轮询是否是这一轮轮询的最后一个分群, 如果否, 则进行 步骤 130; 如果是, 则判断是否达到该轮分群轮询周期的最大时长, 如果是, 进行步骤 135; 如果否, 则可以提前结束该轮分群轮询进行步骤 135, 也可 以让所有 STA采用 CSMA协议竞争媒体传输或采用其他传输方式传输数据, 并在达到该轮分群轮询周期的最大时长时进行步骤 135。 Next, in step 125, it is determined whether it is the last group polling of the round. Specifically, if it is determined in step 120 that the current grouping polling ends, the group polling coordination point determines the ending current group polling according to the polling policy. Whether it is the last group of this round of polling, if not, proceed to step 130; if yes, determine whether the maximum duration of the round-robin polling period is reached, and if yes, proceed to step 135; if not, advance After the round-trip grouping polling is performed, step 135 is performed, and all STAs may be used to compete for media transmission by using the CSMA protocol or transmit data by using other transmission methods, and step 135 is performed when the maximum duration of the round-robin polling period is reached.
接着, 在步骤 130, 开始下一个分群分群轮询, 具体地, 分群轮询协调 点广播分群轮询开始信息, 其中包含当前分群轮询的分群群号, 并设置启动 业务超时定时器和分群轮询超时定时器, 或仅设置启动业务超时定时器, 在 当前分群询期间发送的信标帧中携带当前被轮询分群的分群信息。 Next, in step 130, the next grouping grouping polling is started. Specifically, the grouping polling coordination point broadcasts the grouping polling start information, which includes the grouping group number of the current grouping polling, and sets the startup service timeout timer and the grouping wheel. The timeout timer is set, or only the start service timeout timer is set, and the beacon frame sent during the current group query carries the group information of the currently polled group.
接着, 在步骤 135, 开始下一轮分群轮询, 具体地该分群轮询以一个信 标帧的发送开始, 该信标帧中包含该轮分群轮询周期的最大时长和剩余时 长。除了分群轮询协调点所在 STA外的所有 STA根据这些参数设置和更新网 络分配适量。 Next, in step 135, the next round of grouping polling is started. Specifically, the grouping polling starts with the transmission of a beacon frame containing the maximum duration and remaining duration of the round-robin polling period. All STAs except the STA where the clustering coordination coordination point is located are allocated and updated according to these parameters.
另外, 根据本发明的一个变形例, 在步骤 110和步骤 130, 分群轮询协 调点广播分群轮询开始信息, 其中包含当前分群轮询的分群群号, 仅设置启 动业务超时定时器。 在步骤 120分群轮询协调点除需判断当前分群轮询期间
P T/CN2005/001616 是否还有数据发送, 还要判断本轮分群轮询间隔是否达到该轮分群轮询周期 的最大时长, 如果当前分群轮询无相应类别业务传输, 或当前分群轮询时间 间隔已达到该轮分群轮询周期的最大时长, 则进行步骤 125。 在步骤 125, 如果因当前分群轮询无相应类别业务传输结束由步骤 120进入歩骤 125, 则 分群轮询协调点判断是否是最后一个分群, 如果否, 则进行步骤 130, 如果 是, 则进行步骤 135。 如果在步骤 125, 是因为达到该轮分群轮询周期的最 大时长由步骤 120进入步骤 125, 则进行步骤 135。 在该变形例中, 分群轮 询协调点不保证在每一轮轮询过程中都能轮询所有业务类别, 且 SP分群轮 询结束, 则分群轮询协调点结束该轮的分群轮询幵始下一轮分群轮询。 In addition, according to a variant of the present invention, in step 110 and step 130, the group polling coordination point broadcasts the group polling start information, which includes the cluster group number of the current group polling, and only sets the start service timeout timer. In step 120, the group polling coordination point needs to determine the current group polling period. PT/CN2005/001616 Is there any data transmission, and it is also judged whether the current round-robin polling interval has reached the maximum duration of the round-robin polling period, if there is no corresponding category service transmission in the current cluster polling, or the current group polling interval If the maximum duration of the round-robin polling period has been reached, then step 125 is performed. In step 125, if the current group polling does not have the corresponding category service transmission ends, the step 120 proceeds to step 125, and the cluster polling coordination point determines whether it is the last group. If not, proceed to step 130, and if yes, proceed Step 135. If, at step 125, the maximum duration of the round-robin polling cycle is reached from step 120 to step 125, then step 135 is performed. In this variant, the group polling coordination point does not guarantee that all service categories can be polled during each round of polling, and the SP group polling ends, and the group polling coordination point ends the round polling of the round. Start the next round of group polling.
由上可知, 本发明由分群轮询协调点按照站点公知的业务类别优先级和 分群编号之间的对应关系, 站点根据自己要传输数据业务类别的优先级响应 分群轮询, 从而使不同优先级业务类别传输时的帧间间隔以及退避窗口可以 相同或不同, 低优先级业务类别传输的帧间间隔不会很大, 当没有高优先级 业务类别传输时, 低优先级业务类别能自适应地縮短帧间间隔, 不会造成不 必要的传输时延, 增加了网络吞吐量, 加强了网络性能。 As can be seen from the above, the present invention is configured by the group polling coordination point according to the correspondence between the service class priority and the group number known by the site, and the station responds to the group poll according to the priority of the data service class to be transmitted, thereby making different priorities. The inter-frame spacing and the back-off window of the service class transmission may be the same or different, and the inter-frame spacing of the low-priority service class transmission is not large. When there is no high-priority service class transmission, the low-priority service class can adaptively Shortening the interframe space does not cause unnecessary transmission delays, increases network throughput, and enhances network performance.
以上虽然通过一些示例性的实施例对本发明的无线局域网中传输数据的方 法进行了详细的描述, 但是以上这些实施例并不是穷举的, 本领域技术人员 可以在本发明的精神和范围内实现各种变化和修改。 因此, 本发明并不限于 这些实施例, 本发明的范围仅由所附权利要求为准。
Although the method for transmitting data in the wireless local area network of the present invention has been described in detail through some exemplary embodiments, the above embodiments are not exhaustive, and those skilled in the art can implement the spirit and scope of the present invention. Various changes and modifications. Therefore, the invention is not limited to the embodiments, and the scope of the invention is only limited by the appended claims.