100 likes | 169 Views
XFSP. Ltjg. Ekrem Serin TU Navy. XFSP. Cross Format Schema Protocol (XFSP) Target Area XML Serialization / XML Marshalling Transactions via XML Possible Applications Net-VEs XML-RPC SOAP Benefits Schemas can be tailored : No need to hard code protocols Compact Efficient
E N D
XFSP Ltjg. Ekrem Serin TU Navy
XFSP • Cross Format Schema Protocol (XFSP) • Target Area • XML Serialization / XML Marshalling • Transactions via XML • Possible Applications • Net-VEs • XML-RPC • SOAP • Benefits • Schemas can be tailored : No need to hard code protocols • Compact • Efficient • Platform-Independent • Run-time Extensibility THE MOVES INSTITUTE
XML Data XML Data XSFP • Idea : Creating DOM Pipe between users Schema Schema XML Data Schema DOM : Document Object Model THE MOVES INSTITUTE
XFSP • Process : 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 as is. THE MOVES INSTITUTE
XFSP • Process : 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 INSTITUTE
XFSP Text Based XML Example THE MOVES INSTITUTE
XFSP • XFSP and NPSNET-V • NPSNET-V : Run-time Extensible Networked Virtual Environment. • XFSP is embedded into the NPSNET-V architecture as a network module. • Packet formats are defined by using XML-Schema. • Users can tailor their packet formats which point the application layer protocol. • Run-time extensibility of network protocols. • Protocol can be associated with entity. • When an entity is loaded at run-time, all other users are informed about its protocol. • Framework is not targeted to define the semantics of the protocol. THE MOVES INSTITUTE
XFSP • XFSP / ESPDU Packet Format ESPDU : Entity State Protocol Datagram Unit THE MOVES INSTITUTE
XFSP • XFSP / NPSNET-V working with DIS and XFSP THE MOVES INSTITUTE
XFSP • Run-time Extensibility : Detonation PDU Protocol is loaded at run-time. THE MOVES INSTITUTE