近年來,無線感測網路(Wireleee Sensor Network, WSN)已被廣泛應用於感知人類活動環境,雖然WSN受限於電力供給因素,但仍然引起高度的討論。在全球對於居家照護的持續需求成長下,如何設計一個有效的遠距居家照護系統為近年來相當熱門的討論議題之一。 因此,在本論文中,基於WSN系統實作一個嵌入式閘道器,並且提出一套高效能的Client-Server 存取架構應用於存取資料庫。我們實作的閘道器平台採用ARM9硬體架構、embedded Linux 和Java機制來開發。應用此嵌入式平台來實作閘道器具有低成本、跨平台、體積小和低功耗等優點。我們閘道器被分為Client/Server兩部分,以分散式處理的方式來處理資料,如此設計,可增加系統運作效能。雙向溝通功能也實現於本系統中,因此,讓使用者可以從遠端裝置,在需要服務時啟動此遠距照護設備;無需使用時,則將遠距照護設備設定為休眠模式。此設計,不但減少遠距WSN設備的工作週期達省電目的,而且增加WSN系統的壽命;因本系統具有雙向溝通功能,甚且可融合情境感知的概念,提供受照護者最適合與即時的服務。從我們實驗結果可知,我們所提出的Client-Server架構存取資料庫效能會遠高於Direct Networking架構約5~500倍。
In recent years, Wireless Sensor Networks (WSN) has been already widely used to perceive the human activity environments. Although WSN is limited for its power electricity factor, it is still one of hot topics to be studied. Under highly growing and continuing demand over the world, how to design an effectively telecare system is one of the quite hot discussion topics. Hence, in this thesis, based on WSN system, we not only development an embedded gateway but also first propose a high-performance Client-Server structure to access the database. The ARM9 hardware platform, embedded Linux, and Java mechanism are employed in our gateway design. Our embedded platform owns the properties of low-cost, cross-platform, small size, and low-power consumption. There are two parts, Client and Server, in our gateway design, which uses the distribution method to process the input information such that this can effectively increase the system performance. The Bi-direction communication function is one major function and to be realized in this system. Therefore, uses can enable the telecare devices by a remote equipment with no place and time limitation; when not needing to use, uses can set the telecare devices as a sleep mode for power saving reason. Such design not only can reduce the working cycle of WSN but also increase the life-span of WSN. Moreover, since our gateway owns the bi-direction communication function, it can offer context-aware situation by each other and then provide the more suitable and real-time services for persons to be looked after. From our results, we know that the access performance of our proposed Client-Server structure is fast about 5~500 times on average than Direct Networking structure to access the database.