Extending the IEEE Std. to serve distributed weblab architectures Ricardo Costa - Gustavo R. Alves - Mário Zenha-Rela - 1st International Conference Lisbon, Portugal 17 th – 18 th, November 2011
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 2/16 Presentation outline Introduction IEEE Std. overview – Modules & Layers – TEDS structure – HTTP API Distributed weblab architecture LabTEDS Operational sequence – Registration – Discovery – Access process (reconfiguration & logging) Thin implementation Conclusions
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 3/16 Introduction Engineering & Sciences courses require the adoption of good Teaching & Learning processes involving experimental and theoretical work components Theoretical workExperimental work - Traditional classes - Virtual classes VLE (Virtual Learning Environments) - Traditional laboratories - Remote Laboratories (Weblabs) Implemented using diferent architectures and APIs (Application Programming Interfaces) Difficult Developments & Resource Sharing Why ? Global Online Laboratory Consortium
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 4/16 IEEE Std. overview Transducer Interface Module (TIM): controls a set of Transducer Channels (TCs), implementing commands and protocols, supported on information within Transducer Electronic Data Sheets (TEDSs). Network Capable Application Processor (NCAP): performs network and TIM communications, data conversion and processing functions supported on Application Programming Interfaces (APIs). Standard for network interface smart transducers (Sensors & Actuators) Main modules
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 5/16 IEEE Std. overview Modules & Layers
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 6/16 IEEE Std. overview TEDS structure (Transducer Electronic Data Sheet)
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 7/16 IEEE Std. overview HTTP API General format: : / ? ) HTTP API: Discovery: Discovers IEEE1451.x communications modules, TIMs and TCs; TransducerAccess: Reads/Writes TCs; TEDSManager: Reads/Writes TEDS and manage NCAP-side cached TEDS. TransducerManager: Provides control functions over TIM accesses, e.g., send arbitrary low-level commands to it.
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 8/16 Distributed weblab architecture New TEDS Thin approach Represents weblab instruments/modules (I&M) to be reconfigured in TIMs implemented using FPGA-based boards. "Work-in-progress on a thin IEEE architecture to implement reconfigurable weblab infrastructures" Vol. 7, No. 3 (2011) of International Journal of Online Engineering (iJOE). ISSN: , November 2011 (already presented at REV'2011). Map table
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 9/16 LabTEDS An experiment may require several weblabs Implemented as a thin or standard architecture (depends on the adopted APIs) Weblab URI location Log file URI location (assessment purposes) Text-based TEDS Lab2go Metadata - Reference Model Specification
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 10/16 Operational Sequence New IEEE HTTP API functions and interfaces: NCAPRegister, to register or unregister NCAPs (new Register API interface); NCAPDiscovery, to discovery NCAPs (Discovery API interface); ReadLabTeds and WriteLabTeds, to read and write LabTEDS (TEDS manager API interface); ReadTIM and WriteTIM, to reconfigure weblab infrast. (new Reconfiguration API interface) and; ReadLog and WriteLog, to read/write a log file for assessment (new Log access API interface). Overview
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 11/16 Operational Sequence Registration Process of register/unregister weblab infrastructures
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 12/16 Operational Sequence Discovery Using NCAPDiscovery and ReadLabTeds functions to access registered weblabs infrastructures
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 13/16 Operational Sequence Access (reconfiguration & logging) Reconfiguring Weblab: WriteTIM/ReadTIM for accessing the I&M in the TIM Log file xml schema contents format Logging: Activated in LabTEDS field 13 (WriteLabTeds) ReadLog and WriteLog functions to read/write the Log file.
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 14/16 Cross-map functions with low-level commands Thin implementation
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 15/16 Conclusions Currently there is no standard solution for implementing weblab architectures. The IEEE Std. may be a solution if its features are extended, namely: Using a new TEDS (LabTEDS) – Provides information about each weblab infrastructure; Defining new HTTP API functions and interfaces – Allows accessing specific weblab features (e.g. access LabTEDS information and logging files, and reconfigure weblab infrastructures); Creating a Thin architecture – for single NCAP-TIM implementations it simplifies developments and avoids overloading NCAP/TIM modules. Therefore, a standard solution based on the proposed architecture, that uses standard APIs and a common architecture, may bring advantages, promoting easier developments & more resources sharing.
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 16/16 Thanks for your attention ! Ricardo Jorge Guedes da Silva Nunes da Costa Webpage: Acknowledgments:
Ricardo Costa Introduction IEEE Std. overview - Modules & Layers - TEDS structure - HTTP API Distributed weblab architecture LabTEDS Operational sequence - Registration & Discovery & Access Thin implementation Conclusions 17/16 - replaced by FPGA-based board(s); - the I&Ms will be developed using HDLs (Hardware Description Languages) following the IEEE Std.. Extra slide