APPARATUS AND METHOD USING MATRIX NETWORK CODING

Information

  • Patent Application
  • 20140149831
  • Publication Number
    20140149831
  • Date Filed
    February 04, 2014
    10 years ago
  • Date Published
    May 29, 2014
    10 years ago
Abstract
Provided are a communication apparatus and method using a matrix network coding scheme. The communication apparatus includes a reception unit to receive a corrupted packet including a plurality of corrupted words, and a controller to estimate a first decoded word corresponding to the corrupted words based on the corrupted words and a generator matrix. The controller generates a second decoded word corresponding to the corrupted words based on a codebook and the estimated first decoded word. The codebook is based on the generator matrix. The controller generates a message based on a plurality of second decoded words respectively corresponding to the plurality of corrupted words.
Description
BACKGROUND

1. Field


The following description relates to a coding scheme used in a wireless network, and more particularly, to a communication apparatus and a communication method using the network coding scheme.


2. Description of Related Art


Studies are being conducted on communication protocols that may be applied to a wireless network, such as a mesh network, an ad-hoc network, a sensor network, and the like. Nodes in a wireless network have limited transmission power, and channels between nodes may change in state. As a result, there are limitations on methods for improving the performance of a wireless network.


There is an increasing interest in applying network coding schemes to a wireless network to improve performance. In a wireless network using network coding schemes, a relay node may encode messages corresponding to at least two nodes to generate a network coded message, and may transmit the message to the at least two nodes. The at least two nodes may decode the network coded message to extract the desired messages. However, often the messages may become corrupted and may not be properly received by the relay or by one or more of the nodes in the wireless network.


SUMMARY

In one general aspect, there is provided a communication apparatus comprising a transmission and reception unit to receive k input packets and to output an output packet, the k input packets including first to kth input packets, and a controller to select k matrices, to generate q sub-output packets, and to generate the output packet including first to qth sub-output packets, the k matrices including first to kth matrices and the q sub-output packets including the first to qth sub-output packets, wherein the first to kth input packets each comprise q sub-input packets respectively having a length of p, the q sub-input packets including first to qth sub-input packets, the first to kth matrices each include p rows and p columns, and the first to qth sub-output packets are generated based on the k input packets and the k matrices.


A jth sub-output packet may be a sum of a lj multiplied matrix to a kj multiplied matrix when l≦i≦k, l≦j≦q, and an ith matrix multiplied by a jth sub-input packet of an ith input packet may be defined as an ij multiplied matrix.


The first to kth matrices may be invertible.


The first to kth matrices may be randomly selected.


In another aspect, there is provided a communication apparatus comprising a reception unit to receive a corrupted packet including a plurality of corrupted words, and a controller to estimate a first decoded word corresponding to the corrupted words based on the corrupted words and a generator matrix, to generate a second decoded word corresponding to the corrupted words based on a codebook and the estimated first decoded word, and to generate a message based on a plurality of second decoded words respectively corresponding to the plurality of corrupted words, wherein the generator matrix comprises a matrix as an element and the codebook is based on the generator matrix.


The controller may generate a plurality of input bit vectors using the generator matrix and generate a log-likelihood value of the first decoded word corresponding to the corrupted words based on the plurality of input bit vectors and the corrupted words, to estimate the first decoded word.


The controller may generate a parity check matrix based on the generator matrix, generate a plurality of different candidate vectors by performing a hard decision on part of a plurality of symbols included in the corrupted words based on a log-likelihood probability of each of the plurality of symbols and by substituting 0 or 1 for the remaining symbols, search the plurality of candidate vectors for a plurality of codewords that have a product of a codeword multiplied by the parity check matrix being 0, generate a plurality of input bit vectors encoded by the generator matrix into one of the plurality of codewords, and generate a log-likelihood value of the first decoded word corresponding to the corrupted words based on the plurality of input bit vectors and the corrupted words, to estimate the first decoded word.


The controller may determine a number of unreliable symbols that are represented by w, and generate a log-likelihood probability of each of the plurality of symbols included in the corrupted words to generate the plurality of different candidate vectors, the symbols are symbols except for symbols having small w absolute values of the log-likelihood probability from among the plurality of symbols, and a number of the plurality of different candidate vectors is 2w.


The controller may generate a log-likelihood value of the first decoded word by generating a log-likelihood ratio of each bit of the first decoded word and by combining the log-likelihood value of the first decoded word using each bit, the log-likelihood ratio of each bit is generated by generating a probability of the bit to have a value of 1 and generating the probability of the bit to have a value of 0, the probability of the bit to have the value of 1 is a probability at which the corrupted words are generated when a candidate vector having the bit of 1 is generated among the plurality of different candidate vectors, and the probability of the bit to have the value of 0 is a probability at which the corrupted words are generated when a candidate vector having the bit of 0 is generated among the plurality of different candidate vectors.


The controller may generate the second decoded word based on the estimated first decoded word and a map for the code book using a soft or hard decoder.


The controller may generate a parity check matrix based on the generator matrix, generate a syndrome vector obtained by multiplying the parity check matrix by the corrupted words, search a plurality of unique vectors among binary strings having a minimal Hamming weight for a product of a unique vector multiplied by the parity check matrix being the syndrome vector, generate a plurality of codewords which are a sum of the corrupted words and one of the plurality of unique vectors, generate a plurality of input bits vectors encoded by the generator matrix into one of the plurality of codewords, and estimate the plurality of input bit vectors to be the first decoded word, to estimate the first decoded word.


The controller may generate the second decoded word based on the estimated first decoded word and the code book using a hard decoder.


The controller may estimate the first decoded word by selecting one of a transformed sphere decoding and coset decoding based on a state of the communication apparatus and generates the second decoded word.


In another aspect, there is provided a network coding method of a communication apparatus, the method comprising receiving k input packets, the k input packets including first to kth input packets, the first to kth input packets each comprising q sub-input packets respectively having a length of p, and the q sub-input packets including first to qth sub-input packets, selecting k matrices, the k matrices including first to kth matrices and the first to kth matrices each including p rows and p columns, generating q sub-output packets based on the k input packets and the k matrices, the q sub-output packets including the first to qth sub-output packets, and outputting the output packet including first to qth sub-output packets.


In another aspect, there is provided a decoding method of a communication apparatus, the method comprising receiving a corrupted packet including a plurality of corrupted words, estimating a first decoded word corresponding to the corrupted words based on the corrupted words and a generator matrix, generating a second decoded word corresponding to the corrupted words based on a codebook and the estimated first decoded word, and generating a message based on a plurality of second decoded words respectively corresponding to the plurality of corrupted words, wherein the generator matrix comprises a matrix as an element and the codebook is based on the generator matrix.


The estimating of the first decoded word may comprise generating a plurality of input bit vectors using the generator matrix and generating a log-likelihood value of the first decoded word corresponding to the corrupted words based on the plurality of input bit vectors and the corrupted words, so that the first decoded word corresponding to the corrupted words is estimated.


generating of the plurality of input bit vectors may comprise generating a parity check matrix based on the generator matrix, generating a plurality of different candidate vectors by performing hard decision on part of a plurality of symbols included in the corrupted words based on a log-likelihood probability of each of the plurality of symbols and by substituting 0 or 1 for the remaining symbols, searching the plurality of candidate vectors for a plurality of codewords that have a product of a codeword multiplied by the parity check matrix being 0, and generating a plurality of input bit vectors encoded by the generator matrix into one of the plurality of codewords.


The generating of the plurality of different candidate vectors may comprise determining a number of unreliable symbols, the number of unreliable symbols are represented by w, and generating a log-likelihood probability of each of the plurality of symbols included in the corrupted words, the symbols are symbols except for symbols having small w absolute values of the log-likelihood probability among the plurality of symbols, and a number of the plurality of different candidate vectors is 2w.


The estimating of the first decoded word may comprise generating a parity check matrix based on the generator matrix, generating a syndrome vector obtained by multiplying the parity check matrix by the corrupted words, searching a plurality of unique vectors among binary strings having a minimal Hamming weight for a product of a unique vector multiplied by the parity check matrix being the syndrome vector, generating a plurality of codewords which are a sum of the corrupted words and one of the plurality of unique vectors, generating a plurality of input bits vectors encoded by the generator matrix into one of the plurality of codewords, and estimating the plurality of input bit vectors to be the first decoded word.


In another aspect, there is provided a communication apparatus comprising a transmission and reception unit configured to receive first to kth input packets that each comprise first to qth sub-input packets respectively having a length of p, and to output an output packet, and a controller configured to select first to kth matrices each including p rows and p columns, to generate first to qth sub-output packets, and to generate the output packet including first to qth sub-output packets based on the first to kth input packets and the first to kth matrices.


In another aspect, there is provided a communication apparatus comprising a transmission and reception unit configured to receive one or more corrupted packets from another communication apparatus, and a controller configured to reconstruct each of the one or more received corrupted packets by generating a hard decision estimate on each of the received corrupted packets and performing network error correction on each of the one or more received corrupted packets based on the hard decision estimate for each respective received corrupted packet.


The controller may further perform horizontal decoding and vertical decoding on the one or more received corrupted packets to reconstruct the received one or more corrupted packets.


Other features and aspects will be apparent from the following detailed description, the drawings, and the claims.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram illustrating an example of a network system.



FIG. 2 is a diagram illustrating an example of a communication apparatus.



FIG. 3 is a diagram illustrating an example of a communication system using a linearly combining network coding scheme.



FIG. 4 is a diagram illustrating an example of a communication system using a matrix network coding scheme.



FIG. 5 is a flowchart illustrating an example of a method of a source node in a communication system using a matrix network coding scheme.



FIG. 6 is a diagram illustrating an example of a packet output by a source node in a communication system using a matrix network coding scheme.



FIG. 7 is a flowchart illustrating an example of a method of a relay node in a communication system using a matrix network coding scheme.



FIG. 8 is a flowchart illustrating an example of a method of a target node decoding a received packet in a communication system using a matrix network coding scheme.



FIG. 9 is a flowchart illustrating an example of a method of a target node decoding a received packet in a communication system using a matrix network coding scheme.





Throughout the drawings and the detailed description, unless otherwise described, the same drawing reference numerals will be understood to refer to the same elements, features, and structures. The relative size and depiction of these elements may be exaggerated for clarity, illustration, and convenience.


DETAILED DESCRIPTION

The following detailed description is provided to assist the reader in gaining a comprehensive understanding of the methods, apparatuses, and/or systems described herein. Accordingly, various changes, modifications, and equivalents of the methods, apparatuses, and/or systems described herein will be suggested to those of ordinary skill in the art. Also, description of well-known functions and constructions may be omitted for increased clarity and conciseness.



FIG. 1 illustrates an example of a network system.


In this example, the wireless network includes a first source node S1 110, a second source node S2 120, and third to nth source nodes S3 to Sn 114 to 118.


For example, an underlying modulation scheme in the wireless network may be a binary phase shift keying (BPSK) that may be used to map a bit of 0 into a real number of 1 and to map a bit of 1 into a real number of −1.


The wireless network includes a relay node U 130 and a target node T 150.


For example, the source nodes 110 to 118, the relay node U 130, and the target node T 150 may be communication apparatuses such as a mobile terminal, a computer, and the like.


In the network, a communication apparatus performing functions of the source nodes 110 to 118, the relay node 130, and the target node 150 does not function as only a single node. A physical communication apparatus in the network may operate as at least one node among the source nodes 110 to 118, the relay node 130, and the target node 150 at the same time or with lapse of time. For example, while the nodes are labeled as source nodes 110 to 118, relay node 130, and target node 150, it should be appreciated that a node may function as one or more of a source node, a target node, and a relay node within the network. As an example, the relay node 130 may also function as a source node and as a target node.


In this example, the respective source nodes 110 to 118 transmit packets P1 to Pn to the target node 150. For example, S1 may transmit P1 to the target node T.


For example, the respective source nodes 110 to 118 may transmit the packets P1 to Pn to the relay node 130 and to the target node 150. As described above, a node may transmit a packet to a plurality of different nodes by broadcasting or multicasting.


The relay node 130 receives P1 to Pn from the source nodes 110 to 118, shown in a solid line. The relay node 130 may generate an output packet P0 based on the received P1 to Pn and may transmit P0 to the target node 150, as shown by a dotted line.


The target node 150 receives P1 to Pn from the source node 110 to 118 and receives Pn from the relay node 130, shown by the dotted line.


One or more of the packets received by the relay node 130 and/or the target node 150 may be corrupted during the transmission after the packets are output by the source nodes 110 to 118 or the relay node 130. Packets may be corrupted by various factors. For example, the packets P1 to Pn and P0 may be transmitted in a noisy environment and may be become corrupted from the noise.


The target node 150 may make a hard decision on the corrupted packets and may generate hard decision-made estimated packets P1es to Pnes and Poes. For example, the target node 150 may generate an estimated packet P1es based on the received packet P1 that is corrupted.


The target node 150 may perform a network error correction based on the estimated packets P1es to Pnes and Poes to reconstruct the packets P1 to Pn, initially transmitted by the source nodes 110 to 118.



FIG. 1 illustrates an example of one target node 150, however, it should be appreciated that the examples described herein may be applied to a plurality of target nodes. For example, the source nodes 110 to 118 and the relay node 150 may respectively transmit the packets P1 to Pn and Po to the plurality of target nodes, and the plurality of target nodes may receive and process the packets P1 to Pn and Po, respectively.


For example, the packets may be transmitted in a multicast scenario in which P1 to Pn are reconstructed in the plurality of target nodes, respectively. As another example, the packets may be transmitted in a unicast scenario in which each of P1 to Pn is reconstructed in one of the target nodes T1 to Tn. As another example, the packets may be transmitted in a mixed scenario in which some nodes use the multicast scenario and other nodes use the unicast scenario.


For example, a communication link between the nodes may be a discrete, a Gaussian, a fading channel, and the like, which may be modeled, wherein a Rayleigh or Rician fading channel may be used.



FIG. 2 illustrates an example of a communication apparatus.


The communication apparatus 200 may correspond to at least one node from among the source nodes 110 to 118, the relay node 130, and the target node 150.


The communication apparatus 200 includes a transmission and reception unit 210 and a controller 220.


The transmission and reception unit 210 may output a packet generated by the controller 220, may receive a packet transmitted by another communication apparatus, and/or may transmit the packet to the controller 220.


The controller 220 may process the packet received by the transmission and reception unit 210. As a result, the controller 220 may generate a packet and transmit the packet to the transmission and reception unit 210 in order to transmit through a network.


For example, when the communication apparatus 200 operates as one or more of the source nodes 110 to 118, the controller 210 may generate a packet, for example, one of P1 to Pn, and the transmission and reception unit 210 may transmit the generated packet to the relay node 130 and/or the target node 150.


As another example, when the communication apparatus 200 operates as the relay node 130, the transmission and reception unit 210 may receive packets, for example, P1 to Pn, from the source nodes 110 to 118, and the controller 220 may generate an output packet P0 based on the received packets. The generated output packet may be transmitted to the target node 150 through the transmission and reception unit 210.


As another example, when the communication apparatus 200 operates as the target node 150, the transmission and reception unit 210 may receive packets, for example, packets P1 to Pn and P0, from the source nodes 110 to 118 and the relay node 130. One or more of the packets may be corrupted. Accordingly, the controller 220 may reconstruct packets transmitted by the source nodes, for example P1 to Pn and P0, based on the received packets.



FIG. 3 illustrates an example of a communication system using a linearly combining network coding scheme.


In this example, the system includes the same components as the system described above with reference to FIG. 1, and thus, further description thereof is omitted.


For example, packets P1 to Pn generated by the source nodes 110 to 118 may include L symbols selected from custom-character2m. For example, when one symbol has a length of m, a length of each of P1 to Pn may be Lm.


The relay node 130 may generate an output packet P0 using a linear combination on the packets P1 to Pn received from the source nodes. The linear combination may be represented by the following Equation 1.





Σf=1kαiPi  [Equation 1]


In this example, αi is a value selected from custom-character2m.


The network coding may be applied to an analog domain.


For example, when an error does not occur between communication links, packets having at least N linearly independent coefficient vectors may be used to reconstruct the packet P1 to Pn.


An order of the N packets may be expressed by a superscript. For example, Pol may be used to represent an packet generated by the relay node 130.


Where 1=1, 2, . . . , N, the relay node 130 may generate each output packet Pol by the following Equation 2.







P
o
l

=




i
=
1

N








α
i
l



P
i







In this example, with respect to all i and 1, αilεcustom-character2m


A packet output by the source nodes 110 to 118 and the relay node 130 may include a plurality of elements. For example, the elements may be a determined number of symbols. The elements are referred to as a sub-packet. A jth element of a packet Pi is represented by Pi(j), and a jth element of a packet P0 is represented by P0(j).


In this example, where j=1, 2, . . . , N, Pi(j), Pol(j)εcustom-character2m.


When the packet formed of the above elements is used, the relay node 130 may generate an element Pol(j) of an output packet Pol represented by the following Equation 3. In this example, Pol includes the elements Pol(1) to Pol(N).








P
o
l



(
j
)


=




i
=
1

N








α
i
l




P
i



(
j
)








In this example, {tilde over (P)}o(j)=(Pol(j), . . . , PoN(j)), {tilde over (P)}(j)=(Pl(j), . . . , PN(j)) and






A
=

(




α
1
1




α
1
2










α
1
N






α
2
1




α
2
2










α
2
N























α
N
1




α
N
2










α
N
N




)





are defined to establish the following Equation 4.






{tilde over (P)}
o(j)={tilde over (P)}(j)Λ  [Equation 4]


Equation 4 represents a linear system formed of linear equations in custom-character2m. For example, when a matrix Λ is invertible, a solution may be found by the following Equation 5 where j=1, 2, . . . , L.






{tilde over (P)}(j)=Λ−1{tilde over (P)}o(j)  [Equation 5]


For example, the target node 150 may use an inverse matrix to the matrix Λ to identify a jth element of N packets output by the source nodes 110 to 118 from a jth element of N output packets of the relay node 130 which are received by the target node 150.


Thus, the target node 150 may generate the same packets as the N packets output by the source nodes 110 to 118.


As shown in Equation 5, when an error occurs in one of symbols of {tilde over (P)}o(j), the error may influence the generating values of a plurality of symbols from among symbols of {tilde over (P)}(j).


As described herein, when the source nodes 110 to 118 generate a packet by encoding a message to be transmitted using a codebook before the message is output, the above error may be corrected.


For example, where l=1, 2, . . . , L, a source node Sl may encode a message Tl to be transmitted using a codebook Cl. Accordingly, a packet Pl may be generated. Then, even though the target node 150 generates part of values of Pl(j) incorrectly, Tl may be reconstructed correctly while the target node 150 decodes Pl using Cl.


Hereinafter, an example in which there are K linear combinations of packets P1 to Pn received by the target node 150 is described. In this example,







P
o
l

=




i
=
1

N








α
i
l



P
i







is received where l=1, 2, . . . , K.


For example, when a generator matrix G is defined as







G
=

(




α
1
1




α
1
2










α
1
K






α
2
1




α
2
2










α
2
K























α
N
1




α
N
2










α
N
K




)


,




{tilde over (P)}o(j)=(Pol(j), . . . , PoK(j)), and {tilde over (P)}(j)=(Pl(j), . . . , PN(j)), the following Equation 6 is established.






{tilde over (P)}
o(j)={tilde over (P)}(j)G  [Equation 6]


Equation 6 is a linear code represented by a generator matrix G in custom-character2m, and is encoded {tilde over (P)}j. When K>N is established, the linear code may theoretically be used for uncoded P1 to Pn, which are not encoded by the codebook, in order to correct an error.


For example, encoding messages T1 to Tn into packets P1 to Pn using a vertical codebook C1, C2, . . . , CN in the source nodes 110 to 118 may be referred to as a vertical encoding. As another example, encoding respective rows of P1 to Pn by the linear code of the generator matrix G to generate a linearly combined output packet P0 in the relay node 130 may be referred to as a horizontal encoding. That is, P0 may be considered to be encoded by a two-dimensional product code.


For example, the target node 150 may perform a horizontal decoding and a vertical decoding on the received output packet P0 to generate the original message T1.


The vertical encoding, the horizontal encoding, the vertical decoding, and the horizontal decoding may be performed by the controller 210 of the communication apparatus 200.



FIG. 4 illustrates an example of a communication system using a matrix network coding scheme.


In this example, the system includes the same components as the system described above with reference to FIG. 1, and thus, further description thereof is omitted.


The respective source nodes 110 to 118 may vertically encode messages T1 to Tn to generate packets P1 to Pn, and may transmit the packets to the relay node 130 and/or the target node 150.


For example, the relay node 130 may horizontally encode the packets P1 to Pn input from the source nodes 110 to 118 to generate an output packet P0, and may transmit the output packet P0 to the target node 150. The horizontal encoding is further described with reference to FIG. 7.


The target node 150 may horizontally and vertically decode the packets P1 to Pn and P0 that are received from the source nodes 110 to 118 and the relay node 130, to generate the messages T1 to Tn.


The packets P1 to Pn and P0 received by the relay node 130 and the target node 150 may be corrupted. Even though the packets may be corrupted, the horizontal decoding and the vertical decoding may reconstruct and generate the uncoded original messages T1 to Tn. Accordingly, message loss may be reduced.



FIG. 5 illustrates an example of a method of a source node in a communication system using a matrix network coding scheme.


For example, one of the source nodes S1 to Sn 110 to 118 in the system may be referred to as Si(0≦i≦k). In this example, Si generates a message Ti to transmit, in 510.


In 520, Si encodes the message Ti using a codebook C1 to generate a packet Pi formed of symbols. An uncoded case where C1 of some source nodes from among the source nodes 110 to 118 represents uncoded transmission is also included, in 520. For example, the symbols may be generated in a binary field custom-character2. As another example, the symbols may be generated in a general finite field custom-character2m.


In 530, Si transmits the packet Pi to the relay node 130 and the target node 150.


Referring again to FIG. 2, operation 530 associated with output of the packet may be performed by the transmission and reception unit 210, and the other operations 510 and 520 may be performed by the controller 220.



FIG. 6 illustrates an example of a packet output by a source node in a communication system using a matrix network coding scheme.


In this example, the packet Pi 600 includes a plurality of p-dimensional vectors 610 to 690. For example, the packet Pi 600 may be expressed by a sequence having a length of q such as Pi(1), Pi(2), . . . , Pi(q). The p-dimensional vectors 610 to 690 may be referred to as a sub-input packet.


Further, the packet Pi 600 has a length L of pq.


Thus, where j=1, 2, . . . , q, the following Equation 7 may be established.






P
i(j)=(Pi((j−1)p+1),Pi((j−1)p+2), . . . ,Pi(jp))  [Equation 7]



FIG. 7 illustrates an example of a method of a relay node in a communication system using a matrix network coding scheme.


In 710, the relay node receives k packets Ps1, Ps2, . . . , Psk. As shown in FIG. 6, the packets may include q sub-input packets having a length of p. Each packet Psi may be a block of consecutive p symbols, where i=1, 2, . . . , k, and may be represented by the following Equation 8.






P
s
i=(Psi(1),Psi(2), . . . ,Psi(q))  [Equation 8]


In addition, where j=1, 2, . . . , q, the following Equation 9 is established.






P
s
i(j)=(Psi((j−1)p+1),Psi((j−1)p+2), . . . ,Psi(jp))  [Equation 9]


In 720, the relay node selects k p×p matrices A1, A2, . . . , Ak, which are k matrices having p rows and p columns. The matrices may be referred to as a combining coefficient. For example, the matrices may be selected randomly.


Where j=1, 2, . . . , q, in 730 an element of an output packet P0 is generated based on the following Equation 10.






P
o(j)=A1Ps1(j)+A2Ps2(j)+ . . . +AkPsk(j)  [Equation 10]


For example, when an ith matrix Ai multiplied by a jth element Psi(j) of an ith input packet Psi is defined as an ij multiplied matrix, and where i=1, 2, . . . , k, a jth sub-output packet is a sum of a lj multiplied matrix to a kj multiplied matrix.


In 740, an output packet P0 is generated based on the following Equation 11.






P
0=(P0(1),P0(2), . . . ,Po(q))  [Equation 11]


The generated output packet P0 is transmitted to the target node, in 750.


In the above description, each combining coefficient may be invertible, for example, each combining coefficient may have an inverse matrix. For example, where p=1, the matrix network coding is substantially the same scheme as the linear network coding. Thus, the matrix network coding is based on p≧2.


Thus, a packet transmitted by a node in the network has a form in Equation 11 with respect to j=1, 2, . . . , q and the p×p matrices B1, . . . , BN.


In this example, P(j)=B1P1(j)+B2P2(j)+ . . . +BNPN(j). That is, a matrix linear combination may be performed on P1 to Pn using matrix network coding coefficients B1, . . . , BN.


When the target node receiving the packet receives K matrix linear combinations of P1 to Pn (K≧N), the node may receive







P
o
l

=




i
=
1

N








B
i
l




P
i



(
j
)








where j=1, 2, . . . , q and 1=1, 2, . . . , K.


In this example,







G
=

(




B
1
1




B
1
2










B
1
K






B
2
1




B
2
2










B
2
K























B
N
1




B
N
2










B
N
K




)


,




{tilde over (P)}0(j)=(P01(j), . . . , P0K(j)), and {tilde over (P)}(j)=(P1(j), . . . , PN(j)), and thus {tilde over (P)}0(j)={tilde over (P)}(j)G is established.


For example, when K=N, and the matrix G has an inverse matrix, {tilde over (P)}(j)={tilde over (P)}0(j)G−1 is calculated where j=1, 2, . . . , q, and vectors P1(j), . . . , PN(j) may be calculated with respect to each j. Thus, when a transmission error does not occur at all, original packets P1 to Pn may be reconstructed.


Referring again to FIG. 2, operations 710 and 750 associated with the reception and transmission of packets may be performed by the transmission and reception unit 210, and the other operations 720 to 740 may be performed by the controller 220.



FIG. 8 illustrates an example of a method of a target node decoding a received packet in a communication system using a matrix network coding scheme.


This example includes a transformed sphere decoding process and a maximum a posteriori probability (MAP) decoding process.


The transformed sphere decoding process is described first.


The target node receives an output packet P0, in 810.


The received packet may be corrupted during transmission. In this example, R(j), j=1, 2, . . . , q represents a received word {tilde over (P)}0(j) corrupted by Gaussian noise.


The target node generates a parity check matrix H from a generator matrix G, in 820.


In 830, the target node determines a number of unreliable symbols. For example, the number of unreliable symbols may be expressed by w which may be determined by the following Equation 12.









w
=

max


(





p


(

K
-
N

)


2



,






K
p



P
err


+

3




K
p




P
err



(

1
-

P
err


)








+
1


)






[

Equation





1

]







In this example, Perr denotes a bit error probability.


For example, when a bit error is generated statistically independently, a packet having a length of K in a unit of a symbol may have an average bit error of KpPerr and a dispersion of KpPerr(1−Perr). For example, when w is determined to have a value obtained by adding a triple standard deviation to an average value, a large portion of probable outcomes mostly generated by an error Bernoulli process may be captured.


In 840, the target node generates a log-likelihood probability of each element, which is a symbol, of Kp-dimensional {tilde over (P)}0(j) of R(j) where j=1, 2, . . . , q.


The target node may compare absolute values of the generated log-likelihood probabilities and may search for w elements having smaller absolute values of log-likelihood probabilities from among the elements of {tilde over (P)}0(j). Respective positions of the w elements may be referred to i1 to iw. In this example, 1≦i1≦i2≦ . . . ≦iw≦Kp.


The target node performs a hard decision on elements in remaining positions except for i1 and iw in R(j), in 850. For example, among the elements in the remaining positions, elements having a positive log-likelihood result may be changed to 1, and elements having a negative log-likelihood result may be changed to 0.


In this example, the results of the hard decision are expresses as custom-character.


In 860, the target node generates 2w different candidate vectors custom-character1, custom-character2, . . . , custom-character2w. For example, the candidate vectors may be generated by filling the positions of i1<i2< . . . <iw of custom-character with all possible binary numbers. In this example, the candidate vectors are generated by binary expansion of 0, 1, . . . , 2w−1 with respect to custom-character.


The target node searches for custom-characteri, i=1, 2, . . . , 2w satisfying Hcustom-characteri=0 from among the candidate vectors custom-characteri, i=1, 2, . . . , 2w, in 870. For example, custom-characteri, i=1, 2, . . . , 2w may be codewords of G.


For convenience of description, the vectors, which are codewords, are relabeled in number into custom-character1, custom-character2, . . . , custom-characteru with respect to 0≦u≦2w−1. When there is no custom-characteri which satisfies Hcustom-characteri=0.


The target node calculates an input bit vector vi, i=1, 2, . . . , u, encoded into a codeword custom-characteri with respect to each of custom-characteri, i=1, 2, . . . , u, in 880.


Next, the transformed MAP decoding process is described in 890.


When a number of the input bit vectors u is greater than 0, the MAP decoding may be performed as follows.


The target node may calculate a log-likelihood value of each bit of {tilde over (P)}(j) using the received vector R(j) when possible values of {tilde over (P)}(j) are the input bit vectors vi, i=1, 2, . . . , u. That is, Pl1 and Pl0 may be calculated through the following Equations 13 and 14, and a log-likelihood ratio (LLR) of an 1th bit of {tilde over (P)}(j) may be generated, where the LLR of the 1th bit is expressed by log(pl1/pl0).






p
l
1
=P(R(j)|vi,i=1,2, . . . u with 1-th bit equal to 1)  [Equation 13]






p
l
0
=P(R(j)|vi,i=1,2, . . . u with 1-th bit equal to 0)  [Equation 14]


When the number of the input bit vectors u is 0, the target node may make the log-likelihood values of all bits of {tilde over (P)}(j) be 0.


According to the above process, log-likelihood values of all elements of Pi, i=1, 2, . . . , N, may be calculated.


For example, the target node may generate messages T1 to Tn generated by the source nodes 110 to 118 using the log-likelihood values, a MAP for Ci, and a soft or hard decoder, in 890.


Referring again to FIG. 2, operation 810 associated with the reception of packets may be performed by the transmission and reception unit 210, and the other operations 820 to 890 may be performed by the controller 220.



FIG. 9 illustrates an example of a method of a target node decoding a received packet in a communication system using a matrix network coding scheme.


The example described with reference to FIG. 9 is referred to as a coset decoding.


The coset decoding is formed by generalizing the transformed sphere decoding process and the MAP decoding process into binary symmetric channels.


The target node using the coset decoding first performs a hard decision on a received word. Thus, the coset decoding consumes less power in the decoding processing as compared with the transformed sphere decoding.


R(j), j=1, 2, . . . , q, may be a vector generated by the hard decision. For example, the vector may be generated by applying the hard decision on a received signal by the target node.


In this example, R(j), j=1, 2, . . . , q may have {tilde over (P)}0(j) as an input and may be modeled as an output of a binary symmetric channel having a transition probability of Perr.


In 910, the target node generates a parity check matrix H of a generator matrix G.


For example, when a codebook created by the matrix G is referred to as C, and a binary string having a minimal Hamming weight is referred to as xi, the target node may list all 2p(K-N) cosets xi+C, i=1, 2, . . . , 2p(K-N) and also may list xiH with respect to i=1, 2, . . . , 2p(K-N).


In 920, the target node calculates and generates a syndrome vector R(j)H with respect to R(j) where j=1, 2, . . . , q.


The target node searches for a unique vector x* satisfying R(j)H=x*H with respect to all xi, i=1, 2, . . . , 2p(K-N), in 930.


The target node generates a codeword of G custom-character=R(j)+x*, in 940.


In 950, the target node calculates and generates an input bit vector vj encoded by the generator matrix G into a codeword custom-character. In this example, vj is an estimate of {tilde over (P)}(j).


According to the above process, estimates of all bits of Pi, i=1, 2, . . . , N, may be calculated.


The target node generates messages T1 to Tn generated by the source nodes 110 to 118 using the estimates and a hard decision decoder for Ci, in 960.


Referring again to FIG. 2, operation 910 associated with the reception of packets may be performed by the transmission and reception unit 210, and the other operations 920 to 960 may be performed by the controller 220.


As described in the above examples, the target node may selectively use one of the transformed sphere decoding and the coset decoding depending on a state of the node.


For example, the selection from the transformed sphere decoding and the coset decoding may be determined based on a state of the target node, and the target node may be provided with sufficient power.


As a non-exhaustive illustration only, the node or terminal device described herein may refer to mobile devices such as a cellular phone, a personal digital assistant (PDA), a digital camera, a portable game console, an MP3 player, a portable/personal multimedia player (PMP), a handheld e-book, a portable lab-top personal computer (PC), a global positioning system (GPS) navigation, and devices such as a desktop PC, a high definition television (HDTV), an optical disc player, a setup box, and the like, capable of wireless communication or network communication consistent with that disclosed herein.


A computing system or a computer may include a microprocessor that is electrically connected with a bus, a user interface, and a memory controller. It may further include a flash memory device. The flash memory device may store N-bit data via the memory controller. The N-bit data is processed or will be processed by the microprocessor and N may be 1 or an integer greater than 1. Where the computing system or computer is a mobile apparatus, a battery may be additionally provided to supply operation voltage of the computing system or computer.


It should be apparent to those of ordinary skill in the art that the computing system or computer may further include an application chipset, a camera image processor (CIS), a mobile Dynamic Random Access Memory (DRAM), and the like. The memory controller and the flash memory device may constitute a solid state drive/disk (SSD) that uses a non-volatile memory to store data.


The processes, functions, methods and/or software described above may be recorded, stored, or fixed in one or more computer-readable storage media that includes program instructions to be implemented by a computer to cause a processor to execute or perform the program instructions. The media may also include, alone or in combination with the program instructions, data files, data structures, and the like. The media and program instructions may be those specially designed and constructed, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable storage media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM disks and DVDs; magneto-optical media such as optical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like. Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter. The described hardware devices may be configured to act as one or more software modules in order to perform the operations and methods described above, or vice versa. In addition, a computer-readable storage medium may be distributed among computer systems connected through a network and non-transitory computer-readable codes or program instructions may be stored and executed in a decentralized manner.


A number of examples have been described above. Nevertheless, it should be understood that various modifications may be made. For example, suitable results may be achieved if the described techniques are performed in a different order and/or if components in a described system, architecture, device, or circuit are combined in a different manner and/or replaced or supplemented by other components or their equivalents. Accordingly, other implementations are within the scope of the following claims.

Claims
  • 1. A communication apparatus, comprising: a transmission and reception unit configured to receive a first packet; anda controller configured to decode the first packet to generate information of N second packets, and to decode the N second packets using the information to generate N messages, whereinthe first packet is a packet generated using a matrix network coding on the N second packets, the N second packets are packets generated by encoding the N messages using N codebooks, and N is an integer value greater than zero.
  • 2. The communication apparatus of claim 1, wherein when an error does not occur between communication links, packets having at least Np linearly independent coefficient vectors are used to reconstruct the N input messages, wherein p is an integer value greater than one.
  • 3. The communication apparatus of claim 1, wherein first to kth matrices are, each including p rows and p columns, used to generate the N second packets from the N messages, wherein the first to kth matrices are randomly selected, and k is an integer value greater than zero.
  • 4. The communication apparatus of claim 2, wherein a jth sub-output packet of the first packet is a sum of a lj multiplied matrix to a kj multiplied matrix when l≦i≦k, l≦j≦q, and a matrix multiplied by a jth sub-input packet of an ith input packet is defined as an ij multiplied matrix, and i and j are integer values greater than zero.
  • 5. A decoding method, the method comprising: receiving a first packet;decoding, at a processor, the first packet to generate information of N second packets; anddecoding, using the processor, the N second packets using the information to generate N messages, wherein the first packet is a packet generated using matrix network coding on the N second packets, the N second packets are packets generated by encoding the N messages using N codebooks, and N is an integer value greater than zero.
  • 6. A communication apparatus, comprising: a reception unit configured to receive a packet including an input word; anda controller configured to estimate a first decoded word corresponding to the input word based on the input word and a generator matrix, to generate a second decoded word corresponding to the input word based on a codebook and the first decoded word, and to generate a message based on the second decoded word, wherein the codebook is based on the generator matrix.
  • 7. The communication apparatus of claim 6, wherein the input word is a corrupted word.
  • 8. The communication apparatus of claim 6, wherein the controller estimates the first decoded word by generating an input bit vector using the generator matrix and generating a log-likelihood value of the first decoded word corresponding to the input word based on the input bit vector and the input word to estimate the first decoded word.
  • 9. The communication apparatus of claim 6, wherein the controller generates the second decoded word based on the estimated first decoded word and a map for the codebook using a soft or hard decoder.
  • 10. The communication apparatus of claim 6, wherein the controller generates a parity check matrix based on the generator matrix, generates a syndrome vector obtained by multiplying the parity check matrix by the input word, searches a unique vector among binary strings having a minimal Hamming weight for a product of the unique vector multiplied by the parity check matrix being the syndrome vector, generates a codeword, which is a sum of the input word and one of the unique vector, generates an input bit vector encoded by the generator matrix into one of the codeword, and estimates the input bit vector to be the first decoded word.
  • 11. The communication apparatus of claim 6, wherein the controller generates the second decoded word based on the estimated first decoded word and the code book using a hard decoder.
  • 12. The communication apparatus of claim 6, wherein the controller estimates the first decoded word by selecting one of a transformed sphere decoding and coset decoding based on a state of the communication apparatus.
  • 13. A network coding method, comprising: receiving a packet including an input word;estimating a first decoded word corresponding to the input word based on the input word and a generator matrix;generating a second decoded word corresponding to the input word based on a codebook and the first decoded word; andgenerating a message based on the second decoded word, wherein the codebook is based on the generator matrix.
  • 14. A decoding apparatus, comprising: a transmission and reception unit configured to receive a matrix linear combination of first packets and second packets, wherein the second packets is a linear combination of the first packets; anda controller configured to calculate a product of an inverse matrix of a generator matrix and the second packets, and to calculate vectors of the first packets to decode the first packets and generate original messages.
  • 15. The decoding apparatus of claim 14, wherein each first packet comprises q sub-input packets having a length p, where q and p are integer values greater than zero.
  • 16. The decoding apparatus of claim 15, wherein the q sub-input packets are dimensional vectors, the first packets are input packets, and the second packets is an output packet.
  • 17. A decoding method, comprising: receiving a matrix linear combination of first packets and a second packets at a transmission and reception unit, wherein the second packets is a matrix linear combination of the input packets;calculating, at a controller, a product of an inverse matrix of a generator matrix with the second packets; andcalculating, at the controller, vectors of the first packets to decode the first packets and generate original messages.
Priority Claims (1)
Number Date Country Kind
10-2010-0055420 Jun 2010 KR national
CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a Continuation Application of U.S. application Ser. No. 14/083,912, filed Nov. 19, 2013, which is a Continuation Application of U.S. application Ser. No. 13/027,438, filed Feb. 15, 2011, now U.S. Pat. No. 8,612,833, issued Dec. 17, 2013, which claims the benefit under 35 U.S.C. §119(a) of Korean Patent Application No. 10-2010-0055420, filed on Jun. 11, 2010, in the Korean Intellectual Property Office, the entire disclosures of which are incorporated herein by reference for all purposes.

Continuations (2)
Number Date Country
Parent 14083912 Nov 2013 US
Child 14172186 US
Parent 13027438 Feb 2011 US
Child 14083912 US