RT-OCF: A Lightweight Device-to-Device Framework for the Internet of Things

Responding to rapid growth of Internet of Things (IoT) services and devices, many IoT platforms and frameworks are presented for successful IoT realization. Recently, Open Connectivity Foundation (OCF) which consists of a group of industry leaders emerges to create new standards for IoT platform and deliver an open source implementation and a certification program. IoTivity open-source software framework is one of the project sponsored by the OCF which has been developed to provide interoperability among heterogeneous IoT devices. It enables seamless Device-to-Device (D2D) connectivity and targets various application domains such as home and manufacturing automation, health care, and social networks. IoTivity uses, however, rather lots of memory in view of small devices which have limited hardware resources and runs Real-Time Operating System (RTOS). In this paper, we propose a light-weight IoT framework, RT-OCF that optimizes memory consumption and provides a memory tracer to prevent memory leaks. It has a layered architecture which consists of resource layer, messaging layer, and platform adaptation layer together with modules for security and utility. RT-OCF is able to run not only on Linux but also on TizenRT, an open source RTOS platform runnable on ARTIK053 board. The experiment performed on both Linux and TizenRT shows that more than 20% of peak memory is reduced when compared with IoTivity while preserving a packet latency for GET operations.

[1]  Adam Dunkels,et al.  A Low-Power CoAP for Contiki , 2011, 2011 IEEE Eighth International Conference on Mobile Ad-Hoc and Sensor Systems.

[2]  Prem Prakash Jayaraman,et al.  MOSDEN: An Internet of Things Middleware for Resource Constrained Mobile Devices , 2013, 2014 47th Hawaii International Conference on System Sciences.

[3]  G. Ann Campbell,et al.  SonarQube in Action , 2013 .

[4]  Adam Dunkels,et al.  Contiki - a lightweight and flexible operating system for tiny networked sensors , 2004, 29th Annual IEEE International Conference on Local Computer Networks.

[5]  Siobhán Clarke,et al.  Middleware for Internet of Things: A Survey , 2016, IEEE Internet of Things Journal.

[6]  Jianjing Shen,et al.  REST: An alternative to RPC for Web services architecture , 2009, 2009 First International Conference on Future Information Networks.

[7]  Nicholas Nethercote,et al.  Valgrind: a framework for heavyweight dynamic binary instrumentation , 2007, PLDI '07.

[8]  Jerker Delsing,et al.  A survey of commercial frameworks for the Internet of Things , 2015, 2015 IEEE 20th Conference on Emerging Technologies & Factory Automation (ETFA).

[9]  Soohong Park OCF: A New Open IoT Consortium , 2017, 2017 31st International Conference on Advanced Information Networking and Applications Workshops (WAINA).

[10]  Hyunseung Choo,et al.  On Evaluating IoTivity Cloud Platform , 2017, ICCSA.