Yusuke Doi, Yumiko Sato, M. Ishiyama, Y. Ohba, K. Teramoto
{"title":"XML-less EXI with code generation for integration of embedded devices in web based systems","authors":"Yusuke Doi, Yumiko Sato, M. Ishiyama, Y. Ohba, K. Teramoto","doi":"10.1109/IOT.2012.6402307","DOIUrl":null,"url":null,"abstract":"XML is a widely used as message serialization format in web-based open and heterogeneous systems because of its flexible data model. Internet-of-Things (IoT), or network with constrained nodes, is expected to be heterogeneous, and flexibility and expressiveness of XML are also good for IoT. However, RAM and bandwidth constraints on such nodes make handling of XML difficult. The authors are developing XML-less EXI to solve the problem. Our approach adopts Efficient XML Interchange (EXI) as alternative serialization form of XML. It solves the bandwidth problem of XML. At the same time, the authors apply code generation techniques to encode/decode EXI stream without XML data models on constrained nodes. Static state machines from a schema-informed EXI grammar enable constrained nodes to convert EXI data directly from/to its internal data. The authors show that XML-less EXI is highly efficient in RAM usage regardless of the size of an EXI stream and more compact in ROM size than other implementations. The authors also provide code size estimations for a set of schema-informed EXI grammars and insights on how to make the grammars compact.","PeriodicalId":142810,"journal":{"name":"2012 3rd IEEE International Conference on the Internet of Things","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 3rd IEEE International Conference on the Internet of Things","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IOT.2012.6402307","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14
Abstract
XML is a widely used as message serialization format in web-based open and heterogeneous systems because of its flexible data model. Internet-of-Things (IoT), or network with constrained nodes, is expected to be heterogeneous, and flexibility and expressiveness of XML are also good for IoT. However, RAM and bandwidth constraints on such nodes make handling of XML difficult. The authors are developing XML-less EXI to solve the problem. Our approach adopts Efficient XML Interchange (EXI) as alternative serialization form of XML. It solves the bandwidth problem of XML. At the same time, the authors apply code generation techniques to encode/decode EXI stream without XML data models on constrained nodes. Static state machines from a schema-informed EXI grammar enable constrained nodes to convert EXI data directly from/to its internal data. The authors show that XML-less EXI is highly efficient in RAM usage regardless of the size of an EXI stream and more compact in ROM size than other implementations. The authors also provide code size estimations for a set of schema-informed EXI grammars and insights on how to make the grammars compact.
XML由于其灵活的数据模型,在基于web的开放异构系统中被广泛用作消息序列化格式。物联网(Internet-of-Things,简称IoT)或具有约束节点的网络被认为是异构的,XML的灵活性和表达性也有利于IoT。然而,这些节点上的RAM和带宽限制使得处理XML变得困难。作者正在开发无xml的EXI来解决这个问题。我们的方法采用高效XML交换(Efficient XML Interchange, EXI)作为XML的备选序列化形式。它解决了XML的带宽问题。同时,作者应用代码生成技术对约束节点上没有XML数据模型的EXI流进行编码/解码。基于模式的EXI语法的静态状态机使受约束的节点能够直接将EXI数据从/转换为其内部数据。作者表明,无论EXI流的大小如何,少xml的EXI在RAM使用方面都是高效的,并且在ROM大小方面比其他实现更紧凑。作者还提供了一组基于模式的EXI语法的代码大小估计,以及关于如何使语法更紧凑的见解。