Method and Apparatus for LDPC Transmission Over a Channel Bonded Link

Abstract
A particular overall architecture for transmission over a bonded channel system consisting of two interconnected MoCA (Multimedia over Coax Alliance) 2.0 SoCs (Systems on a Chip) and a method and apparatus for the case of a “bonded” channel network. With a bonded channel network, the data is divided into two segments, the first of which is transported over a primary channel and the second of which is transported over a secondary channel.
Description
TECHNICAL FIELD

The disclosed method and apparatus relates to communications generally, and more particularly, some embodiments relate to communications over a bonded channel between nodes within a network.


BACKGROUND

In many communications applications, it is desirable to send as much information as possible as fast as possible. One way to increase the amount of information that can be sent in a predetermined amount of time is to send the information in parallel (i.e., send information over more than one wire or channel at the same time). However, in some communications systems, such parallel communications require coordination between the channels that are concurrently sending information.


In particular, in a home entertainment network, such as a network that is operated in accordance with the well-known MoCA standard, sending information over different channels requires coordination that makes it difficult to use hardware that is not in close communication.


In a single channel MoCA network, the process of transmitting an aggregate data packet (A-PDU) over the network consists of these steps:

    • A transmitting node requests a time slot for the transmission;
    • A Network Controller (NC) grants the request if channel resources are available;
    • The transmitting and receiving nodes transmit and receive packets at the specified times.


For this process to be successful, both the transmitter and the receiver independently calculate the appropriate LDPC forward error correction code parameters and the number of padding bits to be used.


When trying to coordinate more than one channel acting in concert to transmit information in parallel, coordinating such hardware can be cumbersome and complex. Accordingly, there is a need for a method and apparatus that will allow for relatively easy coordination of hardware that can transmit information over more than one “bonded” channel at the same time.


SUMMARY OF DISCLOSED METHOD AND APPARATUS

Various embodiments of the disclosed method and apparatus for low density parity check (LDPC) transmission over a bonded channel are presented.


According to one embodiment, a particular overall architecture is disclosed for transmission over a bonded channel system consisting of two interconnected MoCA (Multimedia over Coax Alliance) 2.0 SoCs (“Systems on a Chip).


This disclosure provides a method and apparatus for the case of a “bonded” channel network. With a bonded channel network, the data is divided into two segments, the first of which is transported over a primary channel and the second of which is transported over a secondary channel.





BRIEF DESCRIPTION OF THE DRAWINGS

The disclosed method and apparatus, in accordance with one or more various embodiments, is described with reference to the following figures. The drawings are provided for purposes of illustration only and merely depict examples of some embodiments of the disclosed method and apparatus. These drawings are provided to facilitate the reader's understanding of the disclosed method and apparatus. They should not be considered to limit the breadth, scope, or applicability of the claimed invention. It should be noted that for clarity and ease of illustration these drawings are not necessarily made to scale.



FIG. 1 is a block diagram illustrating the scheduling of the Allocation Unit (AU) by the NC.



FIG. 2 is a block diagram illustrating the MAP processing by the Transmitting Node.



FIG. 3 is a block diagram illustrating the MAP processing by the Receiving Node.





DETAILED DESCRIPTION

Derivation of the Reservation Request Parameters


In accordance with the well-known MoCA 2.0 standard for home entertainment communication networks, information is organized into protocol data units. Several of these protocol data units can be aggregated together to form an aggregated protocol data unit (A-PDU). For each A-PDU that a transmitting node has to transmit, a reservation request (RR) information element (IE) is sent to the network controller (NC) requesting a transmission slot for that A-PDU. An IE is defined as optional information that is encoded in a format. The format comprises a “Type”, a “Length” and a “Value”. The Type is a numeric code which indicates the kind of field that this part of the message represents. The Length is the size of the value field. The Value is a variable sized set of bytes which contains data for this part of the message. IEs are used in messages such as MAPs, Reservation Requests, Probe Reports, Pre-admission Discovery Requests and Responses, and Device Discovery messages, each of which are defined by the MoCA 2.0 specification.


In one embodiment of the disclosed method and apparatus, when a transmitting node has an A-PDU to transmit, the A-PDU comprising a particular number of bytes (“M”), the transmitting node calculates the number of symbols (Nsym) required to transmit the M bytes of the A-PDU. If both the transmitting and receiving node are capable of operating with channel bonding and the transmission indicates either a unicast profile in channel bonding or a VLPER (very low packet error rate) unicast profile in channel bonding by transmitting a physical layer (PHY) profile value that is equal to 0x12 (i.e., the hexadecimal value equivalent to the binary value “0001 0010”), the number of symbols Nsym is calculated as follows:

    • NBAS,1, NBAS,2: The number of bits per Orthogonal Frequency Division Multiplexing (OFDM) symbol for the two channels to be used (i.e., the primary and extension channels), respectively;
    • Nparity: The number of parity bits per LDPC codeword (same for both channels);
    • kLDPCmax,1, kLDPCmax,2: Maximum LDPC codeword payload sizes from EVM reports for each channel
    • MOH: Bonded channel frame splitting overhead (fixed at 34 Bytes top to cover the worst case)
    • MBAS,i: the (approximate) maximum number of payload bits per OFDM symbol for each channel i.
    • MBAS=MBAS,1+MBAS,2: the maximum payload bits per bonded OFDM symbol








Where


:







M

Bas
,
i



=




N

BAS
,
i


×


kLDPC

max
,
i




kLDPC

max
,
i


+

N
parity







,

i
=
1

,
2




The ratio pi of the payload that can be carried by the primary channel with respect to the extension channel is calculated by the transmitting node with 16 bit precision as








p
i

=



floor


(


2
16

×


M

Bas
,
i



M
Bas



)


×

2

-
16







i

=
1


,
2




If ┌p1(M+MOH)┐−18 is a multiple of 4, then the number of bytes to be transmitted in the primary channel is calculated, by the transmitting node, as:






M
1
=┌p
1(M+MOH)┐





and as:






M
1=max(M,┌p1(M+MOH)┐+4−((┌p1(M+MOH)┐−18)mod 4))


in all other cases.


In this last manipulation, we extended the primary channel fragment (minus the MoCA header of 18 bytes) to the nearest 4 byte boundary in order to satisfy the requirement that each fragment is a multiple of 4 bytes. To prevent that extension from making M1 exceed the total number of bytes M, the above equation caps M1 to the total number of bytes M. Finally, the transmitting node calculates the payload of the secondary channel as:






M
2
=M+M
OH
−M
1


The minimum number of LDPC codewords needed to transport Mi bytes is calculated as:








B

min
,
i


=







M
i

×
8


kLDPC

max
,
i










i

=
1


,
2




and the number of OFDM symbols needed to transmit those codewords is calculated as:








N

SYM
,
i


=








M
i

×
8

+


B

min
,
i


×
Nparity



N

BAS
,
i










i

=
1


,
2




Finally, the transmitting node calculates the number of OFDM symbols that need to be reserved as:






N
SYM=max(NSYM,1,NSYM,2)


Additionally, the transmitting node calculates a set of optimized forward error correction (FEC) parameters, and includes the number of the FEC padding bytes MFECpad in its RR. These parameters are calculated as follows:


The first step of this calculation includes computing the number of information bytes Imaxi, i=1, 2 that can be transported in the primary and secondary channel in the given NSYM symbols. This is accomplished by application of the following equations:


The minimum number of LDPC codewords is calculated as:








B

min
,
i


=







N
sym

×

N

BAS
,
i





kLDPC

max
,
i


+
Nparity









i

=
1


,
2




Targeted number of LDPC codewords is calculated as:







B

LDPC
,
i


=


B

min
,
i


+

{






0






N
sym

×

N

BAS
,
i



-


B

min
,
i


×

(


kLDPC

max
,
i


+
Nparity

)



<
Nparity





1


otherwise













B

LDPC
,
i



=



min


(


B

LDPC
,
i


,

N
sym


)











i

=
1


,
2







Target LDPC payload is calculated as:








kLDPC

target
,
i


=







N
sym

×

N

BAS
,
i




B

LDPC
,
i





-

Nparity





i


=
1


,
2




Where:


(kLDPCi, nLDPCi) code parameters for all but the last codeword







kLDPC
i

=

{







kLDPC

max
,
i






if






kLDPC

target
,
i



>

kLDPC

max
,
i









N

BAS
,
i


-
Nparity






if






kLDPC

target
,
i



+
Nparity

<

N

BAS
,
i








kLDPC

target
,
i




otherwise








i

=
1

,


2






nLDPC
i


=


kLDPC
i

+
Nparity








and where the number of information bytes is calculated as:







Imax
i

=

{







B

LDPC
,
i


×


kLDPC
i

/
8









if






N
sym

×

N

BAS
,
i



-


B

LDPC
,
i


×

nLDPC
i




0









(






N
sym

×

N

BAS
,
i



-






Nparity
×

B

LDPC
,
i






)

/
8





otherwise








(kLDPClast,i, nLDPClast,i) code parameters (for i=1, 2) are calculated as follows:






kLDPlast,i=8×Imaxi(BLDPC,i−1)×kLDPCi,


except if kLDPClast,i≦0, in which case BLDPC,i and kLDPClast,i are modified from the above values as follows:






B
LDPC,i
=B
LDPC,i−1






kLDPClast,i=kLDPClast,i+kLDPCi


where BLDPC,i is now the actual number of codewords.


nLDPClast,i is calculated as:






nLDPClast,i=kLDPClast,i+Nparity.


In addition to the number of information bytes, Imaxi, the above equations also compute the FEC parameters (kLDPCi, nLDPCi) and (kLDPClast,i, nLDPClast,i).


The required padding is calculated by the transmitting node as:






M
FECpad,i
=Imaxi−Mi






N
OFDMpad,i=┌(Nsym×NBAS,i−(BLDPC,i−1)×nLDPCi−nLDPClast,i)/8┐i=1,2


Notice that in the rare event that one of the two channels is granted one more OFDM symbol than what is strictly necessary to carry Mi bytes, the number of FEC padding bytes may exceed the length of a codeword.


The transmitting node includes the summation of the two FEC padding bytes values MFECpad,1+MFECpad,2 in the field PARAMETERS of its RR IE. The transmitting node includes the required time slots for transmitting the A-PDU, computed from Nsym.


Scheduling of the AU by the NC


Once the RR IE is received by the NC, the requested AU (Allocation unit) has to be scheduled. The scheduling algorithm is understood by those of ordinary skill in the art and provided in the MoCA 2.0 standard. If the AU is successfully scheduled, then the NC will grant the time slots requested in the media access plan (MAP). If there is no time available for granting the AU then the NC will ignore the request. If there is only partial time available, the NC grants a number of OFDM symbols Nsym′<Nsym. In this case, the transmission will be fragmented. The NC calculates the number of symbols Nsym″ that will be required for the second fragment. This calculation is as follows:


The NC follows the calculations used to derive the Reservation Request Parameters (as noted above) for the requested number of symbols Nsym and derive the quantities, Imax1 and Imax2.


Using these quantities together with the quantity MFECpad,1+MFECpad,2 from the RR IE, the NC calculates the total number of bytes by M=Imax1+Imax2−(MFECpad,1+MFECpad,2).


The NC follows the calculations used to derive the Reservation Request Parameters (as noted above) for the granted number of symbols Nsym′<Nsym and derives the following quantities Imax1′ and Imax2′.


The NC further calculates the number of padding bytes in the primary and secondary channel of the first fragment to make the fragment a multiple of four bytes MFECpad,1′=Imax1′ mod 4 and MFECpad,2′=Imax2′ mod 4, respectively.


Given these quantities, the NC calculates the total number of bytes, M′, transmitted in the first transmission of Nsym′ symbols as: M′=Imax1′+Imax2′−MFECpad,1′−MFECpad,2′.


The NC also calculates the remaining bytes to be transmitted as: M″=M−M′+MOH, adding the extra header overhead bytes for the second fragment.


Then, the NC follows the calculations used to derive the Reservation Request Parameters (as noted above) to derive the required number of symbols Nsym′ for the second fragment transmission given the number of bytes to be transmitted M″+MOH (including the overhead for splitting the second fragment across the two channels). Further fragmentation of the remaining aggregation unit (AU) of Nsym″ length is also possible, by repeating this process.


MAP Processing—Transmitting Node


Once the RR is transmitted, the transmitting node awaits reception of the MAP. After the MAP has been received, the transmitting node encodes and transmits the A-PDU in the granted AU using the following parameters:

    • FEC parameters (kLDPC1, nLDPC1) and (kLDPClast, 1,nLDPClast,1) for the primary channel and (kLDPC2,nLDPC2) and (kLDPClast,2, nLDPClast,2) for the secondary channel;
    • Payload and padding parameters M1, MFECpad,1, NOFDMpad,1 for the primary channel and M2, MFECpad,2, NOFDMpad,2 for the secondary channel;
    • Bitloading PHY profile parameters, encryption key parameters etc.


If only a partial grant is received for a given A-PDU, the transmitting node follows the calculations used to calculate the scheduling of the AU by the NC (as noted above) for calculating the first granted fragment FEC padding information MFECpad,1′ and payload M′=Imax1′−MFECpad,1′ for the primary channel and similarly MFECpad,2′ and payload M1′=Imax2′−MFECpad,2′ for the secondary channel. The MoCA header, aggregation sub-header and FCSs are constructed for the transmission in each channel, and the transmission of the first fragment is scheduled; then the process is repeated for the second (or more) granted fragments.


MAP Processing—Receiving Node


Upon reception of the MAP, the receiving node calculates the number of symbols in the granted AU from the information in the MAP IE. If the number of symbols is equal to the number of symbols requested Nsym the receiving node follows the calculations used to derive the Reservation Request Parameters (as noted above) (given the number of symbols Nsym) and derives Imax1, Imax2.


In addition to the information bytes, Imax1, this process also computes the FEC parameters (kLDPCi, nLDPCi) and (kLDPClast,i, nLDPClast,i) that will be needed when the transmission is scheduled.


Once the OFDM symbols are received and the LDPC decoder has decoded the LDPC payload, the receiving Node computes the end point of the data segment on each channel from the information received in the header of each channel segment. All data beyond this point is treated as FEC padding and will be discarded. The two segments across the two channels are re-assembled into a single A-PDU and processing from that point on will proceed as in the single channel case.


If the granted number of symbols is less than the requested Nsym′<Nsym, then the receiving node follows the calculations used to derive the Reservation Request Parameters (as noted above) (given the number of symbols Nsym′) and derives Imax1′, Imax2′.


In addition to the information bytes Imaxi′, this process also computes the FEC parameters (kLDPC′i, nLDPC′i) and (kLDPC′last,i, nLDPC′last,i) that will be needed when the fragment transmission is scheduled.


Once the OFDM symbols are received and the LDPC decoder has decoded the LDPC payload, the receiving Node SHALL compute the end point of the data segment on each channel from the information received in the header of each channel segment. All data beyond this point is treated as FEC padding and will be discarded. The two segments across the two channels are re-assembled into a single A-PDU fragment. The same process is repeated for the reception of the second fragment and the two fragments are further processed.


While various embodiments of the disclosed method and apparatus have been described above, it should be understood that they have been presented by way of example only, and should not limit the claimed invention. It will be apparent to one of skill in the art how alternative functional, logical or physical partitioning and configurations can be implemented to implement the desired features of the disclosed method and apparatus. Also, a multitude of different constituent module names other than those depicted herein can be applied to the various components and elements disclosed. Additionally, with regard to operational descriptions, the order in which the steps are presented herein shall not mandate that various embodiments be implemented to perform the recited functionality in the same order unless the context dictates otherwise.


Although the disclosed method and apparatus is described above in terms of various embodiments and implementations, it should be understood that the various features, aspects and functionality described in one or more of the individual embodiments are not limited in their applicability to the particular embodiment with which they are described. Thus, the breadth and scope of the claimed invention should not be limited by any of the above-described embodiments.


Terms and phrases used in this document, and variations thereof, unless otherwise expressly stated, should be construed as open ended as opposed to limiting. As examples of the foregoing: the term “including” should be read as meaning “including, without limitation” or the like; the term “example” is used to provide exemplary instances of the item in discussion, not an exhaustive or limiting list thereof; the terms “a” or “an” should be read as meaning “at least one,” “one or more” or the like; and adjectives such as “conventional,” “traditional,” “normal,” “standard,” “known” and terms of similar meaning should not be construed as limiting the item described to a given time period or to an item available as of a given time, but instead should be read to encompass conventional, traditional, normal, or standard technologies that may be available or known now or at any time in the future. Likewise, where this document refers to technologies that would be apparent or known to one of ordinary skill in the art, such technologies encompass those apparent or known to the skilled artisan now or at any time in the future.


A group of items linked with the conjunction “and” should not be read as requiring that each and every one of those items be present in the grouping, but rather should be read as “and/or” unless expressly stated otherwise. Similarly, a group of items linked with the conjunction “or” should not be read as requiring mutual exclusivity among that group, but rather should also be read as “and/or” unless expressly stated otherwise. Furthermore, although items, elements or components of the disclosed method and apparatus may be described or claimed in the singular, the plural is contemplated to be within the scope thereof unless limitation to the singular is explicitly stated.


The presence of broadening words and phrases such as “one or more,” “at least,” “but not limited to” or other like phrases in some instances shall not be read to mean that the narrower case is intended or required in instances where such broadening phrases may be absent. The use of the term “module” does not imply that the components or functionality described or claimed as part of the module are all configured in a common package. Indeed, any or all of the various components of a module, whether control logic or other components, can be combined in a single package or separately maintained and can further be distributed in multiple groupings or packages or across multiple locations.


As will become apparent to one of ordinary skill in the art after reading this document, the disclosed embodiments and their various alternatives can be implemented without confinement to the examples presented.

Claims
  • 1. A method for bonding a first and second channels of a home network comprising: determining that a node has an aggregated packet data unit (A-PDU) to be transmitted, the A-PDU comprised of M bytes;if both the transmitting and receiving node are capable of operating with channel bonding, and the A-PDU is to have either a unicast profile in channel bonding or a VLPER (very low packet error rate) unicast profile in channel bonding, then calculating the number of symbols (Nsym) required to transmit the M bytes of the A-PDU by; i) calculating the (approximate) maximum number of payload bits per OFDM symbol for each channel (MBAS,i) by multiplying the number of bits per Orthogonal Frequency Division Multiplexing (OFDM) symbol for the first channel (NBAS,1) with the quotient of the maximum LDPC codeword payload sizes from EVM reports for the first channel (kLDPCmax,1) divided by the sum of the maximum LDPC codeword payload sizes from EVM reports for the first channel (kLDPCmax,1) and the number of parity bits per LDPC codeword (Nparity);ii) calculating ratio of the payload that can be carried by the primary channel with respect to the extension channel with 16 bit precision (pi);if the product of the ratio pi times the sum of the number of bytes M in the A-PDU plus the number of bytes MOH in the bonded channel frame splitting overhead minus 18 is a multiple of 4, then calculating the number of bytes M1 to be transmitted by the transmitting node in the primary channel as the product of the ratio pi times the sum of the number of bytes in the A-PDU M plus the number of bytes in the bonded channel frame splitting overhead MOH,if the product of the ratio pi times the sum of the number of bytes M in the A-PDU plus the number of bytes MOH in the bonded channel frame splitting overhead minus 18 is not a multiple of 4, then extending the primary channel fragment (minus the MoCA header of 18 bytes) to the nearest 4 byte boundary, but not exceeding M; andcalculating the payload of the secondary channel M2 as the sum of M bytes plus number of bytes MOH in the bonded channel frame splitting overhead minus the number of bytes M1 to be transmitted by the transmitting node in the primary channel.
  • 2. The method of claim 1, wherein extending the primary channel fragment (minus the MoCA header of 18 bytes) to the nearest 4 byte boundary, but not exceeding M includes calculating the number of bytes M1 to be transmitted by the transmitting node in the primary channel as the maximum of: a) M; andthe difference of pi times the sum of the number of bytes Min the A-PDU plus the number of bytes MOH in the bonded channel frame splitting overhead, that product plus four and modulo four of the difference of the product of the sum of number of bytes Min the A-PDU plus the number of bytes MOH in the bonded channel frame splitting overhead and 18.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 13/402,014, filed Feb. 22, 2012, now U.S. Pat. No. 8,638,808, which is a continuation in part of U.S. application Ser. No. 12/833,827, filed Jul. 9, 2010, now U.S. Pat. No. 8,553,727, which claims the priority benefit of U.S. Provisional Application No. 61/224,445, filed Jul. 9, 2009. Each patent application identified above is incorporated here by reference in its entirety to provide continuity of disclosure.

Provisional Applications (1)
Number Date Country
61224445 Jul 2009 US
Continuations (1)
Number Date Country
Parent 13402014 Feb 2012 US
Child 14165005 US
Continuation in Parts (1)
Number Date Country
Parent 12833827 Jul 2010 US
Child 13402014 US