隨著Internet的興起，網絡人口不斷增長，勢不可擋。大量的Internet連網服務已經擴展到家庭網絡。基於上述趨勢，對廣泛使用的家庭/住宅 路由器 (IP 分享器) 的效率運行和管理都成為非常重要的角色，尤其以家用路由器的管理。近年來，所有類型的物聯網應用的發展正在迅速發展。本文的主要目的是開發雲端控制器 Cloud Access Controller（Cloud AC）與家庭網關之間的物聯網通信架構。 IoTivity是一個開放源始碼的軟體框架，可以實現無縫設備到設備 (Device to Device) 的連接，並滿足物聯網的新興需求。本文實現了IoTivity和資料庫授權(Authentication) ，增加了Wireless Home Gateway和Cloud AC之間的安全認證機制。本研究結束之後，在Wireless Home Gateway和Cloud AC之間建立了一種高效安全的通信架構，包括自動開通(Auto Provision) ，註冊 (Registration) ，認證 (Authentication)，連接 (Connection) 和管理 (Management) ，以及具有IoTivity的大規模部署機制，顯示不僅提供了比以前更安全和更好的性能優勢，並以Cloud AC 平台提供快速安裝大量部署，安全管控等…管理Wireless Home Gateway的完整系統。 Following the rise of the Internet, the networking population grows continuously and is unstoppable. A lot of Internet accessing services have been extended to home networks. Based on the above trend, not only efficiency operation but excellent management to be widely used Home / Residential Gateway becomes a very important topic in the Internet. In recent years, the development of all types of IoT application is growing rapidly. The main purpose of this study is to develop a comprehensive communication architecture of IoT connection between Cloud Access Controller (Cloud AC) and Home Gateways. That is why the IoTivity is adopted in this study to enable the seamless device-to-device connectivity possible and satisfy the emerging requirement of IoT. The IoTivity and Database authorization are developed in this study to improve the security and authentication between Wireless Home Gateways and Cloud AC. Finally, an efficient and secure communication architecture between Wireless Home Gateway and Cloud AC is realized, including the auto provision, registration, authentication, connection and management. At the same time, the large scale deployment mechanisms based on IoTivity framework which obviously doesn’t only provides advanced secure and performance, but also more mature operation design for large scale wireless networking in the near future.