TL;DR
This paper tackles the challenge of modeling and deploying complex IoT-aware business processes in sensor networks. They introduce an extension to the BPMN 2.0 standard for direct sensor modeling and a novel Dynamic Consistent Hashing (DCH) algorithm for efficient, load-balanced deployment of these applications across distributed sensor networks.
What Problem Does This Paper Address?
The Internet of Things (IoT) is rapidly expanding, connecting countless smart sensors to gather data and enable intelligent applications. However, building IoT-aware business process applications is difficult due to the sheer diversity of sensors and the complexity of their sensing environments. Directly modeling these applications and then effectively deploying them to numerous, distributed sensor nodes presents significant hurdles. Existing business process modeling languages often lack the expressiveness to directly represent sensor devices as resources, and current deployment strategies struggle with dynamic load balancing and efficient access in heterogeneous sensor networks. This leads to complex development processes and inefficient system performance.
Methods
The authors propose a two-pronged approach:
- Resource-Oriented Modeling: They extend the Business Process Model Notation (BPMN) 2.0 standard by enhancing both its graphical and machine-readable (XML Schema Definition - XSD) models. This extension allows for the direct modeling of sensor devices as business process resources. Key additions include a "Sensor Task" icon and the formal definition of "Sensor Device," "Sensor Service," and "Handler" elements, enabling developers to integrate sensor capabilities directly into their business process designs.
- Dynamic Consistent Hashing (DCH) Deploying Algorithm: To address the challenges of deploying applications to distributed sensor networks, they introduce a novel DCH-based algorithm. Unlike traditional hash-based methods that can lead to massive data transfers when servers are added or removed, DCH utilizes a virtual hash circle of 2^32 nodes. This approach maps both servers and applications to this circle, ensuring more balanced distribution. Furthermore, they incorporate a priority-based storage mechanism within the DCH framework to further optimize access efficiency, especially for time-sensitive IoT applications.
Datasets
Not discussed in the paper. The authors conducted simulation experiments using a custom setup.
Key Insights and Ideas
- Sensors as First-Class Citizens: The core idea is to treat sensor devices not just as data sources but as integral components of business processes, directly representable within standard modeling languages like BPMN.
- Bridging the Gap: The extended BPMN model acts as a crucial bridge, allowing developers to visually design IoT applications without needing deep expertise in low-level sensor integration or complex coding.
- Dynamic Scalability is Key: The DCH algorithm's ability to handle server additions/removals with minimal disruption is critical for the dynamic nature of IoT environments. Traditional hashing methods are brittle in this regard.
- Priority for Performance: Incorporating a priority-based indexing within the DCH algorithm is a smart way to ensure that critical IoT applications can be accessed quickly, even in large-scale deployments.
Key Results
The paper presents simulation results comparing their DCH-based algorithm against sequence-based and traditional hash-based approaches.
- Response Time: The DCH-based algorithm achieved an average response time of 6.925 ms, which was 46% and 31% less than the sequence-based and traditional hash-based algorithms, respectively.
- Throughput: The DCH-based algorithm demonstrated the highest throughput, handling 9728 applications compared to 6976 (sequence-based) and 8012 (traditional hash-based).
- Server Unavailability: When a server became unavailable, the DCH-based algorithm required transferring only 1602 applications, significantly less than the 4318 (sequence-based) and 4256 (traditional hash-based) applications. This highlights its resilience and efficiency in dynamic scenarios.
- CPU Utilization: The DCH-based algorithm showed the least "thrashing" (CPU utilization spikes) when a server failed, indicating better adaptation to dynamic IoT environments.
Limitations and Future Work
- Application Transfer Optimization: The authors acknowledge that when a server becomes unavailable, applications currently on that server still need to be redeployed to remaining servers. They propose future work on optimizing this application transfer process, potentially by automatically transferring applications to adjacent available servers at the lowest cost, rather than recalculating deployments.
- Resource-Limited Environments: The optimization of application transferring in resource-limited environments is identified as a future research focus.
Summary updated