WO2009082974A1 - An indicating method and device of data packet header - Google Patents

An indicating method and device of data packet header Download PDF

Info

Publication number
WO2009082974A1
WO2009082974A1 PCT/CN2008/073792 CN2008073792W WO2009082974A1 WO 2009082974 A1 WO2009082974 A1 WO 2009082974A1 CN 2008073792 W CN2008073792 W CN 2008073792W WO 2009082974 A1 WO2009082974 A1 WO 2009082974A1
Authority
WO
WIPO (PCT)
Prior art keywords
crc
field
mac
end device
header
Prior art date
Application number
PCT/CN2008/073792
Other languages
French (fr)
Chinese (zh)
Inventor
Rongdao Yu
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.
Publication of WO2009082974A1 publication Critical patent/WO2009082974A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0028Formatting
    • H04L1/0029Reduction of the amount of signalling, e.g. retention of useful signalling or differential signalling

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data packet header indicating method and device. Background technique
  • 802.16e MAC (Medium Access Control) PDU (Protocol Data Unit) format is shown in Figure 1.
  • Each PDU contains a fixed-length general-purpose MAC frame header, which is after the common MAC frame header.
  • MAC PDU payload contains zero or more sub-packets, zero or more MAC SDUs (Service Data Units), and/or their segments.
  • the length of the payload information is variable, so the MAC PDU can also represent a variable-length byte stream, so that the MAC layer does not need to know the format and bit arrangement of the message, and only provides transparent transmission channels of various high-level service types.
  • the generic MAC frame header includes a downlink MAC frame header that contains MAC management messages or CS (Cross Section) data after the frame header.
  • the MAC layer defines two UL (uplink) MAC management message formats, the first one is a downlink MAC frame header with a common MAC frame header, and includes a MAC management message or CS data after the frame header, where HT (Header Type, The frame header type is set to 0; the second is the MAC frame header format that does not contain the payload, where HT is set to 1.
  • the MAC layer frame header format is defined as Table 1.
  • this bit indicates if there is a packed or fragmented sub-packet for the non-ARQ-activated connection.
  • this bit will be set to 1.
  • an extended subheader format is provided in the system.
  • the extended sub-header group starts with an 8-bit length field and carries one or more extended sub-headers.
  • the length field defines the byte length of this sub-packet header group and contains all extended sub-packet headers and length bytes.
  • Each extended sub-packet header contains reserved bits, a 7-bit extended sub-packet header type field, and a variable-length extended sub-packet header body.
  • the size of each extended sub-packet header is determined by the type of extended word frame header in Table 3. table 3:
  • the Extended 8 Extended Subheader Group Length field indicates the subheader group The total length of the subheader, including all extension sub-headers and the length word group length V.
  • the extension sub-packet header type defined in Table 1 determines the length of the extended subheader body. The size of this extended sub-header body is counted in bytes.
  • Table 4 Extended Sub-Terminal Group Type Description (DL)
  • ESF 1, the extended sub-packet header will appear, followed by GMH; CI, 1 byte, indicating CRC (Cyclic Redundancy Check) , Cyclic Redundancy Check) indicator, when 1 is the CRC is included in the PDU, attached to the PDU payload, if encryption is required, after it is appended to the PDU payload after encryption, 0 is not included CRC function; EKS, 2 bytes, indicating the encryption key sequence, the traffic encryption key and the index of the initial vector will be used for payload encryption.
  • CRC Cyclic Redundancy Check
  • This field is valid only when the EC field is set to 1; Rsv, 1 byte, Represents reserved bits; LEN, 11 bytes, indicates length, refers to the length of the MAC PDU in bytes containing the MAC header and CRC check (if any); CID, 16 bytes, indicating the connection identifier; HCS, 8 words Section, indicating the frame header check sequence, An 8-bit field is used for error detection of the frame header, and the sender will calculate the HCS value of the first 5 bytes of the cell frame header, and insert the result into the HCS field (ie, the last byte of the MAC frame header), HCS
  • Each frame header is encoded starting with the frame header type HT field and the encryption control EC field.
  • the encoding of these fields should follow:
  • the first byte of the MAC header cannot be equal to OxFX (X stands for any value) to prevent false detection of padding bytes used by the transmit convergence sublayer.
  • a service data stream can add a cyclic redundancy check CRC to each MAC PDU that carries data for the data stream.
  • the cyclic redundancy check CRC32 can be added to the payload of the MAC PDU, ie the request MAC PDU is unprotected.
  • Cyclic Redundancy Check The CRC must cover the payload of the generic MAC header and MAC PDU.
  • Cyclic Redundancy Check The CRC must be calculated after encryption, ie the Cyclic Redundancy Check CRC protects the generic header and the encrypted payload.
  • the embodiment of the invention provides a data packet header indication method and device, so as to save unnecessary overhead in the redundancy cycle check.
  • An embodiment of the present invention provides a data packet header indication method, including:
  • the sending end device determines to generate a corresponding cyclic redundancy check CRC indication field according to the media access control protocol data unit MAC PDU length;
  • the sending end device sends the MAC frame carrying the CRC indication field to the receiving end device, and the receiving end device performs a CRC check of the corresponding size.
  • the embodiment of the present invention further provides a data packet header indication method, including: the receiving end device receives a MAC frame carrying a CRC indication field from a sending end device, where the CRC indication field is determined according to a length of a media access control protocol data unit MAC PDU Generate
  • the receiving end device checks the MAC frame by using a CRC of a corresponding size according to the indication field.
  • the embodiment of the invention further provides a sending end device, including:
  • a CRC indication field setting unit configured to generate a corresponding CRC indication field according to the medium access control protocol data unit MAC PDU length determination
  • a sending unit configured to send the MAC frame carrying the CRC indication field to the receiving end device, where the receiving end device performs a CRC check of the corresponding size.
  • the embodiment of the invention further provides a receiving end device, including: a receiving unit, configured to receive a MAC frame, where the MAC frame header includes an indication field of a CRC size, where the CRC indication field is determined according to a medium access control protocol data unit MAC PDU length;
  • a verification unit configured to perform verification on the MAC frame by using a CRC of a corresponding size according to the indication field.
  • a flexible universal MAC header structure is provided, and the CRC size, such as CRC8, CRC16, CRC24, CRC32, etc., can be flexibly selected according to the size of the PDU, thereby reducing overhead and further satisfying the 802.16e+ system.
  • the MAC layer optimizes the need to reduce the overhead of the MAC layer.
  • FIG. 1 is a schematic diagram of a format of a MAC layer PDU in the prior art
  • FIG. 2 is a schematic diagram of a format of a general MAC frame header in the prior art
  • FIG. 3 is a flowchart of a method for indicating a packet header according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of a data packet header indication system in an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a data packet header indication method, as shown in FIG. 3, including the following steps:
  • Step s301 The source device determines, according to the length of the protocol data unit PDU in the media access control MAC frame, a corresponding CRC indication field.
  • the CRC indication field may be set by a field in the MAC header, for example, may be a 2-bit field in the MAC header.
  • a 1-bit field CI and a 1-bit field Rsv are combined to form a total of 2 bits, and the CRC size used by the PDU is indicated according to different PDU sizes.
  • the basic principle is that the size of the CRC is proportional to the size of the PDU, that is, The larger the PDU, the larger the CRC.
  • the CRC size may be CRCO, CRC8, CRC12, CRC16, CRC24, CRC32 hinder where CRCn indicates the CRC using n bits.
  • the 2-bit CI and Rsv may be as shown in Table 5:
  • the CI field and the Rsv field jointly indicate the CRC size used.
  • the CRC size can be selected according to the size of the PDU. Typically, the CRC size can be CRC0, CRC8, CRC12, CRC16, CRC24, CRC32, as shown in Tables 6, 7, and 8:
  • Step s302 The sending end device sends the MAC frame carrying the CRC indication field to the receiving end device.
  • Step s303 The receiving end device receives the MAC frame, where the MAC frame header includes an indication field of a CRC size, and performs verification on the MAC frame according to the indication field by using a CRC of a corresponding size. Normally, the terminal needs to negotiate with the base station during initialization.
  • the field Rsv is a reserved field whose value is set to zero. Therefore, in the existing 802.16e, the value of the 2-bit CI and Rsv and the CRC indicated are as shown in Table 9:
  • the 802.16+ terminal can work normally in the 802.16e system. Therefore, in 802.16e+, the CI field and the Rsv field jointly indicate that 00 still indicates CRC 0, and 1 0 still indicates CRC32. 01, 11 can flexibly indicate other CRC sizes, such as CRC 8, CRC12, CRC16, CRC24.
  • the CI field in the universal MAC header may also be used to indicate whether to use a variable CRC subheader.
  • a sub-header of a variable CRC size may also be defined by an extended sub-header, as shown in Table 11,
  • the CRC 32 is taken as an example for description.
  • the transmitting device determines the CRC size as CRC 32 according to the CRC indication field in the MAC frame header, and generates a corresponding CRC 32 field.
  • the specific process includes: The initial 32-bit complement code, which is equivalent to setting the initial value of the CRC register to OxFFFFFFFF; the first word bit of the first field (the MSB of the first byte of the MAC header) corresponds to Xn-1 , the last word bit of the last field corresponds to X0, where n is the number of bits of the input data stream; the polynomial obtained by multiplying X32 is divided by G(x); the remainder is complemented by word bits; CRC value The 32 word bits are placed in the CRC field, so that X31 becomes the leftmost word bit of the first byte, and X0 is the rightmost word bit of the last byte; the generated CRC field, which first sends the MSB.
  • the receiving end device receives the MAC frame carrying the CRC field, and verifies the MAC frame by using the CRC32 of the corresponding size according to the indication field of the CRC size in the MAC frame header.
  • the specific process includes: The initial value of the remainder is all preset to 1, and the input byte is sent to the CRC engine with the MSB first; when divided by G(x), the polynomial has a unique non-zero remainder, then no transmission is generated. Error, the only residual value is a polynomial:
  • the embodiment of the invention further provides a data packet header indication system, as shown in FIG. 4,
  • the sender device 100 and the receiver device 200 are included.
  • the sending end device 100 specifically includes: a CRC indication field setting unit 110, configured to generate a corresponding CRC indication field according to the protocol data unit PDU length determination in the medium access control MAC frame, and a sending unit 120, configured to carry the CRC
  • the MAC frame of the indication field is sent to the receiving end device, and the receiving end device performs a CRC check of the corresponding size.
  • the negotiating unit 130 is configured to negotiate with the receiver device whether the capability of using multiple CRC sizes is available.
  • the CRC indication field may be set by a field in the MAC header, for example, may be a 2-bit field in the MAC header. Specifically, it can also be set by combining the CRC indicator field CI with the reserved field Rsv.
  • the receiving device 200 includes: a receiving unit 210, configured to receive a MAC frame, where the MAC frame header includes an indication field of a CRC size, where the CRC indication field is determined according to a PDU length, and a verification unit 220, configured to The indication field uses the CRC of the corresponding size to check the MAC frame; the negotiating unit 230 is configured to negotiate with the sender device whether the capability of using multiple CRC sizes is used.
  • the embodiment of the invention provides a flexible universal MAC header structure, which can flexibly select the size of the CRC according to the size of the PDU, such as CRC8, CRC16, CRC24, CRC32, etc., thereby reducing overhead. In turn, it satisfies the need for MAC layer optimization in the 802.16e+ system and reduces the overhead of the MAC layer.
  • the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computer device may It is a personal computer, a server, or a network device, etc.

Abstract

An indicating method and device of data packet header are provided, the method includes that: a transmission end device determines to generate a corresponding Cyclic Redundancy Check (CRC) indicating field according to the length of the Medium Access Control Protocol Data Unit (MAC PDU); the transmission end device sends a MAC frame carrying the CRC indicating field to a receiving end device so that the receiving end device performs a CRC check with the corresponding size. In an embodiment of the present invention, a flexible universal MAC header structure is provided, the size of CRC can be selected flexibly according to the size of the PDU, such as CRC8, CRC16, CRC24, CRC32 etc., thereby the overhead is reduced, and then the requirements of optimizing the MAC layer and reducing the overhead of the MAC layer in the 802.16e+ system are satisfied.

Description

一种数据包头指示方法及设备 本申请要求于 2007年 12 月 27 日提交中国专利局, 申请号为 200710301450.4, 发明名称为 "一种数据包头指示方法及设备" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  The present invention claims the priority of the Chinese patent application filed on December 27, 2007, the Chinese Patent Application No. 200710301450.4, entitled "A Data Header Indicating Method and Apparatus", The entire contents are incorporated herein by reference. Technical field
本发明涉及通信技术领域,尤其涉及一种数据包头指示方法及设 备。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a data packet header indicating method and device. Background technique
802.16e MAC ( Medium Access Control, 媒体接入控制) PDU ( Protocol Data Unit, 协议数据单元 )格式如图 1所示, 每个 PDU包 含一个固定长度的通用 MAC帧头, 在通用 MAC帧头之后是 MAC PDU净荷;净荷包含 0个或多个子包头、 0个或多个 MAC SDU( Service Data Unit, 服务数据单元)和 /或它们的分段。 净荷信息长度是可变 的, 因此 MAC PDU也可表示变长的字节流, 使 MAC层无需知道消 息的格式和比特排列, 只提供各种高层业务类型的透传通道。  802.16e MAC (Medium Access Control) PDU (Protocol Data Unit) format is shown in Figure 1. Each PDU contains a fixed-length general-purpose MAC frame header, which is after the common MAC frame header. MAC PDU payload; the payload contains zero or more sub-packets, zero or more MAC SDUs (Service Data Units), and/or their segments. The length of the payload information is variable, so the MAC PDU can also represent a variable-length byte stream, so that the MAC layer does not need to know the format and bit arrangement of the message, and only provides transparent transmission channels of various high-level service types.
在 MAC层, 通用 MAC帧头包括下行 MAC帧头, 在帧头以后 包含 MAC管理消息或 CS ( Cross Section, 横截面数据)数据。 MAC 层定义了两个 UL (上行链路) MAC管理消息格式, 第一个是有通 用 MAC帧头的下行 MAC帧头, 在帧头以后包含 MAC管理消息或 CS数据, 其中 HT ( Header Type, 帧头类型)设置成 0; 第二个是不 包含净荷的 MAC帧头格式, 其中 HT设置成 1。 MAC层帧头格式定 义如表 1 ,  At the MAC layer, the generic MAC frame header includes a downlink MAC frame header that contains MAC management messages or CS (Cross Section) data after the frame header. The MAC layer defines two UL (uplink) MAC management message formats, the first one is a downlink MAC frame header with a common MAC frame header, and includes a MAC management message or CS data after the frame header, where HT (Header Type, The frame header type is set to 0; the second is the MAC frame header format that does not contain the payload, where HT is set to 1. The MAC layer frame header format is defined as Table 1.
语法 大小 (比特) 注释 MAC Header() { Syntax size (bits) MAC Header() {
HT 1 0 =通用 MAC层帧头  HT 1 0 = general MAC layer header
1 =带宽请求帧头  1 = bandwidth request frame header
EC 1 如果 HT = 1 , 则 EC = 0 if (HT = 0) {  EC 1 If HT = 1 then EC = 0 if (HT = 0) {
Type 6  Type 6
保留 1 应该被置为 0 Reserved 1 should be set to 0
CI 1 CI 1
EKS 2  EKS 2
保留 1 应该被置为 0 Reserved 1 should be set to 0
LEN 11 LEN 11
}  }
else {  Else {
Type 3  Type 3
BR 19  BR 19
}  }
CID 16  CID 16
HCS 8  HCS 8
}  }
当 HT=0表示通用 MAC帧头, 类型字段(type )共 6个比特, 其含义如表 2: 表 2:  When HT=0 indicates a general MAC frame header, the type field (type) has a total of 6 bits, and its meaning is as shown in Table 2: Table 2:
Figure imgf000004_0001
1=存在, 0= 不存在
Figure imgf000004_0001
1=exist, 0= does not exist
#3 扩展类型  #3 extension type
对于没有使用 ARQ的连接,如果 被扩展, 该比特指示是否存在打包或 分段子包头用于非 ARQ 激活的连接 上。  For connections that do not use ARQ, if extended, this bit indicates if there is a packed or fragmented sub-packet for the non-ARQ-activated connection.
1 =扩展  1 = extended
0 = 没有扩展。  0 = no extension.
对于使用 ARQ的连接,这个比特 将设置成 1。  For connections using ARQ, this bit will be set to 1.
#2 分段子包头  #2 Segment sub-header
1=存在, 0= 不存在  1=exist, 0= does not exist
#1 打包子包头  #1 Packing subheader
1=存在, 0= 不存在  1=exist, 0= does not exist
#0 下行链路: 快速反馈分配子包头 least significant bit (LSB) 上行链路: 授权管理子包头  #0 Downlink: Fast feedback allocation sub-packet least significant bit (LSB) Uplink: Authorization management sub-header
1=存在, 0= 不存在  1=exist, 0= does not exist
另外, 系统中还提供了一种扩展子头格式(Extended subheader format ),扩展子包头组开始于 8比特长度字段,并且携带一个或多个 扩展子包头。 长度字段定义了这个子包头组的字节长度, 包含了所有 扩展子包头和长度字节。每个扩展子包头包含保留比特, 一个 7比特 扩展子包头类型字段, 和可变长度扩展子包头主体。每个扩展子包头 的大小由表 3中的扩展字帧头类型决定。 表 3:  In addition, an extended subheader format is provided in the system. The extended sub-header group starts with an 8-bit length field and carries one or more extended sub-headers. The length field defines the byte length of this sub-packet header group and contains all extended sub-packet headers and length bytes. Each extended sub-packet header contains reserved bits, a 7-bit extended sub-packet header type field, and a variable-length extended sub-packet header body. The size of each extended sub-packet header is determined by the type of extended word frame header in Table 3. table 3:
名称 长度 描述  Name Length Description
( bits )  ( bits )
Extended 8 扩展子包头组长度字段指示了子包头组的 subheader 总长度, 包含了所有扩展子包头和长度字 group length V。 The Extended 8 Extended Subheader Group Length field indicates the subheader group The total length of the subheader, including all extension sub-headers and the length word group length V.
Reserved 1 Reserved = 0  Reserved 1 Reserved = 0
Extended 7 在表 1中定义的子包头类型。 Extended 7 The sub-packet header type defined in Table 1.
subheader type  Subheader type
Extended 可变 在表 1 中定义的扩展子包头类型决定了扩 subheader body 展子包头的长度。 这个扩展子包头主体的 大小是以字节计数。 表 4: 扩展子包头组类型描述 (DL)  Extended Variable The extension sub-packet header type defined in Table 1 determines the length of the extended subheader body. The size of this extended sub-header body is counted in bytes. Table 4: Extended Sub-Terminal Group Type Description (DL)
Figure imgf000006_0001
通用 MAC帧头格式如图 2所示, 包括: HT, 1字节, 表示帧头 类型; EC ( Encrypt Control, 加密控制), 1字节, 表示加密控制, 为 0时不对净荷加密, 为 1时对净荷进行加密; Type, 6字节, 表示子 包头和存在于消息净荷中的指定净荷的类型; ESF ( Extended Subheader Field, 扩展子包头域), 1字节, 表示扩展子包头域, 如果 ESF = 0, 扩展子包头不存在, 如果 ESF = 1 , 将出现扩展子包 头, 并且紧跟 GMH; CI, 1字节, 表示 CRC ( Cyclic Redundancy Check, 循环冗余校验)指示器, 为 1时 CRC被包含在 PDU之中, 附加到 PDU净荷之后, 如果需要加密, 在加密之后再将它附加到 PDU净荷 之后, 为 0时不包含 CRC功能; EKS, 2字节, 表示加密密钥序列, 流量加密密钥和初始向量的索引将被用于净荷加密,这个字段只有在 EC字段设置成 1才有效; Rsv, 1字节, 表示保留位; LEN, 11字节, 表示长度, 指包含 MAC头和 CRC校验 (如果存在) 的以字节表示 的 MAC PDU长度; CID, 16字节, 表示连接标识符; HCS, 8字节, 表示帧头检查序列, 一个 8比特字段用于帧头的错误检测, 发送端将 计算信元帧头的前 5个字节的 HCS值, 并且将结果插入到 HCS字段 (即 MAC帧头的最后字节), HCS的计算方法如下: 除 HCS字段之 外的帧头乘以 D8, 除(模 2 ) 以生成多项式 g(D)=D8+D2+D+l得到 余数即为 HCS , 例如: [HT EC Type] =0x80 , BR=0xAAAA , CID=0x0F0F; HCS应该被设为 0xD5。
Figure imgf000006_0001
The general MAC frame header format is shown in Figure 2, including: HT, 1 byte, indicating the frame header type; EC (Encrypt Control), 1 byte, indicating encryption control, 0 is not encrypted for the payload, 1 is used to encrypt the payload; Type, 6 bytes, indicating the sub-packet header and the type of the specified payload present in the message payload; ESF (Extended Subheader Field) , 1 byte, indicates the extended sub-packet header field. If ESF = 0, the extended sub-packet header does not exist. If ESF = 1, the extended sub-packet header will appear, followed by GMH; CI, 1 byte, indicating CRC (Cyclic Redundancy Check) , Cyclic Redundancy Check) indicator, when 1 is the CRC is included in the PDU, attached to the PDU payload, if encryption is required, after it is appended to the PDU payload after encryption, 0 is not included CRC function; EKS, 2 bytes, indicating the encryption key sequence, the traffic encryption key and the index of the initial vector will be used for payload encryption. This field is valid only when the EC field is set to 1; Rsv, 1 byte, Represents reserved bits; LEN, 11 bytes, indicates length, refers to the length of the MAC PDU in bytes containing the MAC header and CRC check (if any); CID, 16 bytes, indicating the connection identifier; HCS, 8 words Section, indicating the frame header check sequence, An 8-bit field is used for error detection of the frame header, and the sender will calculate the HCS value of the first 5 bytes of the cell frame header, and insert the result into the HCS field (ie, the last byte of the MAC frame header), HCS The calculation method is as follows: Multiply the frame header other than the HCS field by D8, divide (modulo 2) to generate the polynomial g(D)=D8+D2+D+l to obtain the remainder as the HCS, for example: [HT EC Type] = 0x80, BR=0xAAAA, CID=0x0F0F; HCS should be set to 0xD5.
每个帧头被编码,从帧头类型 HT字段和加密控制 EC字段开始。 这些字段的编码应该遵循: MAC 帧头的第一个字节不能等于 OxFX ( X表示任何值 ) ,以防止对传输会聚子层用到的填充字节的误检测。 一个服务数据流可以在为该数据流承载数据的每个 MAC PDU 中加 入一个循环冗余校验 CRC。 这种情况下, 对于帧头类型 =0 的每个 MAC PDU , 循环冗余校验 CRC32可以添加在 MAC PDU的净荷上, 即请求 MAC PDU是无保护的。 循环冗余校验 CRC必须覆盖通用 MAC帧头和 MAC PDU的净荷。循环冗余校验 CRC必须在加密后计 算, 即循环冗余校验 CRC保护通用帧头和加密的净荷。  Each frame header is encoded starting with the frame header type HT field and the encryption control EC field. The encoding of these fields should follow: The first byte of the MAC header cannot be equal to OxFX (X stands for any value) to prevent false detection of padding bytes used by the transmit convergence sublayer. A service data stream can add a cyclic redundancy check CRC to each MAC PDU that carries data for the data stream. In this case, for each MAC PDU with frame header type = 0, the cyclic redundancy check CRC32 can be added to the payload of the MAC PDU, ie the request MAC PDU is unprotected. Cyclic Redundancy Check The CRC must cover the payload of the generic MAC header and MAC PDU. Cyclic Redundancy Check The CRC must be calculated after encryption, ie the Cyclic Redundancy Check CRC protects the generic header and the encrypted payload.
上述 CRC采用 32的 CRC, CRC32将使用下面的 32阶标准生成 多项式来计算: 32 , 26 , 23 , 22 , 16 , 12 , 11 , 10 , 8 , 7 , 5 , 4 , 2 , , Λ 在实现本发明的过程中, 发现现有技术中存在以下缺陷: 在通用The above CRC uses a 32 CRC, and the CRC32 will be calculated using the following 32-order standard generator polynomial: 32, 26, 23, 22, 16 , 12 , 11 , 10 , 8 , 7 , 5 , 4 , 2 , , Λ In the process of implementing the present invention, the following drawbacks have been found in the prior art:
MAC帧头中, 字段 Len为 11比特, 指示包含 MAC头和 CRC校验 (如果存在) 的以字节为单位的 MAC PDU长度, 故最大为 2Λ11 = 2048字节。 所以, 整个 MAC PDU变化范围是非常大的, 而现有协 议中只采用固定的 CRC32, 这样对于较小的 PDU, 会造成不必要的 开销。 发明内容 In the MAC frame header, the field Len is 11 bits, indicating the length of the MAC PDU in bytes including the MAC header and the CRC check (if any), so the maximum is 2 Λ 11 = 2048 bytes. Therefore, the entire MAC PDU variation range is very large, and the existing protocol only uses a fixed CRC32, which causes unnecessary overhead for a smaller PDU. Summary of the invention
本发明实施例提供一种数据包头指示方法及设备,以节省冗余循 环校验中不必要的开销。  The embodiment of the invention provides a data packet header indication method and device, so as to save unnecessary overhead in the redundancy cycle check.
本发明实施例提供了一种数据包头指示方法, 包括:  An embodiment of the present invention provides a data packet header indication method, including:
发送端设备根据媒体接入控制协议数据单元 MAC PDU长度确 定生成相应的循环冗余校验 CRC指示字段;  The sending end device determines to generate a corresponding cyclic redundancy check CRC indication field according to the media access control protocol data unit MAC PDU length;
所述发送端设备将携带所述 CRC指示字段的 MAC帧发送到接 收端设备, 供所述接收端设备进行对应大小的 CRC校验。  The sending end device sends the MAC frame carrying the CRC indication field to the receiving end device, and the receiving end device performs a CRC check of the corresponding size.
本发明实施例还提供了一种数据包头指示方法, 包括: 接收端设备接收来自发送端设备的携带 CRC指示字段的 MAC 帧, 所述 CRC指示字段根据媒体接入控制协议数据单元 MAC PDU 长度确定生成;  The embodiment of the present invention further provides a data packet header indication method, including: the receiving end device receives a MAC frame carrying a CRC indication field from a sending end device, where the CRC indication field is determined according to a length of a media access control protocol data unit MAC PDU Generate
所述接收端设备根据所述指示字段使用对应大小的 CRC对所述 MAC帧进行校验  The receiving end device checks the MAC frame by using a CRC of a corresponding size according to the indication field.
本发明实施例还提供了一种发送端设备, 包括:  The embodiment of the invention further provides a sending end device, including:
CRC指示字段设置单元, 用于根据媒体接入控制协议数据单元 MAC PDU长度确定生成相应的 CRC指示字段;  a CRC indication field setting unit, configured to generate a corresponding CRC indication field according to the medium access control protocol data unit MAC PDU length determination;
发送单元, 用于将携带所述 CRC指示字段的 MAC帧发送到接 收端设备, 供所述接收端设备进行对应大小的 CRC校验。  And a sending unit, configured to send the MAC frame carrying the CRC indication field to the receiving end device, where the receiving end device performs a CRC check of the corresponding size.
本发明实施例还提供了一种接收端设备, 包括: 接收单元, 用于接收 MAC帧, 所述 MAC帧头中包括 CRC大小 的指示字段, 所述 CRC 指示字段根据媒体接入控制协议数据单元 MAC PDU长度确定生成; The embodiment of the invention further provides a receiving end device, including: a receiving unit, configured to receive a MAC frame, where the MAC frame header includes an indication field of a CRC size, where the CRC indication field is determined according to a medium access control protocol data unit MAC PDU length;
校验单元, 用于根据所述指示字段使用对应大小的 CRC对所述 MAC帧进行校验。  And a verification unit, configured to perform verification on the MAC frame by using a CRC of a corresponding size according to the indication field.
本发明的实施例中, 提供一种灵活的通用 MAC头结构, 能根据 PDU的大小, 灵活地选择 CRC的大小, 如 CRC8, CRC16, CRC24, CRC32等, 从而减少开销, 进而满足 802.16e+系统中 MAC层优化、 减少 MAC层的开销的需求。 附图说明  In the embodiment of the present invention, a flexible universal MAC header structure is provided, and the CRC size, such as CRC8, CRC16, CRC24, CRC32, etc., can be flexibly selected according to the size of the PDU, thereby reducing overhead and further satisfying the 802.16e+ system. The MAC layer optimizes the need to reduce the overhead of the MAC layer. DRAWINGS
图 1是现有技术中 MAC层 PDU格式示意图;  1 is a schematic diagram of a format of a MAC layer PDU in the prior art;
图 2是现有技术中通用 MAC帧头格式示意图;  2 is a schematic diagram of a format of a general MAC frame header in the prior art;
图 3是本发明实施例中一种数据包头指示方法流程图;  3 is a flowchart of a method for indicating a packet header according to an embodiment of the present invention;
图 4是本发明实施例中一种数据包头指示系统结构图。 具体实施方式  4 is a structural diagram of a data packet header indication system in an embodiment of the present invention. detailed description
本发明实施例提供了一种数据包头指示方法, 如图 3所示, 包括 以下步骤:  An embodiment of the present invention provides a data packet header indication method, as shown in FIG. 3, including the following steps:
步骤 s301 ,发送端设备根据媒体接入控制 MAC帧中协议数据单 元 PDU长度确定生成相应的 CRC指示字段。  Step s301: The source device determines, according to the length of the protocol data unit PDU in the media access control MAC frame, a corresponding CRC indication field.
本发明实施例中, CRC指示字段可以通过 MAC头中的字段设置, 例如, 可以是 MAC头中的 2比特字段。 具体地, 在现有通用 MAC 头中, 字段 CI为 CRC的指示, CI = 1表示采用 CRC, CRC=0表示 不包含 CRC功能; 字段 Rsv为保留字段, 在 802.16e中不用。 本发 明实施例将 1比特的字段 CI和 1比特的字段 Rsv共计 2比特结合起 来, 根据不同的 PDU大小来指示其所采用的 CRC大小, 基本原则是 CRC的大小与 PDU的大小成正比, 即 PDU越大, CRC越大。 一般 地 CRC大小可取 CRCO, CRC8, CRC12, CRC16, CRC24, CRC32„ 其中 CRCn表示采用 n位的 CRC。 2比特的 CI与 Rsv可取如表 5所 表 5: In the embodiment of the present invention, the CRC indication field may be set by a field in the MAC header, for example, may be a 2-bit field in the MAC header. Specifically, in the existing general MAC header, the field CI is an indication of the CRC, CI = 1 indicates that the CRC is used, and CRC=0 indicates that the CRC function is not included; the field Rsv is a reserved field, which is not used in the 802.16e. In the embodiment of the present invention, a 1-bit field CI and a 1-bit field Rsv are combined to form a total of 2 bits, and the CRC size used by the PDU is indicated according to different PDU sizes. The basic principle is that the size of the CRC is proportional to the size of the PDU, that is, The larger the PDU, the larger the CRC. General The CRC size may be CRCO, CRC8, CRC12, CRC16, CRC24, CRC32 „ where CRCn indicates the CRC using n bits. The 2-bit CI and Rsv may be as shown in Table 5:
Figure imgf000010_0001
Figure imgf000010_0001
其中 CI字段和 Rsv字段联合指示所采用的 CRC大小。 CRC大 小可以根据 PDU的大小来选择,典型地 CRC大小可取 CRC0, CRC8, CRC12, CRC16, CRC24, CRC32, 如表 6、 7、 8所示:  The CI field and the Rsv field jointly indicate the CRC size used. The CRC size can be selected according to the size of the PDU. Typically, the CRC size can be CRC0, CRC8, CRC12, CRC16, CRC24, CRC32, as shown in Tables 6, 7, and 8:
表 6:  Table 6:
CI Rsv CRC  CI Rsv CRC
0 0 0  0 0 0
0 1 CRC 8  0 1 CRC 8
1 0 CRC 32  1 0 CRC 32
1 1 CRC 16 表 7:  1 1 CRC 16 Table 7:
CI Rsv CRC  CI Rsv CRC
0 0 0  0 0 0
0 1 CRC 8  0 1 CRC 8
1 0 CRC 32  1 0 CRC 32
1 1 CRC 24 表 8:  1 1 CRC 24 Table 8:
CI Rsv CRC 0 0 0 CI Rsv CRC 0 0 0
0 1 CRC 12  0 1 CRC 12
1 0 CRC 32  1 0 CRC 32
1 1 CRC 24 其 中 , CRC 32 用 如 下 生 成 多 项 式 计 算 : 1 1 CRC 24 , where CRC 32 is calculated using the following formula:
/ \ 32 , 26 , 23 , 22 , 16 , 12 , 11 , 10 , 8 , 7 , 5 , 4 , 2 , , ι gcse32 (x) = X + X + X + X + X + X + X + X + X + X + X + X + X + X + 1 / \ 32 , 26 , 23 , 22 , 16 , 12 , 11 , 10 , 8 , 7 , 5 , 4 , 2 , , ι g cse32 (x) = X + X + X + X + X + X + X + X + X + X + X + X + X + X + 1
CRC24采用如下生成多项式计算: gCRC24(x) = X24 + X23 + x6 + x5 + X + 1 The CRC24 is calculated using the following generator polynomial: g CRC24 (x) = X 24 + X 23 + x 6 + x 5 + X + 1
CRC16采用如下生成多项式计算; gCRC16(x) = X16 + X12 + X5 + 1 CRC 12采用如下生成多项式计算; gCRci2(x) = X12 + X11 + X + X2 + x + 1 CRC16 is calculated using the following generator polynomial; g CRC16 (x) = X 16 + X 12 + X 5 + 1 CRC 12 is calculated using the following generator polynomial; g C Rci 2 (x) = X 12 + X 11 + X + X 2 + x + 1
CRC 8采用如下生成多项式计算; gcRC8(x) = X8 + X7 + X4 + X3 + X + 1 CRC 8 is calculated using the following generator polynomial; gcR C8 (x) = X 8 + X 7 + X 4 + X 3 + X + 1
步骤 s302, 发送端设备将携带所述 CRC指示字段的 MAC帧发 送到接收端设备。  Step s302: The sending end device sends the MAC frame carrying the CRC indication field to the receiving end device.
步骤 s303 ,接收端设备接收 MAC帧,所述 MAC帧头中包括 CRC 大小的指示字段, 并根据所述指示字段使用对应大小的 CRC对所述 MAC帧进行校验。 通常情况下, 终端在初始化时需要与基站进行能 力协商。  Step s303: The receiving end device receives the MAC frame, where the MAC frame header includes an indication field of a CRC size, and performs verification on the MAC frame according to the indication field by using a CRC of a corresponding size. Normally, the terminal needs to negotiate with the base station during initialization.
另外, 在现有的 802.16e协议中, 字段 Rsv为保留字段, 其值置 0。 因此在现有的 802.16e中, 2比特的 CI与 Rsv的取值与其指示的 CRC如表 9所示:  In addition, in the existing 802.16e protocol, the field Rsv is a reserved field whose value is set to zero. Therefore, in the existing 802.16e, the value of the 2-bit CI and Rsv and the CRC indicated are as shown in Table 9:
表 9:  Table 9:
Figure imgf000011_0001
Figure imgf000011_0001
为了保证兼容性, 即 802.16+终端能在 802.16e系统中正常工作, 因此在 802.16e+中, CI字段与 Rsv字段联合指示时 00仍然指示 CRC 0, 1 0仍然指示 CRC32。 01 , 11则可灵活指示其他的 CRC大小, 如 CRC 8, CRC12, CRC16, CRC24。 In order to ensure compatibility, the 802.16+ terminal can work normally in the 802.16e system. Therefore, in 802.16e+, the CI field and the Rsv field jointly indicate that 00 still indicates CRC 0, and 1 0 still indicates CRC32. 01, 11 can flexibly indicate other CRC sizes, such as CRC 8, CRC12, CRC16, CRC24.
本发明实施例中, 还可以使用通用 MAC头中的 CI字段来指示 是否使用可变的 CRC子头  In the embodiment of the present invention, the CI field in the universal MAC header may also be used to indicate whether to use a variable CRC subheader.
CI =1 , 使用可变的 CRC子头, 否则不使用可变的 CRC子头。 可变的 CRC子头如表 10,  CI =1, using a variable CRC subheader, otherwise no variable CRC subheaders are used. The variable CRC subheader is shown in Table 10.
表 10:  Table 10:
Figure imgf000012_0001
本发明实施例中, 还可以通过扩展的子头, 定义一种可变 CRC 大小的子头, 如表 11所示,
Figure imgf000012_0001
In the embodiment of the present invention, a sub-header of a variable CRC size may also be defined by an extended sub-header, as shown in Table 11,
表 11 :  Table 11:
Figure imgf000012_0002
3 SN request extended 1
Figure imgf000012_0002
3 SN request extended 1
subheader  Subheader
4 PDU SN(short) 1  4 PDU SN(short) 1
extended subheader  Extended subheader
5 PDU SN(long) 2  5 PDU SN(long) 2
extended subheader  Extended subheader
6 Variable CRC extended 1  6 Variable CRC extended 1
subheader  Subheader
Reserved 本发明实施例二中, 采用 CRC 32为例进行说明,  In the second embodiment of the present invention, the CRC 32 is taken as an example for description.
发送端设备根据 MAC帧头中的 CRC指示字段确定 CRC大小为 CRC 32, 并生成对应的 CRC 32字段。 具体过程包括: 最初的 32位 取补码, 也就是相当于把 CRC寄存器的初始值设为 OxFFFFFFFF; 第一个字段的第一个字位(MAC包头的第一个字节的 MSB )对应于 Xn-1 , 最后一个字段的最后一个字位对应于 X0, 其中 n是输入数据 流的字位数; 与 X32相乘得到的多项式除以 G(x); 余数按字位取补; CRC值的 32个字位被放置到 CRC字段中, 这样 X31就成为第一个 字节的最左边字位, 而 X0就是最后一个字节的最右边字位; 生成的 CRC字段, 先发送 MSB。  The transmitting device determines the CRC size as CRC 32 according to the CRC indication field in the MAC frame header, and generates a corresponding CRC 32 field. The specific process includes: The initial 32-bit complement code, which is equivalent to setting the initial value of the CRC register to OxFFFFFFFF; the first word bit of the first field (the MSB of the first byte of the MAC header) corresponds to Xn-1 , the last word bit of the last field corresponds to X0, where n is the number of bits of the input data stream; the polynomial obtained by multiplying X32 is divided by G(x); the remainder is complemented by word bits; CRC value The 32 word bits are placed in the CRC field, so that X31 becomes the leftmost word bit of the first byte, and X0 is the rightmost word bit of the last byte; the generated CRC field, which first sends the MSB.
接收端设备接收携带 CRC字段的 MAC帧,根据该 MAC帧头中 的 CRC大小的指示字段, 使用对应大小的 CRC32对所述 MAC帧进 行校验。 具体过程包括: 余数初始值全部预设为 1 , 输入字节以 MSB 为先将被送给 CRC引擎; 当被 G(x)除时, 多项式有一个唯一的非零 余数, 那么不产生传输错误, 该唯一余数值是多项式:  The receiving end device receives the MAC frame carrying the CRC field, and verifies the MAC frame by using the CRC32 of the corresponding size according to the indication field of the CRC size in the MAC frame header. The specific process includes: The initial value of the remainder is all preset to 1, and the input byte is sent to the CRC engine with the MSB first; when divided by G(x), the polynomial has a unique non-zero remainder, then no transmission is generated. Error, the only residual value is a polynomial:
31 , 30 , 26 , 25 , 24 , 18 , 15 , 14 , 12 , 11 , 10 , 8 , 6 , 5 , 4 , 3 X + X + X + X + X + X + X + X + X + X + X + X + X + X + X + X  31 , 30 , 26 , 25 , 24 , 18 , 15 , 14 , 12 , 11 , 10 , 8 , 6 , 5 , 4 , 3 X + X + X + X + X + X + X + X + X + X + X + X + X + X + X + X
本发明实施例还提供了一种数据包头指示系统, 如图 4所示, 包 括发送端设备 100和接收端设备 200。 The embodiment of the invention further provides a data packet header indication system, as shown in FIG. 4, The sender device 100 and the receiver device 200 are included.
其中, 发送端设备 100具体包括: CRC指示字段设置单元 110, 用于根据媒体接入控制 MAC帧中协议数据单元 PDU长度确定生成 相应的 CRC指示字段; 发送单元 120, 用于将携带所述 CRC指示字 段的 MAC帧发送到接收端设备, 供所述接收端设备进行对应大小的 CRC校验。 协商单元 130, 用于与所述接收方设备协商是否具有使用 多种 CRC大小的能力。 其中, CRC指示字段可以通过 MAC头中的 字段设置, 例如, 可以是 MAC头中的 2比特字段。 具体地, 也可以 通过 CRC指示器字段 CI与保留字段 Rsv结合设置。  The sending end device 100 specifically includes: a CRC indication field setting unit 110, configured to generate a corresponding CRC indication field according to the protocol data unit PDU length determination in the medium access control MAC frame, and a sending unit 120, configured to carry the CRC The MAC frame of the indication field is sent to the receiving end device, and the receiving end device performs a CRC check of the corresponding size. The negotiating unit 130 is configured to negotiate with the receiver device whether the capability of using multiple CRC sizes is available. The CRC indication field may be set by a field in the MAC header, for example, may be a 2-bit field in the MAC header. Specifically, it can also be set by combining the CRC indicator field CI with the reserved field Rsv.
接收端设备 200包括: 接收单元 210, 用于接收 MAC帧, 所述 MAC帧头中包括 CRC大小的指示字段,所述 CRC指示字段根据 PDU 长度确定生成; 校验单元 220, 用于根据所述指示字段使用对应大小 的 CRC对所述 MAC帧进行校验; 协商单元 230, 用于与所述发送方 设备协商是否具有使用多种 CRC大小的能力。  The receiving device 200 includes: a receiving unit 210, configured to receive a MAC frame, where the MAC frame header includes an indication field of a CRC size, where the CRC indication field is determined according to a PDU length, and a verification unit 220, configured to The indication field uses the CRC of the corresponding size to check the MAC frame; the negotiating unit 230 is configured to negotiate with the sender device whether the capability of using multiple CRC sizes is used.
本发明实施例提供一种灵活的通用 MAC 头结构, 使之能根据 PDU的大小, 灵活地选择 CRC的大小, 如 CRC8, CRC16, CRC24, CRC32等, 从而减少开销。 进而满足 802.16e+系统中 MAC层优化、 减少 MAC层的开销的需求。  The embodiment of the invention provides a flexible universal MAC header structure, which can flexibly select the size of the CRC according to the size of the PDU, such as CRC8, CRC16, CRC24, CRC32, etc., thereby reducing overhead. In turn, it satisfies the need for MAC layer optimization in the 802.16e+ system and reduces the overhead of the MAC layer.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以可借助软件加必要的通用硬件平 台的方式来实现基于这样的理解,本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种数据包头指示方法, 其特征在于, 包括: A data packet header indication method, comprising:
发送端设备根据媒体接入控制协议数据单元 MAC PDU长度确 定生成相应的循环冗余校验 CRC指示字段;  The sending end device determines to generate a corresponding cyclic redundancy check CRC indication field according to the media access control protocol data unit MAC PDU length;
所述发送端设备将携带所述 CRC指示字段的 MAC帧发送到接 收端设备, 供所述接收端设备进行对应大小的 CRC校验。  The sending end device sends the MAC frame carrying the CRC indication field to the receiving end device, and the receiving end device performs a CRC check of the corresponding size.
2、如权利要求 1所述数据包头指示方法,其特征在于,所述 CRC 指示字段通过 MAC帧头中的字段设置。  The data packet header indication method according to claim 1, wherein said CRC indication field is set by a field in a MAC frame header.
3、如权利要求 1所述数据包头指示方法,其特征在于,所述 CRC 指示字段通过 CRC指示器字段 CI与保留字段 Rsv结合设置; 或  The data packet header indication method according to claim 1, wherein said CRC indication field is set by a CRC indicator field CI in combination with a reserved field Rsv; or
通过通用 MAC头中的 CI字段来指示是否使用可变的 CRC子头; 或  Indicate whether to use a variable CRC subheader by the CI field in the universal MAC header; or
通过扩展的子头设置可变 CRC大小的子头。  A sub-header of variable CRC size is set by the extended subheader.
4、 如权利要求 3所述数据包头指示方法, 其特征在于, 所述 CI 字段为 0且 Rsv为 0时, 采用 CRC0; 所述 CI字段为 1且 Rsv为 0 时, 采用 CRC32。  The data packet header indication method according to claim 3, wherein when the CI field is 0 and Rsv is 0, CRC0 is used; when the CI field is 1 and Rsv is 0, CRC32 is used.
5、如权利要求 3所述数据包头指示方法,其特征在于,所述 CRC 子头的大小与 MAC帧中的协议数据单元 PDU长度成正比。  The data packet header indication method according to claim 3, wherein the size of the CRC subheader is proportional to the length of the protocol data unit PDU in the MAC frame.
6、 一种数据包头指示方法, 其特征在于, 包括:  6. A data packet header indication method, comprising:
接收端设备接收来自发送端设备的携带 CRC指示字段的 MAC 帧, 所述 CRC指示字段根据媒体接入控制协议数据单元 MAC PDU 长度确定生成;  Receiving, by the receiving end device, a MAC frame carrying a CRC indication field from the sending end device, where the CRC indicating field is determined according to a length of the medium access control protocol data unit MAC PDU;
所述接收端设备根据所述指示字段使用对应大小的 CRC对所述 MAC帧进行校验。  The receiving end device checks the MAC frame by using a CRC of a corresponding size according to the indication field.
7、 如权利要求 6所述数据包头指示方法, 其特征在于, 所述接 收 MAC帧之前, 还包括:  The data packet header indication method according to claim 6, wherein before the receiving the MAC frame, the method further includes:
与所述发送端设备协商是否具有使用多种 CRC大小的能力。 It is negotiated with the sender device whether it has the ability to use multiple CRC sizes.
8、 一种发送端设备, 其特征在于, 包括: CRC指示字段设置单元, 用于根据媒体接入控制协议数据单元 MAC PDU长度确定生成相应的 CRC指示字段; 8. A transmitting device, comprising: a CRC indication field setting unit, configured to generate a corresponding CRC indication field according to the medium access control protocol data unit MAC PDU length determination;
发送单元, 用于将携带所述 CRC指示字段的 MAC帧发送到接 收端设备, 供所述接收端设备进行对应大小的 CRC校验。  And a sending unit, configured to send the MAC frame carrying the CRC indication field to the receiving end device, where the receiving end device performs a CRC check of the corresponding size.
9、 如权利要求 8所述发送端设备, 其特征在于, 所述 CRC指示 字段通过 MAC帧头中的字段设置。  9. The transmitting device according to claim 8, wherein the CRC indication field is set by a field in a MAC frame header.
10、 一种接收端设备, 其特征在于, 包括:  A receiving end device, comprising:
接收单元, 用于接收 MAC帧, 所述 MAC帧头中包括 CRC大小 的指示字段, 所述 CRC 指示字段根据媒体接入控制协议数据单元 MAC PDU长度确定生成;  a receiving unit, configured to receive a MAC frame, where the MAC frame header includes an indication field of a CRC size, where the CRC indication field is determined according to a medium access control protocol data unit MAC PDU length;
校验单元, 用于根据所述指示字段使用对应大小的 CRC对所述 MAC帧进行校验。  And a verification unit, configured to perform verification on the MAC frame by using a CRC of a corresponding size according to the indication field.
11、 如权利要求 10所述接收端设备, 其特征在于, 还包括: 协商单元, 用于与所述发送方设备协商是否具有使用多种 CRC 大小的能力。  The receiving device according to claim 10, further comprising: a negotiating unit, configured to negotiate with the sender device whether the capability of using multiple CRC sizes is used.
PCT/CN2008/073792 2007-12-27 2008-12-26 An indicating method and device of data packet header WO2009082974A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710301450.4 2007-12-27
CNA2007103014504A CN101471924A (en) 2007-12-27 2007-12-27 Method and apparatus for indicating data packet head

Publications (1)

Publication Number Publication Date
WO2009082974A1 true WO2009082974A1 (en) 2009-07-09

Family

ID=40823790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073792 WO2009082974A1 (en) 2007-12-27 2008-12-26 An indicating method and device of data packet header

Country Status (2)

Country Link
CN (1) CN101471924A (en)
WO (1) WO2009082974A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017074851A1 (en) * 2015-10-30 2017-05-04 Qualcomm Incorporated Cyclic redundancy check length management

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101646942B1 (en) * 2009-07-13 2016-08-09 삼성전자주식회사 Method and system for encoding and decoding length of medium access control protocol data unit
CN102142036B (en) * 2011-03-24 2013-05-01 镇江星浪科技产品有限公司 Method for determining document change and forming versions
CN103188739B (en) 2011-12-30 2017-10-10 中兴通讯股份有限公司 The transmission method and device of frame in network
US9219573B2 (en) * 2013-03-15 2015-12-22 Ibiquity Digital Corporation System and method for recovering audio PDU transport elements in digital radio broadcast receiver
EP3355477B1 (en) * 2015-07-20 2021-06-02 Huawei Technologies Co., Ltd. Information sending method and apparatus with a crc code adapted to the length of control information
RU2715523C1 (en) * 2016-04-29 2020-02-28 Хуавей Текнолоджиз Ко., Лтд. Polar code encoding and decoding device and method
CN107968696A (en) * 2016-10-19 2018-04-27 上海朗帛通信技术有限公司 A kind of method and apparatus in UE for variable check bit number, base station
WO2018107430A1 (en) 2016-12-15 2018-06-21 Qualcomm Incorporated Crc bits for joint decoding and verification of control information using polar codes
CN107046541B (en) * 2017-04-18 2023-02-03 深圳市法马新智能设备有限公司 Wireless transceiving encryption communication method and device thereof
EP3893457B1 (en) 2019-01-07 2023-08-30 Huawei Technologies Co., Ltd. Data transmission method and device
CN110995686B (en) * 2019-11-26 2022-04-01 珠海泰芯半导体有限公司 Software communication protocol checking method
CN113452381B (en) * 2020-03-26 2022-06-03 上海大学 CRC implementation system based on FPGA
WO2022188705A1 (en) * 2021-03-11 2022-09-15 维沃移动通信有限公司 Information transmission method and apparatus, and iab node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015603A1 (en) * 1999-10-25 2004-01-22 Bayerische Motoren Werke Aktiengesellschaft Method of protecting the data transmission in a data bus
CN101034952A (en) * 2006-03-09 2007-09-12 华为技术有限公司 Scheduling information transmission method of E-DCH
KR20070120684A (en) * 2006-06-20 2007-12-26 삼성전자주식회사 Apparatus and method for communicating mac layer data in broadband wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015603A1 (en) * 1999-10-25 2004-01-22 Bayerische Motoren Werke Aktiengesellschaft Method of protecting the data transmission in a data bus
CN101034952A (en) * 2006-03-09 2007-09-12 华为技术有限公司 Scheduling information transmission method of E-DCH
KR20070120684A (en) * 2006-06-20 2007-12-26 삼성전자주식회사 Apparatus and method for communicating mac layer data in broadband wireless communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017074851A1 (en) * 2015-10-30 2017-05-04 Qualcomm Incorporated Cyclic redundancy check length management
US10575210B2 (en) 2015-10-30 2020-02-25 Qualcomm Incorporated Cyclic redundancy check length management
US11457379B2 (en) 2015-10-30 2022-09-27 Qualcomm Incorporated Cyclic redundancy check length management

Also Published As

Publication number Publication date
CN101471924A (en) 2009-07-01

Similar Documents

Publication Publication Date Title
WO2009082974A1 (en) An indicating method and device of data packet header
JP4877979B2 (en) Method of operating in a network in which multiple stations communicate via a shared medium
JP5669223B2 (en) Method and system for encoding and decoding length information of a media connection control protocol data unit
US8498248B2 (en) Medium access control protocol data unit overhead improvements
EP2181540B1 (en) Effective data block transmission method using header indicator
US20080310452A1 (en) Data link layer headers
EP2382727B1 (en) New packet indicator for rlc protocol
US8619770B2 (en) Length indicator optimization
WO2010083329A1 (en) System and method for retransmission and fragmentation in a communication network
JP4829235B2 (en) System and method for increasing the range or bandwidth of a wireless digital communication network
TW201633827A (en) Medium access control (MAC) header compression
EP1510017A1 (en) Synchronizing method and apparatus using error detection of sequence numbers to avoid synchronizing failure
WO2010063231A1 (en) Global system for mobile communications (gsm) packet switched domain coding method, device and system
KR20100080264A (en) Method for transmitting and generating data of mac layer
WO2010087865A1 (en) Efficient data processing for protocols in multiple layers of a protocol stack

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08868226

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08868226

Country of ref document: EP

Kind code of ref document: A1