KR20070042001A - Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same - Google Patents
Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same Download PDFInfo
- Publication number
- KR20070042001A KR20070042001A KR1020050097729A KR20050097729A KR20070042001A KR 20070042001 A KR20070042001 A KR 20070042001A KR 1020050097729 A KR1020050097729 A KR 1020050097729A KR 20050097729 A KR20050097729 A KR 20050097729A KR 20070042001 A KR20070042001 A KR 20070042001A
- Authority
- KR
- South Korea
- Prior art keywords
- upnp
- status information
- response message
- service status
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2809—Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2818—Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득하는 방법과 이를 위한 UPnP 제어 장치, 그리고 이를 위하여 UPnP 장치/서비스 상태 정보를 제공하는 방법과 이를 위한 UPnP 피제어 장치가 개시된다. 본 발명에 따른 UPnP 제어 장치는, 검색메시지전송부, 응답메시지수신부, 응답메시지해석부, 상태정보획득부, 상태정보요청수신부, 및 상태정보제공부를 포함한다. UPnP 피제어 장치의 발견 단계에서 발견 검색 응답 메시지 내에 장치/서비스 상태 정보를 포함하여 전달함으로써 제어 정보 획득 단계, 제어 동작 요청 및 필요 정보 획득 단계, 구독 요청 단계, 이벤팅 정보 수신 단계 등이 생략될 수 있어, UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득할 수 있다.Disclosed are a method for easily and quickly obtaining UPnP device / service state information, a UPnP control device for this, and a method for providing UPnP device / service state information for this purpose and a UPnP controlled device for the same. The UPnP control apparatus according to the present invention includes a search message transmitting unit, a response message receiving unit, a response message analyzing unit, a state information obtaining unit, a state information request receiving unit, and a state information providing unit. In the discovery phase of the UPnP controlled device, the control information acquisition step, the control operation request and the necessary information acquisition step, the subscription request step, the event information reception step, etc. may be omitted by including the device / service status information in the discovery search response message. It is possible to obtain UPnP device / service status information easily and quickly.
Description
도 1은 UPnP 홈 네트워크의 구성도이다.1 is a configuration diagram of a UPnP home network.
도 2는 UPnP 발견 단계에서의 메시지 전달 과정을 나타낸 도면이다.2 is a diagram illustrating a message delivery process in a UPnP discovery step.
도 3은 UPnP 기술 단계에서의 메시지 전달 과정을 나타낸 도면이다.3 is a diagram illustrating a message delivery process in a UPnP description step.
도 4는 UPnP 제어 단계에서의 메시지 전달 과정을 나타낸 도면이다.4 is a diagram illustrating a message transfer process in a UPnP control step.
도 5는 UPnP 이벤팅 단계에서의 메시지 전달 과정을 나타낸 도면이다.5 is a diagram illustrating a message delivery process in an UPnP eventing step.
도 6은 본 발명에 따른 UPnP 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다.6 illustrates an embodiment of a UPnP discovery search response message according to the present invention.
도 7은 본 발명에 따른 UPnP 발견 얼라이브 메시지의 일 실시예를 나타낸 도면이다.7 is a diagram illustrating an embodiment of a UPnP discovery alive message according to the present invention.
도 8은 본 발명에 따른 UPnP 발견 검색 메시지의 일 실시예를 나타낸 도면이다.8 illustrates an embodiment of a UPnP discovery search message according to the present invention.
도 9는 도 8의 UPnP 발견 검색 메시지에 대한 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다.FIG. 9 is a diagram illustrating an embodiment of a discovery search response message for the UPnP discovery search message of FIG. 8.
도 10은 본 발명에 따른 UPnP 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다.10 is a diagram illustrating an embodiment of a UPnP discovery search response message according to the present invention.
도 11은 일반적인 UPnP 발견 얼라이브 메시지를 나타낸 도면이다.11 illustrates a general UPnP discovery alive message.
도 12는 본 발명에 따른 UPnP 발견 얼라이브 메시지를 나타낸 도면이다.12 illustrates a UPnP discovery alive message according to the present invention.
도 13은 본 발명에 따른 장치/서비스 상태 정보의 일 실시예를 나타낸 도면이다.13 is a diagram illustrating an embodiment of device / service state information according to the present invention.
도 14는 본 발명에 따른 UPnP 제어 장치의 일 실시예의 구성을 나타낸 블록도이다.14 is a block diagram showing the configuration of an embodiment of a UPnP control device according to the present invention.
도 15는 본 발명에 따른 UPnP 피제어 장치의 일 실시예의 구성을 나타낸 블록도이다.15 is a block diagram showing the configuration of an embodiment of a UPnP controlled device according to the present invention.
도 16a 및 도 16b는 본 발명에 따른 UPnP 장치/서비스 상태 정보 획득 방법의 일 실시예의 각 단계를 나타낸 흐름도이다.16A and 16B are flowcharts illustrating each step of an embodiment of a method for obtaining UPnP device / service state information according to the present invention.
본 발명은 UPnP 시스템의 구성에 관한 것으로서, 특히 UPnP 제어 장치에서의 UPnP 장치/서비스 상태 정보 획득 방법 및 UPnP 피제어 장치에서의 UPnP 장치/서비스 상태 정보 제공 방법에 관한 것이다. The present invention relates to a configuration of a UPnP system, and more particularly, to a method for obtaining UPnP device / service state information in a UPnP control device and a method for providing UPnP device / service state information in a UPnP controlled device.
UPnP(Universal Plug and Play)는 PC, 주변장치, 지능형 가전제품, 무선 장 비 등과 같은 장치들을 네트웍에 접속시켰을 때, 인터넷과 웹 프로토콜을 사용하여 서로를 자동으로 인식할 수 있도록 해주는 표준의 하나이다. UPnP를 이용하면, 사용자가 어떤 장치를 네트웍에 추가할 때 그 장치가 스스로 구성을 완료하며, TCP/IP 주소를 받고, 다른 장치들에게 자신의 존재를 알리기 위해 인터넷 http에 기반을 둔 발견 프로토콜을 사용하게 된다. UPnP (Universal Plug and Play) is one of the standards that enables devices such as PCs, peripherals, intelligent appliances, and wireless devices to be automatically recognized using the Internet and Web protocols when connected to the network. With UPnP, when a user adds a device to the network, the device completes its own configuration, receives a TCP / IP address, and uses a discovery protocol based on the Internet http to inform other devices of its existence. Will be used.
이를 위하여 UPnP 제어 장치가 필요한데 이를 CP(Control Point)라고 한다. UPnP CP는 제어하고자 하는 사용 장치, 즉 피제어 장치(Controlled Device: CD)의 장치 상태 정보와 제공하고자 하는 서비스의 상태 정보를 필요로 한다. 그런데, UPnP 네트워크에는 다수의 제어 장치(CP)와 피제어 장치(CD)가 존재하는 것이 일반적이다. 따라서 UPnP CP가 홈 네트워크 상의 UPnP CD들의 상태 정보를 쉽고 빠르게 획득할 수 있는 수단이 필요하다.For this purpose, a UPnP control device is required, which is called a control point (CP). The UPnP CP needs the device state information of a used device to be controlled, that is, a controlled device (CD) and the state information of a service to be provided. However, in the UPnP network, a plurality of control devices CP and controlled devices CD are generally present. Therefore, there is a need for a means for the UPnP CP to easily and quickly obtain status information of UPnP CDs on a home network.
본 발명이 이루고자 하는 기술적 과제는 UPnP 제어 장치에서 UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득하는 방법과 이를 위한 UPnP 제어 장치를 제공하는 것이다.An object of the present invention is to provide a method for quickly and easily obtaining UPnP device / service state information in a UPnP control device and a UPnP control device for the same.
본 발명이 이루고자 하는 다른 기술적 과제는 상기 UPnP 제어 장치에서의 UPnP 장치/서비스 상태 정보의 획득을 위하여 UPnP 피제어 장치에서 UPnP 장치/서비스 상태 정보를 제공하는 방법과 이를 위한 UPnP 피제어 장치를 제공하는 것이다.Another object of the present invention is to provide a method for providing UPnP device / service state information in a UPnP controlled device for obtaining UPnP device / service state information in the UPnP control device and a UPnP controlled device for the same. will be.
본 발명이 이루고자 하는 또 다른 기술적 과제는 상기 UPnP 장치/서비스 상 태 정보의 획득 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는 것이다.Another object of the present invention is to provide a computer-readable recording medium having recorded thereon a program for executing the UPnP device / service status information on a computer.
상기 기술적 과제를 이루기 위한 UPnP 제어 장치에서의 UPnP 장치/서비스 상태 정보 획득 방법은, 하나 이상의 UPnP 피제어 장치로 발견 검색 메시지를 전송하는 단계; 상기 UPnP 피제어 장치 중의 하나로부터 발견 검색 응답 메시지를 수신하는 단계; 상기 발견 검색 응답 메시지 내의 HTTP body 부분을 해석하여 장치/서비스 상태 정보를 포함하고 있는지 판단하는 단계; 상기 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하는 경우, 상기 발견 검색 응답 메시지 내의 장치/서비스 상태 정보를 획득하는 단계; 상기 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하고 있지 않은 경우, 상기 발견 검색 응답 메시지를 전송한 UPnP 피제어 장치로 장치/서비스 상태 정보를 보내줄 것을 요청하고, 상기 UPnP 피제어 장치로부터 장치/서비스 상태 정보를 수신하는 단계; 및 상기 장치/서비스 상태 정보를 사용자에게 제공하는 단계를 포함하는 것이 바람직하다.According to an aspect of the present invention, there is provided a method of obtaining UPnP device / service state information in a UPnP control device, the method comprising: transmitting a discovery search message to at least one UPnP controlled device; Receiving a discovery search response message from one of the UPnP controlled devices; Parsing the HTTP body portion in the discovery search response message to determine whether it contains device / service state information; If the discovery search response message includes device / service status information, obtaining device / service status information in the discovery search response message; If the discovery search response message does not include device / service status information, request to send the device / service status information to the UPnP controlled device that has transmitted the discovery search response message, and the device from the UPnP controlled device. Receiving service status information; And providing the device / service status information to a user.
상기 기술적 과제를 이루기 위한 UPnP 제어 장치는, 하나 이상의 UPnP 피제어 장치로 발견 검색 메시지를 전송하는 검색메시지전송부; 상기 UPnP 피제어 장치 중의 하나로부터 발견 검색 응답 메시지를 수신하는 응답메시지수신부; 상기 발견 검색 응답 메시지 내의 HTTP body 부분을 해석하여 장치/서비스 상태 정보를 포함하고 있는지 판단하는 응답메시지해석부; 상기 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하는 경우, 상기 발견 검색 응답 메시지 내의 장치/서비스 상 태 정보를 획득하는 상태정보획득부; 상기 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하고 있지 않은 경우, 상기 발견 검색 응답 메시지를 전송한 UPnP 피제어 장치로 장치/서비스 상태 정보를 보내줄 것을 요청하고, 상기 UPnP 피제어 장치로부터 장치/서비스 상태 정보를 수신하는 상태정보요청수신부; 및 상기 장치/서비스 상태 정보를 사용자에게 제공하는 상태정보제공부를 포함하는 것이 바람직하다.The UPnP control device for achieving the technical problem, Search message transmission unit for transmitting a discovery search message to one or more UPnP controlled devices; A response message receiver for receiving a discovery search response message from one of the UPnP controlled devices; A response message interpreter for interpreting the HTTP body portion in the discovery search response message to determine whether the device / service state information is included; A status information acquisition unit for acquiring device / service status information in the discovery search response message when the discovery search response message includes device / service status information; If the discovery search response message does not include device / service status information, request to send the device / service status information to the UPnP controlled device that has transmitted the discovery search response message, and the device from the UPnP controlled device. A status information request receiver for receiving service status information; And a status information providing unit for providing the device / service status information to a user.
상기 다른 기술적 과제를 이루기 위한 UPnP 피제어 장치에서의 UPnP 장치/서비스 상태 정보 제공 방법은, UPnP 제어 장치로부터 발견 검색 메시지를 수신하는 단계; 및 상기 UPnP 제어 장치로 장치/서비스 상태 정보를 포함하는 발견 검색 응답 메시지를 전송하는 단계를 포함하는 것이 바람직하다.According to another aspect of the present invention, there is provided a method of providing UPnP device / service state information in a UPnP controlled device, the method including: receiving a discovery search message from a UPnP controlled device; And transmitting a discovery search response message including device / service status information to the UPnP control device.
상기 다른 기술적 과제를 이루기 위한 UPnP 피제어 장치는, UPnP 제어 장치로부터 발견 검색 메시지를 수신하는 검색메시지수신부; 및 상기 UPnP 제어 장치로 장치/서비스 상태 정보를 포함하는 발견 검색 응답 메시지를 전송하는 응답메시지전송부를 포함하는 것이 바람직하다.According to another aspect of the present invention, there is provided a UPnP controlled device including: a search message receiver configured to receive a discovery search message from a UPnP controlled device; And a response message transmitter for transmitting a discovery search response message including device / service status information to the UPnP control device.
이하 첨부된 도면들을 참조하여 본 발명에 따른 UPnP 장치/서비스 상태 정보 획득 방법 및 이를 위한 UPnP 제어 장치, 그리고 UPnP 장치/서비스 상태 정보 제공 방법 및 이를 위한 UPnP 피제어 장치에 대하여 상세히 설명한다.Hereinafter, a method for obtaining UPnP device / service state information, a UPnP control device for providing the same, a method for providing UPnP device / service state information, and a UPnP controlled device for the same will be described in detail with reference to the accompanying drawings.
도 1은 UPnP 홈 네트워크의 구성도이다. 1 is a configuration diagram of a UPnP home network.
UPnP 홈 네트워크를 구성하는 장치들은 그 역할에 따라 크게 제어 장치와 피제어 장치로 나눌 수 있다. 제어를 받는 장치, 즉 피제어 장치를 CD(Controlled Device)라고 한다. 도 1에서 100, 110, 120, 130 등이 이에 해당한다. UPnP CD는 해당 장치의 역할에 따라 다양한 UPnP 서비스 기능을 제공한다. 제어 장치는 UPnP 네트워크 상의 제어를 하는 장치 또는 클라이언트이다. 이를 CP(Control Point)라고 부른다. 도 1에서 140, 150 등이 이에 해당한다. The devices constituting the UPnP home network can be broadly divided into a control device and a controlled device according to their role. A device under control, that is, a controlled device, is called a CD (controlled device). In FIG. 1, 100, 110, 120, and 130 correspond to this. UPnP CD provides various UPnP service functions according to the role of the device. The control device is a device or client that controls on the UPnP network. This is called a control point (CP). In FIG. 1, 140, 150, and the like correspond to this.
UPnP 기반의 홈 네트워크란 이와 같이 댁내 UPnP CD와 UPnP CP가 상호 접근 가능한 네트워크 상에 존재하며 서로 일정한 포맷의 메시지 프로토콜을 통하여 제어가 가능한 환경을 말한다.The UPnP-based home network refers to an environment in which a home UPnP CD and a UPnP CP exist on a mutually accessible network and can be controlled through a message protocol of a predetermined format.
UPnP 홈 네트워크에서 장치의 동작은 그 기능별 단계에 따라 크게 6단계로 나눌 수 있다. 댁내 네트워크 상에 접속하여 자기 자신의 고유한 주소(address)를 설정하는 주소 설정(addressing) 단계, UPnP CD가 자신의 존재를 댁내 네트워크 상에 존재하는 UPnP CP에게 알리거나, UPnP CP가 원하는 UPnP CD를 검색하는 발견(discovery) 단계, UPnP CP가 UPnP CD의 장치 및 서비스 정보를 획득할 수 있도록 하는 기술(description) 단계, UPnP CP가 UPnP CD 제어를 위해 요청(request) 및 응답(response) 메시지를 주고 받는 제어(control) 단계, UPnP CP가 UPnP CD의 진행 상태 정보를 알 수 있도록 해주는 이벤팅(eventing) 단계, 그리고 HTML을 통해 추가 정보나 기능을 제공하는 프리젠테이션(presentation) 단계 등이다.The operation of the device in the UPnP home network can be divided into six stages according to the functional stages. In the addressing step of accessing the home network and setting its own unique address, the UPnP CD notifies the UPnP CP existing in the home network, or the UPnP CP desired by the UPnP CP. A discovery step of searching for a description step; a description step of allowing the UPnP CP to obtain device and service information of the UPnP CD; and a UPnP CP request and response message for UPnP CD control. A control step for sending and receiving, an eventing step for allowing the UPnP CP to know the progress information of the UPnP CD, and a presentation step for providing additional information or functions through HTML.
도 2는 UPnP 발견(discovery) 단계에서의 메시지 전달 과정을 나타낸 도면이다. 도 2를 참조하면, 발견 단계는 크게 두 가지로 나뉠 수가 있는데, 하나는 새로운 UPnP CD가 홈 네트워크 내에 들어오게 되는 경우고, 다른 하나는 UPnP CP가 홈 네트워크에 들어오게 되는 경우이다. 2 is a diagram illustrating a message delivery process in a UPnP discovery step. Referring to FIG. 2, the discovery step can be divided into two types, one in which a new UPnP CD enters a home network, and the other in which a UPnP CP enters a home network.
UPnP CD가 네트워크상에 들어오는 경우, UPnP CD는 해당 네트워크 상에 멀티캐스트(multicast) 메시지를 보내 자신이 네트워크 상에 들어왔음을 홈 네트워크 상의 UPnP CP들에게 알리는데, 이를 광고(advertisement)라고 한다.When a UPnP CD enters the network, the UPnP CD sends a multicast message on the network to inform UPnP CPs on the home network that it is on the network, which is called advertisement.
이와 달리, UPnP CD가 댁내 네트워크상에 존재하고 있는 상태에서 UPnP CP가 홈 네트워크상에 들어오게 되는 경우, UPnP CP는 자신이 제어하고자 원하는 장치(device) 또는 서비스(service)를 찾는 멀티캐스트 메시지를 네트워크 상에 보내게 되며 해당 메시지 조건에 맞는 UPnP CD는 이에 따른 응답을 UPnP CP에게 유니캐스트(unicast) 메시지로 보내게 된다. 위와 같이 UPnP에서 사용하는 멀티캐스트 발견(multicast discovery) 메커니즘을 제공하는 프로토콜로 SSDP(Simple Service Discovery Protocol)가 있다.On the other hand, when the UPnP CP enters the home network while the UPnP CD is present on the home network, the UPnP CP sends a multicast message that finds the device or service that it wants to control. The UPnP CD that meets the corresponding message conditions sends a response to the UPnP CP as a unicast message. As described above, there is a simple service discovery protocol (SSDP) as a protocol for providing a multicast discovery mechanism used in UPnP.
도 3은 UPnP 기술(description) 단계에서의 메시지 전달 과정을 나타낸 도면이다. 기술 단계는 UPnP CP가 UPnP CD를 제어하기 위해 필요한 UPnP 서비스의 구체적인 기능을 UPnP CD가 제공하는 서비스 템플릿(service template) XML 파일을 분석하여 해당 정보를 얻게 되는 단계를 말한다. 먼저 해당 UPnP CD를 설명하는 장치 기술(device description)을 읽어 지원하는 UPnP 서비스의 서비스 기술(service description) 위치 정보를 알아낸 후 이를 기반으로 각 서비스 기술에 접근하여 해당 UPnP 서비스의 기능 관련 정보를 얻어오게 된다.3 is a diagram illustrating a message delivery process in a UPnP description step. The technical stage refers to a stage in which UPnP CP obtains corresponding information by analyzing a service template XML file provided by UPnP CD for a specific function of UPnP service necessary for controlling UPnP CD. First, find out the service description location information of the UPnP service that supports by reading the device description that describes the UPnP CD, and then access each service technology based on this to obtain the function related information of the UPnP service. Come.
도 4는 UPnP 제어(control) 단계에서의 메시지 전달 과정을 나타낸 도면이다. 제어 단계는 UPnP CP가 기술 단계를 통해 획득한 UPnP 서비스의 기능 관련 정보를 기반으로 특정 제어 요청을 하고, UPnP CD는 제어 요청에 따른 일을 수행하고 해당 결과를 반환하는 과정을 나타낸다. 여기서 해당 서비스의 동작(action) 메시지 형태 및 포맷 등에 대한 정보는 각 UPnP 작업 위원회(Working Committee)의 서비스 명세서(Service specification)에서 정의된다.4 is a diagram illustrating a message transfer process in a UPnP control step. The control phase indicates a process in which the UPnP CP makes a specific control request based on the function related information of the UPnP service acquired through the description phase, and the UPnP CD performs a work according to the control request and returns a corresponding result. In this case, information on the action message type and format of the corresponding service is defined in a service specification of each UPnP working committee.
도 5는 UPnP 이벤팅(eventing) 단계에서의 메시지 전달 과정을 나타낸 도면이다. 이벤팅 단계는 UPnP CP가 원하는 UPnP CD의 내부 상태 변화를 알고자 할 경우 해당 정보를 얻어 오는 단계이다. UPnP CP가 해당 UPnP CD의 상태 정보인 이벤팅 메시지를 전달 받기 위해서는 UPnP CD에 각 서비스 별로 구독(subscribe) 요청을 하고 UPnP CD가 이를 받아들여야 한다. 일단 UPnP CP의 구독 요청을 받아 들이게 되면 UPnP CD는 각 서비스의 내부 조건에 따라 등록된 UPnP CP들에게 해당 상태를 통지(notify)하게 된다. 여기서 내부 조건 및 통지 메시지 형태 등은 각 UPnP 작업 위원회(Working Committee)의 서비스 명세서(Service specification)에 정의된다.5 is a diagram illustrating a message delivery process in an UPnP eventing step. The eventing step is to obtain information when the UPnP CP wants to know a change in the internal state of the UPnP CD. In order for the UPnP CP to receive the event message, which is the status information of the UPnP CD, the UPnP CD must subscribe to each service for each service and the UPnP CD must accept it. Once the UPnP CP receives a subscription request, the UPnP CD notifies the registered UPnP CPs according to the internal condition of each service. Herein, the internal condition and the notification message type are defined in a service specification of each UPnP working committee.
이와 같은 방식에 의하면 UPnP CP는 먼저 UPnP CD를 발견(discovery)한 후에 여러 가지 동작(action) 및 이벤팅(eventing) 메커니즘을 통하여 장치/서비스 상태 정보를 획득하게 된다. 새로운 UPnP CP가 추가된 경우, 네트워크 상의 모든 UPnP CD에 대해 이러한 과정을 반복하여야 하므로, 사용자에게 적절한 제어 환경을 제공하기 위하여 많은 시간이 소요되고 불필요한 동작에 따른 불편함을 초래하게 된다. According to this method, the UPnP CP first discovers the UPnP CD and then acquires device / service status information through various actions and eventing mechanisms. When a new UPnP CP is added, this process must be repeated for all UPnP CDs on the network, which causes a lot of time and inconvenience in unnecessary operation to provide an appropriate control environment for the user.
본 발명에서는 발견(discovery) 단계에서 피제어 장치를 발견함과 동시에 장치/서비스 상태 정보를 획득할 수 있도록 하여 UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득하도록 한다.In the present invention, it is possible to easily and quickly obtain UPnP device / service status information by discovering a controlled device and at the same time obtaining device / service status information in a discovery step.
도 6은 본 발명에 따른 UPnP 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다. 도 6을 참조하면, UPnP 발견 검색 응답 메시지는 HTTP 형식을 사용하는데, 본 발명에 따른 UPnP 발견 검색 응답 메시지는 HTTP body 내에 장치/서비스 상태 정보(600)를 포함한다.6 illustrates an embodiment of a UPnP discovery search response message according to the present invention. Referring to FIG. 6, the UPnP discovery search response message uses an HTTP format. The UPnP discovery search response message according to the present invention includes the device /
도 7은 본 발명에 따른 UPnP 발견 얼라이브(discovery alive) 메시지의 일 실시예를 나타낸 도면이다. 도 7을 참조하면, 본 발명에 따른 UPnP 발견 얼라이브 메시지는 HTTP body 내에 장치/서비스 상태 정보(610)를 포함한다.7 is a diagram illustrating an embodiment of a UPnP discovery alive message according to the present invention. Referring to FIG. 7, the UPnP discovery alive message according to the present invention includes device /
도 8은 본 발명에 따른 UPnP 발견 검색 메시지의 일 실시예를 나타낸 도면이다. 도 8을 참조하면, UPnP CP는 ST(search target) 항목(620)에 검색하고자 하는 특정 UPnP CD의 디바이스 정보 또는 서비스 정보를 대입하여 검색하게 된다.8 illustrates an embodiment of a UPnP discovery search message according to the present invention. Referring to FIG. 8, the UPnP CP searches the ST (item target item) 620 by inserting device information or service information of a specific UPnP CD to be searched.
도 9는 도 8의 UPnP 발견 검색 메시지에 대한 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다. 위치(LOCATION) 항목 내 정보에 따라 해당 장치 기술(device description)을 읽어 서비스 기술(service description)의 위치를 알아내고 장치 기술과 서비스 기술 내의 정보에 따라 제어(control) 및 이벤팅(eventing) 단계를 통해 UPnP CD의 해당 정보를 얻어오게 된다.FIG. 9 is a diagram illustrating an embodiment of a discovery search response message for the UPnP discovery search message of FIG. 8. The location of the service description is determined by reading the device description according to the information in the LOCATION item, and the control and eventing steps are performed according to the information in the device description and the service description. The corresponding information of UPnP CD is obtained through.
도 10은 본 발명에 따른 UPnP 발견 검색 응답 메시지의 일 실시예를 나타낸 도면이다. 도 10을 참조하면, 본 발명에 따른 UPnP 발견 검색 응답 메시지는 장치/서비스 상태 정보(device/service state information, 640)를 포함한 메시지 포맷을 가진다.10 is a diagram illustrating an embodiment of a UPnP discovery search response message according to the present invention. Referring to FIG. 10, the UPnP discovery search response message according to the present invention has a message format including device /
도 11은 일반적인 UPnP 발견 얼라이브(discovery alive) 메시지를 나타낸 도 면이고, 도 12는 본 발명에 따른 UPnP 발견 얼라이브 메시지를 나타낸 도면이다. 도 11과 도 12를 비교하면, 본 발명에 따른 발견 얼라이브 메시지는 장치/서비스 상태 정보(650)를 포함하고 있음을 알 수 있다.FIG. 11 is a diagram illustrating a general UPnP discovery alive message, and FIG. 12 is a diagram illustrating a UPnP discovery alive message according to the present invention. 11 and 12, it can be seen that the discovery alive message according to the present invention includes the device /
도 13은 본 발명에 따른 장치/서비스 상태 정보의 일 실시예를 나타낸 도면이다. 도 13을 참조하면, UPnP 미디어 렌더러 장치(Media Renderer Device)의 장치/서비스 상태 정보를 XML 포맷으로 표현하고 있다. 13 is a diagram illustrating an embodiment of device / service state information according to the present invention. Referring to FIG. 13, device / service state information of a UPnP media renderer device is represented in an XML format.
미디어 렌더러 장치의 경우 세 개의 서비스로 이루어져 있다. 장치의 상태 정보를 알기 위해서는 각 서비스 별 서비스 기술(service description) 정보를 읽어와야 하며, 제어(control)와 이벤팅(eventing) 메커니즘을 통해 획득한 정보를 기반으로 해당 미디어 렌더러 장치의 상태 정보를 알아 와야 한다. In the case of a media renderer device, it consists of three services. To know the device status information, service description information for each service must be read, and the status information of the corresponding media renderer device can be obtained based on the information obtained through control and eventing mechanisms. You must come.
이와 같은 정보를 도 13에서 도시된 것과 같은 형태로 UPnP CP에 발견(discovery) 단계에서 제공하게 된다면 장치 기술(device description)을 읽어 서비스 기술(service description) 위치 정보를 읽어오는 단계, 서비스 기술(service description)을 읽어 지원하는 제어(control) 정보를 획득하는 단계, 적절한 제어 동작(control action)을 요청하여 필요 정보를 얻어오는 단계, 이벤팅(eventing) 단계의 구독(subscription)을 요청하는 단계, 이벤팅(eventing) 정보를 수신하여 필요 정보를 획득하는 단계 등이 생략될 수 있다. 따라서 UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득할 수 있다.If such information is provided to the UPnP CP in the discovery step in the form shown in FIG. 13, reading the device description and reading the service description location information, the service description acquiring control information supported by reading the description, requesting an appropriate control action to obtain necessary information, requesting a subscription of an eventing step, and eventing Receiving eventing information and acquiring necessary information may be omitted. Therefore, UPnP device / service status information can be obtained easily and quickly.
도 14는 본 발명에 따른 UPnP 제어 장치의 일 실시예의 구성을 나타낸 블록도이고, 도 16a 및 도 16b는 본 발명에 따른 UPnP 장치/서비스 상태 정보 획득 방 법의 일 실시예의 각 단계를 나타낸 흐름도이다. 도 14를 참조하면, 본 발명에 따른 UPnP 제어 장치(700)는 검색 메시지 전송부(710), 응답 메시지 수신부(720), 응답 메시지 해석부(730), 상태 정보 획득부(740), 상태 정보 요청 수신부(750) 및 상태 정보 제공부(760)를 포함한다.14 is a block diagram showing the configuration of an embodiment of a UPnP control device according to the present invention, Figures 16a and 16b is a flow chart showing each step of an embodiment of a method for obtaining UPnP device / service status information according to the present invention. . Referring to FIG. 14, the
검색 메시지 전송부(710)는 하나 이상의 UPnP 피제어 장치로 발견 검색 메시지(discovery search message)를 전송한다(S100). The
응답 메시지 수신부(720)는 UPnP 피제어 장치 중의 하나로부터 발견 검색 응답 메시지(discovery search response message)를 수신한다(S110).The response
응답 메시지 해석부(730)는 발견 검색 응답 메시지 내의 HTTP body 부분을 해석하여 장치/서비스 상태 정보를 포함하고 있는지를 판단한다(S120).The
상태 정보 획득부(740)는 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하는 경우, 발견 검색 응답 메시지 내의 장치/서비스 상태 정보를 획득하여 종합한다(S130).When the discovery search response message includes device / service status information, the state
상태 정보 요청 수신부(750)는 발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하고 있지 않은 경우, 발견 검색 응답 메시지를 전송한 UPnP 피제어 장치로 장치/서비스 상태 정보를 보내줄 것을 요청하고, 그 UPnP 피제어 장치로부터 장치/서비스 상태 정보를 수신한다(S200 내지 S260).When the discovery search response message does not include the device / service status information, the status information
발견 검색 응답 메시지가 장치/서비스 상태 정보를 포함하고 있지 않은 경우는 UPnP 피제어 장치가 본 발명에 따른 장치/서비스 상태 정보 제공 방법을 사용하고 있지 않은 경우를 위한 것이다. 이를 자세히 설명하면 다음과 같다. The case where the discovery search response message does not include the device / service state information is for a case where the UPnP controlled device does not use the device / service state information providing method according to the present invention. This will be described in detail as follows.
우선 상태 정보 요청 수신부(750)는 발견 검색 응답 메시지 내의 장치 서술 정보를 읽어 온다(S200). 그 다음 장치 서술 정보 내의 서비스 서술 정보를 읽어오고(S210), 서비스 서술 정보 내의 제어 동작 정보를 읽어온다(S220).First, the state
장치 서술 정보, 서비스 서술 정보, 및 제어 동작 정보를 기초로 하여, UPnP CD로 제어 동작(control action)을 요청하고 그에 대한 응답을 받는다(S230).Based on the device description information, the service description information, and the control operation information, a control action is requested to the UPnP CD and a response thereof is received (S230).
그 다음, 상태 정보 요청 수신부(750)는 해당 장치/서비스의 상태 정보 획득을 위하여 이벤팅 정보가 필요한지를 판단한다(S240). Next, the status
만일 이벤팅 정보가 필요하다면, UPnP CD로 이벤팅 정보의 구독을 요청하고(S250), UPnP CD로부터 이벤팅 메시지를 수신한다(S260).If the event information is required, the subscriber requests the subscription of the event information to the UPnP CD (S250), and receives the event message from the UPnP CD (S260).
상태 정보 제공부(760)는 이와 같이 획득된 장치/서비스 상태 정보를 사용자에게 제공한다(S140).The state
도 15는 본 발명에 따른 UPnP 피제어 장치의 일 실시예의 구성을 나타낸 블록도이다. 도 15를 참조하면, 본 발명에 따른 UPnP 피제어 장치(800)는 검색 메시지 수신부(810) 및 응답 메시지 전송부(820)를 포함한다.15 is a block diagram showing the configuration of an embodiment of a UPnP controlled device according to the present invention. Referring to FIG. 15, the UPnP controlled
검색 메시지 수신부(810)는 UPnP 제어 장치로부터의 발견 검색 메시지를 수신한다. 이는 도 16a의 S100 단계에 대응하는 것이다.The search
응답 메시지 전송부(820)는 UPnP 제어 장치로 도 10에 도시된 것과 같이 장치/서비스 상태 정보를 포함하는 발견 검색 응답 메시지를 전송한다.The
본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨 터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장 장치 등이 있다.The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) in a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording devices that store data that can be read by a computer system. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like.
비록 상기 설명이 다양한 실시예들에 적용되는 본 발명의 신규한 특징들에 초점을 맞추어 설명되었지만, 본 기술 분야에 숙달된 기술을 가진 사람은 본 발명의 범위를 벗어나지 않으면서도 상기 설명된 장치 및 방법의 형태 및 세부 사항에서 다양한 삭제, 대체, 및 변경이 가능함을 이해할 것이다. 따라서, 본 발명의 범위는 상기 설명에서보다는 첨부된 특허청구범위에 의해 정의된다. 특허청구범위의 균등 범위 안의 모든 변형은 본 발명의 범위에 포섭된다.Although the foregoing description has been focused on the novel features of the invention as applied to various embodiments, those skilled in the art will appreciate that the apparatus and method described above without departing from the scope of the invention. It will be understood that various deletions, substitutions, and changes in form and detail of the invention are possible. Accordingly, the scope of the invention is defined by the appended claims rather than in the foregoing description. All modifications within the scope of equivalents of the claims are to be embraced within the scope of the present invention.
본 발명에 따른 UPnP 장치/서비스 상태 정보 획득 방법 및 이를 위한 UPnP 제어 장치, 그리고 UPnP 장치/서비스 상태 정보 제공 방법 및 이를 위한 UPnP 피제어 장치에 의하면, UPnP 피제어 장치의 발견 단계에서 발견 검색 응답 메시지 내에 장치/서비스 상태 정보를 포함하여 전달함으로써, 제어 정보 획득 단계, 제어 동작 요청 및 필요 정보 획득 단계, 구독 요청 단계, 이벤팅 정보 수신 단계 등이 생략될 수 있어, UPnP 장치/서비스 상태 정보를 쉽고 빠르게 획득할 수 있는 효과가 있다.According to the present invention, a method for obtaining UPnP device / service state information, a UPnP control device for the same, and a method for providing UPnP device / service state information and a UPnP controlled device for the same, the discovery search response message in the discovery step of the UPnP controlled device By including the device / service status information in the delivery, the control information acquisition step, the control operation request and the necessary information acquisition step, the subscription request step, the event information receiving step, etc. can be omitted, making UPnP device / service status information easy There is an effect that can be obtained quickly.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020050097729A KR20070042001A (en) | 2005-10-17 | 2005-10-17 | Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020050097729A KR20070042001A (en) | 2005-10-17 | 2005-10-17 | Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR20070042001A true KR20070042001A (en) | 2007-04-20 |
Family
ID=38177045
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020050097729A Ceased KR20070042001A (en) | 2005-10-17 | 2005-10-17 | Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR20070042001A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008147021A1 (en) | 2007-05-30 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for searching for upnp device |
| WO2008147099A2 (en) | 2007-05-31 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for discovering universal plug and play device using resource information |
| WO2009110719A3 (en) * | 2008-03-04 | 2009-12-17 | 삼성전자 주식회사 | Method and apparatus for software lifecycle management in home network |
| US9979539B2 (en) | 2013-12-30 | 2018-05-22 | Samsung Electronics Co., Ltd. | Method and system of authenticating a network device in a location based verification framework |
-
2005
- 2005-10-17 KR KR1020050097729A patent/KR20070042001A/en not_active Ceased
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008147021A1 (en) | 2007-05-30 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for searching for upnp device |
| US7814199B2 (en) | 2007-05-30 | 2010-10-12 | Samsung Electronics Co., Ltd. | Method and apparatus for searching for UPnP device |
| EP2153583A4 (en) * | 2007-05-30 | 2011-08-10 | Samsung Electronics Co Ltd | APPARATUS AND METHOD FOR SEARCHING UPNP DEVICE |
| WO2008147099A2 (en) | 2007-05-31 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for discovering universal plug and play device using resource information |
| WO2008147099A3 (en) * | 2007-05-31 | 2009-01-22 | Samsung Electronics Co Ltd | Method and apparatus for discovering universal plug and play device using resource information |
| EP2151095A4 (en) * | 2007-05-31 | 2011-08-03 | Samsung Electronics Ltd | METHOD AND DEVICE FOR DISCOVERING A UNIVERSAL DEVICE READY TO USE USING RESOURCE INFORMATION |
| WO2009110719A3 (en) * | 2008-03-04 | 2009-12-17 | 삼성전자 주식회사 | Method and apparatus for software lifecycle management in home network |
| CN102124722A (en) * | 2008-03-04 | 2011-07-13 | 三星电子株式会社 | Method and device for software life cycle management in home network |
| US9979539B2 (en) | 2013-12-30 | 2018-05-22 | Samsung Electronics Co., Ltd. | Method and system of authenticating a network device in a location based verification framework |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1332541C (en) | Control point server system and method for admission of effective access for household network devices | |
| US7185014B1 (en) | Retrieving data from a server | |
| CN100421094C (en) | Apparatus, method, and program for performing protocol conversion processing | |
| CN101690017B (en) | Rich text method and apparatus for relaying communications between a universal plug and play device and a remote user interface client | |
| US8275872B2 (en) | Network system using WSD protocol, comprising plurality of devices capable of changeover between representative device and non-representative device, and management method therefor | |
| EP2840741B1 (en) | Method and apparatus for using service of home network device based on remote access | |
| JP2004334792A (en) | Network service system, service agency processing method, storage medium storing computer readable program, and program | |
| KR101469540B1 (en) | Method and apparatus for discovering Universal Plug and Play device using resource information | |
| EP1705576A1 (en) | Device cooperation service system and electronic devices included in the system | |
| JP5379253B2 (en) | Control point determination method and UPnP network controlled device | |
| KR20050040166A (en) | Proxy for controlling device of home-network and method thereof | |
| JP3661935B2 (en) | Information processing apparatus and method, recording medium, and program | |
| JP5159071B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND ITS CONTROL METHOD | |
| US20080098441A1 (en) | Method and apparatus for managing services provided by devices in home network | |
| KR20070042001A (en) | Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same | |
| CN103414774A (en) | Method of receiving/transmitting event message, controlled device, and control point | |
| JP4976098B2 (en) | Method and apparatus for efficiently managing UPnP device information | |
| US20070162583A1 (en) | Information providing device, device discovering method, and computer product | |
| KR100501899B1 (en) | Proxy Apparatus and Controlling Method for Universal Plug and Play | |
| KR100513288B1 (en) | System and method for accessing to home network public network | |
| KR20100033861A (en) | Data communication system and method in universal plug and play network | |
| KR100724361B1 (en) | Media file retrieval system and method | |
| JP2009020916A (en) | Control device, control program, and control method | |
| JP2009053869A (en) | Device setup apparatus and control method thereof | |
| JP2006099380A (en) | Update software distribution method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20051017 |
|
| PA0201 | Request for examination | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20061108 Patent event code: PE09021S01D |
|
| PG1501 | Laying open of application | ||
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 20070502 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20061108 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |