[go: up one dir, main page]

TWI784732B - Methods and apparatus for enabling data transmission using harq - Google Patents

Methods and apparatus for enabling data transmission using harq Download PDF

Info

Publication number
TWI784732B
TWI784732B TW110136132A TW110136132A TWI784732B TW I784732 B TWI784732 B TW I784732B TW 110136132 A TW110136132 A TW 110136132A TW 110136132 A TW110136132 A TW 110136132A TW I784732 B TWI784732 B TW I784732B
Authority
TW
Taiwan
Prior art keywords
frames
redundant
data
frame
data frames
Prior art date
Application number
TW110136132A
Other languages
Chinese (zh)
Other versions
TW202218364A (en
Inventor
薩瑪特 沙布德諾夫
博允 鄭
古仲達
維嵩 曹
Original Assignee
新加坡商聯發科技(新加坡)私人有限公司
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
Priority claimed from US17/075,652 external-priority patent/US11936480B2/en
Application filed by 新加坡商聯發科技(新加坡)私人有限公司 filed Critical 新加坡商聯發科技(新加坡)私人有限公司
Publication of TW202218364A publication Critical patent/TW202218364A/en
Application granted granted Critical
Publication of TWI784732B publication Critical patent/TWI784732B/en

Links

Images

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/0061Error detection 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/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • 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/04Error control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

Methods and apparatus for enabling data transmission using HARQ in IEEE 802.11 systems are described. A method is disclosed, performed by a transmitting device, comprising computing a plurality of redundancy frames based on a plurality of data frames, transmitting the plurality of data frames to a receiving device, and transmitting a set of the plurality of redundancy frames to the receiving device determined by the transmitting device in response to receiving acknowledgement. One embodiment includes a method determining failed data frames of the plurality of data frames, requesting a set of the plurality of redundancy frames, and recovering the failed data frame using a decoder employing hard decision inputs. Other embodiments include an apparatus in a receiver device implementing the method of decoding the failed data frames using a decoder employing soft decision inputs.

Description

利用HARQ使能資料傳輸的方法及裝置Method and device for enabling data transmission using HARQ

本發明的實施例一般涉及無線通信的領域。更具體地,本發明的實施例涉及在無線網絡中利用混合自動重傳請求(Hybrid Automatic Repeat Request,HARQ)進行資料傳輸的系統和方法。 Embodiments of the invention generally relate to the field of wireless communications. More specifically, the embodiments of the present invention relate to a system and method for data transmission using Hybrid Automatic Repeat Request (HARQ) in a wireless network.

現代電子裝置通常以無線方式(例如,使用Wi-Fi)與其它電子裝置進行資料的發送和接收,而資料經常可能丟失或損壞。這可能是由於其它電子裝置的干擾或無線資料傳輸的其它常見問題。由於這些原因,已經開發了幾種用於可靠傳輸的技術,以便在需要重傳時能夠成功地傳送打算發送給接收機的傳輸資料。 Modern electronic devices usually transmit and receive data with other electronic devices wirelessly (for example, using Wi-Fi), and data may often be lost or damaged. This could be due to interference from other electronic devices or other common problems with wireless data transmission. For these reasons, several techniques have been developed for reliable transmission so that transmissions intended for a receiver can be successfully delivered when retransmissions are required.

用於可靠資料傳輸的兩種常用技術是自動重傳請求(Automatic Repeat Request,ARQ)和前向糾錯編碼(Forward Error Coding,FEC)。自動重傳請求(ARQ)是一種要求接收方(也稱為接收器、接收機)在成功接收資料後發送確認包(acknowledgement packet)的技術。如果資料未被成功傳送,則沒有確認被發送至發送方。在這種情況下,當發送方沒有接收到確認時,資料被重傳。然而,自動重傳請求(ARQ)的帶寬效率相對較低,且接收器無法利用部分解碼的資料開發潛在的頻譜改進,因為接收機會丟棄任何未成功接收的資料幀。前向糾錯編碼(FEC)是一種使用糾錯碼對原始資料消息進行編碼的 技術,其包括冗餘位(奇偶校驗位)。前向糾錯編碼(FEC)的使用提高了傳輸可靠性,因為接收方可以糾正一定量的錯誤,而無需重新傳輸資料。 Two commonly used technologies for reliable data transmission are Automatic Repeat Request (ARQ) and Forward Error Coding (FEC). Automatic Repeat Request (ARQ) is a technology that requires a receiver (also referred to as a receiver, receiver) to send an acknowledgment packet (acknowledgment packet) after successfully receiving data. If the data is not successfully transmitted, no acknowledgment is sent to the sender. In this case, when the sender does not receive an acknowledgment, the material is retransmitted. However, automatic repeat request (ARQ) is relatively bandwidth inefficient, and the receiver cannot exploit the potential spectrum improvement with partially decoded data because the receiver discards any unsuccessfully received data frames. Forward Error Correction Coding (FEC) is a method of encoding raw material messages using error correcting codes technology, which includes redundant bits (parity bits). The use of Forward Error Correction Coding (FEC) increases transmission reliability because the receiver can correct a certain amount of errors without retransmitting the data.

混合自動重傳請求(混合ARQ或HARQ)是一種將前向糾錯編碼(forward error-correcting coding)與自動重傳請求(ARQ)相結合的方案。利用HARQ,未被正確解碼的資料幀不會被丟棄,而是被存儲起來以便接收器稍後在解碼之前與重傳的資料幀相組合。在較差的信道條件下,HARQ的性能比自動重傳請求(ARQ)好,而在信道條件相對較好時,由於增加了冗餘位(redundancy),HARQ的性能可能比自動重傳請求(ARQ)差。在實踐中,兩種最常見的HARQ組合技術是追加合併(Chase Combining,CC)和增量冗餘(Incremental Redundancy,IR)。與CC結合的HARQ通過結合過去和當前的傳輸來增強解碼,而增量冗餘(IR)是通過分批發送附加的奇偶校驗位來執行的,以便控制編碼率。 Hybrid automatic repeat request (hybrid ARQ or HARQ) is a scheme that combines forward error-correcting coding (forward error-correcting coding) with automatic repeat request (ARQ). With HARQ, data frames that are not correctly decoded are not discarded, but are stored for later combination by the receiver with the retransmitted data frame before decoding. Under poor channel conditions, the performance of HARQ is better than that of automatic repeat request (ARQ), and when the channel condition is relatively good, due to the increase of redundancy, the performance of HARQ may be better than that of automatic repeat request (ARQ). )Difference. In practice, the two most common HARQ combining techniques are Chase Combining (CC) and Incremental Redundancy (IR). HARQ combined with CC enhances decoding by combining past and current transmissions, while Incremental Redundancy (IR) is performed by sending additional parity bits in batches in order to control the coding rate.

當前在IEEE 802.11ax標準下,物理(Physical,PHY)層使用針對前向糾錯編碼(FEC)的低密度奇偶校驗(low-density parity-check,LDPC)碼,而媒體訪問控制(Medium Access Control,MAC)層使用針對自動重傳請求(ARQ)的塊ACK(Block ACK,BACK)。也就是說,在802.11中,自動重傳請求(ARQ)和前向糾錯編碼(FEC)沒有被結合,而是在不同的協議層被獨立使用。在IEEE 802.11標準下引入HARQ會帶來許多挑戰。例如,如果HARQ僅在使用MAC協議資料單元(MAC protocol data units,MPDU)或聚合MPDU(Aggregate MPDU,A-MPDU)的MAC協議中使用,則關於重傳請求,每次重傳會攜帶不同的碼字(或編碼資料),因為重傳的碼字由PHY使用不同的MPDU有效載荷和報頭(例如,不同數量的定界符、不同的CRC/FCS位和/或不同的MAC報頭)生成。因此,接收器無法組合當前和過去的碼字來用於解碼目的。此外,MPDU或A-MPDU可以跨越多個完整的和部分的碼字 (codeword)。這會導致碼字不匹配,該不匹配也阻礙在接收器處組合重傳的碼字。另一方面,如果HARQ僅在LDPC碼字級別使用,那麼現有的802.11 PHY層無法執行錯誤的LDPC碼字的檢測和請求重傳,因為根據當前的IEEE 802.11標准定義的PHY層不具備支持基於碼字的自動重傳請求(ARQ)機制的能力。 Currently under the IEEE 802.11ax standard, the physical (Physical, PHY) layer uses a low-density parity-check (low-density parity-check, LDPC) code for forward error correction coding (FEC), and the medium access control (Medium Access The Control, MAC) layer uses Block ACK (Block ACK, BACK) for Automatic Repeat Request (ARQ). That is to say, in 802.11, Automatic Repeat Request (ARQ) and Forward Error Correction Coding (FEC) are not combined, but used independently in different protocol layers. The introduction of HARQ under the IEEE 802.11 standard presents many challenges. For example, if HARQ is only used in the MAC protocol using MAC protocol data units (MAC protocol data units, MPDU) or aggregate MPDU (Aggregate MPDU, A-MPDU), regarding the retransmission request, each retransmission will carry a different codewords (or encoded material), because retransmitted codewords are generated by the PHY using different MPDU payloads and headers (eg, different number of delimiters, different CRC/FCS bits, and/or different MAC headers). Therefore, a receiver cannot combine current and past codewords for decoding purposes. Additionally, an MPDU or A-MPDU can span multiple complete and partial codewords (codeword). This results in a codeword mismatch that also prevents retransmitted codewords from being combined at the receiver. On the other hand, if HARQ is only used at the LDPC codeword level, then the existing 802.11 PHY layer cannot perform the detection of the wrong LDPC codeword and request retransmission, because the PHY layer defined according to the current IEEE 802.11 standard does not have the support for code-based The ability of the automatic repeat request (ARQ) mechanism of words.

因此,需要一種通過調整現有的PHY和MAC層協議來符合新興的IEEE 802.11標準(例如,IEEE 802.11be及更高版本)的HARQ方法及裝置。 Therefore, there is a need for a HARQ method and device that conforms to emerging IEEE 802.11 standards (eg, IEEE 802.11be and later versions) by adjusting existing PHY and MAC layer protocols.

本發明實施例提供了用於根據802.11標準(例如,802.11be)執行HARQ功能的裝置和方法,包括對PHY層和MAC層的最小改變。在發送方,基於前向糾錯編碼(FEC)幀(FEC Frame-based,FECF)的編碼器用於從資料幀生成奇偶校驗(亦稱冗餘)幀。這些奇偶校驗幀由發送方響應於接收方發送的自動重傳請求(ARQ)請求而發送。發送方能夠使用奇偶校驗幀,以使用FECF解碼器恢復丟失的資料幀。根據一些實施例,描述了使用完全應用(employed entirely)在MAC層上的FECF硬輸入解碼器(FECF hard input decoder)的HARQ硬方案(HARQ-hard scheme)。根據其它實施例,描述了使用在PHY層上採用的FECF軟輸入解碼器(FECF soft input decoder)的HARQ軟方案(HARQ-soft scheme)。發送方還可以通過適時地(opportunistically)傳輸一定數量的奇偶校驗幀來補償無線信道中的分組丟失(packet losses)。 Embodiments of the present invention provide an apparatus and method for performing HARQ functions according to the 802.11 standard (eg, 802.11be), including minimal changes to the PHY layer and the MAC layer. On the sender side, a forward error correction coding (FEC) frame-based (FEC Frame-based, FECF) encoder is used to generate parity (aka redundancy) frames from data frames. These parity frames are sent by the sender in response to Automatic Repeat reQuest (ARQ) requests sent by the receiver. The sender can use the parity frame to recover lost data frames using the FECF decoder. According to some embodiments, a HARQ-hard scheme using an FECF hard input decoder employed entirely on the MAC layer is described. According to other embodiments, a HARQ-soft scheme (HARQ-soft scheme) using an FECF soft input decoder (FECF soft input decoder) employed on a PHY layer is described. The sender can also compensate for packet losses in the wireless channel by opportunistically transmitting a certain number of parity frames.

根據一些實施例,本發明提供了一種無線傳輸資訊的方法,其由發送裝置執行。該方法包括:基於多個資料幀計算/生成多個冗餘幀,其中,該多個資料幀包括資料位元;將該多個資料幀發送至接收裝置;接收來自該接收裝置的第一確認,該第一確認指示該多個資料幀中的一個或一個以上在該接收裝置處丟失;以及,響應於接收到該第一確認,向該接收裝置發送該多個冗餘 幀的第一集合(set of the plurality of redundancy frames),其中,該發送裝置和該接收裝置根據IEEE 802.11標準的版本進行通信。 According to some embodiments, the present invention provides a method of wirelessly transmitting information, which is performed by a sending device. The method includes: calculating/generating a plurality of redundant frames based on a plurality of data frames, wherein the plurality of data frames include data bits; sending the plurality of data frames to a receiving device; receiving a first acknowledgment from the receiving device , the first acknowledgment indicating that one or more of the plurality of data frames was lost at the receiving device; and, in response to receiving the first acknowledgment, sending the plurality of redundant A first set of the plurality of redundancy frames in which the sending device and the receiving device communicate according to a version of the IEEE 802.11 standard.

在一些實施例中,該方法還包括:在發送該多個冗餘幀的第一集合之後,接收來自該接收裝置的第二確認,該第二確認指示該多個資料幀中的一個或一個以上在該接收裝置處丟失;以及,響應於接收到該第二確認,向該接收裝置發送該多個冗餘幀的第二集合,其中,該第一集合和該第二集合包括該多個冗餘幀中的不同冗餘幀。 In some embodiments, the method further comprises: after transmitting the first set of redundant frames, receiving a second acknowledgment from the receiving device, the second acknowledgment indicating one or one of the plurality of data frames The above is lost at the receiving device; and, in response to receiving the second acknowledgment, sending a second set of the plurality of redundant frames to the receiving device, wherein the first set and the second set include the plurality of Different redundant frames in redundant frames.

在一些實施例中,該方法還包括:將該多個冗餘幀存儲在該發送裝置的緩衝記憶體(buffer memory/cache)中。 In some embodiments, the method further includes: storing the plurality of redundant frames in a buffer memory (buffer memory/cache) of the sending device.

在一些實施例中,在接收該第一確認之前,將該多個冗餘幀中的冗餘幀適時地發送給該接收裝置。 In some embodiments, a redundant frame of the plurality of redundant frames is duly sent to the receiving device before receiving the first acknowledgment.

在一些實施例中,該多個冗餘幀用於向該接收裝置提供資訊,以重建該多個資料幀的丟失資料幀。 In some embodiments, the plurality of redundant frames are used to provide information to the receiving device to reconstruct lost data frames of the plurality of data frames.

在一些實施例中,該多個冗餘幀中的每個冗餘幀包括相應的報頭(header),該報頭包括:該報頭所處的相應幀是冗餘幀的指示;以及,用於標識該相應幀所屬的一群資料幀的序列號(sequence number)。 In some embodiments, each redundant frame in the plurality of redundant frames includes a corresponding header (header), and the header includes: an indication that the corresponding frame where the header is located is a redundant frame; and, for identifying The sequence number of a group of data frames to which the corresponding frame belongs.

根據本發明的另一些實施例,提供了一種解碼無線傳輸的資訊的方法,其由接收裝置執行。該方法包括:從發送裝置接收包括資料位元的多個資料幀;檢查該多個資料幀,以確定該多個資料幀中的失敗資料幀;向該發送裝置發送請求,以請求該發送裝置發送與該多個資料幀相關聯的冗餘幀;從該發送裝置接收該冗餘幀;以及,使用該多個資料幀中的資料幀和該冗餘幀解碼失敗的資料幀,其中,該發送裝置和接收裝置根據IEEE 802.11標準的版本進行通信。 According to some other embodiments of the present invention, there is provided a method of decoding wirelessly transmitted information, which is performed by a receiving device. The method includes: receiving a plurality of data frames including data bits from a sending device; examining the plurality of data frames to determine a failed data frame in the plurality of data frames; sending a request to the sending device to request that the sending device sending a redundant frame associated with the plurality of data frames; receiving the redundant frame from the sending device; and using a data frame of the plurality of data frames and a data frame that failed to decode the redundant frame, wherein the The sending device and receiving device communicate according to a version of the IEEE 802.11 standard.

在一些實施例中,該多個冗餘幀中的每個冗餘幀包括相應的報頭, 該報頭包括:該報頭所處的相應幀是冗餘幀的指示;以及,用於標識該相應幀所屬的一群資料幀的序列號。 In some embodiments, each redundant frame of the plurality of redundant frames includes a corresponding header, The header includes: an indication that the corresponding frame where the header is located is a redundant frame; and a sequence number used to identify a group of data frames to which the corresponding frame belongs.

在一些實施例中,該方法還包括:在向該發送裝置發送請求以請求該發送裝置發送冗餘幀之前,確定出該多個資料幀中被成功解碼的資料幀的數目加上該多個冗餘幀中被成功解碼的冗餘幀的數目小於預定值。 In some embodiments, the method further includes: before sending a request to the sending device to request the sending device to send redundant frames, determining the number of successfully decoded data frames in the plurality of data frames plus the number of The number of successfully decoded redundant frames among the redundant frames is less than a predetermined value.

在一些實施例中,檢查該多個資料幀以確定該多個資料幀中的失敗資料幀是利用解碼器實現的,該解碼器被操作為用於解碼低密度奇偶校驗(LDPC)碼並採用軟判決輸入(soft decision input)和硬判決輸出(hard decision output)。 In some embodiments, examining the plurality of data frames to determine failed data frames of the plurality of data frames is accomplished using a decoder operative to decode a Low Density Parity Check (LDPC) code and Using soft decision input (soft decision input) and hard decision output (hard decision output).

在一些實施例中,該方法還包括:確定該多個資料幀中的失敗資料幀;發送對額外(additional,附加的)冗餘幀的請求;從該發送裝置接收該額外冗餘幀;以及,利用該多個資料幀中接收到的資料幀和該多個冗餘幀中接收到的冗餘幀解碼失敗的資料幀。 In some embodiments, the method further includes: determining a failed data frame in the plurality of data frames; sending a request for an additional (additional, additional) redundant frame; receiving the additional redundant frame from the sending device; and Decoding the failed data frame by using the received data frame in the plurality of data frames and the received redundant frame in the plurality of redundant frames.

根據本發明的一些實施例,提供了一種接收裝置(或接收設備內的裝置),用於解碼來自發送裝置的無線傳輸的資訊。其中,該接收裝置包括:控制器,耦接到緩衝記憶體且用於對接收到的資料幀的對數似然比(LLR)和接收到的冗餘幀的LLR進行接收並將其存儲在該緩衝記憶體中;802.11解碼器,用於對該接收到的資料幀的碼字進行解碼,並將該碼字解碼後的位元傳送到802.11 MAC接口,其中,該802.11解碼器耦接該控制器;該802.11 MAC接口,耦接該控制器和該802.11解碼器,其中,該802.11 MAC接口用於向該控制器提供標識該接收到的資料幀中的失敗資料幀的指示;以及,冗餘解碼器,耦接到該控制器和該802.11 MAC接口,該冗餘解碼器用於從該控制器接收指令,以利用存儲在該緩衝記憶體中的LLR解碼該失敗資料幀的位元。 According to some embodiments of the present invention, there is provided receiving means (or means within a receiving device) for decoding wirelessly transmitted information from sending means. Wherein, the receiving device includes: a controller, coupled to the buffer memory and used for receiving the log-likelihood ratio (LLR) of the received data frame and the LLR of the received redundant frame and storing them in the In the buffer memory; the 802.11 decoder is used to decode the code word of the received data frame, and transmit the decoded bit of the code word to the 802.11 MAC interface, wherein the 802.11 decoder is coupled to the control The 802.11 MAC interface is coupled to the controller and the 802.11 decoder, wherein the 802.11 MAC interface is used to provide the controller with an indication of a failed data frame in the received data frame; and, redundancy A decoder, coupled to the controller and the 802.11 MAC interface, the redundant decoder is used to receive instructions from the controller to decode bits of the failed data frame using the LLR stored in the buffer memory.

在一些實施例中,該接收裝置可操作為基於標識該接收到的資料 幀中的失敗資料幀的指示請求額外的冗餘幀,以及,該冗餘解碼器可操作為利用存儲在該緩衝記憶體中的LLR和最新接收到的(last received)冗餘幀的LLR對該失敗資料幀的位元進行解碼。 In some embodiments, the receiving means is operable to identify the received data based on An indication of a failed data frame in a frame requests an additional redundant frame, and the redundant decoder is operable to utilize the LLR pair stored in the buffer memory and the LLR of the last received (last received) redundant frame The bits of the failed data frame are decoded.

在一些實施例中,該802.11解碼器和該冗餘解碼器駐留(reside at)在該接收裝置的物理層上。 In some embodiments, the 802.11 decoder and the redundant decoder reside at the physical layer of the receiving device.

在一些實施例中,當該802.11 MAC接口指示該失敗資料幀的所有位元被成功解碼時,該控制器還可操作為清除該緩衝記憶體。 In some embodiments, the controller is further operable to clear the buffer memory when the 802.11 MAC interface indicates that all bits of the failed data frame were successfully decoded.

在一些實施例中,該接收裝置根據IEEE 802.11標準的版本與該發送裝置進行通信。 In some embodiments, the receiving device communicates with the sending device according to a version of the IEEE 802.11 standard.

在一些實施例中,該接收裝置還包括:解調器,耦接到該控制器和該802.11解碼器,該解調器可操作為將接收到的幀的LLR傳送到該控制器並將解調後的信號傳送到該802.11解碼器,以對該接收到的資料幀進行解碼。 In some embodiments, the receiving device further includes: a demodulator, coupled to the controller and the 802.11 decoder, the demodulator is operable to transmit the LLR of the received frame to the controller and decode the The modulated signal is sent to the 802.11 decoder to decode the received data frame.

在一些實施例中,該802.11 MAC接口可操作為從該802.11解碼器接收該碼字的該解碼後的位元,並且進一步可操作為丟棄冗餘幀的解碼後的位元,以及進一步可操作為存儲資料幀的解碼後的位元。 In some embodiments, the 802.11 MAC interface is operable to receive the decoded bits of the codeword from the 802.11 decoder, and is further operable to discard decoded bits of redundant frames, and is further operable to To store the decoded bits of the data frame.

在一些實施例中,該冗餘解碼器可操作為使用與該發送裝置的冗餘編碼器所使用的相同的冗餘校驗矩陣進行解碼,並且進一步基於MAC協議將該矩陣標識給該接收裝置。 In some embodiments, the redundancy decoder is operable to decode using the same redundancy check matrix as used by the redundancy encoder of the sending device, and further identify the matrix to the receiving device based on a MAC protocol .

在一些實施例中,該冗餘解碼器僅將失敗資料幀的解碼後的位元輸出到802.11 MAC接口,以用於失敗資料幀的識別。 In some embodiments, the redundant decoder outputs only the decoded bits of the failed data frame to the 802.11 MAC interface for identification of the failed data frame.

本發明內容是通過示例的方式提供的,並非旨在限定本發明。在下面的詳細描述中描述其它實施例和優點。本發明由申請專利範圍限定。 This summary is provided by way of example and is not intended to limit the invention. Other embodiments and advantages are described in the detailed description below. The present invention is limited by the scope of the patent application.

100:示例性的HARQ協議序列 100: an exemplary HARQ protocol sequence

115,120,125,130:資料幀 115,120,125,130: Data frame

135:塊確認 135: block confirmation

140:奇偶校驗幀 140: Parity frame

205,210,215:MPDU 205,210,215: MPDU

220,225:R-MPDU 220,225:R-MPDU

300,350,950:示例性方法 300, 350, 950: Exemplary methods

305,310,320,330,315,325:步驟 305, 310, 320, 330, 315, 325: steps

360,362,363,375,370,365:步驟 360, 362, 363, 375, 370, 365: steps

405,505,410,510,415,515,420,520:曲線 405,505,410,510,415,515,420,520: curve

605,705,610,710,615,715,620,720:曲線 605,705,610,710,615,715,620,720: curve

805,810,815,820:曲線 805,810,815,820: curve

955,960,965,970:步驟 955, 960, 965, 970: steps

900:示例性裝置 900: Exemplary Device

915:共享的FECF緩存 915: Shared FECF cache

905:FECF LDPC解碼器 905:FECF LDPC decoder

910:FECF控制器 910: FECF controller

920:802.11 MAC模組 920:802.11 MAC module

925:LDPC解碼器 925: LDPC decoder

930:解調器 930: demodulator

1005,1010,1015,1020,1105,1110,1120,1115:曲線 1005,1010,1015,1020,1105,1110,1120,1115: curve

1205,1210,1215,1220,1305,1310,1320,1315:曲線 1205,1210,1215,1220,1305,1310,1320,1315: curve

1405,1410,1415,1420,1505,1510,1520,1515:曲線 1405,1410,1415,1420,1505,1510,1520,1515: curve

1612:電子系統 1612: Electronic systems

1608:通信裝置 1608:Communication device

1615:無線收發器 1615: wireless transceiver

1609:RF前端 1609: RF front end

1610:802.11 PHY接口 1610:802.11 PHY interface

1611:802.11 MAC接口 1611:802.11 MAC interface

1601:處理器 1601: Processor

1602,1603:記憶體 1602, 1603: memory

1604:資料存儲裝置 1604: data storage device

通過閱讀後續的詳細描述和實施例可以更全面地理解本發明,該實施例參照附圖給出。 A more complete understanding of the invention can be obtained by reading the ensuing detailed description and the examples, which are given with reference to the accompanying drawings.

第1圖是根據本發明實施例說明使用新穎的(novel)HARQ方案的示例性幀交換序列(frame exchange sequence)的框圖。 FIG. 1 is a block diagram illustrating an exemplary frame exchange sequence using a novel HARQ scheme according to an embodiment of the present invention.

第2圖是根據本發明實施例的示例性FECF編碼器的框圖。 Figure 2 is a block diagram of an exemplary FECF encoder according to an embodiment of the present invention.

第3A圖是說明用於執行HARQ傳輸的示例性方法的流程圖。 3A is a flowchart illustrating an example methodology for performing HARQ transmissions.

第3B圖是說明用於執行HARQ硬解碼(HARQ-hard decoding)的示例性方法的流程圖。 3B is a flowchart illustrating an example method for performing HARQ-hard decoding.

第4圖針對使用4路正交幅度調製(Quadrature Amplitude Modulation,QAM)的HARQ硬方案示出了包錯誤率(Packet Error Rate,PER)作為信噪比(Signal-to-Noise ratio,SNR)的函數的示意圖表。 Figure 4 shows the packet error rate (Packet Error Rate, PER) as the signal-to-noise ratio (Signal-to-Noise ratio, SNR) for the HARQ hard scheme using 4-way quadrature amplitude modulation (Quadrature Amplitude Modulation, QAM) Schematic diagram of the function.

第5圖針對使用16QAM的HARQ硬方案示出了PER作為SNR函數的示意圖表。 Fig. 5 shows a schematic diagram of PER as a function of SNR for a HARQ hard scheme using 16QAM.

第6圖針對使用4QAM的HARQ硬方案示出了每個資料幀的平均傳輸次數作為SNR的函數的示意圖表。 Fig. 6 shows a schematic diagram of the average number of transmissions per data frame as a function of SNR for a HARQ hard scheme using 4QAM.

第7圖針對使用16QAM的HARQ硬方案示出了每個資料幀的平均傳輸次數作為SNR的函數的示意圖表。 Fig. 7 shows a schematic diagram of the average number of transmissions per data frame as a function of SNR for the HARQ hard scheme using 16QAM.

第8圖針對HARQ硬方案描繪了吞吐率(每秒兆比特)作為SNR函數的示意圖表。 Figure 8 depicts a schematic graph of throughput (megabits per second) as a function of SNR for the HARQ hard scheme.

第9A圖示出了用於在HARQ軟(HARQ-soft)接收器處解碼HARQ傳輸的示例性方法的流程圖。 Figure 9A shows a flowchart of an example method for decoding HARQ transmissions at a HARQ-soft receiver.

第9B圖示出了用於執行HARQ軟解碼的示例性方法的流程圖。 Figure 9B shows a flowchart of an example method for performing HARQ soft decoding.

第10圖是針對使用2/3基礎碼率(basis code rate)的HARQ軟方案示出的誤碼率(BER)作為SNR函數的圖表。 Figure 10 is a graph showing bit error rate (BER) as a function of SNR for a HARQ soft scheme using a 2/3 basis code rate.

第11圖是針對使用3/4基礎碼率的HARQ軟方案描述的BER作為SNR函數的圖表。 Fig. 11 is a graph of BER as a function of SNR described for a HARQ soft scheme using a 3/4 base code rate.

第12圖是針對使用2/3基礎碼率的HARQ軟方案示出的PER作為SNR的函數的圖表。 Figure 12 is a graph showing PER as a function of SNR for a HARQ soft scheme using a 2/3 base code rate.

第13圖是針對使用3/4基礎碼率的HARQ軟方案示出的PER作為SNR的函數的圖表。 Figure 13 is a graph showing PER as a function of SNR for a HARQ soft scheme using a 3/4 base code rate.

第14圖是針對使用2/3基礎碼率的HARQ軟方案示出的吞吐率(每秒兆比特)作為SNR的函數的示意圖。 Figure 14 is a graph showing throughput (megabits per second) as a function of SNR for a HARQ soft scheme using a 2/3 base code rate.

第15圖針對使用3/4基礎碼率的HARQ軟方案示出的吞吐率(每秒兆比特)作為SNR的函數的示意圖。 Fig. 15 is a schematic diagram showing throughput (megabits per second) as a function of SNR for the HARQ soft scheme using 3/4 base code rate.

第16圖示出了示例性電子系統平台(platform)的框圖,在該平台上可以實現本發明的實施例。 Figure 16 shows a block diagram of an exemplary electronic system platform upon which embodiments of the present invention may be implemented.

在下面的詳細描述中,為了說明的目的,闡述了許多具體細節,以便所屬技術領域中具有通常知識者能夠更透徹地理解本發明實施例。然而,顯而易見的是,可以在沒有這些具體細節的情況下實施一個或複數個實施例,不同的實施例或不同實施例中披露的不同特徵可根據需求相結合,而並不應當僅限於附圖所列舉的實施例。 In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to enable those having ordinary skill in the art to better understand the embodiments of the present invention. It is evident, however, that one or more embodiments may be practiced without these specific details, that different embodiments or different features disclosed in different embodiments may be combined as desired and should not be limited to the drawings Examples cited.

以下描述為本發明實施的較佳實施例。以下實施例僅用來例舉闡釋本發明的技術特徵,並非用來限制本發明的範疇。在通篇說明書及申請專利範圍當中使用了某些詞彙來指稱特定的組件。所屬技術領域中具有通常知識者應可理解,製造商可能會用不同的名詞來稱呼同樣的組件。本說明書及申請專利範圍並不以名稱的差異來作為區別組件的方式,而係以組件在功能上的差異 來作為區別的基準。本發明的範圍應當參考后附的申請專利範圍來確定。在以下描述和申請專利範圍當中所提及的術語“包含”和“包括”為開放式用語,故應解釋成“包含,但不限定於...”的意思。此外,術語“耦接”意指間接或直接的電氣連接。因此,若文中描述一個裝置耦接至另一裝置,則代表該裝置可直接電氣連接於該另一裝置,或者透過其它裝置或連接手段間接地電氣連接至該另一裝置。文中所用術語“基本”或“大致”係指在可接受的範圍內,所屬技術領域中具有通常知識者能夠解決所要解決的技術問題,基本達到所要達到的技術效果。舉例而言,“大致等於”係指在不影響結果正確性時,所屬技術領域中具有通常知識者能夠接受的與“完全等於”有一定誤差的方式。 The following descriptions are preferred embodiments for implementing the present invention. The following examples are only used to illustrate the technical characteristics of the present invention, and are not intended to limit the scope of the present invention. Certain terms are used throughout the specification and claims to refer to particular components. It should be understood by those skilled in the art that manufacturers may use different terms to refer to the same component. This specification and the scope of the patent application do not use the difference in name as a way to distinguish components, but the difference in function of the components as a basis for distinction. The scope of the present invention should be determined with reference to the appended claims. The terms "comprising" and "comprising" mentioned in the following description and scope of patent application are open terms, so they should be interpreted as the meaning of "including, but not limited to...". Also, the term "coupled" means an indirect or direct electrical connection. Therefore, if it is described that a device is coupled to another device, it means that the device may be directly electrically connected to the other device, or indirectly electrically connected to the other device through other devices or connection means. The term "basically" or "approximately" used herein means that within an acceptable range, a person with ordinary knowledge in the technical field can solve the technical problem to be solved and basically achieve the technical effect to be achieved. For example, "approximately equal to" means that there is a certain error from "exactly equal to" that can be accepted by those with ordinary knowledge in the technical field without affecting the correctness of the result.

以下詳細描述的部分以方法的形式呈現和討論。儘管在描述該方法的操作的附圖(例如,第3A圖、第3B圖、第9A圖和第9B圖)中公開了其步驟和順序,但是這些步驟和順序是示例性的。各實施例適合於執行各種其它步驟或本文附圖的流程圖中列舉的步驟的變型,並且可以以不同於本文描繪和描述的順序的其它順序執行。 Portions of the detailed description below are presented and discussed in terms of methods. Although steps and sequences thereof are disclosed in figures describing the operation of the method (eg, Figures 3A, 3B, 9A, and 9B), these steps and sequences are exemplary. Embodiments are adapted to perform various other steps or variations of the steps enumerated in the flowcharts of the figures herein, and may be performed in other orders than those depicted and described herein.

詳細描述的一些部分是以過程、步驟、邏輯塊、處理和其它可以在計算機記憶體上執行的資料位操作的符號表示的形式呈現的。這些描述和表示是資料處理領域的技術人員用來最有效地向本領域的其它技術人員傳達它們工作的實質的手段。在這裡,程序、計算機執行的步驟、邏輯塊、過程等通常被認為是造成期望結果的步驟或指令的自洽序列。這些步驟是需要對物理量進行物理操作的步驟。通常,這些物理量採用能夠在計算機系統中存儲、傳輸、組合、比較和以其它方式操作的電或磁信號的形式。有時,主要是出於常用的原因,將這些信號稱為位、值、元素、符號、字符、術語、數字等已被證明是方便的。 Some portions of the detailed description are presented in terms of procedures, steps, logical blocks, processing and other symbolic representations of operations on data bits that can be performed on computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. Here, a program, computer-implemented steps, logical blocks, procedures, etc., is generally considered to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.

然而,應當記住,所有這些和類似的術語都將與適當的物理量相 關聯並且僅僅是應用於這些量的方便的標籤。除非從以下討論中清楚地另有說明,否則應理解,在整個討論中,使用諸如“訪問”、“配置”、“協調”、“存儲”、“傳輸”、“重新傳輸”、“認證”、“識別”、“請求”、“報告”、“確定”等是指計算機系統或類似電子計算設備的動作和過程,其操作和轉換以物理(電子)量表示的資料。將計算機系統的寄存器和記憶體轉換為其它資料,類似地表示為計算機系統記憶體或寄存器或其它此類資訊存儲、傳輸或顯示設備內的物理量。 However, it should be borne in mind that all these and similar terms are to be associated with the appropriate physical quantities are associated and are merely convenient labels applied to these quantities. Unless clearly stated otherwise from the following discussion, it should be understood that throughout the discussion terms such as "access", "configure", "coordinate", "store", "transmit", "retransmit", "authenticate" , "recognition", "request", "report", "determination", etc. refer to the actions and processes of computer systems or similar electronic computing devices, which operate and convert data expressed in physical (electronic) quantities. Convert the registers and memory of a computer system into other data, similarly expressed as physical quantities within computer system memory or registers or other such information storage, transmission or display devices.

用於IEEE 802.11的新穎的HARQ方案 A Novel HARQ Scheme for IEEE 802.11

本發明實施例提供了用於根據802.11標準(例如,802.11be)執行HARQ功能的裝置和方法,其包括對PHY層和MAC層的最小改變。基於前向糾錯編碼(FEC)幀(FEC Frame-based,FECF)的編碼器用於從發送方(sender)的資料幀生成奇偶校驗(parity,亦稱冗餘,redundancy)幀。這些奇偶校驗幀(parity frames)被發送方發送,以響應接收方(receiver)發送的自動重傳請求(ARQ)請求。根據一些實施例,發送方能夠使用奇偶校驗幀,以使FECF解碼器恢復丟失的資料幀(datta frame)。根據一些實施例,本發明描述了HARQ硬方案,其使用FECF硬輸入解碼器,該FECF硬輸入解碼器完全(entirely)在MAC層採用(employed)。根據另一些實施例,本發明還描述了HARQ軟方案,其使用在PHY層採用的FECF軟輸入解碼器。發送方還可以通過適時地傳輸一定數量的奇偶校驗幀來補償無線信道中的分組丟失。 Embodiments of the present invention provide apparatus and methods for performing HARQ functions according to 802.11 standards (eg, 802.11be), which include minimal changes to the PHY layer and the MAC layer. A forward error correction coding (FEC) frame-based (FEC Frame-based, FECF) encoder is used to generate a parity (also known as redundancy, redundancy) frame from a sender (sender) data frame. These parity frames are sent by the sender in response to Automatic Repeat Request (ARQ) requests sent by the receiver. According to some embodiments, the sender can use the parity frame to allow the FECF decoder to recover lost data frames. According to some embodiments, the present invention describes a HARQ hard scheme that uses a FECF hard-input decoder that is entirely employed at the MAC layer. According to other embodiments, the present invention also describes a HARQ soft scheme using a FECF soft-input decoder employed at the PHY layer. The sender can also compensate for packet loss in the wireless channel by transmitting a certain number of parity frames in a timely manner.

第1圖根據本發明實施例示出了示例性的HARQ協議序列100,其包括原始的(original)資料幀115、120、125、130、塊確認(block acknowledgement,BACK)135和奇偶校驗幀(parity frame)140。在序列100中,奇偶校驗幀(例如,奇偶校驗幀140)是由發送方105使用碼生成器矩陣(code generator matrix)從k個資料幀生成的。首先,發送方傳輸資料幀。資料幀1(115)由發送方105(“發送裝置”)發送到接收方10(“接收裝置”)。如本文所使用的, 術語站點(station,STA)通常是指能夠通過Wi-Fi發送和接收資料的電子裝置,該電子裝置不作為接入點(Access Point,AP)運行。發送方105和接收方10可以包括無線STA或AP。接收方110成功地(而沒有錯誤)接收到資料幀1(115)和資料幀2(120)。資料幀3(125)未被接收方10成功地接收。在發送方105發送所有k個資料幀115、120、125和130之後,接收方10發送BACK,其指示哪些資料幀(如MPDU)已被成功接收或未被成功接收。在示例100中,BACK被從接收方10發送到發送方105,指示資料幀3(125)沒有被成功解碼。 Fig. 1 shows an exemplary HARQ protocol sequence 100 according to an embodiment of the present invention, which includes original (original) data frames 115, 120, 125, 130, block acknowledgment (block acknowledgment, BACK) 135 and parity check frame ( parity frame) 140. In sequence 100, a parity frame (eg, parity frame 140) is generated by sender 105 from k data frames using a code generator matrix. First, the sender transmits data frames. Data frame 1 (115) is sent by sender 105 ("sender") to receiver 10 ("receiver"). As used herein, The term station (station, STA) generally refers to an electronic device capable of sending and receiving data through Wi-Fi, and the electronic device does not operate as an access point (Access Point, AP). The sender 105 and receiver 10 may comprise wireless STAs or APs. Recipient 110 successfully (without errors) receives Data Frame 1 (115) and Data Frame 2 (120). Data frame 3 (125) was not successfully received by recipient 10. After the sender 105 sends all k data frames 115, 120, 125, and 130, the receiver 10 sends a BACK indicating which data frames (eg, MPDUs) were or were not successfully received. In example 100, a BACK is sent from receiver 10 to sender 105, indicating that data frame 3 (125) was not successfully decoded.

基於BACK 135,發送方105能夠識別出不成功的(failed)資料幀的數量。發送方105可以使用任意眾所周知的預定算法規則之一來確定要發送到接收方10的奇偶校驗幀的數量。在第1圖的示例中,發送方105確定出向接收方10發送僅一個奇偶校驗幀140就足夠了,從而可以在接收器側重建資料幀3中的所有位元(bit)。一群(group of)k個資料幀和奇偶校驗幀被發送方(105)和接收方(110)視為線性區塊碼(linear block code)的碼字(codeword)。 Based on the BACK 135, the sender 105 can identify the number of failed data frames. The sender 105 may use one of any well-known predetermined algorithmic rules to determine the number of parity frames to send to the receiver 10 . In the example of FIG. 1 , the sender 105 has determined that it is sufficient to send only one parity frame 140 to the receiver 10 so that all bits in the data frame 3 can be reconstructed at the receiver side. A group of k data frames and parity frames are regarded as codewords of a linear block code by the sender (105) and the receiver (110).

在一實施例中,發送方側的FECF編碼器可以使用任何的系統區塊碼(systematic block code)C(n,k,d),其使得發送方能夠從k個資料幀構造出r個奇偶校驗幀,其中,C(n,k,d)為典型的區塊編碼的標準表示法,n是碼字的長度,即FECF編碼組的長度,k是消息的長度,即資料幀的數量,n=k+r。下面的表I示出了從具有k個資料幀的編碼矩陣Gk×n生成碼字c的示例性過程,其中,ui,j和pi,j分別是第j個資料幀的第i個符號和第j個奇偶校驗幀的第i個符號。FECF符號ui,j和pi,j可以被定義為位元(bit)、位元的序列(sequence of bits)或調製符號(modulated symbol)。 In one embodiment, the FECF encoder at the sender side can use any systematic block code C ( n , k , d ), which enables the sender to construct r parities from k data frames Check frame, where C ( n , k , d ) is the standard representation of typical block coding, n is the length of the codeword, that is, the length of the FECF coding group, and k is the length of the message, that is, the number of data frames , n=k+r. Table I below shows an exemplary process for generating a codeword c from a coding matrix G k×n with k data frames, where u i,j and p i,j are the i-th symbols and the i-th symbol of the j-th parity frame. The FECF symbols u i,j and p i,j can be defined as bits, sequences of bits, or modulated symbols.

Figure 110136132-A0305-02-0013-1
Figure 110136132-A0305-02-0013-1

c=(u 1 ,..,u k ,p k+1 ,..,p n )的前k行(first k columns)表示原始的資料幀,其餘的(n-k)行表示奇偶校驗幀。每個資料幀的大小為L個位元或符號。雖然碼C(n,k,d)可以是任意的區塊碼,但希望選擇具有最佳或接近最佳故障校正能力的碼C。 The first k rows (first k columns) of c = ( u 1 , .. ,u k ,p k +1 , .. ,p n ) represent the original data frame, and the remaining (nk) rows represent the parity check frame. The size of each data frame is L bits or symbols. Although the code C ( n,k,d ) can be any block code, it is desirable to choose the code C with the best or near-best fault correction capability.

關於第2圖,根據本發明的實施例描繪了示例性的一系列的資料幀(如圖中示出的MPDU)和奇偶校驗幀(如圖中示出的R-MPDU)。每個奇偶校驗MPDU都帶有MAC報頭(header,HDR)和用於錯誤檢測的幀校驗和(frame check sums,FCS)。如第2圖所示,當FECF編碼器使用C(n,k,d)碼時,可以從k個資料幀(如MPDUs 205、210、215)生成r個奇偶校驗幀(如R-MPDUs 220和225)。這形成大小為n幀的FECF編碼組(FECF Coding Group,FECF CG)。FECF CG是編碼的MPDU幀的集合,其屬於碼C(n,k,d)的相同碼字。發送方被操作為在緩存(buffer)中存儲r個奇偶校驗幀(例如,R-MPDUs 220和225)。FECF編碼器要求所有MSDU的大小相同(例如,L個位元)。例如,這可以通過使用零填充(zero padding)來實現。發送方必須在奇偶校驗幀(如R-MPDU)的HDR中包含一組預定義的元素或字段,供接收方識別該奇偶校驗幀。 Referring to FIG. 2, an exemplary series of data frames (MPDUs as shown) and parity frames (R-MPDUs as shown) are depicted in accordance with an embodiment of the present invention. Each parity MPDU has a MAC header (header, HDR) and frame checksums (frame check sums, FCS) for error detection. As shown in Figure 2, when the FECF encoder uses the C ( n , k , d ) code, r parity frames (such as R-MPDUs 220 and 225). This forms a FECF Coding Group (FECF CG) of size n frames. FECF CG is the set of coded MPDU frames belonging to the same codeword of code C ( n , k , d ). The sender is operated to store r parity frames (eg, R-MPDUs 220 and 225 ) in a buffer. The FECF encoder requires that all MSDUs be the same size (eg, L bits). For example, this can be achieved by using zero padding. The sender must include a set of predefined elements or fields in the HDR of a parity frame (such as R-MPDU) for the receiver to identify the parity frame.

接收方可以使用R-MPDU 220和225來重構(reconstruct)包含在MPDU 205、210和215(以及發送的任何其它資料幀)中的沒有被成功解碼的任何原始資料。例如,在第2圖中,如果MPDU-2沒有在接收器處被成功解碼,則R-MPDU奇偶校驗幀可用於重構MPDU-2的有效載荷位元(payload bits),即,第2圖中示出的MSDU U2。根據一些實施例,用於生成相同碼字的MPDU和R-MPDU由接收器使用HDR中攜帶的FECF CG編號(number)和幀序列號(frame Sequence Number,FSN)來識別。FECF CG編號和FSN均由發送方根據預定規則解析在HDR中。 The recipient can use R-MPDUs 220 and 225 to reconstruct any original material contained in MPDUs 205, 210, and 215 (and any other frames of material sent) that were not successfully decoded. For example, in Figure 2, if MPDU-2 is not successfully decoded at the receiver, the R-MPDU parity frame can be used to reconstruct the payload bits of MPDU-2, i.e., the 2nd The figure shows MSDU U 2 . According to some embodiments, the MPDU and R-MPDU used to generate the same codeword are identified by the receiver using the FECF CG number (number) and frame sequence number (FSN) carried in the HDR. Both the FECF CG number and the FSN are parsed in the HDR by the sender according to predetermined rules.

第3A圖是描繪用於在發送裝置(發送機)處執行基於FECF的 HARQ編碼的示例性方法300的流程圖。當HARQ編碼器使用C(n,k,d)碼時,發送方最多只能發送屬於同一FECF CG的r個奇偶校驗幀。 FIG. 3A is a flowchart depicting an example method 300 for performing FECF-based HARQ encoding at a transmitting device (transmitter). When the HARQ encoder uses C ( n , k , d ) codes, the sender can only send at most r parity frames belonging to the same FECF CG.

具體地,在步驟305處,發送方發送k個資料幀(例如,k個MPDU幀)。 Specifically, at step 305, the sender sends k data frames (for example, k MPDU frames).

在步驟310處,發送方還可以在步驟305之後適時地/機會性地(opportunistically)發送α個奇偶校驗幀。例如,發送方可以使用誤碼率估計(bit error rate estimate)P B 和一些附加函數f(.)來確定要發送多少個奇偶校驗幀,以在接收器處適時地補償信道損失並重建丟失的幀。例如,可以通過根據先前接收的確認消息(例如,BACKs)計算信道中的平均錯誤數,或使用其它眾所周知的錯誤估計方法來確定該誤碼率估計P B 。適時地發送奇偶校驗是一種預測信道中錯誤的方法,以便採用更簡單的HARQ(如HARQ硬方案)的接收器能夠管理冗餘量和吞吐量。 At step 310 , the sender may also timely/opportunistically send α parity frames after step 305 . For example, the sender can use a bit error rate estimate P B and some additional function f(.) to determine how many parity frames to send to compensate for channel loss and reconstruct lost frame. The bit error rate estimate PB can be determined, for example, by calculating the average number of errors in the channel from previously received acknowledgment messages (eg, BACKs ), or using other well-known error estimation methods. Sending parity in a timely manner is a way to predict errors in the channel so that receivers employing simpler HARQ (such as HARQ hard schemes) can manage redundancy and throughput.

在步驟315,根據最近接收的BACK更新該誤碼率估計P B At step 315, the bit error rate estimate P B is updated based on the most recently received BACK.

在步驟320處,發送方根據從接收方接收到的BACK來確定所有發送的資料幀是否已被成功接收。在步驟330處,如果所有的資料幀都已經在步驟320被成功傳送或者如果發送方在步驟325中已經發送了所有的r個奇偶校驗幀,則發送方刷新存儲所發送的幀的緩存。如果確定出一些資料幀丟失(在步驟320中),或者,如果傳送的屬於同一FEC CG的奇偶校驗幀的數量小於r(在步驟325中),則在步驟315處發送方可以根據新接收到的BACK更新P B 並且可以發送新的部分奇偶校驗幀(在步驟310中)。在步驟330處,方法300結束並且可以刷新用於存儲資料和奇偶校驗幀的任何緩存(buffer)。 At step 320, the sender determines whether all transmitted data frames have been successfully received according to the BACK received from the receiver. At step 330, if all data frames have been successfully transmitted at step 320 or if the sender has sent all r parity frames at step 325, the sender flushes the buffer storing the transmitted frames. If it is determined that some data frames are lost (in step 320), or if the number of transmitted parity frames belonging to the same FEC CG is less than r (in step 325), then at step 315 the sender may The received BACK updates PB and a new partial parity frame can be sent (in step 310). At step 330, the method 300 ends and any buffers used to store material and parity frames may be flushed.

應當理解,對於解碼,如上文關於第2圖所描述的,FECF解碼器可以僅使用屬於相同編碼資料組和碼C(n,k,d)的相同碼字的那些奇偶校驗幀。第3B圖是根據本發明實施例描繪的用於執行HARQ硬解碼的方法350的示例 性步驟的流程圖。 It should be understood that for decoding, as described above with respect to Fig. 2, the FECF decoder may use only those parity frames belonging to the same set of encoded data and the same codeword of the code C(n,k,d). Figure 3B is an example of a method 350 for performing HARQ hard decoding depicted according to an embodiment of the present invention flow chart of the steps.

在步驟360處,接收裝置檢查接收到的幀(例如,對接收到的幀進行FCS檢查),以確定任何失敗的/不成功的幀。當接收裝置(接收方/接收器)被操作為執行HARQ硬方案時,在MAC層上採用對硬判決輸入(hard decision inputs)進行操作的FECF解碼器。接收器能夠使用FCS檢查來確定出失敗的幀(亦可稱為錯誤幀)的位置。當錯誤幀的位置在FECF CG中是已知的時,FECF解碼器能夠利用碼的故障能力(erasure capabilities)。步驟362確定是否至少k個幀被成功解碼/接收以使得FECF解碼器能夠恢復大小為n個幀的FECF CG中的任意的失敗資料幀。步驟363確定MAC是否已達到重試請求的限制。如果在步驟363處確定出已經超過重試限制,則方法350結束。 At step 360, the receiving device examines the received frames (eg, performs an FCS check on the received frames) to determine any failed/unsuccessful frames. When the receiving device (receiver/receiver) is operated to implement the HARQ hard scheme, a FECF decoder operating on hard decision inputs is employed on the MAC layer. The receiver can use FCS checks to locate failed frames (also called error frames). When the location of the erroneous frame is known in the FECF CG, the FECF decoder can exploit the erasure capabilities of the code. Step 362 determines whether at least k frames were successfully decoded/received to enable the FECF decoder to recover any failed data frames in the FECF CG of size n frames. Step 363 determines whether the MAC has reached the limit of retry requests. If at step 363 it is determined that the retry limit has been exceeded, then method 350 ends.

在步驟365處,如果在步驟363中確定出沒有超過重試限制,則接收裝置向發送裝置發送請求,以請求發送與多個資料幀相關聯的冗餘幀(redundancy frames)。 At step 365, if it is determined in step 363 that the retry limit has not been exceeded, the receiving device sends a request to the sending device to send redundancy frames associated with the plurality of data frames.

在步驟370處,接收裝置接收來自發送裝置的冗餘幀。方法350利用在步驟370處接收的冗餘幀,繼續步驟360。根據一些實施例,冗餘幀包括每個冗餘幀是否為冗餘幀的指示和用以識別每個冗餘幀所屬的一群資料幀的序列號。 At step 370, the receiving device receives the redundant frame from the sending device. The method 350 proceeds to step 360 using the redundant frame received at step 370 . According to some embodiments, the redundant frames include an indication of whether each redundant frame is a redundant frame and a sequence number for identifying a group of data frames to which each redundant frame belongs.

如果在步驟362處確定出成功接收到至少k個幀,則在步驟375處,利用接收到的資料幀和冗餘幀解碼任何失敗的資料幀。例如,假設k=5,r=2,n=7,當成功接收到k個幀(例如,3個資料幀和2個奇偶校驗幀)時,可以根據接收到的幀恢復出失敗的2個資料幀。在成功解碼所有的資料幀後,將從MPDU中刪除任何填充的零。可以從幀的定界符字段中跟踪幀的實際大小。在步驟375之後,方法350結束。 If at step 362 it is determined that at least k frames were successfully received, then at step 375 any failed data frames are decoded using the received data frames and redundant frames. For example, assuming k=5, r=2, n=7, when k frames (for example, 3 data frames and 2 parity frames) are successfully received, the failed 2 frames can be recovered according to the received frames. data frames. After successfully decoding all data frames, any padded zeros are removed from the MPDU. The actual size of the frame can be tracked from the frame's delimiter field. After step 375, method 350 ends.

根據一些實施例,具有HARQ硬方案的系統模型使用以下參數: n=64,L=500字節(byte),以及,α=n(1-(1-P B ) L ),其中,P B 表示對位元錯誤率的估計。利用里德所羅門碼(Reed-Solomon code)對k個資料幀進行編碼,該碼可以糾正多達r個故障(erasure)。通過補償獨立的幀丟失,奇偶校驗幀的數量α被選擇,以最小化資料包錯誤率(packet error rate)。通過添加r個奇偶校驗幀,冗餘位被添加,其具有k/n的碼率。信道被建模為在20MHz處的快速變化瑞利衰落信道(Rayleigh fading channel),其具有2個調製編碼方案(Modulation Coding Schemes,MCS)、速率R1=16mbps的4QAM和速率R2=33mbps的16QAM。 According to some embodiments, the system model with the HARQ hard scheme uses the following parameters: n=64, L=500 bytes (byte), and, α= n (1-(1- P B ) L ), wherein, P B Represents an estimate of the bit error rate. The k data frames are encoded using a Reed-Solomon code that can correct up to r erasures. The number α of parity frames is chosen to minimize the packet error rate by compensating for independent frame loss. Redundant bits are added by adding r parity frames, which have a code rate of k/n. The channel is modeled as a fast-changing Rayleigh fading channel (Rayleigh fading channel) at 20MHz, which has 2 modulation coding schemes (Modulation Coding Schemes, MCS), 4QAM with rate R 1 =16mbps and 4QAM with rate R 2 =33mbps 16QAM.

第4圖和第5圖分別針對使用4QAM和16QAM的HARQ硬方案示出了PER與SNR。可以理解地,對於使用4QAM和16QAM的兩種情況,使用HARQ硬方案顯著提高了整個傳輸功率範圍內的平均PER。具體來說,如第4圖所示,對於16QAM,實現的編碼增益可以達到14dB,對於4QAM可以達到4dB。在第4圖和第5圖中,曲線405和505代表理論的非HARQ,曲線410和510代表模擬的非HARQ,曲線415和515代表理論的HARQ硬方案,以及,曲線420和520代表模擬的HARQ硬方案。 Figures 4 and 5 show PER and SNR for HARQ hard schemes using 4QAM and 16QAM, respectively. Understandably, for both cases using 4QAM and 16QAM, using the HARQ hard scheme significantly improves the average PER over the entire transmission power range. Specifically, as shown in Figure 4, for 16QAM, the realized coding gain can reach 14dB, and for 4QAM it can reach 4dB. In Figures 4 and 5, curves 405 and 505 represent theoretical non-HARQ, curves 410 and 510 represent simulated non-HARQ, curves 415 and 515 represent theoretical HARQ hard schemes, and curves 420 and 520 represent simulated HARQ hard scheme.

第6圖和第7圖針對使用4QAM和16QAM的HARQ硬方案分別描繪了不同SNR下的每個資料幀的平均傳輸次數。值得注意的是,HARQ硬方案有利地降低了PER,從而產生較少的重傳次數。因此,這改善了端到端延遲(延遲)。在第6圖和第7圖中,曲線605和705代表理論的非HARQ,曲線610和710代表模擬的非HARQ,曲線615和715代表理論的HARQ硬方案,以及,曲線620和720代表模擬的HARQ硬方案。 Figures 6 and 7 plot the average number of transmissions per data frame at different SNRs for HARQ hard schemes using 4QAM and 16QAM, respectively. It is worth noting that the HARQ hard scheme advantageously reduces the PER, resulting in fewer retransmissions. Therefore, this improves end-to-end latency (latency). In Figures 6 and 7, curves 605 and 705 represent theoretical non-HARQ, curves 610 and 710 represent simulated non-HARQ, curves 615 and 715 represent theoretical HARQ hard schemes, and curves 620 and 720 represent simulated HARQ hard scheme.

第8圖針對HARQ硬方案示出了以兆比特每秒(Mbps)為單位的吞吐率與SNR。當速率自適應(Rate Adaptation,RA)未被啟用時,單獨的HARQ硬方案是提高吞吐量的相對平庸的方案。然而,在RA被啟用的情況下執行的 HARQ硬方案可以有利地在具有QoS要求的系統中提供增益,以滿足某個目標PER(例如,視頻或音頻應用)。如果系統即使對於最低可用的MCS也不能滿足目標PER,則認為吞吐量為零是合理的,在這種情況下,QoS服務被中斷。可以理解,在低到中等SNR狀態下,在具有HARQ硬方案的系統中,吞吐量可以顯著提高。 Figure 8 shows throughput versus SNR in megabits per second (Mbps) for the HARQ hard scheme. When rate adaptation (Rate Adaptation, RA) is not enabled, the HARQ hard scheme alone is a relatively mediocre scheme for improving throughput. However, executing with RA enabled HARQ hard schemes can advantageously provide gain in systems with QoS requirements to meet a certain target PER (eg, video or audio applications). If the system cannot meet the target PER even for the lowest available MCS, it is reasonable to consider the throughput to be zero, in which case the QoS service is interrupted. It can be appreciated that in low to medium SNR regimes, throughput can be significantly improved in systems with HARQ hard schemes.

在第8圖中,曲線805代表具有16QAM的非HARQ,曲線810代表與RA聯合啟用以達到15%目標的HARQ硬方案,曲線815代表具有16QAM的HARQ硬方案,曲線820代表具有4QAM的非HARQ,曲線825代表具有4QAM的HARQ硬方案,曲線830表示具有RA和15%目標PER的非HARQ方案的基準(baseline)情況。 In Figure 8, curve 805 represents non-HARQ with 16QAM, curve 810 represents the HARQ hard scheme enabled in conjunction with RA to achieve the 15% target, curve 815 represents the HARQ hard scheme with 16QAM, and curve 820 represents non-HARQ with 4QAM , curve 825 represents the HARQ hard scheme with 4QAM, and curve 830 represents the baseline situation of the non-HARQ scheme with RA and 15% target PER.

第9A圖描繪了包括用於執行HARQ軟方案的PHY(物理層)-MAC協議交互的示例性裝置900的框圖。HARQ軟方案是基於使用附加的LDPC解碼器(亦可稱為冗餘解碼器,在第9A圖中標註為FECF LDPC解碼器905)的。FECF LDPC解碼器本質上是利用軟輸入(soft input)的常規LDPC解碼器(或稱為軟輸入解碼器),其在802.11 PHY層上使用。MAC層和PHY層協作,以解碼傳輸、檢測錯誤、控制解碼和請求重傳資料等。FECF LDPC解碼器905使用存儲在FECF緩存(cache)915(亦可稱為緩衝記憶體,其耦接FECF控制器910)中的位元的對數似然比(log-likelihood ratio,LLR)作為輸入。控制器910存儲在解調資料幀或奇偶校驗幀之後獲得的位元的累積(accumulated)LLR。 FIG. 9A depicts a block diagram of an example apparatus 900 including PHY (Physical Layer)-MAC protocol interaction for performing a HARQ soft scheme. The HARQ soft scheme is based on using an additional LDPC decoder (also called a redundant decoder, labeled FECF LDPC decoder 905 in Figure 9A). The FECF LDPC decoder is essentially a conventional LDPC decoder (or soft input decoder) with soft input, which is used on the 802.11 PHY layer. The MAC layer and the PHY layer cooperate to decode transmissions, detect errors, control decoding and request retransmission of data, etc. The FECF LDPC decoder 905 uses the log-likelihood ratio (log-likelihood ratio, LLR) of the bits stored in the FECF cache (cache) 915 (also called a buffer memory, which is coupled to the FECF controller 910) as an input . The controller 910 stores accumulated LLRs of bits obtained after demodulating the data frame or the parity frame.

當成功接收到原始的資料幀時,FECF控制器910清除(clear)FECF緩存915。否則,發送方將所有位元的所有LLR存儲在FECF緩存915中。802.11 MAC模組(module)920(圖中標註為“802.11 MAC”)確定幀是否被成功接收,以及,奇偶校驗幀和資料幀的LLR被FECF LDPC解碼器905使用,以恢復任何失敗的資料幀的位元。FECF LDPC解碼器905的輸入L(C i,j )和判決輸出Q(C i,j ) 表示第j幀中的第i個位元。輸出位元的序列Q(C i,j )被傳遞到802.11 MAC模組920(亦可簡稱為802.11 MAC層)。FECF LDPC解碼器905的輸入被FECF控制器910控制。在第9A圖中,LDPC解碼器925是在802.11 PHY標準中使用的常規LDPC解碼器,其直接從解調器(demodulator)930接收輸入並將資料幀的解碼後的位元(decoded bits)傳遞到802.11 MAC模組920,以進行FCS錯誤檢查。在解調器930之後的奇偶校驗幀不需要通過FCS,因為它們的LLR能夠被FECF LDPC解碼器905直接使用。雖然HARQ軟方案的實現複雜度高於HARQ硬方案的實現複雜度,但FECF LDPC解碼器905的引入能夠顯著提高吞吐量,因為其解碼是使用資料位元和奇偶校驗位元的LLR執行的。 When the original data frame is successfully received, the FECF controller 910 clears the FECF buffer 915 . Otherwise, the sender stores all LLRs for all bits in the FECF cache 915 . The 802.11 MAC module 920 (labeled "802.11 MAC" in the figure) determines whether a frame was successfully received, and the LLRs for the parity frame and the data frame are used by the FECF LDPC decoder 905 to recover any failed data The bits of the frame. The input L ( C i,j ) and the decision output Q ( C i,j ) of the FECF LDPC decoder 905 represent the i-th bit in the j-th frame. The output bit sequence Q ( C i,j ) is passed to the 802.11 MAC module 920 (also referred to as 802.11 MAC layer for short). The input to FECF LDPC decoder 905 is controlled by FECF controller 910 . In Figure 9A, LDPC decoder 925 is a conventional LDPC decoder used in the 802.11 PHY standard, which receives input directly from demodulator (demodulator) 930 and delivers the decoded bits of the data frame to 802.11 MAC module 920 for FCS error checking. Parity frames after the demodulator 930 do not need to go through the FCS since their LLRs can be directly used by the FECF LDPC decoder 905 . Although the implementation complexity of the HARQ soft scheme is higher than that of the HARQ hard scheme, the introduction of the FECF LDPC decoder 905 can significantly improve the throughput because its decoding is performed using LLRs of data bits and parity bits .

第9B圖是根據本發明實施例描繪的用於使用HARQ軟方案執行解碼過程的示例性方法950的流程圖。該方法可以根據第9B圖中描繪的框圖執行如下。 FIG. 9B is a flowchart depicting an exemplary method 950 for performing a decoding process using a HARQ soft scheme, according to an embodiment of the present invention. The method can be performed according to the block diagram depicted in Fig. 9B as follows.

在步驟955處,調製信號在解調器(如第9A圖所示的解調器930)處被接收。在解調之後,軟判決輸入(soft decision input,例如,接收到的位元的LLRs)被傳遞到LDPC解碼器(如第9A圖所示的LDPC解碼器925)和FECF控制器(如第9A圖所示的FECF控制器910)。也就是說,解調器輸出LLRs。 At step 955, the modulated signal is received at a demodulator, such as demodulator 930 shown in FIG. 9A. After demodulation, a soft decision input (soft decision input, e.g., LLRs of received bits) is passed to an LDPC decoder (LDPC decoder 925 as shown in FIG. 9A ) and FECF controller (as shown in FIG. 9A FECF controller 910 shown in the figure). That is, the demodulator outputs LLRs.

在步驟960處,LDPC解碼器對資料幀和奇偶校驗幀的LDPC碼字進行解碼,以及,解碼後的位元被傳遞到802.11 MAC層(即第9A圖實施例中所述的802.11 MAC模組)。在FCS校驗之後,MAC丟棄正確解碼的奇偶校驗幀,並存儲正確接收的資料幀。 At step 960, the LDPC decoder decodes the LDPC codewords of the data frame and the parity frame, and the decoded bits are passed to the 802.11 MAC layer (i.e. the 802.11 MAC mode described in the embodiment of Fig. 9A Group). After the FCS check, the MAC discards correctly decoded parity frames and stores correctly received data frames.

在步驟965處,接收到的資料位元和奇偶校驗位元的LLRs被提供給FECF控制器,以及,這些LLRs被存儲在共享的FECF緩存中。 At step 965, the LLRs of the received data bits and parity bits are provided to the FECF controller, and these LLRs are stored in the shared FECF buffer.

在步驟970處,FECF LDPC解碼器解碼FECF編碼的碼字。資料位元和奇偶校驗位元的所有LLRs必須屬於同一個FECF CG。FECF解碼器將存 儲在FECF緩存中的資料位元和奇偶校驗位元的LLRs以及新接收到的奇偶校驗位元的LLRs視為LDPC碼字。接收新的奇偶校驗幀會增加更多的非零LLRs,從而提高解碼成功的概率。FECF解碼器和FECF控制器均由802.11 MAC模組管理。請注意,FECF解碼器對與尚未被傳輸的奇偶校驗幀相對應的碼字中的所有LLRs使用碼打孔,例如,對於尚未被請求的所有j個奇偶校驗幀,L(C i,j )=0。由於其較差的特性,不建議針對HARQ軟方案使用碼縮短,例如,L(C i,j )>>0。 At step 970, the FECF LDPC decoder decodes the FECF encoded codeword. All LLRs for data bits and parity bits must belong to the same FECF CG. The FECF decoder regards the LLRs of data bits and parity bits stored in the FECF buffer as well as the LLRs of newly received parity bits as LDPC codewords. Receiving a new parity frame adds more non-zero LLRs, which increases the probability of successful decoding. Both the FECF decoder and the FECF controller are managed by the 802.11 MAC module. Note that the FECF decoder uses code puncturing for all LLRs in codewords corresponding to parity frames that have not been transmitted, e.g., for all j parity frames that have not been requested, L ( C i, j )=0. Code shortening is not recommended for HARQ soft schemes due to its poor properties, eg, L ( C i,j )>>0.

根據一些實施例,具有HARQ軟方案的系統模型使用以下示例性參數:區塊長度為64,800位以及基礎碼率(也稱為母碼率)為2/3和3/4的LDPC碼、MPDU和R-MPDU幀為500字節,FECF CG長度為n=648幀,其中,k=432和k=486個資料幀分別用於2/3和3/4碼率。FECF編碼符號(例如,上面定義的u(i,j)和p(i,j))的長度為100位。信道使用附加的高斯白噪聲模型(additive white Gaussian noise model,AGWN),帶寬為20MHz,星座大小(constellation size)為4QAM,PHY速率為33Mbps。第一次傳輸攜帶k個資料幀,以及,隨後的傳輸攜帶奇偶校驗幀。接收器最多允許3次用於奇偶校驗幀的請求,以糾正FECF CG中的失敗資料幀。每次重試的奇偶校驗幀數量為(n-k)/3個幀的固定值。通過傳輸有限數量的奇偶校驗,可以有效地對碼進行打孔以獲得更高的碼率。在FECF LDPC解碼器905的輸入處,丟失位元的LLRs被設置為零,例如,對於尚未被傳輸的第j幀中的第i個位元,L(C i,j )=0。 According to some embodiments, the system model with the HARQ soft scheme uses the following exemplary parameters: LDPC codes with a block length of 64,800 bits and base code rates (also called mother code rates) of 2/3 and 3/4, MPDU and The R-MPDU frame is 500 bytes, and the FECF CG length is n=648 frames, where k=432 and k=486 data frames are used for 2/3 and 3/4 code rates respectively. The FECF-encoded symbols (eg, u ( i , j ) and p ( i , j ) defined above) are 100 bits long. The channel uses an additional Gaussian white noise model (additive white Gaussian noise model, AGWN), the bandwidth is 20MHz, the constellation size (constellation size) is 4QAM, and the PHY rate is 33Mbps. The first transmission carries k data frames, and subsequent transmissions carry parity frames. The receiver allows up to 3 requests for parity frames to correct failed data frames in the FECF CG. The number of parity frames per retry is a fixed value of (nk)/3 frames. By transmitting a limited number of parities, the code can be effectively punctured for higher bit rates. At the input of the FECF LDPC decoder 905, the LLRs of the missing bits are set to zero, eg, L ( C i,j )=0 for the i-th bit in the j-th frame that has not yet been transmitted.

第10圖描繪了用於HARQ軟方案的BER與使用2/3基礎碼率的SNR的示意圖。第11圖描繪了用於HARQ軟方案的BER與使用3/4基礎碼率的SNR值。HARQ軟方案能夠在中至高的SNR狀態下顯著提高BER。當所有的奇偶校驗幀都被傳輸時(在這個例子中,在重試3次之後),HARQ軟方案可以提供接近零BER的可靠傳輸。在第10圖和第11圖中,曲線1005和1105 示出了HARQ未被啟用時獲得的BER的基線結果,曲線1010和1110示出了在傳輸1/3的奇偶校驗幀後獲得的BER結果,曲線1015和曲線1115是在發送方發送2/3的奇偶校驗幀時的BER結果,曲線1020和1120表示所有的奇偶校驗幀被發送時的BER結果。如第10圖和第11圖所示,由於在重試時奇偶校驗幀的數量更多,因此較低的2/3碼率比較高的3/4碼率提供更好的性能。 Fig. 10 depicts a schematic diagram of BER versus SNR using 2/3 base code rate for the HARQ soft scheme. Figure 11 depicts the BER and SNR values for the HARQ soft scheme using 3/4 of the base code rate. The HARQ soft scheme can significantly improve BER in medium to high SNR state. When all parity frames are transmitted (in this example, after 3 retries), the HARQ soft scheme can provide reliable transmission with near zero BER. In Figures 10 and 11, curves 1005 and 1105 Shows the baseline results of BER obtained when HARQ is not enabled, curves 1010 and 1110 show the BER results obtained after transmitting 1/3 of the parity frames, and curves 1015 and 1115 are after the sender sends 2/ BER results when all parity frames are sent, curves 1020 and 1120 represent the BER results when all parity frames are sent. As shown in Figures 10 and 11, a lower 2/3 code rate provides better performance than a higher 3/4 code rate due to the larger number of parity frames when retrying.

第12圖描繪了使用2/3基礎碼率的PER與SNR的示意圖,第13圖描繪了使用3/4基礎碼率的PER與SNR的示意圖。當所有的奇偶校驗幀都被傳輸完畢之後,HARQ軟方案有望提供近乎可靠的資料包傳輸。曲線1205和1305作為未啟用HARQ軟方案時的基線結果,曲線1210和1310表示在傳輸1/3的奇偶校驗幀之後的結果,曲線1215和1315表示在傳輸2/3的奇偶校驗幀之後的結果,以及,曲線1220和1320表示所有的奇偶校驗幀被傳輸之後獲得的結果。 Figure 12 depicts a schematic diagram of PER and SNR using a 2/3 base code rate, and Figure 13 depicts a schematic diagram of PER and SNR using a 3/4 base code rate. When all parity frames have been transmitted, the HARQ soft scheme is expected to provide near-reliable data packet transmission. Curves 1205 and 1305 are the baseline results when the HARQ soft scheme is not enabled, curves 1210 and 1310 represent the results after transmitting 1/3 of the parity frames, and curves 1215 and 1315 represent the results after transmitting 2/3 of the parity frames , and curves 1220 and 1320 represent the results obtained after all parity frames have been transmitted.

第14圖描繪了使用2/3基礎碼率的吞吐率(Mbps)與SNR的示意圖,第15圖描繪了使用3/4基礎碼率的吞吐率(Mbps)與SNR的示意圖。在中低SNR值處,HARQ軟方案明顯優於非HARQ基線方案。在高SNR狀態下,不需要糾錯,因為增加的冗餘幀本質上是資料速率損失,因為BER非常低。此外,除了吞吐量增益外,HARQ軟方案針對2/3基礎碼率還可以將傳輸範圍擴展至5dB。儘管由於增加的冗餘幀而導致速率損失,但吞吐量增益可高達100%。在第14圖和第15圖中,曲線1405和1505表示不啟用HARQ軟方案時的吞吐量結果,曲線1410和1510表示傳輸1/3的奇偶校驗幀後的結果,曲線1415和1515表示在傳輸2/3的奇偶校驗幀之後獲得的結果,曲線1420和1520表示所有的奇偶校驗幀被傳輸之後的結果。 FIG. 14 depicts a schematic diagram of throughput (Mbps) and SNR using 2/3 base code rate, and FIG. 15 depicts a schematic diagram of throughput (Mbps) and SNR using 3/4 base code rate. At medium and low SNR values, the HARQ soft scheme is significantly better than the non-HARQ baseline scheme. In the high SNR state, no error correction is required, since the added redundant frames are essentially a data rate penalty, since the BER is very low. In addition, in addition to the throughput gain, the HARQ soft solution can also extend the transmission range to 5dB for 2/3 of the basic code rate. Throughput gains can be as high as 100%, despite the rate loss due to increased redundant frames. In Figures 14 and 15, curves 1405 and 1505 represent the throughput results when the HARQ soft scheme is not enabled, curves 1410 and 1510 represent the results after transmitting 1/3 of the parity frames, and curves 1415 and 1515 represent the results in The results obtained after transmitting 2/3 of the parity frames, curves 1420 and 1520 represent the results after all the parity frames have been transmitted.

示例性電子系統 Exemplary electronic system

本發明實施例涉及具有可操作為根據IEEE 802.11標準(亦稱Wi-Fi)發送和/或接收資料的無線能力的電子系統。第16圖描述了一種示例性 的電子系統1612,其可以用作用於實現本發明實施例的平台。例如,系統1612可以是嵌入式無線裝置、STA或AP。 Embodiments of the present invention relate to electronic systems having wireless capabilities operable to transmit and/or receive data according to the IEEE 802.11 standard (also known as Wi-Fi). Figure 16 depicts an exemplary An electronic system 1612, which may serve as a platform for implementing embodiments of the present invention. For example, system 1612 may be an embedded wireless device, STA or AP.

第16圖示出了電子系統1612,其包括通信裝置1608、中央處理單元/處理器1601、記憶體(memory)1602(如非易失性的ROM)和1603(如易失性的RAM)、資料存儲裝置1604和其它的外圍裝置,例如可移動磁盤驅動器、閃存和/或光學存儲裝置。 Fig. 16 shows electronic system 1612, which includes communication device 1608, central processing unit/processor 1601, memory (memory) 1602 (such as non-volatile ROM) and 1603 (such as volatile RAM), Data storage device 1604 and other peripheral devices such as removable disk drives, flash memory and/or optical storage devices.

通信裝置1608的無線收發器1615使能系統1612直接地或通過網絡與其它支持802.11的裝置進行無線通信。通常,收發器1615由三個主要功能塊組成:RF前端(RF front end)1609、PHY基帶(PHY baseband)模組1610(或稱為802.11 PHY接口)和802.11 MAC 1611(或稱為802.11 MAC接口)。在MAC 1611和基帶PHY 1610處,本發明實施例將在通信裝置1608中被採用。具體而言,HARQ硬方案的功能被完全實現在MAC 1611中,而無需使用現有的片上系統802.11 MAC架構更改任何硬體塊。HARQ硬方案能夠以軟體實現,通常以微代碼(microcode)方式,其運行在微控制器或嵌入式CPU上。一些功能可以實現在硬體中以加速計算。 Wireless transceiver 1615 of communication device 1608 enables system 1612 to communicate wirelessly with other 802.11 capable devices, either directly or over a network. Generally, the transceiver 1615 is composed of three main functional blocks: RF front end (RF front end) 1609, PHY baseband (PHY baseband) module 1610 (or called 802.11 PHY interface) and 802.11 MAC 1611 (or called 802.11 MAC interface ). At MAC 1611 and baseband PHY 1610, embodiments of the present invention will be employed in communication device 1608. Specifically, the functionality of the HARQ hard scheme is fully implemented in the MAC 1611 without changing any hardware blocks using the existing system-on-chip 802.11 MAC architecture. The HARQ hard scheme can be implemented in software, usually in the form of microcode (microcode), which runs on a microcontroller or an embedded CPU. Some functions can be implemented in hardware to speed up calculations.

根據與HARQ軟方案相關的一實施例,無線收發器1615的802.11 PHY 1610包括FECF LDPC解碼器、共享的緩存、FECF控制器、位於前向糾錯編碼(FEC)控制器和常規的(conventional)LDPC解碼器之間的接口(interface),以及用於同步和時鐘的任何其它相關接口。與HARQ硬方案相比,HARQ軟方案需要在基帶PHY 1610和MAC 1611這兩者中進行一些微小改變。根據一些實施例,在啟用HARQ軟方案或HARQ硬方案的情況下,通信裝置1608利用先前存儲的資料和奇偶校驗幀,通過組合當前和將來的奇偶校驗幀來解碼丟失的資料幀。HARQ編碼器也被實現在發送方。例如,使用與接收方的附加協議交換,發送方可以使用以硬體或軟體實現的FEFC編碼器生成奇偶校驗幀。應當理 解,對於HARQ軟方案或HARQ硬方案,在發送方側,FECF編碼器的動作沒有不同。 According to an embodiment related to the HARQ soft scheme, the 802.11 PHY 1610 of the wireless transceiver 1615 includes a FECF LDPC decoder, a shared buffer, a FECF controller, a forward error correction coding (FEC) controller, and a conventional (conventional) The interface between LDPC decoders, and any other relevant interfaces for synchronization and clocking. Compared to the HARQ hard scheme, the HARQ soft scheme requires some minor changes in both the baseband PHY 1610 and the MAC 1611 . According to some embodiments, with the HARQ soft scheme or the HARQ hard scheme enabled, the communication device 1608 utilizes previously stored material and parity frames to decode missing data frames by combining current and future parity frames. A HARQ encoder is also implemented on the sender side. For example, using an additional protocol exchange with the receiver, the sender can generate parity frames using an FEFC encoder implemented in hardware or software. should be Solution, for the HARQ soft scheme or the HARQ hard scheme, there is no difference in the behavior of the FECF encoder at the sender side.

一些實施例可以在由一個或多個微控制器或嵌入式CPU執行的可執行指令的一般情況下進行描述,例如程序模組。通常,程序模組包括執行特定任務或實現特定抽像資料類型的例程、程序、對象、組件、資料結構等。通常,程序模組的功能可以根據需要在各種實施例中組合或分佈。 Some embodiments may be described in the general context of executable instructions, such as program modules, executed by one or more microcontrollers or embedded CPUs. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Generally, the functionality of the program modules may be combined or distributed as desired in various embodiments.

在申請專利範圍中使用諸如“第一”,“第二”,“第三”等序數術語來修改申請專利要素,其本身並不表示一個申請專利要素相對於另一個申請專利要素的任何優先權、優先級或順序,或執行方法動作的時間順序,但僅用作標記,以使用序數詞來區分具有相同名稱的一個申請專利要素與具有相同名稱的另一個元素要素。 The use of ordinal terms such as "first", "second", "third", etc. in a claim to modify a claimed element does not in itself indicate any priority of one claimed element over another claimed element , priority or order, or chronological order in which method actions are performed, but are used only as markers to use ordinal numbers to distinguish one patentable element having the same name from another element element having the same name.

雖然已經對本發明實施例及其優點進行了詳細說明,但應當理解的係,在不脫離本發明的精神以及申請專利範圍所定義的範圍內,可以對本發明進行各種改變、替換和變更,例如,可以通過結合不同實施例的若干部分來得出新的實施例。所描述的實施例在所有方面僅用於說明的目的而並非用於限制本發明。本發明的保護範圍當視所附的申請專利範圍所界定者為准。所屬技術領域中具有通常知識者皆在不脫離本發明之精神以及範圍內做些許更動與潤飾。 Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made to the present invention without departing from the spirit of the present invention and within the scope defined by the patent scope of the application, for example, New embodiments can be obtained by combining parts of different embodiments. The described embodiments are in all respects for the purpose of illustration only and are not intended to limit the invention. The scope of protection of the present invention should be defined by the scope of the appended patent application. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention.

900:示例性裝置 900: Exemplary Device

915:共享的FECF緩存 915: Shared FECF cache

905:FECF LDPC解碼器 905:FECF LDPC decoder

910:FECF控制器 910: FECF controller

920:802.11 MAC模組 920:802.11 MAC module

925:LDPC解碼器 925: LDPC decoder

930:解調器 930: demodulator

Claims (10)

一種無線傳輸資訊的方法,其由發送裝置執行,該方法包括:從k個資料幀構造出r個冗餘幀,其中,該k個資料幀包括資料位元而不包括奇偶校驗位元,該r個冗餘幀包括奇偶校驗位元,該k個資料幀和該r個冗餘幀對應相同組碼字,其中,每個碼字的長度為n,n=k+r,以及,每個資料幀和每個冗餘幀為MPDU幀;將該k個資料幀發送至接收裝置;接收來自該接收裝置的第一確認,該第一確認指示該k個資料幀中的一個或一個以上在該接收裝置處丟失;以及,響應於接收到該第一確認,向該接收裝置發送一組冗餘幀,其中,該一組冗餘幀為該r個冗餘幀中的一個或多個,該發送裝置和該接收裝置根據IEEE 802.11標準的版本進行通信。 A method for wirelessly transmitting information, which is performed by a sending device, the method comprising: constructing r redundant frames from k data frames, wherein the k data frames include data bits but not parity bits, The r redundant frames include parity bits, the k data frames and the r redundant frames correspond to the same group of codewords, wherein the length of each codeword is n, n=k+r, and, Each data frame and each redundant frame is an MPDU frame; sending the k data frames to a receiving device; receiving a first acknowledgment from the receiving device, the first acknowledgment indicating one or one of the k data frames The above is lost at the receiving device; and, in response to receiving the first acknowledgment, sending a set of redundant frames to the receiving device, wherein the set of redundant frames is one or more of the r redundant frames One, the sending device and the receiving device communicate according to a version of the IEEE 802.11 standard. 如請求項1之方法,其中,該方法還包括:在發送該一組冗餘幀之後,接收來自該接收裝置的第二確認,該第二確認指示該k個資料幀中的一個或一個以上在該接收裝置處丟失;以及,響應於接收到該第二確認,向該接收裝置發送另一組冗餘幀,其中,該另一組冗餘幀為該r個冗餘幀中的一個或多個,以及,該一組冗餘幀和該另一組冗餘幀包括該r個冗餘幀中的不同冗餘幀。 The method according to claim 1, wherein the method further comprises: after sending the set of redundant frames, receiving a second confirmation from the receiving device, the second confirmation indicating one or more of the k data frames Lost at the receiving device; and, in response to receiving the second acknowledgment, sending another set of redundant frames to the receiving device, wherein the another set of redundant frames is one of the r redundant frames or A plurality of, and, the set of redundant frames and the another set of redundant frames include different redundant frames among the r redundant frames. 如請求項2之方法,其中,該方法還包括:將該r個冗餘幀存儲在該發送裝置的緩衝記憶體中。 The method according to claim 2, further comprising: storing the r redundant frames in a buffer memory of the sending device. 如請求項1之方法,其中,在接收到該第一確認之前,將該r個冗餘幀中的至少一個冗餘幀適時地發送給該接收裝置。 The method of claim 1, wherein at least one redundant frame among the r redundant frames is timely sent to the receiving device before receiving the first acknowledgment. 如請求項1之方法,其中,該一組冗餘幀用於向該接收裝置提供資訊,以重建該k個資料幀中丟失的資料幀。 The method of claim 1, wherein the set of redundant frames is used to provide information to the receiving device to reconstruct a lost data frame among the k data frames. 如請求項1之方法,其中,該r個冗餘幀中的每個冗餘幀包括相應的報頭,該報頭包括:該報頭所處的相應幀是冗餘幀的指示;以及,用於標識該相應幀所屬的一群資料幀的序列號。 The method according to claim 1, wherein each redundant frame in the r redundant frames includes a corresponding header, and the header includes: an indication that the corresponding frame where the header is located is a redundant frame; and, for identifying The sequence number of the group of data frames to which the corresponding frame belongs. 一種解碼無線傳輸的資訊的方法,其由接收裝置執行,該方法包括:從發送裝置接收包括資料位元的k個資料幀,其中,該k個資料幀不包括奇偶校驗位元,以及,每個資料幀為MPDU幀;利用每個MPDU幀中的FCS檢查該k個資料幀,以確定該k個資料幀中是否存在失敗的資料幀;如果存在失敗的資料幀,向該發送裝置發送第一請求,以請求該發送裝置發送冗餘幀;從該發送裝置接收一組冗餘幀,其中,該一組冗餘幀和該k個資料幀對應相同組碼字;以及,使用接收到的資料幀和接收到的冗餘幀解碼失敗的資料幀,其中,該發送裝置和接收裝置根據IEEE 802.11標準的版本進行通信。 A method of decoding wirelessly transmitted information, performed by a receiving device, the method comprising: receiving k data frames comprising data bits from a transmitting device, wherein the k data frames do not include parity bits, and, Each data frame is an MPDU frame; use the FCS in each MPDU frame to check the k data frames to determine whether there is a failed data frame in the k data frames; if there is a failed data frame, send it to the sending device The first request is to request the sending device to send a redundant frame; receive a group of redundant frames from the sending device, wherein the group of redundant frames and the k data frames correspond to the same group of codewords; and, use the received The data frame and the received data frame of which the redundant frame fails to be decoded, wherein the sending device and the receiving device communicate according to the version of the IEEE 802.11 standard. 如請求項7之方法,其中,該一組冗餘幀中的每個冗餘幀包括相應的報頭,該報頭包括:該報頭所處的相應幀是冗餘幀的指示;以及,用於標識該相應幀所屬的一群資料幀的序列號。 The method of claim 7, wherein each redundant frame in the set of redundant frames includes a corresponding header, and the header includes: an indication that the corresponding frame in which the header is located is a redundant frame; and, for identifying The sequence number of the group of data frames to which the corresponding frame belongs. 如請求項7之方法,其中,檢查該k個資料幀以確定該k個資料幀中失敗的資料幀是利用解碼器實現的,該解碼器被操作為用於解碼低密度奇偶校驗(LDPC)碼並採用軟判決輸入和硬判決輸出。 The method of claim 7, wherein examining the k data frames to determine a failed one of the k data frames is accomplished using a decoder operative to decode a low density parity check (LDPC ) code and adopt soft decision input and hard decision output. 如請求項7之方法,其中,該方法還包括: 確定該k個資料幀中還存在失敗的資料幀;發送第二請求,以請求該發送裝置發送冗餘幀;從該發送裝置接收另一組冗餘幀,其中,該另一組冗餘幀與該一組冗餘幀、該k個資料幀對應相同組碼字;以及,利用接收到的資料幀和接收到的冗餘幀解碼失敗的資料幀。 The method of claim item 7, wherein the method further includes: Determining that there are still failed data frames in the k data frames; sending a second request to request the sending device to send redundant frames; receiving another group of redundant frames from the sending device, wherein the another group of redundant frames The same group of codewords corresponds to the group of redundant frames and the k data frames; and, using the received data frames and the received redundant frames to decode the failed data frames.
TW110136132A 2020-10-20 2021-09-29 Methods and apparatus for enabling data transmission using harq TWI784732B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US17/075,652 US11936480B2 (en) 2019-10-23 2020-10-20 Apparatus and methods for HARQ in a wireless network
US17/075,652 2020-10-20

Publications (2)

Publication Number Publication Date
TW202218364A TW202218364A (en) 2022-05-01
TWI784732B true TWI784732B (en) 2022-11-21

Family

ID=81194567

Family Applications (2)

Application Number Title Priority Date Filing Date
TW110136132A TWI784732B (en) 2020-10-20 2021-09-29 Methods and apparatus for enabling data transmission using harq
TW111138814A TWI840997B (en) 2020-10-20 2021-09-29 A receiving device

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW111138814A TWI840997B (en) 2020-10-20 2021-09-29 A receiving device

Country Status (2)

Country Link
CN (1) CN114389750B (en)
TW (2) TWI784732B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496051A (en) * 2002-09-17 2004-05-12 三星电子株式会社 Method and device for adaptive hybrid automatic repeat request
US20170093528A1 (en) * 2014-12-09 2017-03-30 Ciena Corporation Staggered parity
US20190181977A1 (en) * 2012-01-19 2019-06-13 Ciena Corporation Parity frame
TW202011710A (en) * 2018-08-03 2020-03-16 日商索尼股份有限公司 Transmission apparatus and method, receiving apparatus and method for use in communication

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826436B2 (en) * 2007-10-01 2010-11-02 Samsung Electronics Co., Ltd. Method and system for wireless communication of data with a fragmentation pattern and low-density parity-check codes
US9497764B2 (en) * 2013-07-15 2016-11-15 Qualcomm Incorporated Systems and methods for a data scrambling procedure
US9166734B2 (en) * 2013-08-14 2015-10-20 National Cheng Kung University Method and device for frame aggregation transmission of wireless network system
US10367621B2 (en) * 2014-10-27 2019-07-30 Qualcomm Incorporated Fountain HARQ for reliable low latency communication
US10153868B2 (en) * 2015-06-12 2018-12-11 Apple Inc. Hybrid automatic repeat request (H-ARQ) for a wireless local area network
CN106899390B (en) * 2015-12-21 2020-04-28 华为技术有限公司 HARQ-based transmission method, device and system
CN105897386B (en) * 2016-03-30 2019-04-16 京信通信系统(中国)有限公司 A kind of signaling reconfiguration processing method and device
WO2019132981A1 (en) * 2017-12-29 2019-07-04 Intel Corporation Enhanced retransmissions for wireless communications
US11121806B2 (en) * 2018-09-07 2021-09-14 Qualcomm Incorporated Decoding performance
US11252603B2 (en) * 2018-10-09 2022-02-15 Mediatek Singapore Pte. Ltd. Retransmission schemes based on LLR combining in WLAN
US11438104B2 (en) * 2018-12-28 2022-09-06 Intel Corporation Extremely high throughput hybrid automatic repeat request
US11736236B2 (en) * 2019-02-13 2023-08-22 Mediatek Singapore Pte. Ltd. Method and apparatus for hybrid ARQ acknowledgement in a wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496051A (en) * 2002-09-17 2004-05-12 三星电子株式会社 Method and device for adaptive hybrid automatic repeat request
US20190181977A1 (en) * 2012-01-19 2019-06-13 Ciena Corporation Parity frame
US20170093528A1 (en) * 2014-12-09 2017-03-30 Ciena Corporation Staggered parity
TW202011710A (en) * 2018-08-03 2020-03-16 日商索尼股份有限公司 Transmission apparatus and method, receiving apparatus and method for use in communication

Also Published As

Publication number Publication date
TW202306369A (en) 2023-02-01
CN114389750A (en) 2022-04-22
CN114389750B (en) 2024-12-10
TWI840997B (en) 2024-05-01
TW202218364A (en) 2022-05-01

Similar Documents

Publication Publication Date Title
US8386870B2 (en) Fractional HARQ re-transmission
CN111030785B (en) Method, system and wireless receiver for data retransmission in wireless network
CN103201976B (en) The method and apparatus of the packet level erasing protection coding for being polymerized in packet transmission
US6671849B2 (en) Reliability-based type-II hybrid ARQ scheme
JP3911263B2 (en) Adaptive hybrid automatic retransmission request method and apparatus
US7467345B2 (en) Fast H-ARQ acknowledgement generation method using a stopping rule for turbo decoding
US20100146355A1 (en) Retransmission Method, Communication System, and Transmission Device
US11736236B2 (en) Method and apparatus for hybrid ARQ acknowledgement in a wireless network
CN101621367B (en) HARQ decoding method based on packet check information
US20100125764A1 (en) Error rate estimation/application to code-rate adaption
CN101340271B (en) Hybrid automatic request retransmission method, transmitter, receiver and communication system
CN113273084B (en) Data retransmission in wireless networks
US20080155148A1 (en) Cooperative communication of data
US11936480B2 (en) Apparatus and methods for HARQ in a wireless network
WO2009026798A1 (en) A retransmission method based on low density check code and device thereof
TWI784732B (en) Methods and apparatus for enabling data transmission using harq
Jagath-Kumara A new HARQ scheme using BCH codes with unequal data and parity frames
ur Rehman et al. Iterative Bit Flip Type-II Hybrid-ARQ Scheme for Wireless Networks
Qian et al. A novel adaptive hybrid-ARQ protocol for machine-to-machine communications
ur Rehman et al. Multi-layer data protection using N-Channel stop-and-wait Hybrid-ARQ in WiMAX