IoT Device Control Data Segmentation for Faster Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
As the number of IoT devices connected to a server increases, the server struggles to respond to control rules in a timely manner due to the extensive amount of device control information, leading to slower response times and delayed actions.
Innovation Solution
The device control information is split into separately stored first data indicating a pending action and second data indicating operating parameter conditions, allowing the server to verify and send control instructions more efficiently by reading only the second data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If device control information is stored as a single large data structure, then the server can access all control rules, but the reading speed and verification efficiency decrease due to the extensive amount of data
Solution Approach 1:
The device control information is segmented into two separate data structures: first data storing pending actions and second data storing operating parameter conditions. This segmentation allows the server to read only the necessary second data when verifying conditions, significantly improving verification efficiency and reducing reading time compared to accessing a single large data structure.
2Reliability
If the server processes all device control information simultaneously, then complete control rules can be enforced, but the response time increases due to the extensive amount of information
Solution Approach 1:
The operating parameter conditions (second data) are extracted from the complete device control information and stored separately. When a control rule needs to be verified, the server extracts and reads only the relevant second data containing the operating parameter conditions, enabling fast verification while maintaining complete control rule compliance through the separate first data structure.
Solution Approach 2:
By segmenting device control information into pending actions (first data) and operating parameter conditions (second data), the server can process information in smaller, more manageable chunks. This segmentation enables the server to maintain reliable control rule enforcement while significantly reducing response time by processing only necessary data.
3Stability of the object's composition
If device control information is stored in a centralized structure, then data consistency is maintained, but the system complexity increases due to the extensive data management requirements
Solution Approach 1:
The centralized device control information is segmented into two separate storage locations: first data for pending actions and second data for operating parameter conditions. This segmentation maintains data consistency through structured storage while reducing management complexity by organizing data into distinct, easier-to-manage components rather than a single complex structure.
Data Source
AI summary
The present disclosure provides a method, an apparatus, a storage medium, and an electronic device for controlling an IoT device. The method includes: receiving detection data reported by an IoT device; verifying device control information based on the detection data; and sending, in response to second data in the device control information being successfully verified, a control instruction configured for execution of a pending action to the IoT device to be controlled based on first data. The above method is conductive to improving the response speed of the IoT device.


