KR20040039039A - Control message multicasting method and apparatus for universal plug and play network system - Google Patents

Control message multicasting method and apparatus for universal plug and play network system Download PDF

Info

Publication number
KR20040039039A
KR20040039039A KR1020020066658A KR20020066658A KR20040039039A KR 20040039039 A KR20040039039 A KR 20040039039A KR 1020020066658 A KR1020020066658 A KR 1020020066658A KR 20020066658 A KR20020066658 A KR 20020066658A KR 20040039039 A KR20040039039 A KR 20040039039A
Authority
KR
South Korea
Prior art keywords
upnp
control message
devices
data format
based network
Prior art date
Application number
KR1020020066658A
Other languages
Korean (ko)
Other versions
KR100455123B1 (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 KR10-2002-0066658A priority Critical patent/KR100455123B1/en
Publication of KR20040039039A publication Critical patent/KR20040039039A/en
Application granted granted Critical
Publication of KR100455123B1 publication Critical patent/KR100455123B1/en

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Abstract

PURPOSE: A method for multicasting a control message of a UPnP(Universal Plug and Play)-based network system and a device therefor are provided to include SOAP(Simple Object Access Protocol)/HTTPMU/UDP functions in a UPnP device architecture 1.0 specification, and to simultaneously transmit the same control message to many devices of a UPnP network, thereby improving performance. CONSTITUTION: A UPnP-based network system determines a control message to be multicasted. The UPnP-based network system obtains a transmission protocol and a data format supported by a media server. The UPnP-based network system obtains a protocol and a data format supported by a media renderer. The UPnP-based network system determines a transmission protocol and a data format to be multicasted in reference to the obtained transmission protocols and the data formats, and multicasts the control message to many devices by reflecting the determined transmission protocol and the data format.

Description

UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법 및 장치{CONTROL MESSAGE MULTICASTING METHOD AND APPARATUS FOR UNIVERSAL PLUG AND PLAY NETWORK SYSTEM}CONTROL MESSAGE MULTICASTING METHOD AND APPARATUS FOR UNIVERSAL PLUG AND PLAY NETWORK SYSTEM}

본 발명은 UPnP 기반의 네트워킹 기술에 관한 것으로 특히, 제어 메시지 멀티캐스트 방법 및 장치에 관한 것이다.The present invention relates to UPnP-based networking technology, and more particularly, to a method and apparatus for multicasting control message.

가정에 있는 2개 이상의 장치가 서로 통신하는 것을 일컬어 홈네트워크라고 한다.The communication between two or more devices in a home is also called a home network.

현재 가정에서 사용되는 홈네트워크는 인터넷의 확장과 디지털 기술의 발전으로 인해 PC를 중심으로 여러 주변 장치들을 연결하고 인터넷 사용을 공유하는 데이터 네트워크와 비디오, TV 등과 같은 AV 제품간의 멀티미디어 데이터 전송을 위한 AV 네트워크가 있으며, 근래에는 가전제품들이나 보안 장치를 제어하기 위한 네트워크도 활발하게 개발되고 보급되는 실정이다.Currently, home networks used in homes are connected to various PCs and PCs due to the expansion of the Internet and the development of digital technology. There is a network, and in recent years, networks for controlling home appliances and security devices are actively developed and distributed.

현재 가정에서 네트워크들을 통합하려는 시도로써 UPnP(Universal Plug and Play)가 제안되었다.UPnP (Universal Plug and Play) has been proposed as an attempt to integrate networks in current homes.

UPnP는 여러 기업체들이 UPnP 포럼(http://www.upnp.org)을 구성하여 만들고 있는 사실상의(defacto) 산업 표준이다.UPnP is a defacto industry standard that many companies have created and built on the UPnP forum (http://www.upnp.org).

UPnP 네트워크는 도1의 구성도에 도시된 바와 같이, 디바이스를 제어하는 컨트롤 포인트(Control Point)와, 서비스를 제공하는 다수의 디바이스(Device)로 구성된다.As illustrated in the configuration diagram of FIG. 1, the UPnP network includes a control point for controlling a device and a plurality of devices for providing a service.

따라서, 컨트롤 포인트가 사용자 인터페이스(User Interface)를 제공함으로 사용자는 그 사용자 인터페이스를 통해 컨트롤 포인트로 명령을 입력하여 각종 디바이스들을 찾아내고(discovery, description), 제어(control)하는 것이 가능하다.Accordingly, since the control point provides a user interface, the user can input a command to the control point through the user interface to find (discovery, description) and control various devices.

또한, 컨트롤 포인트와 디바이스 간에는 IP 프로토콜을 이용하여 네트워크를구성함으로 가정 내의 데이터 네트워크, AV 네트워크와 제어 네트워크가 서로 다른 물리적 매체를 이용하여 통신한다고 할지라도 IP만 지원되면 하나의 네트워크로 통합하는 것이 가능하다.In addition, since the control point and the device are configured using the IP protocol, even if the data network, the AV network and the control network in the home communicate using different physical media, it is possible to integrate them into one network if only IP is supported. Do.

현재 UPnP AV 1.0 표준에서 UPnP AV 구조는 컨트롤 포인트(CP)는 미디어 서버(Media Server : MS), 미디어 렌더러(Media Renderer : MR)와 별개로 구성되거나 미디어 서버(MS) 또는 미디어 렌더러(MR)에 구비되어 구성된다.In the current UPnP AV 1.0 standard, the UPnP AV structure means that the Control Point (CP) is configured separately from the Media Server (MS), Media Renderer (MR), or on the Media Server (MS) or Media Renderer (MR). It is provided and configured.

또한, 현재 UPnP 디바이스 아키텍쳐 버전1.0에서는 현재 널리 사용되는 TCP/IP, HTTP와 같은 인터넷 프로토콜과 XML(eXtensible Markup Language), SOAP(Simple Object Access Protocol)과 같은 기술을 이용한다.In addition, the current UPnP device architecture version 1.0 uses Internet protocols such as TCP / IP and HTTP, and technologies such as eXtensible Markup Language (XML) and Simple Object Access Protocol (SOAP).

즉, UPnP 네트워크 구성을 위한 프로토콜 스택 구조는 도2의 예시도에 도시된 바와 같이, IP를 포함하는 네트워크 계층(Network Layer)(211)과, UDP, TCP를 포함하는 트랜스포트 계층(Transport Layer)(212)과, HTTP, XML(eXtensible Markup Language), SOAP(Simple Object Access Protocol), SSDP(Simple Service Discovery Protocol) 등의 프로토콜과 GENA(Generic Event Notification Architecture)와 같은 기술을 포함하는 프리젠테이션/세션 계층(Presentation/Session Layer)(213)과, UPnP 디바이스, 포럼(ForumP), 사업자 등의 관련 정보를 포함하는 어플리케이션 계층(Application Layer)(214)으로 구성된다.That is, the protocol stack structure for configuring the UPnP network includes a network layer 211 including IP and a transport layer including UDP and TCP, as shown in the exemplary diagram of FIG. 2. 212 and presentation / session including technologies such as HTTP, eXtensible Markup Language (XML), Simple Object Access Protocol (SOAP), Simple Service Discovery Protocol (SSDP), and technologies such as Generic Event Notification Architecture (GENA). It is composed of a layer (Presentation / Session Layer) 213, and an Application Layer (214) including related information such as UPnP devices, forums (ForumP), operators.

이러한 UPnP 프로토콜 스택을 적용한 UPnP 네트워크 시스템에서 컨트롤 포인트(이하, CP라 약칭함)와 디바이스(Device) 간의 통신은 다음과 같이 6단계로 정의하고 있다.In the UPnP network system using the UPnP protocol stack, communication between a control point (hereinafter, abbreviated as CP) and a device is defined in six steps as follows.

(1). 디바이스들이 IP 주소를 할당 받는 주소할당(Addressing) 단계(One). Addressing step where devices are assigned IP addresses

(2). CP들이 디바이스의 존재를 알아내는 발견(Discovery) 단계(2). Discovery step where CPs discover the device's presence

(3). CP가 디바이스와 그 디바이스가 지원하는 서비스 정보를 얻어오는 기능설명(Description) 단계(3). Description step in which the CP obtains the device and service information supported by the device

(4). CP가 디바이스의 서비스를 호출하는 제어(Control) 단계(4). Control phase in which the CP calls a device service

(5). 디바이스가 CP로 자신의 상태 변이를 알리는 이벤트(Eventing) 단계(5). Eventing stage in which the device notifies the CP of its state transition

(6). 디바이스가 자신의 상태 및 제어 정보를 보여주는 프레젠테이션(Presentation) 단계(6). Presentation stage in which the device shows its status and control information

따라서, 상기에서 정의된 기능을 이용하면 사용자는 복잡한 네트워크 설정없이 홈 네트워크를 구성하는 것이 가능하다.Thus, by using the functions defined above, the user can configure a home network without complicated network settings.

UPnP 디바이스는 네트워크에 참여하게 되면 자신의 IP 주소를 DHCP(Dynamic Host Configuration Protocol)를 이용하여 받아 오거나 네트워크에 DHCP 서버가 없는 경우 자동 IP 기능을 이용하여 특정 서브넷 안에서 무작위로 IP를 구성하여 로컬 네트워크에서의 중복 사용 여부를 검사한 후에 사용하게 된다. 이를 주소 부여(addressing)라 한다.When a UPnP device joins a network, it receives its IP address using Dynamic Host Configuration Protocol (DHCP) or, if there is no DHCP server in the network, uses the automatic IP function to randomly configure IP within a specific subnet to It is used after checking whether or not duplicate usage of. This is called addressing.

상기 찾기(discovery) 단계는 CP들이 네트워크 안에 있는 UPnP 디바이스를 찾는 과정으로, SSDP(Simple Service Discovery Protocol)를 사용하여 이루어진다.The discovery step is a process in which CPs find UPnP devices in a network, using a simple service discovery protocol (SSDP).

만일, 디바이스가 네트워크에 추가되었을 경우 그 디바이스는 SSDP의 출현(alive) 메시지를 네트워크에 IP 멀티캐스트 기능을 이용하여 전달하며 CP는 상기 출현 메시지를 받아서 디바이스의 존재 여부를 알 수 있게 된다.If the device is added to the network, the device delivers an SSD (alive) message to the network using the IP multicast function and the CP receives the appearance message and can know whether the device exists.

또한, CP가 네트워크에 새로 참여하게 되는 경우 그 CP는 SSDP의 찾기(m-search) 메시지를 네트워크에 멀티캐스트하며 상기 찾기 메시지를 확인한 UPnP 디바이스들은 모두 자신의 정보를 담은 응답 메시지를 CP에게 보내게 된다.In addition, when the CP joins the network newly, the CP multicasts an SSD-search message (m-search) message to the network, and UPnP devices confirming the search message send a response message containing their information to the CP. do.

그리고, 상기에서 CP는 응답 메시지를 확인하고 원하는 경우 디바이스에 관련된 상세한 정보를 디바이스에 요청할 수 있으며 요청을 받은 디바이스는 자신의 정보를 XML 문서로 보내게 된다. 이러한 과정을 디스크립션(description)이라 한다.In addition, the CP checks the response message and, if desired, may request the device for detailed information related to the device, and the received device sends its information as an XML document. This process is called a description.

만일, CP가 임의의 디바이스를 제어하고자 하는 경우 디바이스 디스크립션을 바탕으로 원하는 서비스를 SOAP를 이용하여 디바이스에 보내게 된다. 상기 SOAP은 원격지 함수 호출을 목적으로 HTTP 위에서 XML 기반으로 작성되어진 프로토콜이다.If the CP wants to control an arbitrary device, a desired service is sent to the device using SOAP based on the device description. SOAP is a protocol written in XML over HTTP for the purpose of remote function calls.

마지막으로 디바이스의 이벤트 메시지를 받기 원하는 경우 CP는 디바이스로 해당 이벤트에 대한 가입 요청을 보내게 된다. 가입이 성공하면 디바이스는 GENA를 사용하여 CP로 이벤트 메시지를 전송한다.Finally, if the device wants to receive an event message, the CP sends a subscription request for the event to the device. If the subscription is successful, the device sends an event message to the CP using GENA.

그러나, 현재 UPnP 디바이스 아키텍쳐(device architecture) 1.0 사양은 네트워크 당 하나의 CP(Control Point)를 가정하므로 CP가 다수의 디바이스로 동일한 제어 메시지를 전송하는 경우에도 CP가 각각의 디바이스에 순차적으로 접속하여 1:1 통신을 하여야 하는 문제점이 있다.However, the current UPnP device architecture 1.0 specification assumes one Control Point (CP) per network, so that the CP can access each device sequentially even if the CP transmits the same control message to multiple devices. : 1 There is a problem to communicate.

즉, 현재 UPnP 디바이스 아키텍쳐 1.0 사양에 따르면 제어를 위한 프로토콜은 SOAP/HTTP/TCP를 사용하도록 규정되어 있으므로 다수의 디바이스로 제어 메시지를 동시에 전송하는 것이 불가능하다.That is, according to the current UPnP device architecture 1.0 specification, the protocol for control is defined to use SOAP / HTTP / TCP. Therefore, it is impossible to simultaneously transmit control messages to multiple devices.

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 동일한 제어 메시지를 다수의 디바이스로 동시에 전송하는 프로토콜을 제안함으로써 CP(컨트롤 포인트)가 각각의 디바이스로 접속하여 1:1 명령을 전송하는 번거로움을 줄일 수 있도록 창안한 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법 및 장치를 제공함에 목적이 있다.Therefore, the present invention proposes a protocol for transmitting the same control message to multiple devices at the same time in order to improve the conventional problems, thereby reducing the hassle of CP (control point) accessing each device to transmit 1: 1 commands. An object of the present invention is to provide a method and apparatus for multicasting control messages of a UPnP-based network system.

도1은 일반적인 UPnP 네트워크의 구성도.1 is a block diagram of a general UPnP network.

도2는 UPnP 프로토콜 스택의 구조를 보인 예시도.Figure 2 is an exemplary view showing the structure of the UPnP protocol stack.

도3은 본 발명의 프로토콜 스택의 구조를 보인 예시도.3 is an exemplary view showing the structure of a protocol stack of the present invention.

도4는 본 발명의 실시예에서 컨트롤 포인트(CP)의 구성도.4 is a block diagram of a control point (CP) in an embodiment of the present invention.

도5는 도4에서 전체 리스트 보관부의 구성도.FIG. 5 is a configuration diagram of the entire list storage unit in FIG. 4; FIG.

도6은 도4에서 그룹 리스트 보관부의 구성도.6 is a configuration diagram of a group list storage unit in FIG. 4;

도7은 본 발명의 실시예에서 제어 메시지 멀티캐스트 과정을 보인 동작 순서도.7 is a flowchart illustrating a control message multicast process in an embodiment of the present invention.

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

410 : CP 기능부420 : 어드레스 관리부410: CP function unit 420: address management unit

430 : 전체 리스트 저장부440 : 그룹 리스트 저장부430: Full list storage unit 440: Group list storage unit

본 발명은 상기의 목적을 달성하기 위하여 UPnP 디바이스 아키텍쳐 1.0 사양에 정의된 프로토콜 스택 구조에 있어서, UDP 계층 위에 SOAP/HTTPMU 계층을 포함하여 다수의 디바이스로 동일한 제어 메시지를 동시에 전송하도록 구성함을 특징으로 한다.The present invention is a protocol stack structure defined in the UPnP device architecture 1.0 specification to achieve the above object, characterized in that configured to transmit the same control message to multiple devices at the same time including a SOAP / HTTPMU layer over the UDP layer do.

또한, 본 발명은 상기의 목적을 달성하기 위하여 미디어 서버(MS)로부터 멀티캐스트할 제어 메시지(Content)를 결정하는 단계와, 미디어 서버에서 지원하는 전송 프로토콜 및 데이터 포맷을 획득하는 단계와, 미디어 렌더러가 지원하는 프로토콜 및 데이터 포맷을 획득하는 단계와, 상기에서 획득된 전송 프로토콜과 데이터 포맷을 참조하여 멀티캐스트할 전송 프로토콜 및 데이터 포맷을 결정하고 그 결정된 전송 프로토콜 및 데이터 포맷을 반영하여 다수의 디바이스로 동일한 제어 메시지를 멀티캐스트하는 단계를 수행함을 특징으로 한다.In addition, the present invention is to determine the control message (Content) to be multicast from the media server (MS) in order to achieve the above object, obtaining a transport protocol and data format supported by the media server, the media renderer Acquiring a protocol and a data format supported by the MS; determining a transmission protocol and a data format to multicast with reference to the obtained transmission protocol and data format, and reflecting the determined transmission protocol and data format to a plurality of devices. And multicasting the same control message.

상기의 단계를 달성하기 위하여 본 발명은 UPnP 네트워크 상에 존재하는 다수의 디바이스 리스트를 보관하는 전체 리스트 저장부와, UPnP 네트워크 상에 존재하는 다수의 디바이스들을 동일한 전송 프로토콜과 데이터 포맷을 지원하는 디바이스들별로 그룹핑한 그룹 리스트를 보관하는 그룹 리스트 저장부와, 다수의 디바이스들을 감지하고 제어하는 기능을 수행하는 CP(Control Point) 기능부와, 상기 CP 기능부의 제어에 의해 전체 리스트 또는 그룹 리스트를 참조하여 해당 다수의 디바이스로 제어 메시지를 멀티캐스트하는 어드레스 관리부(Address Manager)를 구비하여 하나의 CP(Control Point)를 구성함을 특징으로 한다.In order to achieve the above steps, the present invention provides a full list storage unit for storing a plurality of device lists existing on a UPnP network, and devices supporting the same transport protocol and data format for multiple devices existing on a UPnP network. A group list storage unit for storing a group list grouped by group, a CP (Control Point) function unit for detecting and controlling a plurality of devices, and an entire list or a group list by control of the CP function unit A control point (CP) is configured by including an address manager for multicasting control messages to a plurality of devices.

상기 제어 메시지는 그룹 경로 설정 구문, 콘텐트 설정 구문(길이, 타입), SOAP 설정 구문을 포함하여 M-POST 방법으로 구성함을 특징으로 한다.The control message is configured by the M-POST method including a group path setting syntax, a content setting syntax (length, type), and a SOAP setting syntax.

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

도3은 본 발명의 실시예를 위한 프로토콜 스택의 구조도로서 이에 도시한 바와 같이, IP를 포함하는 네트워크 계층(Network Layer)과, UDP, TCP를 포함하는 트랜스포트 계층(Transport Layer)과, HTTP, XML, SOAP, SSDP 등의 프로토콜과 GENA와 같은 기술을 포함하는 프리젠테이션/세션 계층(Presentation/Session Layer)과, UPnP 디바이스, 포럼, 사업자 등의 관련 정보를 포함하는 어플리케이션 계층(Application Layer)으로 이루어진 프로토콜 스택 구조를 기반으로 다수의 디바이스로 동일한 제어 메시지를 동시에 전송하도록 UDP 위의 프리젠테이션/세션 계층 상에 SOAP/HTTPMU를 포함하여 구성한다.3 is a structural diagram of a protocol stack for an embodiment of the present invention, as shown here, a network layer including IP, a transport layer including UDP and TCP, HTTP, It is composed of Presentation / Session Layer including protocols such as XML, SOAP, SSDP, and technologies such as GENA, and Application Layer including related information such as UPnP devices, forums and operators. Based on the protocol stack structure, SOAP / HTTPMU is configured on the presentation / session layer over UDP to simultaneously transmit the same control message to multiple devices.

즉, 본 발명은 현재 UPnP 디바이스 아키텍쳐 1.0 사양의 AV 기기에서 미디어 서버(Media Server : 이하, MS라 약칭함)가 미디어 렌더러(Media Renderer : 이하 MR이라 약칭함)로 멀티캐스팅 그룹에 참여를 명령하거나 CM::GetProtocolInfo() 또는 CM::PrepareForconnection과 같은 명령을 모든 미디어 렌더러에게 개별 전송하여 응답(response)을 받는 번거로움을 최소화할 수 있도록 UDP 위에 HTTPMU 그리고 그 HTTPMU 위에 SOAP를 정의함으로써 다수의 디바이스로 동일한 제어 메시지를 멀티캐스트할 수 있도록 하는 것이다.That is, the present invention instructs the media server (hereinafter abbreviated as MS) to join the multicasting group as a media renderer (hereinafter abbreviated as MS) in the AV device of the UPnP device architecture 1.0 specification. Commands like CM :: GetProtocolInfo () or CM :: PrepareForconnection can be sent to all media renderers individually to define multiple devices by defining HTTPMU over UDP and SOAP over that HTTPMU to minimize the hassle of receiving responses. This allows multicasting the same control message.

도4는 본 발명의 실시예에서 제안한 컨트롤 포인트(CP)의 구성도로서 이에 도시한 바와 같이, UPnP 네트워크 상에 존재하는 전체 디바이스의 리스트를 보관하는 전체 리스트 저장부(430)와, UPnP 네트워크 상에 존재하는 다수의 디바이스들을 동일한 전송 프로토콜과 데이터 포맷을 지원하는 디바이스들별로 그룹핑한 그룹 리스트를 보관하는 그룹 리스트 저장부(440)와, UPnP 네트워크 상에 존재하는 다수의 디바이스들을 감지하고 제어하는 기능을 수행하는 CP 기능부(410)와, 상기 CP 기능부(410)의 제어에 의해 상기 전체 리스트 저장부(430) 또는 제2 리스트 저장부(440)에 저장되어 있는 리스트를 참조하여 해당 다수의 디바이스로 제어 메시지를 전송하는 어드레스 관리부(420)를 구비하여 구성한다.4 is a configuration diagram of a control point (CP) proposed in the embodiment of the present invention, as shown in this, a full list storage unit 430 for storing a list of all devices existing on the UPnP network, and UPnP network A group list storage unit 440 that stores a group list grouping a plurality of devices existing in the device according to devices supporting the same transmission protocol and data format, and a function of detecting and controlling a plurality of devices existing in the UPnP network. The CP function unit 410 for performing the operation and the list stored in the entire list storage unit 430 or the second list storage unit 440 under the control of the CP function unit 410, and the plurality of And an address manager 420 for transmitting a control message to the device.

상기 전체 리스트 저장부(430)는 도5의 예시도에 도시한 바와 같이, 전체 디바이스에 대한 path of control URL과 host of control URL : port of control URL을 보관하도록 구성한다.The full list storage unit 430 is configured to store a path of control URL and a host of control URL: port of control URL for all devices, as shown in the exemplary diagram of FIG. 5.

상기 그룹 리스트 저장부(440)는 도6의 예시도에 도시한 바와 같이, 동일한 전송 프로토콜과 데이터 포맷을 가지고 있는 path of control URL과 host of control URL : port control URL을 그룹별로 분류하여 보관하도록 구성한다.The group list storage unit 440 is configured to classify and store a path of control URL and a host of control URL: port control URL having the same transmission protocol and data format, as shown in the example of FIG. 6. do.

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

우선, UPnP 디바이스 아키텍쳐 1.0 사양에서 정의된 CP(Control Point)와 동일한 기능을 수행하는 CP 기능부(410)는 MS의 ContentDirectory::Browse() 또는 ContentDirectory::Search() action을 통해 멀티캐스트할 콘텐트(content)를 결정하며, 이때 홈 네트워크에 콘텐트를 전송하기 위해 MS가 제공하는 전송 프로토콜(transfer protocol)과 데이터 포맷(data format)을 얻는다.First, the CP function unit 410, which performs the same function as the CP (Control Point) defined in the UPnP device architecture 1.0 specification, has content to be multicasted through the ContentDirectory :: Browse () or ContentDirectory :: Search () action of the MS. content is determined, and the transfer protocol and data format provided by the MS for transmitting content to the home network are obtained.

이후, CP 기능부(410)는 MR가 지원하는 프로토콜과 데이터 포맷을 얻는다.Thereafter, the CP function unit 410 obtains a protocol and data format supported by the MR.

이에 따라, CP 기능부(410)는 MS와 MR로부터 획득한 프로토콜과 데이터 포맷을 참조하여 양쪽에서 동일하게 지원하는 프로토콜과 데이터 포맷을 결정한다. 이때, CP 기능부(410)는 전체 리스트 저장부(430)와 그룹 리스트 저장부(440)에 저장되어 있는 값들을 참조하여 동일한 전송 프로토콜과 데이터 포맷을 지원하는 디바이스 그룹을 분류한다.Accordingly, the CP function unit 410 determines the protocol and data format supported by both by referring to the protocol and data format obtained from the MS and MR. In this case, the CP function unit 410 classifies device groups that support the same transmission protocol and data format by referring to the values stored in the entire list storage unit 430 and the group list storage unit 440.

이후, CP 기능부(410)는 전송 프로토콜과 데이터 포맷을 결정하면 해당 그룹에 속한 다수의 디바이스로만 제어 메시지를 멀티캐스트하도록 어드레스 관리부(440)를 제어한다. 상기 어드레스 관리부(440)는 UDP/HTTPMU/SOAP를 이용하여 UPnP 네트워크 상에 존재하는 다수의 디바이스로 동일한 제어 메시지를 멀티캐스트하게 된다.Thereafter, when the CP function unit 410 determines the transmission protocol and the data format, the CP function unit 440 controls the address manager 440 to multicast the control message only to a plurality of devices belonging to the corresponding group. The address manager 440 multicasts the same control message to a plurality of devices existing on the UPnP network using UDP / HTTPMU / SOAP.

또한, CP 기능부(410)는 제어 메시지를 멀티캐스트할 때 도7의 동작 순서도에 도시한 바와 같이, 3종류의 주소 중 하나를 선택하게 된다.In addition, when multicasting a control message, the CP function unit 410 selects one of three types of addresses, as shown in the operation flowchart of FIG.

즉, 현재 UPnP 네트워크 상에 N개의 MR가 존재한다고 가정하면, 1) N개의 MR로 모두 제어 메시지를 전달하는 경우, 2) N개의 MR 중에서 M개의 MR로 제어 메시지를 전달하는 경우, 마지막으로 하나의 MR로 제어 메시지를 전달하는 경우이다.That is, assuming that there are currently N MRs on the UPnP network, 1) when all the control messages are transmitted to N MRs, and 2) when the control messages are transmitted to M MRs among N MRs, one last. This is the case where control message is transmitted to MR.

MS의 콘텐트(content)를 다수의 MR로 동시에 전달하기 위해서 CP 기능부(410)는 각 MR가 제공하는 전송 프로토콜(transfer protocol)과 데이터 포맷(data format)을 알아야 한다. 하지만, 특정 path of control URL과 host of control URL : port of control URL을 사용하는 경우 동일한 콘텐트를 멀티캐스트할 수 없기 때문에 그룹 설정 부분에 "*"을 사용한다. 여기서, *는 특정한 자원(예를 들면, control URL 이나 control URL의 port 부분)이 정해져 있지 않은 부분임을 의미한다.In order to simultaneously deliver the content of the MS to a plurality of MRs, the CP function 410 needs to know a transfer protocol and a data format provided by each MR. However, when using a specific path of control URL and a host of control URL: port of control URL, "*" is used for the group setting part because multicasting of the same content is not possible. Here, * means that a specific resource (for example, a control URL or a port part of a control URL) is not defined.

아래와 같이 M-POST 방법으로 작성된 XML 파일이 CP 기능부(410)로부터 전달받은 어드레스 관리부(420)는 그룹 경로가 "*"으로 설정되어 있음을 확인하여 전체 리스트 저장부(430)에 저장되어 있는 path of control URL과 host of control URL : port control URL을 복사하고 HTTPMU/UDP를 사용하여 UPnP 네트워크 상의 모든디바이스에게 CM::GetProtocolInfo() action을 요청한다.The address management unit 420 received from the CP function unit 410, the XML file created by the M-POST method as described below, confirms that the group path is set to "*" and is stored in the entire list storage unit 430. Copy the path of control URL and the host of control URL: port control URL and request the CM :: GetProtocolInfo () action from all devices on the UPnP network using HTTPMU / UDP.

이후, 각 디바이스로부터 응답(response)가 도착하면 어드레스 관리부(420)는 전송 프로토콜과 데이터 포맷이 동일한 것들을 그룹지어 새로운 path of control URL과 host of control URL : port control URL을 결정하여 각 그룹에 할당한다.Then, when a response arrives from each device, the address manager 420 determines a new path of control URL and a host of control URL: port control URL by grouping those having the same transmission protocol and data format and assigning them to each group. .

예로, 도6의 그룹중 디바이스 1,5,7로 이루어진 첫번째 그룹과 연결을 형성하기 위해 CP 기능부(410)는 전체 리스트 저장부(430)를 검색하여 path of control URL을 AA로, host of control URL : port control URL을 AA'*:2000으로 설정하고 CM::PrepareForconnection action에 대한 요청(request)를 어드레스 관리부(420)로 전달한다.For example, to form a connection with the first group of devices 1, 5, and 7 of FIG. 6, the CP function unit 410 searches the entire list storage unit 430 and sets the path of control URL as AA, and the host of control URL: port Sets the control URL to AA '*: 2000 and transmits a request for the CM :: PrepareForconnection action to the address manager 420.

이에 따라, 어드레스 관리부(420)는 전체 리스트 저장부(430)를 검색하여 AA와 AA':2000에 해당하는 디바이스 1,5,7의 path of control URL과 host of control URL : port of control URL 값을 복사하여 HTTPMU/UDP를 이용하여 멀티캐스트하게된다. 즉, 특정 그룹으로 제어 메시지를 전달하는 경우에도 아래와 같이 M-POST 방법으로 XML 파일을 작성한다.Accordingly, the address manager 420 searches the entire list storage unit 430 to determine the path of control URL and the host of control URL of the devices 1, 5, and 7 corresponding to AA and AA ′: 2000. Copy and multicast using HTTPMU / UDP. In other words, in case of transmitting control message to a specific group, XML file is created by M-POST method as below.

또한, 제어 메시지를 하나의 MR로 보내는 경우 CP 기능부(410)는 UPnP 디바이스 아키텍쳐1.0 사양에 정의된 path of control URL과 host of control URL : port of control URL을 어드레스 관리부(420)로 전달한다. 따라서, 어드레스 관리부(420)는 그룹 리스트 저장부(440)를 검색하여 할당되어진 path of control URL과 host of control URL : port of control URL이 없음을 확인하고 CP 기능부(410)가 전달한 path of control URL과 host of control URL : port of control URL을 HTTP/TCP를 이용하여 해당 디바이스로 전달한다. 이 경우 전달되는 XML 파일은 아래와 같다.In addition, when sending a control message to one MR, the CP function unit 410 transmits a path of control URL and a host of control URL: port of control URL defined in the UPnP device architecture 1.0 specification to the address manager 420. Accordingly, the address manager 420 searches the group list storage 440 to confirm that there is no assigned path of control URL and host of control URL: port of control URL, and then the path of control transmitted by the CP function unit 410. URL and host of control URL: Forward the port of control URL to the device using HTTP / TCP. In this case, the delivered XML file is as follows.

상기에서 상세히 설명한 바와 같이 본 발명은 UPnP 디바이스 아키텍쳐 1.0 사양에 SOAP/HTTPMU/UDP를 포함하여 동일한 제어 메시지를 UPnP 네트워크 상에 존재하는 다수의 디바이스로 동시에 전송할 수 있도록 함으로써 종래 기술에서 각각의 디바이스와 1:1 통신으로 동일한 제어 메시지를 전송하는 번거로움을 제거하여 성능을 향상시킬 수 있는 효과가 있다.As described in detail above, the present invention allows each device and 1 device in the prior art to simultaneously transmit the same control message to multiple devices existing on the UPnP network, including SOAP / HTTPMU / UDP in the UPnP device architecture 1.0 specification. The performance can be improved by eliminating the hassle of transmitting the same control message through the: 1 communication.

Claims (7)

UPnP 기반의 네트워크에 정의된 프로토콜 스택 구조에 있어서,In the protocol stack structure defined in the UPnP-based network, UDP 계층 위에 HTTPMU/SOAP 계층을 포함하여 동일한 제어 메시지를 다수의 디바이스로 동시에 전송하도록 구성함을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법.Method for multicasting control messages in a UPnP-based network system, characterized in that configured to transmit the same control message to multiple devices at the same time including the HTTPMU / SOAP layer on the UDP layer. UPnP 기반의 네트워크 시스템의 메시지 전송 방법에 있어서,In the message transmission method of the UPnP-based network system, 멀티캐스트할 제어 메시지(Content)를 결정하는 제1 단계와,Determining a control message (Content) to be multicasted; 미디어 서버에서 지원하는 전송 프로토콜 및 데이터 포맷을 획득하는 제2 단계와,Obtaining a transmission protocol and a data format supported by the media server; 미디어 렌더러가 지원하는 프로토콜 및 데이터 포맷을 획득하는 제3 단계와,Obtaining a protocol and a data format supported by the media renderer; 상기에서 획득된 전송 프로토콜과 데이터 포맷을 참조하여 멀티캐스트할 전송 프로토콜 및 데이터 포맷을 결정하고 그 결정된 전송 프로토콜 및 데이터 포맷을 반영하여 제어 메시지를 다수의 디바이스로 멀티캐스트하는 제4 단계를 수행함을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법.Determining a transmission protocol and a data format to multicast with reference to the obtained transmission protocol and data format, and performing a fourth step of multicasting a control message to a plurality of devices by reflecting the determined transmission protocol and data format A control message multicast method for UPnP based network systems. 제2항에 있어서, 제4 단계는The method of claim 2, wherein the fourth step is UPnP 네트워크 상에 존재하는 전체 디바이스에 해당하는 각각의 경로 값을 반영하여 제어 메시지를 멀티캐스트하는 과정과,Multicasting a control message by reflecting each path value corresponding to all devices present on the UPnP network; UPnP 네트워크 상에 존재하는 전체 디바이스 중 동일한 전송 프로토콜과 데이터 포맷을 가지는 그룹의 디바이스를 확인하고 해당 디바이스에 해당하는 경로의 값을 반영하여 해당 그룹의 디바이스들로만 제어 메시지를 멀티캐스트하는 과정으로 이루어짐을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법.The process consists of identifying the devices in the group with the same transmission protocol and data format among all devices on the UPnP network and multicasting the control message only to the devices in the group by reflecting the path value corresponding to the device. A control message multicast method for UPnP based network systems. 제2항에 있어서, 제4 단계는The method of claim 2, wherein the fourth step is UPnP 네트워크 상에 존재하는 각각의 디바이스에 해당하는 경로의 값을 참조하여 전체 디바이스로 제어 메시지를 멀티캐스트하는 과정과,Multicasting a control message to all devices by referring to a value of a path corresponding to each device existing on the UPnP network; 상기 멀티캐스트된 제어 메시지에 대한 응답이 있으면 동일한 전송 프로토콜과 데이터 포맷을 가지는 그룹의 디바이스를 확인하고 해당 디바이스에 해당하는 경로의 값을 참조하여 해당 그룹의 디바이스들로만 제어 메시지를 멀티캐스트하는 과정으로 이루어짐을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법.If there is a response to the multicasted control message, it is a process of identifying a device of a group having the same transport protocol and data format and multicasting the control message only to the devices of the group by referring to a path value corresponding to the device. A control message multicast method of a UPnP based network system, characterized in that the. 제2항 내지 제4항 중 어느 한항에 있어서, 멀티캐스트 방식은The method according to any one of claims 2 to 4, wherein the multicast scheme is SOAP/HTTPMU/UDP를 이용하는 것을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 방법.A control message multicast method of a UPnP based network system, characterized by using SOAP / HTTPMU / UDP. CP(Control Point), 미디어 서버(Media Server) 및 미디어 렌더러(MediaRenderer)를 구비하는 UPnP 기반의 네트워크 시스템에 있어서,In the UPnP-based network system having a control point (CP), a media server (Media Server) and a media renderer (MediaRenderer), 상기 CP는CP is UPnP 네트워크 상에 존재하는 다수의 디바이스 리스트를 보관하는 전체 리스트 저장부와,An entire list storage unit for storing a plurality of device lists existing on the UPnP network, UPnP 네트워크 상에 존재하는 다수의 디바이스들을 동일한 전송 프로토콜과 데이터 포맷을 지원하는 디바이스들별로 그룹핑한 그룹 리스트를 보관하는 그룹 리스트 저장부와,A group list storage unit for storing a group list grouping a plurality of devices existing in the UPnP network by devices supporting the same transport protocol and data format; 다수의 디바이스들을 감지하고 제어하는 기능을 수행하는 CP(Control Point) 기능부와,CP (Control Point) function to perform a function of detecting and controlling a plurality of devices, 상기 CP 기능부의 제어에 의해 전체 리스트 또는 그룹 리스트를 참조하여 해당 다수의 디바이스로 제어 메시지를 멀티캐스트하는 어드레스 관리부(Address Manager)를 구비하여 구성함을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 장치.Multi-control message of UPnP-based network system, characterized by comprising an address manager for multicasting the control message to a plurality of devices by referring to the entire list or the group list by the control of the CP function unit Cast device. 제6항에 있어서, 제어 메시지는The method of claim 6 wherein the control message is 그룹 경로 설정 구문, 콘텐트 설정 구문(길이, 타입), SOAP 설정 구문을 포함하여 M-POST 방법으로 구성함을 특징으로 하는 UPnP 기반의 네트워크 시스템의 제어 메시지 멀티캐스트 장치.Control message multicast device of UPnP-based network system, comprising M-POST method including group path setting syntax, content setting syntax (length, type) and SOAP setting syntax.
KR10-2002-0066658A 2002-10-30 2002-10-30 Control message multicasting method and apparatus for universal plug and play network system KR100455123B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0066658A KR100455123B1 (en) 2002-10-30 2002-10-30 Control message multicasting method and apparatus for universal plug and play network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0066658A KR100455123B1 (en) 2002-10-30 2002-10-30 Control message multicasting method and apparatus for universal plug and play network system

Publications (2)

Publication Number Publication Date
KR20040039039A true KR20040039039A (en) 2004-05-10
KR100455123B1 KR100455123B1 (en) 2004-11-06

Family

ID=37336889

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0066658A KR100455123B1 (en) 2002-10-30 2002-10-30 Control message multicasting method and apparatus for universal plug and play network system

Country Status (1)

Country Link
KR (1) KR100455123B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006049399A1 (en) * 2004-11-05 2006-05-11 Hongik Jeon Propulsion device
KR100750135B1 (en) * 2005-10-25 2007-08-21 삼성전자주식회사 Method and system for recovering an interruption of network connection caused by IP address change of UPnP device
KR100949020B1 (en) * 2003-09-22 2010-03-23 엘지전자 주식회사 Service method and system for multicast streaming
US8843611B2 (en) 2005-07-09 2014-09-23 Samsung Electronics Co., Ltd. Method for transmitting WS message to multiple receiving nodes and apparatus for processing WS message

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100791298B1 (en) 2006-05-19 2008-01-04 삼성전자주식회사 Apparatus and method for controlling device of home network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618764B1 (en) * 1999-06-25 2003-09-09 Koninklijke Philips Electronics N.V. Method for enabling interaction between two home networks of different software architectures
KR20030095897A (en) * 2002-06-15 2003-12-24 엘지전자 주식회사 Synchronizing method for universal plug and play network
KR20040005503A (en) * 2002-07-10 2004-01-16 엘지전자 주식회사 Universal function distributed processing system for home network
KR100498284B1 (en) * 2002-08-06 2005-07-01 엘지전자 주식회사 Synchronizing system for universal plug and play network and method thereof
KR100906677B1 (en) * 2002-09-03 2009-07-08 엘지전자 주식회사 Secure remote access system and method for universal plug and play

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100949020B1 (en) * 2003-09-22 2010-03-23 엘지전자 주식회사 Service method and system for multicast streaming
WO2006049399A1 (en) * 2004-11-05 2006-05-11 Hongik Jeon Propulsion device
US8843611B2 (en) 2005-07-09 2014-09-23 Samsung Electronics Co., Ltd. Method for transmitting WS message to multiple receiving nodes and apparatus for processing WS message
KR100750135B1 (en) * 2005-10-25 2007-08-21 삼성전자주식회사 Method and system for recovering an interruption of network connection caused by IP address change of UPnP device
US9419936B2 (en) 2005-10-25 2016-08-16 Samsung Electronics Co., Ltd. Method and apparatus for recovering interruption of network connection caused by IP address change of universal plug and play (UPnP) device

Also Published As

Publication number Publication date
KR100455123B1 (en) 2004-11-06

Similar Documents

Publication Publication Date Title
EP2345208B1 (en) Method for resolving ip address collision in remote access service
US7292859B2 (en) Apparatus and method for managing device information through networks
US9363099B2 (en) UPnP/DLNA with RADA hive
EP2273722A1 (en) Upnp device for preventing network address conflict in consideration of remote access and method thereof
CN106254407B (en) Method and device for sharing home network service
US20030079001A1 (en) Methods and arrangements for configuring functional networks
KR20050098926A (en) Method and system for reacting to a change of a upnp device
WO2013107175A1 (en) Method and apparatus for controlling home network device
KR20050040166A (en) Proxy for controlling device of home-network and method thereof
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
JP2004320741A (en) Apparatus and method for connecting independent networks
KR100498284B1 (en) Synchronizing system for universal plug and play network and method thereof
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
US7617316B2 (en) Network connection device, network system and method for avoiding duplication of proxy function
US20070206596A1 (en) Advertisement search agent
US9083545B2 (en) Method and apparatus for managing resources of a universal plug and play device based on a connection status of a control point
KR20040055446A (en) Control point and cognition method among control points
Kim et al. Internet home network electrical appliance control on the internet with the UPnP expansion
US9338022B2 (en) Method of processing action, method of controlling controlled device, controlled device, and control point
KR100631515B1 (en) Device Control Method in JPNP Based Network
KR20040055456A (en) Information exchanging method between multiple control point based universal plug and play
KR20050035038A (en) Method for setting internet protocol address for network based universal plug and play
US20080320491A1 (en) Method of receiving/transmitting event message, controlled device, and controlled point
KR100455125B1 (en) Control point function destribution system on universal plug and play network

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: 20090929

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee