|
If we have JINI devices with serial ports in our network we can easily integrate Sensor Network applications
with middleware services such as JINI/UPnP and/or Oscar. We have to create a service in the JINI framework indicating the Sensor Network application. The particular JINI device with serial port will provide that service. We can attach the gateway of the Sensor Network application to the serial port of this JINI device. For example, we have an application that queries room temperature or room humidity. Whenever this service will be quired in the network this JINI device with serial port will respond to that service query. From the JINI framework a function of the Sensor Network application will be called that will query the room sensors to measure the temperature and humidity of the specific room and deliver it to the gateway. As the gateway is connected to the JINI device serial port the JINI device will collect that data, if needed do some processing and supply to the querier application.
The sensor network application can provide a port (TCP/IP) so that other JINI services/applications can connect to the Sensor Network application. These JINI services/applications will send their query to the Sensor Network application through this port. The Sensor Network application should also provide some support methods/services that will be called from the JINI framework.
|