Context-Awareness Middleware for Highly Reliable Application Services in Greenhouse

In this paper, we diagnose sensor or device failure or malfunctions occurring in the Ubiquitous Sensor Networks (USN) application system of a greenhouse with a sensor network applied to it and propose a failure-diagnostic context-awareness middleware that helps increase the reliability of services provided by the system. The proposed middleware consists of a data management module, context provider module, context analysis module, service module and information storage module and determines if there is any sensor or device failure by using a failure-diagnostic algorithm to compare and analyze data obtained from interactions between the modules. The implemented middleware was tested in terms of performance through a simulation. As a result, it could be predicted that the middleware would provide high performance in a large-scale system with multiple sensors.