Open access peer-reviewed chapter

Network Coding-Based Next-Generation IoT for Industry 4.0

By Goiuri Peralta, Raul G. Cid-Fuentes, Josu Bilbao and Pedro M. Crespo

Submitted: November 13th 2017Reviewed: May 4th 2018Published: November 5th 2018

DOI: 10.5772/intechopen.78338

Downloaded: 513


Industry 4.0 has become the main source of applications of the Internet of Things (IoT), which is generating new business opportunities. The use of cloud computing and artificial intelligence is also showing remarkable improvements in industrial operation, saving millions of dollars to manufacturers. The need for time-critical decision-making is evidencing a trade-off between latency and computation, urging Industrial IoT (IIoT) deployments to integrate fog nodes to perform early analytics. In this chapter, we review next-generation IIoT architectures, which aim to meet the requirements of industrial applications, such as low-latency and highly reliable communications. These architectures can be divided into IoT node, fog, and multicloud layers. We describe these three layers and compare their characteristics, providing also different use-cases of IIoT architectures. We introduce network coding (NC) as a solution to meet some of the requirements of next-generation communications. We review a variety of its approaches as well as different scenarios that improve their performance and reliability thanks to this technique. Then, we describe the communication process across the different levels of the architecture based on NC-based state-of-the-art works. Finally, we summarize the benefits and open challenges of combining IIoT architectures together with NC techniques.


  • industry 4.0
  • IoT
  • IIoT
  • latency
  • network coding
  • fog computing
  • multicloud

1. Introduction

Industry 4.0, that is, the fourth industrial revolution, represents industry and manufacturing digitalization bringing with it, among other things, the so-called smart factories. This transformation comes through the adoption of the Internet of Things (IoT) [1], which gives rise to the Industrial IoT (IIoT) and allows to interconnect humans, machines, and smart devices, as well as to share huge amounts of data among them.

In order to cope with big data and predictive analytics [2], cloud computing is becoming another key enabler due to its computing, storage, and networking capabilities. It allows us to obtain meaningful information and valuable insights which will increase the efficiency, productivity, and performance of manufacturing processes and services. Several IIoT applications, such as system control, anomaly detection, or robot guidance, are time-critical, and therefore, they require millisecond response times. Thus, low-latency communications, as well as real-time analysis and monitoring, are indispensable for immediate decision-making.

Although the cloud offers high scalability, flexibility, and responsiveness, cloud-based analytics may introduce excessive latency, which would compromise the performance of time-critical applications. In order to accomplish a trade-off between latency and computation, IIoT deployments are moving cloud capabilities downwards to fog nodes to perform early analytics and minimize latency. Furthermore, most delay-critical applications not only require low-latency communications but also ensure high reliability. A promising technique that increases network reliability while reducing end-to-end latency is network coding (NC). Its properties are particularly beneficial for enhancing the robustness and reducing delays of wireless sensor network (WSN) communications [3]. Moreover, it improves the efficiency of distributed storage systems, regarding both data download speed and redundancy [4].

In this chapter, we overview next-generation IIoT systems, which must provide low-latency communications as well as ensure their reliability in order to allow the performance of on-premise advanced cloud analytics for time-critical IIoT applications, that is, to bring the cloud to the fog (see Figure 1). This objective can be achieved by implementing a three-layer architecture based on IoT nodes, fog nodes and a multicloud environment, and also by exploiting the advantageous properties of NC techniques across the architecture.

Figure 1.

Bringing the cloud to the fog.

The rest of this chapter is organized as follows. First, we overview next-generation IIoT architectures, briefly describing and comparing the different layers as well as providing different use-cases in which these architectures are integrated. Next, we introduce some NC approaches and describe the benefits of NC regarding different scenarios. Then, we describe the communication process across the different levels of the architecture. We also summarize the benefits of merging IIoT architectures and NC techniques. Finally, we discuss existing issues and open challenges, and we report the final conclusions of the chapter.

2. Next-generation IIoT architectures

Nowadays, due to its scalability and big data management capabilities, cloud-based architectures are most widely used in Industry 4.0 applications. However, the integration of the IoT into industrial environments poses new challenges, which implies an architectural adaptation. As previously mentioned, IIoT applications are mostly delay-sensitive and require instant decision-making. This has led to the integration of fog nodes into the industrial systems in order to perform early analytics and closed-loop control. Moreover, systems of this nature must be robust. Thus, with the aim of providing a fault-tolerant architecture and guarantee system reliability, multicloud deployments are emerging as a promising solution. In addition to the latter, they enable to use the connections under the best conditions and therefore, delays can be reduced. Dependencies on a single cloud provider can also be avoided.

It can be said that next-generation IIoT architectures, as shown in Figure 2, will consist of three layers, composed of IoT or smart devices, fog nodes and multiple clouds. The lowest layer, comprised of a variety of end-nodes, is responsible for sending taken measurements to actuators or fog devices. In the fog layer, time-critical analytics, as well as closed-loop control, can be performed. Finally, cloud servers are in charge of heavy data analytics and compute-intense workloads that manage a vast amount of data.

Figure 2.

Next-generation IIoT architecture.

2.1. Architecture design

A description and comparison of the layers that comprise next-generation IIoT architectures are next provided.

2.1.1. WSN

WSNs can be considered the main communication technologies of IIoT due to the flexibility they offer to connect and manage a large number of sensors and actuators, independently of their location. A WSN consists of several IoT nodes, including sensors, actuators, and smart devices, which take several measurements. These devices are mainly battery, storage, and processing power constrained. This layer is responsible for gathering sensor data, such as machine temperature or vibration measurements, and for uploading them. It also receives instructions from the upper layers in order to perform a corresponding task or action.

2.1.2. Fog

The fog can be considered as an intermediate layer between the cloud and IoT devices and so, it extends cloud computing capabilities to the edge of the network [5]. One of its main advantages is its closeness to the end-nodes, which makes possible to reduce communication latency and to enable real-time service support. Since fog computing allows early data processing, the amount of data sent to the cloud can be reduced. In addition, its mobility and location-awareness enable to deliver rich services to moving devices [6].

2.1.3. Multicloud

The cloud can be described as several distributed remote servers which can be accessed via the Internet to store and manage big amounts of data [7]. Cloud computing enables the remote on-demand use of computing resources, that is, networks, servers, storage, applications, and services. It provides virtualized, elastic, and controllable services and powerful computational capabilities, enabling complex application systems at lower costs. The deployment of more than one cloud, in addition to the mentioned advantages, provides fault tolerance against service outages, and the system security level is improved since it is possible to store the information divided into different clouds. Furthermore, application requirements can be better adapted to available cloud resources and connectivity conditions.

2.1.4. Comparison

With the adoption of IoT, the number of things connected to the Internet is expected to grow up to 20 billion in 2020 [8]. Thus, a scalable architecture is required in order to adapt to such a huge number of devices. Moreover, the need for large amounts of data to be accessed more quickly is ever-increasing, where the inherent latency of the cloud can be detrimental. Latency issues become highly damaging, particularly for IIoT time-critical applications. Autonomous decisions are required in order to prevent failures or optimize production, and thus, milliseconds matter when trying, for instance, to prevent manufacturing line downtimes or to get the right decision in autonomous vehicles.

Processing data directly in the end-devices would be the best solution in order to provide the lowest latency and jitter. However, the constrained nature of these nodes inhibits the performance of more advanced processing and analytics. Thus, fog computing can be the most suitable solution for applications that cannot afford the delay caused by the round trip to the cloud server. Nonetheless, fog computing requires local management of redundancy and data backup. Moreover, the integration of devices capable of performing remote data analytics implies the increase of the architecture complexity, as well as of the associated costs in hardware and software investments. Table 1 shows the most significant differences between WSNs, fog computing, and cloud computing.

FeatureWSNsFog computingCloud computing
LatencyVery lowLowHigh
Delay jitterVery lowLowHigh
Server locationLocalInternet
Client–server distanceOne hopMultiple hops
Location awarenessYesYesNo
DistributionHighly distributedDistributedCentralized
Mobility awarenessGuaranteedSupportedLimited
Real-time interactionsGuaranteedSupportedLimited

Table 1.

Comparison between WSN, fog, and cloud computing [9].

2.2. Application use-cases

The three-layer architecture enables to exploit the efficiency and scalability of the fog while benefiting from the powerful storage and computing resources of the cloud. Next, we show some use-case examples.

2.2.1. Smart energy

Wind energy-based smart grids require data analysis and real-time decision making. In a large wind farm, the health of the turbines is monitored by analyzing data collected by numerous sensors [10]. Each turbine can be monitored locally, that is, in the fog, and the collective performance can be improved by processing data on remote servers in the cloud. Thus, it enables to combine real-time response for early actions and advanced analyses for a deeper view of the whole wind farm. It can increase energy output, decrease operational costs, and increase turbine uptime.

2.2.2. Smart transportation

Self-driving vehicles, for instance, are equipped with an on-board system that, through real-time data analysis, allows controlling the car without human interaction. In such systems, highly reliable and low latency communication is crucial. Thus, critical decisions that require an instantaneous response are better managed with fog computing [11]. However, for monitoring the tracking performance of a truck fleet [12], as there is no need for real-time analytics, cloud computing is more suitable. Advanced cloud analytics based on information gathered from different parts of the truck can bring insights to improve the maintenance and lower repair costs.

2.2.3. Smart manufacturing

Smart factories are able to perform predictive maintenance of their machines or improve product quality by real-time sensor analysis [13]. Fog computing is crucial for these delay-critical data processing. However, cloud computing can provide an overall system management as well as machine learning analytics that require greater computing power.

2.2.4. Smart cities

Fog computing can provide a fast, real-time, and location-aware solution for many IoT use cases of smart cities, such as smart buildings [14]. Several sensors gather diverse measurements like temperature, energy usage, humidity, parking occupancy, air quality, elevators, smoke, and so on. The efficiency of the system can be improved by managing critical data at the fog layer in real time, as in traffic control, and by performing big data analytics in the cloud.

3. Next-generation communications

Most IIoT systems are deployed in harsh environments, where different devices within the architecture can be connected and disconnected from the network any time. Thus, besides providing low-latency communications, it is crucial to strengthen these communications in order to ensure a robust and highly reliable environment.

3.1. Issues

IIoT networks require system reliability, data availability and high communication quality. This may be difficult to achieve due to inherent constraints of these scenarios. WSNs, for example, may suffer from noise or multipath interferences, among others, which cause packet loss and inevitably degrades the quality of the communications. Moreover, the dynamic topology of these architectures in which devices connect intermittently, can destabilize communications and introduce variable delays. In order to overcome these issues, the integration of NC techniques across the shown architecture can be a suitable solution due to its properties.

3.2. Network coding

NC breaks with the traditional store-and-forward transmission model [15] by allowing any intermediate node to recombine incoming packets into coded ones, which are decoded at destination. Its properties make it a promising solution to improve the performance of wireless and peer-to-peer networks. It exploits the broadcast nature of the wireless medium [3], which facilitates node cooperation to provide significant benefits in terms of communication robustness, stability, throughput, and latency.

Moreover, dependency on obtaining a particular packet is removed by applying NC since it is sufficient to get enough linearly independent packet combinations in order to recover the required data. Thus, in distributed systems, such as P2P [16] or multicloud environments [17], the use of NC can reduce additional data download or access delays in highly loaded conditions as well as improve the performance of data recovery and acquisition [4].

3.2.1. Advanced techniques

Advanced NC techniques are based on the widely used NC approach random linear network coding (RLNC) [18], where the received Kpackets are linearly combined with randomly chosen coefficients from a finite field or Galois Field (GF) Fq, before forwarding them. The performance of RLNC is influenced by the following coding parameters: finite field size, generation size, and coding vector density [19], among others. Eq. (1) represents the encoding process, where coding coefficients (αi,jFq) multiply incoming packets Mii=1Kto generate corresponding encoded packets Xi.


Several variants of this technique have been developed in order to adapt it to different scenarios and application requirements. Perpetual codes [20], for instance, can be considered as a supplement of RLNC. In manifold scenarios, particularly for large generation sizes, they can substantially increase the throughput due to their sparsity and the possibility of structured decoding.

For heterogeneous networks with devices of different resources, fulcrum codes [21] allow to use binary GF operations in the network to achieve reduced overhead and computational cost, and reach compatibility with heterogeneous devices and data flows in the network, while providing the opportunity of employing higher coding finite fields end-to-end for greater performance. On the other hand, systematic coding [22] allows sending coded packets along with original ones, that is, uncoded packets, which can help to reduce overhead and improve the real-time decoding performance.

For low-delay applications such as real-time control applications, on-the-fly or sliding window coding can be the most suitable solutions. Unlike block codes where all packets in a block need to be present to start generating useful coded packets, on-the-fly codes [23] are able to encode data while they become available and these packets are progressively decoded. Sliding window codes [24] are more flexible since they remove the limitation of fixed blocks by creating a variable-sized sliding window.

Finally, Tunable Sparse Network Coding (TSNC) [25], unlike RLNC that applies a fixed coding density for the entire process, tunes the density of coded packets during transmission to adjust to the trade-off between real-time performance and reliability. TSNC proposes to increase the coding density as the destination node receives more linearly independent packets since the probability of receiving innovative packets is lower, thereby reducing coding complexity.

3.2.2. NC benefits

This section lists different benefits of NC, showing its suitability for IIoT systems and applications.

  • Distributed storage systems: IIoT systems require high reliability and availability. Thus, data must be distributed and stored in such a way as to ensure fault tolerance, for example in the event of a server failure. Packet loss, delay, and bandwidth fluctuation can hinder data distribution. The main benefit of NC over P2P environments is in relation to the coupon collector problem [16], being able to solve this issue due to the redundancy introduced in packet transmissions. Therefore, the performance of data streaming is enhanced since download times are minimized. With NC, the performance of the system depends much less on the underlying topology and schedule.

    NC can help to increase the reliability of distributed storage systems like multicloud deployments [17]. In case of data loss, the amount of redundant data required for repair is minimized. In addition, each cloud is used at its maximum speed even in highly loaded conditions or dynamically changing environments. Thus, NC improves storage efficiency in terms of data retrieval time and storage space.

  • Dynamic topologies: NC techniques can be helpful for efficient content distribution [26] in changing environments. For example in Vehicular Ad-Hoc Networks (VANETs), in order to avoid possible accidents, vehicles exchange road state information among them. Even in dynamic road changing conditions, VANET applications, such as traffic live video broadcast, must guarantee a correct data reception. Since NC enhances network performance and reduces the number of required data transmissions, it can reduce transmission delays.

    Due to the previous and together with its decentralized nature and robustness, NC can be extrapolated also to dynamic IIoT architectures, where end-nodes may connect periodically in order to save power or they can connect to different access points.

  • Constrained environments: the use of NC has been extended also to constrained environments. In satellite communications, for instance, bandwidth is usually limited and round-trip delays are high. The properties of this technique can be advantageous particularly in multibeam satellites [27]. On the one hand, NC improves throughput and bandwidth usage. On the other hand, it does not require any change at the physical layer and thus, it easies the implementation on already deployed satellite systems. NC techniques can also be used in applications aimed at energy-efficient data transmissions, such as Wireless Body Area Networks (WBANs), since they can provide reliable communications under low-energy constraints [28]. Therefore, IIoT applications can also profit from this technique as the majority of end-devices are resource constrained.

  • Poor quality channels: NC can improve the transmission performance in environments with unstable channel conditions which quality may not meet end-user quality of service (QoS) requirements, such as delay and reliability. An example of the previous are Underwater Sensor Networks (UWSNs) and Power Line Communication (PLC) systems. In UWSNs, the acoustic communications suffer high error rates and long propagation delays, which require efficient error recovery. NC can exploit the broadcast property of acoustic channels, improving data throughput [29]. PLC systems, on the other hand, are able to provide multicast and broadcast services by exploiting existing electrical wires. Due to the similarities between power line and wireless channels, NC protocols can be applied in order to achieve the implementation constraints [30] and provide reliable communications in harsh environments.

    IIoT systems that relay on WSNs may deal with interferences or channel contention that cause QoS issues. Thus, NC-based techniques can help to improve channel resources as well as data rate while maintaining QoS.

4. NC over IIoT architectures

In this section, we introduce NC into next-generation IIoT architectures reviewing related state-of-the-art works. We also outline some of the most relevant benefits and challenges.

4.1. Communication process

In IIoT systems, not only low-latency communications between end-nodes (things) and the cloud must be guaranteed but the whole system must be robust, including the connections and the provided service. Next, the communication process across the architecture is described.

4.1.1. Things

Implementing NC techniques through the WSN, communication latency can be reduced [31] and its robustness [32, 33] improved. Here, sensors and actuators combine their measurements and transmit them across the network. By using NC, intermediate nodes recode received data and send them to one or more gateways which compose the fog layer. These devices are then in charge of uploading incoming data to the multicloud framework.

4.1.2. Fog

Fog nodes can be any device with computing, storage, and network connectivity, such as controllers, routers, gateways, and so on. They can be deployed anywhere with a network connection, for instance, alongside a factory floor. They are interconnected among them, with the IoT devices and also with cloud servers, forming a distributed network. Therefore, NC-based techniques can be extrapolated from WSNs to the communication between the devices within the fog layer [34, 35].

The fog layer is responsible for gathering data from end-devices and for distributing coded packets to the different clouds that comprise the multicloud deployment. The use of NC has also been demonstrated to be beneficial for data distribution [36]. Moreover, this technique is advantageous for distributed storage systems, since it can achieve an optimal trade-off between storage and repair traffic. Thus, it can also help to deal with fog storage nodes that may continuously leave the network without a replacement [37].

4.1.3. Multicloud

Clouds within the multicloud deployment are responsible for storing incoming network-coded data from the lower layer. NC-based techniques can improve the process of lost data recovery, as well as enhance the efficiency of data redundancy [38]. As an example, Figure 3 illustrates the repair operation in case of a cloud failure using exact minimum-storage regenerating (EMSR) codes. A file is divided into for fragments, and both original and coded chunks are distributed as shown in the figure. Assuming Cloud 1 is down (A and B are lost), the surviving nodes XOR their own chunks to create new encoded ones in order to make possible the reconstruction of A and B.

Figure 3.

Repair process with EMSR codes [17].

Clouds are then able to perform required operations for decision-making or further analytics. Data or action commands are transmitted to the corresponding devices based on the results of the performed analysis. The cloud response time can also be reduced, as in the upstream communication, due to the implementation of NC. In [39], for instance, if a file has been divided into gfragments, the number of coded packets Pistored on each of the Nclouds is calculated in order to achieve optimal scheduling during data retrieval (see Eqs. (2) and (3), where Ridefines the download rate and αidenotes the minimum part of the data to be stored).


If the information is stored over distributed untrusted platforms, such as public clouds, the inherent use of NC schemes can provide, in addition to fault tolerance, a security level against eavesdroppers [40]. However, it is necessary to find a trade-off between fault-tolerance and security [41], since the more redundant data, the more vulnerable the system becomes.

4.2. Summary

We overview the most relevant benefits the integration of IIoT architectures and NC provides. While this approach can bring significant advantages, it also poses some issues. We identify and describe future challenges that may arise with the implementation of next-generation IIoT architectures.

4.2.1. Benefits

As the IIoT architecture relies on a multicloud deployment, the reliability and availability of the entire system can be enhanced. Data are distributed across different clouds, and so, the possibilities of suffering a cyber-attack are reduced. Moreover, this information is stored differently from the original form. Thus, data privacy is improved. The multicloud environment, due to its fault tolerance, increases the robustness in case of service outages. Due to the implementation of multiple clouds, this architecture enables to distribute data to the most convenient cloud, which makes possible not only to choose the service provider that better fits the moment requirements but to use the connections under the best conditions. Thus, it helps to identify the right service architecture to optimize latency, location, and cost.

The use of NC-based techniques can enhance the performance of the communications over congested WSNs, as well as of the data distribution and recovery processes over multicloud deployments. Since data redundancy is more efficient, reliability and availability of the provided service are improved. Besides, the integration of NC-based techniques into the architecture can lead to the reduction of end-to-end latency.

All of the above advantages allow the computational power of the cloud to be available closer to the end nodes, improving the performance of delay-sensitive IIoT applications.

4.2.2. Challenges

As mentioned throughout the chapter, next-generation IIoT architectures aim to reduce the end-to-end communication latency and to increase the system reliability by merging both fog and multicloud-based schemes as well as NC techniques. However, the use of complex NC schemes can result in extra delays taking into account that IoT devices have limited computational resources. Thus, in order to exploit the benefits of this technique, it is crucial to choose the most suitable coding parameters as well as to design simpler coding schemes and adaptable scheduling and routing algorithms.

IIoT systems must also provide scalability and flexibility. A cloud environment is inherently a scalable architecture due to its capability to manage network topology variations while handling big amounts of data. However, in architectures such as the proposed, as devices may be intermittently connected to the network, not only the architecture itself needs to be scalable and adaptable to changing environments, but also the coding techniques.

5. Conclusions

This chapter overviews next-generation IIoT systems which, in order to satisfy the demands of Industry 4.0 applications, must ensure low-latency and highly reliable communications. This will enable advanced analytics for time-critical IIoT applications. The previous objective can be achieved on one hand, by implementing a three-layer architecture based on IoT devices, fog nodes, and a multicloud deployment. On the other hand, the use of NC techniques across this architecture can improve the communication quality and increase the system reliability. In this chapter, we describe next-generation IIoT architectures and provide different application use-cases where they can be applied. We also review NC-based techniques and the benefits of this technique for different scenarios. Next, we describe the introduction of NC for the communications across the architecture. We also outline the advantages of the approach and finally, we present some challenges that may arise, such as the design of scalable and adaptive coding schemes and routing algorithms, and which may inspire future research lines.


This work has been partially supported by the Basque Government through the Elkartek program, as well as the Spanish Ministry of Economy and Competitiveness through the CARMEN project (TEC2016-75067-C4-3-R) and the COMONSENS network (TEC2015-69648-REDC) and the H2020 research framework of the European Commission.

© 2018 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Goiuri Peralta, Raul G. Cid-Fuentes, Josu Bilbao and Pedro M. Crespo (November 5th 2018). Network Coding-Based Next-Generation IoT for Industry 4.0, Network Coding, Mohammad A. Matin, IntechOpen, DOI: 10.5772/intechopen.78338. Available from:

chapter statistics

513total chapter downloads

1Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Efficient Frontier and Benchmarking Models for Energy Multicast in Wireless Network Coding

By Adeyemi Abel Ajibesin

Related Book

First chapter

A Novel PFC Circuit for Three-Phase Utilizing Single Switching Device

By Keiju Matsui and Masaru Hasegawa

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us