Edge Computing Hub Device Shadow Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing IoT systems face challenges with intermittent device connectivity, bandwidth limitations, and computing capacity, leading to inefficiencies in data management and processing, particularly in scenarios where devices are intermittently reachable or have variable response times.
Innovation Solution
The implementation of a device shadowing system, where a computing hub manages local and remote device shadows, storing device data and states, and synchronizing them with a service provider environment, allowing for efficient data management and retrieval even when devices are not directly accessible.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If devices communicate directly with centralized service provider environment, then data management is simplified, but system reliability deteriorates due to intermittent device connectivity and bandwidth limitations
Solution Approach 1:
A device shadow is introduced as an intermediary data structure that decouples the device from the centralized service provider environment. The shadow maintains a copy of device state and data locally at the edge computing resource, enabling the system to function reliably even when devices are intermittently connected. This mediator allows asynchronous synchronization and eliminates the direct dependency between devices and the centralized environment.
Solution Approach 2:
The device shadow pre-stores device data and state information at the edge computing resource before devices need to access it. This preliminary action ensures that when devices reconnect or need data, the information is already available locally, eliminating wait times and ensuring continuous operation without requiring real-time device connectivity.
2Power
If device data is stored and processed at centralized service provider environment, then data processing power is sufficient, but startup times during interruptions increase due to device unreachability
Solution Approach 1:
Device data and state information are preliminarily copied to the device shadow at the edge computing resource before interruptions occur. This pre-positioning of data ensures that when devices restart or reconnect after interruptions, the shadow already contains the necessary information, eliminating startup delays caused by device unreachability while maintaining sufficient processing power at the centralized environment.
3Reliability
If computing hub manages local device shadows with full synchronization, then data availability is improved, but bandwidth consumption increases due to continuous synchronization requirements
Solution Approach 1:
Instead of continuously synchronizing all device data, the system performs partial synchronization only when necessary - when devices reconnect or when state changes occur. The device shadow maintains essential device state information locally without requiring constant updates, reducing bandwidth consumption while ensuring data availability when needed.
Solution Approach 2:
Synchronization between devices and device shadows occurs periodically or event-driven rather than continuously. The shadow is updated at specific intervals or when triggered by state changes, eliminating the need for constant bandwidth consumption while maintaining data availability for edge computing operations.
Data Source
AI summary
Technology is described for management of shadowing for devices. A computing hub may store device data from a device in a buffer associated with a local device shadow of the device. The computing hub may determine a write status of the device data using a last write marker representing a last data entry written to the buffer. The computing hub may also determine a shadowing upload status of the device data using a last sent shadow marker representing a last data entry of the buffer sent to a device shadowing service in a service provider environment. The computing hub may send computing hub information that includes the last write marker and the last sent shadow marker to the device shadowing service in the service provider environment.


