With the development of the computer technology and communications technology, it becomes an issue that how to build an intelligent home network, which improves the safety, comfort and convenience of home life and make home network smarter. In the smart home network, the appliance plug its service into the network dynamically and the service will be organized into the Jini federation automatically without any human intervention, and clients can use the server immediately , in the other hand, the appliance can use other services, as well as plug and play.Jini is a dynamic distributed architecture, it supports services dynamic registration, discovery and invocation, which makes software services and hardware services in Jini federation have the ability of adaptable, self-healing, self-governing and distributed. Jini is a completely service-based architecture, it has distributed object technology, code mobility features, and it provides leasing, remote events and transaction processing mechanism and so on, which provides a comprehensive technical support for services to Plug and Play in Network. Jini that based Java programming model enables services be really platform-independent nature. Jini introduces in a lease concept, which handles partial failure of distributed network, and provides an unified way on resource allocation, so that networks can self-healing and self-governing.Current lookup service lacks the capability to handle service assignment, such as load balance issue, urgent service requirement and so on, in this paper, we enhance them. And this paper adopts a Jini service resource management service to help Jini lookup service allocate service resource, and which is applied in the smart home network, and so achieves better service management. In this paper, we also discussed how to plug the service of appliance with different ability of computing and different save capacity into Jini federation, and provide some solutions. And at the same time, we give an approach to make limited appliance plug into Jini federation, which based on the surrogate architecture of Jini. And so the limited appliances can provide services to other clients, on the other hand, it can use other service in the federation. |