Abstract:
Disclosed is a structure of a service framework of a home network, capable of integrating and simultaneously controlling a plurality of middlewares by controlling service profiles with different structures, thereby controlling middlewares and all home devices and thereby building a virtual service execution environment.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]     This application claims benefit under 35 U.S.C. § 119 of Korean Patent Application No. 2005-14936, filed on Feb. 23, 2005, in the Korean Intellectual Property Office, the entire contents of which are hereby incorporated by reference.  
       BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     The present invention relates to a home network, and in particular, relates to a structure of a service framework for providing artificial service and a method for using the same.  
         [0004]     2. Description of the Related Art:  
         [0005]     The term home network system means a system which connects PCs, peripheral devices, mobile phones, home appliances, etc. in a home into one network, and controls them. As one of the structures of the home network system, a method that builds up a common virtual computing environment called a middleware for the home appliances distributed in a home and provides an application over the home appliances has been suggested.  
         [0006]     A home network middleware provides an environment which is controlled for allowing a general user to use various devices connected to the home network in a way that they can use already existing home appliances without learning any special knowledge to use them, and also provides development of various application services of the home network, and execution platforms.  
         [0007]     That is, the middleware enables communication among many devices in a home network. Until now, HAVi (Home AV Interoperability), UPnP (Universal Plug and Play), PLC (Power Line communication), Jini, and HWW (Home Wide Web) have been suggested as a home network middleware.  
         [0008]      FIG. 1  shows a network system using such a conventional middleware. That is,  FIG. 1  shows home devices each of which includes a middleware. A UPnP network  10  uses a software technology which can form one network without any additional equipment by expanding a plug-and-play concept for connecting PCs and peripheral devices, when all home appliances as well as the peripheral devices of PCs are arranged in a home at the same time. It is a middleware for IT devices and has a peer-to-peer architecture.  
         [0009]     A PLC network  20  is a technology which forms the most extensive network of the existing infrastructure since power lines are provided to all homes. There is an advantage in that the cost required for forming a network is very low, and it is characterized in that when an electrical cord is inserted into the home appliances, the cord and appliances can form a simple network.  
         [0010]     A HAVi network  30  is an AV network solution only for AV devices and uses IEEE1394 as a communication media. It is operated as a home networking middleware for controlling an image data by using API functions, and has a peer-to-peer architecture.  
         [0011]     A Jini is a middleware having a client/server architecture using Java.  
         [0012]     However, Jini devices have a disadvantage in that each device must be provided with JVM (Java Virtual Machine) to be integrated into a network, and therefore it is more suitable for an office environment than a home environment.  
         [0013]     The UPnP network  10  is a solution using a HTTP server and XML, and can not be applied to all homes. The HAVi network  30  is not compatible with PCs and peripheral devices, and has a disadvantage in that standards are stipulated only for the upper OSI layers of the home appliances. Further, it focuses only on the applications and the services, and there is a problem connecting to the Internet since a lower network is limited to IEEE1394.  
         [0014]     A common specification is required among the makers which manufacture the devices which are connected to the same network in order to build up a home network in a home based upon the PLC network  20 .  
         [0015]     The HAVi network  30  is an AV network solution only for the AV devices using IEEE1394.  
         [0016]     As described above, the existing middleware each forms an isolated network, and is a limited application domain for communication and recognition between the devices.  
         [0017]     Accordingly, since the network which is integrated into one middleware type is not realized, a solution for the integrated network which takes into consideration the characteristic features of the home devices is required.  
         [0018]     That is, a method is required for grasping the information about the entire home environment, and providing various types of services and intelligent services using the home resources.  
       SUMMARY OF THE INVENTION  
       [0019]     The present invention is suggested to address the above-mentioned problems. An aspect of the present invention is to provide a structure of a service framework and a method thereof which can grasp the information about the entire home environment, and provide various types of services and home resources while providing a solution for an integrated network, by taking into consideration the characteristic features of the home devices.  
         [0020]     A service framework for integrating and controlling a plurality of middlewares including a plurality of controlled devices according to one embodiment of the present invention implemented to address the above-mentioned problems comprises a service profile registry for storing a service profile of the controlled devices, a first interface for converting a message of a middleware basis into a common message of the framework basis, and a second interface for converting the payload part of the middleware basis into a service profile and storing it into the service profile registry by analyzing the message transmitted from the first interface, and where the controlled devices are controlled by the service profile of the framework.  
         [0021]     Another aspect of the invention includes an application which is operated by a service client of the framework, and includes a UI device for setting access and information about other home networks, so that the services of the controlled devices can be requested by the framework.  
         [0022]     It is preferable, but not necessary, that data communication between each element of the framework and each application uses an independent standard interface (Open API: Open Application Programming Interface).  
         [0023]     The framework receives the service profile from the second interface, and registers it to the service profile registry. A service admin for processing the functions such as creation, correction, deletion and search of the service profile is further included so that the services of the controlled devices can be controlled by the service profile of the service admin.  
         [0024]     Further, in a case that a device admin for setting virtual devices which are controlled by the service profile of the framework, and generating and controlling a virtual device list including the virtual devices is further included and thereby the services are provided, it is possible for the device admin to read the service profile of the virtual devices from the service profile registry and to drive the framework by executing the services.  
         [0025]     It is preferable, but not necessary, that the service admin monitors the home situations in a real-time basis through an environment sensor, accumulates various environment data, analyzes and diagnoses the data on a real-time basis, derives a service information for driving the controlled devices, registers the service profile based on the service information for providing the intelligent services to the service profile registry, and thereby provides the intelligent services.  
         [0026]     In the service admin, if a service for the service profile is requested, the second interface converts the data part (payload) of the profile basis into a data of the middleware basis. The first interface receives the converted data, and converts it into a message of the middleware basis. Thereby, the controlled devices are controlled by the middleware.  
         [0027]     On the other hand, a method for controlling a home network including a framework for integrating and controlling a plurality of middlewares including a plurality of controlled devices and the application having a UI device operated by a service client of the framework according to one embodiment of the present invention comprises a middleware message conversion step for converting a message of a middleware basis of the controlled devices into a common message of the framework basis, a middleware payload conversion step for converting the payload part of the middleware basis into a service profile by analyzing the message from the middleware message conversion step, a storage step for storing the service profile, and a control step for controlling the controlled devices by the service profile of the framework.  
         [0028]     Data communication between each element of the framework and each application uses an independent standard interface (Open API: Open Application Programming Interface).  
         [0029]     Further, it is preferable, but not necessary, that the present invention includes monitoring the home situations on a real-time basis through an environment sensor, accumulating various environment data, analyzing and diagnosing the data on a real-time basis, deriving a service information for driving the controlled devices, and registering the service profile based on the service information for providing the intelligent services to the service profile list, thereby enabling intelligent services to be provided.  
         [0030]     The control operation may include setting a virtual device for each of the controlled devices which are controlled by the service profile in the framework, selecting a service profile for the virtual device and controlling the controlled devices according to the service profile.  
         [0031]     Further, it is preferable, but not necessary, that the operation of controlling the controlled devices comprises a service profile payload conversion operation that converts a data part (payload) of a service profile basis of the controlled devices into a service profile of the middleware basis, a service profile message conversion operation that converts a message of a service profile basis of the controlled devices into a message of the middleware basis, and a control operation that controls the controlled devices with the middlewares. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0032]     The invention will be described in detail with reference to the following drawings showing exemplary embodiments in which like reference numerals refer to like elements, and wherein:  
         [0033]      FIG. 1  is a view schematically showing a network system using a conventional middleware.  
         [0034]      FIG. 2  is a view showing an exemplary structure of a service framework according to the present invention in detail.  
         [0035]      FIG. 3  is a view explaining the flow procedure of a message in an exemplary embodiment. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0036]     Below, an exemplary embodiment according to the present invention will be described in detail by referring to the attached drawings.  
         [0037]      FIG. 2  is a diagram schematically showing a service framework structure according to the present invention.  
         [0038]     As is shown, a home network  100  according to an embodiment of the present invention includes an application,  110 , a service framework device  120 , a plurality of local networks  130 ,  132 ,  134 , and a home device group  130   b,    132   b,    134   b  each of which includes a middleware.  
         [0039]     The applications  110 ,  112 ,  114  are each operated by a client of the service framework  120 , and includes an UI (User Interface) device having a graphic user interface connected to a home network for setting access and information about other middlewares and home devices connected to each of those middlewares. It is designed to exchange information with multiple home service applications provided to the UI device, operate according to the service types and functions defined in the framework and request a service to a device included in a different middleware by utilizing a service profile in the framework.  
         [0040]     The local networks  130 ,  132 ,  134  are designed such that the home device groups  130   b,    132   b,    134   b,  each of which includes the middleware, are connected to each other. At this time, if each of the home device groups  130   b,    132   b,    134   b  is suitable for the middleware type, there are no problems. That is, according to the present embodiment, the local networks  130 ,  132 ,  134  are characterized in that the operations performed by the same middleware are compatible and thereby ensured. Therefore, each of the local networks  130 ,  132 ,  134  may be a UPnP network or a PLC network or a HAVi network of  FIG. 1 .  
         [0041]     The service framework  120  decodes and generates a message for the elements necessary for mutual communication between the local networks  130 ,  132 ,  134  and the applications  110 ,  112 ,  114 .  
         [0042]     The service framework  120  includes a device admin  121 , a service admin  122 , a virtual device list  123 , a service profile manager  124 , a common message exchange interface  126 , and a middleware adaptation layer  130   a,    132   a,    134   a.    
         [0043]     The service admin  122  controls and manages each service based upon a service list which is converted into a common profile of the service framework  120  by using a discovery-information of each device. That is, a service profile is created according to each virtual device so that controllable services and functions are provided by the service framework  120 . Then, the service profile is built up in a service profile registry  125  through the service profile manager  124 , and the device is designed to enable each home device to be controlled according to the service profile. Further, it is designed to process the functions such as creation, correction, deletion and search of each service profile of a service profile manager  124 .  
         [0044]     The service profile registry  125  forms a mapping table for connection with a real service by using a service profile of a Meta data format defined in the framework of the present invention.  
         [0045]     The service profile manager  124  manages a service profile of home devices and virtual devices, and operates as an interface between service profile registry  125  and service admin  122  in order to perform creation, correction, deletion and search functions of a service profile.  
         [0046]     The device admin  121  controls and manages each service based upon a service list which is converted into a common profile of the service framework  120  by using a discovery-information of each device. That is, a virtual device is generated and a virtual device list including the virtual devices is created so that each device is controlled in the service framework  120 .  
         [0047]     Further, the virtual device is operated by the service profile which is provided by the service admin  122  in the service framework. Therefore, the device admin is designed to perform creation, correction, deletion and search of more than one virtual device list used in mapping the services which home devices will actually provide for description of the device.  
         [0048]     In each middleware adaptation layer  130   a,    132   a,    134   a,  each middleware is operated by a control point. Further, for each middleware, the middleware adaptation layer operates as a first interface which converts the message according to the specific protocols of each middleware into a common message of the service framework  120 . That is, the message part of the specific protocols of each middleware is converted into a common message of the service framework  120 , so that it is formed separately from each middleware. The data part, which is the payload, is transmitted to a common message exchange interface  126  while maintaining the protocol features of each middleware. For example, the discovery-information of each home device is converted.  
         [0049]     The common message exchange interface  126  is used to transmit a service profile related to a predetermined service based upon the service profile of the virtual device. In particular, if a message is received from the middleware adaptation layer  130   a,    132   a,    134   a,  it searches a service profile manager  124  to convert the payload part having a middleware basis, and operates as a second interface constituting a service profile which is a common file in the service framework  120 . Further, the service admin  122  reflects the information related to the service profile manager  124 , so that the virtual device can reflect the present state of the home device.  
         [0050]     Conversion operations are performed by the first interface including the middleware adaptation layer  130   a,    132   a,    134   a,  and a common message exchange interface  126 , respectively in the present invention.  
         [0051]     That is, if all data is received through the local network in a general interface (a middleware including UPnP), a payload is analyzed in the procedure corresponding to a message. Therefore, according to the present embodiment, the common message exchange interface  126  performs the payload analysis.  
         [0052]     Since the message part is the same but the payload part is different in data received from different devices within the same middleware group, the structure as described above is formed. Therefore, there is an advantage in that only the service profile list need to be updated periodically by managing the payload part when adding a new device.  
         [0053]     At this time, the devices belonging to each middleware are set to a virtual device which the application  110 ,  112 ,  114  can drive by a common file of the service framework  120 , and then are registered to the virtual device list  123 .  
         [0054]     Independent standard interface (open APIs  127 ) is used when the application  110 ,  112  and  114  request services of the home devices of each local network in the service framework  120 .  
         [0055]     Below, a message flow of the service framework according to one exemplary embodiment of the present invention will be explained by using the structure as described above.  
         [0056]      FIG. 3  is a view showing the procedures for processing a home device and a message related to the home device. The portion above the dotted line shows the procedures for registering each home device, and the lower part shows the procedures through which services are provided by a real home device when services are requested.  
         [0057]     For the sake of clarity, in the present invention, it is assumed that the home device  1  of the middleware  1  including the UPnP network of the local network  1  ( 130 )_ is connected to a network.  
         [0058]     Once a device is connected to the local network  1  ( 130 ), and a suitable address is designated, the search operation is performed. Then, the service which the device provides is converted into a protocol (UPnP Device Profile) of the middleware  1  on the local network (S 210 ), and the middleware message (MSG) and a payload are transmitted. The main information related to a general device or a service which the device provides includes a type, an identifier, and a pointer of an explanation manual of XML apparatus.  
         [0059]     In the step S 210 , if the middleware message (MSG) notifying the device and the service and the payload are transmitted to the MW1 adaptation layer  130   a  through the Open APIs  127  which is an inside interface of the service framework  120  (S 220 ), the MW1 adaptation layer  130   a  converts the middleware message (MSG) based upon the UPnP device profile into a common message provided in the service framework  120  (S 230 ). Then, the converted message is transmitted to the common message exchange interface  126  along with the payload based upon the UPNP device profile (S 240 ).  
         [0060]     The common message exchange interface  126  converts the payload part of the received message into the service profile provided in the service framework  120  (S 250 ), and transmits it to the device admin  121  and the service admin  122  (S 270 ).  
         [0061]     Then, as described above, the device admin  121  creates a virtual device according to a common file, and registers it to the virtual device list  123 . The service admin  122  registers the service contents of the device to the service profile registry  125  through the service profile manager  124 .  
         [0062]     According to the processes as described above, if each network device and services are registered, each application can request the services.  
         [0063]     Below, the step for requesting service in each application of the user interface basis operating as a client of the service framework will be explained by referring to  FIG. 3 .  
         [0064]     First of all, each application  110 ,  112 ,  114  requests a service for the home device  1  to the device admin  121  (S 310 , S 320 ) through the independent standard interface (Open API) (Application Programming Interface:  127 ) provided by the service framework.  
         [0065]     The device admin  121  searches the virtual device registered in the virtual device list for the requested home device  1 . Then, if the device admin  121  requests the service profile of the searched virtual device to the service profile manager  124 , the service profile manager  124  then searches the service profile for the device from the service profile registry  125  and sends it to the device admin  121 . Subsequently, the device admin  121  sends the contents of the service profile to the common message exchange interface  126  (S 330 ).  
         [0066]     The common message exchange interface  126  which receives the service profile including a common profile of the service framework basis converts the payload of the common file type into the middleware profile message ( 340 ), and transmits it to the MW1 adaptation layer  130   a  ( 350 ).  
         [0067]     The MW1 adaptation layer  130   a  converts the message of the common file type of the received message into the message of middleware profile type (S 360 ), and transmits it to the middleware  1  (S 370 ), thereby enabling the home device  1  to be operated according to the service profile.  
         [0068]     According to the message processing steps, it is possible to provide intelligent services by setting the service contents including each device in a comprehensive way.  
         [0069]     That is, various environment data are accumulated by monitoring the home situations in a real-time basis through an environment sensor, and the information is derived to drive the controlled devices by analyzing and diagnosing the information on a real-time basis. Therefore, it is possible to execute the services by registering the information as a service profile.  
         [0070]     For example, a virtual service environment for allowing DVD to be viewed at a designated time is prepared so that the devices required for DVD viewing such as a DVD, a TV, a curtain and a lighting device can be controlled, if necessary. To be more specific, the curtain is lowered as a first step for viewing DVD, and the suitable illumination necessary for DVD viewing is requested. After completion of these operations, a service for allowing a TV to be turned on is requested, and thereby a system for executing a series of intelligent services is provided.  
         [0071]     According to the present invention, it is possible to control the home devices easily by using the framework interface using the converter function for converting the information through the middleware interface to which each home device belongs.  
         [0072]     Further, though the current invention is described with the device admin  121  driving the requests for services of the home devices, if the virtual device list information stored in the service profile manager  124  is used, then the service admin  122  can drive the process of providing services of the home devices.  
         [0073]     In this way, if the service framework of the home network according to the present invention is used, a virtual home environment for a middleware-to-middleware, and all home resources is provided by managing the device profiles having different structures in an integrated way, and thereby an integration management can be realized.  
         [0074]     Although the preferred embodiment of the present invention has been described, it will be understood by those skilled in the art that the present invention should not be limited to the described preferred embodiment, but various changes and modifications can be made within the spirit and scope of the present invention as defined by the appended claims.