You are on page 1of 4

The 9th IEEE International Conference on Dependable Systems, Services and Technologies, DESSERT’2018

24-27 May, 2018, Kyiv, Ukraine

Edge Computing for IoT:


An Educational Case Study
Anatoly Plakhteyev 1, Artem Perepelitsyn 2, Vyacheslav Frolov 3
1, 2, 3
National Aerospace University “KhAI”, Chkalov str. 17, 61070 Kharkiv, Ukraine
a.plahteev@csn.khai.edu 1, a.perepelitsyn@khai.edu 2, slava.frolov777@gmail.com 3

Abstract— For IoT, along with Cloud, Fog, Dew, Edge


computing is important, that provides aggregation and data II. EDGE COMPUTING
processing from sensor networks and individual devices Edge computing describes a computing topology in
related to the physical world. Increasing of productivity of
which information processing and content collection and
boundary network nodes can significantly reduce data ac-
cess delays, traffic, and bandwidth of Internet access chan-
delivery are placed closer to the sources of this infor-
nels. A lot of network interfaces and protocols IoT make it mation. Connectivity and latency challenges, bandwidth
difficult to develop and debug applications, require the tools constraints and greater functionality embedded at the
for rapid prototyping of network fragments and project- edge favors distributed models.
oriented methods for training developers. The approach to While it’s common to assume that cloud and edge
the creation of such tools and the allocation of training computing are competing approaches, it’s a fundamental
projects of varying complexity are proposed. misunderstanding of the concepts. Edge computing
speaks to a computing topology that places content, com-
Keywords— IoT, edge computing, sensor network,
puting and processing closer to the user/things or “edge”
boundary node, Ethernet, WiFi, router
of the networking. Cloud is a system where technology
services are delivered using internet technologies, but it
I. INTRODUCTION does not dictate centralized or decentralized service de-
Cloud technologies implement a variety of IoT ser- livering services. When implemented together, cloud is
vices for storage, data processing and remote access used to create the service-oriented model and edge com-
(Amazon Web Services IoT Platform, Microsoft Azure puting offers a delivery style that allows for executions of
IoT Hub, Google Cloud IoT, IBM Watson IoT Platform, disconnected aspects of cloud service [7].
CISCO IoT Cloud Connect, ThingSpeak, etc.). This sim- Edge computing is closely related to heterogeneous
plifies the development of applications for IoT. But these sensor networks. They consist of nodes with sensors,
technologies have a lot of disadvantages [1]. There are actuators and provide communication with the physical
restrictions on the intensity of the data flow for storage in world. At the level of sensory networks, the nodes of the
the Cloud stores and a significant delay in access to these boundary interaction occupy an important place.
data. For a growing number of IoT sites the permanent
access to the Internet is required. Also the increasing of III. INTERACTION OF END DEVICES WITH IOT
bandwidth is needed. It prevents the use of Cloud tech- In Figure 1 the general scheme of the interconnection
nologies in real-time management systems and critical of nodes of sensor networks (SN), individual devices
appointments. Excessive traffic arising in the process of (Dev), sensors (S), actuators (A) is showed. At the Edge,
access to remote resources causes increasing energy costs Dew, Fog, Cloud (Cloudlet) levels, the state of S and A is
and the cost of access to information. represented by digital copies (Digital Twin).
The solution is to approach resources to their con- Sensor networks can be wired and wireless. The most
sumers. Consequently, Fog computing [2-5], and then popular networks are Ethernet, RS485 and similar, CAN,
Dew computing [6] have appeared. LIN, etc. Wireless networks can be proprietary in the
The IoT feature is the importance of the level bounda- ISM bands 315, 433, 868 MHz, as well as 2.4 GHz net-
ry interaction of TCP/IP – oriented components and ser- works based on the IEEE802.15.4 standard (ZigBee,
vices with sensor networks (SN) and individual devices – 6LoWPAN, etc.) ), IEEE802.15.1 (Bluetooth v.2 .. 5),
stationary, mobile, moveable (EDGE computing). This IEEE802.11 (WiFi). Low-speed sensor networks in in-
level of interaction is difficult for formalizing because of dustry and home automation are combined using high-
variety of devices types, interfaces, network protocols, speed interfaces - Ethernet, WiFi. In fact, a heterogeneous
numerous vulnerabilities and strong requirements to network is formed, where it is necessary to provide ac-
power of IoT devices. Acquiring necessary skills for cess to various nodes in each network and their intercon-
building the boundary level of IoT is the pressing chal- nectivity. Boundary nodes are bridges (gateways) be-
lenge of training specialists in networking technologies. tween segments of sensor networks [8,9].

978-1-5386-5903-8/18/$31.00 ©2018 IEEE 130


Authorized licensed use limited to: Universidad Nacional Abierta y a Distancia. Downloaded on February 27,2023 at 14:43:56 UTC from IEEE Xplore. Restrictions apply.
Thus, the IoT fragment can be represented as a hierar- IV. EDGE COMPUTING FOR ASSOCIATION SENSOR
chical structure from a variety of disparate sensor net- NETWORKS
works SN = {SN1, SN2, ... SNi, ...}. Each network con- Let's consider independent sensor networks SN1 (head
sists of a set of nodes: SNi = {Ni, 1, ..., Ni, j, ...} connect- node 1, internal nodes 11, 12, 13 and boundary nodes
ed by the network communication interface Ci from the BN1, BN12, BN13), SN2 (head node 2, internal nodes 21,
set C = {C1, C2, ...}, by the protocol Pi from set P = {P1, 22, 23 and boundary nodes BN2, BN12, BN23) , SN3 (head
P2, ...}. The Ni, j node serves a set of sensors (S) and node 3, internal nodes 31, 32, 33 and boundary nodes
actuators (A). To implement the functions of the node a BN3, BN13, BN23). In Figure 2, double lines show inter-
microcontroller platform MCUi, j is used that has a net- network data flows. Let the data for node 21 come from
work interface Ci, as well as analog and digital interfaces, the access point through the boundary node BN1.
that form data streams from sensors S and for controlling
The chain is constructed: Data1 → BN1 → BN12 →
actuators A. Networks are designed to collect data from
21. Data is delivered from node 31 via the chain: 31 → 3
sensors primary processing, accumulation, presentation in
→ BN23 → 2→ BN12 → 1 → BN1 → Data1. A shorter
some form (indication, sound, video, etc.), control and
way, in the presence of BN13 is: 31 → 3→ BN13 → 1→
management of executive devices. The network can be
BN1 → Data1.
embedded in some object (robot, tool, machine, etc.), and
the state of set S and A determines the state of the object. BN2
Let the current state of the node of one network be de- 21
termined by the state of the sensor S, and the node of the
other network by the state of the actuator A. In so doing, 2 22
the state S is displayed on the state A. The simplest ex- 12
ample is that the state of the switch determines by the 11 BN12
23
state of the lamp, which can be realized by their direct 13 SN2
connection. Alternatively, the state S is determined by the BN1
BN23
MCU that is associated with the MCU that controls A.
1
BN13
31
SN1
3
SN3
Sensor Actuator 32

33
Head node
BN3
Boundary network node

Figure 2. Combining of sensor networks with internetwork data


transport.

Networks SN1, SN2, SN3 can be used for data ex-


Figure 1. Methods of an interaction of network nodes.
change between the head and inner nodes and external
networks via BN1, BN2, BN3. The following conditions
The logical link of the sensor to the executive device must be met: support for packet switching in selected
can be implemented: interconnectivity by sending a mes- networks; sufficient length of network messages for or-
sage S' that displays the state S to another network as a ganizing data transfer over SN1-SN3 network protocols.
package A' representing the state A. In the case of differ- Data transfer rate in networks ensures an acceptable delay
ent interfaces and protocols of associated sensor net- in transmission of data packets; network traffic must have
works, a series of transformations S'→ A' is required. In sufficient redundancy to accommodate additional traffic;
the absence of direct network connection, Edge compu- head nodes 1, 2 and 3 allow the extension of the basic set
ting is used, operating with a digital representation of of functions; energy costs for implementation of addition-
<S'', A'', that is called Digital Twin. Accordingly, Digital al services should not extend beyond established limits.
Twin at the levels Dew, Fog, Cloud, will be used in vari- A number of sources [10-12] describe the results of
ous forms, but displaying the current state of <S, A>. the interaction of wired and wireless networks. The prin-
Synchronization <S', A'>, <S'', A''>, ..., <S''''', A'''''' re- cipal possibility of reliable transportation of CAN-
quires certain computational costs and the expenditure of packets through the IP network is shown. However, many
traffic, and hence - time costs. Generally, there are time sensor networks have too limited capabilities of interfaces
intervals of the desynchronization in the meaning of vari- and protocols to implement additional functions. This
ous Digital Twin, which can affect the operation of sys- may require profound changes to the services of elements
tems sensitive to such uncertainties. Here, it should be 1, 2 and 3, will affect a number of existing protocols and
entrusted Edge computing with critical to communication will lead to the emergence of new protocols that support
delays and direct interaction of sensor networks. prospective platforms of sensory networks.

131
Authorized licensed use limited to: Universidad Nacional Abierta y a Distancia. Downloaded on February 27,2023 at 14:43:56 UTC from IEEE Xplore. Restrictions apply.
Thus, the problem of constructing a common infor- identification and transmission of a certain value for one
mation field from independent heterogeneous networks is channel; transmission of values obtained from different
solved as follows. Network interfaces are assumed by the sensor networks for several channels; building a client for
boundary nodes (BN). There are BN1, BN2, BN3 for ex- obtaining data, analyze it to detect a deviation from the
ternal access to SN1, SN2, SN3 and there are BN12, BN13, specified range; analysis of the resistance of the data
BN23 for the interaction of networks. Boundary nodes that source to substitution, distortion or destruction of infor-
perform the function of gateways have the possibility of a mation.
simultaneous presence in at least two networks between
which interaction is organized. VI. RAPID PROTOTYPING OF FRAGMENTS OF INTERNET
Each network controller through a network interface OF THINGS
is related to the nodes of its network - sensors and drives The option of rapid prototyping of a network fragment
and it performs a set of basic functions (services). Expan- using wired and wireless access that realized with use a
sion of the set of functions gives access to the network WiFi router shown in Figure 4.
controller from the side of the boundary node, which
provides transport of data from one network to another.
Head nodes (network controllers) form requests
(commands) to sensors and drives receive response mes-
sages in accordance with the internal logic of the network
functioning. To provide communication with the global
network of all nodes, without exception, that generates
and receive data, it is advisable to use one entry point for
a cluster of nodes within one or more sensor networks.
V. ACCESS TO CLOUD SERVICE
The task of accessing to remote data store or service
based on such a store can be solved at the levels: Dew, Figure 4. Rapid prototyping of the IoT network fragment.
Fog, Cloud (Cloudlet). Take, for example, the cloud ser-
There are four Ethernet ports for connecting the end
vice ThingSpeak [13] with open access (Figure 3). It can
devices (Ethernet MCU) and the local server, the WiFi
create several channels for the accumulation of data (inte-
access point for connecting the IoT wireless devices:
ger values) from remote sources with the fixation of the
WiFi MCU (ESP 8266, Espressif ESP 32, etc.), SoM
arrival time. Each channel is available for writing and
Raspberry Pi, laptops, smartphones, tablet computers. As
reading after fulfilling the identification procedure using
the access point WiFi mobile devices GSM, DSL mo-
allocated keys and identifiers. The source of data or the
dems and WiFi MCU can be used. This creates a variety
client can be any device with wired or wireless Internet
of tasks for building various Edge-level network configu-
access (Ethernet and WiFi MCU, System on Module,
ration for building and analyzing IoT fragments, master-
smartphone, tablet PC). The number of channels for re-
ing promising IoT platforms.
cording and the frequency of data transmission is limited.
Simple Ethernet MCUs are built using Ethernet - SPI
converters Wiznet w5100, w5500, Microchip ENC28J60
and microcontroller platforms. Converters implement
TCP/IP protocol in hardware. Microcontrollers can be
connected to sensors and actuators, perform the functions
of the boundary nodes of sensor networks, and exchange
information among themselves using built-in interfaces.
Using multiple routers and connected devices allows the
local server to simulate interaction at the boundary level
of higher IoT levels.
The prototype is the base for the development and re-
search of industrial automation systems, a smart home
that is based on technologies of the Internet of Things.

Figure 3. Interaction of IoT elements using the cloud service VII. MODELING OF ACCESS TO WEB RESOURCES
ThingSpeak.com.
Along with rapid prototyping, an effective tool for
Clients after identification get access to data that can developing and debugging an application for the Internet
be obtained in the form of spreadsheets or graphs. of Things is the model approach. Thus, the Proteus mod-
To study the technology of access to the cloud data eling and development environment allows investigate
store, the solution of the following tasks can be used: the behavior of devices based on wired access ENC28J60

132
Authorized licensed use limited to: Universidad Nacional Abierta y a Distancia. Downloaded on February 27,2023 at 14:43:56 UTC from IEEE Xplore. Restrictions apply.
to a local network and also based on emulating access to Prototypes open wide opportunities for researching
web resources by intercepting TCP/IP packets. the vulnerability of elements of the Internet of Things and
Figure 5 shows the model view and the browser win- methods of enhancing cybersecurity in experiments that
dow with the result of querying the IP address of the are difficult to implement or unacceptable in real net-
device. This simple and affordable tool allows you to works.
gain the skills of organizing an exchange using HTTP
pages in a network with the TCP/IP protocol. Limited REFERENCES
resources of microcontrollers and features of ENC28J60 [1] Integration of Cloud Computing and Internet of Things: a Survey.
allow using highly shortened HTTP pages that can be Alessio Botta, Walter de Donato, Valerio Persico, Antonio
Pescap´e. Journal of Future Generation Computer Systems,
placed in one Ethernet frame and occupy the amount of September 18, 2015, pp. 1-54
available memory. [2] Fog Computing: Platform and Applications. Shanhe Yi, Zijiang
Proteus allows simulate the exchange between nodes Hao, Zhengrui Qin, and Qun Li. Third IEEE Workshop on Hot
of sensor networks, and also the interaction of microcon- Topics in Web Systems and Technologies, 2015, pp. 73-78
[3] Fog computing: fog and cloud along the Cloud-to-Thing
trollers with digital and analog sensors (temperature, continuum. https://www.i-scoop.eu/internet-of-things-guide/fog-
humidity, pressure, approach, etc.), various actuators computing-cloud-internet-things/
(lighting, electric drives, relays, etc.), indicators, alarms [4] Edge-Fog Cloud: A Distributed Cloud for Internet of Things
and various converters [14]. Computations Nitinder Mohan, Jussi Kangasharju.
https://www.cs.helsinki.fi/u/nmohan/documents/2016/EF_Nitinder
Matlab can be used to model data processing from _Jussi_UH_Final.pdf
sensors, modern versions of which make it possible to [5] A Comprehensive Survey on Fog Computing: State-of-the-Art and
obtain data from physical devices [15]. Research Challenges. Carla Mouradian , Diala Naboulsi, Sami
Yangui, Roch H. Glitho. http://ieeexplore.ieee.org/stamp/
stamp.jsp?tp=&arnumber=8100873.
[6] An Introduction to Dew Computing: Definition, Concept and
Implications. P.P. Ray. http://ieeexplore.ieee.org/stamp/
stamp.jsp?tp=&arnumber=8114187
[7] Gartner Top 10 Strategic Technology Trends for 2018. -
https://www.gartner.com/smarterwithgartner/gartner-top-10-
strategic-technology-trends-for-2018
[8] Interconnection between IP Networks and Wireless Sensor
Networks. Brandon Keith Maharrey, Alvin S. Lim, Song Gao.
International Journal of Distributed Sensor Networks. December
4, 2012. http://journals.sagepub.com/doi/full/ 10.1155/2012/
567687.
[9] Edge Mesh: A New Paradigm to Enable Distributed Intelligence in
Internet of Things. Sahni, Yuvraj; Cao, Jiannong; Zhang, Shigeng;
IEEE ACCESS, 2017, Vol. 5, pp.: 16441-16458
[10] T. Higuchi, H. Yamaguchi, and T. Higashino. Mobile devices as
an infrastructure: A survey of opportunistic sensing technology.
Journal of Information Processing, 23(2):94—104, 2015.
Figure 5. Modeling access to Web resources using the Proteus. [11] ESP8266 Arduino Core Documentation. Release 2.4.0. Ivan
Grokhotkov. May 14, 2017- https://media.readthedocs.org/pdf/
VIII. CONCLUSIONS arduino-esp8266/docs_to_readthedocs/arduino-esp8266.pdf
[12] Application of IoT in monitoring and controlling agricultural
The competencies of IoT elements developers are production. Dušan Marković, Ranko Koprivica. Acta
formed on the basis of a clear understanding of the hier- Agriculturae Serbica, Vol. XX, 40 (2015) 145-153
archy of networks, the levels of organization of interac- [13] The Development of IoT Based BBT Charting and Monitoring
tion of elements in the network of an end and boundary using ThingSpeak. Yazed, Muhammad Syukri Mohd; Mahmud,
Farhanahani. International Conference on Engineering, Science
devices of sensor networks. A project-oriented and mod- and nanotechnology, 2016.
el-oriented approach to learning allows, on the basis of [14] Arduino-Based Embedded Systems.Interfacing, Simulation, and
simple projects and their gradual complication, to cover LabVIEW GUI. Rajesh Singh, Anita Gehlot, Bhupendra Singh,
the main elements of the technologies used in the Internet Sushabhan Choudhury. 2018 by Taylor & Francis Group, p.330.
[15] Accuracy Increase of Dynamic Objects State Estimation by a
of Things. The tools of rapid prototyping allow you to Complex Matlab-Arduino when Cyberphysical Systems Designing
bring projects to the level of ready-made solutions that Gurko A. G., Plakhteev A. P., Plakhteev P. A. - Radio
form the basis of complex projects. Electronics, Computer Science, Control -Vol 1, 2016. - pp.84-91.

133
Authorized licensed use limited to: Universidad Nacional Abierta y a Distancia. Downloaded on February 27,2023 at 14:43:56 UTC from IEEE Xplore. Restrictions apply.

You might also like