Communications Protocol Testing: Balancing Technology, Planning, and Compliance

Total Page:16

File Type:pdf, Size:1020Kb

Communications Protocol Testing: Balancing Technology, Planning, and Compliance Communications Protocol Testing: Balancing Technology, Planning, and Compliance by David A. Vogel, Ph. D. and David S. Bernazzani both from Intertech Engineering Associates, Inc. as published in Medical Electronics Manufacturing, Fall 2004 The design and validation of communications • Facilitating parallel development and testing protocols for intra-device communications activities. and for external communications must be But, decentralized design philosophies also introduce handled with the same care as other device new challenges to instrument designers, implementers, software. This article addresses some of the and testers. Challenges are especially apparent when design, validation, and regulatory compliance the microprocessors in a device are to communicate challenges related to communications directly with each other. When the integration of microprocessor-based subsystems are inadequately protocols. planned, implemented, and tested, it often leads to esting the increasing number of microprocessors discovery of defects after instruments are released to that need to communicate reliably with each COMPANY PROFILE Tother within medical devices poses not one but three different testing challenges: technical, planning Intertech Engineering Associates, Inc. (resources, schedule, budgets, etc.), and compliance. It’s a rare electronic medical device that does not make use Address: 100 Lowder Brook Avenue of microprocessors in its design. Increasingly, designs Suite 2500 are taking advantage of low-cost microprocessors to Westwood, MA 02090 partition functionality. This is a change from earlier www.inea.com - (781) 801-1100 designs in which more functionality was centralized Industry: (Electro)Medical Devices into a more powerful general-purpose processor that Services: Assessments Training relied on an array of external devices. Consulting Hands-on Engineering The benefits of a partitioned design philosophy Skills: Product Design include: Risk Management • Keeping hardware and software simpler and Requirements Engineering Electronics Development easier to develop and test. Software Development • Keeping functionality separate (fire-walling) Software Verification and Validation Production/Quality System Software Validation as a protective measure from random software defects. the field. The integration testing of large multiprocessor It is important to understand and address FDA’s systems should focus on interfaces, many of which are suggestions for the validation of communications communications interfaces. interfaces. But, is that the only reason to undertake a serious validation test effort? Defects in communications Compliance Challenges software are notorious for escaping detection under FDA’s guidance, “General Principles of Software laboratory test conditions only to surface shortly after Validation,” mentions communications or interfaces release of a device to the marketplace. several times under the section relating to “Activities Some field defects are benign and often are not even and Tasks – Typical Tasks Supporting Validation.”1 identified as defects. Others, however, can become a The guidance recommends that “typical software nuisance to users, and still others can create safety issues. requirements specify … the definition of all external The effort expended on validation should be proportionate and user interfaces, as well as any internal software- to the complexity of the communications software (i.e., to-system interfaces.” It points out that “external likelihood of failure) and the severity of the consequences interfaces are those with other software (including of its failure. If the consequences include a risk of harm operating system software), system hardware, and the to a user, the validation effort should be substantial. A users.” This definition covers quite a bit of territory. substantial communications software validation effort This article focuses on communications between might also be justified if a communications software microprocessor-control subsystems within a device failure could trigger a device recall, resulting in financial and digital communications with external devices or harm to the device manufacturer. computers. Planning Challenges As device development progresses from requirements Beyond the quality planning suggested by FDA’s definitions to design, the guidance recommends that guidance, considerable effort should be put into the “the software design specification should include … technical planning for development and testing of device communication links (links among internal modules of communications. the software, links with the supporting software, links with the hardware, and links with the user).” Communications software is unique in that the software for both sides of the communication needs to be working Furthermore, as designs are evaluated by peer team to fully exercise the software on either side (unless some members and reviewed with management, the guidance type of simulation is used). Planning must establish the recommends that “an analysis of communication links order in which the communicating pieces of software are should be conducted to evaluate the proposed design to be brought up and whether communications simulators with respect to hardware, user, and related software are needed to help debug the software. requirements.” For similar reasons, testing communications software The guidance also covers testing of communications should also be planned carefully. It is quite common to within a device under integration-level testing. It design special connections and switches into hardware to suggests that “integration-level testing focuses on the facilitate development and testing. In some cases, special transfer of data and control across a program’s internal equipment must be purchased, rented, or custom-designed and external interfaces.” Further, the guidance says to fully test a communications interface. Unexpected that “these tests should provide a thorough and rigorous costs and delays in the development and test schedules examination of the software product’s compliance with may result if this is not planned adequately in advance. its functional, performance, and interface definitions and requirements.” Communications testing can also require hardware modifications to allow access to the communications “Communications Protocol Testing: Balancing Technology, Planning and Compliance” page as published in: Medical Electronics Manufacturing - Fall, 004 Copyright 004 - Intertech Engineering Associates, Inc. signals. Part of the planning for communications testing Finally, a good communications specification also should consider this to ensure that required switches, includes use of case-based data-flow diagrams that show connections, and other monitoring and control access typical communications sequences that are anticipated points are factored into the hardware and software in a normally functioning system, as well as in adverse development plans. system conditions such as dropped communications, Perhaps most important, communications testing is like nonsense message receipt, alarm conditions, system all other forms of verification and validation testing power up and down, and restart. in the sense that software cannot really be tested if Technology Challenges the test engineer doesn’t know how it is supposed to Communications via Ethernet, RS-232, or RS-422, etc., work. As with most validation efforts, detailed, testable with external devices or computers can be monitored requirements are perhaps the most important ingredient and sometimes tested with commercial off-the-shelf for success. Useful communications testing requires that test equipment. More often than not, these devices a detailed protocol requirements specification be in place are communications monitors, and, while useful before initiating testing activities. These specifications for examining the communications traffic on the are also called interface requirements specifications, communications medium, they are typically limited communication protocol specifications,or interprocessor in their ability to insert errors to test the handling on communications specifications. These specifications both sides of the communications. should include high-level descriptions of: Development systems, specifically debuggers and in- • Communication timing requirements circuit emulators, are often used to test communications • Message initiation and acknowledgement software. The procedure is to set breakpoints in the sequencing communications software to stop the system so that the • Details on message structure (envelope, test engineer can view the contents of a buffer that is synchronization patterns, error checking and full of information received or about to be transmitted. correction, addressing, sequence numbers, etc.) This approach is useful for some testing; however, it • Handling of unexpected or out-of-sequence is labor-intensive and time-consuming, and it requires messages a skilled tester. This approach also is limited in its • Command groups ability to test a system in full operation at its stressed • Error detection, reporting, and recovery timing limits. • Resynchronization details. Most communications protocols require rapid Additionally, a command dictionary should include sequencing of messages and timely responses that details on: make testing difficult when using debugger breakpoints. • The structure of each command Often the testing is confined not only by the technical • Data elements
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]