Design of wireless sensor networks middleware using the publish/subscribe paradigm

WSNs middleware is software positioned between applications and the operating system in sensor nodes. This middleware should have a communication function between the sensor nodes, to support good interactive functions between the user's applications. It must balance the resource use between the client and server system. WSNs comprise server-side middleware and in-network middleware. Server-side middleware supports application services efficiently in the server system. In-network middleware, located between sensor nodes, is in charge of managing the inner sensing information. We choose an event-driven network, the publish and subscribe network model, to support WSN. Using this model, sensor networks could reduce unnecessary energy consumption and respond to a variety of user requests.