Languages of the WEB
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
PSON: a Serialization Format for Iot Sensor Networks
sensors Article PSON: A Serialization Format for IoT Sensor Networks Álvaro Luis 1 , Pablo Casares 2, Juan J. Cuadrado-Gallego 3,4 and Miguel A. Patricio 5,* 1 Internet of Thinger, Thinger.io, Madrid, Spain; [email protected] 2 Ultra Tendency International GmbH, 39326 Colbitz, Germany; [email protected] 3 Department of Computer Science, Universidad de Alcalá, Alcalá de Henares, 28805 Madrid, Spain; [email protected] 4 Department of Computer Science and Software Engineering, Concordia University, Montreal, QC H3G 1M8, Canada 5 Applied Artificial Intelligence Group, Universidad Carlos III de Madrid, Colmenarejo, 28270 Madrid, Spain * Correspondence: [email protected] Abstract: In many Internet of Things (IoT) environments, the lifetime of a sensor is linked to its power supply. Sensor devices capture external information and transmit it. They also receive messages with control commands, which means that one of the largest computational overheads of sensor devices is spent on data serialization and deserialization tasks, as well as data transmission. The simpler the serialization/deserialization and the smaller the size of the information to be transmitted, the longer the lifetime of the sensor device and, consequently, the longer the service life. This paper presents a new serialization format (PSON) for these environments, which simplifies the serializa- tion/deserialization tasks and minimizes the messages to be sent/received. The paper presents evaluation results with the most popular serialization formats, demonstrating the improvement obtained with the new PSON format. Keywords: data processing; data serialization; internet of things Citation: Luis, Á.; Casares, P.; Cuadrado-Gallego, J.J.; Patricio, M.A. PSON: A Serialization Format for IoT Sensor Networks. -
JSON on Mobile: Is There an Efficient Parser?
JSON on Mobile: is there an Efficient Parser? Ricardo Queirós CRACS & INESC-Porto LA & DI-ESEIG/IPP, Porto, Portugal [email protected] Abstract The two largest causes for battery consumption on mobile devices are related with the display and network operations. Since most application need to share data and communicate with remote servers, communications should be as lightweight and efficient as possible. In network communication, serialization plays a central role as the process of converting an object into a stream of bytes. One of the most popular data-interchange format is JSON (JavaScript Object Notation). This paper presents a survey on JSON parsers in mobile scenarios. The aim of the survey is to find the most efficient JSON parser in mobile communications characterised by high transfer rate of small amounts of data. In the performance benchmark we compare the time required to read and write data with several popular JSON parser implementations such as Gson, Jackson, org.json and others. The results of this survey are important for others that need to select an efficient parser for mobile communication. 1998 ACM Subject Classification D.2.2 Design Tools and Techniques, D.4.4 Communications Management Keywords and phrases serialization formats, mobile communication Digital Object Identifier 10.4230/OASIcs.SLATE.2014.93 1 Introduction Mobile devices have become a necessity for many people around the world. The ability to keep in touch with family and business partners or to share data in real time are only a few of the reasons for the increasing importance of mobile devices. The flip side of this global trend is related with battery consumption. -
Technologies for Web and Cloud Service Interaction: a Survey
Service Oriented Computing and Applications manuscript No. (will be inserted by the editor) Technologies for Web and cloud service interaction: a survey Harald Lampesberger Received: date / Accepted: date Abstract The evolution of Web and service technologies 1 Introduction has led to a wide landscape of standards and protocols for interaction between loosely coupled software components. The need to share network-based resources and use remote Examples range from Web applications, mashups, apps, and functionality in a program without dealing with low-level mobile devices to enterprise-grade services. Cloud comput- network access has fueled discussions in the 1970s [263, ing is the industrialization of service provision and deliv- 290,369] and ultimately led to the remote procedure call ery, where Web and enterprise services are converging on (RPC) framework by Birrell and Nelson [37] in the 1980s. a technological level. The article discusses this technologi- RPC became a driver in enterprise systems; location trans- cal landscape and, in particular, current trends with respect parency of procedures eases code reuse but requires tight to cloud computing. The survey focuses on the communi- coupling, e.g., a unified type system. In the 1990s, the prin- cation aspect of interaction by reviewing languages, proto- ciples of object orientation and RPC gave raise to distributed cols, and architectures that drive today’s standards and soft- objects [222]. Tight coupling and interaction complexity in ware implementations applicable in clouds. Technological RPC and distributed objects affected the scalability of enter- advances will affect both client side and service side. There prise systems, and at the end of the 1990s, message passing is a trend toward multiplexing, multihoming, and encryption between so-called services became an alternative enterprise in upcoming transport mechanisms, especially for architec- architecture with relaxed coupling and easier scalability.