在智慧家庭中,系統會根據當前的狀態提供使用者服務,然而有時候使用者的需求並非系統可以推論出來的,此時就需要透過使用者介面來提出需求。因此本論文欲提出一個對話系統,讓使用者可以透過此對話系統,操作家中的設備及詢問資訊。透過本體論的使用,本系統能夠考慮家中的環境及家電的配置,讓使用者提出的需求可以符合正確的操作,並隨著家裡的變化做出資訊的更新。當使用者透過自然語言所提出的需求之意圖不明確時,也可以透過推理或詢問的方式來釐清使用者的意圖。除此之外,本系統對於查詢的領域擁有擴充的能力,讓使用者除了查詢家中的資訊外,也能透過擴充機制來查詢其他領域的資訊。本論文也會針對抽象的服務需求,設計出一個服務規劃元件的介面定義,讓家中使用者可以不必事先決定好操作的過程,經由本系統服務規劃元件的分析後,決定出抽象服務的操作組合,滿足使用者的抽象需求。
A smart home system provides services to users according to the current situation, but sometimes there are some user requirements that cannot be reasoned by the system in advance. In such cases, users need an interface to deliver their requests to the smart home system. Therefore, this thesis proposes a dialogue system that allows users to operate devices in the house and asks for information. By using ontology, the system can take account of the home environment and configurations of appliances, so it can make sure that a user operation is valid and information is updated after the operation. When the intent of the user demand raised through natural language is not clear, the system can clarify the user's intention by way of reasoning or inquiry. In addition, the system has capabilities of expanding the field of query, allowing users not only to ask for the home information, but also be able to query information in other areas, such as weather inquiry. This thesis presents an implementation of an interface for service planner component, by allowing users to request the abstract service without determining the process of operations in advance. After planning, it will determine a set of operations to satisfy the user’s abstract requirements.