Abstract:
A method, system, and device for controlling a device connected to a UPnP (universal plug and play) home network using the Internet is provided. This method includes: subscribing to the external device outside the UPnP home network and informing the external device of control information about the device connected to the UPnP home network; converting a third-party notification message about control of the device connected to the UPnP home network, the third-party notification message being received from the external device via the Internet, into a control message with respect to a device that provides a web-based user interface or a device that provides no web-based user interfaces; and transmitting the control message to the device that provides a web-based user interface or the device that provides no web-based user interfaces.

Description:
CROSS-REFERENCE TO RELATED PATENT APPLICATION 
       [0001]    This application claims the benefit of Korean Patent Application No. 10-2006-0115449, filed on Nov. 21, 2006, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference. 
       BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    Method and apparatuses consistent with the present invention relate to using the internet to control a device connected to a universal plug and play (UPnP) home network, and more specifically, controlling a device connected to a UPnP home network using a polling-based notification service provided by the Consumer Electronics Association (CEA) 2014 standard. 
         [0004]    2. Description of the Related Art 
         [0005]    Computing technology has been recently applied to various devices, and as such, cheap and universal networking techniques are appearing and being used. For example, various devices used in houses, such as refrigerators, TVs, washing machines, person computers (PCs), and audio players, are connected to a network, so that user convenience is increased. In order to achieve this networking, a universal plug and play (UPnP) standard has been proposed. UPnP is a standard that allows devices, such as a PC, a peripheral device, an intelligent home appliance, and wireless equipment, to automatically recognize each other using the Internet and a web protocol when they are connected to a network. When UPnP is used and a user adds a device to the network, the device is automatically installed without manual configuration, receives a TCP/IP address, and uses a discovery protocol based on the Internet HTTP in order to inform the other devices of the existence of the additionally connected device. For example, when a camera and a printer have been connected to a network and a picture is to be output from the printer, a button of the camera is pressed, and the camera sends a discovery request signal to the network in order to search for an available printer on the network. Then, in response to the discovery request signal, the printer sends its location in Uniform Resource Locator (URL) format to the camera. The camera and the printer may use an extensible markup language (XML) as a common language or determine a way of communicating with each other by protocol negotiation. When the common language for communication is determined, the camera is able to control the printer to print out a desired picture. In particular, the UPnP device architecture version 1.0 enables home appliances within a UPnP home network to be peer-to-peer networked on the basis of a decentralized and open networking structure instead of being under a centralized control. In this case, the UPnP specifies that standard networking technologies, such as IP and HTTP, are used as technical components of the decentralized and open networking structure so that the technical components operates independently of an operating system, a platform, and a transmission medium. 
         [0006]    Generally, UPnP device architecture version 1.0 uses a multicasting method in order to discover a device, and thus it is impossible to discover and control devices existing on other networks. When a UPnP home network is implemented as a virtual private network (VPN) due to lack of IPv4 addresses, a UPnP device within the UPnP home network is unable to access via the Internet unless undergoing network address translation (NAT). Although the UPnP device within the UPnP home network is able to access via the Internet using a photo-mapping method, a separate UPnP Internet gateway device (IGD) is required. 
         [0007]    For these reasons, when a UPnP home network device is constructed according to the UPnP version 1.0, it is impossible to control a device connected to a UPnP home network that is constructed using a VPN. 
       SUMMARY OF THE INVENTION 
       [0008]    The present invention provides a method and system for controlling a device connected to a universal plug and play (UPnP) home network using a polling-based notification service that uses the Internet. 
         [0009]    According to an aspect of the present invention, there is provided a method of controlling a device connected to a UPnP home network on the basis of a signal transmitted by an external device outside the UPnP home network, the method including the operations of: subscribing to the external device outside the UPnP home network and informing the external device of control information about the device connected to the UPnP home network; converting a third-party notification message about control of the device connected to the UPnP home network, the third-party notification message being received from the external device via the Internet, into a control message with respect to a device that provides a web-based user interface or a device that provides no web-based user interfaces; and transmitting the control message to the device that provides a web-based user interface or the device that provides no web-based user interfaces. 
         [0010]    According to another aspect of the present invention, there is provided a computer readable recording medium having a recorded program for executing the method. 
         [0011]    According to another aspect of the present invention, there is provided a device for controlling a device connected to a UPnP home network on the basis of a signal transmitted by an external device outside the UPnP home network, the device including a notification/event processing unit, a first control point, and a second control point. The notification/event processing unit converts a third-party notification message about control of the device connected to the UPnP home network, the third-party notification message being received from the external device via the Internet, into a control message with respect to a device that provides a web-based user interface or a device that provides no web-based user interfaces, and subscribes to the external device outside the UPnP home network and informs the external device of control information about the device connected to the UPnP home network. The first control point transmits the control message with respect to the device that provides a web-based user interface and collects control information about the device that provides a web-based user interface. The second control point transmits the control message with respect to the device that provides no web-based user interfaces and collects control information about the device that provides no web-based user interfaces. 
         [0012]    According to another aspect of the present invention, there is provided a method of remotely controlling a device connected to a UPnP home network, the method including: a first device connected to the UPnP home network subscribing to a second device outside the UPnP home network, wherein the first device informs the second device of control information about the device connected to the UPnP home network; when an event about the device is generated, generating a third-party notification message about the event in the second device; the second device transmitting the third-party notification message to the first device via the Internet; the first device converting the third-party notification message into a control message with respect to a device that provides a web-based user interface or a device that provides no web-based user interfaces; and the first device transmitting the control message to the device that provides a web-based user interface or the device that provides no web-based user interfaces. 
         [0013]    According to another aspect of the present invention, there is provided a computer-readable recording medium having recorded thereon a computer program for executing the method. 
         [0014]    According to another aspect of the present invention, there is provided a system for remotely controlling a device connected to a UPnP home network, the system comprising: a second device generating a third-party notification message about an event when the event is generated, and transmitting the third-party notification message via an Internet to a first device connected to the UPnP home network; and a first device receiving the third-party notification message from the second device, converting the third-party notification message into a control message with respect to a device that provides a web-based user interface or a device that provides no web-based user interfaces, and transmitting the control message to one of the device that provides a web-based user interface and the device that provides no web-based user interfaces. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0015]    The above and other features of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which: 
           [0016]      FIG. 1  is a schematic diagram of a CEA-2014 system according to an exemplary embodiment of the present invention; 
           [0017]      FIG. 2  is a flowchart of a method of controlling a device connected to a universal plug and play (UPnP) home network via the Internet, according to an exemplary embodiment of the present invention; and 
           [0018]      FIG. 3  is a flowchart of a scheduled recording method using the Internet, according to an exemplary embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0019]    The present invention will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. Like reference numerals in the drawings denote like elements. It should be understood, however, that the exemplary embodiments are merely examples of the invention, which may be embodied in various forms. The following description and drawings are not to be construed as limiting the invention and numerous specific details are described to provide a thorough understanding of the present invention, as the basis for the claims and as a basis for teaching one of ordinary skill in the art how to make and/or use the invention. However in certain instances, well-known or conventional details are not described in order not to unnecessarily obscure the present invention in detail. 
         [0020]      FIG. 1  is a schematic diagram of a CEA-2014 system according to an exemplary embodiment of the present invention. Referring to  FIG. 1 , the CEA-2014 system includes a remote user interface client (RUIC)  110  connected to a universal plug and play (UPnP) home network  140 , a target device  100  connected to the UPnP home network  140 , and a remote user interface server (RUIS)  120  connected to the RUIC  110  via an Internet  150 . 
         [0021]    The target device  100  includes, for example, a device that provides a web-based user interface, and a device that provides no web-based user interfaces. For example, the device that provides a web-based user interface may be a CEA-2014 device, and the device that provides no web-based user interfaces may be an UPnP device or a legacy device. CEA-2014 denotes a new standard published by a web-based Consumer Electronics Association&#39;s (CEA) R7 home network association. The CEA-2014 standard is a web-based protocol and framework for a remote user interface based on a UPnP network and the Internet. The CEA-2014 device is a UPnP device that provides a web-based user interface, whereas the UPnP device is a UPnP device that provides no web-based user interfaces. The legacy device denotes a device that neither has a UPnP function nor provides a web-based user interface. 
         [0022]    Referring to  FIG. 1 , a notification/event processing unit  111  of the RUIC  110  receives a third-party notification message from a notification/event processing unit  121  of the RUIS  120 . 
         [0023]    The third-party notification message is produced by the RUIS  120  according to the CEA-2014 standard and includes an event that a user has issued. The notification/event processing unit  111  converts the received third-party notification message into a control message for a device that provides a web-based user interface or a device that provides no web-based user interfaces, and transmits the control message to a UPnP control point  113  or a user interface (UI) control point  114 . In order to receive a CEA-2014 polling-based notification service, the notification/event processing unit  111  subscribes to the RUIS  120 , with control information about devices that have been collected by the UPnP control point  113  or the UI control point  114 . 
         [0024]    The UPnP control point  113  receives from the notification/event processing unit  111  the control message for a device that provides no web-based user interfaces, and transmits the control message to the device that provides no web-based user interfaces. Thereafter, the device that provides no web-based user interfaces performs an operation depending on the control message. Preferably, the UPnP control point  113  receives the result of the control from the device that provides no web-based user interfaces, generates a report message for the control result, and transmits the report message to the RUIS  120 . The UPnP control point  113  also collects control information about the device that provides no web-based user interfaces, using an UPnP action. In particular, a legacy device has no UPnP function and thus the legacy device itself should register control information in the UPnP control point  113 . 
         [0025]    Meanwhile, the UI control point  114  receives from the notification/event processing unit  111  the control message for a device that provides a web-based user interface, and transmits the control message to the device that provides a web-based user interface. Thereafter, the device that provides a web-based user interface performs an operation depending on the control message. Preferably, the UI control point  114  receives the result of the control from the device that provides a web-based user interface, generates a report message for the control result, and transmits the report message to the RUIS  120 . The UI control point  114  also collects control information about the device that provides a web-based user interface, using an UPnP action. 
         [0026]    An extensible hypertext markup language (XHTML) browser  112  is included in the RUIC  110  and displays a web-based user interface received from a web server  122  of the RUIS  120 . 
         [0027]    The web server  122  of the RUIS  120  provides, to an external device  130 , a web-based user interface for controlling a device connected to the UPnP home network  140 . Preferably, the web server  122  may authenticate the external device  130  when the external device  130  tries to contact the RUIS  120 . 
         [0028]    The external device  130  is connected to the RUIS  120  by wire or wirelessly. The external device  130  also receives and displays the web-based user interface provided by the web server  22 , so that a user provides a desired control event to the RUIS  120 . 
         [0029]    The notification/event processing unit  121  receives the control event generated by the external device  130 , generates a third-party notification message including the received control event, and transmits the third-party notification message to the RUIC  110  by means of a polling-based notification service using the Internet. The polling-based notification service using the Internet is provided according to the CEA-2014 standard. When an event is generated, the generated event is provided to the subscribed RUIC  110  by the polling-based notification service. The polling-based notification service is the same as really simple syndication (RSS) in that updated contents of a website are provided to a subscriber so that the subscriber can easily recognize the updates through the Internet. 
         [0030]      FIG. 2  is a flowchart of a method of controlling a device connected to a UPnP home network via the Internet, according to an exemplary embodiment of the present invention. 
         [0031]    Referring to  FIGS. 1 and 2 , in operation S 200 , a legacy device itself registers control information to the UPnP control point  113  using an out-of-band protocol. 
         [0032]    In operation S 201 , unlike the legacy device, the UPnP control point  113  and the UI control point  114  discover a UPnP device and a CEA-2014 device using an UPnP action and registers control information about the discovered UPnP device and CEA-2014 device. 
         [0033]    In operation S 202 , the UPnP control point  113  and the UI control point  114  collect control information about the device connected to the UPnP home network from the registered control information. 
         [0034]    In operation S 203 , the notification/event processing unit  111  of the RUIC  110  submits a subscription request to the notification/event processing unit  121  of the RUIS  120 , with the collected control information about the device connected to the UPnP home network. 
         [0035]    In operation S 204 , the notification/event processing unit  121  authorizes the subscription in response to the subscription request and registers the received control information (including an event) about the device connected to the UPnP home network. 
         [0036]    In operation S 205 , a user accesses the web-based user interface (i.e., a web page) provided by the web server  122 , so that an event is generated. 
         [0037]    In operation S 206 , the notification/event processing unit  121  generates a third-party notification message about the generated event. 
         [0038]    In operation S 207 , the notification/event processing unit  121  transmits the third-party notification message to the notification/event processing unit  111  of the RUIC  110  via the Internet. 
         [0039]    In operation S 208 , the notification/event processing unit  111  of the RUIC  110  converts the received third-party notification message into a control message for a device that provides a web-based user interface or a device that provides no web-based user interfaces. 
         [0040]    In operation S 209 , the UPnP control point  113  or the UI control point  114  transmits the control message to the target device  100  (e.g., a legacy device, a UPnP device, or a CEA-2014 device). 
         [0041]    In operation S 210 , the target device  100  performs a control operation depending on the control message and transmits the result of the control to the UPnP control point  113  or the UI control point  114 . 
         [0042]    In operation S 211 , the UPnP control point  113  or the UI control point  114  generates a report message about the result of the control and transmits the report message to the web serve  122  of the RUIS  120 . 
         [0043]    In operation S 212 , the web server  122  transmits the received report message to the external device  130 . Then, the external device  130  displays the report message on the web-based user interface (i.e., a web page). 
         [0044]      FIG. 3  is a flowchart of a scheduled recording method using the Internet, according to an exemplary embodiment of the present invention. In  FIG. 3 , a device that is connected to a UPnP home network and is to be controlled by the external device  130  is a personal video recorder (PVR). It is assumed that the PVR is a UPnP device that provides no web-based user interfaces. 
         [0045]    In operation S 300 , the UPnP control point  113  discovers a UPnP device (i.e., a PVR) using a UPnP action and registers control information about the UPnP device. The control information may include the name of the UPnP device, a method of controlling the UPnP device, the status of the UPnP device, etc. Here, SRS denotes a scheduled recording service. 
         [0046]    In operation S 301 , the UPnP control unit  113  collects the control information about the device connected to the UPnP home network from the registered control information. 
         [0047]    In operation S 302 , the notification/event processing unit  111  of the RUIC  110  submits a subscription request to the notification/event processing unit  121  of the RUIS  120 , with the collected control information about the device connected to the UPnP home network. 
         [0048]    In operation S 303 , the notification/event processing unit  121  authorizes the subscription in response to the subscription request and registers the received control information (including an event) about the device connected to the UPnP home network. 
         [0049]    In operations S 304  and S 305 , a user accesses the web-based user interface (i.e., a web page) provided by the web server  122 , so that an event (i.e., a scheduled recording service) is generated. The scheduled recording service may be a recording date, a recording time, etc. 
         [0050]    In operation S 306 , the notification/event processing unit  121  generates a third-party notification message about the generated event. 
         [0051]    In operation S 307 , the notification/event processing unit  121  transmits the third-party notification message to the notification/event processing unit  111  of the RUIC  110  via the Internet. 
         [0052]    In operation S 308 , the notification/event processing unit  111  of the RUIC  110  converts the received third-party notification message into a control message for the UPnP device, that is, the PVR. 
         [0053]    In operation S 309 , the UPnP control point  113  transmits the control message to the UPnP device, that is, the PVR. 
         [0054]    In operation S 310 , the UPnP device, that is, the PVR, performs a control operation depending on the control message. In operation S 311 , the UPnP device, that is, the PVR, transmits the result of the control to the UPnP control point  113 . 
         [0055]    In operation S 312 , the UPnP control point  113  generates a report message about the result of the control and transmits the report message to the web server  122  of the RUIS  120 . In operation S 312 , the web server  122  transmits the received report message to the external device  130 . Then, the external device  130  displays the report message on the web-based user interface (i.e., a web page). 
         [0056]    As described above, a user is able to control a device connected to a UPnP home network via the Internet, using a polling-based notification service using the Internet. Also, a third-party notification message transmitted by a RUIS is converted into a control message about a CEA-2014 device, a UPnP device, or a legacy device that has no UPnP function, so that compatibility of the CEA-2014 device and the UPnP device with a non-standard device is ensured. 
         [0057]    While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.