CN101179421B - A method, device and system for differentiating quality of service mapping tables - Google Patents
A method, device and system for differentiating quality of service mapping tables Download PDFInfo
- Publication number
- CN101179421B CN101179421B CN2006101387106A CN200610138710A CN101179421B CN 101179421 B CN101179421 B CN 101179421B CN 2006101387106 A CN2006101387106 A CN 2006101387106A CN 200610138710 A CN200610138710 A CN 200610138710A CN 101179421 B CN101179421 B CN 101179421B
- Authority
- CN
- China
- Prior art keywords
- mapping table
- quality
- identification information
- qos
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种区分服务质量映射表的方法、装置及系统,以便在网络侧的服务质量映射表发生变更时终端设备能正确更新服务质量映射表;本发明方法包括:网络侧发送包含服务质量映射表及其标识信息的消息;所述消息为网络侧接收到请求服务质量映射表的消息后发送的响应消息时,接收到该响应消息的终端设备在本地保存所述服务质量映射表及其标识信息;所述消息为网络侧发送的更新消息时,接收到所述更新消息的终端设备确定该消息中的标识信息与本地的标识信息一致后,利用该更新消息中的服务质量映射表更新本地服务质量映射表;另外,终端设备根据网络侧通过单播方式发送更新的服务质量映射表更新本地的服务质量映射表。
The invention discloses a method, device and system for distinguishing the quality of service mapping table, so that the terminal equipment can correctly update the quality of service mapping table when the quality of service mapping table on the network side is changed; the method of the invention includes: the network side sends A message of a quality mapping table and its identification information; when the message is a response message sent by the network side after receiving a message requesting a quality of service mapping table, the terminal device receiving the response message locally saves the quality of service mapping table and Its identification information; when the message is an update message sent by the network side, the terminal device that receives the update message determines that the identification information in the message is consistent with the local identification information, and uses the quality of service mapping table in the update message The local QoS mapping table is updated; in addition, the terminal device updates the local QoS mapping table according to the updated QoS mapping table sent by the network side through unicast.
Description
技术领域technical field
本发明涉及通信领域,特别涉及一种区分服务质量映射表的方法、装置及系统。The invention relates to the communication field, in particular to a method, device and system for distinguishing service quality mapping tables.
背景技术Background technique
如图1所示的802.11网络的扩展服务集(ESS,Extension Service Set)由通过分发系统(DS,Distribution System)连接的多个基本服务集(BSS,BasicService Set)组成,其中,一个BSS由一组同步的终端/站点(STA,STATION)组成,所述STA是带有802.11无线网络接口的处理设备,主要指的是802.11网络的用户终端,如膝上型计算机或者手提电脑;所述STA通过接入点(AP,Access Point)接入到DS;所述DS不包括在ESS内。The extended service set (ESS, Extension Service Set) of the 802.11 network shown in Fig. Group synchronous terminals/stations (STA, STATION), the STA is a processing device with an 802.11 wireless network interface, mainly referring to a user terminal of the 802.11 network, such as a laptop computer or a laptop computer; the STA passes An access point (AP, Access Point) is connected to a DS; the DS is not included in the ESS.
在IEEE 802.11u标准文档《P802.11u-D0.01》中提到当WLAN与外部网络互通的时候需要进行服务质量(QoS,Quality of Service)映射,然而不同的外部网络有不同的QoS表示方法,但是在所有的IP数据包中是用IP头中区分服务码点(DSCP,Different Service Code Point)来标识端到端的优先级,所以如果要在IEEE 802.11的空中接口上保留这个优先级的话就需要将DSCP正确地映射到IEEE 802.11e的接入类别(AC,Access Category),下面分别介绍QoS映射的方法和传输QoS映射表的方法。In the IEEE 802.11u standard document "P802.11u-D0.01", it is mentioned that QoS (Quality of Service) mapping is required when WLAN communicates with external networks. However, different external networks have different QoS representation methods , but in all IP data packets, the end-to-end priority is identified by the Different Service Code Point (DSCP, Different Service Code Point) in the IP header, so if you want to reserve this priority on the air interface of IEEE 802.11, you must The DSCP needs to be correctly mapped to the IEEE 802.11e access category (AC, Access Category). The following describes the method of QoS mapping and the method of transmitting the QoS mapping table.
IEEE 802.11e定义了QoS机制,即用户优先级(UP,User Priority)到接入类别(AC,Access Category)的映射方法。在IEEE 802.11e中定义了增强分布式协调接入(EDCA,Enhanced Distribution Coordinate Access)的机制,在这种机制中提供了以下功能:支持服务质量的终端/站点(QSTA,Quality ofService(QoS)Station)可以用8个不同的UP来接入信道,具体的方法是:定义四种接入类型AC来支持STA分发具有不同UP的业务流。不同的AC对应的发送机会(分配占用信道的时长)、竞争窗口、退避的时间也不同,不同的AC对应不同的队列。当STA发送数据到AP的时候,不同UP标识的数据会放到相应的AC队列进行发送,同理AP发送数据到STA也是如此,因此也就实现了IEEE 802.11的QoS。UP到AC的映射表如表1所示。IEEE 802.11e defines the QoS mechanism, that is, the mapping method from user priority (UP, User Priority) to access category (AC, Access Category). The mechanism of Enhanced Distribution Coordinate Access (EDCA, Enhanced Distribution Coordinate Access) is defined in IEEE 802.11e, and the following functions are provided in this mechanism: Terminal/site supporting quality of service (QSTA, Quality of Service (QoS) Station ) can use 8 different UPs to access the channel. The specific method is: define four types of access ACs to support STAs to distribute service flows with different UPs. Different ACs correspond to different sending opportunities (duration of channel occupation), contention window, and backoff time, and different ACs correspond to different queues. When the STA sends data to the AP, the data with different UP identifiers will be put into the corresponding AC queue for sending, and the same is true for the AP sending data to the STA, so the QoS of IEEE 802.11 is realized. Table 1 shows the mapping table from UP to AC.
表1Table 1
上表中主要体现UP列到AC列的映射,从上到下的优先级是递增的。8个UP值分别对应着AC中定义的四种类型的业务:AC_BK,AC_BE,AC_VI,AC_VO,而这四种AC的业务也就是对应的Background、Best Effort、Video、Voice。The above table mainly reflects the mapping from the UP column to the AC column, and the priority from top to bottom is increasing. The 8 UP values correspond to the four types of services defined in the AC: AC_BK, AC_BE, AC_VI, and AC_VO, and the services of these four ACs are the corresponding Background, Best Effort, Video, and Voice.
下面介绍DSCP到UP的映射方法,现有提案中采用服务质量映射表元素(QoS Map Set element)来表示这个映射关系,QoS映射表具体形式如表2所示。The following describes the mapping method from DSCP to UP. In the existing proposal, the QoS Map Set element is used to represent the mapping relationship. The specific form of the QoS mapping table is shown in Table 2.
表2Table 2
QoS映射表中,元素标识Element ID是QoS映射表元素的标识值;长度Length是QoS Map Set中除了Element ID字段和Length字段外的字节数;区分服务码点例外元素DSCP exception element是可选的,最多有8个;QoS MapSet最后有8个区分服务码点范围元素DSCP Range element分别对应到8个UP的值;比如序号Order为5+n-2的DSCP Range element对应UP的值等于0,其他类似。In the QoS mapping table, the element identifier Element ID is the identification value of the QoS mapping table element; the length Length is the number of bytes in the QoS Map Set except for the Element ID field and the Length field; the differentiated service code point exception element DSCP exception element is optional There are at most 8; QoS MapSet finally has 8 differentiated service code point range elements DSCP Range element corresponding to 8 UP values; for example, the value of UP corresponding to DSCP Range element whose sequence number is 5+n-2 is equal to 0 , and others similar.
下面具体介绍DSCP exception element字段和DSCP Range element字段的格式。如图2所示的DSCP exception element字段的具体格式示意图中,DSCPValue是DSCP的值,User Priority就是对应的UP值;如图3所示的DSCP Rangeelement字段的具体格式示意图中,DSCP Low Value是DSCP的小端值,DSCPHigh Value是DSCP的大端值,处于小端值和大端值之间的DSCP值都对应到一个相应的UP值(具体UP值参见表1)。经过上述的映射之后每个DSCP的值都会对应一个UP值,所以一个QoS映射表也就是一个DSCP到UP的QoS映射表。The following describes the formats of the DSCP exception element field and the DSCP Range element field in detail. In the specific format diagram of the DSCP exception element field shown in Figure 2, DSCPValue is the value of DSCP, and User Priority is the corresponding UP value; in the specific format diagram of the DSCP Rangeelement field shown in Figure 3, DSCP Low Value is DSCP The little endian value of DSCPHigh Value is the big endian value of DSCP, and the DSCP value between the little endian value and the big endian value corresponds to a corresponding UP value (see Table 1 for the specific UP value). After the above mapping, each DSCP value corresponds to a UP value, so a QoS mapping table is also a QoS mapping table from DSCP to UP.
如图4所示,该图为终端与接入点交互的原语示意图,其中,媒体接入控制(MAC,Media Access Control)层与终端管理实体(SME,Station ManagementEntity)之间通过原语进行通信(MAC层与SME之间存在一个MAC层管理实体MLME(MAC sublayer management entity)接口),STA的MAC层与AP的MAC层之间通过帧通信;其交互的流程如下:As shown in Figure 4, this figure is a schematic diagram of primitives for interaction between a terminal and an access point, where the media access control (MAC, Media Access Control) layer and the terminal management entity (SME, Station ManagementEntity) are implemented through primitives Communication (there is a MAC layer management entity MLME (MAC sublayer management entity) interface between the MAC layer and the SME), the MAC layer of the STA and the MAC layer of the AP communicate through frames; the interaction process is as follows:
1、STA的SME产生一个request原语,并将该request原语发送到STA的MAC层。1. The SME of the STA generates a request primitive and sends the request primitive to the MAC layer of the STA.
2、STA的MAC层根据接收到的request原语生成相应的request帧,并且将该request帧发送到AP的MAC层。2. The MAC layer of the STA generates a corresponding request frame according to the received request primitive, and sends the request frame to the MAC layer of the AP.
3、AP的MAC层根据接收到的request帧生成相应的indication原语,并将该indication原语发送到AP的SME。3. The MAC layer of the AP generates a corresponding indication primitive according to the received request frame, and sends the indication primitive to the SME of the AP.
4、AP的SME根据接收到的indication原语生成相应的response原语,并将该response原语发送到AP的MAC层。4. The SME of the AP generates a corresponding response primitive according to the received indication primitive, and sends the response primitive to the MAC layer of the AP.
5、AP的MAC层根据接收到的response原语生成相应的response帧,并将该response帧发送到STA的MAC层。5. The MAC layer of the AP generates a corresponding response frame according to the received response primitive, and sends the response frame to the MAC layer of the STA.
6、STA的MAC层根据接收到的response帧生成相应的confirm原语,并将该confirm原语发送到STA的SME。STA的SME接收到confirm原语后执行相应的动作。6. The MAC layer of the STA generates a corresponding confirm primitive according to the received response frame, and sends the confirm primitive to the SME of the STA. The STA's SME performs corresponding actions after receiving the confirm primitive.
图5A、图5B所示的802.11协议的通用帧结构示意图中,802.11协议的通用帧主要由媒体接入控制头信息(MAC Header)、帧体信息(Frame Body)和帧校验序列(FCS,Frame Check Sequence)三部分组成,其中,MAC Header主要标识该帧的类型、地址、分段信息和服务质量控制(QoS Control)等信息;Frame Body是帧体信息,如果该帧为数据帧,则Frame Body就是数据信息;如果该帧为管理帧,则Frame Body就是一些需要管理的信息;FCS是整个帧的校验信息。In the schematic diagrams of the general frame structure of the 802.11 protocol shown in Figure 5A and Figure 5B, the general frame of the 802.11 protocol is mainly composed of media access control header information (MAC Header), frame body information (Frame Body) and frame check sequence (FCS, Frame Check Sequence) consists of three parts, among which, MAC Header mainly identifies the frame type, address, segmentation information and service quality control (QoS Control) and other information; Frame Body is frame body information, if the frame is a data frame, then Frame Body is data information; if the frame is a management frame, Frame Body is some information that needs to be managed; FCS is the check information of the entire frame.
图6为802.11协议的管理帧结构示意图,802.11协议的管理帧同样由MACHeader、Frame Body和FCS三部分组成,其中,MAC Header中的DA表示帧的目的地址,SA表示帧的源地址,BSSID是一个AP的MAC地址,这个AP管理着这个BSS;Frame Body包含该管理帧具体的管理信息。Action帧属于管理帧,其帧体主要由Action字段构成,其中,Action字段主要由Category字段和Action Details字段组成,如图7所示;Category字段标识了这个Action帧的类别,一个给定Category Name的Action帧称为<Category Name>Action帧,例如QoS类别的Action帧称为QoS Action帧,这个时候Category字段的值为1;Action Details是Action帧的一些具体信息,根据Action帧的类型不同而不同。Figure 6 is a schematic diagram of the management frame structure of the 802.11 protocol. The management frame of the 802.11 protocol is also composed of MAC Header, Frame Body and FCS. Among them, DA in the MAC Header represents the destination address of the frame, SA represents the source address of the frame, and BSSID is The MAC address of an AP that manages the BSS; the Frame Body contains the specific management information of the management frame. The Action frame belongs to the management frame, and its frame body is mainly composed of the Action field. The Action field is mainly composed of the Category field and the Action Details field, as shown in Figure 7; the Category field identifies the category of the Action frame, and a given Category Name The Action frame is called <Category Name>Action frame, for example, the Action frame of the QoS category is called a QoS Action frame, and the value of the Category field is 1 at this time; Action Details is some specific information of the Action frame, which varies according to the type of the Action frame different.
下面介绍QoS映射表的传输方法,如图8所示,本流程假设AP中预配置了后端网络的信息,例如VLAN和DSCP映射之间的对应关系,其实现过程如下:The following describes the transmission method of the QoS mapping table. As shown in Figure 8, this process assumes that the information of the back-end network is pre-configured in the AP, such as the correspondence between VLAN and DSCP mapping. The implementation process is as follows:
步骤800、STA与AP完成关联/重关联(Association)。In step 800, the STA completes the association/re-association (Association) with the AP.
步骤801、STA与AP完成EAP认证,即STA收到EAP-Success消息。In step 801, the STA and the AP complete the EAP authentication, that is, the STA receives the EAP-Success message.
步骤802、AP关联STA到虚拟局域网/隧道VLAN/Tunnel,AP可以根据这个信息将STA与对应的QoS Map Set正确地关联起来。Step 802, the AP associates the STA with the virtual local area network/tunnel VLAN/Tunnel, and the AP can correctly associate the STA with the corresponding QoS Map Set according to this information.
步骤803、STA获得空中接口的传输密钥,即完成四次握手。In step 803, the STA obtains the transmission key of the air interface, that is, completes the four-way handshake.
步骤804、STA通过QoS Map Request帧向AP请求QoS映射表。Step 804, the STA requests the QoS mapping table from the AP through the QoS Map Request frame.
步骤805、AP选择与STA相应的QoS映射表,并将该QoS映射表放在QoS Map Configure帧中发送给STA。Step 805, the AP selects the QoS mapping table corresponding to the STA, and puts the QoS mapping table in the QoS Map Configure frame and sends it to the STA.
步骤806、STA将接收到的QoS Map Configure帧中的QoS映射表保存。Step 806, the STA saves the QoS mapping table in the received QoS Map Configure frame.
步骤807、当AP中的QoS映射表发生更新时,AP通过多播/广播方式将包含更新的QoS映射表的QoS Map Configure帧下发给STA。Step 807, when the QoS mapping table in the AP is updated, the AP sends the QoS Map Configure frame containing the updated QoS mapping table to the STA through multicast/broadcasting.
步骤808、STA接收到QoS Map Configure帧后更新本地的QoS映射表。In step 808, the STA updates the local QoS mapping table after receiving the QoS Map Configure frame.
上述流程中的QoS Map Request帧和QoS Map Configure帧都是Action帧,QoS Map Request帧的帧体格式如表3所示:The QoS Map Request frame and QoS Map Configure frame in the above process are both Action frames, and the frame body format of the QoS Map Request frame is shown in Table 3:
表3table 3
QoS Map Configure帧的帧体格式如表4所示:The frame body format of the QoS Map Configure frame is shown in Table 4:
表4Table 4
表3和表4中的Category字段的含义与图7中的Category字段相同,它们的值都为1(表示是QoS Action帧),Action字段表示了不同的QoS Action帧,它们的值分别为4和5;Dialog Token字段用于匹配Action帧的响应和请求;表4中的QoS映射表的具体形式参见上表2。The meaning of the Category field in Table 3 and Table 4 is the same as the Category field in Figure 7, and their values are all 1 (representing a QoS Action frame), and the Action field represents different QoS Action frames, and their values are 4 respectively and 5; the Dialog Token field is used to match the response and request of the Action frame; see Table 2 above for the specific form of the QoS mapping table in Table 4.
STA向AP请求QoS映射表时,如图9所示,QoS Map Request帧和QoS MapConfigure帧在STA和AP之间的传输过程如下:When the STA requests the QoS mapping table from the AP, as shown in Figure 9, the transmission process of the QoS Map Request frame and the QoS MapConfigure frame between the STA and the AP is as follows:
1、STA的SME产生一个MLME-QoSMap.request原语,并将该原语发送到STA的MAC层。1. The SME of the STA generates a MLME-QoSMap.request primitive, and sends the primitive to the MAC layer of the STA.
2、STA的MAC层根据接收到的MLME-QoSMap.request原语生成相应的QoS Map Request帧,并将该帧发送到AP的MAC层。2. The MAC layer of the STA generates a corresponding QoS Map Request frame according to the received MLME-QoSMap.request primitive, and sends the frame to the MAC layer of the AP.
3、AP的MAC层根据接收到的QoS Map Request帧生成MLME-QoSMap.indication原语,并将该原语发送到AP的SME。3. The MAC layer of the AP generates the MLME-QoSMap.indication primitive according to the received QoS Map Request frame, and sends the primitive to the SME of the AP.
4、AP的SME根据接收到的MLME-QoSMap.indication原语生成相应的MLME-QoSMap.response原语,并将该原语发送到AP的MAC层。4. The SME of the AP generates the corresponding MLME-QoSMap.response primitive according to the received MLME-QoSMap.indication primitive, and sends the primitive to the MAC layer of the AP.
5、AP的MAC层根据接收到的MLME-QoSMap.response原语生成相应的QoS Map Configure帧,并将该帧发送到STA的MAC层。5. The MAC layer of the AP generates the corresponding QoS Map Configure frame according to the received MLME-QoSMap.response primitive, and sends the frame to the MAC layer of the STA.
6、STA的MAC层根据接收到的QoS Map Configure帧生成MLME-QoSMap.confirm原语,并将该原语发送到STA的SME。STA的SME根据接收到的该原语执行相应的动作。6. The MAC layer of the STA generates the MLME-QoSMap.confirm primitive according to the received QoS Map Configure frame, and sends the primitive to the SME of the STA. The STA's SME performs corresponding actions according to the received primitive.
当AP中的QoS Map Set发生更新的时候QoS Map Configure帧在STA和AP之间的传输过程与上述过程类似,仅省略第1步到第3步(此时,AP的SME不会收到MLME-QoSMap.indication原语),其他实现步骤同理,不再赘述。When the QoS Map Set in the AP is updated, the transmission process of the QoS Map Configure frame between the STA and the AP is similar to the above process, only steps 1 to 3 are omitted (at this time, the SME of the AP will not receive the MLME -QoSMap.indication primitive), the other implementation steps are the same, and will not be repeated here.
综上所述,现有技术中接入点AP有多个QoS映射表,因此下发给终端的QoS映射表也就有所不同,所以当AP下发更新的QoS映射表时,STA不能区分QoS Map Configure帧中的QoS映射表是不是自己对应的QoS映射表,如果AP下发的QoS映射表不是STA对应的QoS映射表,那么STA将会得到错误的QoS映射表,进而导致STA不能正常更新QoS映射表,进一步影响到STA的服务质量。To sum up, in the prior art, the access point AP has multiple QoS mapping tables, so the QoS mapping tables delivered to the terminal are also different, so when the AP delivers the updated QoS mapping table, the STA cannot distinguish between Is the QoS mapping table in the QoS Map Configure frame its own corresponding QoS mapping table? If the QoS mapping table issued by the AP is not the QoS mapping table corresponding to the STA, the STA will get the wrong QoS mapping table, which will cause the STA to malfunction. Updating the QoS mapping table further affects the service quality of the STA.
发明内容Contents of the invention
本发明提供一种区分服务质量映射表的方法,以便在网络侧的服务质量映射表发生变更时终端设备能正确更新服务质量映射表。The invention provides a method for distinguishing the quality of service mapping table, so that the terminal equipment can correctly update the service quality mapping table when the service quality mapping table on the network side is changed.
本发明提供如下技术方案:The present invention provides following technical scheme:
一种区分服务质量映射表的方法,包括步骤:A method for differentiating quality of service mapping tables, comprising the steps of:
网络侧发送包含服务质量映射表及其标识信息的消息;The network side sends a message including the quality of service mapping table and its identification information;
所述消息为网络侧接收到请求服务质量映射表的消息后发送的响应消息时,接收到该响应消息的终端设备在本地保存所述服务质量映射表及其标识信息;When the message is a response message sent by the network side after receiving a message requesting a QoS mapping table, the terminal device receiving the response message locally saves the QoS mapping table and its identification information;
所述消息为网络侧发送的更新消息时,接收到所述更新消息的终端设备确定该消息中的标识信息与本地的标识信息一致后,利用该更新消息中的服务质量映射表更新本地服务质量映射表。When the message is an update message sent by the network side, after receiving the update message, the terminal device determines that the identification information in the message is consistent with the local identification information, and uses the service quality mapping table in the update message to update the local quality of service mapping table.
一种更新服务质量映射表的方法,包括步骤:A method for updating a quality of service mapping table, comprising the steps of:
网络侧通过单播方式发送包含更新的服务质量映射表的更新消息;The network side sends an update message including the updated QoS mapping table through unicast;
接收到该更新消息的终端设备根据该更新消息中的服务质量映射表更新本地服务质量映射表。The terminal device that receives the update message updates the local quality of service mapping table according to the service quality mapping table in the update message.
一种网络设备,包括:A network device comprising:
接收单元,用于接收其他通信设备发送的消息;a receiving unit, configured to receive messages sent by other communication devices;
选择单元,用于根据请求消息或者主动选择与其他通信设备相应的服务质量映射表及其标识信息;A selection unit, configured to select the quality of service mapping table and its identification information corresponding to other communication devices according to the request message or actively;
发送单元,用于发送包含所述服务质量映射表及其标识信息的消息。A sending unit, configured to send a message including the QoS mapping table and its identification information.
一种终端设备,包括:A terminal device comprising:
接收单元,用于接收包含服务质量映射表及其标识信息的消息;a receiving unit, configured to receive a message including a quality of service mapping table and its identification information;
存储单元,用于保存服务质量映射表及其标识信息;a storage unit, configured to store the quality of service mapping table and its identification information;
比较单元,用于将接收到的消息中的服务质量映射表的标识信息与保存的服务质量映射表的标识信息进行比较;A comparing unit, configured to compare the identification information of the quality of service mapping table in the received message with the identification information of the saved quality of service mapping table;
更新单元,用于在接收到的消息中的标识信息与保存的标识信息一致时,根据所述消息中的服务质量映射表更新所述存储单元中的服务质量映射表。An updating unit, configured to update the quality of service mapping table in the storage unit according to the quality of service mapping table in the message when the identification information in the received message is consistent with the saved identification information.
一种通信系统,包括:A communication system comprising:
网络设备,用于向终端设备发送包含服务质量映射表及其标识信息的消息;The network device is configured to send a message including the quality of service mapping table and its identification information to the terminal device;
终端设备,用于向网络设备请求服务质量映射表的消息后接收响应消息,并在本地保存所述响应消息中携带的服务质量映射表及其标识信息;或者用于接收更新消息,并确定该消息中的标识信息与本地的标识信息一致后,利用该更新消息中的服务质量映射表更新本地服务质量映射表。The terminal device is configured to receive a response message after requesting the message of the quality of service mapping table from the network device, and store locally the quality of service mapping table and its identification information carried in the response message; or to receive an update message, and determine the After the identification information in the message is consistent with the local identification information, the local quality of service mapping table is updated by using the service quality mapping table in the update message.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明中网络侧的服务质量映射表发生更新时,终端设备能够正确判断是否更新本地保存的服务质量映射表;终端设备初次从网络侧请求服务质量映射表时,网络侧将包含相应的服务质量映射表及其标识信息的响应消息发送给所述终端设备,所述终端设备在本地保存所述服务质量映射表及其标识信息;当网络侧的服务质量映射表变更时,将包含更新的服务质量映射表及其标识信息的更新消息发送给终端设备,接收到该更新消息的终端设备将该消息中的所述标识信息与本地保存的服务质量映射表的标识信息进行比较,并且在两者一致时根据该更新消息中的服务质量映射表更新本地保存的服务质量映射表;另外,本发明中当网络侧的服务质量映射表发生更新时,网络侧通过单播方式下发更新的服务质量映射表,也可以实现终端设备正确更新本地保存的服务质量映射表;采用本发明有效地避免了由于终端设备错误更新本地保存的服务质量映射表而导致不能正常处理服务质量的问题,从而使得终端设备能够更加有效地工作。In the present invention, when the quality of service mapping table on the network side is updated, the terminal device can correctly determine whether to update the locally stored quality of service mapping table; when the terminal device requests the quality of service mapping table from the network side for the first time, the network side will include the corresponding quality of service mapping table The response message of the mapping table and its identification information is sent to the terminal device, and the terminal device locally saves the service quality mapping table and its identification information; when the service quality mapping table on the network side changes, it will include the updated service An update message of the quality mapping table and its identification information is sent to the terminal device, and the terminal device receiving the update message compares the identification information in the message with the identification information of the locally saved quality of service mapping table, and When consistent, update the locally saved QoS mapping table according to the QoS mapping table in the update message; in addition, in the present invention, when the QoS mapping table on the network side is updated, the network side sends the updated QoS mapping table through unicast mode. The mapping table can also realize that the terminal equipment correctly updates the locally stored quality of service mapping table; the use of the present invention effectively avoids the problem that the quality of service cannot be processed normally due to the terminal equipment incorrectly updating the locally stored quality of service mapping table, thereby making the terminal Equipment can work more efficiently.
附图说明Description of drawings
图1为现有技术中802.11网络的扩展服务集示意图;FIG. 1 is a schematic diagram of an extended service set of an 802.11 network in the prior art;
图2为现有技术中DSCP exception element字段格式示意图;Fig. 2 is a schematic diagram of the format of the DSCP exception element field in the prior art;
图3为现有技术中DSCP range element字段格式示意图;Fig. 3 is a schematic diagram of the format of the DSCP range element field in the prior art;
图4为现有技术中802.11协议中终端和接入点之间交互的原语图;FIG. 4 is a primitive diagram of interaction between a terminal and an access point in the 802.11 protocol in the prior art;
图5A、图5B为现有技术中802.11协议的通用帧结构示意图;5A and 5B are schematic diagrams of the general frame structure of the 802.11 protocol in the prior art;
图6为现有技术中802.11协议的管理帧结构示意图;FIG. 6 is a schematic diagram of a management frame structure of the 802.11 protocol in the prior art;
图7为现有技术中Action帧体中Action字段格式示意图;Fig. 7 is a schematic diagram of the format of the Action field in the Action frame body in the prior art;
图8为现有技术中STA与AP之间传输QoS映射表的流程图;FIG. 8 is a flow chart of transmitting a QoS mapping table between a STA and an AP in the prior art;
图9为现有技术中QoS Map Request帧和QoS Map Configure帧在STA与AP之间传输的原语图;Fig. 9 is a primitive diagram of transmission of QoS Map Request frame and QoS Map Configure frame between STA and AP in the prior art;
图10为本发明实施例中一种通信系统结构示意图;FIG. 10 is a schematic structural diagram of a communication system in an embodiment of the present invention;
图11为本发明实施例一中在QoS Map Configure帧中增加QoS映射表标识时,STA通过QoS映射表标识更新本地QoS映射表的实现流程图;Fig. 11 is the implementation flowchart of updating the local QoS mapping table by the STA through the QoS mapping table identification when adding the QoS mapping table identification in the QoS Map Configure frame in
图12为本发明实施例一中在QoS映射表中增加QoS映射表标识时,STA通过QoS映射表标识更新本地QoS映射表的实现流程图;FIG. 12 is an implementation flowchart of updating the local QoS mapping table by the STA through the QoS mapping table identifier when adding the QoS mapping table identifier in the QoS mapping table in
图13为本发明实施例二中在QoS Map Configure帧中增加多播地址字段或者多播地址信元时,STA通过多播地址更新本地QoS映射表的实现流程图;FIG. 13 is a flow chart of the STA updating the local QoS mapping table through the multicast address when adding a multicast address field or a multicast address cell in the QoS Map Configure frame in
图14为本发明实施例二中多播地址信元格式示意图;FIG. 14 is a schematic diagram of the format of a multicast address cell in
图15为本发明实施例二中在QoS映射表中增加多播地址字段时,STA通过多播地址更新本地QoS映射表的实现;FIG. 15 is an implementation of updating the local QoS mapping table by the STA through the multicast address when the multicast address field is added to the QoS mapping table in
图16为本发明实施例中一种通信系统结构示意图。Fig. 16 is a schematic structural diagram of a communication system in an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例中终端设备通过服务质量QoS映射表的标识信息确定是否将本地保存的QoS映射表更新为网络侧下发的更新的QoS映射表,当接收到更新消息中的QoS映射表标识信息与本地保存的服务质量映射表的标识信息一致时更新本地的QoS映射表;另外,本发明实施例中网络侧通过单播方式发送包含更新的QoS映射表的更新消息给终端设备,所述终端设备根据该更新消息中的QoS映射表更新本地保存的QoS映射表。In the embodiment of the present invention, the terminal device determines whether to update the locally saved QoS mapping table to the updated QoS mapping table issued by the network side through the identification information of the quality of service QoS mapping table. When receiving the QoS mapping table identification information in the update message Update the local QoS mapping table when it is consistent with the identification information of the locally saved quality of service mapping table; in addition, in the embodiment of the present invention, the network side sends an update message containing the updated QoS mapping table to the terminal device through unicast, and the terminal The device updates the locally stored QoS mapping table according to the QoS mapping table in the update message.
本实施例中的一种通信系统结构示意图如图10所示,该系统包括终端设备(STA)100和接入设备(AP)101;所述接入设备101用于向终端设备100发送包含QoS映射表及其标识信息的消息;所述终端设备100用于根据接收到的所述消息中的标识信息处理所述QoS映射表。A schematic structural diagram of a communication system in this embodiment is shown in FIG. 10. The system includes a terminal device (STA) 100 and an access device (AP) 101; the access device 101 is used to send an A message of a mapping table and its identification information; the terminal device 100 is configured to process the QoS mapping table according to the received identification information in the message.
终端设备100向接入设备101请求QoS映射表时,接入设备101通过服务质量配置QoS Map Configure帧向终端设备100发送响应消息,所述QoS MapConfigure帧包含QoS映射表及其标识信息;接收到该响应消息的终端设备100在本地保存所述QoS Map Configure帧中的QoS映射表及其标识信息。When the terminal device 100 requests the QoS mapping table to the access device 101, the access device 101 sends a response message to the terminal device 100 through a quality of service configuration QoS Map Configure frame, and the QoS MapConfigure frame includes a QoS mapping table and its identification information; The terminal device 100 of the response message locally saves the QoS mapping table and its identification information in the QoS Map Configure frame.
接入设备101通过QoS Map Configure帧向终端设备100发送更新消息,所述QoS Map Configure帧包含更新的QoS映射表及其标识信息,终端设备100将该响应消息中的标识信息与本地保存的标识信息进行比较,在两者一致时根据所述QoS Map Configure帧中的QoS映射表更新本地QoS映射表。The access device 101 sends an update message to the terminal device 100 through a QoS Map Configure frame, the QoS Map Configure frame includes an updated QoS mapping table and its identification information, and the terminal device 100 combines the identification information in the response message with the locally stored identification The information is compared, and when the two are consistent, the local QoS mapping table is updated according to the QoS mapping table in the QoS Map Configure frame.
如图10所示,所述接入设备101包括:接收单元1010用于接收终端设备100发送的消息,该消息包括终端设备100发送的请求QoS映射表的请求消息;选择单元1011用于主动选择或者根据终端设备100发送的请求消息选择与终端设备100相应的QoS映射表及其标识信息;发送单元1012用于根据所述请求消息向终端设备100发送包含QoS映射表及其标识信息的响应消息,以及在QoS映射表发生更新时向终端设备100发送包含更新的QoS映射表及其标识信息的更新消息。As shown in FIG. 10 , the access device 101 includes: a receiving unit 1010 for receiving a message sent by the terminal device 100, the message including a request message for requesting a QoS mapping table sent by the terminal device 100; a selection unit 1011 for actively selecting Or select the QoS mapping table and its identification information corresponding to the terminal device 100 according to the request message sent by the terminal device 100; the sending unit 1012 is configured to send a response message containing the QoS mapping table and its identification information to the terminal device 100 according to the request message , and send an update message including the updated QoS mapping table and its identification information to the terminal device 100 when the QoS mapping table is updated.
所述终端设备100包括:发送单元1000用于向接入设备101发送请求QoS映射表的请求消息;接收单元1001用于接收接入设备101发送的包含QoS映射表及其标识信息的消息,并根据接收到的消息获取相应的QoS映射表及其标识信息,该消息包括接入设备101发送的响应消息和更新消息;存储单元1002用于在本地保存从所述响应消息中获取的QoS映射表及其标识信息;比较单元1003用于将接收到的更新消息中的QoS映射表的标识信息与本地保存的QoS映射表的标识信息进行比较;更新单元1004用于在接收到的更新消息中的标识信息与保存的标识信息一致时,根据所述更新消息中的QoS映射表更新所述存储单元1002中的QoS映射表。如果终端设备100本地不存在QoS映射表,则将收到的包含QoS映射表的QoS Map Configure帧直接丢弃;此处所述的STA不存在QoS映射表是指STA没有请求QoS映射表或者请求了QoS映射表但是没有收到响应消息。The terminal device 100 includes: a sending unit 1000 for sending a request message requesting a QoS mapping table to the access device 101; a receiving unit 1001 for receiving a message containing the QoS mapping table and its identification information sent by the access device 101, and Obtain the corresponding QoS mapping table and its identification information according to the received message, the message includes the response message and update message sent by the access device 101; the storage unit 1002 is used to locally store the QoS mapping table obtained from the response message and its identification information; the comparing unit 1003 is used for comparing the identification information of the QoS mapping table in the received update message with the identification information of the locally saved QoS mapping table; the updating unit 1004 is used for When the identification information is consistent with the saved identification information, update the QoS mapping table in the storage unit 1002 according to the QoS mapping table in the update message. If there is no QoS mapping table locally in the terminal device 100, the received QoS Map Configure frame containing the QoS mapping table is directly discarded; the STA described here does not have a QoS mapping table, which means that the STA does not request the QoS mapping table or requests QoS mapping table but no response message was received.
实施例一:Embodiment one:
本实施例中STA通过QoS映射表标识确定是否将本地保存的QoS映射表更新为AP下发的更新的QoS映射表;QoS映射表标识可以采用多种表现形式,例如简单不重复的数字、域名、签约业务提供网络(SSPN,Subscription ServiceProvider Network)的标识等。In this embodiment, the STA determines whether to update the locally saved QoS mapping table to the updated QoS mapping table issued by the AP through the QoS mapping table identification; the QoS mapping table identification can adopt various forms, such as simple and non-repetitive numbers, domain names , Subscription Service Provider Network (SSPN, Subscription Service Provider Network) logo, etc.
本实施例中QoS映射表标识的添加通过如下两种方式实现:一种是在QoSMap Configure帧中增加QoS映射表标识字段;另一种是在QoS映射表中增加QoS映射表标识字段。In this embodiment, the addition of the QoS mapping table identification is realized in the following two ways: one is to increase the QoS mapping table identification field in the QoSMap Configure frame; the other is to increase the QoS mapping table identification field in the QoS mapping table.
如图11所示,本实施例中在QoS Map Configure帧中增加QoS映射表标识字段时,STA通过QoS映射表标识更新本地QoS映射表的实现流程如下:As shown in Figure 11, when adding the QoS mapping table identification field in the QoS Map Configure frame in this embodiment, the implementation process of the STA updating the local QoS mapping table through the QoS mapping table identification is as follows:
步骤1100、STA与AP完成关联/重关联(Association)。Step 1100, the STA completes the association/re-association (Association) with the AP.
步骤1101、STA与AP完成EAP认证,即STA收到EAP-Success消息。Step 1101, the STA and the AP complete the EAP authentication, that is, the STA receives the EAP-Success message.
步骤1102、AP关联STA到虚拟局域网/隧道VLAN/Tunnel,AP根据该信息建立STA与对应的服务质量映射表之间的关联关系。Step 1102, the AP associates the STA with the virtual local area network/tunnel VLAN/Tunnel, and the AP establishes an association relationship between the STA and the corresponding QoS mapping table according to the information.
步骤1103、STA获得空中接口的传输密钥,即完成四次握手。Step 1103, the STA obtains the transmission key of the air interface, that is, completes the four-way handshake.
步骤1104、STA通过QoS Map Request帧(Action帧)向AP请求QoS映射表。Step 1104, STA requests QoS mapping table to AP through QoS Map Request frame (Action frame).
步骤1105、AP选择与STA对应的QoS映射表和该QoS映射表对应的QoS映射表标识。Step 1105, the AP selects the QoS mapping table corresponding to the STA and the QoS mapping table identifier corresponding to the QoS mapping table.
步骤1106、AP将选择的QoS映射表和QoS映射表标识通过QoS MapConfigure帧发送给STA。Step 1106, the AP sends the selected QoS mapping table and the QoS mapping table identifier to the STA through the QoS MapConfigure frame.
步骤1107、STA接收到QoS Map Configure帧后保存该帧中的QoS映射表和QoS映射表标识,并建立两者之间的对应关系。Step 1107, after receiving the QoS Map Configure frame, the STA saves the QoS mapping table and the QoS mapping table identifier in the frame, and establishes a corresponding relationship between the two.
步骤1108、当AP中的QoS映射表发生更新时,AP通过QoS Map Configure帧下发更新的QoS映射表,该QoS Map Configure帧携带更新的QoS映射表以及与该QoS映射表对应的QoS映射表标识。Step 1108, when the QoS mapping table in the AP is updated, the AP sends the updated QoS mapping table through the QoS Map Configure frame, and the QoS Map Configure frame carries the updated QoS mapping table and the QoS mapping table corresponding to the QoS mapping table logo.
步骤1109、STA接收到QoS Map Configure帧后将该帧中的QoS映射表标识与本地保存的QoS映射表标识进行比较,并且在两者一致时将本地的QoS映射表更新为AP下发的更新的QoS映射表,否则本地QoS映射表不作更新。Step 1109, after receiving the QoS Map Configure frame, the STA compares the QoS mapping table identification in the frame with the locally saved QoS mapping table identification, and updates the local QoS mapping table to the update issued by the AP when the two are consistent QoS mapping table, otherwise the local QoS mapping table will not be updated.
在QoS Map Configure帧中增加QoS映射表标识字段时,QoS MapConfigure帧的帧体格式如表5所示,在现有QoS Map Configure帧的帧体中增加一个Map ID字段,这个字段的值就是AP为对应的QoS映射表分配的QoS映射表标识的值;在QoS Map Configure帧的帧体中增加Map ID字段不限于表5中的位置。When adding the QoS mapping table identification field in the QoS Map Configure frame, the frame body format of the QoS MapConfigure frame is shown in Table 5, and a Map ID field is added in the frame body of the existing QoS Map Configure frame, and the value of this field is AP The value of the QoS mapping table identifier assigned to the corresponding QoS mapping table; adding the Map ID field in the frame body of the QoS Map Configure frame is not limited to the positions in Table 5.
表5table 5
为了AP的MAC层能组装带有QoS映射表标识的QoS Map Configure帧和STA的SME能正确地得到与QoS映射表对应的QoS映射表标识,还需要对现有的原语做出修改,主要修改如下:在MLME-QoSMap.response原语中增加Map ID参数,该参数的主要作用是AP的SME将与本原语中QoS映射表参数对应的QoS映射表标识参数的消息发送给MAC层,这样MAC层可以组装带有QoS映射表标识的QoS Map Configure帧;另外在MLME-QoSMap.confirm原语中增加Map ID参数,该参数的主要作用是STA的MLME将与本原语中QoS映射表参数对应的QoS映射表标识参数的消息发送给SME,这样SME能正确地得到与QoS映射表对应的QoS映射表标识;如果QoS映射表与QoS映射表标识的对应处理在MAC层完成,则不需要修改现有原语就可以同样达到要求。In order for the MAC layer of the AP to assemble the QoS Map Configure frame with the QoS mapping table identifier and the SME of the STA to correctly obtain the QoS mapping table identifier corresponding to the QoS mapping table, it is necessary to modify the existing primitives, mainly The modification is as follows: Add the Map ID parameter in the MLME-QoSMap.response primitive. The main function of this parameter is that the SME of the AP sends the message of the QoS mapping table identification parameter corresponding to the QoS mapping table parameter in this primitive to the MAC layer. In this way, the MAC layer can assemble the QoS Map Configure frame with the QoS mapping table identifier; in addition, add the Map ID parameter in the MLME-QoSMap.confirm primitive. The message of the QoS mapping table identification parameter corresponding to the parameter is sent to the SME, so that the SME can correctly obtain the QoS mapping table identification corresponding to the QoS mapping table; if the corresponding processing between the QoS mapping table and the QoS mapping table identification is completed at the MAC layer, then Existing primitives need to be modified to meet the same requirements.
如图12所示,本实施例中在QoS映射表中增加QoS映射表标识字段时,STA通过QoS映射表标识更新本地QoS映射表的实现流程如下:As shown in Figure 12, when adding the QoS mapping table identification field in the QoS mapping table in this embodiment, the implementation process of STA updating the local QoS mapping table through the QoS mapping table identification is as follows:
步骤1200至步骤1204:与上述步骤1100至步骤1104相同。Step 1200 to step 1204: the same as above step 1100 to step 1104.
步骤1205、AP选择与STA对应的QoS映射表,该QoS映射表中包含对应的QoS映射表标识。Step 1205, the AP selects the QoS mapping table corresponding to the STA, and the QoS mapping table contains the corresponding QoS mapping table identifier.
步骤1206、AP将选择的QoS映射表通过QoS Map Configure帧发送给STA。Step 1206, the AP sends the selected QoS mapping table to the STA through the QoS Map Configure frame.
步骤1207、STA接收到QoS Map Configure帧后保存该帧中的QoS映射表。Step 1207, after receiving the QoS Map Configure frame, the STA saves the QoS mapping table in the frame.
步骤1208、当AP中的QoS映射表发生更新时,AP通过QoS Map Configure帧下发更新的QoS映射表,该QoS映射表中包含QoS映射表标识。Step 1208, when the QoS mapping table in the AP is updated, the AP sends the updated QoS mapping table through the QoS Map Configure frame, and the QoS mapping table includes the QoS mapping table identifier.
步骤1209、STA接收到QoS Map Configure帧后将QoS映射表中的QoS映射表标识与本地保存的QoS映射表中的QoS映射表标识进行比较,并且在两者一致时将本地的QoS映射表更新为AP下发的更新的QoS映射表,否则本地QoS映射表不作更新。Step 1209, STA compares the QoS mapping table identification in the QoS mapping table with the QoS mapping table identification in the locally saved QoS mapping table after receiving the QoS Map Configure frame, and updates the local QoS mapping table when both are consistent The updated QoS mapping table issued by the AP, otherwise the local QoS mapping table will not be updated.
在QoS映射表中添加QoS映射表标识字段时,QoS映射表的具体格式如表6所示,在现有QoS映射表中增加Map ID字段,这个字段的值就是AP为这个QoS映射表分配的QoS映射表标识的值;在QoS映射表中增加Map ID字段不限于表6中的位置。When adding the QoS mapping table identification field in the QoS mapping table, the specific format of the QoS mapping table is shown in Table 6. Add the Map ID field in the existing QoS mapping table. The value of this field is the value assigned by the AP for this QoS mapping table The value identified by the QoS mapping table; the addition of the Map ID field in the QoS mapping table is not limited to the positions in Table 6.
表6Table 6
实施例二:Embodiment two:
本实施例中STA通过QoS映射表关联的多播地址确定是否将本地保存的QoS映射表更新为AP下发的更新的QoS映射表。In this embodiment, the STA determines whether to update the locally stored QoS mapping table to the updated QoS mapping table issued by the AP through the multicast address associated with the QoS mapping table.
AP收到STA请求QoS映射表的消息后选择相应的QoS映射表以及与该QoS映射表关联的多播地址并将其下发给STA,STA收到后就加入到帧中的多播地址标识的多播组;当AP中的QoS映射表更新时,AP就通过上述多播地址下发更新的QoS映射表给STA,这样只有在上述多播地址标识的多播组内的STA才能获得更新的QoS映射表,其他不在上述多播地址标识的多播组内的STA就不会获得更新的QoS映射表。After the AP receives the message from the STA requesting the QoS mapping table, it selects the corresponding QoS mapping table and the multicast address associated with the QoS mapping table and sends it to the STA, and the STA adds it to the multicast address identifier in the frame after receiving it. When the QoS mapping table in the AP is updated, the AP sends the updated QoS mapping table to the STA through the above multicast address, so that only the STAs in the multicast group identified by the above multicast address can get the update other STAs not in the multicast group identified by the above multicast address will not obtain the updated QoS mapping table.
本实施例中QoS映射表关联的多播地址可以通过如下两种方式实现:一种是在QoS Map Configure帧中增加多播地址字段或者多播地址信元;另一种是在QoS映射表中增加多播地址字段。In this embodiment, the multicast address associated with the QoS mapping table can be realized in the following two ways: one is to increase the multicast address field or the multicast address cell in the QoS Map Configure frame; the other is to add it in the QoS mapping table Added multicast address field.
如图13所示,本实施例中在QoS Map Configure帧中增加多播地址字段或者多播地址信元时,STA通过多播地址更新本地QoS映射表的实现流程如下:As shown in Figure 13, when adding a multicast address field or a multicast address cell in the QoS Map Configure frame in this embodiment, the implementation process for the STA to update the local QoS mapping table through the multicast address is as follows:
步骤1300至步骤1301:与上述步骤1100至步骤1101相同。Step 1300 to step 1301: the same as above step 1100 to step 1101.
步骤1302、关联STA到虚拟局域网,AP选择一个多播地址,并维护这个多播地址;以及建立该多播地址与服务质量映射表之间的关联关系。Step 1302, associating the STA with the virtual local area network, the AP selects a multicast address, and maintains the multicast address; and establishes an association relationship between the multicast address and the QoS mapping table.
步骤1303、STA获取空中接口的传输密钥,即完成四次握手。Step 1303, the STA obtains the transmission key of the air interface, that is, completes the four-way handshake.
步骤1304、STA通过QoS Map Request帧向AP请求QoS映射表。Step 1304, STA requests QoS mapping table to AP through QoS Map Request frame.
步骤1305、AP选择与STA对应的QoS映射表。Step 1305, the AP selects the QoS mapping table corresponding to the STA.
步骤1306、AP将选择的QoS映射表以及多播地址通过QoS Map Configure帧发送给STA。Step 1306, the AP sends the selected QoS mapping table and the multicast address to the STA through the QoS Map Configure frame.
步骤1307、STA接收到QoS Map Configure帧后保存该帧中的QoS映射表和多播地址,并建立两者之间的关联关系。Step 1307, after receiving the QoS Map Configure frame, the STA saves the QoS mapping table and the multicast address in the frame, and establishes an association between the two.
步骤1308、当AP中的QoS映射表发生更新时,AP通过QoS Map Configure帧下发更新的QoS映射表,该QoS Map Configure帧中的目的地址为所述多播地址。Step 1308, when the QoS mapping table in the AP is updated, the AP sends the updated QoS mapping table through the QoS Map Configure frame, and the destination address in the QoS Map Configure frame is the multicast address.
步骤1309、STA接收到QoS Map Configure帧后将该帧中的多播地址与本也保存的多播地址进行比较,并且在两者一致时将本地的QoS映射表更新为AP下发的更新的QoS映射表,否则本地QoS映射表不作更新。Step 1309, after receiving the QoS Map Configure frame, the STA compares the multicast address in the frame with the multicast address it also saves, and updates the local QoS mapping table to the updated one issued by the AP when the two are consistent. QoS mapping table, otherwise the local QoS mapping table will not be updated.
在QoS Map Configure帧中添加QoS映射表关联的多播地址的方式如下:在QoS Map Configure帧中添加多播地址字段或者在QoS Map Configure帧中添加多播地址信元。The way to add the multicast address associated with the QoS mapping table in the QoS Map Configure frame is as follows: add a multicast address field in the QoS Map Configure frame or add a multicast address cell in the QoS Map Configure frame.
在QoS Map Configure帧中添加多播地址字段时,QoS Map Configure帧的帧体格式如表7所示,在现有QoS Map Configure帧的帧体中增加多播地址字段:When adding the multicast address field in the QoS Map Configure frame, the frame body format of the QoS Map Configure frame is shown in Table 7, and the multicast address field is added in the frame body of the existing QoS Map Configure frame:
表7Table 7
在QoS Map Configure帧中添加多播地址信元时,QoS Map Configure帧的帧体格式如表8所示,在现有QoS Map Configure帧的帧体中增加多播地址信元:When adding a multicast address cell in the QoS Map Configure frame, the frame body format of the QoS Map Configure frame is shown in Table 8, and the multicast address cell is added in the frame body of the existing QoS Map Configure frame:
表8Table 8
如图14所示,多播地址信元包括元素标识Element ID字段、长度Length字段和多播地址Multicast Address字段:As shown in Figure 14, the multicast address cell includes an Element ID field, a Length field, and a Multicast Address field:
Element ID字段的值为60,Element ID的取值不限于该值;The value of the Element ID field is 60, and the value of the Element ID is not limited to this value;
Length字段为Multicast Address字段的长度,其值为6;The Length field is the length of the Multicast Address field, and its value is 6;
Multicast Address字段标识一个多播组。The Multicast Address field identifies a multicast group.
上述实现流程中,AP响应STA时发送的QoS Map Configure帧中的多播地址字段或多播地址信元是必选的,但在AP向STA下发包含更新的QoS映射表的QoS Map Configure帧时,该帧中的多播地址字段或多播地址信元是可选的,该帧中的目的地址字段为多播地址字段或多播地址信元标识的多播地址。In the above implementation process, the multicast address field or multicast address cell in the QoS Map Configure frame sent by the AP when responding to the STA is mandatory, but the AP sends the QoS Map Configure frame containing the updated QoS mapping table to the STA When , the multicast address field or the multicast address cell in the frame is optional, and the destination address field in the frame is the multicast address identified by the multicast address field or the multicast address cell.
如图15所示,本实施例中在QoS映射表中增加多播地址字段时,STA通过多播地址更新本地QoS映射表的实现流程如下:As shown in Figure 15, when the multicast address field is added in the QoS mapping table in this embodiment, the implementation process for the STA to update the local QoS mapping table through the multicast address is as follows:
步骤1500至步骤1504:与上述步骤1300至步骤1304相同。Step 1500 to step 1504: the same as above step 1300 to step 1304.
步骤1505、AP选择与STA对应的QoS映射表,该QoS映射表中包含多播地址字段。Step 1505, the AP selects a QoS mapping table corresponding to the STA, and the QoS mapping table includes a multicast address field.
步骤1506、AP将选择的QoS映射表通过QoS Map Configure帧发送给STA。Step 1506, the AP sends the selected QoS mapping table to the STA through the QoS Map Configure frame.
步骤1507、STA接收到QoS Map Configure帧后保存该帧中的QoS映射表,并解析出多播地址,以及建立该多播地址与QoS映射表的关联关系。Step 1507, after receiving the QoS Map Configure frame, the STA saves the QoS mapping table in the frame, parses out the multicast address, and establishes the association between the multicast address and the QoS mapping table.
步骤1508、当AP中的QoS映射表发生更新时,AP通过QoS Map Configure帧下发更新的QoS映射表,该映射表中包含多播地址字段,该QoS MapConfigure帧中的目的地址为所述多播地址。Step 1508, when the QoS mapping table in the AP is updated, the AP sends the updated QoS mapping table through the QoS Map Configure frame, which contains a multicast address field, and the destination address in the QoS MapConfigure frame is the multicast broadcast address.
步骤1509、STA接收到QoS Map Configure帧后将该帧中的多播地址与本地保存的多播地址进行比较,并且在两者一致时将本地的QoS映射表更新为AP下发的更新的QoS映射表,否则本地QoS映射表不作更新。Step 1509: After receiving the QoS Map Configure frame, the STA compares the multicast address in the frame with the locally saved multicast address, and updates the local QoS mapping table to the updated QoS issued by the AP when the two are consistent mapping table, otherwise the local QoS mapping table will not be updated.
在QoS映射表中添加多播地址字段时,QoS Map Configure帧的帧体格式如表9所示,在现有QoS映射表中增加多播地址字段:When adding the multicast address field in the QoS mapping table, the frame body format of the QoS Map Configure frame is shown in Table 9, and the multicast address field is added in the existing QoS mapping table:
表9Table 9
实施例三:Embodiment three:
本实施例中当AP中的QoS映射表发生更新时,AP以单播方式将包含更新的QoS映射表的QoS Map Configure帧下发到相应的STA,接收到该帧的STA更新本地QoS映射表。In this embodiment, when the QoS mapping table in the AP is updated, the AP sends the QoS Map Configure frame containing the updated QoS mapping table to the corresponding STA in unicast mode, and the STA that receives the frame updates the local QoS mapping table .
本实施例的一种通信系统结构示意图如图16所示,该系统包括终端设备(STA)160和接入设备(AP)161;所述接入设备161根据终端设备160的请求消息向其发送包含QoS映射表的响应消息,以及通过单播方式向终端设备160发送包含更新的服务质量映射表的更新消息,所述更新消息的目的地址为某终端设备的媒体接入控制(MAC)地址;所述终端设备160用于根据所述更新消息中的QoS映射表更新本地QoS映射表。A schematic structural diagram of a communication system in this embodiment is shown in FIG. 16 , the system includes a terminal device (STA) 160 and an access device (AP) 161; the
如图16所示,所述接入设备161包括:接收单元1610用于接收终端设备160发送的消息,该消息包括终端设备160发送的请求QoS映射表的请求消息;选择单元1611用于主动选择或者根据终端设备160发送的请求消息选择与终端设备160相应的QoS映射表;发送单元1612用于根据所述请求消息向终端设备160发送包含QoS映射表的响应消息,以及在QoS映射表发生更新时通过单播方式向终端设备160发送包含更新的QoS映射表的更新消息。As shown in Figure 16, the
所述终端设备160包括:发送单元1600用于向接入设备161发送请求QoS映射表的请求消息;接收单元1601用于接收接入设备161发送的包含QoS映射表消息,该消息包括接入设备161发送的响应消息和更新消息;存储单元1602用于在本地保存所述响应消息中的QoS映射表;更新单元1603根据所述更新消息中的QoS映射表更新所述存储单元1602中的QoS映射表。The
本实施例中STA更新本地QoS映射表的流程如图8所示,在步骤807中,AP将包含更新的QoS映射表的QoS Map Configure帧通过单播方式下发给STA,单播的目的地址就是需要接收此帧的STA的MAC地址;当STA接收到该QoS Map Configure帧时,就根据该QoS Map Configure帧中的QoS映射表更新本地的QoS映射表。In this embodiment, the process of updating the local QoS mapping table by the STA is shown in Figure 8. In step 807, the AP sends the QoS Map Configure frame containing the updated QoS mapping table to the STA in unicast mode, and the destination address of the unicast It is the MAC address of the STA that needs to receive this frame; when the STA receives the QoS Map Configure frame, it updates the local QoS mapping table according to the QoS mapping table in the QoS Map Configure frame.
为了AP能够将QoS Map Configure帧中的目的地址正确地设置为某个特定的STA的MAC地址,需要对MLME-QoSMap.response原语的Non-AP QSTAAddress参数定义进行修改,修改的方法是:将该参数修改为单播地址或者是多播/广播地址(现有文档中该参数为多播/广播地址),该单播地址就是接收该帧的STA的MAC地址。In order for the AP to correctly set the destination address in the QoS Map Configure frame to the MAC address of a specific STA, it is necessary to modify the Non-AP QSTAAddress parameter definition of the MLME-QoSMap.response primitive. The modification method is: This parameter is changed to a unicast address or a multicast/broadcast address (this parameter is a multicast/broadcast address in existing documents), and the unicast address is the MAC address of the STA receiving the frame.
采用本发明技术方案,终端设备在网络侧的服务质量映射表发生更新时,能够根据服务质量映射表的标识信息正确判断是否更新本地保存的服务质量映射表;另外,本发明中当网络侧的服务质量映射表发生更新时,网络侧通过单播方式下发更新的服务质量映射表,也可以实现终端设备正确更新本地保存的服务质量映射表;采用本发明有效地避免了由于终端设备错误更新本地保存的服务质量映射表而导致不能正常处理服务质量的问题,从而使得终端设备能够更加有效地工作。By adopting the technical scheme of the present invention, when the quality of service mapping table on the network side of the terminal device is updated, it can correctly judge whether to update the locally stored quality of service mapping table according to the identification information of the service quality mapping table; When the quality of service mapping table is updated, the network side sends the updated quality of service mapping table through unicast mode, and the terminal equipment can also correctly update the locally saved quality of service mapping table; the present invention effectively avoids errors caused by terminal equipment updating The quality of service mapping table saved locally causes the problem that the quality of service cannot be handled normally, so that the terminal device can work more effectively.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若对本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101387106A CN101179421B (en) | 2006-11-10 | 2006-11-10 | A method, device and system for differentiating quality of service mapping tables |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101387106A CN101179421B (en) | 2006-11-10 | 2006-11-10 | A method, device and system for differentiating quality of service mapping tables |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101179421A CN101179421A (en) | 2008-05-14 |
| CN101179421B true CN101179421B (en) | 2010-04-14 |
Family
ID=39405521
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006101387106A Active CN101179421B (en) | 2006-11-10 | 2006-11-10 | A method, device and system for differentiating quality of service mapping tables |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101179421B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101360047A (en) * | 2008-08-07 | 2009-02-04 | 华为技术有限公司 | Method, device and system for transferring quality of service mapping relationship |
| CN101729392B (en) * | 2008-10-23 | 2011-11-16 | 大唐移动通信设备有限公司 | Method and device for operating quality of service |
| CN101997840B (en) * | 2009-08-17 | 2013-12-04 | 华为技术有限公司 | Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements |
| WO2018196102A1 (en) * | 2017-04-27 | 2018-11-01 | 北京小米移动软件有限公司 | Information transmission method and apparatus and computer readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1581762A (en) * | 2003-08-14 | 2005-02-16 | 株式会社Ntt都科摩 | Frame transmission/reception system, frame transmitting apparatus, frame receiving apparatus, and frame transmission/reception method |
| CN1636354A (en) * | 2001-12-07 | 2005-07-06 | 诺基亚公司 | Mechanisms for policy based UMTS QOS and IP QOS management in mobile IP networks |
| US20050169171A1 (en) * | 2004-02-03 | 2005-08-04 | Cheng Mark W. | Method and apparatus for providing end-to-end quality of service (QoS) |
| CN1805590A (en) * | 2005-01-11 | 2006-07-19 | 华为技术有限公司 | A Method for Updating Quality of Service Parameters |
-
2006
- 2006-11-10 CN CN2006101387106A patent/CN101179421B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1636354A (en) * | 2001-12-07 | 2005-07-06 | 诺基亚公司 | Mechanisms for policy based UMTS QOS and IP QOS management in mobile IP networks |
| CN1581762A (en) * | 2003-08-14 | 2005-02-16 | 株式会社Ntt都科摩 | Frame transmission/reception system, frame transmitting apparatus, frame receiving apparatus, and frame transmission/reception method |
| US20050169171A1 (en) * | 2004-02-03 | 2005-08-04 | Cheng Mark W. | Method and apparatus for providing end-to-end quality of service (QoS) |
| CN1805590A (en) * | 2005-01-11 | 2006-07-19 | 华为技术有限公司 | A Method for Updating Quality of Service Parameters |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101179421A (en) | 2008-05-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8259632B2 (en) | Peer power save mode in tunneled direct link setup (TDLS) wireless network | |
| US8391828B2 (en) | Interworking procedure with external network in wireless LAN and message format for the same | |
| KR101511651B1 (en) | System and method for wireless station bridging | |
| EP2912920B1 (en) | Multiple access point name and ip service connectivity | |
| US7505434B1 (en) | VLAN tagging in WLANs | |
| CN101682539B (en) | Scanning procedure in wireless lan, station supporting the same, and frame format therefor | |
| CN101222388B (en) | A method and system for determining the presence of broadcast/multicast buffer frames in an access point | |
| CN101310550B (en) | WLAN signaling expansion | |
| US8174973B2 (en) | Procedure for wireless network management and station supporting the procedure | |
| US20130121321A1 (en) | Vlan tagging in wlans | |
| KR20100075615A (en) | Procedure for a power save mode in a direct link setup wireless network | |
| US20040137907A1 (en) | Method for management of wireless channel to wireless IP terminals in wireless LAN based access point | |
| CN103634794A (en) | WLAN (Wireless Local Area Network) terminal identification recognition method by integrating Portal | |
| CN101502044A (en) | Method and apparatus for providing information about each group address that has data waiting for delivery in a node, point or terminal in a WLAN | |
| KR20080067252A (en) | Communication method and wireless network system in wireless network | |
| CN100550806C (en) | Method for Realizing Network Service Provider Selection and User Terminal Equipment | |
| CN101212371B (en) | Channel access parameter configuration method, access point, server and communication system | |
| CN101161016B (en) | Method and device for discovering network service provider discovery | |
| CN101179421B (en) | A method, device and system for differentiating quality of service mapping tables | |
| US9426717B2 (en) | MAC header based traffic classification and methods for use therewith | |
| CN104125599A (en) | Access point and user terminal information acquisition, association and statistical analysis method in wireless local area network | |
| WO2024021863A1 (en) | Network slice subscription method, apparatus and system | |
| CN103533578B (en) | Wireless communications method and Wireless Telecom Equipment | |
| CN101179423A (en) | A method, device and system for obtaining a quality of service mapping table | |
| US20130294429A1 (en) | Filter and classification agreement for mac header based traffic classification and methods for use therewith |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |

