KR100699634B1 - Method for managing control rights for UPnP device - Google Patents

Method for managing control rights for UPnP device Download PDF

Info

Publication number
KR100699634B1
KR100699634B1 KR1020050015756A KR20050015756A KR100699634B1 KR 100699634 B1 KR100699634 B1 KR 100699634B1 KR 1020050015756 A KR1020050015756 A KR 1020050015756A KR 20050015756 A KR20050015756 A KR 20050015756A KR 100699634 B1 KR100699634 B1 KR 100699634B1
Authority
KR
South Korea
Prior art keywords
action
control right
upnp device
service
control
Prior art date
Application number
KR1020050015756A
Other languages
Korean (ko)
Other versions
KR20060094614A (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 KR1020050015756A priority Critical patent/KR100699634B1/en
Publication of KR20060094614A publication Critical patent/KR20060094614A/en
Application granted granted Critical
Publication of KR100699634B1 publication Critical patent/KR100699634B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3234Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

본 발명은 UPnP(Universal Plug and Play) 디바이스에 대한 제어권 관리 방법에 관한 것이다. 본 발명은, UPnP 디바이스의 배타적 사용에 관한 제어권의 설정 여부를 확인하는 단계; 상기 확인 결과 상기 UPnP 디바이스에 대한 제어권을 설정한 컨트롤 포인트(CP)가 없는 경우, 상기 UPnP 디바이스에 대한 제어권을 설정하는 단계; 및 상기 UPnP 디바이스에 대해 설정된 제어권을 해제하는 단계를 포함하여 이루어진다. 상기 제어권은 UPnP 디바이스가 제공하는 서비스 단위로 설정되는 것을 특징으로 한다. 또한, 본 발명은, 상기 UPnP 디바이스의 특정 서비스에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 얻어 상기 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 더 포함하여 이루어질 수도 있다. 따라서, 본 발명에는 사용자는 현재 자신이 통제하고 있는 디바이스의 서비스를 다른 사용자가 제어하지 못하도록 하는 효과가 있다.The present invention relates to a control right management method for a UPnP (Universal Plug and Play) device. The present invention includes the steps of checking whether or not to set the control right for the exclusive use of the UPnP device; Setting a control right for the UPnP device when there is no control point (CP) that sets the control right for the UPnP device as a result of the checking; And releasing the control right set for the UPnP device. The control right is set in units of service provided by the UPnP device. In addition, the present invention may further comprise the step of obtaining at least one action list which can be called regardless of the control right for the specific service of the UPnP device and calling at least one action included in the action list. Therefore, the present invention has the effect of preventing other users from controlling the service of the device currently controlled by the user.

UPnP, CP, 디바이스, 서비스, 제어권, 상태 변수, 액션 UPnP, CP, Device, Service, Control, Status Variable, Action

Description

유피엔피 디바이스에 대한 제어권 관리 방법{ Method for managing control rights for UPnP device }Method for managing control rights for UPnP device}

도 1은 본 발명에 따라 CP가 디바이스의 서비스에 대한 제어권을 획득하고 해제하는 과정을 도시한 것이고,1 illustrates a process in which a CP acquires and releases control over a service of a device according to the present invention;

도 2는 본 발명에서 정의한 ControlRight의 상태 변수를 정의한 테이블이고,2 is a table defining the state variables of the ControlRight defined in the present invention,

도 3은 본 발명에서 정의한 ControlRight의 액션들을 정의한 테이블이고,3 is a table defining the actions of the ControlRight defined in the present invention,

도 4는 본 발명에 따른 GetControlRights 액션의 변수를 정의한 테이블이고,4 is a table defining variables of the GetControlRights action according to the present invention;

도 5는 본 발명에 따른 SetControlRights 액션의 변수를 정의한 테이블이고,5 is a table defining variables of the SetControlRights action according to the present invention;

도 6은 본 발명에 따른 ReleaseControlRights 액션의 변수를 정의한 테이블이고,6 is a table defining variables of the ReleaseControlRights action according to the present invention;

도 7은 본 발명에 따른 GetControlIndependentVariableLists 액션의 변수를 정의한 테이블이다.7 is a table defining variables of the GetControlIndependentVariableLists action according to the present invention.

본 발명은 UPnP(Universal Plug and Play) 디바이스에 대한 제어권 관리 방법에 관한 것으로, 좀더 상세하게는 특정 컨트롤 포인트(CP : Control Point)에 의해 제어되고 있는 UPnP 디바이스가 다른 CP에 의해 제어되지 않도록 하는 방법에 관한 것이다.The present invention relates to a method for managing a control right for a Universal Plug and Play (UPnP) device, and more particularly, a method in which a UPnP device controlled by a specific control point (CP) is not controlled by another CP. It is about.

UPnP(Universal Plug and Play)는 정보 가전이나, 무선 기기, PC 등 모든 종류의 기기들을 연결하는 네트워크 구조이다. 이것은 홈이나 작은 사무실과 같이 관리자가 없는 네트워크에서 사용자의 작업없이 쉽게 표준화된 방법으로 기기간의 연결이나 인터넷으로의 연결을 제공한다.UPnP (Universal Plug and Play) is a network structure that connects all kinds of devices such as information appliances, wireless devices, and PCs. This provides easy connection between devices or the Internet in a standardized way without user intervention on a non-administrator network such as a home or small office.

UPnP는 기존 PC에서 디바이스를 제어하던 플러그 앤 플레이(Plug and Play) 개념을 확장하여 사용자에게 어떤 작업도 요구하지 않고 웹 프로토콜을 사용하여 기기를 네트워크에 접속시킨다. 따라서, 기기는 언제든지 네트워크에 접속할 수 있고 IP 주소나 기능 등을 네트워크에 연결된 다른 기기들에게 알려줄 수 있다. 또한 네트워크에서 빠져 나올 때도 다른 기기에 영향을 주지 않고 연결을 해지할 수 있다.UPnP extends the concept of Plug and Play, which used to control devices from traditional PCs, to connect devices to the network using Web protocols without requiring any user intervention. Thus, the device can access the network at any time and can inform other devices connected to the network of the IP address or function. You can also disconnect from the network without affecting other devices.

UPnP 네트워크는 서비스를 제공해주는 디바이스들과 디바이스들을 제어하는 CP로 구성된다. 서비스를 제공하는 디바이스는 크게 멀티미디어 데이터 서비스를 수행하는 UPnP AV(Audio/Video) 디바이스들과 일반 디바이스(UPnP Basic Device)로 나눌 수 있다. 사용자는 CP가 제공해주는 인터페이스들을 통하여 각종 디바이스들을 찾아내고(discovery), 그 디바이스들이 무엇을 서비스하는지 알아내서(description), 이들을 제어(control)하고 이벤트를 받게 된다(eventing).The UPnP network is composed of devices providing services and CPs controlling the devices. Devices providing a service may be classified into UPnP audio / video (AV) devices and multimedia devices (UPnP Basic Devices) that perform multimedia data services. The user discovers various devices through the interfaces provided by the CP, discovers what those devices serve, controls them, and receives events.

UPnP를 이용하면, 따로 네트워크 설정이나 연결할 필요 없고, 자동으로 디바이스들이 발견되어 디바이스 정보를 받는다. 또한, 네트워크에 연결되어 있는 CP라면 디바이스들을 제어할 수 있게 된다. 하지만, 지금까지의 UPnP 기술을 그대로 적용한다면, 특정 디바이스에 대하여 A라는 CP가 제어를 하고 있는 상황에서도 B라는 CP가 상기 특정 디바이스를 중복 제어를 할 수 있는 상황이 발생할 수 있다.With UPnP, there is no need for network configuration or connection, and devices are automatically found and receive device information. In addition, if the CP is connected to the network it is possible to control the devices. However, if the conventional UPnP technology is applied as it is, a situation in which a CP called B may control the specific device may be duplicated even when a CP called A is controlled for a specific device.

따라서, 본 발명은 상기와 같은 실정을 감안하여 창작된 것으로서, 본 발명의 목적은 UPnP 디바이스가 동시에 복수의 CP에 의해 중복 제어되는 것을 방지하는 방법을 제공하는데 있다.Accordingly, the present invention has been made in view of the above circumstances, and an object of the present invention is to provide a method of preventing overlapping control of a UPnP device by a plurality of CPs at the same time.

또한, 본 발명의 다른 목적은 UPnP 디바이스를 하나의 CP가 독점할 수 있도록 하는 방법을 제공하는데 있다.Another object of the present invention is to provide a method for allowing one CP to monopolize a UPnP device.

상기한 목적을 달성하기 위해 본 발명의 일 실시예에 따른 UPnP 디바이스에 대한 제어권 관리 방법은, UPnP 디바이스의 배타적 사용에 관한 제어권의 설정 여 부를 확인하는 단계; 상기 확인 결과 상기 UPnP 디바이스에 대한 제어권을 설정한 컨트롤 포인트(CP)가 없는 경우, 상기 UPnP 디바이스에 대한 제어권을 설정하는 단계; 및 상기 UPnP 디바이스에 대해 설정된 제어권을 해제하는 단계를 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, according to an embodiment of the present invention, a control right management method for a UPnP device includes: checking whether a control right is set for exclusive use of the UPnP device; Setting a control right for the UPnP device when there is no control point (CP) that sets the control right for the UPnP device as a result of the checking; And releasing the control right set for the UPnP device.

UPnP 디바이스에 대한 제어권은 UPnP 디바이스가 제공하는 서비스 단위로 설정되는 것을 특징으로 한다.The control right for the UPnP device may be set in a service unit provided by the UPnP device.

또한, 상기 실시예는, 상기 UPnP 디바이스에 대한 제어권을 설정한 상태에서 상기 UPnP 디바이스가 제공하는 서비스를 이용하는 단계를 더 포함하여 이루어지는 것을 특징으로 한다. 또한, 상기 실시예는, 상기 UPnP 디바이스의 특정 서비스에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 얻어 상기 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 더 포함하여 이루어질 수도 있다.The embodiment may further include using a service provided by the UPnP device while setting a control right for the UPnP device. In addition, the embodiment may further comprise the step of obtaining at least one action list that can be called regardless of the control right for the specific service of the UPnP device and calling at least one action included in the action list.

또한, 본 발명의 다른 실시예에 따른 UPnP 디바이스에 대한 제어권 관리 방법은은, UPnP 디바이스의 특정 서비스에 대한 배타적 사용에 관한 제어권의 설정 여부를 묻는 제 1 액션을 호출하는 단계; 상기 UPnP 디바이스로부터 상기 특정 서비스에 대한 제어권이 설정되지 않았다는 응답을 수신하는 경우, 상기 특정 서비스에 대한 제어권의 설정을 요청하는 제 2 액션을 호출하는 단계; 상기 UPnP 디바이스의 상기 특정 서비스에 대한 제어권을 설정한 상태에서, 상기 UPnP 디바이스의 상기 특정 서비스를 이용하는 단계; 및 상기 특정 서비스에 대해 설정한 제어권의 해제를 요청하는 제 3 액션을 호출하는 단계를 포함하여 이루어지는 것을 특징으로 한다.Further, a control right management method for a UPnP device according to another embodiment of the present invention, the method comprising: calling a first action asking whether to set the control right for the exclusive use of a specific service of the UPnP device; In response to the response indicating that the control right for the specific service is not set from the UPnP device, calling a second action requesting setting of the control right for the specific service; Using the specific service of the UPnP device while setting a control right for the specific service of the UPnP device; And calling a third action for requesting release of the control right set for the specific service.

상기 다른 실시예는, 상기 UPnP 디바이스의 특정 서비스에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 요청하는 제 4 액션을 호출하는 단계; 및 상기 UPnP 디바이스로부터 수신한 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 더 포함하여 이루어질 수 있다.In another embodiment, the method may further include: calling a fourth action for requesting an action list capable of being called regardless of a control right for a specific service of the UPnP device; And calling at least one action included in the action list received from the UPnP device.

상기 제 1 액션, 제 2 액션, 제 3 액션, 및 제 4 액션은 서비스 타입을 입력 변수로 하고, 상기 제 2 액션과 제 3 액션은 CP 자신의 식별자를 추가 입력 변수로 하며, UPnP 디바이스는, 상기 제 1 액션에 대해서 상기 서비스 타입에 대한 제어권을 설정한 CP의 식별자를 제어권이 설정되지 않은 경우 '0'을, 상기 제 2 액션에 대해서 상기 서비스 타입에 대한 제어권이 설정된 경우 'Accept' 메시지를 그렇지 않은 경우 'Deny' 메시지를, 상기 제 3 액션에 대해서 상기 서비스 타입에 대한 제어권의 해제 성공 여부를 나타내는 메시지를, 상기 CP에 전송하는 것을 특징으로 한다.The first action, the second action, the third action, and the fourth action use the service type as an input variable, and the second action and the third action use the CP own identifier as an additional input variable, and the UPnP device If the control right is not set to the identifier of the CP that set the control right for the service type for the first action '0', and if the control right for the service type is set for the second action 'Accept' message Otherwise, a 'Deny' message is transmitted to the CP, indicating a successful release of the control right for the service type with respect to the third action.

이하, 본 발명의 바람직한 실시예에 대해 첨부 도면을 참조하여 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

지금까지 UPnP 서비스는 네트워크에 연결되어 있는 CP라면 다른 CP가 제어하고 있는 디바이스에 대해서도 제어할 수 있는 권한이 있었다. 이는 디바이스의 제어권에 관한 액션(Action)이 정의되어 있지 않기 때문이다.Up to now, UPnP service has the authority to control the device which is controlled by other CP if the CP is connected to the network. This is because an action related to the control right of the device is not defined.

따라서, 본 발명에서는 UPnP 디바이스의 제어권을 독점함으로써 자신이 디바 이스를 제어하는 경우에 다른 CP가 제어할 수 없게 하는 방안을 제시한다.Accordingly, the present invention proposes a method in which another CP cannot control the device when the device controls the device by monopolizing the control right of the UPnP device.

이를 위해 본 발명에서는, 제어권에 관한 서비스를 새로 제안하고, 제어권 관련 서비스가 동작하기 위해 필요한 액션과 상태 변수(State Variables) 등을 정의하고, 제어권을 설정하고 해제하는 과정을 제시한다.To this end, the present invention proposes a new service related to the control right, defines the actions and state variables required to operate the control right related service, and proposes a process of setting and releasing the control right.

지금까지의 UPnP 시나리오에서는 CP가 UPnP 디바이스에 대해 액션을 호출하고, UPnP 장치는 액션에 응답하는 방식으로 CP에 그 결과를 알려준다. 그런데 이 과정에서 어떤 CP가 액션을 취한 디바이스에 대해서도 다른 CP가 액션을 취할 수 있다. 예를 들어 어떤 렌더러(Renderer)에 대해 한 CP가 동영상 재생 액션을 요청하여 렌더러가 동영상을 재생하고 있을 때, 다른 CP가 동일한 렌더러에 대해 재생 멈춤 요청을 수행할 수 있게 된다. 이는 이미 렌더러를 통해 동영상을 시청하고 있는 사용자에 대해 서비스가 보장되지 않음을 의미한다.In the UPnP scenario so far, the CP calls an action on the UPnP device, and the UPnP device informs the CP of the result in a response to the action. However, in this process, another CP may take action on a device on which one CP takes action. For example, when one CP requests a video play action for a renderer and the renderer is playing a video, another CP may perform a play stop request for the same renderer. This means that the service is not guaranteed for the user who is already watching the video through the renderer.

이와 같은 현상을 막기 위하여 본 발명에서는, UPnP 네트워크에서 디바이스에 대하여 제어권을 소유하고, 제어권을 소유하는 동안은 다른 CP에게 제어권을 주지 않고 독점할 수 있는 방법을 제시한다. 이를 위해 ControlRights 서비스를 정의한다. ControlRights 서비스 타입은 다음과 같이 정의할 수 있다.In order to prevent such a phenomenon, the present invention provides a method of possessing control over a device in a UPnP network and monopolizing the control without giving control to another CP. To do this, define a ControlRights service. The ControlRights service type can be defined as follows:

urn:schemas-upnp-org:service:ControlRights:1urn: schemas-upnp-org: service: ControlRights: 1

도 1은 전체적인 ControlRights(CR) 서비스에 대한 CP와 디바이스간의 상호 작용을 보여주고 있다.Figure 1 illustrates the interaction between the CP and the device for the overall ControlRights (CR) service.

첫 단계로 CP는 자신이 제어하려하는 디바이스에 대하여 GetControlRights() 액션을 호출하고(S10), 상기 디바이스는 각 서비스 타입에 대하여 제어하고 있는 CP의 UUID(Universally Unique IDentifier)를 상기 GetControlRights() 액션을 호출한 CP에 전송하여 응답한다(S11). 만약 CP UUID 값이 0이라면, 현재 그 디바이스의 서비스에 대하여 제어하고 있는 CP가 없다는 것, 즉 CP가 이 디바이스에 대하여 제어권을 가져올 수 있다는 것을 의미한다. CP는 디바이스의 제어권을 갖기 위하여 각 서비스 타입별로 GetControlRights() 액션을 호출하여 현재 서비스 제어권을 갖고 있는 CP를 알아 본다.In the first step, the CP calls a GetControlRights () action for a device to be controlled by the CP (S10), and the device executes the GetControlRights () action of the universally unique ID (UUID) of the CP being controlled for each service type. Respond by transmitting to the called CP (S11). If the CP UUID value is 0, it means that there is no CP currently controlling the service of the device, that is, the CP can take control over this device. The CP calls the GetControlRights () action for each service type to obtain the control of the device, and finds the CP currently having the service control.

만약 디바이스에 대해 제어하고 있는 CP가 없다는 응답을 받은 경우, CP는 그 디바이스에 대해 제어권을 갖기를 원한다는 SetControlRights() 액션을 호출한다(S12). 이 때 GetControlRights() 액션과 마찬가지로 원하는 서비스 타입에 대하여 각각 SetControlRights() 액션을 호출한다. 이에 대한 응답으로 디바이스는 Accept나 Deny 메시지를 보낸다(S13). Deny 응답을 보내는 경우는 UPnP 보안(Security) 방침에 따라 그 CP가 제어권을 갖을 수 없는 경우이거나 또는 이미 다른 CP가 제어권을 갖고 있는 경우에 해당한다.If the CP receives a response indicating that there is no CP controlling the device, the CP calls SetControlRights () action indicating that it wants to have control over the device (S12). At this time, like the GetControlRights () action, call SetControlRights () action for each desired service type. In response, the device sends an Accept or Deny message (S13). The Deny response is sent when the CP cannot take control according to the UPnP Security policy or when another CP already has control.

마지막으로 CP가 그 디바이스에 대한 제어가 끝나서 제어권을 놓아주고 싶을 때 ReleaseControlRights() 액션을 호출한다(S20). 이에 대한 응답으로 디바이스는 그 액션이 잘 수행되었는지를 나타내는 메시지를 보내준다(S21).Finally, when the CP ends the control of the device and wants to release control, the ReleaseControlRights () action is called (S20). In response, the device sends a message indicating whether the action was performed well (S21).

디바이스가 이미 다른 CP에게 제어권이 주어져 있을 때, 특정 CP는 그 디바이스를 제어하기 위하여 다른 CP가 언제 제어권을 놓아주는지 알고 싶어한다. 이를 위해 주기적으로 폴링(Polling)하는 방법보다는 CR 서비스에 대하여 이벤트 예 약 구독(Event Subscription)을 해 놓음으로써 디바이스의 제어권에 대한 상태를 파악할 수 있다.When a device is already given control to another CP, the specific CP wants to know when the other CP releases control to control the device. For this purpose, it is possible to grasp the status of the control of the device by providing an event subscription to the CR service rather than polling periodically.

이와 같은 서비스를 제공하기 위하여 필요한 액션들과 상태 변수들 등을 다음과 같이 정의한다.Actions and state variables necessary to provide such a service are defined as follows.

도 2는 CR의 상태 변수를 정의한 테이블이다.2 is a table defining state variables of the CR.

A_ARG_TYPE_CP_UUID는, CP를 식별할 수 있는 UUID를 나타내는 변수로서, Get ControlRights, SetControlRights, ReleaseControlRights 세 액션의 인자로 사용된다.A_ARG_TYPE_CP_UUID is a variable representing a UUID for identifying a CP, and is used as an argument of three actions: Get ControlRights, SetControlRights, and ReleaseControlRights.

A_ARG_TYPE_ServiceType은, 디바이스의 서비스 타입을 나타내는 변수로서, 그 디바이스에 대해 제어권을 주거나 받을 때 각 서비스 타입마다 액션이 수행된다. 예를 들면, 미디어 렌더러에 대해서 전체 제어권을 갖고자 한다면, CMGR(ConnectionManagement Service), AVT(AVTransport Service), RCS(RenderingControl Service) 등의 서비스에 대하여 제어권을 요청하는 액션을 각각 수행해야 한다.A_ARG_TYPE_ServiceType is a variable representing a service type of a device, and actions are performed for each service type when a control right is given or received for the device. For example, if you want to have full control over the media renderer, you must perform actions to request control for services such as CMGR (ConnectionManagement Service), AVT (AVTransport Service), and RCS (Rendering Control Service).

A_ARG_TYPE_Result는 SetControlRights, ReleaseControlRights 액션에 대한 응답으로 이 액션들이 제대로 수행되었는지를 나타내는 변수이다.A_ARG_TYPE_Result is a variable that indicates whether these actions were performed correctly in response to the SetControlRights and ReleaseControlRights actions.

ControlIndependentActionLists는 제어권과 무관하게 어느 CP나 호출이 가능한 액션 리스트를 나타낸다. 이는 GetControlIndependentActionLists 액션의 인자로 사용된다.ControlIndependentActionLists represents action lists that can be called by any CP regardless of control. This is used as an argument to the GetControlIndependentActionLists action.

도 3은 CR의 액션을 정의한 테이블이다. CR 서비스의 액션으로는 GetControlRights, SetControlRights, ReleaseControlRights, GetControlIndependentActionLists 가 정의되어 있다. 이 중 GetControlRights, SetControlRights, ReleaseControlRights 액션은 필수적으로 필요한 액션이고, 마지막 GetControlIndependentActionLists 액션은 부가적으로 정의한 액션이다.3 is a table defining the actions of the CR. The actions of the CR service are defined as GetControlRights, SetControlRights, ReleaseControlRights, and GetControlIndependentActionLists. Among these, the GetControlRights, SetControlRights, and ReleaseControlRights actions are necessary actions, and the last GetControlIndependentActionLists action is an additionally defined action.

GetControlRights()는 디바이스의 특정 서비스 타입에 대하여 현재 제어권을 갖고 있는 CP를 알려주는 액션이다. 도 4는 이 액션의 인자를 나타내는데, 제어권의 소유를 알고 싶은 서비스를 나타내는 서비스 타입과 그 서비스에 대해 제어권을 갖고 있는 CP를 나타내는 CPUUID로 구성된다.GetControlRights () is an action that tells the CPs that currently have control over a particular service type of the device. Fig. 4 shows the argument of this action, which is composed of a service type indicating a service for which ownership of control rights is desired and a CPUUID indicating a CP having control rights for the service.

SetControlRights()는 디바이스의 특정 서비스 타입에 대해 제어권을 요청하는 액션이다. 도 5는 이 액션의 인자를 나타내는데, 디바이스의 서비스를 나타내는 서비스 타입과 현재 이 액션을 요청하는 CP를 나타내는 CPUUID를 인자로 하여 액션을 호출한다. 이에 대해 디바이스는 액션이 제대로 수행되었는지 결과(Result) 값을 CP에 알려준다.SetControlRights () is an action for requesting control of a specific service type of a device. Fig. 5 shows the argument of this action, which invokes the action with the service type indicating the service of the device and the CPUUID indicating the CP currently requesting this action. In response, the device informs the CP of the result value of whether the action was performed properly.

ReleaseControlRights()는 디바이스의 특정 서비스 타입에 대하여 제어권을 놓아주는 액션이다. 도 6은 이 액션의 인자를 나타내는데, SetControlRights()의 인자와 동일하다.ReleaseControlRights () is an action that releases control over a particular service type of the device. 6 shows the arguments of this action, which are the same as the arguments of SetControlRights ().

GetControlIndependentActionLists()는 디바이스의 특정 서비스 타입에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 얻어오는 액션이다. 예를 들어 미디어 렌더러의 경우, GetVolume, GetMute, GetBrightness 등과 같은 액션은, 어떤 CP에 의해 미디어 렌더러가 제어되고 있는 경우에도 다른 CP가 호출해도 상관이 없는 액션들이다. 즉, 디바이스의 정보를 얻어오는 등의 제어권과 무관하게 호출하여도 괜찮은 액션 리스트를 GetControlindependentAcitonList()를 통하여 얻어올 수 있다. 이를 이용하여 제어권이 다른 CP에 있는 경우에도 몇 가지 액션은 호출 가능하게 설정할 수 있다. 이는 CR 서비스에 필수적으로 필요한 것은 아니기 때문에 필수가 아닌 부가적인 액션으로 정의하였다.GetControlIndependentActionLists () is an action that gets a list of actions that can be called without regard to control over a specific service type of the device. For example, in the case of a media renderer, actions such as GetVolume, GetMute, and GetBrightness are actions that other CPs may call even when the media renderer is controlled by a CP. That is, an action list that can be called regardless of the control right such as obtaining device information can be obtained through GetControlindependentAcitonList (). By using this, some actions can be set to be callable even when the control right is in another CP. This is defined as an additional action that is not required because it is not necessary for the CR service.

도 7은 이 액션의 인자를 나타내는데, ServiceType에 대해 제어권과 무관하게 호출 가능한 액션 리스트를 나타내는 ControlIndependentActionLists를 결과값으로 보내준다.Figure 7 shows the arguments for this action, which returns ControlIndependentActionLists representing the list of actions that can be invoked regardless of control over the ServiceType.

이상, 전술한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것으로, 당업자라면 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서 또 다른 다양한 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.As described above, preferred embodiments of the present invention have been disclosed for the purpose of illustration, and those skilled in the art can improve, change, and further various embodiments within the technical spirit and the technical scope of the present invention disclosed in the appended claims. Replacement or addition may be possible.

이상에서와 같이 본 발명에는 UPnP 디바이스의 제어권을 관리할 수 있는 방법을 제시하였다. 이 방법을 적용함으로써 사용자는 현재 자신이 통제하고 있는 디바이스의 서비스를 다른 사용자가 제어하지 못하도록 하는 효과가 있다.As described above, the present invention provides a method for managing the control right of the UPnP device. By applying this method, the user has the effect of preventing other users from controlling the service of the device he is currently controlling.

또한, 제어권을 디바이스 안의 각 서비스 단위로 조절할 수 있게 설정함으로 써, 서비스가 특화된 디바이스라면 각각의 서비스를 서로 다른 사용자가 제어권을 갖고 사용할 수 있고, 이를 각 액션의 집합 단위로 확장함으로써, 좀 더 많은 사용자가 하나의 디바이스에 제어권을 갖을 수 있도록 설정하는 것도 가능하다.Also, by setting the control right to control each service unit in the device, if the service is a specialized device, each service can be used by different users with the control right, and by extending it to each action set unit, It is also possible to set the user to have control over one device.

Claims (16)

사용하고자 하는 UPnP 디바이스와의 액션 호출과 응답을 통해 UPnP 디바이스의 배타적 사용에 관한 제어권의 설정 여부를 확인하는 단계;Confirming whether or not a control right for exclusive use of the UPnP device is set through an action call and response to the UPnP device to be used; 상기 확인 결과 상기 UPnP 디바이스에 대한 제어권을 설정한 컨트롤 포인트(CP)가 없는 경우, 상기 UPnP 디바이스에 대한 제어권을 설정하는 단계; 및Setting a control right for the UPnP device when there is no control point (CP) that sets the control right for the UPnP device as a result of the checking; And 상기 UPnP 디바이스에 대해 설정된 제어권을 해제하는 단계를 포함하여 이루어지는 UPnP 디바이스에 대한 제어권 관리 방법.And releasing the control right set for the UPnP device. 제 1항에 있어서,The method of claim 1, UPnP 디바이스에 대한 제어권은 UPnP 디바이스가 제공하는 서비스 단위로 설정되는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The control right for the UPnP device is a control right management method for the UPnP device, characterized in that is set in the service unit provided by the UPnP device. 제 2항에 있어서, 상기 제어권의 설정 여부를 확인하는 단계는,The method of claim 2, wherein the determining whether the control right is set comprises: CP가 상기 UPnP 디바이스의 특정 서비스에 대한 제어권 설정 여부를 묻는 제 1 액션을 호출하는 단계; 및Calling, by the CP, a first action asking whether to set a control right for a specific service of the UPnP device; And 상기 UPnP 디바이스가 상기 제 1 액션에 응답하는 단계를 포함하여 이루어지는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.And responding to the first action by the UPnP device. 제 3항에 있어서,The method of claim 3, 상기 CP는 제어권 설정 여부를 알고자 하는 서비스 타입을 상기 제 1 액션의 입력 변수로 하여 상기 UPnP 디바이스에 전송하고, 상기 UPnP 디바이스는 상기 서비스 타입에 대한 제어권을 설정한 CP의 식별자를 상기 CP에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The CP transmits to the UPnP device a service type for which a control right is to be set as an input variable of the first action, and the UPnP device transmits an identifier of a CP for which the control right for the service type is set to the CP. The control right management method for a UPnP device, characterized in that. 제 4항에 있어서,The method of claim 4, wherein 상기 서비스 타입에 대한 제어권이 설정되지 않은 경우, 상기 UPnP 디바이스는 '0'을 상기 CP에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.And if the control right for the service type is not set, the UPnP device transmits '0' to the CP. 제 2항에 있어서, 상기 제어권을 설정하는 단계는,The method of claim 2, wherein the setting of the control right comprises: CP가 제어권이 설정되지 않은 특정 서비스에 대한 제어권의 설정을 요청하는 제 2 액션을 호출하는 단계; 및Calling, by the CP, a second action for requesting the setting of the control right for the specific service for which the control right is not set; And 상기 UPnP 디바이스가 상기 제 2 액션에 응답하는 단계를 포함하여 이루어지는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.And responding to the second action by the UPnP device. 제 6항에 있어서,The method of claim 6, 상기 CP는 제어권을 설정하고자 하는 서비스 타입과 자신의 식별자를 상기 제 2 액션의 입력 변수로 하여 상기 UPnP 디바이스에 전송하고, 상기 UPnP 디바이스는 상기 서비스 타입에 대한 제어권이 설정된 경우 'Accept' 메시지를 그렇지 않은 경우 'Deny' 메시지를 상기 CP에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The CP transmits the service type to which the control right is set and its identifier as an input variable of the second action to the UPnP device, and the UPnP device does not receive an 'Accept' message when the control right for the service type is set. If not, the control authority management method for a UPnP device, characterized in that for transmitting a 'Deny' message to the CP. 제 2항에 있어서, 상기 제어권을 해제하는 단계는,The method of claim 2, wherein the step of releasing the control right, CP가 상기 특정 서비스에 대해 설정한 제어권의 해제를 요청하는 제 3 액션을 호출하는 단계; 및Calling a third action for requesting release of control right set by the CP for the specific service; And 상기 UPnP 디바이스가 상기 제 3 액션에 응답하는 단계를 포함하여 이루어지는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.And responding, by the UPnP device, to the third action. 제 8항에 있어서,The method of claim 8, 상기 CP는 제어권을 해제하고자 하는 서비스 타입과 자신의 식별자를 상기 제 3 액션의 입력 변수로 하여 상기 UPnP 디바이스에 전송하고, 상기 UPnP 디바이스는 상기 서비스 타입에 대한 제어권의 해제 성공 여부를 나타내는 메시지를 상기 CP에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The CP transmits a service type to which the control right is to be released and its identifier as an input variable of the third action to the UPnP device, and the UPnP device sends a message indicating whether the control right for the service type is released successfully. Control rights management method for a UPnP device, characterized in that the transmission to the CP. 제 2항에 있어서,The method of claim 2, 상기 UPnP 디바이스의 특정 서비스에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 얻어 상기 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.And obtaining at least one action list which can be called regardless of a control right for a specific service of the UPnP device, and calling at least one or more actions included in the action list. 제 10항에 있어서, 상기 적어도 하나 이상의 액션을 호출하는 단계는,The method of claim 10, wherein invoking the at least one action comprises: CP가 상기 UPnP 디바이스의 특정 서비스에 대하여 상기 액션 리스트를 요청하는 제 4 액션을 호출하는 단계;Calling a fourth action by the CP requesting the action list for a specific service of the UPnP device; 상기 UPnP 디바이스가 상기 제 4 액션에 응답하여 상기 액션 리스트를 전송하는 단계; 및Sending, by the UPnP device, the action list in response to the fourth action; And 상기 CP가 상기 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 포함하여 이루어지고,The CP invoking at least one or more actions included in the action list, 여기서, 상기 CP는 제어권과 무관하게 호출이 가능한 액션 리스트가 필요한 서비스 타입을 상기 제 4 액션의 입력 변수로 하여 상기 UPnP 디바이스에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.Here, the CP transmits a service type requiring an action list that can be called regardless of the control right as an input variable of the fourth action to the UPnP device. 제 1항 또는 제 2항에 있어서,The method according to claim 1 or 2, 상기 UPnP 디바이스에 대한 제어권을 설정한 상태에서, 상기 UPnP 디바이스가 제공하는 서비스를 이용하는 단계를 더 포함하여 이루어지는 UPnP 디바이스에 대한 제어권 관리 방법.And using a service provided by the UPnP device while setting the control right for the UPnP device. UPnP 디바이스의 특정 서비스에 대한 배타적 사용에 관한 제어권의 설정 여부를 묻는 제 1 액션을 호출하는 단계;Invoking a first action inquiring whether a control right for exclusive use of a specific service of the UPnP device is set; 상기 UPnP 디바이스로부터 상기 특정 서비스에 대한 제어권이 설정되지 않았 다는 응답을 수신하는 경우, 상기 특정 서비스에 대한 제어권의 설정을 요청하는 제 2 액션을 호출하는 단계;In response to the response indicating that the control right for the specific service is not set from the UPnP device, calling a second action requesting setting of the control right for the specific service; 상기 UPnP 디바이스의 상기 특정 서비스에 대한 제어권을 설정한 상태에서, 상기 UPnP 디바이스의 상기 특정 서비스를 이용하는 단계; 및Using the specific service of the UPnP device while setting a control right for the specific service of the UPnP device; And 상기 특정 서비스에 대해 설정한 제어권의 해제를 요청하는 제 3 액션을 호출하는 단계를 포함하여 이루어지는 UPnP 디바이스에 대한 제어권 관리 방법.And calling a third action for requesting release of the control right set for the specific service. 제 13항에 있어서,The method of claim 13, 상기 제 1 액션, 제 2 액션, 및 제 3 액션은 서비스 타입을 입력 변수로 하고, 상기 제 2 액션과 제 3 액션은 CP 자신의 식별자를 추가 입력 변수로 하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The first action, the second action, and the third action have a service type as an input variable, and the second action and the third action have a CP own identifier as an additional input variable. How to manage. 제 14항에 있어서,The method of claim 14, UPnP 디바이스는, 상기 제 1 액션에 대해서 상기 서비스 타입에 대한 제어권을 설정한 CP의 식별자를 제어권이 설정되지 않은 경우 '0'을, 상기 제 2 액션에 대해서 상기 서비스 타입에 대한 제어권이 설정된 경우 'Accept' 메시지를 그렇지 않은 경우 'Deny' 메시지를, 상기 제 3 액션에 대해서 상기 서비스 타입에 대한 제어권의 해제 성공 여부를 나타내는 메시지를, 상기 CP에 전송하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.The UPnP device may set the identifier of the CP that set the control right for the service type for the first action to be '0' when the control right is not set, and to set the control right for the service type for the second action to be ' Otherwise, a 'Deny' message and a message indicating whether the release of the control right for the service type is successful for the third action is transmitted to the CP. . 제 13항에 있어서,The method of claim 13, 상기 UPnP 디바이스의 특정 서비스에 대하여 제어권과 무관하게 호출이 가능한 액션 리스트를 요청하는 제 4 액션을 호출하는 단계; 및Invoking a fourth action for requesting an action list that can be called regardless of a control right for a specific service of the UPnP device; And 상기 UPnP 디바이스로부터 수신한 액션 리스트에 포함된 적어도 하나 이상의 액션을 호출하는 단계를 더 포함하여 이루어지고,Calling at least one action included in the action list received from the UPnP device; 여기서, 상기 제 4 액션은 제어권과 무관하게 호출이 가능한 액션 리스트가 필요한 서비스 타입을 입력 변수로 하는 것을 특징으로 하는 UPnP 디바이스에 대한 제어권 관리 방법.Here, the fourth action is a control right management method for a UPnP device, characterized in that the service type requiring an action list that can be called regardless of the control right as an input variable.
KR1020050015756A 2005-02-25 2005-02-25 Method for managing control rights for UPnP device KR100699634B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050015756A KR100699634B1 (en) 2005-02-25 2005-02-25 Method for managing control rights for UPnP device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050015756A KR100699634B1 (en) 2005-02-25 2005-02-25 Method for managing control rights for UPnP device

Publications (2)

Publication Number Publication Date
KR20060094614A KR20060094614A (en) 2006-08-30
KR100699634B1 true KR100699634B1 (en) 2007-03-23

Family

ID=37602363

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050015756A KR100699634B1 (en) 2005-02-25 2005-02-25 Method for managing control rights for UPnP device

Country Status (1)

Country Link
KR (1) KR100699634B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100406078B1 (en) 2001-12-31 2003-11-14 엘지전자 주식회사 Home network device, Home network control device, and System and Method for reconfiguration of Description File in Home Network
KR100440583B1 (en) 2002-05-16 2004-07-19 한국전자통신연구원 A Method and Apparatus of Management and Control of UPnP Device in Home Network from the Internet
KR20050094286A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Upnp device controlling method using internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100406078B1 (en) 2001-12-31 2003-11-14 엘지전자 주식회사 Home network device, Home network control device, and System and Method for reconfiguration of Description File in Home Network
KR100440583B1 (en) 2002-05-16 2004-07-19 한국전자통신연구원 A Method and Apparatus of Management and Control of UPnP Device in Home Network from the Internet
KR20050094286A (en) * 2004-03-22 2005-09-27 엘지전자 주식회사 Upnp device controlling method using internet

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Understanding Universal Plug and Play, Microsoft C
공개특허 제2004-55455호 (2004.06.26)

Also Published As

Publication number Publication date
KR20060094614A (en) 2006-08-30

Similar Documents

Publication Publication Date Title
KR20040014993A (en) AUDIO-VIDEO MANAGEMENT IN UPnP
JP5745656B2 (en) Method and apparatus for protecting personal information in home network
CN102594632B (en) The control method and device of home network device
KR20050098926A (en) Method and system for reacting to a change of a upnp device
US8621063B2 (en) Method and apparatus for transmitting Byebye message when operation of controlled device in UPnP network is abnormally terminated
EP2359255B1 (en) Method and apparatus for controlling access to resources in remote user interface service
US20150304429A1 (en) Network for multimedia control comprising functional entities having publisher and/or subscriber functionality, and method for initiating a multimedia session
US20100115027A1 (en) Method and apparatus for controlling access to resources in remote user interface service
JP4519736B2 (en) Data transmission system, data transmission method, and media apparatus
US8176343B2 (en) Method for providing information for power management of devices on a network
US20090172133A1 (en) Control points for controlling devices in a network
KR100699634B1 (en) Method for managing control rights for UPnP device
US7617316B2 (en) Network connection device, network system and method for avoiding duplication of proxy function
KR20040045619A (en) Architecture of look-up service in jini-based home network supporting ieee 1394 and tcp/ip and method thereof
KR100917287B1 (en) Method for managing a network comprising a bridge device and bridge device
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
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
KR20050099899A (en) Allocation method for internet protocol multicast based universal plug and play network
JP5718454B2 (en) How to control the functions of devices in your home network
KR100665436B1 (en) File server management method by home network
KR20050035038A (en) Method for setting internet protocol address for network based universal plug and play
KR100752868B1 (en) Plural number control application management method for home network
KR20040039043A (en) Control message transmission method for universal plug and play network system
TWM652215U (en) Software resource sharing system

Legal Events

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

Payment date: 20091230

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee