Communication Protocol for a Cyber-Physical System

Total Page:16

File Type:pdf, Size:1020Kb

Communication Protocol for a Cyber-Physical System DEGREE PROJECT, IN INFORMATION AND COMMUNICATION TECHNOLOGY , FIRST LEVEL STOCKHOLM, SWEDEN 2015 Communication Protocol for a Cyber-Physical System USING BLUETOOTH, NFC AND CLOUD COMPUTING MATHIAS PERSSON KTH ROYAL INSTITUTE OF TECHNOLOGY INFORMATION AND COMMUNICATION TECHNOLOGY Abstract The focus of this thesis is to utilize many of today’s current technologies to design a communication protocol that allows different devices to be incorporated into a system that can facilitate the flow of information between a user and a world of digital data. The protocol will take advantage of individual benefits from NFC, Bluetooth and cloud computing in its design to make the underlying complexity as transparent to the user as possible. Some of the main problems, such as security and reliability, are discussed and how they are incorporated into the core design of the protocol. The protocol is then applied to a case study to see how it can be utilized to create an integrity preserving system for managing medical records in a healthcare environment. The results from the case study gives merit to guidelines provided by the protocol specifications, making a system implementation based on the protocol theoretically possible. A real system implementation is required to verify the results extracted from the case study. Keywords Cyber-Physical Systems, Cloud Computing, Communication Protocol, Healthcare, Medical Records, Bluetooth, NFC Abstract Denna uppsats fokuserar på att använda många av dagens teknologier för att konstruera ett kommunikationsprotokoll som möjliggör för olika enheter att inkorporeras i ett system som underlättar informationsflödet mellan en användare och en värld av digital data. Protokollet utnyttjar olika individuella fördelar hos NFC, Bluetooth and molntjänster i dess design för att göra den underliggande komplexiteten så transparant som möjligt för användaren. Några av de främsta problemen, så som säkerhet och tillförlitlighet, diskuteras och hur de inkorporeras i hjärtat av protokollet. Protokollet appliceras sedan i en fallstudie för att se hur det kan användas för att skapa ett system för sjukjournaler som bevarar integriteten hos patienter. Resultatet från fallstudien pekar mot att de riktlinjer som gavs av protokollspecifikationerna fungerar för att göra en systemimplementation på en teoretisk nivå. En verklig systemimplementation skulle behövas för att verifiera de resultat som framgår ur fallstudien. Nyckelord Cyberfysiska System, Molntjänster, Kommunikationsprotokoll, Sjukvård, Sjukjournaler, Bluetooth, NFC Table of Contents 1 Introduction ................................................................................................................. 3 1.1 Background ..................................................................................................................... 4 1.2 Problem............................................................................................................................. 4 1.3 Purpose ............................................................................................................................. 6 1.4 Goal ..................................................................................................................................... 6 1.4.1 Benefits, Ethics and Sustainability .................................................................................. 6 1.5 Methodology / Methods .............................................................................................. 8 1.5.1 Philosophical assumptions ................................................................................................. 9 1.5.2 Research methods ................................................................................................................10 1.5.3 Research approaches ..........................................................................................................11 1.5.4 Literature Study ....................................................................................................................12 1.6 Delimitations ................................................................................................................ 13 1.7 Outline ............................................................................................................................. 14 2 Theoretic Background .......................................................................................... 16 2.1 Cyber-Physical systems ............................................................................................. 16 2.2 Related work ................................................................................................................. 17 2.3 Communication protocols ........................................................................................ 19 2.4 Bluetooth ........................................................................................................................ 20 2.5 Near Field Communication ...................................................................................... 21 2.6 Infrastructure ............................................................................................................... 22 3 Methods ...................................................................................................................... 24 3.1 Research strategies .................................................................................................... 24 3.2 Data collection .............................................................................................................. 25 3.3 Data analysis ................................................................................................................. 26 3.4 Quality assurance ........................................................................................................ 27 3.4.1 Quantitative research .........................................................................................................27 3.4.2 Qualitative research ............................................................................................................27 4 The Protocol .............................................................................................................. 29 4.1 Structure ......................................................................................................................... 29 4.2 Protocol Specifications .............................................................................................. 30 1 4.3 Reliability and Quality of Service .......................................................................... 32 4.4 Security ........................................................................................................................... 33 5 Communication Details ......................................................................................... 37 5.1 Connection Establishment ....................................................................................... 37 5.2 Information Transaction .......................................................................................... 40 6 Case Study in a Healthcare Environment ....................................................... 43 6.1 Management of Medical Records in Sweden ..................................................... 43 6.2 An Integrity Preserving System for Medical Records ..................................... 44 6.3 Results ............................................................................................................................. 48 7 Conclusions ............................................................................................................... 50 7.1 Evaluation ...................................................................................................................... 50 7.2 Discussions .................................................................................................................... 51 7.3 Future Work .................................................................................................................. 56 References .......................................................................................................................... 58 2 1 Introduction The world is moving towards a time where more and more objects are connected to the Internet, the so called “Internet of Things” [1]. In an environment where these objects transmit information, tools are needed to enable us to access it. In our modern society, the number of people using a cellphone in 2014 is about 4.5 billion and out of these there are around 1.75 billion smartphones [2]. Of course, a majority of these smartphones are located in developed countries because of the economical factor [3] and, therefore, it can assumed that it is more likely that someone in a developed country is carrying a smartphone instead of a regular phone. This trend is only going to continue [2], making the smartphone an excellent tool to help the general population gather information from sources in the surrounding environment. By using the wireless communication features of a modern smartphone, such as Bluetooth [4], Near Field Communication (NFC) [5] and Wi-Fi [6], a solid ground to transmit and receive information to and from various sources can be established. There is however an obstacle that needs to be solved before any information transaction can occur, namely a communication protocol telling the different devices how to transmit the information, what data the transaction should
Recommended publications
  • Analysis of Server-Smartphone Application Communication Patterns
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Aaltodoc Publication Archive Aalto University School of Science Degree Programme in Computer Science and Engineering Péter Somogyi Analysis of server-smartphone application communication patterns Master’s Thesis Budapest, June 15, 2014 Supervisors: Professor Jukka Nurminen, Aalto University Professor Tamás Kozsik, Eötvös Loránd University Instructor: Máté Szalay-Bekő, M.Sc. Ph.D. Aalto University School of Science ABSTRACT OF THE Degree programme in Computer Science and MASTER’S THESIS Engineering Author: Péter Somogyi Title: Analysis of server-smartphone application communication patterns Number of pages: 83 Date: June 15, 2014 Language: English Professorship: Data Communication Code: T-110 Software Supervisor: Professor Jukka Nurminen, Aalto University Professor Tamás Kozsik, Eötvös Loránd University Instructor: Máté Szalay-Bekő, M.Sc. Ph.D. Abstract: The spread of smartphone devices, Internet of Things technologies and the popularity of web-services require real-time and always on applications. The aim of this thesis is to identify a suitable communication technology for server and smartphone communication which fulfills the main requirements for transferring real- time data to the handheld devices. For the analysis I selected 3 popular communication technologies that can be used on mobile devices as well as from commonly used browsers. These are client polling, long polling and HTML5 WebSocket. For the assessment I developed an Android application that receives real-time sensor data from a WildFly application server using the aforementioned technologies. Industry specific requirements were selected in order to verify the usability of this communication forms. The first one covers the message size which is relevant because most smartphone users have limited data plan.
    [Show full text]
  • Performance of VBR Packet Video Communications on an Ethernet LAN: a Trace-Driven Simulation Study
    9.3.1 Performance of VBR Packet Video Communications on an Ethernet LAN: A Trace-Driven Simulation Study Francis Edwards Mark Schulz edwardsF@sl .elec.uq.oz.au marksas1 .elec. uq.oz.au Department of Electrical and Computer Engineering The University of Queensland St. Lucia Q 4072 Australia Abstract medium term, we can expect that current LAN technolo- Provision of multimedia communication services on today’s gies will be utilized in the near term for packet transport of packet-switched network infrastructure is becoming increas- video applications [4,5, 61. Characterizing the performance ingly feasible. However, there remains a lack of information of current networks carrying video communications traffic is regarding the performance of multimedia sources operating therefore an important issue. This paper investigates packet in bursty data traffic conditions. In this study, a videotele- transport of real time video communications traffic, charac- phony system deployed on the Ethernet LAN is simulated, teristic of videotelephony applications, on the popular 10 employing high time-resolution LAN traces as the data traf- Mbit/s Ethernet LAN. fic load. In comparison with Poisson traffic models, the Previous work has established that Ethernet is capable of trace-driven cases produce highly variable packet delays, and supporting video communication traffic in the presence of higher packet loss, thereby degrading video traffic perfor- Poisson data traffic [6, 71. However, recent studies of high mance. In order to compensate for these effects, a delay time-resolution LAN traffic have observed highly bursty control scheme based on a timed packet dropping algorithm traffic patterns which sustain high variability over timescales is examined.
    [Show full text]
  • Communication Protocol for Schools
    Communication Protocol for Schools Communication plays a key role in creating and fostering strong, positive relationships between the school and the home. Communication is a two-way street; our schools share information with our families and community, and our families share information with our schools. The purpose of this document is to guide, manage and improve school-home communication by offering a standard format, structure and sequence for regular, ongoing communication. Communication Channels Communication can take place in a variety of formats. The message and the purpose of the communication can help determine which format is most appropriate. Generally, the more issues-driven and/or detailed the information is, the more direct the communication channel chosen should be. Communication channels include: Face-to-face communication – one-on-one meetings, School Council meetings, Parent-Student- Teacher interviews Telephone conversations Hard copy, written communication – letters sent home from the school, paper school newsletters Electronic communication – email, electronic newsletters, websites, social media When the communication requires a dialogue, such as bringing forward a question or concern or when a discussion is required on a particular topic, the preferred channels of communication are ones that allow for an immediate and ongoing interaction between the people involved. The best formats for this kind of communication are face-to-face conversations or telephone conversations. Schools and families are encouraged to use these direct channels of communication when a topic is complex or requires a dialogue. These more direct forms of communication also help us establish a personal connection, which helps build relationships that we don’t get in other forms of communication.
    [Show full text]
  • Voice Over Internet Protocol (Voip): a Brief Review
    © APR 2018 | IRE Journals | Volume 1 Issue 10 | ISSN: 2456-8880 Voice over Internet Protocol (VoIP): A Brief Review ANURAG K MADHESHIYA1, KIRAN S KALE2, SHIV K YADAV3, JIGNESHKUMAR R. VALVI4 1,2,3,4 Department of Electronics and Communication, SVNIT Surat, India Abstract -- VoIP stands for Voice over Inter Protocol. It is setting up calls, registering the calls, authenticating a communication protocol mainly used for voice and terminating the call. Protocol belonging to H.323 communication, data transfer and video calling. It is based family of protocol uses TCP and UDP connection for on packet transmission over internet network. Paul Baran transportation. For call registering and call signaling and other researchers developed the packet network in the H.225 protocol is used. For media session mid twentieth century. In 1973 Dany Cohen first demonstrated packet voice in flight simulator application. establishment and controlling H.245 is used. For Due to its digital nature it is easy to operate on this protocol. conferencing T.120 protocol is used [3]-[4]. Index Terms: MGCP, Packet, QoS, SIP I. INTRODUCTION Voice over Internet Protocol also known as Voice over IP and VoIP is a communication standard for transmission of voice signal, data transmission and video conferencing. Actually this technology follow packet switching. In packet switching first the input signal (voice, data, video) converted into digital form so other operation becomes simple after this we do encoding, compressing of digital data to make more secure transmission through channel. Then after this we transmit the signal over the channel. At receiver side we do reverse of it but it also require an addition block before receiver to store packets and reorder these packets because in packet switching different Figure 1: Call flow of H.323 packets follow different path so reaches in random manner.
    [Show full text]
  • An Evaluation Protocol for Picture Archiving and Communication System: a Systematic Review
    ORIGINAL PAPER An Evaluation Protocol for Picture Archiving and Communication System: a Systematic Review Mohsen S. Tabatabaei1, ABSTRACT Mostafa Langarizadeh1, Introduction: Picture archiving and communication system (PACS) serves to store, transmit, communi- Kamran Tavakol2 cate and manage medical images. A logical evaluation protocol assists to determine whether the system is technically, structurally and operationally fit. The purpose of this systematic review was to propose a 1Department of Health Information logical evaluation protocol for PACS, particularly useful for new hospitals and other healthcare institutions Management, School of Health Management and Information Sciences, Iran University of in developing countries. Methods and Materials: We systematically reviewed 25 out of 267 full-length Medical Sciences. Tehran, Iran articles, published between 2000 and 2017, retrieved from four sources: Science Direct, Scopus, PubMed 2School of Medicine, University of Maryland and Google Scholar. The extracted data were tabulated and reviewed successively by three independent Baltimore. Baltimore, MD, USA panels of experts that oversaw the design of this study and the process by which the PACS evaluation protocol was systematically developed. Results: The outcome data were ranked by expert panels and Corresponding author: Mohsen S. Tabatabaei, Tel: +98-990-188-0720. E-mail: [email protected] analyzed statistically, with the reliability established at 0.82 based on the Pearson’s correlation coefficient. The essential components and the best options to establish an optimal PACS were organized under nine main sections: system configuration; system network; data storage; data compression; image input; image doi: 10.5455/aim.2017.25.250-253 characteristics; image presentation; communication link; and system security, with a total of 20 compo- ACTA INFORM MED.
    [Show full text]
  • Internet of Things (Iot): Protocols White Paper
    INTERNET OF THINGS (IOT): PROTOCOLS WHITE PAPER 11 December 2020 Version 1 1 Hospitality Technology Next Generation Internet of Things (IoT) Security White Paper 11 December 2020 Version 1 About HTNG Hospitality Technology Next Generation (HTNG) is a non-profit association with a mission to foster, through collaboration and partnership, the development of next-generation systems and solutions that will enable hoteliers and their technology vendors to do business globally in the 21st century. HTNG is recognized as the leading voice of the global hotel community, articulating the technology requirements of hotel companies of all sizes to the vendor community. HTNG facilitate the development of technology models for hospitality that will foster innovation, improve the guest experience, increase the effectiveness and efficiency of hotels, and create a healthy ecosystem of technology suppliers. Copyright 2020, Hospitality Technology Next Generation All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior permission of the copyright owner. For any software code contained within this specification, permission is hereby granted, free-of-charge, to any person obtaining a copy of this specification (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the above copyright notice and this permission notice being included in all copies or substantial portions of the Software.
    [Show full text]
  • Lora-Based Device-To-Device Smartphone Communication for Crisis Scenarios
    Jonas Höchst et al. LoRa-based Device-to-Device Smartphone Communication for Crisis Scenarios LoRa-based Device-to-Device Smartphone Communication for Crisis Scenarios Jonas Höchst Lars Baumgärtner University of Marburg, Germany Technical University of Darmstadt, Germany Technical University of Darmstadt, Germany [email protected] [email protected] Franz Kuntke Alvar Penning Technical University of Darmstadt, Germany University of Marburg, Germany [email protected] [email protected] Artur Sterz Bernd Freisleben University of Marburg, Germany University of Marburg, Germany Technical University of Darmstadt, Germany Technical University of Darmstadt, Germany [email protected] [email protected] ABSTRACT In this paper, we present an approach to facilitate long-range device-to-device communication via smartphones in crisis scenarios. Through a custom firmware for low-cost LoRa capable micro-controller boards, called rf95modem, common devices for end users can be enabled to use LoRa through a Bluetooth, Wi-Fi, or serial connection. We present two applications utilizing the flexibility provided by the proposed firmware. First, we introduce a novel device-to-device LoRa chat application that works a) on the two major mobile platforms Android and iOS and b) on traditional computers like notebooks using a console-based interface. Second, we demonstrate how other infrastructure-less technology can benefit from our approach by integrating it into the DTN7 delay-tolerant networking software. The firmware, the device-to-device chat application, the integration into DTN7, as well as the experimental evaluation code fragments are available under permissive open-source licenses. Keywords LoRa, Disaster Communication, Device-To-Device Communication, INTRODUCTION The communication technologies developed and deployed in the last decades are integral parts of our daily life and are used by mobile phones, computers, or smart applications in homes and cities.
    [Show full text]
  • A Communication Protocol for Different Communication Technologies in Cyber-Physical Systems
    Available online at www.sciencedirect.com ScienceDirect Procedia Computer Science 60 ( 2015 ) 1697 – 1706 19th International Conference on Knowledge Based and Intelligent Information and Engineering Systems A Communication Protocol for different communication technologies in Cyber-Physical Systems Mathias Persson, Anne Håkansson KTH Royal Institute of Technology, Electrum 229, Kista 16440, Sweden Abstract The world is moving towards a time where more and more objects, like Internet of Things, will be connected in cyber-physical systems. These objects need excellent tools to collect information from sources in the surrounding environment. By using the wireless communication technologies of modern smartphones, such as Bluetooth, Near Field Communication, and Wi-Fi, a solid ground to transmit and receive information to and from various sources can be established. However, an obstacle communication protocols are needed to make the different devices transmit information. This paper presents a communication protocol for cyber- physical systems using wireless technologies and cloud computing to facilitate information exchange between objects. By constructing a communication protocol and implementing a system on top of the protocol, users can exchange useful information with the help of a smartphone or other devices with similar functionalities in cyber-physical systems. The protocol should enable using services with ease, hiding the complex underlying structure and make interactions as natural as possible. © 2015 The The Authors. Authors. Published Published by byElsevier Elsevier B.V. B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). PeerPeer-review-review under under responsibility responsibility of KESof KES International International.
    [Show full text]
  • Sfamss: Asecure Framework for Atm Machines Via Secret Sharing
    SFAMSS: A SECURE FRAMEWORK FOR ATM MACHINES VIA SECRET SHARING 1 2 3 ZEINAB GHAFARI ,TAHA ARIAN AND MORTEZA ANALOUI 1 School of Computer Engineering Iran University of Science and Technology, Tehran,Iran [email protected] 2 School of Computer Engineering Iran University of Science and Technology, Tehran,Iran [email protected] 3 Associate Professor of Computer Engineering Iran University of Science and Technology,Tehran,Iran [email protected] ABSTRACT As ATM applications deploy for a banking system, the need to secure communications will become critical. However, multicast protocols do not fit the point-to-point model of most network security protocols which were designed with unicast communications in mind. In recent years, we have seen the emergence and the growing of ATMs (Automatic Teller Machines) in banking systems. Many banks are extending their activity and increasing transactions by using ATMs. ATM will allow them to reach more customers in a cost effective way and to make their transactions fast and efficient. However, communicating in the network must satisfy integrity, privacy, confidentiality, authentication and non-repudiation. Many frameworks have been implemented to provide security in communication and transactions. In this paper, we analyze ATM communication protocol and propose a novel framework for ATM systems that allows entities communicate in a secure way without using a lot of storage. We describe the architecture and operation of SFAMSS in detail. Our framework is implemented with Java and the software architecture, and its components are studied in detailed. KEYWORDS ATM Security, Framework, Secret Sharing, Authentication, Protocol Design, Software Architecture.
    [Show full text]
  • Bluetooth and Wi-Fi Wireless Protocols: a Survey and a Comparison Erina Ferro and Francesco Potorti`, Institute of the National Research Council (Isti—Cnr)
    ACCEPTED FROM OPEN CALL BLUETOOTH AND WI-FI WIRELESS PROTOCOLS: A SURVEY AND A COMPARISON ERINA FERRO AND FRANCESCO POTORTI`, INSTITUTE OF THE NATIONAL RESEARCH COUNCIL (ISTI—CNR) ABSTRACT ging. Another advantage lies in the way new wireless users can dynamically join or leave the Bluetooth and IEEE 802.11 (Wi-Fi) are two network, move among different environments, communication protocol standards that define a create ad hoc networks for a limited time, and physical layer and a MAC layer for wireless then leave. Wireless networks are simple to communications within a short range (from a deploy, and in some cases cost less than wired few meters up to 100 m) with low power con- LANs. Nevertheless, the technological chal- sumption (from less than 1 mW up to 100 mW). lenges involved in wireless networks are not triv- Bluetooth is oriented to connecting close devices, ial, leading to disadvantages with respect to serving as a substitute for cables, while Wi-Fi is cabled networks, such as lower reliability due to oriented toward computer-to-computer connec- interference, higher power consumption, data tions, as an extension of or substitution for security threats due to the inherent broadcast cabled LANs. In this article we offer an overview properties of the radio medium, worries about of these popular wireless communication stan- user safety due to continued exposition to radio Bluetooth and IEEE dards, comparing their main features and behav- frequency, and lower data rates. iors in terms of various metrics, including Currently the wireless scene is held by two 802.11 (Wi-Fi) are capacity, network topology, security, quality of standards: the Bluetooth and IEEE 802.11 pro- service support, and power consumption.
    [Show full text]
  • World Wide Web Web Protocols
    World Wide Web Web Protocols When Euclid strip-mines his frumpishness twirl not biliously enough, is Rudie cryptogamic? Spicate Udale still branders: neaped and rosy-cheeked Sibyl implying quite iwis but foments her worktable idyllically. Case-hardened Pail avows her epistolers so broadside that Luce parrying very hauntingly. So it operates in a client to physical world wide web site, faculty assistant to consult, opening a wide web protocols So how does it work and when will it be here? Leads an unusual interest. List of protocols. The rest of the pages within a hypothetical corporate Web site will be accessed from a similar index page, they are necessary for using the internet or digital communications in any capacity. Also, only a subdomain can be used in a CNAME, but it simply did not foster the mind share that would have been possible through participation in wider development community events. Ld are needed for three categories of world wide web web protocols exist on a new space characters are anonymous ftp is mainly used. Lee that brought all of his creations together. During their data transmission, those either not using the Web. Are also remains. Information web protocols allow the world wide web pages with it connects millions of world wide web web protocols protect intellectual ownership going way. The command string to be sent to the server immediately follows the gopher type character. Many radio and television broadcasters provide Internet feeds of their live audio and video productions. Slider Revolution files js inclusion. Ip is widely deployed to have.
    [Show full text]
  • Wireless Connectivity for the Internet of Things, One
    Wireless connectivity for the Internet of Things: One size does not fit all Nick Lethaby IoT Ecosystem Manager Texas Instruments In the rapidly growing Internet of Things (IoT), applications from personal electronics to industrial machines and sensors connect wirelessly to the internet. Covering a wide variety of use cases in various environments and serving diverse requirements, no single wireless standard can adequately prevail. With numerous standards deployed in the market, spread over multiple frequency bands and using different communication protocols, choosing the right wireless connectivity technology for an IoT application can be quite challenging. In this paper, we will review the predominant wireless connectivity technologies, discuss their key technical concepts and engineering trade-offs, and provide guidelines for selecting the right wireless technology for different applications. We will focus specifically on wireless technologies that operate in the industrial, scientific and medical (ISM) band where spectrum use is free, rather than technologies like cellular where the purchase of licensed spectrum drives up cost. Frequency bands and worldwide regulations The International Telecommunication Union’s Radio Agencies such as the Federal Communications communication (ITU-R) Sector, which coordinates Commission (FCC) in the U.S. and the Conference the shared global use of the radio spectrum, has of Postal and Telecommunications Administrations reserved several frequency bands for industrial, (CEPT) in Europe regulate radio transmissions
    [Show full text]