Abstract
The flexible programming technology for smart home has been proposed for years, such as mobile-agent based architecture. Such an architecture usually employs script language for agent migration, and thus the application on home devices can be dynamically changed. However, it does not suit for memory-limited platforms. Based on the features of home environment, we proposes the EcoDelegate, which is a more lightweight network architecture, to reprogram the smart-home system with autonomous delegates on resource-constrained platforms. To reduce the transmission latency of delegates, we implement the incremental linking approach for remote-reprogramming. In the experiment, we design three cases to evaluate the feasibility and the performance of our work. The result shows EcoDelegate consumes only 3838 bytes, and the transmission time of the cases can be enhanced 88.94% through incremental linking. With the support of EcoDelegate, smart-home systems can not only be flexible and programmable to meet the dynamically changed requirements, but still keep the compact utilization of the device memory. The feature of the Peer-to-Peer collaboration between devices also contributes the efficiency of device communication and the elimination of the control point of failure on the centralized gateway.