Developement of Horizontal IoT Platform Using DeviceHive Framework
Developement of Horizontal IoT Platform Using DeviceHive Framework
Volume: 3 Issue: 5
ISSN: 2321-8169
2574 - 2578
_______________________________________________________________________________________________
AbstractThis paper presents the Horizontal IoT(Internet of Things) Platform for IoT application development. This paper
mainly describes the limitations of Vertical Approach for different domain applications and also presents generalized solution for
limitations as Horizontal IoT Platform. In the context of IoT/M2M domain, devices perform the automated tasks data sensing,
generation, logging and reporting to service. For this, a generic solution unifying the infrastructure and platforms that access and
control different Vertical Domains leads to the Horizontal Platform. An Open Source DeviceHive Framework is used for
developing this generic solution for building different IoT application.
KeywordsHorizontal IoT Platform, M2M, DeviceHive Framework, Gateway.
__________________________________________________*****_________________________________________________
architecture for a generic solution. A paradigm shift in
I.
INTRODUCTION
M2M/IoT space from Vertical to Horizontal domains is being
speculated for this purpose. There is very thin line between
IoT is revolution in Internet Technology. IoT is the
M2M and IoT as in every device will have specific IP address
emerging technology and is very important one in next few
which makes them to communicate directly with server where
years. As a global prediction by 2020, 50 billion objects are
as in M2M localized devices communicate with and aggregator
connected over the internet and communicating smartly over
device called as Gateway which in turn communicates with
it[1]. IoT in its culmination, where we lived in data is defined
server over IP protocol. In recent years several standardization
as:" The IoT creates an intelligent, invisible network fabric that
activities towards a horizontal service layer approach have been
can be sensed, controlled and programmed. IoT-enabled
started by standardization organizations (SDO) world-wide.
products employ embedded technology that allows them to
Here the activities at TIA in the TIA-50[5] group (M2M Smart
communicate, directly or indirectly, with each other or the
Device Communication) in the USA, CCSA TC10 in China
Internet.[2]" Now using this connected devices called as
and the activities in the ETSI TC M2M[6] group in Europe
Wireless Sensor Networks many applications are developed in
should be explicitly mentioned.
various domains, like Smart Home, Smart Health, Smart
Shopping and Smart Transportation to improve life. But the
ONEM2M[7] is other example of the M2M communication
main problem of the application is the interoperability of
Framework. An open world-wide M2M service layer standard,
various wireless protocol over which the sensor devices
based on the future ONEM2M standard, will open up the
communicate. Such applications are built using the Vertical
possibility for a broad range of companies and players to enter
approach, so they can't be easily shifted in any other domain.
the market with different sets of possible business models.
II.
A. M2M Standardization
As vertical proprietary M2M solutions provides some value
to their vertical sectors, most challenges are identified in
scalability and interoperability[8].Thus standardization of
M2M communication is done by surveying different vertical
domains and collect common ontology from it moving to a
proper horizontal solution. As shown in figure 1 the industries
are moving from Vertical towards Horizontal[9].
As shown in Figure 1 Specific algorithm is used for a
business application in vertical domain whereas a standard
protocol layer i.e., "Service Capability Layer", shown as
Common Application Infrastructure is being used to build the
application across verticals, This "Common Application
Infrastructure" is transforming underlying framework from
Vertical to Horizontal platform. There are many different
business applications as well as many devices are connected to
local network or gateways using different protocols. Mostly
Restful APIs are used for development of this kind of Protocol
Layer. As shown in Figure 1 the layer is not bounded between
Application and Transport Layer. But it's some functionality is
laid in between gateways and devices. So the Services given by
the common layer is distributed in all the components of
proposed architecture.
2574
IJRITCC | May 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
ISSN: 2321-8169
2574 - 2578
_______________________________________________________________________________________________
proposed architecture. Most of the services of common layer
are provided in Gateway only and others are implemented on
the device as well as on server side.
The comparative study is conducted among the available
OneM2M standards and device hive as SCL module.
Table 1 Comparison between ONEM2M and DeviceHive Standards
Functional Entity
M2M Service Capability
hosted in the network
domain
M2M Service Capability
hosted
on
an
intermediary node
M2M Service Capability
hosted on an M2M
Device
ETSI M2M
Yes, Network Service
DeviceHive
Yes
Yes
Gateway
Yes
Applications in
network domain
the
Yes,
Applications
M2M Device
the
M2M Device
AAA Server
in
Application Layer
Client App.
Yes
Yes
Device with OS
Device w/o OS
Two type of
Authentication.
i)Device
(MSBF)
ii)User(HTTP)
A. Hardware Model
The model mainly consist the following components as
show in Figure 3.
III.
_______________________________________________________________________________________
ISSN: 2321-8169
2574 - 2578
_______________________________________________________________________________________________
pressure, etc. In case of Smart Transport it could be any GPS
module. A server for the proposed architecture is designed as
mentioned in DeviceHive Framework[10] which has web based
interface.
B. Software Model
Device Hive Framework is used as a software framework
for building the IoT Horizontal Platform on a Gateway i.e.,
Raspberry Pi B+. Device Hive is a C++ based Framework
skeleton used for building software to the Hardware Model.
The most important part of software is Gateway Configuration
and Device(Gateway, Sensors) Registration with server
seamless connection between the Server and Devices. for data
communication. For this the flow diagram is shown Figure 4.
C. Modules of Implementation
Study the Device Hive Framework for the
Implementation of the proposed Solution.
-
IV.
_______________________________________________________________________________________
ISSN: 2321-8169
2574 - 2578
_______________________________________________________________________________________________
Gateway converts it to JSON[12] value to binary format in a
frame.
Signature
Version
Flags
Length
Intent
Data
0xC5
0x01
0x00
0x00
0x00
0x0000
0xC3
Checksum
0x76
A.
Significance
Signature
Version
Flags
Length
Intent
Data
Data Block
Checksum
V. RESULTS
As mentioned in the Proposed System the components are
connected as shown in Figure 6.
2577
IJRITCC | May 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
ISSN: 2321-8169
2574 - 2578
_______________________________________________________________________________________________
notification to the server via gateway only is shown in Figure
10 and 11 respectively.
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
Figure 9 Device Registration on Server
[8]
[9]
[10]
[11]
[12]
VI. CONCLUSION
The main goal of this research work is to build a Horizontal
Platform for IoT application development. The development
of such platform along with Service Capability Layer is done
using DeviceHive Framework.. In this the discovery and
registration of the device on gateway as well as on Server is
also added. On the device side MSP430 board is used for a
demo device connection. From the server side we also send
commands to board and its also executed on the board. And
also send the notifications to server via gateway. The device
coding is done in C language being a non OS node. Further
work on the scalability and security is under progress.
2578
IJRITCC | May 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________