[go: up one dir, main page]

CN103188146A - Sending and receiving method and device of continuous data package - Google Patents

Sending and receiving method and device of continuous data package Download PDF

Info

Publication number
CN103188146A
CN103188146A CN2011104595046A CN201110459504A CN103188146A CN 103188146 A CN103188146 A CN 103188146A CN 2011104595046 A CN2011104595046 A CN 2011104595046A CN 201110459504 A CN201110459504 A CN 201110459504A CN 103188146 A CN103188146 A CN 103188146A
Authority
CN
China
Prior art keywords
field
data packet
information
frame header
mac frame
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.)
Granted
Application number
CN2011104595046A
Other languages
Chinese (zh)
Other versions
CN103188146B (en
Inventor
杨国瑞
张兴新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110459504.6A priority Critical patent/CN103188146B/en
Priority to PCT/CN2012/087158 priority patent/WO2013097654A1/en
Publication of CN103188146A publication Critical patent/CN103188146A/en
Application granted granted Critical
Publication of CN103188146B publication Critical patent/CN103188146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明各实施例提供了一种连续传输数据包的发送、接收方法和装置。在一种发送连续数据包的方法中,包括下列步骤:第一站点向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;接收第二站点发送的压缩响应;向第二站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。本发明各实施例可以有效压缩连续数据包的MAC帧头字段长度,节省连续数据包的不必要开销,不但提高信道媒介资源的利用效率,还有助于发送站点节能;此外灵活处理出现变化的MAC帧头字段,提高使用的灵活度。

Figure 201110459504

Various embodiments of the present invention provide a method and device for sending and receiving continuous transmission data packets. In a method for sending continuous data packets, the following steps are included: the first station sends a compression request to the second station, and the compression request carries the field information of the flow identifier and the MAC frame header of the subsequent data packet; A compressed response sent by the second station: sending to the second station a first data packet including a complete MAC frame header or a compressed MAC frame header with a flow field, wherein the flow field includes a flow identifier. Various embodiments of the present invention can effectively compress the length of the MAC frame header field of continuous data packets, save unnecessary overhead of continuous data packets, not only improve the utilization efficiency of channel media resources, but also help the sending site to save energy; in addition, flexibly handle changes in The MAC frame header field improves the flexibility of use.

Figure 201110459504

Description

一种连续数据包的发送、接收方法和装置A method and device for sending and receiving continuous data packets

技术领域 technical field

本发明涉及通信领域,特别是涉及一种连续传输数据包的方法和装置。  The invention relates to the communication field, in particular to a method and device for continuously transmitting data packets. the

技术背景 technical background

IEEE 802.11技术为多个物理层(Physical layer,简称PHY)制定一个通用的媒介接入控制层(Medium access control,简称MAC)以规范无线局域网的建设。其中媒介接入控制层的主要任务就是为同网络中的多个站点建立寻址和信道接入控制机制,使得多站点之间的通信成为可能。  IEEE 802.11 technology formulates a general medium access control layer (Medium access control, MAC) for multiple physical layers (Physical layer, referred to as PHY) to standardize the construction of wireless local area networks. Among them, the main task of the media access control layer is to establish addressing and channel access control mechanisms for multiple sites in the same network, making communication between multiple sites possible. the

站点之间的通信以数据包分组结构为基本单元,其所述数据包分组结构如图1所示,其中短训练字段(Short traning field,简称STF)和长训练字段(Long traning field,简称LTF)为数据包的前导码,前者用于分组开始的检测、自动增益控制(Automatic gain control,简称AGC)设置、初始频率偏移估计和初始时间同步;后者用于信道估计、精确的频率偏移估计和时间同步。信令字段用于指示数据包的分组速率和长度信息等。服务字段用于与解扰器进行同步,数据字段包含MAC帧的内容,尾部与填充用于尾部填充。  The communication between sites takes the packet structure as the basic unit, and the packet structure is shown in Figure 1, in which the short training field (Short training field, referred to as STF) and the long training field (Long training field, referred to as LTF ) is the preamble of the data packet, the former is used for packet start detection, automatic gain control (AGC) setting, initial frequency offset estimation and initial time synchronization; the latter is used for channel estimation, accurate frequency offset shift estimation and time synchronization. The signaling field is used to indicate the packet rate and length information of the data packet, etc. The service field is used for synchronization with the descrambler, the data field contains the content of the MAC frame, and the tail and padding are used for tail padding. the

MAC帧一般包括三个部分,MAC帧头(MAC header)、可变长度的帧体(Frame body)和帧校验序列(Frame check sequence,简作FCS)。MAC帧头字段依次包括帧控制字段、时长/ID字段、地址1字段、地址2字段、地址3字段、序列控制字段、地址4字段、QoS(Quality of service,意即服务质量)控制字段、HT(High Throughput,意即高吞吐量)控制字段。在MAC帧头字段中,前三个字段是所有MAC帧都会出现的字段,其余字段则由帧控制字段的参数决定。  MAC frame generally includes three parts, MAC header (MAC header), variable length frame body (Frame body) and frame check sequence (Frame check sequence, referred to as FCS). The MAC frame header fields in turn include frame control field, duration/ID field, address 1 field, address 2 field, address 3 field, sequence control field, address 4 field, QoS (Quality of service, which means quality of service) control field, HT (High Throughput, which means high throughput) control field. In the MAC frame header field, the first three fields are fields that appear in all MAC frames, and the remaining fields are determined by the parameters of the frame control field. the

802.11ah的应用场景中,大多数据包为64~128字节的小包,但是完整的MAC帧头信息最多将占用36字节,对于连续传输的多个小包而言,其MAC帧头信息可能完全一样,例如地址信息、QoS信息或HT信息,对媒介资源将造成极大的浪费。  In 802.11ah application scenarios, most data packets are small packets of 64 to 128 bytes, but the complete MAC frame header information will occupy up to 36 bytes. For multiple small packets transmitted continuously, the MAC frame header information may be completely The same, such as address information, QoS information or HT information, will cause a great waste of media resources. the

针对这种情况,一种现有技术提出采用流标识(Flow ID)标识连续多个数据包相同的MAC帧头信息,例如地址信息、QoS信息或HT信息,在连续传输的多个数据包中,利用更短字节的流标识代替相应的MAC帧头信息,不但可以节省对媒介资源的开销,还有助于发送站点节能。  In response to this situation, a prior art proposes to use a Flow ID (Flow ID) to identify the same MAC frame header information of multiple consecutive data packets, such as address information, QoS information or HT information, in a plurality of consecutively transmitted data packets , using a shorter-byte flow identifier to replace the corresponding MAC frame header information can not only save the overhead of media resources, but also help the sending station to save energy. the

图2示意了该现有技术的连续数据包的传输过程。首先发送站点(STA1)与接收站点(STA2)进行帧头控制请求帧(简称HC-REQ,对应于Header control request)和帧头控制响应帧(简称HC-RESP,对应于Header control response)交换,协商连续包的MAC帧头信息标识流标识,所述流标识可以标识地址信息(Address1/2/3/4)、QoS信息或HT信息等,接收站点在本地存储单元保存流标识和其标识的MAC帧头信息;其次站点之间协商流标识完毕后,发送站点向接收站点发送携带流标识的压缩数据包,该数据包的压缩格式如图3所示,接收站点根据流标识从本地存储单元获取所述压缩数据包MAC帧头信息;最后发送站点发送一个尾帧(TAIL帧)通告结束流标识的使用。  FIG. 2 schematically illustrates the transmission process of continuous data packets in the prior art. First, the sending station (STA1) and the receiving station (STA2) exchange frame header control request frames (abbreviated as HC-REQ, corresponding to Header control request) and frame header control response frames (abbreviated as HC-RESP, corresponding to Header control response), Negotiate the MAC frame header information of the continuous packet to identify the flow identifier, and the flow identifier can identify address information (Address1/2/3/4), QoS information or HT information, etc., and the receiving station stores the flow identifier and its identifier in the local storage unit MAC frame header information; secondly, after the flow identification is negotiated between the stations, the sending site sends a compressed data packet carrying the flow identification to the receiving station. Obtain the MAC frame header information of the compressed data packet; finally, the sending station sends a tail frame (TAIL frame) to announce the end of the use of the flow identifier. the

如图3所示,连续数据包的压缩格式,其MAC帧头字段只包含帧控制信息、流标识信息和序列控制信息,其中流标识的长度(TBD,待定义)小于完整MAC帧头字段的长度,可有效的节省传输时对媒介资源的开销。  As shown in Figure 3, the compressed format of the continuous data packet, its MAC frame header field only contains frame control information, flow identification information and sequence control information, wherein the length (TBD, to be defined) of the flow identification is less than the length of the complete MAC frame header field The length can effectively save the overhead of media resources during transmission. the

然而,该现有技术的问题主要有,一是站点之间协商的流标识所标识的信息都是固定的,如果连续包中出现信息变化的情况,例如该包的QoS控制字段与流标识所标识的QoS控制字段不同时,则流标识在本包传输时不可用,需要重新协商流标识或者发送完整的数据包格式,流标识的应用缺乏灵活度;二是结束流标识应用时,需要交换TAIL/ACK帧,将占用更多的信道资源;三是流标识的长度待定义,还存在压缩MAC帧头字段的空间。  However, the problems of this prior art mainly include: firstly, the information identified by the flow identification negotiated between the stations is all fixed, if information changes in continuous packets, for example, the QoS control field of the packet and the flow identification When the QoS control fields of the identification are different, the flow identification is not available when the current packet is transmitted, and it is necessary to renegotiate the flow identification or send the complete data packet format, and the application of the flow identification lacks flexibility; the second is to end the application of the flow identification. The TAIL/ACK frame will occupy more channel resources; third, the length of the flow identifier is to be defined, and there is still space for compressing the MAC frame header field. the

发明内容 Contents of the invention

有鉴于此,为解决上述问题,本发明提出有效解决连续包传输灵活度的解决方案。  In view of this, in order to solve the above problems, the present invention proposes a solution to effectively solve the flexibility of continuous packet transmission. the

在第一方面,本发明实施例提供一种发送连续数据包的方法。该方法包括:第一站点向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;接收第二站点发送的压缩响应;向第二 站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。  In a first aspect, an embodiment of the present invention provides a method for sending continuous data packets. The method includes: the first station sends a compression request to the second station, and the compression request carries the flow identifier and the field information of the media access control MAC frame header of the subsequent data packet; receives the compressed response sent by the second station; sends the compression request to the second station Sending a first data packet including a complete MAC header or a compressed MAC header with a flow field, wherein the flow field includes a flow identifier. the

在第二方面,本发明提供一种第一站点接收连续数据包的方法。该方法包括:第一站点向第二站点发送包含第一数据包,所述第一数据包携带完整指示信息和/或第一压缩协商信息;接收第二站点反馈第一数据包的响应消息,获取响应消息中的第二压缩协商信息。  In a second aspect, the present invention provides a method for receiving consecutive data packets at a first station. The method includes: the first station sends a first data packet to the second station, the first data packet carrying complete indication information and/or first compression negotiation information; receiving a response message in which the second station feeds back the first data packet, Obtain the second compression negotiation information in the response message. the

在第三方面,本发明实施例提供一种站点。该站点包括:第一发送单元,向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;接收单元,接收第二站点发送的压缩响应;第二发送单元,向第二站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。  In a third aspect, an embodiment of the present invention provides a website. The station includes: a first sending unit, which sends a compression request to the second station, and the compression request carries a flow identifier and field information of a MAC frame header of a subsequent data packet; a receiving unit, which receives a compressed response sent by the second station ; The second sending unit sends to the second station the first data packet that includes a complete MAC frame header or a compressed MAC frame header with a flow field, wherein the flow field includes a flow identifier. the

在第四方面,本发明实施例提供一种站点。该站点包括:发送单元,向第二站点发送包含第一数据包,所述第一数据包携带完整指示信息和/或第一压缩协商信息;接收单元,接收第二站点反馈第一数据包的响应消息,获取响应消息中的第二压缩协商信息。  In a fourth aspect, an embodiment of the present invention provides a website. The station includes: a sending unit, which sends a first data packet to the second station, the first data packet carrying complete indication information and/or first compression negotiation information; a receiving unit, which receives the first data packet fed back by the second station A response message, to obtain the second compression negotiation information in the response message. the

本发明各实施例可以有效压缩连续数据包的MAC帧头字段长度,节省连续数据包的不必要开销,不但提高信道媒介资源的利用效率,还有助于发送站点节能;此外灵活处理出现变化的MAC帧头字段,提高使用的灵活度。  Various embodiments of the present invention can effectively compress the length of the MAC frame header field of continuous data packets, save unnecessary overhead of continuous data packets, not only improve the utilization efficiency of channel media resources, but also help the sending site to save energy; in addition, flexibly handle changes in The MAC frame header field improves the flexibility of use. the

附图说明 Description of drawings

图1是802.11的数据包分组结构;  Fig. 1 is the packet structure of 802.11;

图2示意了一种现有技术的连续数据包的传输过程;  Fig. 2 illustrates a kind of transmission process of the continuous data packet of prior art;

图3是现有技术连续数据包的压缩格式;  Fig. 3 is the compressed format of prior art continuous data packet;

图4示意了WLAN的服务集;  Figure 4 illustrates the WLAN service set;

图5是根据本发明第一实施例的站点之间数据包的传输流程图;  Fig. 5 is the flow chart of the transmission of data packets between the stations according to the first embodiment of the present invention;

图6示意了实施例一中包含压缩MAC帧头的数据包格式;  Fig. 6 has illustrated the data packet format that comprises compressed MAC frame header among the embodiment one;

图7是实施例一的连续数据包的传输示意图;  Fig. 7 is the transmission schematic diagram of the continuous data packet of embodiment one;

图8是根据本发明实施例二的站点之间数据包的传输流程图;  Fig. 8 is according to the transmission flowchart of the data packet between the stations of the second embodiment of the present invention;

图9示意了实施例二中包含压缩MAC帧头的数据包格式;  Fig. 9 has illustrated the data packet format that comprises compressed MAC frame header among the embodiment two;

图10是实施例二的连续数据包的传输示意图;  Fig. 10 is the transmission schematic diagram of the continuous data packet of embodiment two;

图11是根据本发明实施例三的发送连续数据包的流程示意图;  Fig. 11 is a schematic flow diagram of sending continuous data packets according to Embodiment 3 of the present invention;

图12是根据本发明实施例三的接收连续数据包的流程示意图;  Fig. 12 is a schematic flow diagram of receiving continuous data packets according to Embodiment 3 of the present invention;

图13示意了实施例三中包含压缩MAC帧头的数据包格式;  Fig. 13 has illustrated the data packet format that comprises the compressed MAC frame header among the embodiment three;

图14是实施例三中连续数据包的传输示意图;  Fig. 14 is a schematic diagram of the transmission of continuous data packets in the third embodiment;

图15是根据本发明实施例四的发送连续数据包的流程示意图;  Fig. 15 is a schematic flow diagram of sending continuous data packets according to Embodiment 4 of the present invention;

图16是根据本发明实施例四的接收连续数据包的流程示意图;  Fig. 16 is a schematic flow diagram of receiving continuous data packets according to Embodiment 4 of the present invention;

图17示意了实施例四中包含压缩MAC帧头的数据包格式;  Fig. 17 has illustrated the data packet format that comprises compressed MAC frame header among the embodiment four;

图18是实施例四中连续数据包的传输示意图;  Figure 18 is a schematic diagram of the transmission of continuous data packets in Embodiment 4;

图19是根据本发明实施例的一种站点的结构示意图;  Fig. 19 is a schematic structural diagram of a site according to an embodiment of the present invention;

图20是根据本发明实施例的一种站点的结构示意图。  Fig. 20 is a schematic structural diagram of a site according to an embodiment of the present invention. the

具体实施方式 Detailed ways

图4示意了无线局域网(WLAN:Wireless local area network)的各种服务集。其中基本服务集(BSS:Basic service set)由某一特定覆盖区域之内,并具有某种关联的站点STA组成。图4所示的BSS2和BSS3便是这样的基本服务集。在BSS网络中具有专职管理BSS的中央站点被称为接入点AP(Access point),而在该网络中的其它站点STA都与它相关联。多个BSS网通过分布式系统(DS:Distribution system)相互连接即刻组成扩展服务集(ESS:Extended service set)。在AP缺失的情况下,站点STA也可以自组网络而相互直接通信,此网络即为独立基本服务集(IBSS:Independent basic service set),如BSS1。  FIG. 4 illustrates various service sets of a wireless local area network (WLAN: Wireless local area network). Among them, the basic service set (BSS: Basic service set) is composed of STAs within a certain coverage area and having some kind of association. BSS2 and BSS3 shown in Figure 4 are such basic service sets. In the BSS network, the central station with a full-time management BSS is called an access point AP (Access point), and other stations STA in the network are associated with it. Multiple BSS networks are connected to each other through a distributed system (DS: Distribution system) to immediately form an extended service set (ESS: Extended service set). In the absence of an AP, STAs at stations can also directly communicate with each other through an ad hoc network. This network is an independent basic service set (IBSS: Independent basic service set), such as BSS1. the

下文将以站点STA1和STA2为例介绍本发明各实施例中各站点之间的数据包的传输情况。需要指出,各实施例不仅同样适用于其它站点之间的数据包的传输,也同样适用于图4以外的其它类型站点之间数据包的传输。  The following will take stations STA1 and STA2 as examples to introduce the transmission of data packets between stations in various embodiments of the present invention. It should be pointed out that the embodiments are not only equally applicable to the transmission of data packets between other stations, but also applicable to the transmission of data packets between other types of stations other than those shown in FIG. 4 . the

实施例一  Embodiment one

本实施例涉及一种连续包的传输方法。通过在数据包中设置流压缩位和流字段指示本包是否以流标识压缩的格式传输、指示本包的多个MAC帧头字段与 流标识所标识的MAC帧头字段信息是否相同,设计了一种提高流标识应用灵活度的方案。  This embodiment relates to a method for transmitting continuous packets. By setting the flow compression bit and the flow field in the data packet to indicate whether the packet is transmitted in the format of flow identification compression, indicating whether the multiple MAC frame header fields of the packet are the same as the MAC frame header field information identified by the flow identification, the design is designed A scheme for improving the application flexibility of flow identification. the

图5是根据本发明实施例一的站点之间数据包的传输流程图。  Fig. 5 is a flow chart of data packet transmission between stations according to Embodiment 1 of the present invention. the

如图5所示,在步骤S500,发送站点STA1向接收站点STA2发送压缩请求消息,所述压缩请求消息可以是但不限于帧头控制请求帧(HC-REQ帧),其携带属于连续数据包的标签-流标识Flow ID和流标识所标识的连续数据包的相同的MAC帧头字段信息。  As shown in Figure 5, in step S500, the sending station STA1 sends a compression request message to the receiving station STA2, and the compression request message may be but not limited to a frame header control request frame (HC-REQ frame), which carries a continuous data packet The label-flow identifier Flow ID and the same MAC frame header field information of the continuous data packets identified by the flow identifier. the

所述MAC帧头字段信息可以是地址字段信息(地址1、地址2、地址3、地址4)、QoS控制字段信息或HT控制信息中的一种或者它们的任意组合。  The MAC frame header field information may be one of address field information (address 1, address 2, address 3, address 4), QoS control field information or HT control information or any combination thereof. the

在步骤S501,接收站点STA2接收所述压缩请求消息,本地保存其携带的所述流标识Flow ID和流标识所标记的MAC帧头字段信息,并向发送站点STA1发送压缩响应消息,指示流标识协商成功,所述压缩响应消息可以是但不限于帧头控制响应帧(HC-RESP帧)。  In step S501, the receiving station STA2 receives the compression request message, locally stores the flow identifier Flow ID and the MAC frame header field information marked by the flow identifier, and sends a compression response message to the sending station STA1, indicating the flow identifier If the negotiation is successful, the compressed response message may be but not limited to a frame header control response frame (HC-RESP frame). the

在步骤S502,发送站点STA1接收所述压缩响应消息,本地保存协商的流标识Flow ID和流标识所标记的MAC帧头字段,流标志协商步骤完成。  In step S502, the sending station STA1 receives the compressed response message, locally saves the negotiated flow identifier Flow ID and the MAC frame header field marked by the flow identifier, and the flow identifier negotiation step is completed. the

在步骤S503,发送站点STA1确定是否结束流标识Flow ID的使用,如果确定结束流标识的使用,则执行步骤S514,否则执行步骤S504。  In step S503, the sending station STA1 determines whether to end the use of the Flow ID, if it is determined to end the use of the flow ID, then execute step S514, otherwise execute step S504. the

在步骤S504,发送站点STA1确定数据包的MAC帧头字段是否可用流标识代替,如果确定数据包的MAC帧头字段可用流标识代替,则执行步骤S505;否则执行步骤S506;  In step S504, the sending site STA1 determines whether the MAC frame header field of the data packet can be replaced by a flow identifier, if it is determined that the MAC frame header field of the data packet can be replaced by a flow identifier, then perform step S505; otherwise perform step S506;

在步骤S505,发送站点STA1设置数据包中信令字段的流压缩位为1,数据包携带包含流字段的压缩MAC帧头;所述流字段包含有流标识。所述流压缩位为1指示本数据包包含压缩的MAC帧头,为0指示本数据包包含完整的MAC帧头。  In step S505, the sending station STA1 sets the stream compression bit of the signaling field in the data packet to 1, and the data packet carries a compressed MAC frame header including a stream field; the stream field includes a stream identifier. If the stream compression bit is 1, it indicates that the data packet contains a compressed MAC frame header, and if it is 0, it indicates that the data packet contains a complete MAC frame header. the

需要指出,在本说明书中某指示位为1表示该指示位有效,指示位为0表示该指示位为无效,除非另作特别表示。  It should be noted that in this specification, a certain indicating bit being 1 means that the indicating bit is valid, and an indicating bit being 0 means that the indicating bit is invalid, unless otherwise specified. the

在一个例子中,所述流字段不仅含有流标识,且包含有时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位或HT控制字段指示位的一种或它们的任意组合。  In an example, the flow field not only includes a flow identifier, but also includes a time domain/ID field indicator bit, an address 3 field indicator bit, an address 4 field indicator bit, a QoS control field indicator bit, or an HT control field indicator bit. or any combination of them. the

(1-1)、如果数据包需要时域/ID字段指示,设置时域/ID字段指示位为1,在压缩MAC帧头中出现时域/ID字段,设置相应的参数;否则设置时域/ID字段指示位为0,在压缩MAC帧头中缺省时域/ID字段。  (1-1), if the data packet needs the time domain/ID field indication, set the time domain/ID field indication bit as 1, the time domain/ID field appears in the compressed MAC frame header, set the corresponding parameters; otherwise set the time domain The /ID field indication bit is 0, and the default time domain /ID field in the compressed MAC frame header. the

(1-2)、如果数据包的帧控制字段指示存在地址3字段,且地址3字段信息与流标识所标记的地址3字段信息不同,设置地址3字段指示位为1,在压缩MAC帧头中出现地址3字段,指示接收站点从压缩MAC帧头中获取地址3字段信息;否则设置地址3字段指示位为0,在压缩MAC帧头中缺省地址3字段。  (1-2), if the frame control field of the data packet indicates that there is an address 3 field, and the address 3 field information is different from the address 3 field information marked by the flow identifier, the address 3 field indication bit is set to 1, and the compressed MAC frame header The address 3 field appears in , indicating that the receiving station obtains the address 3 field information from the compressed MAC frame header; otherwise, the address 3 field indication bit is set to 0, and the address 3 field is defaulted in the compressed MAC frame header. the

(1-3)、如果数据包的帧控制字段指示存在地址4字段,且地址4字段信息与流标识所标记的地址4字段信息不同,设置地址4字段指示位为1,在压缩MAC帧头中出现地址4字段,指示接收站点从压缩MAC帧头中获取地址4字段信息;否则设置地址4字段指示位为0,在压缩MAC帧头中缺省地址4字段。  (1-3), if the frame control field of the data packet indicates that there is an address 4 field, and the address 4 field information is different from the address 4 field information marked by the flow identifier, set the address 4 field indication bit to 1, and compress the MAC frame header The address 4 field appears in , indicating that the receiving station obtains the address 4 field information from the compressed MAC frame header; otherwise, the address 4 field indication bit is set to 0, and the address 4 field is defaulted in the compressed MAC frame header. the

(1-4)、如果数据包的帧控制字段指示存在QoS控制字段,且QoS控制字段信息与流标识所标记的QoS控制字段信息不同,设置QoS控制字段指示位为1,在压缩MAC帧头中出现QoS控制字段,指示接收站点从压缩MAC帧头中获取QoS控制字段信息;否则设置QoS控制字段指示位为0,在压缩MAC帧头中缺省QoS控制字段。  (1-4), if the frame control field of the data packet indicates that there is a QoS control field, and the QoS control field information is different from the QoS control field information marked by the flow identifier, set the QoS control field indication bit to 1, and compress the MAC frame header The QoS control field appears in , indicating that the receiving station obtains the QoS control field information from the compressed MAC frame header; otherwise, the QoS control field indication bit is set to 0, and the QoS control field is defaulted in the compressed MAC frame header. the

(1-5)、如果数据包的帧控制字段指示存在HT控制字段,且HT控制字段信息与流标识所标记的HT控制字段信息不同,设置HT控制字段指示位为1,在压缩MAC帧头中出现HT控制字段,指示接收站点从压缩MAC帧头中获取HT控制字段信息;否则设置HT控制字段指示位为0,在压缩MAC帧头中缺省HT控制字段。  (1-5), if the frame control field of the data packet indicates that there is an HT control field, and the HT control field information is different from the HT control field information marked by the flow identifier, the HT control field indication bit is set to 1, and the MAC frame header is compressed The HT control field appears in , indicating that the receiving station obtains the HT control field information from the compressed MAC frame header; otherwise, the HT control field indication bit is set to 0, and the HT control field is defaulted in the compressed MAC frame header. the

图6示意了一种携带压缩MAC帧头的数据包格式。除包括常规的短训练字段、长训练字段、服务字段和尾部与填充字段外,数据包在信令字段中引入流压缩位。与此同时,数据包在数据字段中引入流字段,流字段包括流标识,以及时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位等。从图6可见,由于该包的帧控制字段指示存在QoS控制字段,且QoS控制字段与流标识所标记的QoS控制字段信息不同,故而在流字段中的QoS控制字段指示位为1,并在压缩MAC帧头中除了帧控制、 流(Flow)字段、序列控制字段外,出现相应的QoS控制字段,与完整MAC帧头相比,长度明显缩小。  Fig. 6 illustrates a data packet format carrying a compressed MAC frame header. In addition to including the conventional short training field, long training field, service field, and trailer and padding fields, the data packet introduces stream compression bits in the signaling field. At the same time, the data packet introduces the flow field in the data field, the flow field includes the flow identifier, and the time domain/ID field indicator bit, the address 3 field indicator bit, the address 4 field indicator bit, the QoS control field indicator bit, and the HT control field indicator, etc. As can be seen from Figure 6, since the frame control field of the packet indicates that there is a QoS control field, and the QoS control field is different from the QoS control field information marked by the flow identifier, the QoS control field indication bit in the flow field is 1, and in In addition to the frame control, flow (Flow) field, and sequence control field in the compressed MAC frame header, the corresponding QoS control field appears. Compared with the complete MAC frame header, the length is significantly reduced. the

需要指出,虽然图6给出了流压缩位的具体位置,但是其中流压缩位可以设置在不同于信令字段的其它部分,比如帧控制字段。  It should be pointed out that although FIG. 6 shows the specific position of the stream compression bit, the stream compression bit can be set in other parts than the signaling field, such as the frame control field. the

在步骤S506,发送站点STA1设置数据包中的信令字段的流压缩位为0,指示数据包携带完整的MAC帧头,数据包包含完整的MAC帧头。  In step S506, the sending station STA1 sets the stream compression bit of the signaling field in the data packet to 0, indicating that the data packet carries a complete MAC frame header, and the data packet includes a complete MAC frame header. the

在步骤S507,发送站点STA1发送数据包。  In step S507, the sending station STA1 sends the data packet. the

在步骤S508,接收站点STA2接收数据包。  In step S508, the receiving station STA2 receives the data packet. the

在步骤S509,接收站点STA2判断数据包中的信令字段的流压缩位是否有效,如果数据包中的信令字段的流压缩位有效,则执行步骤S510,否则执行步骤S511。  In step S509, the receiving station STA2 judges whether the stream compression bit of the signaling field in the data packet is valid, and if the stream compression bit of the signaling field in the data packet is valid, execute step S510, otherwise execute step S511. the

在步骤S510,接收站点STA2获取MAC帧头字段中的流字段信息以及其中的流标识;根据流标识,从本地存储单元中查找本包缺省的MAC帧头字段信息。  In step S510, the receiving station STA2 obtains the flow field information in the MAC frame header field and the flow identifier therein; according to the flow identifier, it searches the default MAC frame header field information of the packet from the local storage unit. the

此外,根据流字段中的时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位或HT控制字段指示位的一种或它们的任意组合,获取数据包完整的MAC帧头字段信息。  In addition, according to one or any combination of the time domain/ID field indicator bit, address 3 field indicator bit, address 4 field indicator bit, QoS control field indicator bit or HT control field indicator bit in the flow field, obtain the data packet Complete MAC frame header field information. the

(2-1)、如果时域/ID字段指示位为1,则从压缩MAC帧头中的时域/ID字段获取数据包的时域/ID字段信息,否则不获取时域/ID字段信息。  (2-1), if the time domain/ID field indication bit is 1, then obtain the time domain/ID field information of the data packet from the time domain/ID field in the compressed MAC frame header, otherwise do not obtain the time domain/ID field information . the

(2-2)、如果地址3字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址3信息;否则从本地存储单元获取数据包的地址3信息。  (2-2), if the address 3 field indication bit is 1, then obtain the address 3 information of the data packet from the address 3 field in the compressed MAC frame header; otherwise obtain the address 3 information of the data packet from the local storage unit. the

(2-3)、如果地址4字段指示位为1,则从压缩MAC帧头中的地址4字段获取数据包的地址4信息;否则从本地存储单元获取数据包的地址4信息。  (2-3), if the address 4 field indication bit is 1, then obtain the address 4 information of the data packet from the address 4 field in the compressed MAC frame header; otherwise obtain the address 4 information of the data packet from the local storage unit. the

(2-4)、如果QoS控制字段指示位为1,则从压缩MAC帧头中的QoS控制字段获取数据包的QoS控制信息;否则从本地存储单元获取数据包的QoS控制信息。  (2-4), if the QoS control field indication bit is 1, then obtain the QoS control information of the data packet from the QoS control field in the compressed MAC frame header; otherwise obtain the QoS control information of the data packet from the local storage unit. the

(2-5)、如果HT控制字段指示位为1,则从压缩MAC帧头中的HT控制字段获取数据包的HT控制信息;否则从本地存储单元获取数据包的HT控制信息。  (2-5), if the HT control field indication bit is 1, then obtain the HT control information of the data packet from the HT control field in the compressed MAC frame header; otherwise obtain the HT control information of the data packet from the local storage unit. the

通过上述字段指示位,本发明实施例可以灵活处理出现变化的MAC帧头字段,提高使用的灵活度。  Through the above-mentioned field indication bits, the embodiments of the present invention can flexibly handle changing MAC frame header fields and improve the flexibility of use. the

在步骤S511,接收站点STA2从完整MAC帧头中获取数据包的完整MAC帧头字段信息。  In step S511 , the receiving station STA2 acquires field information of the complete MAC frame header of the data packet from the complete MAC frame header. the

在步骤S512,接收站点STA2向发送站点反馈数据包响应消息。  In step S512, the receiving station STA2 feeds back a data packet response message to the sending station. the

在步骤S513,发送站点STA1接收所述数据包的响应消息。  In step S513, the sending station STA1 receives the response message of the data packet. the

在步骤S514,发送站点STA1向接收站点STA2发送流结束消息。  In step S514, the sending station STA1 sends a stream end message to the receiving station STA2. the

在步骤S515,接收站点STA2接收所述流结束消息,删除本地存储单元保存的流标识和其标志的MAC帧头字段信息,并向发送站点STA1反馈流结束响应消息;  In step S515, the receiving station STA2 receives the end-of-flow message, deletes the flow identification stored in the local storage unit and the MAC frame header field information of its mark, and feeds back the end-of-flow response message to the sending station STA1;

在步骤S516,发送站点STA1接收所述流结束响应消息,删除本地存储单元保存的流标识和其标识的MAC帧头字段信息。  In step S516, the sending station STA1 receives the stream end response message, and deletes the stream identifier and the MAC frame header field information stored in the local storage unit. the

图7是实施例一的连续数据包的示意图。如图7所示,发送站点STA1发送HC-REQ请求;接收站点STA2回应以HC-RESP,并且保存流标识和其所标记的MAC帧头字段信息。发送站点STA1在接收到HC-RESP响应后陆续发送数据包DATA1;DATA2(QoS=1);…;DATA3。接收站点STA2回应以ACK响应。最后,发送站点STA1发送TAIL帧;接收站点STA2回应以ACK响应,同时删除流标识和其所标记的MAC帧头字段。  Fig. 7 is a schematic diagram of continuous data packets in Embodiment 1. As shown in FIG. 7 , the sending station STA1 sends an HC-REQ request; the receiving station STA2 responds with HC-RESP, and saves the flow identifier and the marked MAC frame header field information. After receiving the HC-RESP response, the sending station STA1 successively sends data packets DATA1; DATA2 (QoS=1); . . . ; DATA3. The receiving station STA2 responds with an ACK. Finally, the sending station STA1 sends a TAIL frame; the receiving station STA2 responds with an ACK response, and at the same time deletes the flow identifier and the marked MAC frame header field. the

实施例二  Example two

本实施例涉及一种连续包的传输方法。通过在数据包中设置流压缩位和流字段指示本包是否以流标识压缩的格式传输、指示本包的多个MAC帧头字段与流标识所标识的字段信息是否相同、指示本包成功传输结束后流标识是否继续使用,设计了一种提高流标识应用灵活度的方案。不同于实施例一的地方在于,实施例二采用流字段中的流结束位来代替流结束帧。  This embodiment relates to a method for transmitting continuous packets. By setting the flow compression bit and the flow field in the data packet, it indicates whether the packet is transmitted in the compressed format of the flow identifier, indicates whether the multiple MAC frame header fields of the packet are the same as the field information identified by the flow identifier, and indicates that the packet is successfully transmitted Whether to continue to use the flow identification after the end, a scheme to improve the flexibility of the application of the flow identification is designed. The difference from the first embodiment is that the second embodiment uses the stream end bit in the stream field to replace the stream end frame. the

图8是根据本发明实施例二的站点之间数据包的传输流程图。  Fig. 8 is a flow chart of data packet transmission between stations according to Embodiment 2 of the present invention. the

如图8所示,在步骤S800,发送站点STA1向接收站点STA2发送压缩请求消息,所述压缩请求消息可以是但不限于帧头控制请求帧(HC-REQ帧),携带属于连续数据包的标签-流标识Flow ID和流标识所标识连续数据包的相同的MAC帧头字段信息。  As shown in Figure 8, in step S800, the sending station STA1 sends a compression request message to the receiving station STA2, and the compression request message may be but not limited to a frame header control request frame (HC-REQ frame), carrying information belonging to continuous data packets Label-flow identifier Flow ID and the same MAC frame header field information of consecutive data packets identified by the flow identifier. the

所述MAC帧头字段可以为地址字段信息(地址1、地址2、地址3、地址4)、 QoS控制字段信息或HT信息中的一种或者它们的任意组合。  The MAC frame header field can be one of address field information (address 1, address 2, address 3, address 4), QoS control field information or HT information or any combination thereof. the

在步骤S801,接收站点STA2接收所述压缩请求消息,本地保存其携带的流标识和流标识所标记的MAC帧头字段,并向发送站点STA1反馈压缩响应消息,所述压缩响应消息可以是但不限于帧头控制响应帧(HC-RESP帧),指示流标识协商成功。  In step S801, the receiving station STA2 receives the compression request message, locally saves the flow identifier carried by it and the MAC frame header field marked by the flow identifier, and feeds back a compression response message to the sending station STA1, and the compression response message may be It is not limited to the frame header control response frame (HC-RESP frame), indicating that the flow identifier negotiation is successful. the

在步骤S802,发送站点STA1接收所述压缩响应消息,本地保存协商的流标识和流标识所标记的MAC帧头字段信息,流标识协商步骤完成。  In step S802, the sending station STA1 receives the compressed response message, locally saves the negotiated flow identifier and the MAC frame header field information marked by the flow identifier, and the flow identifier negotiation step is completed. the

在步骤S803,发送站点STA1确定数据包的MAC帧头字段是否可用流标识代替;如果数据包的MAC帧头字段可用流标识代替,则执行步骤S804,否则执行步骤S805。  In step S803, the sending station STA1 determines whether the MAC frame header field of the data packet can be replaced by a flow identifier; if the MAC frame header field of the data packet can be replaced by a flow identifier, then execute step S804, otherwise execute step S805. the

在步骤S804,发送站点STA1设置数据包中信令字段的流压缩位为1,数据包携带包含流字段的压缩MAC帧头,所述流字段包含有流标识。所述流压缩位为1指示数据包携带包含流字段的压缩MAC帧头,为0指示数据包包含完整MAC帧头。  In step S804, the sending station STA1 sets the stream compression bit of the signaling field in the data packet to 1, and the data packet carries a compressed MAC frame header including a stream field, and the stream field includes a stream identifier. If the stream compression bit is 1, it indicates that the data packet carries a compressed MAC frame header including the flow field, and if it is 0, it indicates that the data packet contains a complete MAC frame header. the

在一个例子中,所述流字段不仅含有流标识,且包含有时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位的一种或它们的组合形式。  In an example, the flow field not only includes a flow identifier, but also includes a time domain/ID field indication bit, an address 3 field indication bit, an address 4 field indication bit, a QoS control field indication bit, and an HT control field indication bit. or a combination of them. the

(3-1)、如果数据包需要时域/ID字段指示,设置时域/ID字段指示位为1,在压缩MAC帧头中出现时域/ID字段,设置相应的参数;否则设置时域/ID字段指示位为0,在压缩MAC帧头中缺省时域/ID字段。  (3-1), if the data packet needs the time domain/ID field indication, set the time domain/ID field indication bit to 1, the time domain/ID field appears in the compressed MAC frame header, set the corresponding parameters; otherwise set the time domain The /ID field indication bit is 0, and the default time domain /ID field in the compressed MAC frame header. the

(3-2)、如果数据包的帧控制字段指示存在地址3字段,且地址3字段信息与流标识所标记的地址3字段信息不同,设置地址3字段指示位为1,在压缩MAC帧头中出现地址3字段,指示接收站点从压缩MAC帧头中获取地址3字段信息;否则设置地址3字段指示位为0,在压缩MAC帧头中缺省地址3字段。  (3-2), if the frame control field of the data packet indicates that there is an address 3 field, and the address 3 field information is different from the address 3 field information marked by the flow identifier, the address 3 field indication bit is set to 1, and the compressed MAC frame header The address 3 field appears in , indicating that the receiving station obtains the address 3 field information from the compressed MAC frame header; otherwise, the address 3 field indication bit is set to 0, and the address 3 field is defaulted in the compressed MAC frame header. the

(3-3)、如果数据包的帧控制字段指示存在地址4字段,且地址4字段信息与流标识所标记的地址4字段信息不同,设置地址4字段指示位为1,在压缩MAC帧头中出现地址4字段,指示接收站点从压缩MAC帧头中获取地址4字段信息;否则设置地址4字段指示位为0,在压缩MAC帧头中缺省地址4字段。  (3-3), if the frame control field of the data packet indicates that there is an address 4 field, and the address 4 field information is different from the address 4 field information marked by the flow identifier, the address 4 field indication bit is set to 1, and the compressed MAC frame header The address 4 field appears in , indicating that the receiving station obtains the address 4 field information from the compressed MAC frame header; otherwise, the address 4 field indication bit is set to 0, and the address 4 field is defaulted in the compressed MAC frame header. the

(3-4)、如果数据包的帧控制字段指示存在QoS字段,且QoS控制字段信 息与流标识所标记的QoS控制字段信息不同,设置QoS控制字段指示位为1,在压缩MAC帧头中出现QoS控制字段,指示接收站点从压缩MAC帧头中获取QoS控制字段信息;否则设置QoS控制字段指示位为0,在压缩MAC帧头中缺省QoS控制字段。  (3-4), if the frame control field indication of data packet exists QoS field, and QoS control field information is different from the QoS control field information marked by flow identification, set QoS control field indication bit to be 1, compress MAC frame header The QoS control field appears in , indicating that the receiving station obtains the QoS control field information from the compressed MAC frame header; otherwise, the QoS control field indication bit is set to 0, and the QoS control field is defaulted in the compressed MAC frame header. the

(3-5)、如果数据包的帧控制字段指示存在HT控制字段,且HT控制字段信息与流标识所标记的HT控制字段信息不同,设置HT控制字段指示位为1,在压缩MAC帧头中出现HT控制字段,指示接收站点从压缩MAC帧头中获取HT控制字段信息;否则设置HT控制字段指示位为0,在压缩MAC帧头中缺省HT控制字段。  (3-5), if the frame control field of the data packet indicates that there is an HT control field, and the HT control field information is different from the HT control field information marked by the flow identifier, set the HT control field indication bit to 1, and compress the MAC frame header The HT control field appears in , indicating that the receiving station obtains the HT control field information from the compressed MAC frame header; otherwise, the HT control field indication bit is set to 0, and the HT control field is defaulted in the compressed MAC frame header. the

在步骤S806,发送站点STA1确定数据包成功传输后是否结束流标识使用,如果确定数据包成功传输后结束流标识使用,则执行步骤S808;否则执行步骤S807;  In step S806, the sending station STA1 determines whether to end the use of the flow identification after the successful transmission of the data packet, and if it is determined that the use of the flow identification ends after the successful transmission of the data packet, then perform step S808; otherwise, perform step S807;

在步骤S807,发送站点STA1设置数据包的流结束位(TAIL位)无效,指示接收站点删除本地存储单元保存的流标识和流标识所标记的MAC帧头字段信息;所述流结束位可以配置在但不限于流字段。  In step S807, the flow end bit (TAIL bit) of sending station STA1 setting data packet is invalid, and instruction receiving station deletes the flow identification that local storage unit preserves and the MAC frame header field information of flow identification mark; Described flow end bit can configure In but not limited to stream fields. the

在步骤S808,发送站点STA1设置和数据包的流结束位(TAIL位)有效,指示接收站点继续保存本地的流标识和流标识所标记的MAC帧头字段信息。  In step S808, the sending station STA1 sets the end-of-stream bit (TAIL bit) of the data packet to be valid, instructing the receiving station to continue saving the local flow identifier and the MAC frame header field information marked by the flow identifier. the

图9示意了压缩MAC帧头字段的数据包格式。除包括常规的短训练字段、长训练字段、服务字段和尾部与填充字段外,数据包在信令字段中引入流压缩位。与此同时,数据包在数据字段中引入流字段,流字段包括流标识,以及时域字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位、TAIL指示位等。从图9可见,由于该包的帧控制字段指示存在QoS控制字段,且QoS控制字段与流标识所标记的QoS控制字段信息不同,故而在流字段中的QoS控制字段指示位为1,并在流字段之后紧接相应的QoS控制字段,与完整MAC帧头相比,长度明显缩小。  FIG. 9 illustrates the packet format of the compressed MAC frame header field. In addition to including the conventional short training field, long training field, service field, and trailer and padding fields, the data packet introduces stream compression bits in the signaling field. At the same time, the data packet introduces the flow field in the data field, the flow field includes the flow identifier, and the time domain field indicator bit, the address 3 field indicator bit, the address 4 field indicator bit, the QoS control field indicator bit, and the HT control field indicator bit , TAIL indicator, etc. As can be seen from Figure 9, since the frame control field of the packet indicates that there is a QoS control field, and the QoS control field is different from the QoS control field information marked by the flow identifier, the QoS control field indication bit in the flow field is 1, and in The flow field is immediately followed by the corresponding QoS control field. Compared with the complete MAC frame header, the length is significantly reduced. the

需要指出,虽然图9给出了流压缩位的具体位置,但是流压缩位可以设置在不同于信令字段的其它部分,比如帧控制字段。  It should be pointed out that although FIG. 9 shows the specific position of the stream compression bit, the stream compression bit can be set in other parts than the signaling field, such as the frame control field. the

在步骤S805,发送站点STA1设置数据包中的信令字段的流压缩位为0,数据包携带完整的MAC帧头。  In step S805, the sending station STA1 sets the stream compression bit of the signaling field in the data packet to 0, and the data packet carries a complete MAC frame header. the

在步骤S809,发送站点STA1发送数据包。  In step S809, the sending station STA1 sends the data packet. the

在步骤S810,接收站点STA2接收数据包。  In step S810, the receiving station STA2 receives the data packet. the

在步骤S811,接收站点STA2判断数据包中的信令字段的流压缩位是否有效,如果数据包中的信令字段的流压缩位有效,则执行步骤S812,否则执行步骤S813。  In step S811, the receiving station STA2 judges whether the stream compression bit of the signaling field in the data packet is valid, and if the stream compression bit of the signaling field in the data packet is valid, execute step S812, otherwise execute step S813. the

在步骤S812,接收站点STA2获取MAC帧头字段中的流字段信息以及其中的流标识;根据流标识,从本地存储单元中查找数据包的完整的MAC帧头字段。  In step S812, the receiving station STA2 obtains the flow field information in the MAC frame header field and the flow identifier therein; according to the flow identifier, it searches the complete MAC frame header field of the data packet from the local storage unit. the

此外,根据MAC帧头字段中的时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位的一种或它们的任意组合,获取本包的完整的MAC帧头字段信息。  In addition, according to one of the time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, the HT control field indication bit or any combination thereof in the MAC frame header field, the The complete MAC frame header field information of this packet. the

(4-1)、如果时域字段指示位为1,则从压缩MAC帧头中的时域/ID字段获取数据包的时域/ID字段信息。  (4-1). If the indication bit of the time domain field is 1, obtain the time domain/ID field information of the data packet from the time domain/ID field in the compressed MAC frame header. the

(4-2)、如果地址3字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址3信息;否则从本地存储单元获取数据包的地址3信息。  (4-2), if the address 3 field indication bit is 1, then obtain the address 3 information of the data packet from the address 3 field in the compressed MAC frame header; otherwise obtain the address 3 information of the data packet from the local storage unit. the

(4-3)、如果地址4字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址4信息;否则从本地存储单元获取数据包的地址4信息。  (4-3), if the address 4 field indication bit is 1, then obtain the address 4 information of the data packet from the address 3 field in the compressed MAC frame header; otherwise obtain the address 4 information of the data packet from the local storage unit. the

(4-4)、如果QoS控制字段指示位为1,则从压缩MAC帧头中的QoS控制字段获取数据包的QoS控制信息;否则从本地存储单元获取数据包的QoS控制信息。  (4-4), if the QoS control field indication bit is 1, then obtain the QoS control information of the data packet from the QoS control field in the compressed MAC frame header; otherwise obtain the QoS control information of the data packet from the local storage unit. the

(4-5)、如果HT控制字段指示位为1,则从压缩MAC帧头中的HT控制字段获取数据包的HT控制信息;否则从本地存储单元获取数据包的HT控制信息。  (4-5) If the HT control field indication bit is 1, then obtain the HT control information of the data packet from the HT control field in the compressed MAC frame header; otherwise obtain the HT control information of the data packet from the local storage unit. the

通过上述字段指示位,本发明实施例可以灵活处理出现变化的MAC帧头字段,提高使用的灵活度。  Through the above-mentioned field indication bits, the embodiments of the present invention can flexibly handle changing MAC frame header fields and improve the flexibility of use. the

此外,接收站点STA2获取数据包的流结束位信息,如果流结束位有效,则删除本地存储单元保存的流标识和流标识所标志的MAC帧头字段;否则继续保存本地存储单元保存的流标识和流标识所标记的MAC帧头字段。  In addition, the receiving station STA2 obtains the stream end bit information of the data packet, and if the stream end bit is valid, then delete the stream ID stored in the local storage unit and the MAC frame header field marked by the stream ID; otherwise, continue to save the stream ID stored in the local storage unit and the MAC frame header field marked by the flow identifier. the

在步骤S813,接收站点STA2从完整MAC帧头中获取数据包的完整MAC帧头字段信息。  In step S813, the receiving station STA2 acquires field information of the complete MAC frame header of the data packet from the complete MAC frame header. the

在步骤S814,接收站点STA2反馈数据包的响应消息。  In step S814, the receiving station STA2 feeds back a response message of the data packet. the

在步骤S815,发送站点STA1接收数据包的响应消息,如果数据包中流结束信息有效,则删除本地存储单元保存的流标识和流标识所标志的MAC帧头字段;否者继续保持本地存储单元的流标识和流标识所标记的MAC帧头字段。  In step S815, the sending station STA1 receives the response message of the data packet, if the flow end information in the data packet is valid, then delete the flow identification and the MAC frame header field of the flow identification mark that the local storage unit saves; otherwise continue to keep the local storage unit The flow identifier and the MAC frame header field marked by the flow identifier. the

图10是实施例二的连续数据包的示意图。如图10所示,发送站点STA1发送HC-REQ请求;接收站点STA2回应以HC-RESP,并且保存流标识和其所标记的MAC帧头字段。发送站点STA1在接收到HC-RESP响应后陆续发送数据包DATA1(TAIL=0);DATA2(QoS=1,TAIL=0);…;DATA3(TAIL=0)。接收站点STA2回应以ACK响应。最后,发送站点STA1发送DATA4,其中TAIL=1;接收站点STA2回应以ACK响应,同时删除流标识和其所标记的MAC帧头字段信息。  FIG. 10 is a schematic diagram of continuous data packets in the second embodiment. As shown in FIG. 10 , the sending station STA1 sends an HC-REQ request; the receiving station STA2 responds with HC-RESP, and saves the flow identifier and the marked MAC frame header field. After receiving the HC-RESP response, the sending station STA1 successively sends data packets DATA1 (TAIL=0); DATA2 (QoS=1, TAIL=0); . . . ; DATA3 (TAIL=0). The receiving station STA2 responds with an ACK. Finally, the sending station STA1 sends DATA4, where TAIL=1; the receiving station STA2 responds with an ACK response, and deletes the flow identifier and the marked MAC frame header field information at the same time. the

需要指出,在前文有关实施例一和实施例二的描述中,Flow ID所指示的字段信息在该标识对应的连续数据包流中保持不变,但是,Flow ID所指示的字段信息也是可以进行即时更新。下面以实施例二的步骤S812和S815为例予以说明。  It should be pointed out that in the foregoing descriptions of Embodiment 1 and Embodiment 2, the field information indicated by the Flow ID remains unchanged in the continuous data packet flow corresponding to the identifier, but the field information indicated by the Flow ID can also be changed. Instant updates. The steps S812 and S815 of the second embodiment are taken as an example to describe below. the

在步骤S812中,(4-2)-(4-5)调整如下:  In step S812, (4-2)-(4-5) is adjusted as follows:

(5-2)、如果地址3字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址3信息,同时更新本地存储单元中保存的、流标识所标记的地址3信息;否则从本地存储单元获取数据包的地址3信息。  (5-2), if the address 3 field indication bit is 1, then obtain the address 3 information of data packet from the address 3 field in the compressed MAC frame header, update the address 3 that preserves in the local memory unit simultaneously, the marked address of flow identification information; otherwise, obtain the address 3 information of the data packet from the local storage unit. the

(5-3)、如果地址4字段指示位为1,则从压缩MAC帧头中的地址4字段获取数据包的地址4信息,同时更新本地存储单元中保存的、流标识所标记的地址4信息;否则从本地存储单元获取数据包的的地址4信息。  (5-3), if the address 4 field indication bit is 1, then obtain the address 4 information of the data packet from the address 4 field in the compressed MAC frame header, and update the address 4 saved in the local storage unit and the marked address of the stream identifier simultaneously information; otherwise, obtain the address 4 information of the data packet from the local storage unit. the

(5-4)、如果QoS控制字段指示位为1,则从压缩MAC帧头中的QoS控制字段获取数据包的QoS控制信息,同时更新本地存储单元中所保存的、流标识所标记的QoS控制信息;否则从本地存储单元获取数据包的QoS控制信息。  (5-4), if the QoS control field indication bit is 1, then obtain the QoS control information of data packet from the QoS control field in the compressed MAC frame header, update the QoS that is preserved in the local memory unit simultaneously, the marked QoS of flow identification control information; otherwise, obtain the QoS control information of the data packet from the local storage unit. the

(5-5)、如果HT控制字段指示位为1,则从压缩MAC帧头中的HT控制字段获取数据包的HT控制信息,同时更新本地存储单元中所保存的、流标识所标识的HT控制信息;否则从本地存储单元获取数据包的HT控制信息。  (5-5), if the HT control field indication bit is 1, then obtain the HT control information of the data packet from the HT control field in the compressed MAC frame header, and update the HT that is preserved in the local storage unit and identified by the stream identifier Control information; otherwise, obtain the HT control information of the data packet from the local storage unit. the

在步骤S815中,其调整如下:  In step S815, its adjustment is as follows:

发送站点STA1接收数据包的响应消息,如果数据包中流结束信息有效,则删除本地存储单元保存的流标识和流标识所标志的MAC帧头字段;否则根据数据包中流字段所包含的字段指示位更新本地存储单元流标识所标记的MAC帧头字段信息:  The sending station STA1 receives the response message of the data packet, if the flow end information in the data packet is valid, then delete the flow identification and the MAC frame header field marked by the flow identification stored in the local storage unit; otherwise, according to the field indication bit contained in the flow field in the data packet Update the MAC frame header field information marked by the flow identifier of the local storage unit:

(6-1)、如果流字段中地址3字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址3信息,并且更新流标识所标记的地址3信息为数据包中压缩MAC帧头的地址3字段信息;否则保持流标识所标记的地址3信息不变;  (6-1), if the address 3 field indication bit in the flow field is 1, then obtain the address 3 information of the data packet from the address 3 field in the compressed MAC frame header, and update the address 3 information marked by the flow identification as a data packet Compress the address 3 field information of the MAC frame header; otherwise keep the address 3 information marked by the flow identifier unchanged;

(6-2)、如果流字段中地址4字段指示位为1,则从压缩MAC帧头中的地址3字段获取数据包的地址4信息,并且更新流标识所标记的地址4信息为数据包中压缩MAC帧头的地址4字段信息;否则保持流标识所标记的地址4信息不变;  (6-2), if the address 4 field indication bit in the flow field is 1, then obtain the address 4 information of the data packet from the address 3 field in the compressed MAC frame header, and update the address 4 information marked by the flow identification as the data packet Compress the address 4 field information of the MAC frame header; otherwise keep the address 4 information marked by the flow identifier unchanged;

(6-3)、如果流字段中QoS控制字段指示位为1,则从压缩MAC帧头中的QoS控制字段获取数据包的QoS控制信息,并且更新流标识所标记的QoS控制信息为数据包中压缩MAC帧头的QoS控制字段信息;否则保持流标识所标记的QoS控制信息不变;  (6-3), if the QoS control field indicator in the flow field is 1, then obtain the QoS control information of the data packet from the QoS control field in the compressed MAC frame header, and update the QoS control information marked by the flow identification as the data packet Compress the QoS control field information of the MAC frame header; otherwise keep the QoS control information marked by the flow identifier unchanged;

(6-4)、如果流字段中HT控制字段指示位为1,则从压缩MAC帧头中的HT控制字段获取数据包的HT控制信息,并且更新流标识所标记的HT控制信息为数据包中压缩MAC帧头的HT控制字段信息;否则保持流标识所标记的HT控制信息不变。  (6-4), if the HT control field indication bit in the flow field is 1, then obtain the HT control information of the data packet from the HT control field in the compressed MAC frame header, and update the HT control information marked by the flow identification as the data packet Compress the HT control field information of the MAC frame header; otherwise keep the HT control information marked by the flow identifier unchanged. the

实施例三  Embodiment three

本实施例保护另一种连续数据包的传输方法。发送站点和接收站点通过协商指示位,确定下一个数据包的传输格式,提供了一种更加有效压缩MAC帧头的方案。  This embodiment protects another method for transmitting continuous data packets. The sending station and the receiving station determine the transmission format of the next data packet by negotiating the indicator bit, and provide a more effective solution for compressing the MAC frame header. the

图11是根据本发明实施例三的发送连续数据包的流程示意图。  FIG. 11 is a schematic flowchart of sending continuous data packets according to Embodiment 3 of the present invention. the

如图11所示,流程从步骤S1100开始。  As shown in FIG. 11, the process starts from step S1100. the

在步骤S1101,发送站点STA1准备发送数据包。  In step S1101, the sending station STA1 prepares to send a data packet. the

在步骤S1102,发送站点STA1判断该数据包是否是发送给接收站点STA2的连续数据包中的首个数据包,如果是则转为步骤S1104,否则转为步骤S1103。  In step S1102, the sending station STA1 judges whether the data packet is the first data packet in the continuous data packets sent to the receiving station STA2, if yes, go to step S1104, otherwise go to step S1103. the

在步骤S1103,发送站点解析前一个发送给接受站点STA2的数据包的响应消息,获取所述响应包的压缩协商位。  In step S1103, the sending station parses the previous response message of the data packet sent to the receiving station STA2, and obtains the compression negotiation bit of the response packet. the

在步骤S1105,发送站点STA1判断前一个数据包的响应包的压缩协商位是否有效。如果有效,则转为步骤S1107,否则转为步骤S1106。  In step S1105, the sending station STA1 judges whether the compression negotiation bit of the response packet of the previous data packet is valid. If valid, go to step S1107, otherwise go to step S1106. the

在步骤S1106,发送站点STA1清空本地存储单元中保存的压缩字段信息,然后转为步骤S1104。  In step S1106, the sending station STA1 clears the compressed field information stored in the local storage unit, and then turns to step S1104. the

在步骤S1107,发送站点STA1维持本地存储单元中保存的压缩字段信息不变。  In step S1107, the sending station STA1 keeps the compressed field information stored in the local storage unit unchanged. the

在步骤S1104,发送站点STA1设置数据包的完整指示位为1,数据包包含完整的MAC帧头,所述完整指示位指示本数据包包含完整的MAC帧头。  In step S1104, the sending station STA1 sets the completeness indication bit of the data packet to 1, the data packet contains a complete MAC frame header, and the completeness indication bit indicates that the data packet contains a complete MAC frame header. the

所述压缩协商位可以在数据包中的信令字段设置,或者在数据包中的帧控制字段设置,其位置不限。  The compression negotiation bit can be set in the signaling field in the data packet, or in the frame control field in the data packet, and its position is not limited. the

在步骤S1108,发送站点STA1在本地保存完整MAC帧头中的压缩字段信息。  In step S1108, the sending station STA1 locally saves the compressed field information in the complete MAC frame header. the

在步骤S1109,发送站点STA1设置数据包的完整指示位为0,数据包包含压缩的MAC帧头,所述完整指示位指示本数据包包含压缩的MAC帧头。  In step S1109, the sending station STA1 sets the integrity indicator bit of the data packet to 0, the data packet contains a compressed MAC frame header, and the integrity indicator bit indicates that the data packet contains a compressed MAC frame header. the

在步骤S1110,发送站点STA1判断下一个连续数据包的MAC帧头中特定字段是否可用存储单元保存的特定字段代替,如果可以转为步骤S1111,否则转为步骤S1112。  In step S1110, the sending station STA1 judges whether the specific field in the MAC frame header of the next continuous data packet can be replaced by the specific field stored in the storage unit, if it can, go to step S1111, otherwise go to step S1112. the

在步骤S1111,发送站点STA1设置压缩协商位为1,指示发送站点STA1发送的下一个连续数据包将包含压缩的MAC帧头。  In step S1111, the sending station STA1 sets the compression negotiation bit to 1, indicating that the next continuous data packet sent by the sending station STA1 will contain a compressed MAC frame header. the

所述压缩协商位可以在数据包中的信令字段设置,或者在数据包中帧控制字段设置,其位置不限。  The compression negotiation bit can be set in the signaling field in the data packet, or in the frame control field in the data packet, and its position is not limited. the

在步骤S1112,发送站点STA1设置压缩协商位为0,指示发送站点STA1发送的下一个连续数据包将包含完整的MAC帧头。  In step S1112, the sending station STA1 sets the compression negotiation bit to 0, indicating that the next continuous data packet sent by the sending station STA1 will contain a complete MAC frame header. the

在步骤S1113,发送站点STA1发送所述数据包。  In step S1113, the sending station STA1 sends the data packet. the

图12是根据本发明实施例三的接收连续数据包的流程示意图。  FIG. 12 is a schematic flowchart of receiving continuous data packets according to Embodiment 3 of the present invention. the

如图所示,流程从步骤1200开始。  As shown, the process begins at step 1200 . the

在步骤S1201,接收站点STA2接收数据包。  In step S1201, the receiving station STA2 receives the data packet. the

在步骤S1202,接收站点STA2判断数据包中的完整指示位是否有效。如果有效,则转为步骤S1204,否则转为步骤S1203。  In step S1202, the receiving station STA2 judges whether the integrity indicator bit in the data packet is valid. If valid, go to step S1204, otherwise go to step S1203. the

在步骤S1203,接收站点STA2从MAC帧头中获取数据包的完整的MAC帧头字段信息。  In step S1203, the receiving station STA2 obtains the complete field information of the MAC frame header of the data packet from the MAC frame header. the

在步骤S1204,接受站点STA2从本地存储单元获取数据包的MAC帧头特定字段信息。  In step S1204, the receiving station STA2 obtains the specific field information of the MAC frame header of the data packet from the local storage unit. the

在步骤S1205,接收站点STA2判断数据包中的压缩协商位是否有效。如果有效,则转为步骤S1206,否则转为步骤S1207。  In step S1205, the receiving station STA2 judges whether the compression negotiation bit in the data packet is valid. If valid, go to step S1206, otherwise go to step S1207. the

在步骤S1206,接收站点STA2决定是否同意下一个数据包包含压缩MAC帧头。如果同意,则转为步骤S1208,如果不同意则转为步骤S1209。  In step S1206, the receiving station STA2 decides whether to agree that the next data packet contains the compressed MAC frame header. If yes, go to step S1208; if not, go to step S1209. the

在步骤S1208,接收站点STA2在本地存储单元保存MAC帧头中的特定字段信息,并设置响应消息的压缩协商位为1,指示接收站点STA2准备接收包含压缩MAC帧头的数据包。  In step S1208, the receiving station STA2 saves the specific field information in the MAC frame header in the local storage unit, and sets the compression negotiation bit of the response message to 1, indicating that the receiving station STA2 is ready to receive the data packet containing the compressed MAC frame header. the

在步骤S1207,接收站点STA2清空本地存储单元保存的MAC帧头中特定字段信息,并设置响应消息的压缩协商位为0,指示接收站点STA2不接收包含压缩MAC帧头的数据包。  In step S1207, the receiving station STA2 clears the specific field information in the MAC header stored in the local storage unit, and sets the compression negotiation bit of the response message to 0, indicating that the receiving station STA2 does not receive the data packet containing the compressed MAC header. the

在步骤S1209,接收站点STA2发送响应消息。  In step S1209, the receiving station STA2 sends a response message. the

图13示意了实施例三中包含压缩MAC帧头的数据包格式。除包括常规的短训练字段、长训练字段、服务字段和尾部与填充字段外,数据包还在信令字段中引入完整指示位和压缩协商位。与此同时,数据包在数据字段中引入压缩MAC帧头、帧体和FCS,其中压缩MAC帧头只包含帧控制字段和序列控制字段。显而易见,此时数据包的MAC帧头长度与之前相比得到大幅度压缩。  FIG. 13 illustrates the format of the data packet including the compressed MAC frame header in the third embodiment. In addition to the conventional short training field, long training field, service field, and tail and padding field, the data packet also introduces a complete indication bit and a compression negotiation bit in the signaling field. At the same time, the data packet introduces a compressed MAC frame header, frame body and FCS in the data field, wherein the compressed MAC frame header only includes a frame control field and a sequence control field. Obviously, at this time, the length of the MAC frame header of the data packet is greatly compressed compared with before. the

图14是实施例三中连续数据包的传输示意图。如图14所示,发送站点STA1发送完整数据包1,其中完整指示位为1,压缩协商位为0。接收站点STA2接收到数据包1,回应响应消息ACK帧,设置响应包的压缩协商位为0,指示不接收包含压缩MAC帧头的数据包。  Fig. 14 is a schematic diagram of the transmission of continuous data packets in the third embodiment. As shown in FIG. 14 , the sending station STA1 sends a complete data packet 1, in which the complete indication bit is 1, and the compression negotiation bit is 0. The receiving station STA2 receives the data packet 1, responds to the response message ACK frame, sets the compression negotiation bit of the response packet to 0, and indicates not to receive the data packet containing the compressed MAC frame header. the

发送站点STA1发送完整数据包2,其中完整指示位和压缩协商位均为1。接收站点STA2接收到数据包2,回应响应消息ACK帧,设置响应包的压缩协商 位为0,指示不接收包含压缩MAC帧头的数据包。  The sending station STA1 sends a complete data packet 2, in which both the complete indication bit and the compression negotiation bit are 1. The receiving station STA2 receives the data packet 2, responds to the response message ACK frame, and sets the compression negotiation bit of the response packet to be 0, indicating that the data packet containing the compressed MAC frame header is not received. the

发送站点STA1发送完整数据包3,其中完整指示位和压缩协商位均为1。接收站点STA2接收到数据包3,回应响应消息ACK帧,设置响应包的压缩协商位为1,指示接收包含压缩MAC帧头的数据包。  The sending station STA1 sends a complete data packet 3, in which both the complete indication bit and the compression negotiation bit are 1. The receiving station STA2 receives the data packet 3, responds to the response message ACK frame, sets the compression negotiation bit of the response packet to 1, and indicates to receive the data packet containing the compressed MAC frame header. the

发送站点STA1发送压缩数据包4,其中完整指示位为0而压缩协商位为1。接收站点STA2接收到数据包4,回应响应消息ACK帧,设置响应包的压缩协商位为1,指示继续接收包含压缩MAC帧头的数据包。  The sending station STA1 sends the compressed data packet 4, in which the complete indication bit is 0 and the compression negotiation bit is 1. The receiving station STA2 receives the data packet 4, responds to the response message ACK frame, sets the compression negotiation bit of the response packet to 1, and indicates to continue to receive the data packet containing the compressed MAC frame header. the

发送站点STA1发送压缩数据包5,其中完整指示位为0而压缩协商位为1。接收站点STA2接收到数据包5,回应响应消息ACK帧,设置响应包的压缩协商位为1,指示继续接收包含压缩MAC帧头的数据包。  The sending station STA1 sends the compressed data packet 5, in which the complete indication bit is 0 and the compression negotiation bit is 1. The receiving station STA2 receives the data packet 5, responds to the response message ACK frame, sets the compression negotiation bit of the response packet to 1, and indicates to continue to receive the data packet containing the compressed MAC frame header. the

发送站点STA1发送压缩数据包6,其中完整指示位和压缩协商位均为0。接收站点STA2接收到数据包6,回应以响应ACK,同时设置压缩协商位为0,指示不再继续接收包含压缩MAC帧头的数据包。  The sending station STA1 sends a compressed data packet 6, in which both the integrity indicator bit and the compression negotiation bit are 0. The receiving station STA2 receives the data packet 6, responds with an ACK, and sets the compression negotiation bit to 0, indicating that it will not continue to receive the data packet containing the compressed MAC frame header. the

在本实施例中,根据各指示位的有效情况对本地存储的MAC帧头字段中相应的字段进行即时更新(参见图11的步骤S1108和图12的步骤S1208)。但是,另一个可行的方案是,虽然各指示位是有效的,但是本地存储的MAC帧头字段保持不变。  In this embodiment, the corresponding fields in the locally stored MAC frame header fields are updated immediately according to the validity of each indicator bit (see step S1108 in FIG. 11 and step S1208 in FIG. 12 ). However, another feasible solution is that although the indication bits are valid, the locally stored MAC frame header field remains unchanged. the

实施例四  Embodiment four

本实施例与实施例三的不同之处在于,在连续数据包包含压缩MAC帧头中包含压缩控制字段,压缩控制字段包含有地址3字段指示位、地址4字段指示位、QoS控制字段指示位和HT控制指示位等的一种或它们的组合形式,提供了一种压缩MAC帧头,且灵活应用的方案。  The difference between this embodiment and the third embodiment is that the compression control field is included in the compressed MAC frame header in the continuous data packet, and the compression control field includes the address 3 field indicator bit, the address 4 field indicator bit, and the QoS control field indicator bit One or a combination of the HT control indication bit and the like provides a flexible application solution for compressing the MAC frame header. the

图15是根据本发明实施例四的发送连续包的流程示意图。图15和图11基本相同,因此相同的步骤采用相同的序号表示。不同之处仅在于步骤S1507和步骤S1509。  Fig. 15 is a schematic flow chart of sending continuous packets according to Embodiment 4 of the present invention. Fig. 15 is basically the same as Fig. 11, so the same steps are represented by the same serial numbers. The only difference lies in step S1507 and step S1509. the

在步骤S1507,由于在步骤S1105判断前一个数据包的响应消息的压缩压缩协商位有效,则本地存储单元中保存的特定字段信息继续保存或更新。所述更新方法是,如果前一个数据包的压缩控制字段中字段指示位有效,则在存储 单元单元中更新相应的字段信息。例如前一个数据包中,QoS控制字段指示位为1,则根据该数据包中的QoS控制字段信息对存储单元中QoS控制字段信息进行更新。  In step S1507, since it is judged in step S1105 that the compression negotiation bit of the response message of the previous data packet is valid, the specific field information stored in the local storage unit continues to be stored or updated. The update method is that if the field indication bit in the compression control field of the previous data packet is valid, then update the corresponding field information in the storage unit unit. For example, in the previous data packet, if the QoS control field indication bit is 1, then the QoS control field information in the storage unit is updated according to the QoS control field information in the data packet. the

在步骤S 1509,发送站点STA1准备拟向接收站点发送的包含有压缩MAC帧头的数据包。所述压缩MAC帧头包含有压缩控制字段,所述压缩控制字段包含有多个字段指示位,指示MAC帧头特定字段中各个具体字段,例如时域字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位等。  In step S1509, the sending station STA1 prepares a data packet including a compressed MAC frame header to be sent to the receiving station. The compressed MAC frame header includes a compression control field, and the compression control field includes a plurality of field indicator bits, indicating each specific field in the specific field of the MAC frame header, such as a time domain field indicator bit, an address 3 field indicator bit, an address 4 field indication bit, QoS control field indication bit, HT control field indication bit, etc. the

(12-1)、如果本数据包时域字段不可缺省,则设置时域字段指示位为1,在压缩MAC帧头中出现时域字段,设置相应的时间;否则设置时域字段指示位为0,在压缩MAC帧头中缺省时域字段。  (12-1), if the time domain field of this data packet cannot be defaulted, then the time domain field indication bit is set to be 1, and the time domain field appears in the compressed MAC frame header, and the corresponding time is set; otherwise, the time domain field indication bit is set If it is 0, it is the default time domain field in the compressed MAC frame header. the

(12-2)、如果本数据包中帧控制指示本包存在地址3字段,且地址3字段信息与本地存储单元所保存的、特定字段中的地址3字段信息不同,设置地址3字段指示位为1,在压缩MAC帧头中出现地址3字段,指示接收站点从本数据包的压缩MAC帧头获取地址3字段信息;否则设置地址3字段指示位为0,在压缩MAC帧头中缺省地址3字段。  (12-2), if the frame control in this data packet indicates that there is an address 3 field in this packet, and the address 3 field information is different from the address 3 field information stored in the local storage unit and in the specific field, set the address 3 field indication bit If it is 1, the address 3 field appears in the compressed MAC frame header, indicating that the receiving station obtains the address 3 field information from the compressed MAC frame header of the data packet; otherwise, the address 3 field indication bit is set to 0, and the default in the compressed MAC frame header is Address 3 field. the

(12-3)、如果本数据包中帧控制指示本包存在地址4字段,且地址4字段信息与本地存储单元所保存的、特定字段中的地址4字段信息不同,设置地址4字段指示位为1,在压缩MAC帧头中出现地址4字段,指示接收站点从本数据包的压缩MAC帧头获取地址4字段信息;否则设置地址4字段指示位为0,在M压缩AC帧头中缺省地址4字段。  (12-3), if the frame control in this data packet indicates that there is an address 4 field in this packet, and the address 4 field information is different from the address 4 field information stored in the local storage unit and in the specific field, set the address 4 field indication bit If it is 1, the address 4 field appears in the compressed MAC frame header, indicating that the receiving station obtains the address 4 field information from the compressed MAC frame header of the data packet; Province address 4 fields. the

(12-4)、如果本数据包中帧控制指示本包存在QoS控制字段,且QoS控制字段信息与本地存储单元所保存的、特定字段中的QoS控制字段信息不同,设置QoS控制字段指示位为1,在压缩MAC帧头中出现QoS控制字段,指示接收站点从本数据包的压缩MAC帧头中获取QoS控制字段信息;否则设置QoS控制字段指示位为0,在压缩MAC帧头中缺省QoS控制字段。  (12-4), if the frame control in this data packet indicates that there is a QoS control field in this packet, and the QoS control field information is different from the QoS control field information stored in the local storage unit and in the specific field, set the QoS control field indication bit If it is 1, the QoS control field appears in the compressed MAC frame header, indicating that the receiving station obtains the QoS control field information from the compressed MAC frame header of the data packet; otherwise, the QoS control field indication bit is set to 0, and the Save the QoS control field. the

(12-5)、如果本数据包中帧控制指示本包存在HT控制字段,且HT控制字段信息与本地存储单元所保存的、特定字段中的HT控制字段信息不同,设置HT控制字段指示位为1,在压缩MAC帧头中出现HT控制字段,指示接收站点从 本数据包的压缩MAC帧头中获取HT控制字段信息;否则设置HT控制字段指示位为0,在MAC帧头字段中缺省HT控制字段。  (12-5), if the frame control in this data packet indicates that there is an HT control field in this packet, and the HT control field information is different from the HT control field information stored in the local storage unit and in the specific field, set the HT control field indication bit If it is 1, the HT control field appears in the compressed MAC frame header, indicating that the receiving station obtains the HT control field information from the compressed MAC frame header of the data packet; Save the HT control field. the

图16是根据本发明实施例四的接收连续数据包的流程示意图。图16和图12基本相同,因此相同的步骤采用相同的序号表示。图16和图12的不同之处仅在于步骤1603和步骤1608,即如何获取包含压缩MAC帧头的数据包的MAC帧头中字段信息和本地存储单元中的特定字段信息。  Fig. 16 is a schematic flowchart of receiving continuous data packets according to Embodiment 4 of the present invention. Fig. 16 is basically the same as Fig. 12, so the same steps are represented by the same serial numbers. The difference between FIG. 16 and FIG. 12 lies in step 1603 and step 1608, that is, how to obtain the field information in the MAC frame header and the specific field information in the local storage unit of the packet containing the compressed MAC frame header. the

在步骤1603,由于数据包中的信令字段的完整指示位为0,则接收站点STA1从压缩MAC帧头或本地存储单元获取该数据包的MAC帧头中的字段信息。  In step 1603, since the complete indication bit of the signaling field in the data packet is 0, the receiving station STA1 obtains the field information in the MAC frame header of the data packet from the compressed MAC frame header or the local storage unit. the

(13-1)、如果压缩控制字段中时域字段指示位为1,则从压缩MAC帧头中获取时域字段信息。  (13-1). If the indication bit of the time domain field in the compression control field is 1, obtain the time domain field information from the compressed MAC frame header. the

(13-2)、如果压缩控制字段中地址3字段指示位为1,则从压缩MAC帧头中的地址3字段获取本数据包的地址3信息;否则从本地存储单元获取本数据包的地址3信息。  (13-2), if the address 3 field indicator in the compression control field is 1, then obtain the address 3 information of this data packet from the address 3 fields in the compressed MAC frame header; otherwise obtain the address of this data packet from the local storage unit 3 information. the

(13-3)、如果压缩控制字段中地址4字段指示位为1,则从压缩MAC帧头中的地址4字段获取本数据包的地址4信息;否则本地存储单元获本数据包的地址4信息。  (13-3), if the address 4 field indicator in the compression control field is 1, then obtain the address 4 information of this data packet from the address 4 field in the compressed MAC frame header; otherwise the local storage unit obtains the address 4 of this data packet information. the

(13-4)、如果压缩控制字段中QoS控制字段指示位为1,则从压缩MAC帧头中的QoS控制字段获取本数据包的QoS控制信息;否则本地存储单元获取本包的QoS控制信息。  (13-4), if the QoS control field indication bit is 1 in the compressed control field, then obtain the QoS control information of this data packet from the QoS control field in the compressed MAC frame header; otherwise the local storage unit obtains the QoS control information of this packet . the

(13-5)、如果压缩控制字段中HT控制字段指示位为1,则从压缩MAC帧头中的HT控制字段获取本数据包的HT控制信息;否则本地存储单元获取流标识所标识的HT控制信息。  (13-5), if the HT control field indication bit is 1 in the compression control field, then obtain the HT control information of this data packet from the HT control field in the compressed MAC frame header; otherwise the local storage unit obtains the indicated HT of the stream identifier control information. the

在步骤1608,由于步骤S1206,接收站点STA1同意发送站点STA2将下一个数据包包含压缩MAC帧头,则接收站点STA1本地保存或更新MAC帧头中特定字段信息,并设置响应包的压缩协商位为1。如果完整指示位有效,则建立存储单元,并保存完整MAC帧头中的特定字段信息;如果完整指示位无效,则如果本数据包的压缩控制字段中字段指示位有效,则在存储单元单元中更新相应的字段信息,否则不更新。例如本数据包中,QoS控制字段指示位为1,则根据该数据包压缩MAC帧头中的QoS控制字段信息对存储单元中QoS控制字段信息 进行更新。HT控制字段指示位为0,则存储单元中的HT控制字段信息不更新。  In step 1608, due to step S1206, the receiving station STA1 agrees that the sending station STA2 will compress the MAC frame header in the next data packet, then the receiving station STA1 locally saves or updates the specific field information in the MAC frame header, and sets the compression negotiation bit of the response packet is 1. If the complete indication bit is effective, then set up the storage unit, and save the specific field information in the complete MAC frame header; if the complete indication position is invalid, then if the field indication position in the compression control field of this data packet is valid, then in the storage unit unit Update the corresponding field information, otherwise do not update. For example, in this data packet, if the QoS control field indication bit is 1, then the QoS control field information in the storage unit is updated according to the QoS control field information in the compressed MAC frame header of the data packet. If the HT control field indication bit is 0, the HT control field information in the storage unit is not updated. the

图17示意了实施例四中包含压缩MAC帧头的数据包格式。如图14所示,除包括常规的短训练字段、长训练字段、服务字段和尾部与填充字段外,数据包还在信令字段中引入完整指示位和压缩协商位。与此同时,数据包在数据字段中引入压缩MAC帧头、帧体和FCS,其中所述压缩MAC帧头包含帧控制、压缩控制、序列控制和QoS控制,由于压缩控制字段中的QoS控制字段指示位为1,故在压缩MAC帧头中出现QoS控制字段;显而易见,MAC帧头字段长度与之前相比得到显着压缩。  FIG. 17 illustrates the format of a data packet including a compressed MAC frame header in Embodiment 4. As shown in FIG. 14 , in addition to the conventional short training field, long training field, service field, and tail and padding field, the data packet also introduces a complete indication bit and a compression negotiation bit in the signaling field. At the same time, the data packet introduces compressed MAC frame header, frame body and FCS in the data field, wherein the compressed MAC frame header contains frame control, compression control, sequence control and QoS control, because the QoS control field in the compressed control field The indication bit is 1, so the QoS control field appears in the compressed MAC frame header; obviously, the length of the MAC frame header field is significantly compressed compared with before. the

图18是实施例四中连续包的传输示意图。图18和图14基本相同,不同之处在于在图18中,在发送站点STA1发送的压缩数据包5中,压缩控制字段中包含的QoS控制字段指示位为1,表明在该压缩MAC帧头中包含QoS控制字段。  Fig. 18 is a schematic diagram of the transmission of continuous packets in the fourth embodiment. Figure 18 is basically the same as Figure 14, except that in Figure 18, in the compressed data packet 5 sent by the sending station STA1, the QoS control field indication bit contained in the compressed control field is 1, indicating that the compressed MAC frame header Contains the QoS control field. the

图19是根据本发明实施例的一种站点的结构示意图。如图19所示,站点1900包括:第一发送单元1910,向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;接收单元1920,接收第二站点发送的压缩响应;第二发送单元1930,向第二站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。  Fig. 19 is a schematic structural diagram of a site according to an embodiment of the present invention. As shown in FIG. 19 , the station 1900 includes: a first sending unit 1910, which sends a compression request to the second station, and the compression request carries a stream identifier and field information of a MAC frame header of a subsequent data packet; a receiving unit 1920, Receive the compressed response sent by the second station; the second sending unit 1930 sends to the second station a first data packet including a complete MAC frame header or a compressed MAC frame header with a flow field, wherein the flow field includes a flow identifier . the

优选地,在第一数据包中携带流指示信息,所述流指示信息配置在信令字段或帧控制字段中;所述流指示信息指示第一数据包为完整MAC帧头数据包或包含流字段的压缩MAC帧头的数据包。  Preferably, the flow indication information is carried in the first data packet, and the flow indication information is configured in the signaling field or the frame control field; the flow indication information indicates that the first data packet is a complete MAC frame header data packet or contains a flow field of the compressed MAC frame header of the packet. the

优选地,所述流字段还包括:时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个;所述时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位分别指示其所在第一数据包中是否包含对应的字段。  Preferably, the flow field further includes: one or more of time domain/ID field indicator bits, address 3 field indicator bits, address 4 field indicator bits, QoS control field indicator bits, and HT control field indicator bits; The time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit respectively indicate whether the corresponding field is included in the first data packet where they are located. the

优选地,所述站点包括更新单元,用于根据地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个,更新本地保存的对应字段信息。  Preferably, the station includes an updating unit, configured to update the corresponding field information stored locally according to one or more of the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit . the

优选地,所述流字段包括流结束位;所述流结束位用于指示是否结束流标 识的使用。  Preferably, the stream field includes a stream end bit; the stream end bit is used to indicate whether to end the use of the stream identifier. the

优选地,字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。  Preferably, the field information is one of address 3 field, address 4 field, QoS control field or HT control field or any combination thereof. the

图20是根据本发明实施例的一种站点的结构示意图。如图20所示,站点2000包括:发送单元2010,向第二站点发送包含第一数据包,所述第一数据包携带完整指示信息和/或第一压缩协商信;接收单元2010,接收第二站点反馈第一数据包的响应消息,获取响应消息中的第二压缩协商信息。  Fig. 20 is a schematic structural diagram of a site according to an embodiment of the present invention. As shown in FIG. 20 , the station 2000 includes: a sending unit 2010, which sends a first data packet to the second station, and the first data packet carries complete indication information and/or a first compressed negotiation letter; a receiving unit 2010, which receives the first The two stations feed back the response message of the first data packet, and acquire the second compression negotiation information in the response message. the

优选地,所述完整指示信息指示第一数据包是否携带完整的MAC帧头,当完整指示信息有效时,所述第一数据包携带完整的MAC帧头;所述完整指示信息配置在第一数据包的信令字段或帧控制字段。  Preferably, the complete indication information indicates whether the first data packet carries a complete MAC frame header, and when the complete indication information is valid, the first data packet carries a complete MAC frame header; the complete indication information is configured in the first Signaling field or frame control field of a data packet. the

优选地,所述第一压缩协商信息指示是否对第二站点发送紧接第一数据包且包含压缩MAC帧头的第二数据包;所述第一压缩协商信息配置在第一数据包的信令字段或帧控制字段。  Preferably, the first compression negotiation information indicates whether to send a second data packet next to the first data packet and containing a compressed MAC frame header to the second station; the first compression negotiation information is configured in the information of the first data packet command field or frame control field. the

优选地,所述站点包括:判断单元,在向第二站点发送第一数据包之前,判断第一数据包是否是发送给第二站点且是连续包中的首个数据包;设置单元,在第一数据包是发送给第二站点且是连续包中的首个包的情况下,设置第一数据包的完整指示信息有效。  Preferably, the station includes: a judging unit, before sending the first data packet to the second station, judging whether the first data packet is sent to the second station and is the first data packet in the continuous packets; the setting unit, at When the first data packet is sent to the second station and is the first packet in the continuous packets, the complete indication information of the first data packet is set to be valid. the

优选地,站点包括:判断单元,在第一数据包是发送给第二站点且不是连续包中的首个包的情况下,判断在发送第一数据包之前发送给第二站点的第三数据包的响应消息的第二压缩协商消息是否有效;设置单元,在所述第二压缩协商消息有效的情况下,设置第一数据包的完整指示信息无效;在所述第二压缩协商消息无效的情况下,设置第一数据包的完整指示信息有效。进一步优选地,站点包括存储单元,在所述第二压缩协商消息有效的情况下,保持本地保存MAC帧头中的压缩字段不变或者加以更新。  Preferably, the station includes: a judging unit, when the first data packet is sent to the second station and is not the first packet in the continuous packet, judge the third data sent to the second station before sending the first data packet Whether the second compression negotiation message of the response message of the packet is valid; the setting unit, in the case where the second compression negotiation message is valid, sets the complete indication information of the first data packet to be invalid; if the second compression negotiation message is invalid In this case, the complete indication information of the first data packet is set to be valid. Further preferably, the station includes a storage unit, and if the second compression negotiation message is valid, locally save the compression field in the MAC frame header unchanged or update it. the

优选地,在设置第一数据包的完整指示信息无效的情况下,第一传输包配置压缩MAC帧头;所述压缩MAC帧头包含帧控制字段和序列控制字段,或者帧控制字段、压缩控制字段和序列控制字段。进一步优选地,所述压缩控制字段包含时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位或HT控制字段指示位的一种或它们的任意组合。  Preferably, in the case where the complete indication information of the first data packet is set to be invalid, the first transmission packet is configured with a compressed MAC frame header; the compressed MAC frame header includes a frame control field and a sequence control field, or a frame control field, compression control fields and sequence control fields. Further preferably, the compression control field includes one of time domain/ID field indication bits, address 3 field indication bits, address 4 field indication bits, QoS control field indication bits or HT control field indication bits or any combination thereof. the

进一步优选地,在设置第一数据包的完整指示信息有效的情况下,第一传输包配置完整MAC帧头。  Further preferably, in the case where the complete indication information of the first data packet is set to be valid, the first transmission packet is configured with a complete MAC frame header. the

优选地,所述的站点包括:存储单元,本地保存MAC帧头中的字段信息,所述字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。  Preferably, the station includes: a storage unit, locally storing the field information in the MAC frame header, the field information is one of address 3 field, address 4 field, QoS control field or HT control field or any combination thereof . the

优选地,所述的站点包括:判断单元,判断发送给第二站点且紧跟第一数据包的第二数据包的MAC帧头的字段信息是否可用本地保存MAC帧头的字段信息代替;设置单元,当所述第二数据包的字段信息可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息有效;当所述第二数据包的字段信息不可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息无效。  Preferably, the station includes: a judging unit, judging whether the field information of the MAC frame header of the second data packet sent to the second station and following the first data packet can be replaced by the field information of the MAC frame header stored locally; A unit, when the field information of the second data packet can be replaced by field information stored locally, the compression negotiation message of the first data packet is set to be valid; when the field information of the second data packet cannot be stored locally In the case of information replacement, the compression negotiation message of the first data packet is set to be invalid. the

虽然前文结合了各种指示位对本发明的各实施例做了详细的描述,但是本领域的技术人员理解这些指示位可以由其它形式的指示信息来代替。  Although the embodiments of the present invention have been described in detail above in combination with various indication bits, those skilled in the art understand that these indication bits may be replaced by other forms of indication information. the

本领域的技术人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。  Those skilled in the art should further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the hardware and software interchangeability, the composition and steps of each example have been generally described in terms of functions in the above description. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention. the

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换等,均应包含在本发明的保护范围之内。  The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention within. the

Claims (34)

1.一种发送数据包的方法,包括:1. A method for sending data packets, comprising: 第一站点向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;The first station sends a compression request to the second station, and the compression request carries the flow identifier and the field information of the media access control MAC frame header of the subsequent data packet; 接收第二站点发送的压缩响应;receiving the compressed response sent by the second site; 向第二站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。Sending the first data packet including a complete MAC frame header or a compressed MAC frame header with a flow field to the second station, wherein the flow field includes a flow identifier. 2.如权利要求1所述的方法,包括:2. The method of claim 1, comprising: 在第一数据包中携带流指示信息,所述流指示信息配置在信令字段或帧控制字段中;carrying flow indication information in the first data packet, where the flow indication information is configured in a signaling field or a frame control field; 所述流指示信息指示第一数据包为完整MAC帧头数据包或包含流字段的压缩MAC帧头的数据包。The flow indication information indicates that the first data packet is a complete MAC frame header data packet or a compressed MAC frame header data packet including a flow field. 3.如权利要求1所述的方法,所述流字段还包括:3. The method of claim 1, the flow field further comprising: 时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个;One or more of the time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit; 所述时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位分别指示其所在第一数据包中是否包含对应的字段。The time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit respectively indicate whether the corresponding field is included in the first data packet where they are located. 4.如权利要求3所述的方法,其中根据地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个,更新本地保存的对应字段信息。4. The method according to claim 3, wherein according to one or more of the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit, the corresponding field information stored locally is updated . 5.如权利要求1所述的方法,包括:5. The method of claim 1, comprising: 所述流字段包括流结束位;所述流结束位用于指示是否结束流标识的使用。The stream field includes a stream end bit; the stream end bit is used to indicate whether to end the use of the stream identifier. 6.如权利要求1所述的方法,其中字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。6. The method according to claim 1, wherein the field information is one or any combination of address 3 field, address 4 field, QoS control field or HT control field. 7.一种发送数据包的方法,包括:7. A method for sending data packets, comprising: 第一站点向第二站点发送包含第一数据包,所述第一数据包携带完整指示信息和/或第一压缩协商信息;The first station sends a first data packet to the second station, where the first data packet carries complete indication information and/or first compression negotiation information; 接收第二站点反馈第一数据包的响应消息,获取响应消息中的第二压缩协商信息。Receive the response message that the second station feeds back the first data packet, and acquire the second compression negotiation information in the response message. 8.如权利要求7所述的方法,包括:8. The method of claim 7, comprising: 所述完整指示信息指示第一数据包是否携带完整的MAC帧头,当完整指示信息有效时,所述第一数据包携带完整的MAC帧头;The complete indication information indicates whether the first data packet carries a complete MAC frame header, and when the complete indication information is valid, the first data packet carries a complete MAC frame header; 所述完整指示信息配置在第一数据包的信令字段或帧控制字段。The complete indication information is configured in the signaling field or the frame control field of the first data packet. 9.如权利要求7所述的方法,包括:9. The method of claim 7, comprising: 所述第一压缩协商信息指示是否对第二站点发送紧接第一数据包且包含压缩MAC帧头的第二数据包;The first compression negotiation information indicates whether to send a second data packet next to the first data packet and including a compressed MAC frame header to the second station; 所述第一压缩协商信息配置在第一数据包的信令字段或帧控制字段。The first compression negotiation information is configured in a signaling field or a frame control field of the first data packet. 10.如权利要求7-9之一所述的方法,包括:10. The method of any one of claims 7-9, comprising: 在向第二站点发送第一数据包之前,判断第一数据包是否是发送给第二站点且是连续包中的首个数据包;在第一数据包是发送给第二站点且是连续包中的首个包的情况下,设置第一数据包的完整指示信息有效。Before sending the first data packet to the second station, judge whether the first data packet is sent to the second station and is the first data packet in the continuous packet; when the first data packet is sent to the second station and is a continuous packet In the case of the first packet in , set the complete indication information of the first data packet to be valid. 11.如权利要求7-9之一所述的方法,包括:11. The method of any one of claims 7-9, comprising: 在第一数据包是发送给第二站点且不是连续包中的首个包的情况下,判断在发送第一数据包之前发送给第二站点的第三数据包的响应消息的第二压缩协商消息是否有效;In the case that the first data packet is sent to the second station and is not the first packet of consecutive packets, the second compression negotiation of the response message to determine the third data packet sent to the second station before sending the first data packet whether the message is valid; 在所述第二压缩协商消息有效的情况下,设置第一数据包的完整指示信息无效;When the second compression negotiation message is valid, setting the complete indication information of the first data packet to be invalid; 在所述第二压缩协商消息无效的情况下,设置第一数据包的完整指示信息有效。In the case that the second compression negotiation message is invalid, the complete indication information of the first data packet is set to be valid. 12.如权利要求7-9之一所述的方法,其中包括在所述第二压缩协商消息有效的情况下,保持本地保存MAC帧头中的压缩字段不变或者加以更新。12. The method according to any one of claims 7-9, comprising keeping the locally saved compression field in the MAC frame header unchanged or updating it when the second compression negotiation message is valid. 13.如权利要求11所述的方法,包括:13. The method of claim 11, comprising: 在设置第一数据包的完整指示信息无效的情况下,第一传输包配置压缩MAC帧头;所述压缩MAC帧头包含帧控制字段和序列控制字段,或者帧控制字段、压缩控制字段和序列控制字段。In the case where the complete indication information of the first data packet is set to be invalid, the first transmission packet is configured with a compressed MAC frame header; the compressed MAC frame header includes a frame control field and a sequence control field, or a frame control field, a compression control field and a sequence control field. 14.如权利要求13所述的方法,包括:14. The method of claim 13, comprising: 所述压缩控制字段包含时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位或HT控制字段指示位的一种或它们的任意组合。The compression control field includes one of time domain/ID field indication bits, address 3 field indication bits, address 4 field indication bits, QoS control field indication bits or HT control field indication bits or any combination thereof. 15.如权利要求10或11所述的方法,包括:15. The method of claim 10 or 11, comprising: 在设置第一数据包的完整指示信息有效的情况下,第一传输包配置完整MAC帧头。In a case where the complete indication information of the first data packet is set to be valid, the first transmission packet is configured with a complete MAC frame header. 16.如权利要求15所述的方法,包括:16. The method of claim 15, comprising: 本地保存MAC帧头中的字段信息,所述字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。The field information in the MAC frame header is saved locally, and the field information is one of address 3 field, address 4 field, QoS control field or HT control field or any combination thereof. 17.如权利要求7所述的方法,包括:17. The method of claim 7, comprising: 判断发送给第二站点且紧跟第一数据包的第二数据包的MAC帧头的字段信息是否可用本地保存MAC帧头的字段信息代替;Judging whether the field information of the MAC frame header of the second data packet sent to the second station and following the first data packet can be replaced by the field information of the MAC frame header stored locally; 当所述第二数据包的字段信息可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息有效;When the field information of the second data packet can be replaced by locally stored field information, the compression negotiation message of the first data packet is set to be valid; 当所述第二数据包的字段信息不可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息无效。When the field information of the second data packet cannot be replaced by locally stored field information, the compression negotiation message of the first data packet is set to be invalid. 18.一种站点,包括:18. A site comprising: 第一发送单元,向第二站点发送压缩请求,所述压缩请求携带流标识以及后续数据包的媒体访问控制MAC帧头的字段信息;The first sending unit sends a compression request to the second station, and the compression request carries the flow identifier and the field information of the media access control MAC frame header of the subsequent data packet; 接收单元,接收第二站点发送的压缩响应;a receiving unit, configured to receive the compressed response sent by the second site; 第二发送单元,向第二站点发送包含完整MAC帧头或者包含具有流字段的压缩MAC帧头的第一数据包,其中,所述流字段包含流标识。The second sending unit is configured to send the first data packet including a complete MAC frame header or a compressed MAC frame header with a flow field to the second station, wherein the flow field includes a flow identifier. 19.如权利要求18所述的站点,其中:19. The site of claim 18, wherein: 在第一数据包中携带流指示信息,所述流指示信息配置在信令字段或帧控制字段中;carrying flow indication information in the first data packet, where the flow indication information is configured in a signaling field or a frame control field; 所述流指示信息指示第一数据包为完整MAC帧头数据包或包含流字段的压缩MAC帧头的数据包。The flow indication information indicates that the first data packet is a complete MAC frame header data packet or a compressed MAC frame header data packet including a flow field. 20.如权利要求18所述的站点,所述流字段还包括:20. The site of claim 18, the stream field further comprising: 时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个;One or more of the time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit; 所述时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位分别指示其所在第一数据包中是否包含对应的字段。The time domain/ID field indication bit, the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, and the HT control field indication bit respectively indicate whether the corresponding field is included in the first data packet where they are located. 21.如权利要求18-20之一所述的站点,其中包括更新单元,用于根据地址3字段指示位、地址4字段指示位、QoS控制字段指示位、HT控制字段指示位中的一个或多个,更新本地保存的对应字段信息。21. The station according to any one of claims 18-20, wherein an update unit is used for according to one of the address 3 field indication bit, the address 4 field indication bit, the QoS control field indication bit, the HT control field indication bit or Multiple, update the corresponding field information saved locally. 22.如权利要求18所述的站点,其中:22. The site of claim 18, wherein: 所述流字段包括流结束位;所述流结束位用于指示是否结束流标识的使用。The stream field includes a stream end bit; the stream end bit is used to indicate whether to end the use of the stream identifier. 23.如权利要求18所述的站点,其中字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。23. The station according to claim 18, wherein the field information is one or any combination of the address 3 field, the address 4 field, the QoS control field or the HT control field. 24.一种站点,包括:24. A site comprising: 发送单元,向第二站点发送包含第一数据包,所述第一数据包携带完整指示信息和/或第一压缩协商信息;a sending unit, configured to send a first data packet to a second station, where the first data packet carries complete indication information and/or first compression negotiation information; 接收单元,接收第二站点反馈第一数据包的响应消息,获取响应消息中的第二压缩协商信息。The receiving unit is configured to receive a response message in which the second station feeds back the first data packet, and acquire second compression negotiation information in the response message. 25.如权利要求24所述的站点,其中:25. The site of claim 24, wherein: 所述完整指示信息指示第一数据包是否携带完整的MAC帧头,当完整指示信息有效时,所述第一数据包携带完整的MAC帧头;The complete indication information indicates whether the first data packet carries a complete MAC frame header, and when the complete indication information is valid, the first data packet carries a complete MAC frame header; 所述完整指示信息配置在第一数据包的信令字段或帧控制字段。The complete indication information is configured in the signaling field or the frame control field of the first data packet. 26.如权利要求24所述的站点,其中:26. The site of claim 24, wherein: 所述第一压缩协商信息指示是否对第二站点发送紧接第一数据包且包含压缩MAC帧头的第二数据包;The first compression negotiation information indicates whether to send a second data packet next to the first data packet and including a compressed MAC frame header to the second station; 所述第一压缩协商信息配置在第一数据包的信令字段或帧控制字段。The first compression negotiation information is configured in a signaling field or a frame control field of the first data packet. 27.如权利要求24-26之一所述的站点,包括:27. The station of any one of claims 24-26, comprising: 判断单元,在向第二站点发送第一数据包之前,判断第一数据包是否是发送给第二站点且是连续包中的首个数据包;The judging unit, before sending the first data packet to the second station, judges whether the first data packet is sent to the second station and is the first data packet in the continuous packets; 设置单元,在第一数据包是发送给第二站点且是连续包中的首个包的情况下,设置第一数据包的完整指示信息有效。The setting unit is configured to set the integrity indication information of the first data packet to be valid when the first data packet is sent to the second station and is the first packet in the continuous packets. 28.如权利要求24-26之一所述的站点,包括:28. The station of any one of claims 24-26, comprising: 判断单元,在第一数据包是发送给第二站点且不是连续包中的首个包的情况下,判断在发送第一数据包之前发送给第二站点的第三数据包的响应消息的第二压缩协商消息是否有效;The judging unit, when the first data packet is sent to the second station and is not the first packet in the continuous packets, judges the first data packet of the response message of the third data packet sent to the second station before sending the first data packet. 2. Whether the compression negotiation message is valid; 设置单元,在所述第二压缩协商消息有效的情况下,设置第一数据包的完整指示信息无效;在所述第二压缩协商消息无效的情况下,设置第一数据包的完整指示信息有效。A setting unit, when the second compression negotiation message is valid, set the complete indication information of the first data packet to be invalid; when the second compression negotiation message is invalid, set the complete indication information of the first data packet to be valid . 29.如权利要求28所述的站点,其中包括存储单元,在所述第二压缩协商消息有效的情况下,保持本地保存MAC帧头中的压缩字段不变或者加以更新。29. The station according to claim 28, further comprising a storage unit, in the case that the second compression negotiation message is valid, locally save the compression field in the MAC frame header unchanged or update it. 30.如权利要求28所述的站点,包括:30. The site of claim 28, comprising: 在设置第一数据包的完整指示信息无效的情况下,第一传输包配置压缩MAC帧头;所述压缩MAC帧头包含帧控制字段和序列控制字段,或者帧控制字段、压缩控制字段和序列控制字段。In the case where the complete indication information of the first data packet is set to be invalid, the first transmission packet is configured with a compressed MAC frame header; the compressed MAC frame header includes a frame control field and a sequence control field, or a frame control field, a compression control field and a sequence control field. 31.如权利要求30所述的站点,包括:31. The site of claim 30, comprising: 所述压缩控制字段包含时域/ID字段指示位、地址3字段指示位、地址4字段指示位、QoS控制字段指示位或HT控制字段指示位的一种或它们的任意组合。The compression control field includes one of time domain/ID field indication bits, address 3 field indication bits, address 4 field indication bits, QoS control field indication bits or HT control field indication bits or any combination thereof. 32.如权利要求28或29所述的站点,包括:32. A station as claimed in claim 28 or 29 comprising: 在设置第一数据包的完整指示信息有效的情况下,第一传输包配置完整MAC帧头。In a case where the complete indication information of the first data packet is set to be valid, the first transmission packet is configured with a complete MAC frame header. 33.如权利要求24所述的站点,包括:33. The site of claim 24, comprising: 存储单元,本地保存MAC帧头中的字段信息,所述字段信息是地址3字段、地址4字段、QoS控制字段或HT控制字段的一种或它们的任意组合。The storage unit locally stores the field information in the MAC frame header, and the field information is one of address 3 field, address 4 field, QoS control field or HT control field or any combination thereof. 34.如权利要求24所述的站点,包括:34. The site of claim 24, comprising: 判断单元,判断发送给第二站点且紧跟第一数据包的第二数据包的MAC帧头的字段信息是否可用本地保存MAC帧头的字段信息代替;Judging unit, judging whether the field information of the MAC frame header of the second data packet sent to the second station and closely following the first data packet can be replaced by the field information of the MAC frame header stored locally; 设置单元,当所述第二数据包的字段信息可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息有效;当所述第二数据包的字段信息不可用本地保存的字段信息代替的情况下,设置第一数据包的压缩协商消息无效。A setting unit, when the field information of the second data packet can be replaced by field information stored locally, the compression negotiation message of the first data packet is set to be valid; when the field information of the second data packet cannot be stored locally In the case of field information replacement, the compression negotiation message of the first data packet is set to be invalid.
CN201110459504.6A 2011-12-31 2011-12-31 Sending and receiving method and device of continuous data package Active CN103188146B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110459504.6A CN103188146B (en) 2011-12-31 2011-12-31 Sending and receiving method and device of continuous data package
PCT/CN2012/087158 WO2013097654A1 (en) 2011-12-31 2012-12-21 Continuous data packet sending and receiving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110459504.6A CN103188146B (en) 2011-12-31 2011-12-31 Sending and receiving method and device of continuous data package

Publications (2)

Publication Number Publication Date
CN103188146A true CN103188146A (en) 2013-07-03
CN103188146B CN103188146B (en) 2017-04-26

Family

ID=48679117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110459504.6A Active CN103188146B (en) 2011-12-31 2011-12-31 Sending and receiving method and device of continuous data package

Country Status (2)

Country Link
CN (1) CN103188146B (en)
WO (1) WO2013097654A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491528A (en) * 2013-09-18 2014-01-01 福建星网锐捷网络有限公司 Table entry processing method and device
CN105765936A (en) * 2013-11-06 2016-07-13 高通股份有限公司 Apparatus and method for MAC header compression
CN106576102A (en) * 2014-08-10 2017-04-19 Lg 电子株式会社 Method and device for enabling station to receive signal in wireless communication system
CN107637123A (en) * 2017-04-27 2018-01-26 北京小米移动软件有限公司 Information transmission method, device and computer-readable storage medium
CN107771379A (en) * 2015-06-19 2018-03-06 高通股份有限公司 short uplink response for downlink transmission
WO2018171639A1 (en) * 2017-03-24 2018-09-27 华为技术有限公司 Wireless communication method, terminal, access network device, and network system
CN111091697A (en) * 2019-11-29 2020-05-01 湖北航天飞行器研究所 Telemetry data processing system
CN112312396A (en) * 2020-11-05 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 A method for generating NoC tracking data and related device
US11025550B2 (en) 2017-04-27 2021-06-01 Beijing Xiaomi Mobile Software Co., Ltd. Method, device and computer readable storage medium for transmitting information

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9602635B2 (en) * 2014-10-27 2017-03-21 Intel IP Corporation Wireless device, method, and computer readable media for compressed media access control header

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592272A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method for header compression
CN101179564A (en) * 2007-08-10 2008-05-14 华中科技大学 TCP packet header compression method and system based on link layer automatic request retransmission
US20090268667A1 (en) * 2008-04-28 2009-10-29 Xg Technology, Inc. Header compression mechanism for transmitting RTP packets over wireless links
US20110205972A1 (en) * 2009-09-02 2011-08-25 Young Soo Yuk Apparatus and method for transmitting a mac pdu based on mac header type information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4331088B2 (en) * 2004-11-01 2009-09-16 株式会社東芝 Communication apparatus and communication method
KR100896686B1 (en) * 2006-06-05 2009-05-14 삼성전자주식회사 Channel allocation management method for transferring uncompressed isochronous data, uncompressed isochronous data transferring method, and apparatus thereof
CN102104538B (en) * 2010-12-08 2012-07-25 浙江工业大学 Mapping parameter dynamic adaptive wireless streaming media transmission control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592272A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method for header compression
CN101179564A (en) * 2007-08-10 2008-05-14 华中科技大学 TCP packet header compression method and system based on link layer automatic request retransmission
US20090268667A1 (en) * 2008-04-28 2009-10-29 Xg Technology, Inc. Header compression mechanism for transmitting RTP packets over wireless links
US20110205972A1 (en) * 2009-09-02 2011-08-25 Young Soo Yuk Apparatus and method for transmitting a mac pdu based on mac header type information

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491528A (en) * 2013-09-18 2014-01-01 福建星网锐捷网络有限公司 Table entry processing method and device
CN103491528B (en) * 2013-09-18 2016-05-25 福建星网锐捷网络有限公司 Table entry processing method and equipment
CN105765936A (en) * 2013-11-06 2016-07-13 高通股份有限公司 Apparatus and method for MAC header compression
CN106576102B (en) * 2014-08-10 2020-06-16 Lg 电子株式会社 Method and apparatus for enabling a station to receive a signal in a wireless communication system
US10440751B2 (en) 2014-08-10 2019-10-08 Lg Electronics Inc. Method and device for enabling station to receive signal in wireless communication system
CN106576102A (en) * 2014-08-10 2017-04-19 Lg 电子株式会社 Method and device for enabling station to receive signal in wireless communication system
CN107771379A (en) * 2015-06-19 2018-03-06 高通股份有限公司 short uplink response for downlink transmission
WO2018171639A1 (en) * 2017-03-24 2018-09-27 华为技术有限公司 Wireless communication method, terminal, access network device, and network system
CN107637123A (en) * 2017-04-27 2018-01-26 北京小米移动软件有限公司 Information transmission method, device and computer-readable storage medium
CN107637123B (en) * 2017-04-27 2020-12-04 北京小米移动软件有限公司 Information transmission method, device and computer-readable storage medium
US11025550B2 (en) 2017-04-27 2021-06-01 Beijing Xiaomi Mobile Software Co., Ltd. Method, device and computer readable storage medium for transmitting information
CN111091697A (en) * 2019-11-29 2020-05-01 湖北航天飞行器研究所 Telemetry data processing system
CN112312396A (en) * 2020-11-05 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 A method for generating NoC tracking data and related device
CN112312396B (en) * 2020-11-05 2023-02-24 山东云海国创云计算装备产业创新中心有限公司 NoC tracking data generation method and related device

Also Published As

Publication number Publication date
CN103188146B (en) 2017-04-26
WO2013097654A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
CN103188146B (en) Sending and receiving method and device of continuous data package
JP3891145B2 (en) Wireless communication apparatus, wireless communication method and program
CN102781040B (en) Concatenated frame structure for data transfer
TWI755551B (en) Wireless communication device and method
US7924805B2 (en) Communication apparatus, communication system, and communication control program
EP3094131B1 (en) Efficient transmission for low data rate wlan
KR101750966B1 (en) Power saving features in a communication device
KR101005371B1 (en) Wireless band allocation method and wireless base station
JP2008509622A (en) ACK frame transmission method and apparatus
JP4444237B2 (en) Wireless communication device
EP2445250A1 (en) Data packet sending, receiving and transmission method and device
JP2007537655A (en) Multiple receiver aggregation with different data rates for IEEE 802.11N
CN101151924A (en) Method for generating lower layer data block in wireless mobile communication system
US10469210B2 (en) Acknowledgment data unit for data unit fragment
EP3823347B1 (en) Method and apparatus for eht multi-band a-msdu operation
TW201924261A (en) Radio communication device, method therefor, and program
US20200145145A1 (en) Acknowledgment data unit for data unit fragment
US8189618B2 (en) System and method for robust data loss recovery in a wireless local area network
WO2005112354A9 (en) Superframe protocol packet data unit format having multirate packet aggregation for wireless systems
JP2025500375A (en) Receive reordering buffer control for latency sensitive traffic
WO2004073259A1 (en) Maintaining synchronization between a q0s access point and q0s stations in an ieee 802.11e wlan
KR102236867B1 (en) Short physical-layer control frames
CN101044695B (en) For being carried out the system and method for the dynamic self-adapting of data rate and through-put power by Beacon Protocol
KR100631742B1 (en) AC frame transmission method and device
CN107040962A (en) A kind of adaptive wireless channel negotiation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant