This thesis describes the smart home middleware that provides an automatic home service based on a user’s home service pattern in a smart home. Our smart home was divided into four parts-living room, bed room, study room, and DVD room-and the smart ...
This thesis describes the smart home middleware that provides an automatic home service based on a user’s home service pattern in a smart home. Our smart home was divided into four parts-living room, bed room, study room, and DVD room-and the smart home middleware could recognize an occupant's location using location-tracking-system-based UWB. The smart home middleware utilizes 7 basic data values to predict the home service pattern of the occupant: pulse, body temperature, facial expression value, room temperature, time, occupant location, and occupant motion. We defined the two-layer context model presented in this study as Layer 1, which defines 7 context data inputs that are acquired from the occupant, home environment, and home appliance, and Layer 2, which consists of the person's widget, the environment widget, and the device widget. Each widget manages context in the HHIML-based(human-home interaction mark-up language) XML tree structure. The context manager creates a context model and manages all contexts using the HHIML. All contexts created in HHIML format are transmitted to the Home Service Predictor. The home service predictor consists of three processes, the Supervised Algorithm-based Pattern Analyzer, the Rule-based Pattern Analyzer, and the Human Emotion Analyzer. The Supervised Algorithm-based Pattern Analyzer and the Rule-based Pattern Analyzer learn multi-contexts acquired from all sensor devices predict home services according to the learned pattern model. The Human Emotion Analyzer evaluates differences in the occupant's emotion or stress levels while the occupant enjoys home services. We applied a SVM(Support Vector Machine) as the SAPA's pattern algorithm and applied C 4.5 as the RPA's pattern algorithm. To recognize an occupant's emotion pattern, we applied K-means-based EM as the HEA's pattern recognition.