Device Shadowing Service Aggregated Group State Calculation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing IoT systems face challenges in efficiently managing and aggregating states of networked devices due to intermittent connectivity, bandwidth limitations, and computing capacity constraints, which hinder real-time monitoring and control of device states across large networks.

Innovation Solution

The implementation of a device shadowing service that manages device representations, allowing for the calculation of aggregated group states by querying last known device states from representations rather than directly from devices, thereby reducing query time and improving data availability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If device states are queried directly from devices in real-time, then data accuracy is improved, but query time increases and devices with intermittent connectivity cannot be monitored

Engineering Contradiction:
Improvedata accuracyVSAvoidquery time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by maintaining device representations that store the last known state of each device. These representations are updated whenever devices report their state, so when queries are made, the most recent available data is already prepared and stored, eliminating the need for real-time device communication.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Device representations act as intermediaries between the query system and the actual devices. Instead of querying devices directly, the system queries these intermediary representations that hold cached state information. This mediator layer allows queries to be answered quickly even when devices are offline, while still maintaining data accuracy by using the most recent known state.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If device states are queried from all devices in a large network, then complete state aggregation is achieved, but bandwidth consumption and computing capacity requirements increase

Engineering Contradiction:
Improvestate aggregation completenessVSAvoidbandwidth consumption
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

The system extracts only the essential state information from devices and stores it in device representations. When aggregation is needed, only the aggregated data from representations is retrieved rather than querying every device individually. This extraction approach maintains complete state aggregation while minimizing bandwidth usage by eliminating redundant data transmission.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system creates copies of device state information in the form of device representations. These copies are maintained on the server side and can be queried without involving the actual devices. The copies contain all necessary state information for aggregation purposes, allowing complete state monitoring without the bandwidth overhead of continuous direct device communication.

Inventive Principle:
Principle #26Copying

3Speed

If device representations are maintained for all devices, then query speed is improved, but system complexity and memory requirements increase

Engineering Contradiction:
Improvequery speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system segments device information into structured device representations that contain only relevant state attributes. Each representation is a simplified data structure holding specific state information rather than complete device configurations. This segmentation enables fast queries by organizing data in an easily accessible format while keeping each individual representation simple and lightweight.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11271896B1Aggregated group state for a group of device representations
Publication Date: 2022.03.08 AMAZON TECH INC
  • US11271896B1 patent drawing
  • US11271896B1 patent drawing
  • US11271896B1 patent drawing

AI summary

A technology is described for operating a device shadowing service that calculates an aggregated group state for a group of device representations. An example method may include receiving device states for devices represented using a group of device representations, where the devices connect over a network to a device shadowing service configured to manage the device states. In response to an event, device representations included in the group of device representations may be identified. Device states indicated by the device representations may be obtained and an aggregated group state for the group of device representations may be calculated using the device states indicated by the device representations.