KR20060078430A - Device controlling method for network based to upnp - Google Patents

Device controlling method for network based to upnp Download PDF

Info

Publication number
KR20060078430A
KR20060078430A KR1020040118388A KR20040118388A KR20060078430A KR 20060078430 A KR20060078430 A KR 20060078430A KR 1020040118388 A KR1020040118388 A KR 1020040118388A KR 20040118388 A KR20040118388 A KR 20040118388A KR 20060078430 A KR20060078430 A KR 20060078430A
Authority
KR
South Korea
Prior art keywords
upnp
devices
information
upnp device
adjacent
Prior art date
Application number
KR1020040118388A
Other languages
Korean (ko)
Other versions
KR100631515B1 (en
Inventor
임상용
Original Assignee
엘지전자 주식회사
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040118388A priority Critical patent/KR100631515B1/en
Publication of KR20060078430A publication Critical patent/KR20060078430A/en
Application granted granted Critical
Publication of KR100631515B1 publication Critical patent/KR100631515B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 UPnP 기반 네트워크에서의 디바이스 제어 방법에 관한 것으로 특히, 다수의 UPnP 디바이스가 직렬 방식으로 연결된 홈 네트워크에 있어서, 임의의 UPnP 디바이스가 M-search 명령을 전송하면 인접한 디바이스가 자신의 디바이스 정보와 자신에게 연결된 UPnP 디바이스 정보를 응답함으로써 임의의 UPnP 디바이스가 자신과 연결되지 않은 UPnP 디바이스를 제어할 수 있도록 하는데 그 목적이 있다. 이러한 목적의 본 발명은 다수의 UPnP 디바이스(210~240)가 도2와 같이 직렬방식으로 연결된 경우 상기 UPnP 디바이스(220)(230)에 컨트롤포인트(CP)가 탑재되고, 상기 UPnP 디바이스(220)가 UPnP 디바이스(230)(240)를 발견, 제어하는 경우를 가정한 네트워크의 디바이스 제어 방법에 있어서, UPnP 디바이스(220)가 M-search 명령을 전송하는 단계와, 상기 M-search 명령을 수신한 UPnP 디바이스(230)가 인접한 UPnP 디바이스(240)의 명세 정보가 있는지 확인하는 단계와, 상기 UPnP 디바이스(230)가 자신의 명세 정보와 상기 M-search 명령이 수신되기 이전에 획득한 UPnP 디바이스(240)의 명세 정보를 UPnP 디바이스(220)에 전송하는 단계를 수행하도록 구성함을 특징으로 한다. The present invention relates to a method for controlling a device in a UPnP-based network. In particular, in a home network in which a plurality of UPnP devices are connected in a serial manner, when an arbitrary UPnP device transmits an M-search command, an adjacent device is associated with its own device information. The purpose of this is to allow any UPnP device to control a UPnP device that is not connected to itself by responding to UPnP device information connected to it. According to the present invention for this purpose, when a plurality of UPnP devices 210 to 240 are connected in a serial manner as shown in FIG. 2, a control point CP is mounted on the UPnP devices 220 and 230, and the UPnP device 220 is connected. In the device control method of a network assuming that the UE discovers and controls the UPnP devices 230 and 240, the UPnP device 220 transmitting an M-search command and receiving the M-search command The UPnP device 230 checks whether there is specification information of the adjacent UPnP device 240, and the UPnP device 240 acquired by the UPnP device 230 before its specification information and the M-search command are received. It is characterized in that it is configured to perform the step of transmitting the specification information of) to the UPnP device 220.

Description

UPnP 기반 네트워크에서의 디바이스 제어 방법{DEVICE CONTROLLING METHOD FOR NETWORK BASED TO UPnP} DEVICE CONTROLLING METHOD FOR NETWORK BASED TO UPnP}

도1은 통상적인 UPnP 네트워크의 구성도. 1 is a block diagram of a typical UPnP network.

도2는 직렬방식으로 연결된 네트워크 구성도. 2 is a network diagram connected in a serial manner.

도3은 UPnP 규약에서 RDD 메시지 포맷의 예시도. 3 illustrates an example of an RDD message format in the UPnP protocol.

도4는 본 발명의 실시 예에서 디바이스 발견 과정을 보인 동작 순서도. 4 is a flowchart illustrating a device discovery process according to an embodiment of the present invention.

도5는 본 발명의 실시 예에서 디바이스 제어 과정을 보인 동작 순서도. 5 is a flowchart illustrating a device control process according to an exemplary embodiment of the present invention.

* 도면의 주요부분에 대한 부호 설명 * Explanation of symbols on the main parts of the drawings

210~240 : UPnP 디바이스 210 ~ 240: UPnP device

본 발명은 홈 네트워킹에 관한 것으로 특히, UPnP 기반 네트워크에서의 디바이스 제어 방법에 관한 것이다. The present invention relates to home networking, and more particularly, to a device control method in a UPnP based network.

현재 가정에 구축되는 홈 네트워크는 개인용 컴퓨터(PC)를 중심으로 여러 주변 장치들을 연결하고 인터넷 사용을 공유하는 데이터 네트워크와, AV 제품간의 멀티미디어 데이터 전송을 위한 AV 네트워크가 있다. Currently, home networks built in homes include a data network connecting various peripheral devices and sharing Internet usage around a personal computer (PC), and an AV network for transmitting multimedia data between AV products.

최근에는 가전제품들이나 보안 장치를 제어하기 위한 네트워크도 활발하게 개발되어 보급되는 추세이다. Recently, a network for controlling home appliances or security devices is also actively developed and spread.

예로서, 가정 내의 가전기기들을 하나의 네트워크로 연결함에 있어서, TCP/IP, HTTP 및 XML과 같은 인터넷 표준 기술을 접목시켜 여러 가전 제품, 네트워크 프린터, 인터넷 게이트와 같은 네트워크 디바이스를 포함하는 홈네트워킹이 가능하도록 하는 기술로서 UPnP가 제시되었다. For example, in connecting home appliances in a home, home networking, which includes network devices such as various home appliances, network printers, and Internet gates, incorporates Internet standard technologies such as TCP / IP, HTTP, and XML. UPnP has been proposed as a technology to enable this.

UPnP 디바이스 아키텍쳐 1.0에서는 서비스를 제공해주는 다수개의 디바이스(Device)와, 이 다수개의 디바이스를 제어하는 컨트롤포인트(CP)를 구비하여 구성된다. The UPnP device architecture 1.0 includes a plurality of devices providing a service and a control point (CP) for controlling the plurality of devices.

상기 컨트롤포인트(CP)는 주로 데스크탑 피씨, 노트북 피씨, 티브이(TV) 등 유저 인터페이스를 갖추고 있는 장치에 탑재되어 다양한 장비를 제어하는 소프트웨어 개체로서, 사용자의 키 입력에 따라 각종 디바이스들을 발견하고(discovery), 기능을 알아내며(description), 제어(control)하도록 구성된다. The control point (CP) is a software object that is mainly mounted on a device having a user interface such as a desktop PC, a notebook PC, a TV (TV) and controls various devices, and discovers various devices according to a user's key input. Are configured to identify and control functions.

상기 디바이스(Device)는 홈 네트워크에 접속된 PC, 네트워크 장비 등의 장치로서, 이벤트를 컨트롤포인트로 알리며 프레젠테이션(presentation) 페이지를 상기 컨트롤포인트로 제공하여 웹 페이지를 이용한 디바이스 제어 및 상태 파악이 가능하도록 구성된다The device is a device such as a PC or a network device connected to a home network. The device notifies an event to a control point and provides a presentation page to the control point to enable device control and status determination using a web page. It is composed

UPnP 디바이스 아키텍쳐 1.0 규정에서 컨트롤포인트는 SSDP(Simple Service Discovery Protocol)를 이용하여 UPnP 네트워크 상에 존재하는 디바이스를 찾을 수 있고, 디바이스는 SSDP를 이용하여 자신의 존재를 컨트롤포인트로 알릴 수 있는데, 이를 위한 컨트롤포인트(CP)와 디바이스 간의 통신 과정을 간략히 설명하면 다음과 같다. In the UPnP Device Architecture 1.0 specification, a control point can find a device on a UPnP network using the Simple Service Discovery Protocol (SSDP), and a device can inform its control point of its existence using the SSDP. The communication process between the control point (CP) and the device is briefly described as follows.

먼저, 컨트롤포인트는 UPnP 네트워크에 접속되면 탐색 메시지를 멀티캐스트하고 탐색 메시지를 수신한 디바이스가 자신의 정보를 유니캐스트하면 그 정보로부터 디바이스의 정보를 확인한다. First, when the control point is connected to the UPnP network, the control point multicasts the discovery message, and when the device receiving the discovery message unicasts its own information, the control point checks the information of the device from the information.

그리고, 디바이스는 UPnP 네트워크 상에 접속되면 광고(advertisement) 메시지를 멀티캐스트하고 이 멀티캐스트 메시지를 통해 컨트롤포인트는 디바이스의 존재를 인식하게 된다. When the device is connected on the UPnP network, the device multicasts an advertisement message, and the control point recognizes the existence of the device through the multicast message.

또한, 컨트롤포인트는 SOAP(Simple Object Access Protocol)를 이용하여 현재 네트워크 상의 디바이스를 제어하며, 디바이스로부터의 응답도 SOAP를 이용하여 받는다. In addition, the control point uses the Simple Object Access Protocol (SOAP) to control the device on the current network, and also receives a response from the device using the SOAP.

한편, 네트워크 상의 디바이스는 변경된 정보를 컨트롤포인트로 알리기 위해 GENA(Generic Event Notification Architecture)를 이용하여 이벤트(event) 메시지를 전송한다. Meanwhile, a device on a network transmits an event message using a generic event notification architecture (GENA) to inform the control point of the changed information.

즉, UPnP AV 디바이스 1.0 사양에서 컨트롤포인트는 UPnP 네트워크에 존재하는 디바이스(device)에 대한 정보를 M-Search를 이용하여 얻거나 또는 디바이스가 네트워크에 들어오면서 전송하는 광고(advertisement) 메시지로부터 얻을 수 있다. That is, in the UPnP AV device 1.0 specification, the control point may obtain information about a device existing in the UPnP network by using M-Search or from an advertisement message transmitted while the device enters the network. .

따라서, 컨트롤포인트는 디바이스에 대한 정보를 바탕으로 해당 디바이스를 제어한다. Therefore, the control point controls the device based on the information about the device.

통상적으로 UPnP 기반의 홈 네트워크는 도1에 도시된 바와 같이, 다수의 UPnP 디바이스(121~124)은 허브(또는 스위치)(110)에 연결되어 구성된다. Typically, a UPnP-based home network is illustrated in FIG. 1, where a plurality of UPnP devices 121 ˜ 124 are connected to a hub (or switch) 110.

상기 UPnP 디바이스(121~124)는 다른 UPnP 디바이스를 발견하고 제어하기 위해서 컨트롤포인트(CP)가 탑재되어야 한다. 즉, UPnP 디바이스(121~124) 중 적어도 하나의 디바이스에는 컨트롤포인트(CP)가 탑재된다. The UPnP devices 121 to 124 should be equipped with a control point CP in order to discover and control other UPnP devices. That is, the control point CP is mounted in at least one of the UPnP devices 121 ˜ 124.

여기서, UPnP 디바이스(121)에만 컨트롤포인트(CP)가 탑재되었다고 가정한다. Here, it is assumed that the control point CP is mounted only on the UPnP device 121.

UPnP 디바이스(121)는 홈 네트워크에 연결된 UPnP 디바이스(122~124)를 발견하기 위해 M-search ssdp:discover 메시지를 허브(110)를 통해 전송하며, 홈 네트워크에 연결된 UPnP 디바이스(122~124)는 자신의 Root Device Description(이하 "RDD"라 약칭함) 메시지를 상기 UPnP 디바이스(121)에 응답한다. 상기 RDD 메시지는 도3에 예시한 바와 같다. The UPnP device 121 transmits an M-search ssdp: discover message through the hub 110 to discover UPnP devices 122 to 124 connected to the home network, and the UPnP devices 122 to 124 connected to the home network It sends its own Root Device Description (hereinafter abbreviated as "RDD") message to the UPnP device 121. The RDD message is as illustrated in FIG.

그러나, 종래에는 다수의 UPnP 디바이스가 다른 UPnP 디바이스를 제어하기 위해서는 도1과 같이 홈 네트워크가 구성되어야 한다. 이는 임의의 UPnP 디바이스가 UPnP 디바이스를 제어하려는 경우 자신과 연결되지 않은 UPnP 디바이스를 제어할 수 없다는 것을 의미한다. However, in the related art, in order for a plurality of UPnP devices to control other UPnP devices, a home network should be configured as shown in FIG. 1. This means that if any UPnP device wants to control the UPnP device, it cannot control the UPnP device that is not connected to it.

예를 들어, 도2와 같이 다수의 UPnP 디바이스가 직렬방식으로 연결된 경우라면 UPnP 디바이스(210)가 M-search 명령을 보내면 UPnP 디바이스(220)만이 응답한다. 따라서, UPnP 디바이스(210)는 UPnP 디바이스(230)(240)를 제어할 수 없는 문제점이 있다. For example, when a plurality of UPnP devices are connected in a serial manner as shown in FIG. 2, when the UPnP device 210 sends an M-search command, only the UPnP device 220 responds. Therefore, the UPnP device 210 may not control the UPnP devices 230 and 240.                         

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 다수의 UPnP 디바이스가 직렬 방식으로 연결된 홈 네트워크에 있어서, 임의의 UPnP 디바이스가 M-search 명령을 전송하면 인접한 디바이스가 자신의 디바이스 정보와 자신에게 연결된 UPnP 디바이스 정보를 응답함으로써 임의의 UPnP 디바이스가 자신과 연결되지 않은 UPnP 디바이스를 제어할 수 있도록 창안한 UPnP 기반 네트워크에서의 디바이스 제어 방법을 제공하는데 그 목적이 있다. Accordingly, the present invention provides a home network in which a plurality of UPnP devices are connected in a serial manner in order to improve a conventional problem. When an arbitrary UPnP device transmits an M-search command, an adjacent device connects to its own device information and to itself. An object of the present invention is to provide a method for controlling a device in a UPnP-based network, in which an UPnP device can control a UPnP device that is not connected to itself by responding device information.

본 발명은 상기의 목적을 달성하기 위하여 다수의 UPnP 디바이스가 직렬방식으로 연결된 네트워크 제어 방법에 있어서, 임의의 UPnP 디바이스(이하 "제1 디바이스"라 칭함)가 디바이스 발견을 위한 명령을 인접한 UPnP 디바이스(이하 "제2 디바이스"라 칭함)에 전송하는 단계와, 상기 발견 명령을 확인한 제2 디바이스가 자신의 명세(Root Device Description, 이하 "RDD"라 약칭함) 정보와 자신과 인접한 UPnP 디바이스(이하 "제3 디바이스"라 칭함)의 RDD 정보를 상기 제1 디바이스에 응답하는 단계를 수행하도록 구성함을 특징으로 한다. The present invention provides a network control method in which a plurality of UPnP devices are connected in a serial manner in order to achieve the above object, wherein any UPnP device (hereinafter referred to as a "first device") sends a command for device discovery to an adjacent UPnP device ( Transmitting to a "second device", and the second device which has confirmed the discovery command has its own specification (Root Device Description, hereinafter abbreviated as "RDD") information and a UPnP device adjacent to it; And responding to the first device with RDD information of " third device ".

또한, 본 발명은 상기의 목적을 달성하기 위하여 다수의 UPnP 디바이스가 직렬방식으로 연결된 네트워크 제어 방법에 있어서, 제1 디바이스가 특정기능 실행을 위한 UPnP 명령을 인접한 제2 디바이스에 전송하는 단계와, 상기 제2 디바이스가 UPnP 액션과 함께 전송되는 UDN(Unique Description Number, 이하 "UDN"이라 약칭함)이 자신의 UDN과 일치하는지 비교하는 단계와, 상기 제2 디바이스는 비교결과가 일치하지 않으면 상기 UPnP 액션을 인접한 제3 디바이스에 전달하는 단계를 수행하 도록 구성함을 특징으로 한다. In addition, the present invention provides a network control method in which a plurality of UPnP devices are connected in a serial manner in order to achieve the above object, the first device transmitting a UPnP command for executing a specific function to the adjacent second device, Comparing, by the second device, whether a UDN (Unique Description Number, hereinafter abbreviated as "UDN") transmitted with the UPnP action matches its own UDN; and if the comparison result does not match, the UPnP action It characterized in that it is configured to perform the step of delivering to the adjacent third device.

상기 제1~제3 디바이스는 적어도 인접한 2개의 디바이스에 컨트롤포인트(CP)를 탑재하여 구성함을 특징으로 한다. The first to third devices may be configured by mounting control points CP on at least two adjacent devices.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다. Hereinafter, the present invention will be described in detail with reference to the drawings.

본 발명의 실시 예에서는 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략하기로 한다. In the embodiments of the present invention, a detailed description of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

본 발명의 실시 예를 설명하기 위한 홈 네트워크의 구성은 도2와 같다. The configuration of a home network for explaining an embodiment of the present invention is shown in FIG.

도2에서 UPnP 디바이스(210~240)의 인접 디바이스간 연결은 이더넷(ethernet), IEEE1394 등으로 특정됨이 없이 임의의 통신방식으로도 연결이 가능하다. In FIG. 2, the connection between adjacent devices of the UPnP devices 210 to 240 may be connected by any communication method without being specified as Ethernet, IEEE1394, or the like.

도2에서 UPnP 디바이스(220)(230)에 컨트롤포인트(CP)가 탑재되고 상기 UPnP 디바이스(220)가 UPnP 디바이스(230)(240)를 발견, 제어하는 경우를 가정하여 설명하기로 한다. In FIG. 2, it is assumed that a control point CP is mounted on the UPnP devices 220 and 230, and the UPnP device 220 discovers and controls the UPnP devices 230 and 240.

도2에서 UPnP 디바이스(220)에 컨트롤포인트(CP)가 탑재되는 것으로 가정하였으므로 UPnP 디바이스(210)의 발견 및 제어는 기존 방식과 동일한 과정으로 이루어짐으로 이의 상세한 설명은 생략하기로 한다. Since it is assumed in FIG. 2 that the control point CP is mounted on the UPnP device 220, the discovery and control of the UPnP device 210 are performed in the same process as the conventional method, and thus a detailed description thereof will be omitted.

도4는 디바이스 발견 과정의 동작 순서도로서 이에 도시한 바와 같이, UPnP 디바이스(220)가 M-search 명령을 전송하는 단계와, 상기 M-search 명령을 수신한 UPnP 디바이스(230)가 인접한 UPnP 디바이스(240)의 명세 정보가 있는지 확인하는 단계와, 상기 UPnP 디바이스(230)가 자신의 명세 정보와 상기 M-search 명령이 수 신되기 이전에 획득한 UPnP 디바이스(240)의 명세 정보를 UPnP 디바이스(220)에 전송하는 단계를 수행하도록 구성한다. 4 is a flowchart illustrating an operation of a device discovery process, in which the UPnP device 220 transmits an M-search command, and the UPnP device 230 receiving the M-search command is adjacent to a UPnP device ( Checking whether there is specification information of the 240; and the specification information of the UPnP device 240 acquired before the UPnP device 230 receives its specification information and the M-search command. To transmit).

상기 도4의 과정에서 UPnP 디바이스(230)는 M-search 명령이 수신된 이후에 UPnP 디바이스(240)가 홈 네트워크에 연결되어 그 UPnP 디바이스(240)의 명세 정보를 획득하면 자신의 명세정보를 갱신하고 이를 UPnP 디바이스(220)에 전송하는 과정을 포함하여 수행한다. In the process of FIG. 4, the UPnP device 230 updates its specification information when the UPnP device 240 is connected to the home network and acquires specification information of the UPnP device 240 after the M-search command is received. And transmitting the same to the UPnP device 220.

도5는 디바이스 제어 과정의 동작 순서도로서 이에 도시한 바와 같이, UPnP 디바이스(220)가 특정기능 제어를 위한 SOAP 명령을 UPnP 디바이스(230)에 전송하는 단계와, 상기 UPnP 디바이스(230)가 SOAP 명령과 함께 전송된 UDN을 추출하여 자신의 UDN과 비교하는 단계와, 상기에서 UDN이 일치하면 UPnP 디바이스(230)는 SOAP 명령을 실행하고 그 실행결과를 상기 UPnP 디바이스(220)에 전송하는 단계와, 상기에서 UDN이 일치하지 않으면 UPnP 디바이스(230)가 SOAP 명령을 UPnP 디바이스(240)에 전달하는 단계를 수행하도록 구성한다. 5 is a flowchart illustrating an operation of a device control process, in which the UPnP device 220 transmits a SOAP command for controlling a specific function to the UPnP device 230, and the UPnP device 230 performs a SOAP command. Extracting the UDN transmitted together with its own UDN, and if the UDN matches, the UPnP device 230 executes a SOAP command and transmits the execution result to the UPnP device 220; If the UDN does not match, the UPnP device 230 is configured to perform a step of transmitting a SOAP command to the UPnP device 240.

상기 도5의 과정에서 UPnP 디바이스(230)는 UPnP 디바이스(240)로부터 액션이 수신되면 UDN을 추출하여 자신의 UDN과 비교하고, 그 비교 결과가 일치하면 해당 액션을 실행하며, 비교 결과가 일치하지 않으면 해당 액션을 UPnP 디바이스(220)에 전달하는 과정을 수행하도록 구성한다. In the process of FIG. 5, when an action is received from the UPnP device 240, the UPnP device 230 extracts a UDN, compares the UDN with its own UDN, and executes the corresponding action if the comparison results match, and the comparison result does not match. If not, the process of transmitting the action to the UPnP device 220 is configured to be performed.

이와 같이 구성한 본 발명의 실시 예에 대한 동작 및 작용 효과를 설명하면 다음과 같다. Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

우선, UPnP 디바이스 발견 과정을 설명하면, UPnP 디바이스(220)가 M-search 명령을 UPnP 디바이스(230)에 전송한다. First, the UPnP device discovery process will be described. The UPnP device 220 transmits an M-search command to the UPnP device 230.

상기 UPnP 디바이스(230)는 M-search 명령이 수신되기 전에 UPnP 디바이스(240)에 대한 명세 정보를 알고 있다면 자신의 RDD뿐만 아니라 UPnP 디바이스(230)의 RDD 정보를 UPnP 디바이스(220)에 응답한다. If the UPnP device 230 knows the specification information of the UPnP device 240 before the M-search command is received, the UPnP device 230 responds to the UPnP device 220 not only its own RDD but also the RDD information of the UPnP device 230.

만약, UPnP 디바이스(230)는 M-search 명령이 수신된 시점에서 UPnP 디바이스(240)를 미리 알고 있지 않다면 자신의 RDD 정보만을 UPnP 디바이스(220)에 응답한다. If the UPnP device 230 does not know the UPnP device 240 at the time when the M-search command is received, the UPnP device 230 responds to the UPnP device 220 only with its own RDD information.

이 경우, UPnP 디바이스(230)는 UPnP 디바이스(240)가 연결되는 시점에서 상기 UPnP 디바이스(240)의 RDD 정보를 이용하여 자신의 RDD 정보를 갱신하고 이를 UPnP 디바이스(220)에 응답한다. In this case, the UPnP device 230 updates its RDD information using the RDD information of the UPnP device 240 at the time when the UPnP device 240 is connected, and responds to the UPnP device 220.

이에 따라, UPnP 디바이스(210~240)에 컨트롤포인트(CP)가 모두 탑재된 경우라면 상기 UPnP 디바이스(210~240)는 상기 과정으로 모두 동일한 정보를 가지게 된다. 이러한 방법은 N개의 UPnP 디바이스가 직렬 연결된 경우에도 적용 가능하다. Accordingly, when all of the control points CP are mounted on the UPnP devices 210 to 240, the UPnP devices 210 to 240 have the same information in the above process. This method is also applicable when N UPnP devices are connected in series.

그런데, N개의 UPnP 디바이스 중에는 메모리 용량이 부족한 디바이스가 존재할 수 있는데, 해당 디바이스는 메모리 용량때문에 모든 정보를 유지할 수 없을 수 있다. However, there may be a device having insufficient memory capacity among the N UPnP devices, and the device may not be able to maintain all the information because of the memory capacity.

이를 해결하기 위해 해당 UPnP 디바이스는 인접한 UPnP 디바이스의 RDD 정보를 이용하여 자신의 RDD 정보를 갱신함이 없이 자신과 연결된 다른 UPnP 디바이스로 전송하는 기능만을 수행하도록 구성한다. 즉, 메모리 용량이 부족한 UPnP 디바이스는 주변 디바이스의 제어만을 실행하고, 주변 디바이스가 추가되는 경우 해 당 정보를 자신과 연결된 다른 UPnP 디바이스에 전송하는 기능만을 실행하는 것이다. In order to solve this problem, the corresponding UPnP device is configured to perform only a function of transmitting to another UPnP device connected to the UPnP device without updating its RDD information using the RDD information of the adjacent UPnP device. That is, the UPnP device having insufficient memory capacity executes only the control of the peripheral device, and when the peripheral device is added, only the function of transmitting the information to another UPnP device connected to the UPnP device.

또한, 상기 과정에서 UPnP 디바이스(210~240)가 모두 동일한 정보를 가질 수 있도록 홈 네트워크에 연결된 UPnP 디바이스의 개수 정보를 전송하여야 한다. In addition, in the above process, the number of UPnP devices connected to the home network should be transmitted so that the UPnP devices 210 to 240 may all have the same information.

이에 따라, 직렬로 연결된 다수의 UPnP 디바이스 중에서 중간 브릿지 역할을 하는 UPnP 디바이스에 의해 정보를 받지 못한 경우에 M-search 명령을 전송하여 해당 정보를 획득할 수 있다. Accordingly, when information is not received by the UPnP device serving as an intermediate bridge among a plurality of UPnP devices connected in series, the corresponding information may be acquired by transmitting an M-search command.

한편, 상기와 같은 과정으로 UPnP 디바이스의 정보를 획득한 상태에서 임의의 디바이스 제어는 SOAP 액션을 통해 달성할 수 있는데, 이를 설명하면 다음과 같다. Meanwhile, arbitrary device control can be achieved through a SOAP action in the state of acquiring UPnP device information through the above process, which will be described below.

UPnP 디바이스(220)에서 UPnP 디바이스를 제어하기 위한 SOAP 액션을 UPnP 디바이스(230)에 전송하면 상기 UPnP 디바이스(230)는 SOAP 명령과 함께 전송되는 UDN을 자신의 UDN과 비교한다. When the UPnP device 220 transmits a SOAP action for controlling the UPnP device to the UPnP device 230, the UPnP device 230 compares the UDN transmitted with the SOAP command with its UDN.

이에 따라, UDN 비교결과가 일치하면 UPnP 디바이스(230)는 SOAP 명령에 해당하는 특정 기능을 실행하고, 그 실행결과를 UPnP 디바이스(220)에 응답한다. Accordingly, if the UDN comparison results match, the UPnP device 230 executes a specific function corresponding to the SOAP command, and responds to the UPnP device 220 with the execution result.

만일, 상기 과정에서 UDN 비교결과가 일치하지 않으면 UPnP 디바이스(230)는 해당 SOAP 명령을 UPnP 디바이스(240)에 전달한다. If the UDN comparison result does not match in the above process, the UPnP device 230 transmits the corresponding SOAP command to the UPnP device 240.

이에 따라, UPnP 디바이스(240)는 UDN을 비교하여, 일치하면 SOAP 명령에 해당하는 특정기능을 실행하고, 그 실행결과를 UPnP 디바이스(230)에 응답한다. Accordingly, the UPnP device 240 compares the UDN, and if it matches, executes a specific function corresponding to the SOAP command, and responds to the UPnP device 230 with the execution result.

이때, UPnP 디바이스(230)는 UPnP 디바이스(240)에서 전송된 UDN을 자신의 UDN과 비교하고, 그 비교결과가 일치하지 않으면 상기 실행결과를 UPnP 디바이스(220)에 전달한다. At this time, the UPnP device 230 compares the UDN transmitted from the UPnP device 240 with its own UDN, and transfers the execution result to the UPnP device 220 if the comparison result does not match.

따라서, UPnP 디바이스(220)는 SOAP 명령에 대한 실행결과를 확인하게 된다. Accordingly, the UPnP device 220 confirms the execution result of the SOAP command.

즉, 본 발명에서 홈 네트워크에 연결된 다수의 UPnP 디바이스는 인접 UPnP 디바이스로부터 UPnP 액션이 전달되면 UDN을 추출하여 자신의 UDN과 비교하고, 그 비교 결과가 일치하면 해당 UPnP 액션을 실행하며, 일치하지 않으면 해당 UPnP 액션을 다른 포트에 연결된 UPnP 디바이스에 전달하는 동작을 수행하는 것이다 That is, in the present invention, a plurality of UPnP devices connected to a home network extracts a UDN and compares it with its own UDN when a UPnP action is transmitted from a neighboring UPnP device. It transfers the UPnP action to UPnP devices connected to other ports.

상기에서 상세히 설명한 바와 같이 본 발명은 다음과 같은 효과를 발휘한다. As described above in detail, the present invention has the following effects.

1. 다수의 UPnP 디바이스를 직렬로 연결하여도 발견 및 제어가 가능함으로 네트워크를 유연하게 연결할 수 있다. 1. Even if multiple UPnP devices are connected in series, they can be discovered and controlled, allowing flexible network connection.

2. 다수의 UPnP 디바이스를 직렬로 연결할 수 있음으로 허브(HUB) 또는 스위치(SWITCH) 등의 장비를 구비할 필요가 없고, 연결 가능한 UPnP 디바이스의 대수가 제한되지 않는다. 2. Since a plurality of UPnP devices can be connected in series, there is no need to provide equipment such as a hub or a switch, and the number of UPnP devices that can be connected is not limited.

Claims (4)

다수의 UPnP 디바이스가 직렬방식으로 연결된 네트워크 제어 방법에 있어서, In a network control method in which a plurality of UPnP devices are connected in a serial manner, 임의의 UPnP 디바이스(이하 "제1 디바이스"라 칭함)가 디바이스 발견을 위한 UPnP 명령을 인접한 UPnP 디바이스(이하 "제2 디바이스"라 칭함)에 전송하는 단계와, Transmitting, by any UPnP device (hereinafter referred to as "first device"), an UPnP command for device discovery to an adjacent UPnP device (hereinafter referred to as "second device"), 상기 UPnP 명령을 수신한 제2 디바이스가 자신의 명세(Root Device Description, 이하 "RDD"라 약칭함) 정보와 자신과 인접한 UPnP 디바이스(이하 "제3 디바이스"라 칭함)의 RDD 정보를 상기 제1 디바이스에 응답하는 단계를 수행하도록 구성함을 특징으로 하는 UPnP 기반 네트워크에서의 디바이스 제어 방법. The second device that has received the UPnP command has its own specification (Root Device Description, hereinafter abbreviated as "RDD") information and the RDD information of the UPnP device (hereinafter referred to as "third device") adjacent to the first device; And responding to the device. 제1항에 있어서, 발견을 위한 UPnP 명령 이후에 제2 디바이스가 인접한 제3 디바이스로부터 RDD 갱신 정보를 수신하면 자신의 RDD 정보를 갱신하는 단계와, The method of claim 1, further comprising: updating its RDD information when the second device receives RDD update information from an adjacent third device after the UPnP command for discovery; 상기 제2 디바이스가 갱신된 RDD 정보를 제1 디바이스로 전송하는 단계를 포함하여 수행하도록 구성함을 특징으로 하는 UPnP 기반 네트워크에서의 디바이스 제어 방법. And transmitting, by the second device, the updated RDD information to the first device. 다수의 UPnP 디바이스가 직렬방식으로 연결된 네트워크 제어 방법에 있어서, In a network control method in which a plurality of UPnP devices are connected in a serial manner, 제1 디바이스가 특정기능 실행을 위한 UPnP 명령을 인접한 제2 디바이스에 전송하는 단계와, Transmitting, by the first device, a UPnP command for executing a specific function to an adjacent second device; 상기 제2 디바이스가 UPnP 액션과 함께 전송되는 UDN(Unique Description Number, 이하 "UDN"이라 약칭함)이 자신의 UDN과 일치하는지 비교하는 단계와, Comparing, by the second device, whether a UDN (Unique Description Number, hereinafter abbreviated as “UDN”) transmitted together with a UPnP action matches its own UDN; 상기 제2 디바이스는 비교결과가 일치하지 않으면 상기 UPnP 액션을 인접한 제3 디바이스에 전달하는 단계를 수행하도록 구성함을 특징으로 하는 UPnP 기반 네트워크에서의 디바이스 제어 방법. And if the comparison result does not match, transmitting the UPnP action to an adjacent third device, wherein the second device is configured to perform a device control method in the UPnP-based network. 제1항 또는 제2항 또는 제3항에 있어서, 제1~제3 디바이스는 The device according to claim 1 or 2 or 3, wherein the first to third devices are 적어도 인접한 2개의 디바이스에 컨트롤포인트(CP)를 탑재하여 구성함을 특징으로 하는 UPnP 기반 네트워크에서의 디바이스 제어 방법. Device control method in a UPnP-based network, characterized in that the control point (CP) mounted on at least two adjacent devices.
KR1020040118388A 2004-12-31 2004-12-31 Device Control Method in JPNP Based Network KR100631515B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040118388A KR100631515B1 (en) 2004-12-31 2004-12-31 Device Control Method in JPNP Based Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040118388A KR100631515B1 (en) 2004-12-31 2004-12-31 Device Control Method in JPNP Based Network

Publications (2)

Publication Number Publication Date
KR20060078430A true KR20060078430A (en) 2006-07-05
KR100631515B1 KR100631515B1 (en) 2006-10-11

Family

ID=37170335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040118388A KR100631515B1 (en) 2004-12-31 2004-12-31 Device Control Method in JPNP Based Network

Country Status (1)

Country Link
KR (1) KR100631515B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100771266B1 (en) * 2006-10-26 2007-10-29 엘지전자 주식회사 Method for providing discovery information of ip-tv server
KR20110131035A (en) * 2010-05-28 2011-12-06 삼성전자주식회사 Apparatus and method for providing device description in home network
WO2013008994A1 (en) * 2011-07-12 2013-01-17 엘지전자 주식회사 Method for device discovery and method for downloading content

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101112738B1 (en) * 2007-05-30 2012-03-13 삼성전자주식회사 Method and apparatus for searching Universal Plug and Play device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100771266B1 (en) * 2006-10-26 2007-10-29 엘지전자 주식회사 Method for providing discovery information of ip-tv server
KR20110131035A (en) * 2010-05-28 2011-12-06 삼성전자주식회사 Apparatus and method for providing device description in home network
WO2013008994A1 (en) * 2011-07-12 2013-01-17 엘지전자 주식회사 Method for device discovery and method for downloading content

Also Published As

Publication number Publication date
KR100631515B1 (en) 2006-10-11

Similar Documents

Publication Publication Date Title
US9401836B2 (en) Methods and apparatus for configuring multiple logical networks of devices on a single physical network
JP4068636B2 (en) Device, home network system and method for secure connection between home network devices
KR100823705B1 (en) Method and system for optimization of data transfer between networked devices
US7430591B2 (en) Methods and arrangements for configuring functional networks
US8559349B2 (en) Wireless network devices configurable via powerline communications networks
JP2002094543A (en) Mobile information device, mobile information device access device, home network system, and access method to the home network
EP1169812B1 (en) Broadcast discovery in a network having one or more 1394 buses
Lee et al. A home cloud-based home network auto-configuration using SDN
JP2005512399A (en) HAVi and UPnP bridge
KR100906677B1 (en) Secure remote access system and method for universal plug and play
US10404485B2 (en) Method and apparatus for restricting disclosure of network information during remote access service
KR100631515B1 (en) Device Control Method in JPNP Based Network
EP1530320B1 (en) System and method for avoiding duplication of proxy functions in a home network
KR20040055446A (en) Control point and cognition method among control points
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
US7633959B2 (en) Bridging device, communication program, and communication method
US20100166002A1 (en) System and method of connecting two networks
KR100492543B1 (en) Remote controlling method and system for device in home network
KR100548265B1 (en) Device controlling system and method for network based to privately internet protocol
KR20040055456A (en) Information exchanging method between multiple control point based universal plug and play
KR100952280B1 (en) Protocol for remote controlled-rebooting of Residential Gateway
KR20050035038A (en) Method for setting internet protocol address for network based universal plug and play
KR20040039043A (en) Control message transmission method for universal plug and play network system
KR100794033B1 (en) Method of operating network system
KR100794041B1 (en) Network system and method of operating the same

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090619

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee