Fulcrum: Flexible Network Coding for Heterogeneous Devices
Abstract
Producción Científica
Full text
Received November 8, 2018, accepted November 26, 2018, date of publication November 30, 2018, date of current version December 31, 2018. Digital Object Identifier 10.1109/ACCESS.2018.2884408 Fulcrum: Flexible Network Coding for Heterogeneous Devices DANIEL E. LUCANI 1, (Senior Member, IEEE), MORTEN VIDEBÆK PEDERSEN2, DIEGO RUANO 3,4, CHRES W. SØRENSEN5, FRANK H. P. FITZEK6, JANUS HEIDE2, OLAV GEIL 7, VU NGUYEN6, AND MARTIN REISSLEIN 8, (Fellow, IEEE) 1DIGIT Centre, Department of Engineering, Aarhus University, 8200 Aarhus, Denmark 2Steinwurf ApS, 9220 Aalborg, Denmark 3IMUVA-Mathematics Research Institute, University of Valladolid, 47011 Valladolid, Spain 4Department of Mathematical Sciences, Aalborg University, 9200 Aalborg, Denmark 5Chocolate Cloud ApS, 9220 Aalborg, Denmark 65G Lab Germany, Deutsche Telekom Chair of Communication Networks, Technische Universitaet Dresden, 01069 Dresden, Germany 7Department of Mathematical Sciences, Aalborg University, 9200 Aalborg, Denmark 8School of Electrical, Computer and Energy Engineering, Arizona State University, Tempe, AZ 85287-5706, USA Corresponding author: Martin Reisslein ([email protected]) This work was supported in part by the Green Mobile Cloud project under Grant DFF-0602-01372B, in part by the Colorcast project under Grant DFF-0602-02661B, in part by the TuneSCode Project under Grant DFF - 1335-00125, and project Grant DFF-4002-00367 granted by the Danish Council for Independent Research, in part by the Spanish MINECO/FEDER Project under Grants MTM2012-36917-C03-03, Grant MTM2015-65764-C3-2-P, and Grant MTM2015-69138-REDT, in part by the RYC-2016-20208 (AEI/FSE/UE), and in part by the Aarhus Universitets Forskningsfond Starting Grant Project AUFF-2017-FLS-7-1. ABSTRACT We introduce Fulcrum, a network coding framework that achieves three seemingly conflicting objectives: 1) to reduce the coding coefficient overhead down to nearly nbits per packet in a generation of npackets; 2) to conduct the network coding using only Galois field GF(2) operations at intermediate nodes if necessary, dramatically reducing computing complexity in the network; and 3) to deliver an end- to-end performance that is close to that of a high-field network coding system for high-end receivers, while simultaneously catering to low-end receivers that decode in GF(2). As a consequence of 1) and 3), Fulcrum has a unique trait missing so far in the network coding literature: providing the network with the flexibility to distribute computational complexity over different devices depending on their current load, network conditions, or energy constraints. At the core of our framework lies the idea of precoding at the sources using an expansion field GF(2h),h>1, to increase the number of dimensions seen by the network. Fulcrum can use any high-field linear code for precoding, e.g., Reed-Solomon or Random Linear Network Coding (RLNC). Our analysis shows that the number of additional dimensions created during precoding controls the trade-off between delay, overhead, and computing complexity. Our implementation and measurements show that Fulcrum achieves similar decoding probabilities as high field RLNC but with encoders and decoders that are an order of magnitude faster. INDEX TERMS Decoding probability, random linear network coding (RLNC), resource-constrained devices, throughput. I. INTRODUCTION A. NETWORK CODING OVERVIEW Ahlswede et al. [2] proposed network coding (NC) as a means to achieve network capacity of multicast sessions as determined by the min-cut max-flow theorem [3], a feat that was provably unattainable using standard store-and-forwarding of packets (routing). NC breaks with this store-and-forward packet routing paradigm, encouraging intermediate network nodes to mix (recode) data packets. Thus, network coding proposed a store-code-forward paradigm to network operation, essentially extending the set of functions assigned to intermediate network nodes to include coding [4], [5]. Linear network codes were shown to be sufficient to achieve multicast capacity [6]. RLNC provides an asymptotically optimal and distributed approach to create linear combinations using random coefficients at intermediate network nodes [7]. Network coding has shown significant gains in a multitude of settings, from wireless networks [8]–[22] and 77890 2169-3536 2018 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information. VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices multimedia transmission [23]–[27], to distributed storage and content distribution [28]–[33] and Peer-to-Peer (P2P) networks [34]–[36]. Practical implementations have also confirmed the gains and capabilities of NC [37]–[39]. The reason behind these gains lies in two facts. First, the network does not need to transport each packet without modification, which opens more opportunities and freedom to deliver the data to the receivers and increases the impact of each transmitted coded packet (a linear combination of the original packets). Second, receivers no longer need to track individual packets, but instead accumulate enough independent linear combinations in order to recover (decode) the original packets. These relaxations have a profound impact on system designs and achievable gains. B. MOTIVATION: HETEROGENEOUS NETWORKING SCENARIOS AND DEVICES After more than a decade of research and in spite of NC’s theoretical gains in throughput, delay, and energy performance, its widespread assimilation remains elusive. One, if not the most, critical weakness of the NC technology is the inherent complexity that NC introduces into network devices. This complexity is driven by two factors. First, devices must perform additional processing, which may limit the energy efficiency gains or even become a bottleneck in the system’s overall throughput if processing is slower than the incoming/ outgoing data rates [40]–[42]. This additional effort can be particularly onerous if we consider that the conventional wisdom dictates that large field sizes are needed to provide high reliability, throughput, and delay performance [43], [44]. In addition to the computational burden, the use of high field sizes comes at the cost of a high signaling overhead to communicate the coefficients used for coding the data packets. Other alternatives, e.g., sending a seed for a pseudo-random number generator, are relevant for end-to-end communication, but do not allow for a simple recoding mechanism in intermediate network nodes. Interestingly, [43] showed that using small to moderate field sizes, e.g., GF(2) (whereby we denote GF(q) and Fqfor finite fields of size q), is key to achieving a reasonable trade-off among computational complexity, throughput performance, and total overhead, especially when recoding data packets in intermediate network nodes. This is encouraging since GF(2) encoding/decoding could be as fast as 160 Mbps and 9600 Mbps in a 2009 mobile phone and laptop [45], respectively, while in 2013 the speeds increased by five-fold in high-end phones [46]. Even limited sensors, e.g., TelosB motes, can generate packets in GF(2) at up to 500 kbps [47]. The GF(2) decoding goodput can reach up to 100 Mbps and over 1000 Mbps on the Samsung S3 and S5, respectively [48], while 20 Mbps and 110 Mbps can be reached with the Raspberry Pi 1 and 2, respectively [49]. Second, devices must support different configurations, e.g., different field sizes, for each application or data flow, to achieve a prescribed target performance. Supporting disparate configurations translates into high costs in hardware, firmware, or software. In computationally constrained devices, e.g., sensors, the support for encoding, recoding, or decoding in higher fields is prohibitive due to the required processing complexity. On the other end of the spectrum, computationally powerful devices may also be unable to support multiple configurations. For example, highload, high-speed Internet routers would require deep packet inspection to determine the coding configuration, followed by a different treatment of each incoming packet. This translates into additional expensive hardware to provide high processing speeds. Additionally, intermediate network nodes are typically heterogeneous, which limits the system’s viable configurations. A separate, yet related practical issue is that receivers interested in the same data flow may have widely differing computational, display, and battery capabilities as well as different network conditions. This end-device heterogeneity may restrict service quality at high-end devices when support is required for low-end devices, may deny service to low-end devices for the benefit of high-end devices, or may require the system to invest additional resources supporting parallel data flows, each with distinct characteristics matching different sets of end devices. A straightforward option to solve the compatibility and complexity challenges is to limit sources, intermediate nodes, and receivers to use only GF(2). However, using only GF(2) may prevent high-end devices from achieving high reliability and throughput performance. Is it possible to develop a single, easily implementable, and compatible network coding framework that supports flows with different end-to-end requirements? C. CONTRIBUTION: FULCRUM NETWORK CODING FRAMEWORK We address the need for a flexible network coding framework by developing and evaluating the Fulcrum network coding framework. The name Fulcrum is derived from the meaning of ‘‘fulcrum’’ as the point on which a mechanical lever pivots in a simple mechanical machine. The Fulcrum network coding framework combines an outer and an inner network code and achieves its flexibilities by pivoting between different operational modes of the outer and inner network codes. More specifically, Fulcrum uses only GF(2) operations (inner network coding) in the network (see Fig. 1), to reduce overhead and computational cost, as well as to ensure compatibility for heterogeneous devices and data flows. At the same time, Fulcrum provides the opportunity to employ higher fields end-to-end via a tunable and straightforward precoding (outer network coding) mechanism for higher performance. Fig. 1shows a Fulcrum example, where two sources operate using different fields GF(2h) and GF(2b) for source 1 and 2, respectively. The intermediate nodes in the network use only GF(2) operations. With Fulcrum network codes, the left-most receiver of flow 2 (the nature image from source 2) can choose to decode using GF(2) only as it has limited computation capabilities. Since the left-most receiver of flow 1 (the Lena image from source 1) has a better VOLUME 6, 2018 77891
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 1. Fulcrum network codes allow sources and receivers to operate at higher field sizes to achieve high performance but maintain compatibility with the GF (2)-only network. Receivers can choose to trade off delay with decoding effort by choosing to decode with GF (2) or in higher fields. channel than the other devices and the router may have to broadcast for a longer time due to the other receiver, this leftmost receiver can choose to save energy on computation by accumulating additional packets and decoding using GF(2). Furthermore, this left-most receiver can also recode packets and send them to a neighbor interested in the same content, thus increasing the coverage of the system and reducing the number of transmissions needed to deliver the content. II. SPECIFICATION OF FULCRUM NETWORK CODING FRAMEWORK The key goals of the Fulcrum network coding framework are: 1) Reduce the overall overhead of network coding (a) by reducing the overhead due to coding coefficients per packet, and (b) by reducing the overhead due to transmission of linearly dependent packets. 2) Provide simple operations at the routers/devices in the network. The key is to make recoding at these devices as simple as possible, without compromising network coding capabilities. 3) Enable a simple and adaptive trade-off between performance and complexity. 4) Support compatibility with any end-to-end linear erasure code in GF(2h),h>1. 5) Control and choose desired performance and effort for a variety of applications in end devices, while providing intermediate nodes with simple compatible network coding. A. GENERAL UNDERLYING PRINCIPLES The key technical idea of Fulcrum is to introduce a dimension expansion step. In particular, a batch of nsource packets, typically called a generation, from the original file or stream is expanded into n+rcoded packets, whereby the rcoded packets contain redundant information and are called expansion packets. After the expansion, each resulting coded packet is treated as a new packet that will be coded in GF(2) and sent through the network, see Fig. 2. Since addition in any field of the type GF(2k), k≥1, is simply a bit-wise Exclusive OR (XOR) operation, the underlying linear mapping in higher fields can be reverted at the receivers. The reason for the expansion is related to the performance of GF(2), which can introduce non-negligible overhead in some settings [15], [44]. More specifically, GF(2) coded packets have a relatively high probability of being linearly dependent when large data sets are available at the receiver. Increasing dimensions addresses this linear dependency problem by mapping back to the high field representation after receiving nlinearly independent coded packets and decoding before the probability of receiving independent combinations in GF(2) becomes prohibitively low, as analyzed in detail in Section III. The number r of additional dimensions (expansion packets) controls the decoding probability. The larger r, the higher the decoding probabilities achieved by the receivers while still using GF(2) in the network. Our approach naturally divides the problem into the design of inner and outer codes, using the nomenclature of concatenated codes [50]. Concatenating codes is a common strategy in coding theory, but has typically only been used for increasing throughput performance point-to-point [50] or end-to- end, e.g., Raptor codes [51]. Some recent NC studies have considered the idea of using concatenation (i) to create overlapping generations (with the same field size in the inner and outer code) so as to make the system more robust to time-dependent losses [52], [53]; (ii) to decompose the network into small sub-networks in order to simplify cooperative relaying [54]; (iii) to connect NC and error correcting channel coding, e.g., [55]; or (iv) to design subspace codes for noncoherent network coding [56]. Fulcrum is fundamentally disruptive in two important ways. First, we allow the outer code to be agreed upon by the sources and receivers (dimension expansion), while the inner code is created in the network by recoding packets. Thus, we provide a flexible code structure with controllable throughput performance. Second, Fulcrum provides a conversion from higher field (GF(2h),h>1) arithmetic to GF(2) to reduce computational complexity. The division into two separate codes has an added advantage, not envisioned in previous approaches. This advantage comes from the fact that the senders can control the outer code structure to accommodate heterogeneous receivers. The simplest way to achieve this is by using a systematic structure in the outer code. This systematic outer coding structure provides the receivers with the alternative to decode in GF(2) after receiving n+rcoded packets instead of mapping back to higher fields after receiving ncoded packets. This decoding in GF(2) has low decoding complexity, as GF(2) operations are computationally simple, but incurs higher delay since r additional packets must be received. If the precoding uses a systematic structure, the system can support three main types of receivers, see Fig. 2. First, a computationally powerful receiver can decode in GF(2h) by mapping back from the received GF(2) combinations. We call 77892 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 2. Illustration of Fulcrum network coding framework with outer GF (2h),h>1, and inner GF (2) code structures. The outer code is typically established end-to-end. The inner GF (2) recoder has low computational complexity and supports a wide range of functionalities. (Some applications could use outer recoders at intermediate nodes for higher efficiency.) The sinks can choose from three main types of decoders: the inner, the outer, and the combined decoders. The outer decoder can operate with any configuration of outer/inner codes, while the inner and combined decoders require a specific structure of the outer code, i.e., a systematic code. this the outer decoder. The mapping back procedure is simple because the addition in any extension field GF(2h),h≥1, is the same as that in GF(2), namely, a bit-by-bit XOR. We show that accumulating nlinearly independent GF(2) coded packets is sufficient to decode in the higher field. A receiver that decodes in GF(2) reduces its decoding computing complexity but needs to gather n+rindependent linear combinations. Finally, we show that a hybrid decoder is possible, which can maintain the high decoding probability when receiving ncoded packets as in the high-field decoder, while having similar decoding computing complexity to that of the inner decoder. We call this hybrid decoder the combined decoder. Our work is inspired in part by Thomos and Frossard [57], who attempted to limit the overhead to a single symbol per packet. Thomos and Frossard carefully designed the packet coding at the source; however, only a small number of packets could be transmitted while maintaining the overhead at one symbol per packet. In contrast, we argue that the careful code construction is not really needed. Through our Fulcrum network coding framework, we break free from the constraint of a single symbol overhead and open up the potential (i) to reduce the overhead per packet in the network to roughly that of an end-to-end GF(2) RLNC system (which is equivalent to the overhead reported in [57]), (ii) to trade off performance in the presence of heterogeneous receivers exploiting a family of precoders, and (iii) to exploit any generation size without introducing a synthetic constraint due to the field size at the precoder. Thus, the approach in [57] is a special subcase of our general Fulcrum framework. B. FULCRUM ENCODING AT THE SOURCE 1) ENCODING SPECIFICATION a: OUTER ENCODING Using noriginal (input) source packets P1,P2,...,Pi,..., Pn, the source generates n+rcoded packets 1, 2, . . . , j, ...,n+rusing GF(2h) operations, see Fig. 2-Source [7]. We refer to the additional rcoded packets as expansion packets. We denote the outer coding coefficients as ωj,i,j= 1,2,...,n+r;i=1,2,...,n. The outer encoding linearly combines the nsource packets Pi,i=1,2,...,n, ‘‘weighed’’ by the outer coding coefficients ωj,ito form the outer coded packet j= n X i=1 ωj,iPi,j=1,2,...,n+r.(1) We refer to the vector of outer coding coefficients ωj,i,i= 1,2,...,n, denoted by {ωj,i}i=1,2,...,n, that are utilized to generate encoded packet j,j=1,2,...,n+r, as the outer encoding vector of packet j. For systematic outer encoding, the outer encoding vectors for coded packets j,j=1,2,...,n, form an identity matrix of dimension n×n, i.e., coded packets Cj,j=1,2,...,n, are identical to the source packets Pj. However, the outer coding coefficients ωj,i,j=n+1,n+2,...,n+r;i= 1,2,...,nfor the rexpansion packets are randomly selected from GF(2h), i.e., the rexpansion packets are linear combinations of the nsource packets formed with random GF(2h) coding coefficients. For non-systematic outer coding, all outer coding coefficients ωj,i,j=1,2,...,n+r;i=1,2,...,n, are randomly VOLUME 6, 2018 77893
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices selected from GF(2h), i.e., all n+router coded packets are linear combinations of the nsource packets. b: INNER ENCODING The source takes the outer coded packets j,j= 1,2,...,n+r, as input for the inner encoding, which is conducted in GF(2). The source randomly selects inner coding coefficients ιk,j,k=1,2, . . . ;j=1,2,...,n+r, from GF(2) and forms inner coded packet Ckas Ck= n+r X j=1 ιk,jCj.(2) Generally, the coding over GF(2) is performed in accordance with the network’s supported inner code. For example, if the network nodes support RLNC, then the source generates GF(2) RLNC inner coded packets. We refer to the set of inner coding coefficients ιk,j,j=1,2,...,n+r, that are utilized to generate the inner coded packet Ck,k=1,2, . . ., as the inner encoding vector of packet Ckand denote this vector by {ιk,j}j=1,2,...,n+r. This inner encoding vector is included in the header of the encoded inner packet so as to enable recoding in intermediate network nodes. Note that for a Fulcrum coding structure with nsource packets followed by r expansion packets, the first ncoding coefficients ιk,j,j= 1,2,...,ncorrespond to the nsource packets (in uncoded form for a systematic outer encoding or coded form for a nonsystematic outer coding). The next rcoefficients correspond to the expansion packets. Our main design constraint is that the receivers should (i) be able decode with the n+rcoded packets, and more importantly (ii) be able to decode with high probability after the reception of ncoded packets. Given that the source controls the structure of the outer coding (and the positioning of the expansion packets), we could use a Reed-Solomon (RS) outer code, which is known end-to-end, or we could send the seed that was used to generate the random outer coding coefficients ωj,i,j=1,2,...,n+r;i=1,2,...,nto the receivers. The Fulcrum coding framework assumes that the parameters generation size n, number of expansion packets r, and the outer coding coefficients ωj,i,j=1,2,...,n+r; i=1,2,...,nare exchanged between source and receivers during the flow setup. In order to cater to the capabilities of heterogeneous receivers, we recommend the use of a systematic outer encoding, which guarantees condition (i), but also provides interesting advantages for computationally constrained receivers as explained in more detail in Section II-D. With systematic outer encoding, the source and receivers only need to exchange outer coding coefficients ωj,i,j=n+1, n+2,...,n+r;i=1,2,...,n, during flow setup. 2) ENCODING IMPLEMENTATION In this section we describe our actual implementation of the Fulcrum encoder in the Kodo network coding library [58]. For our initial implementation, we utilized two RLNC codes with the outer code operating in GF(28) or GF(216) and the inner code operating in GF(2). The encoder implementation in the Fulcrum framework is quite simple. Essentially, the two encoders can be implemented independently, whereby the outer encoder uses the noriginal source symbols to produce n+rinput symbols for the inner encoder. In general, the inner encoder can be oblivious to the fact that the input symbols may already contain encoded data. For the initial implementation we required all source symbols to be available before any encoding could take place. This is however not necessary in cases where both encoders support systematic encoding. In such cases, it would be possible to push the initial nsymbols directly through both encoders without any coding operations or adding additional delay. An illustration of this systematic encoding is shown in Fig. 3(a), where n=8 original symbols are sent with the outer encoder configured to build an expansion of r=2. As both encoders in Fig. 3(a) are systematic, no coding takes place until steps 9 and 10, when the outer encoder produces the first encoded symbols. At this point, the inner encoder is still in the systematic phase and therefore passes the two symbols directly through to the network. In step 11, the inner encoder also exits the systematic phase and starts to produce encoded symbols. At this stage, the inner encoder is fully initialized and no additional symbols are needed from the outer encoder, all following encoding operations therefore take place in the inner encoder. As shown in this simple example, the systematic structure in both encoders can be very beneficial for low delay applications because packets can be sent as they arrive at the encoder [59]–[63]. Systematic encoding is not always required for attaining this low delay. Alternatively, the inner encoder could be a standard RLNC encoder, only generating non-zero coefficients for the available symbols, i.e., using an on-the-fly encoding mechanism. In the case of a non-systematic inner code, this low delay performance is typically not possible. However, there are several applications where non-systematic encoding may be more beneficial, e.g., for security, multiple-source and/or multi-hop networks. For data confidentiality, a systematic outer code can become a system vulnerability. A dense high field outer code is key to providing high levels of confidentiality. As an example, Fig. 3(b) shows the use of a nonsystematic outer encoder. Assuming the outer mapping is kept secret, only nodes with knowledge of the secret would be able to decode the actual content. Whereas all other nodes would still be able to operate on the inner code. Fig. 3(b) shows that it is also possible to use a non-systematic inner encoder. A non-systematic inner encoder can minimize the risk of transmitting linear dependent information in networks which may contain multiple sources for the same data, e.g., in peer-to-peer systems, or if the state of the sinks is unknown. 77894 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 3. Illustrative examples of outer and inner encoders in Fulcrum framework with n=8 source packets and r=2 expansion packets generated by the outer encoder. (a) Systematic outer encoder and systematic inner encoder. (b) Non-systematic outer encoder and nonsystematic inner encoder. C. RECODING AT INTERMEDIATE NETWORK NODES The operations at the intermediate network nodes are quite simple, see Fig. 2-Network. Essentially, the network nodes receive coded packets in GF(2) of the form Pn+r j=1ιk,jj, store them in their buffers, and send recoded versions to the next hops, typically implementing an inner recoder as described in the following. The recoding mechanism defines the structure of the inner code of our Fulcrum system. Recoding can be done as a standard GF(2) RLNC system would do, i.e., each packet in the buffer has a probability of 1/2 to be XORed with the others to generate the recoded packet. However, the network can also support other recoding mechanisms, such as recoding for perpetual network codes [64] and for tunable sparse network coding [65], [66], or even no recoding. In some scenarios, it may be possible to allow intermediate network nodes to know and to exploit the outer code, see Fig. 2-Network. In particular, when an intermediate node gathers nlinearly independent coded packets in the inner code, then the node can map back to the higher field in order to decode the data and improve the quality of the recoded packets. The rationale is that, at that point, the node could recreate the original code structure and generate the additional dimensions rthat are missing in the inner code, thus speeding up the transmission process. Although not required for the operation of the system, this optional mechanism can be useful if the network nodes are allowed to trade off throughput performance with complexity. This option is not examined in detail in this paper and is left for future research. D. FULCRUM DECODING AT THE RECEIVERS We initially assume a systematic outer code, which allows for three main types of receivers. In particular, the outer decoder can operate with arbitrary outer encoding, while the inner and combined decoder require a systematic outer encoding. 1) INNER DECODER a: SPECIFICATION Receivers using an inner decoder decode n+rreceived GF(2) coded packets using GF(2) operations, see Fig. 4-left. The GF(2) decoding is computationally fast, although there is some additional cost for decoding an (n+r)×(n+r) matrix. If the outer encoding had used a systematic structure, then the inner decoding provides the original packets without additional decoding in GF(2h). The penalty for this reduced computational effort is the additional delay incurred by waiting for n+rindependent linear combinations in GF(2). Thus, there is no benefit over standard GF(2); however, Fulcrum provides compatibility with other receivers that utilize higher GF(2h) field sizes. b: IMPLEMENTATION The inner decoder’s implementation is very similar to a standard RLNC GF(2) decoder configured to receive n+r symbols, see Fig. 5. The only difference is that only nof the decoded symbols contain the original encoded source data. 2) OUTER DECODER a: SPECIFICATION Receivers using an outer decoder map back to the original linear combination in GF(2h), see Fig. 4-middle. This means VOLUME 6, 2018 77895
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 4. Overview of components of the three types of Fulcrum decoders. Each decoder operates on the same data stream coming from the network. This makes it possible to support heterogeneous receivers using some mix of the three decoding types. FIGURE 5. Illustration of coding coefficient vector processing for Fulcrum inner decoder: n+r=6+2 linearly independent GF (2) coded packets are decoded using GF (2) decoding and the r=2 (right-most) coding coefficient columns corresponding to the expansion packets are discarded to obtain the original source data (provided the outer encoding was systematic). that after receiving nindependent coded packets in GF(2), the receiver can decode an n×nmatrix in the original field GF(2h) with high probability. More specifically, coded packets in GF(2) arrive to the receivers. Utilizing their knowledge of the positioning of the rexpansion packets relative to the nsource packets in the outer encoding, as well as the outer coding coefficients ωi,j, each receiver converts (maps back) the received GF(2) coded packets to GF(2h). For ease of understanding, we specify this mapping back in the context of a concrete example with n=4 source packets Pi,i=1,2,3,4, and r=2 expansion packets. Suppose the outer coding is systematic GF(28) RLNC and the outer coding coefficient vector (outer encoding vector) for the first expansion packet is {ωn+1,i}i=1,2,3,4= {ω5,i}i=1,2,3,4= {192,0,95,148}, while the outer encoding vector for the second expansion packet is { ωn+2,i}i=1,2,3,4= {ω6,i}i=1,2,3,4= {116,0,1,86}. Suppose that the inner coding linearly combines the outer coded packets j,j=1,2,...,6 with GF(2) RLNC with inner encoding vectors {ιk=1,j}j=1,2,...,6= {1,0,0,0,1,1},(3) {ιk=2,j}j=1,2,...,6= {1,1,0,1,0,0},(4) {ιk=3,j}j=1,2,...,6= {0,0,1,1,1,0},(5) {ιk=4,j}j=1,2,...,6= {1,0,1,1,0,0}.(6) The decoder receives the inner coded packet k=1, including the inner encoding vector {ιk=1,j}j=1,2,...,6, and notes that both inner coding coefficients corresponding to the two expansion packets are one, i.e., ιk=1,j=5=1 and ιk=1,j=6=1. Accordingly, the decoder maps back to the outer code by XORing (denoted by ⊕) the inner coding vector corresponding to the nsource packets as well as the two outer encoding vectors: {ιk=1,j}j=1,2,3,4⊕ {ω5,i}i=1,2,3,4⊕ {ω6,i}i=1,2,3,4 = {181,0,94,194}.(7) In the encoding vector for the second inner coded packet, both inner coding coefficients corresponding to the r=2 expansion packets are zero, i.e., ιk=2,j=5=0 and ιk=1,j=6= 0. Accordingly, the mapping back simply takes the first n=4 coefficients, i.e., gives {1,1,0,1}.(8) 77896 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices For the third inner coded packet the mapping back gives: {ιk=3,j}j=1,2,3,4⊕ {ω5,i}i=1,2,3,4= {192,0,94,148},(9) while for the fourth packet (k=4), the mapping back gives {1,0,1,1}.(10) Thus, the full decoding matrix after the mapping back is an n×n=4×4 matrix consisting of the vectors given in Eqns. (7), (8), (9), and (10), which can be decoded with standard GF(28) RLNC decoding techniques to a 4 ×4 identity matrix so as to recover the original source packets. Generally, the mapping back to GF(2h) for the outer decoder from the decoding matrix from the received inner encoding vectors {ιk,j}j=1,2,...,n+r;k≥1, as well as the expansion packet encoding vectors {ωj,i}j=n+1,...,n+r;i=1,2,...,n, computes the mapped back encoding vectors for received GF(2) encoded packet k,k≥1, as {ιk,i}i=1,2,...,n⊕n+r j=n+1ιk,j{ωj,i}i=1,2,...,n.(11) These outer-decoder receivers use computationally more complex GF(2h) operations for decoding packets, but require only nreceived packets to recover the necessary linear combinations to decode, while an inner decoder using only GF(2) operations requires n+rreceived packets. b: IMPLEMENTATION The outer decoder immediately maps from the inner to the outer code, essentially decoding in GF(2h), as illustrated in Fig. 6. In order to perform this mapping, a small lookup table stores the outer expansion packet coding coefficients. The size of the lookup table depends on whether the outer encoder is systematic or not. In the case of a systematic outer encoder, a lookup table holding the expansion packet GF(2h) encoding coefficients ωj,i,j=n+1,...,n+r;i=1,...,nis sufficient, since the initial nsymbols are uncoded (i.e., using the unit vector). However, in case of a non-systematic outer encoder all n+r(for j=1,...,n+r) outer encoding vectors {ωj,i}i=1,...,nneed to be stored. An alternative approach would be to use a pseudo-random number generator to generate the encoding vectors on the fly as needed. One advantage of the lookup table is that it may be precomputed and therefore would not consume any additional computational resources during encoding/decoding. 3) COMBINED DECODER a: SPECIFICATION Receivers using a combined decoder implement a hybrid between inner and outer decoders with the aim of approaching the decoding (processing) speed of inner decoders while retaining the high decoding probability of outer decoders, see Fig. 4-right. This is achieved by decoding the first ncoded packets using GF(2) only. If decoding is unsuccessful in GF(2), all coded packets are mapped to GF(2h) over which the remaining decoding is performed. Hence, if rnthe decoding computation cost of the last rpackets is negligible FIGURE 6. Illustration of coding coefficient vector processing in Fulcrum outer decoder: An inner encoding vector in GF (2) is mapped directly back to the outer field GF (2h). Then, a standard GF (2h) decoder can be used to decode the data. compared to the decoding computation cost of the initial n packets and the decoding processing speed will approach that of an inner decoder. b: IMPLEMENTATION The combined decoder attempts to decode as much as possible using the inner decoder before switching to the typically more computationally costly outer decoder. Note that combined decoding in only beneficial if the outer encoder is systematic (or, potentially, very sparse). We explain the combined decoder implementation with the example shown in Fig. 7. When an encoding vector arrives at a combined decoder, it is first passed to the inner decoder. Internally, the inner decoder is split into two stages. Stage one attempts to eliminate the extension added in the outer encoder (these are the symbols that when mapped to the outer decoder will have coding coefficients from the outer GF(2h) field). If stage one successfully eliminates the expansion, then the symbol is passed to stage two. The stage two decoder has only linear combinations of original source symbols. These symbols have a trivial encoding vector when mapped to the outer decoder. Once stage one and stage two combined have achieved full rank, then the stored symbols are mapped to the outer decoder. Notice in Fig. 7how symbols coming from stage two have coding coefficients 0 or 1, and thus require only a few operations to be decoded. On the other hand, the symbols coming from stage one have a dense structure with coding coefficients ωj,icoming from the outer field GF(2h). After mapping to the outer decoder, the final step is to solve the linear system shown in the lower right of Figure 7. VOLUME 6, 2018 77897
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 7. Illustration of coding coefficient vector processing in Fulcrum combined decoder: A two stage inner decoder eliminates as much of the contribution of the outer code as possible before mapping the symbols to the outer decoder. Combined decoding requires a systematic outer code. III. ANALYSIS OF FULCRUM PERFORMANCE WITH RLNC AS INNER CODE This section examines the delay, decoding probability, and overhead, as well as encoding and decoding throughput of Fulcrum with the outer and combined decoders. We present both theoretical analyses as well as measurements conducted with our Fulcrum implementation on several computing/ communication devices, including smartphones. For the theoretical analysis we note that receivers using an inner decoder correspond to a conventional GF(2) receiver that needs to gather n+rindependent linear combinations before decoding. The theoretical analysis of such conventional GF(2) receivers is readily tractable [15], [44], [45]. A. PRELIMINARIES: MDS OUTER CODE PROPERTY FOR THEORETICAL ANALYSIS A key question for the tractability of the theoretical analysis of receivers using the outer or combined decoders is whether receiving nindependent coded packets in GF(2) means that the re-mapped version in GF(2h) is full rank, i.e., whether the original data can be decoded in GF(2h). In coding theory terms, the tractability of the outer and combined decoder analysis requires (i) that the outer code satisfies the properties of maximum distance separable (MDS) codes [67] and (ii) that the outer code still satisfies the MDS properties after being combined with a restricted set of values due to the use of GF(2) in the inner coding. For brevity, we refer to the combination of these two conditions as the ‘‘MDS outer code property’’, or refer to the outer code as an ‘‘MDS outer code’’. The Appendix explicitly demonstrates that this MDS outer code property is met for an RS outer code under some minor conditions. In particular, Theorem 4in the Appendix shows that the MDS outer code property is met if the RS code dimension nis greater than or equal to 2h−1, whereby h characterizes the field size GF(2h). For RS code dimensions smaller than 2h−1, Theorem 5 in the Appendix constructs a basis that ensures that the MDS outer code property is met. RLNC satisfies general MDS properties with increasing probabilities for increasing field sizes [4], [68]–[72]. However, the analysis of the MDS properties of RLNC after combination with a restricted set of values in the GF(2) inner coding is beyond the scope of this study. The theoretical results in the following subsections apply therefore in an exact sense only to RS outer codes that satisfy Theorems 4 or 5. Nevertheless, the analyses provide insights into the dynamics of the Fulcrum system and we expect them to be a good approximation for a Fulcrum system with RLNC outer coding with moderately large to large field sizes. Indeed, our comparisons of the numerical results obtained from the theoretical analysis with measurement results obtained from our Fulcrum implementation on real devices in Section III-D demonstrate that the theoretical analysis is a good approximation for Fulcrum with RLNC outer encoding. We emphasize that the actual operation of the Fulcrum network coding framework does not require any MDS properties of the employed codes. While large RLNC field sizes (and the resulting closeness to the MDS properties) generally improve the performance of the outer coding, large RLNC field sizes are not required for the correct Fulcrum operation. For good performance, the outer code should be decodable from nreceived outer coded packet, i.e., have rank equal to n with high probability. TABLE 1. Computing devices for real system measurements. B. FULCRUM MEASUREMENT SETUP We conducted measurements on the devices in Table 1. We used a packet size of 1600 bytes and performed systematic outer Fulcrum encoding over GF(28). We implemented the Fulcrum encoder and the three decoder types in Kodo [73]. 77898 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices FIGURE 13. Decoding processing speed (throughput) of i7 with SIMD optimization for Fulcrum and conventional RLNC as a function of generation size n. FIGURE 14. Processing speed (throughput) of combined decoder (a) without SIMD and (b) with SIMD for different devices. and with SIMD optimizations, respectively. SIMD achieves two- to four-fold speed ups on all devices for small generation sizes n. We observe that the benefit of SIMD is slightly more pronounced for mobile devices at high n(up to five times the speed-up), while for desktops the gains over no SIMD have essentially disappeared. This does not mean that SIMD in desktops is not improving computation of GF(28), but rather that the main limitation becomes the processing of GF(2) operations at high speeds. Importantly, mobile devices, which are typically energy and computationally limited, can significantly benefit from the combination of Fulcrum and SIMD instructions over a wide range of n. IV. CONCLUSIONS This paper has presented the Fulcrum network coding framework, an advanced network coding structure that preserves RLNC’s ability to recode seamlessly in the network while providing key mechanisms for practical deployment of network coding. Fulcrum addresses several of the standing practical problems with existing RLNC codes and rateless codes, by employing a concatenated code design. This concatenated code design is highly flexible, tunable, and intuitive. This paper has described the design of Fulcrum network codes and their practical benefits over previous network coding designs. The paper has also provided mathematical analyses of the performance of Fulcrum network codes. The paper has also presented a first implementation of Fulcrum in the Kodo C++ network coding library as well as benchmarking results for the Fulcrum encoding and decoding throughput on a wide range of computational devices. Our evaluations demonstrate that Fulcrum achieves much higher encoding and decoding processing speeds (throughput) than conventional GF(28) RLNC. In fact, the Fulcrum processing speeds approach those of GF(2) RLNC as the generation size grows. Importantly, Fulcrum maintains the high decoding probabilities of GF(28) RLNC, while increasing the processing speed by up to a factor of 20 in some scenarios with our initial implementation. Furthermore, in Fulcrum, the trade-off between coding processing speed and decoding probability can be easily adjusted through the number rof outer code expansion packets to meet the requirements of a given application. Fulcrum solves several long-standing problems for existing RLNC codes. First, Fulcrum enables an adjustable tradeoff between coding throughput and decoding probability. Second, it provides a higher coding processing speed when compared to the existing RLNC codes. Third, it reduces the overhead associated with the coding vector representation necessary for recoding, while maintaining a high decoding probability. Fourth, it reduces the type of operations and logic that the network needs to support while allowing end-to- end devices to tailor their desired service and performance, making a key step to widely deploying network coding in practice. This has an added advantage of allowing the network to support future designs seamlessly and naturally providing backwards compatibility. There are several interesting directions for future research on the Fulcrum coding framework. One future work direction is to study optimal solutions to use the Fulcrum VOLUME 6, 2018 77905
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices structure to spread computation complexity over the network. Another interesting future research direction is security; more specifically, Fulcrum provides a simple way to implement some of the ideas in Secure Practical Network Coding (SPOC) [77]. With Fulcrum, the mapping of the outer decoder constitutes the secret key (or part of it) that the source and destinations share and that, in contrast to [77], does not need to be sent over the network along with the coded packets. Using Fulcrum, we would not incur the large SPOC overhead, which consists of two coding coefficients per original packet (one encrypted, one without encryption). In fact, the end points (source and receivers) can choose very large field sizes in the outer code while maintaining 1+r/nbits per packet in the generation as overhead. Fulcrum can also provide security without the need to run Gaussian elimination twice at the time of decoding [78]. As a consequence Fulcrum does not need to trade off field size and generation size (and thus security) for overhead in the network and complexity. APPENDIX REED-SOLOMON OUTER CODE: PROOF OF FULL RANK PROPERTY OF REMAPPED PACKETS We have B, an m×(n+r)-matrix over F2, and G, an (n+r)×n matrix over F2s=Fq. Suppose that Gis the generator matrix of an RS code with length n+r≤q−1=2s−1. The value of mis related to the length of the incoming messages, e.g., if it is a single F2ssymbol, then m=sbits. We remark that vectors are column vectors and that we multiply on the right. An RS code C, with dimension n, can be defined as the vector space generated by the evaluation of the monomials 1,X,...,Xn−1at the points Fq\ {0}. Namely, let αbe a primitive element of Fqand let ev :Fq[X]→Fn+r q,(35) with ev(f)=(f(α0),f(α1),...,f(αq−2).(36) Thus, C= h{ev(Xi):i=0,...,n−1}i. A generator matrix Gis given by considering as columns the evaluation of a monomial at Fq\ {0}. The dual code of an RS code is given by Lemma 3. Lemma 3 (Lemma 5.3.1 [79]): Let C be a Reed-Solomon code with dimension n, then the dual code of C is given by C⊥= h{ev(X1),...,ev(Xq−1−n)}i.(37) We consider the m×n-matrix BG and denote the associated linear function by ϕ. We assume that Band Ghave full rank and ask whether dim(ϕ(V)) <dim Vfor a vector subspace V⊆Fn q. Since ϕis a linear function, the dimension of the image plus the dimension of the kernel is equal to the dimension of the original space. Therefore, we ask whether dim(ker(ϕ)) >0. In order to prove the main result, we shall introduce the cyclotomic coset containing ain Fq=F2s,Ia= {a,2amod q−1,22amod q−1,...,2s−1amod q−1}. For instance, for q=24, the different cyclotomic cosets are I0= {0},I1= {1,2,4,8},I3= {3,6,12,9},I5= {5,10}, and I7= {7,14,13,11}.One has that I1=I2=I4=I8, but usually one denotes the coset by the smallest number. We can now characterize when dim(ker(ϕ)) =0. Theorem 4: Let C ⊆F2s=Fqbe a Reed-Solomon code with dimension n and the linear map ϕdefined above. Then, dim(ker(ϕ)) =0if and only if n ≥2s−1. Proof: The linear function ϕis the composition of two linear maps, namely the maps associated with Gand B.Gis a generator matrix; therefore, Gis injective. Hence, BGx =0 if and only if c=Gx ∈ker(B). That is, dim(ker(ϕ)) >0 if the rows of Bare orthogonal to c, which is a word of C. Therefore, the rows of Bare words in the dual code of C. By Lemma 3, the dual code of Cis given by C⊥= h{ev(X1),...,ev(Xq−1−n)}i. Thus, C⊥⊆Fn+r q, but the rows of Bare over F2. Hence, we should consider the subfield subcode of C⊥, i.e., SubfSubc2(C⊥)= {c∈Fn+r 2:c∈C⊥}.(38) The columns of the generator matrix of SubfSubc2(C⊥) are the rows of Bwhich reduce the dimension of the image. By [80] and [81, Th. III.8], dim(SubfSubc2(C⊥)) =#{Ij:Ij⊆ {1,...,q−1−n}}. (39) That is, we shall only consider exponents that are in a cyclotomic coset that is contained in {1,...,q−1−n}. Clearly, I06⊆ {1,...,q−1−n}. Let k≥2s−1, then q−1−n<2s−1; therefore, the cyclotomic coset I1= {1,2,22,...,2s−1}is not contained in {1,...,q−1−n}. Finally, let j>2s−1, then Ij6= I0,I1, and Ij6⊆ {1,...,q−1−n}since j∈Ij and q−1−n<2s−1. Therefore, SubfSubc2(C⊥)= {0}and dim(ker(ϕ)) =0. Let us now consider n<2s−1, then I1= {1,2,22,...,2s−1}is contained in {1,...,q−1−n}and dim(SubfSubc2(C⊥)) ≥s. Thus, dim(ker(ϕ)) >0. Explicit generators of SubfSubc2(C⊥) to identify cases of linear dependence for n<2s−1can be obtained by using results in [80], [81, Theorem III.8] as follows. Theorem 5: Let C be a Reed-Solomon code with dimension n, then the dimension of SubfSubc2(C⊥)is PIa⊆{1,...,q−1−n}#Ia,and a basis is given by {ev(fIa,βj):j∈ {0,...,#Ia−1}},where β=α(2s−1)/(2#Ia−1),(40) i.e., a primitive element of F2#Ia⊆F2s, and fIa,β =βXa+β2X2a+ · · · + β2#Ia−1X2#Ia−1a.(41) As an example, let C8be the Reed-Solomon code with dimension n=23in F15 24. We have that C8= h{ev(X0),...,ev(X7)}i,C⊥ 8= h{ev(X1),...,ev(X7)}i and SubfSubc2(C⊥ 8)= {0}because Ia6⊆ {1,...,7}for any aand dim(ker(ϕ)) =0. Consider another example with a Reed- Solomon code C7with dimension n=7 in F15 24. We have that 77906 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices C7= h{ev(X0),...,ev(X6)}i,C⊥ 7= h{ev(X1),...,ev(X8)}i and dim(SubfSubc2(C⊥ 7)) =4 because I1= {1,2,4,8} ⊆ {1,...,8}. A basis for SubfSubc2(C⊥ 7) is given by {ev(fI1,1),ev(fI1,α),ev(fI1,α2),ev(fI1,α3)}, that is {ev(X+X2+X4+X8), ev(αX+α2X2+α4X4+α8X8), ev(α2X+α4X2+α8X4+αX8),(42) ev(α3X+α6X2+α12X4+α9X8)}. Therefore, a generator matrix for SubfSubc2(C⊥ 7) is 000100110101111 001001101011110 010011010111100 101110101111000 T .(43) Future work shall consider exploiting such generators to improve the efficiency of the decoder in these corner cases. In order to consider βas a primitive element of F2#Iain F2s, one may consider to use Conway polynomials for defining finite fields [82]. ACKNOWLEDGMENT This paper was presented at the Proceedings of the IEEE International Symposium on Wireless Communications Systems, 2014 [1]. REFERENCES [1] D. E. Lucani, M. V. Pedersen, J. Heide, and F. H. P. Fitzek, ‘‘Coping with the upcoming heterogeneity in 5G communications and storage using fulcrum network codes,’’ in Proc. 11th IEEE Int. Symp. Wireless Commun. Syst. (ISWCS), Aug. 2014, pp. 997–1001. [2] R. Ahlswede, N. Cai, S.-Y. R. Li, and R. W. Yeung, ‘‘Network information flow,’’ IEEE Trans. Inf. Theory, vol. 46, no. 4, pp. 1204–1216, Jul. 2000. [3] P. Elias, A. Feinstein, and C. Shannon, ‘‘A note on the maximum flow through a network,’’ IRE Trans. Inf. Theory, vol. 2, no. 4, pp. 117–119, Dec. 1956. [4] R. Bassoli, H. Marques, J. Rodriguez, K. W. Shum, and R. Tafazolli, ‘‘Network coding theory: A survey,’’ IEEE Commun. Surveys Tuts., vol. 15, no. 5, pp. 1950–1978, 4th Quart., 2013. [5] M. Z. Farooqi, S. M. Tabassum, M. H. Rehmani, and Y. Saleem, ‘‘A survey on network coding: From traditional wireless networks to emerging cognitive radio networks,’’ J. Netw. Comput. Appl., vol. 46, pp. 166–181, Nov. 2014. [6] S.-Y. R. Li, R. W. Yeung, and N. Cai, ‘‘Linear network coding,’’ IEEE Trans. Inf. Theory, vol. 49, no. 2, pp. 371–381, Feb. 2003. [7] T. Ho and M. Médard, R. Koetter, D. R. Karger, M. Effros, J. Shi, and B. Leong, ‘‘A random linear network coding approach to multicast,’’ IEEE Trans. Inf. Theory, vol. 52, no. 10, pp. 4413–4430, Oct. 2006. [8] H. Alshaheen and H. Takruri-Rizk, ‘‘Energy saving and reliability for wireless body sensor networks (WBSN),’’ IEEE Access, vol. 6, pp. 16678–16695, 2018. [9] B. Chen et al., ‘‘Packet multicast in cognitive radio ad hoc networks: A method based on random network coding,’’ IEEE Access, vol. 6, pp. 8768–8781, 2018. [10] S. Ding, X. He, J. Wang, and J. Liu, ‘‘Pre-decoding recovery mechanism for network coding opportunistic routing in delay tolerant networks,’’ IEEE Access, vol. 6, pp. 14130–14140, 2018. [11] H. Kang, H. Yoo, D. Kim, and Y.-S. Chung, ‘‘CANCORE: Contextaware network COded REpetition for VANETs,’’ IEEE Access, vol. 5, pp. 3504–3512, 2017. [12] J.-S. Liu, C.-H. R. Lin, and J. Tsai, ‘‘Delay and energy tradeoff in energy harvesting multi-hop wireless networks with inter-session network coding and successive interference cancellation,’’ IEEE Access, vol. 5, pp. 544–564, 2016. [13] A. Nessa, M. Kadoch, and B. Rong, ‘‘Fountain coded cooperative communications for LTE-A connected heterogeneous M2M network,’’ IEEE Access, vol. 4, pp. 5280–5292, 2016. [14] H. V. Nguyen, S. X. Ng, W. Liang, P. Xiao, and L. Hanzo, ‘‘A network-coding aided road-map of large-scale near-capacity cooperative communications,’’ IEEE Access, vol. 6, pp. 21592–21620, 2018. [15] M. Nistor, D. E. Lucani, T. T. V. Vinhoza, R. A. Costa, and J. Barros, ‘‘On the delay distribution of random linear network coding,’’ IEEE J. Sel. Areas Commun., vol. 29, no. 5, pp. 1084–1093, May 2011. [16] B. Tang and S. Yang, ‘‘An LDPC approach for chunked network codes,’’ IEEE/ACM Trans. Netw., vol. 26, no. 1, pp. 605–617, Feb. 2018. [17] X. Tang, J. Zhou, S. Xiong, J. Wang, and K. Zhou, ‘‘Geographic segmented opportunistic routing in cognitive radio ad hoc networks using network coding,’’ IEEE Access, vol. 6, pp. 62766–62783, 2018. [18] R. Torrea-Duran, M. M. Céspedes, J. Plata-Chaves, L. Vandendorpe, and M. Moonen, ‘‘Topology-aware space-time network coding in cellular networks,’’ IEEE Access, vol. 6, pp. 7565–7578, 2018. [19] Q. Wang, X. Cheng, Q. Wang, P. Liu, and B. Deng, ‘‘A delay-constrained network coding algorithm based on power control in wireless networks,’’ IEEE Access, vol. 6, pp. 62224–62233, 2018. [20] Y. Yang, W. Chen, O. Li, Q. Liu, and L. Hanzo, ‘‘Truncated-ARQ aided adaptive network coding for cooperative two-way relaying networks: Cross-layer design and analysis,’’ IEEE Access, vol. 4, pp. 9361–9376, 2016. [21] Y. Yang, W. Chen, O. Li, and L. Hanzo, ‘‘Joint rate and power adaptation for amplify-and-forward two-way relaying relying on analog network coding,’’ IEEE Access, vol. 4, no. 1, pp. 2465–2478, 2016. [22] F. Zhao and M. Médard, ‘‘On analyzing and improving COPE performance,’’ in Proc. Inf. Theory Appl. Workshop (ITA), San Diego, CA, USA, Jan./Feb. 2010, pp. 1–6. [23] B. W. Chen, W. Ji, F. Jiang, and S. Rho, ‘‘QoE-enabled big video streaming for large-scale heterogeneous clients and networks in smart cities,’’ IEEE Access, vol. 4, pp. 97–107, 2016. [24] M. S. Karim, M. Esmaeilzadeh, and P. Sadeghi, ‘‘On reducing intercept probability for unsubscribed video layers using network coding,’’ IEEE Commun. Lett., vol. 21, no. 6, pp. 1385–1388, Jun. 2017. [25] K. Matsuzono, H. Asaeda, and T. Turletti, ‘‘Low latency low loss streaming using in-network coding and caching,’’ in Proc. IEEE INFOCOM, May 2017, pp. 1–9. [26] M. Rekab-Eslami, M. Esmaeili, and T. A. Gulliver, ‘‘Multicast convolutional network codes via local encoding kernels,’’ IEEE Access, vol. 5, pp. 6464–6470, 2017. [27] H. Seferoglu and A. Markopoulou, ‘‘Video-aware opportunistic network coding over wireless networks,’’ IEEE J. Sel. Areas Commun., vol. 27, no. 5, pp. 713–728, Jun. 2009. [28] A. G. Dimakis, K. Ramchandran, Y. Wu, and C. Suh, ‘‘A survey on network codes for distributed storage,’’ Proc. IEEE, vol. 99, no. 3, pp. 476–489, Mar. 2011. [29] Y. Gao, X. Xu, Y. L. Guan, and P. H. J. Chong, ‘‘V2X content distribution based on batched network coding with distributed scheduling,’’ IEEE Access, vol. 6, pp. 59449–59461, 2018. [30] G. Joshi, Y. Liu, and E. Soljanin, ‘‘On the delay-storage trade-off in content download from coded distributed storage systems,’’ IEEE J. Sel. Areas Commun., vol. 32, no. 5, pp. 989–997, May 2014. [31] N. Kumar, S. Zeadally, and J. J. P. C. Rodrigues, ‘‘QoS-aware hierarchical Web caching scheme for online video streaming applications in Internetbased vehicular ad hoc networks,’’ IEEE Trans. Ind. Electron., vol. 62, no. 12, pp. 7892–7900, Dec. 2015. [32] M. Sipos, J. Gahm, N. Venkat, and D. Oran, ‘‘Erasure coded storage on a changing network: The untold story,’’ in Proc. IEEE Global Commun. Conf. (GLOBECOM), Dec. 2016, pp. 1–6. [33] L. Wang, H. Wu, and Z. Han, ‘‘Wireless distributed storage in socially enabled D2D communications,’’ IEEE Access, vol. 4, pp. 1971–1984, 2017. [34] C. Gkantsidis, J. Miller, and P. Rodriguez, ‘‘Comprehensive view of a live network coding P2P system,’’ in Proc. 6th ACM SIGCOMM Conf. Internet Meas., Rio de Janeriro, Brazil, 2006, pp. 177–188. [35] U. Lee, J. S. Park, S. H. Lee, W. W. Ro, G. Pau, and M. Gerla, ‘‘Efficient peer-to-peer file sharing using network coding in MANET,’’ J. Commun. Netw., vol. 10, no. 4, pp. 422–429, Dec. 2008. VOLUME 6, 2018 77907
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices [36] B. Li and D. Niu, ‘‘Random network coding in peer-to-peer networks: From theory to practice,’’ Proc. IEEE, vol. 99, no. 3, pp. 513–523, Mar. 2011. [37] S. Katti, H. Rahul, W. Hu, D. Katabi, M. Médard, and J. Crowcroft, ‘‘XORs in the air: Practical wireless network coding,’’ IEEE/ACM Trans. Netw., vol. 16, no. 3, pp. 497–510, Jun. 2006. [38] M. V. Pedersen, J. Heide, F. H. P. Fitzek, and T. Larsen, ‘‘PictureViewer— A mobile application using network coding,’’ in Proc. Eur. Wireless Conf. (EW), May 2009, pp. 151–156. [39] P. Vingelmann, F. H. P. Fitzek, M. V. Pedersen, J. Heide, and H. Charaf, ‘‘Synchronized multimedia streaming on the iphone platform with network coding,’’ IEEE Commun. Mag., vol. 49, no. 6, pp. 126–132, Jun. 2011. [40] J. Acevedo et al., ‘‘Hardware acceleration for RLNC: A case study based on the Xtensa processor with the Tensilica instruction-set extension,’’ Electron., vol. 7, no. 9, pp. 180.1–180.22, 2018. [41] H. Shin and J.-S. Park, ‘‘Optimizing random network coding for multimedia content distribution over smartphones,’’ Multimedia Tools Appl., vol. 76, no. 19, pp. 19379–19395, Oct. 2017. [42] S. Wunderlich, J. A. Cabrera, F. H. P. Fitzek, and M. Reisslein, ‘‘Network coding in heterogeneous multicore IoT nodes with DAG scheduling of parallel matrix block operations,’’ IEEE Internet Things J., vol. 4, no. 4, pp. 917–933, Aug. 2017. [43] J. Heide, M. V. Pedersen, F. H. P. Fitzek, and M. Médard, ‘‘On code parameters and coding vector representation for practical RLNC,’’ in Proc. IEEE Int. Conf. Commun. (ICC), Jun. 2011, pp. 1–5. [44] D. E. Lucani, M. Médard, and M. Stojanovic, ‘‘Random linear network coding for time-division duplexing: Field size considerations,’’ in Proc. IEEE Global Telecommun. Conf. (GLOBECOM), Nov./Dec. 2009, pp. 1–6. [45] J. Heide, M. V. Pedersen, F. H. P. Fitzek, and T. Larsen, ‘‘Network coding for mobile devices-systematic binary random rateless codes,’’ in Proc. IEEE Int. Conf. Commun. (ICC) Workshops, Jun. 2009, pp. 1–6. [46] A. Paramanathan, M. V. Pedersen, D. E. Lucani, F. H. P. Fitzek, and M. Katz, ‘‘Lean and mean: Network coding for commercial devices,’’ IEEE Wireless Commun., vol. 20, no. 5, pp. 54–61, Oct. 2013. [47] M. Nistor, D. E. Lucani, and J. Barros, ‘‘A total energy approach to protocol design in coded wireless sensor networks,’’ in Proc. Int. Symp. Netw. Coding (NetCod), Jun. 2012, pp. 31–36. [48] C. W. Sørensen, A. Paramanathan, J. A. Cabrera, M. V. Pedersen, D. E. Lucani, and F. H. P. Fitzek, ‘‘Leaner and meaner: Network coding in SIMD enabled commercial devices,’’ in Proc. IEEE Wireless Commun. Netw. Conf., Apr. 2016, pp. 1–6. [49] N. J. H. Marcano, C. W. Sørensen, J. A. G. Cabrera, S. Wunderlich, D. E. Lucani, and F. H. P. Fitzek, ‘‘On goodput and energy measurements of network coding schemes in the Raspberry Pi,’’ Electron., vol. 5, no. 4, pp. 66.1–66.27, 2016. [50] D. G. Forney, Concatenated Codes. Cambridge, MA, USA: MIT Press, 1966. [51] A. Shokrollahi, ‘‘Raptor codes,’’ IEEE Trans. Inf. Theory, vol. 52, no. 6, pp. 2551–2567, Jun. 2006. [52] M. Halloush and H. Radha, ‘‘Network coding with multi-generation mixing: A generalized framework for practical network coding,’’ IEEE Trans. Wireless Commun., vol. 10, no. 2, pp. 466–473, Feb. 2011. [53] J. P. Thibault, W. Y. Chan, and S. Yousefi, ‘‘A family of concatenated network codes for improved performance with generations,’’ J. Commun. Netw., vol. 10, no. 4, pp. 384–395, Dec. 2008. [54] S. W. Kim, ‘‘Concatenated network coding for large-scale multi-hop wireless networks,’’ in Proc. IEEE Wireless Commun. Netwo. Conf. (WCNC), Mar. 2007, pp. 985–989. [55] Y. Yin, R. Pyndiah, and K. Amis, ‘‘Performance of random linear network codes concatenated with Reed–Solomon codes using turbo decoding,’’ in Proc. 6th Int. Symp. Turbo Codes Iterative Inf. Process. (ISTC), Sep. 2010, pp. 132–136. [56] V. Skachek, O. Milenkovic, and A. Nedić, ‘‘Hybrid noncoherent network coding,’’ IEEE Trans. Inf. Theory, vol. 59, no. 6, pp. 3317–3331, Jun. 2013. [57] N. Thomos and P. Frossard, ‘‘Toward one symbol network coding vectors,’’ IEEE Commun. Lett., vol. 16, no. 11, pp. 1860–1863, Nov. 2012. [58] Steinwurf ApS. (2012). Kodo Git Repository on GitHub. Accessed: Oct. 27, 2018. [Online]. Available: http://github.com/steinwurf/kodo-c [59] F. Gabriel, S. Wunderlich, S. Pandi, F. H. P. Fitzek, and M. Reisslein, ‘‘Caterpillar RLNC with feedback (CRLNC-FB): Reducing delay in selective repeat ARQ through coding,’’ IEEE Access, vol. 6, p. 44787–44802, 2018. [60] M. Karzand, D. J. Leith, J. Cloud, and M. Médard, ‘‘Design of FEC for low delay in 5G,’’ IEEE J. Sel. Areas Commun., vol. 35, no. 8, pp. 1783–1793, Aug. 2017. [61] D. E. Lucani, M. Médard, and M. Stojanovic, ‘‘On coding for delay— Network coding for time-division duplexing,’’ IEEE Trans. Inf. Theory, vol. 58, no. 4, pp. 2330–2348, Apr. 2012. [62] S. Pandi, F. Gabriel, J. A. Cabrera, S. Wunderlich, M. Reisslein, and F. H. P. Fitzek, ‘‘PACE: Redundancy engineering in RLNC for low-latency communication,’’ IEEE Access, vol. 5, pp. 20477–20493, 2017. [63] J. K. Sundararajan, D. Shah, M. Médard, and P. Sadeghi, ‘‘Feedbackbased online network coding,’’ IEEE Trans. Inf. Theory, vol. 63, no. 10, pp. 6628–6649, Oct. 2017. [64] J. Heide, M. V. Pedersen, F. H. P. Fitzek, and M. Médard, ‘‘A perpetual code for network coding,’’ in Proc. IEEE 79th Veh. Technol. Conf. (VTC), May 2014, pp. 1–6. [65] S. Feizi, D. E. Lucani, and M. Médard, ‘‘Tunable sparse network coding,’’ in Proc. Int. Zurich Seminar Commun. (IZS), Feb. 2012, pp. 107–110. [66] R. Prior, D. E. Lucani, Y. Phulpin, M. Nistor, and J. Barros, ‘‘Network coding protocols for smart grid communications,’’ IEEE Trans. Smart Grid, vol. 5, no. 3, pp. 1523–1531, May 2014. [67] R. C. Singleton, ‘‘Maximum distance q-nary codes,’’ IEEE Trans. Inf. Theory, vol. IT-10, no. 2, pp. 116–118, Apr. 1964. [68] H. Balli, X. Yan, and Z. Zhang, ‘‘On randomized linear network codes and their error correction capabilities,’’ IEEE Trans. Inf. Theory, vol. 55, no. 7, pp. 3148–3160, Jul. 2009. [69] X. Guang, F.-W. Fu, and Z. Zhang, ‘‘Construction of network error correction codes in packet networks,’’ IEEE Trans. Inf. Theory, vol. 59, no. 2, pp. 1030–1047, Feb. 2013. [70] R. Koetter and F. R. Kschischang, ‘‘Coding for errors and erasures in random network coding,’’ IEEE Trans. Inf. Theory, vol. 54, no. 8, pp. 3579–3591, Aug. 2008. [71] K. Prasad and B. S. Rajan, ‘‘Network-error correcting codes using small fields,’’ IEEE Trans. Commun., vol. 62, no. 2, pp. 423–433, Feb. 2014. [72] D. Silva, F. R. Kschischang, and R. Koetter, ‘‘A rank-metric approach to error control in random network coding,’’ IEEE Trans. Inf. Theory, vol. 54, no. 9, pp. 3951–3967, Sep. 2008. [73] M. V. Pedersen, J. Heide, and F. H. P. Fitzek, ‘‘Kodo: An open and research oriented network coding library,’’ in Proc. Int. Conf. Res. Netw., in Lecture Notes in Computer Science, vol. 6827. 2011, pp. 145–152. [74] I. Chatzigeorgiou and A. Tassi, ‘‘Decoding delay performance of random linear network coding for broadcast,’’ IEEE Trans. Veh. Technol., vol. 66, no. 8, pp. 7050–7060, Aug. 2017. [75] O. Trullols-Cruces, J. M. Barcelo-Ordinas, and M. Fiore, ‘‘Exact decoding probability under random linear network coding,’’ IEEE Commun. Lett., vol. 15, no. 1, pp. 67–69, Jan. 2011. [76] Qualcomm. (2010). RaptorQ Technical Overview. Accessed: Oct. 27, 2018. [Online]. Available: http://www.qualcomm. com/media/documents/raptorq-technical-overview.pdf [77] J. P. Vilela, L. Lima, and J. Barros, ‘‘Lightweight security for network coding,’’ in Proc. IEEE Int. Conf. Commun. (ICC), May 2008, pp. 1750–1754. [78] P. Zhang, Y. Jiang, C. Lin, Y. Fan, and X. Shen, ‘‘P-coding: Secure network coding against eavesdropping attacks,’’ in Proc. IEEE INFOCOM, Mar. 2010, pp. 1–9. [79] J. Justesen and T. Høeholdt, A Course in Error-Correcting Codes (EMS Textbooks in Mathematics). Zürich, Switzerland: EMS Publishing House, 2004. [80] F. J. MacWilliams and N. J. A. Sloane, The Theory of Error- Correcting Codes (North-Holland Mathematical Library). Amsterdam, The Netherlands: North-Holland Publishing Company, 1977. [81] F. Hernando, M. E. O’Sullivan, E. Popovici, and S. Srivastava, ‘‘Subfieldsubcodes of generalized toric codes,’’ in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Jun. 2010, pp. 1125–1129. [82] L. S. Heath and N. A. Loehr, ‘‘New algorithms for generating Conway polynomials over finite fields,’’ J. Symbolic Comput., vol. 38, no. 2, pp. 1003–1024, Aug. 2004. 77908 VOLUME 6, 2018
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices DANIEL E. LUCANI (SM’16) received the B.S. degree (summa cum laude) and the M.S. degree (Hons.) in electronics engineering from Universidad Simon Bolvar, Caracas, Venezuela, in 2005 and 2006, respectively, and the Ph.D. degree in electrical engineering from the Massachusetts Institute of Technology in 2010. He was an Associate Professor at Aalborg University from 2012 to 2017, and an Assistant Professor at the University of Porto from 2010 to 2012. He is currently an Associate Professor with the Department of Engineering, Aarhus University, as well as the CEO and the Lead Scientist of the start-up company Chocolate Cloud ApS since 2014. He has published over 140 scientific papers in international journals and top-ranked international conferences, as well as eight patents and patent applications. His research interests include communications and networks, network coding, information theory, coding theory, distributed storage and computation, and their applications to cloud computing technologies necessary to enable IoT, BigData, and 5G applications and services. He is a recipient of the IEEE ComSoc Outstanding Young Researcher Award for the EMEA region in 2015, and a recipient of the Danish Free Research Foundation’s Sapere Aude Starting Grant. He was the General Co-Chair of the 2014 International Symposium on Network Coding (NetCod2014). He is an Associate Editor of the EURASIP Journal on Wireless Communications and Networking. MORTEN VIDEBÆK PEDERSEN was born in Sall, Denmark, in 1982. He received the M.Sc. degree (cum laude) and the Ph.D. degree from the Elite Program in wireless communication from Aalborg University, Denmark, in 2009 and 2012, respectively. Since 2006, he has been a member of the Mobile Devices Research Group, Aalborg University. He Co-Founded the start-up company Steinwurf ApS in 2011, creating industrial grade high performance content distribution systems. Since 2013, he has been a member of the Network Coding Focus Group, Aalborg University. He is currently a CTO at Steinwurf APS, where his main focus is on low complexity network coding algorithms and cooperative networking protocols. His main research interests are low-complexity network coding algorithms, cooperative networking protocols, and low-level programming. He has created and contributed to several scientific software libraries, latest by creating Kodo, a fexible high-performance network coding library, which is currently used in industry and by researchers at several international universities. In 2010, he received the Forum Nokia Developer Champion Award. DIEGO RUANO was born in Valladolid, Spain, in 1980. He received the M.S. degrees in mathematics from the University of Valladolid, Spain, and the University of Kaiserslautern, Germany, in 2002 and 2003, respectively, and the Ph.D. degree in mathematics from the University of Valladolid in 2007. He was a Post-Doctoral Researcher at the University of Kaiserslautern in 2007, and a H.C. Ørsted Post-Doctoral Fellow at the Technical University of Denmark in 2008. He was an Assistant Professor at Aalborg University, Denmark, from 2009 to 2012, where he was an Associate Professor from 2013 to 2018. He is currently a Ramón-y-Cajal Fellow at IMUVA (Mathematics Research Institute), University of Valladolid, Spain. His research interests include classical and quantum coding theory, secret sharing, network codes, and computer algebra. CHRES W. SØRENSEN received the B.Sc. and M.Sc. degrees in computer engineering from Aalborg University, Aalborg, Denmark, in 2011 and 2013, respectively, with the specialization in networks and distributed systems, and the Ph.D. degree from Aalborg University in 2017. Since 2017, he has been working with network coding for distributed cloud storage for a Danish Startup company, Chocolate Cloud ApS. His Ph.D. research focused on the usage of sparse network codes in practical applications and the relationship between coding complexity and coding delay in sparse network codes. His research interests include network coding, distributed systems, distributed storage, and embedded systems. FRANK H. P. FITZEK received the Diploma (Dipl.Ing.) degree in electrical engineering from the University of Technology, Rheinisch- Westfälische Technische Hochschule Aachen, Aachen, Germany, in 1997, and the Ph.D. (Dr. Ing.) degree in electrical engineering from the Technical University Berlin, Germany, in 2002. He was an Adjunct Professor at the University of Ferrara, Italy, in 2002. In 2003, he joined Aalborg University as Associate Professor, and later became a Professor. He is currently a Professor and the Head of the Deutsche Telekom Chair of Communication Networks, Technical University Dresden, Germany, coordinating the 5G Lab Germany. He co-founded several start-up companies starting with acticom GmbH, Berlin, in 1999. His current research interests are in the areas of wireless and mobile 5G communication networks, mobile phone programming, network coding, cross-layer, as well as energy efficient protocol design and cooperative networking. He was selected to receive the NOKIA Champion Award several times in a row from 2007 to 2011. In 2008, he was a recipient of the Nokia Achievement Award for his work on cooperative networks. In 2011, he received the SAPERE AUDE Research Grant from the Danish Government, and the Vodafone Innovation Prize in 2012. In 2015, he was a recipient of the honorary degree Doctor Honoris Causa from the Budapest University of Technology and Economy. JANUS HEIDE received the Diploma degree (cum laude) and the Ph.D. degree from the Department of Electronic Systems, Aalborg University, Denmark, in 2009 and 2012, respectively. In 2009 and 2010, he was a Visiting Student at the Network Coding and Reliable Communications Group, Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge, MA, USA. From 2012 to 2013, he was a Post-Doctoral Researcher at the Section of Antennas, Propagation and Radio Networking, Aalborg University. Since 2011, he has been the CEO and the Co-Founder of Steinwurf ApS, a communication software company that develops Network Coding software and solutions. His research interests are in the areas of network coding and wireless networks, particularly in code design, implementation and application for computational constraint devices and networks under challenging conditions. OLAV GEIL received the B.Sc. and M.Sc. degrees in mathematics and physics from Aalborg University in 1994 and 1996, respectively, and the Ph.D. degree in mathematics from Aalborg University in 2000. He is currently a Professor with special responsibilities, within the Research Group of Reliable and Secure Communication, Department of Mathematical Sciences, Aalborg University, and serves as the Vice Dean for education of the Faculty of Engineering and Science. His research interests include coding theory, secret sharing, network coding, and commutative algebra. VOLUME 6, 2018 77909
D. E. Lucani et al.: Fulcrum: Flexible Network Coding for Heterogeneous Devices VU NGUYEN received the B.Tech. (IT) degree from the Hue University of Education, Vietnam, in 2006, and the M.Eng. degree in computer science from the Da Nang University of Technology, Vietnam, in 2011. He was a Lecturer at the Vietnam-Korea Friendship IT College, Danang, Vietnam. He is currently pursuing the Ph.D. degree with the Deutsch Telekom Chair of Communication Networks, Technical University Dresden, Germany. He is interested in the research areas of network coding. MARTIN REISSLEIN (S’96–M’98–SM’03–F’14) received the Ph.D. degree in systems engineering from the University of Pennsylvania in 1998. He is currently a Professor with the School of Electrical, Computer, and Energy Engineering, Arizona State University, Tempe, AZ, USA. He chairs the steering committee of the IEEE TRANSACTIONS ON MULTIMEDIA. He currently serves as an Associate Editor for the IEEE TRANSACTIONS ON MOBILE COMPUTING, the IEEE TRANSACTIONS ON EDUCATION, the IEEE ACCESS, as well as Computer Networks. He is an Associate Editorin-Chief of the IEEE COMMUNICATIONS SURVEYS & TUTORIALS and a Co-Editor- in-Chief of Optical Switching and Networking. 77910 VOLUME 6, 2018