| In recent years,China’s population aging trend continues to accelerate,the gap between supply and demand in the elderly aged care industry continues to expand,the variety and complexity of elderly services,the demand of the elderly for intelligent ways of aging is difficult to meet,and the vigorous development of IoT technology,the largescale emergence of IoT applications to provide new solutions for intelligent aging,but the specific application of IoT devices are redundant and complicated,heterogeneous,the lack of configurable and scalable However,the specific applications of IoT devices are redundant,heterogeneous,and lack of configurable and scalable access solutions.In this paper,we study the application of IoT technology in the field of intelligent elderly care to address the above problems.In this paper,we first study the configurable and scalable IoT device access based on the thing model,firstly,we use SSN ontology to model the devices in the platform in a unified way to facilitate the formation of a unified thing model to access this platform,then we use the network component to access the devices with different network protocols,and through the device gateway,the messages of different network protocols are transformed into unified messages in the platform and pushed to the event bus,and the subsequent service processing part obtains the push of events by subscribing to messages of different topics.Then,this paper also studies the development and optimization of the Trigger-Action model based on the rule engine,gives the analysis of the architecture of modern rule engine and its core Rete algorithm,injects the rules developed by end users and the facts pushed by the event bus into the rule engine through the rule parsing submodule and the fact parsing sub-module,and invokes the corresponding trigger actions through the action generation sub-module.This paper also analyzes the shortcomings of the existing Trigger-Action model and gives a detection algorithm to prevent the triggeraction loop.This paper also designs and implements a user-side B/S architecture Web system,which adopts a front-and back-end separation architecture,with the front-end responsible for DOM rendering to complete the view layer,and the back-end part responsible for processing and distributing business data to the front-end,with the front-end and backend resources defined in Restful style and data transfer in JSON format.The back-end part adopts Spring Boot2 framework,and the front-end behavioral layer adopts React development framework to complete the development with component-based thinking.In the functional test,the platform passed the test cases;in the performance test,the platform’s indicators could meet the standards,which showed that the platform met the system design specifications and could support the user requirements of the IoT data and service aggregation platform for the elderly’s smart living environment. |