一种基于Redis多数据结构协同的物联网设备状态检测与通知方法、装置及电子设备
By employing a Redis multi-data-structure collaboration method and utilizing ordered sets and Lua scripts to optimize device status detection, the problems of offline detection lag and resource waste in IoT device status detection are solved, achieving second-level offline sensing and efficient device status synchronization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DI YI SHANGHAI INTELLIGENT TECH CO LTD
- Filing Date
- 2026-04-07
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies for detecting the status of IoT devices suffer from problems such as offline detection lag, rigid alarm logic, redundant invalid interactions, and excessive database pressure, resulting in low detection efficiency, waste of resources, and poor system scalability.
We employ a Redis multi-data-structure collaborative approach, utilizing ordered sets to build an online device index. Combined with Lua scripts and a sliding time window algorithm, we achieve second-level offline awareness of device status. Furthermore, we leverage Redis's single-threaded execution capabilities and pipeline technology to perform batch operations, reducing network interactions and database pressure.
It achieves second-level offline sensing, reduces alarm storms, lowers system load, improves the efficiency of device status detection and system scalability, and avoids resource waste.
Smart Images

Figure CN121984896B_ABST