XFSP : Cross Format Schema Protocol Flexible Networking via XML-Defined Packet Payloads Ltjg. Ekrem Serin TU Navy.

Slides:



Advertisements
Similar presentations
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Advertisements

XML: Extensible Markup Language
U-P2P: A Peer-to-Peer Framework for Universal Resource Sharing and Discovery Neal Arthorne, Babak Esfandiari, Aloke Mukherjee Carleton University Ottawa,
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
SOAP.
CIS 375—Web App Dev II SOAP.
XML & Data Structures for the Internet Yingcai Xiao.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
AUV Workbench: Integrated 3D for Interoperable Mission Rehearsal, Reality and Replay Jeffrey Weekley Naval Postgraduate School, Monterey, CA USA
XML Parsing Using Java APIs AIP Independence project Fall 2010.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
SaxStore: a n aspect oriented persistence library for Java based on SAX events Riccardo Solmi University of Bologna May 2001.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
XML Prashant Karmarkar Brendan Nolan Alexander Roda.
XML Parser. Why Need a XML Parser ? Check XML syntax. ( is well-formed ? ) Validation. ( DTD and XML Schema ) Allow programmatic access to the document’s.
Technical Track Session XML Techie Tools Tim Bornholt.
PHP and XML TP2653 Advance Web Programming. PHP and XML PHP5 – XML-based extensions, library and functionalities (current XAMPP PHP version is )
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
XML and its applications: 4. Processing XML using PHP.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XML eXtensible Markup Language w3c standard Why? Store and transport data Easy data exchange Create more languages WSDL (Web Service Description Language)
Java API for XML Processing (JAXP) توسط : محمّدمهدي حامد استاد راهنما : دكتر مسعود رهگذر.
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
Sheet 1XML Technology in E-Commerce 2001Lecture 7 XML Technology in E-Commerce Lecture 7 XSL Formatting Objects, Java Data Binding.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Session IV Chapter 9 – XML Schemas
Electronic Commerce COMP3210 Session 4: Designing, Building and Evaluating e-Commerce Initiatives – Part II Dr. Paul Walcott Department of Computer Science,
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XML – An Introduction Structured Data Mark-up James McCartney CSCE 590, Cluster and Grid Computing.
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
UTILIZATION OF FORWARD ERROR CORRECTION (FEC) TECHNIQUES WITH EXTENSIBLE MARKUP LANGUAGE (XML) SCHEMA-BASED BINARY COMPRESSION (XSBC) TECHNOLOGY LT Terry.
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
Establishing a foundation for web services Ashraf Memon.
Jennifer Widom XML Data Introduction, Well-formed XML.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
SAX2 and DOM2 Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
XML eXtensible Markup Language. XML A method of defining a format for exchanging documents and data. –Allows one to define a dialect of XML –A library.
COSC617 Project XML Tools Mark Liu Sanjay Srivastava Junping Zhang.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed.
1 Introduction JAXP. Objectives  XML Parser  Parsing and Parsers  JAXP interfaces  Workshops 2.
Web services. DOM parsing and SOAP.. Summary. ● Exercise: SAX-Based checkInvoice(), ● push parsing, ● event-based parsing, ● traversal order is depth-first.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
Martin Kruliš by Martin Kruliš (v1.1)1.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
XML Extensible Markup Language
Java High level programming language ◦ Sun Microsystems ◦ ORACLE acquired Java Development Kit – JDK Java Runtime Environment – JRE Java Virtual Machine.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
XML: Extensible Markup Language
XML in Web Technologies
Database Processing with XML
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
CS 240 – Advanced Programming Concepts
XML Programming in Java
Extensible Markup Language (XML)
Unit 6 - XML Transformations
Presentation transcript:

XFSP : Cross Format Schema Protocol Flexible Networking via XML-Defined Packet Payloads Ltjg. Ekrem Serin TU Navy

THE MOVES INSTITUTE2 XFSP: Cross-Format Schema Protocol Idea Extensible and Flexible Application Layer Protocol Syntax  Transactions via XML  XML Serialization / Deserialization Depending on Schema Knowledge Target Area Net-VEs Web-based Applications XML-RPC  SOAP

THE MOVES INSTITUTE3 XFSP Benefits Schemas are tailored  No need to hard code protocol syntax, Compact XML, Platform-Independent (JAVA, XML), Hybrid Platform Communication  Application – Application  Application - Web Run-time Extensible  Can be loaded or changed

THE MOVES INSTITUTE4 XFSP XML Data Schema Application

THE MOVES INSTITUTE5 What is XML? - A Tree - Where it can be traversed in pre-order, in-order and post-order manners. 1 2

THE MOVES INSTITUTE6 XML Tree versionexerciseID pduType location x protocol y z header velocity x y z

THE MOVES INSTITUTE7 Parser APIs - With Java 1.4 SAX API is provided - Start and End of Elements (event based) - Element names are created by the user - No tree representation - JDOM - Tree Representation - Adapters (JAXP, Crimson, Oracle, Xerces, XML4J) - Outputters (Text)

THE MOVES INSTITUTE8 Parser APIs - DOM4J - Tree Representation - Adapters - Outputters - Custom-type Object Binding - XPath Addressing

THE MOVES INSTITUTE9 Schema - A Protocol - Where it defines the data structure of the XML documents for end-users. - Agreement. - Set of Rules.

THE MOVES INSTITUTE10 Schema

THE MOVES INSTITUTE11 Algorithm XML Serialization Parse the schema document. Create a look-up table for attributes and elements. Assign unique numbers to the elements and attributes. Walk through the XML tree and put each element and attribute into the output stream by replacing their tag names with numbers. Preserves the content in binary form as compact XML.

THE MOVES INSTITUTE12 Schema Parsing NameStart Tag NumberEnd Tag NumberDatatype /protocol1011Null /protocol/header1213ComplexType /protocol/location1415ComplexType /protocol/velocity1617ComplexType /protocol/header/version1819XSDShort /protocol/header/exerciseID2021XSDByte /protocol/header/pduType2223XSDInteger

THE MOVES INSTITUTE13 Schema Parsing NameTag NumberDatatype

THE MOVES INSTITUTE14 XML Serialization

THE MOVES INSTITUTE15 Compression File JDOMDOM4J XFSP

THE MOVES INSTITUTE16 Algorithm XML Deserialization Read tag numbers from the stream. Retrieve element or attribute associated with that number. Read the data. Create the elements, attributes and bind data to them. Rebuild the XML tree. Retrieve data from the tree when needed.

THE MOVES INSTITUTE17 Where to Use ? - SOAP (Simple Object Access Protocol) - XML envelope for transactions - Send it compressed <s:Envelope xmlns:s= “ xmlns:xsi=" xmlns:xsd=" Ekrem

THE MOVES INSTITUTE18 Where to use ? Application Code Web Service Application Client Platform and language specific communication Platform and language agnostic communication

THE MOVES INSTITUTE19 Binary X3D - X3D is an XML file format describes a scene graph, - Fairly heavyweight for Network Transmission, - Can be compressed by designed algorithm, - GZip Streams are used for further compression.

THE MOVES INSTITUTE20 X3D Compression

THE MOVES INSTITUTE21 X3D Compression / Decompression Serializer X3D Schema X3D File B3D GZIP Stream B3Z GZIP Stream X3D Schema B3Z File B3D Deserializer X3D

THE MOVES INSTITUTE22 Comparison in Kbytes

THE MOVES INSTITUTE23 Comparison in Percentage

THE MOVES INSTITUTE24 Rendering B3Z File GZIP Stream X3D Schema B3Z File B3D File Deserializer VRML97 X3D Stylesheet Xj3D Browser Transformer X3D File

THE MOVES INSTITUTE25 Rendering B3Z File

THE MOVES INSTITUTE26 NPSNET-V NPSNET-V : Run-time Extensible Networked Virtual Environment. XFSP is embedded into the NPSNET-V as a network module. Networking is run-time extensible. Packet formats are defined by using XML-Schema which is tailored to point the application layer protocol. Framework is not targeted to define the semantics between protocol and application.

THE MOVES INSTITUTE27 XFSP / ESPDU Packet Format

THE MOVES INSTITUTE28 Detonation PDU Packet Format

THE MOVES INSTITUTE29 Run-time Extensibility - ESPDU is loaded, no knowledge of Detonation PDU Syntax.

THE MOVES INSTITUTE30 Run-time Extensibility - Detonation PDU Protocol is loaded at run-time.

THE MOVES INSTITUTE31 XFSP Demo / Questions ?