Edge Gateway Scene Configuration for Offline Smart Home Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing smart home systems require network connectivity to implement application scenes, leading to inconvenience when disconnected from external networks.
Innovation Solution
Configure application scenes on an edge gateway using scene configuration data and template data to generate a scene script, enabling scene execution even when disconnected from external networks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If application scenes are implemented based on cloud, then scene data can be configured and control instructions can be transmitted, but the smart home must be connected to external network which causes inconvenience when disconnected
Solution Approach 1:
The patent divides the scene execution function into two parts: cloud-based scene configuration and local edge gateway execution. The edge gateway segments the network dependency, allowing local execution without cloud connectivity. This resolves the contradiction by enabling scene functionality to work independently when disconnected while maintaining cloud configuration capabilities when connected.
Solution Approach 2:
The edge gateway acts as an intermediary between the cloud and local smart home devices. It receives scene configuration data from the cloud and generates executable scene scripts locally. This intermediary enables the system to function offline by caching and executing scenes locally while maintaining cloud connectivity for configuration updates.
2Productivity
If scene configuration data is stored on cloud, then scene data can be centrally managed, but response speed decreases when network connection is required
Solution Approach 1:
The edge gateway performs preliminary actions by pre-fetching and caching scene configuration data and templates locally. When a scene needs to be executed, the gateway can immediately retrieve and execute the scene script from local memory without waiting for cloud communication. This preliminary action eliminates network latency and significantly improves response speed.
Solution Approach 2:
The patent implements copying by creating local copies of scene configuration data and execution scripts on the edge gateway. Instead of repeatedly querying the cloud for scene data, the gateway stores cached copies of both configuration data and generated scripts, enabling instant local execution and eliminating network communication time for scene retrieval.
3Reliability
If application scenes require cloud connection, then centralized control is achieved, but system reliability decreases when disconnected from external network
Solution Approach 1:
The edge gateway implements self-service capability by autonomously generating and executing scene scripts using locally cached configuration data and templates. When disconnected from the cloud, the gateway can independently retrieve, parse, and execute scene configurations without external assistance. This self-service mechanism ensures high reliability and maintains full scene execution functionality regardless of network connectivity status.
Data Source
Figure 1~2
Figure 3
AI summary
Disclosed are a scene configuration method, a storage medium, and a border gateway. The scene configuration method comprises: acquiring scene configuration data corresponding to an application scene, and scene template data; generating, based on the scene configuration data and the scene template data, a scene script corresponding to the application scene to configure the application scene.