Abstract
Handling the development and management of networked embedded systems becomes more and more complex with the increasing number and diversity of connected components. The challenges encountered during application development can be mastered by applying a model-driven development approach and the concepts of service-oriented architectures (SOA). Both development strategies are well established in their domains and, in combination, provide an excellent base for the development of networked embedded systems. However, embedded networks nowadays seldom operate in isolation. The increasing interaction between embedded devices and Web-based services, as envisioned by the Internet of Things, requires interfaces that provide Internet-based access from and to services in the embedded network. We propose a development platform for embedded networks that eases the creation and maintenance of embedded networks and supports a seamless interaction between services from the embedded world and Web services through a bridge component. Despite creating a mere interface between the embedded world and Web services, this paper discusses how the embedded system can also be integrated semantically.
1. Introduction
As the Internet of Things (IoT) transitions from a conceptual vision to a technical reality, a significant integration challenge emerges. The ecosystem is currently divided into two distinct worlds: the Web Service domain, characterized by resource-heavy protocols like SOAP and WSDL, and the field-level device domain, consisting of resource-constrained embedded systems. These tiny, low-power devices—found in automotive, industrial, and domestic environments—often lack the computational capacity to host a standard web stack.
Existing integration strategies typically force a choice between two extremes: deploying expensive, power-hungry high-performance nodes capable of native web service hosting, or relying on brittle, manual mapping of connections that fails to scale. This paper introduces eSOA (embedded Service Oriented Architecture), a development platform designed to bridge this gap by enabling 8-bit microcontrollers to interact seamlessly with standard Web Services through a specialized bridge component and semantic metadata.
2. The eSOA Development Platform
The eSOA platform adapts traditional SOA principles to the constraints of embedded hardware using a model-driven development approach. The system architecture is organized into a four-layer hierarchy that guides the transition from abstract requirements to concrete implementation.
As shown in Figure 1, the development process involves:
- Application View: High-level abstract patterns defining system behavior.
- Service View: The logical structure of interconnected services, where "Pattern Filling" maps abstract requirements to specific software components from a repository.
- Abstract Infrastructure View: A model of the hardware topology, facilitating "Service Placement" optimization.
- Concrete System: The final deployment where code generation produces the actual firmware for the target devices.
A key departure from standard web-based SOA is the use of an Actor-Oriented Design. Instead of the synchronous "request-response" pattern, eSOA utilizes an event-driven "fire and forget" scheme. Sensors (actors) publish data to specific ports, which are then consumed by actuators or control services, reducing the overhead of maintaining active connections.
3. Bridging the Gap: The Service Gateway
The core of the eSOA integration strategy is the Web Service Bridge (or Service Gateway). This component acts as a bidirectional translator between the IP-based web world and the lightweight protocols of the embedded network (e.g., ZigBee).
As illustrated in Figure 2, the gateway assigns virtual IP addresses to embedded devices. When an external web call (e.g., an HTTP request to light/turnOn) reaches the bridge, it consults a mapping table to translate the high-level request into a specific node identifier, service ID, and port number compatible with the embedded network's protocol.
Furthermore, the bridge facilitates Semantic Integration. By leveraging a domain-specific taxonomy and metadata (such as technical characteristics and data types), the bridge can automatically generate WSDL files. This allows domain experts to discover and manage devices using intuitive names (e.g., "Light in Room 4") rather than cryptic hardware addresses.
4. Evaluation and Results
The eSOA approach was evaluated using a Smart Home Demonstrator setup. This prototype included a power supply, battery storage (simulating an electric vehicle), a refrigerator, and lighting systems. The system was integrated with external web services providing real-time energy pricing and weather data.
The evaluation yielded several key results:
- Efficiency: The generated middleware is extremely lightweight, requiring only 13 kBytes of memory, making it suitable for low-cost 8-bit controllers.
- Seamless Interaction: The bridge successfully demonstrated real-time translation and routing between IP networks and ZigBee-based field devices.
- Functional Utility: The demonstrator proved that the system could autonomously optimize energy consumption, such as triggering the refrigerator's cooling cycle or charging the battery when external web-based price signals indicated low costs.
5. Conclusion and Future Work
The eSOA platform provides a viable middle ground for IoT integration, offering the flexibility of SOA without the prohibitive resource requirements of a full web stack. By defining interactions statically at runtime and utilizing semantic metadata, the authors achieve significant communication efficiency and ease of use.
Future research will focus on enhancing discovery interfaces to support complex declarative queries and refining the taxonomy-based approach to improve automated semantic integration across diverse vendor domains. Additionally, the scalability of the central bridge component will be investigated to ensure it does not become a bottleneck in large-scale deployments.
Summary updated