KR101259552B1 - Method for controlling service overlapping of home network and Universal Plug and Play device providing the same - Google Patents
Method for controlling service overlapping of home network and Universal Plug and Play device providing the same Download PDFInfo
- Publication number
- KR101259552B1 KR101259552B1 KR1020110067958A KR20110067958A KR101259552B1 KR 101259552 B1 KR101259552 B1 KR 101259552B1 KR 1020110067958 A KR1020110067958 A KR 1020110067958A KR 20110067958 A KR20110067958 A KR 20110067958A KR 101259552 B1 KR101259552 B1 KR 101259552B1
- Authority
- KR
- South Korea
- Prior art keywords
- home network
- service
- service provider
- information
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2821—Avoiding conflicts related to the use of home appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
홈 네트워크 내에서 중복 서비스를 통합하기 위한 경쟁 알고리즘이 제공된다. 본 발명의 중복 기능 제어 방법은, 홈 네트워크 내에 특정 서비스를 제공하는 제1 기기가 진입하여, 상기 홈 네트워크 내에 상기 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보와 상기 홈 네트워크 내에서 상기 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득하는 단계와, 상기 단독 서비스 제공자가 존재하지 않으면, 상기 제1 기기가 미리 정한 일정한 지연 시간 동안 대기하는 단계와, 상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 상기 제1 기기가 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생하는 단계를 포함한다. 이에 따라 기존의 UPnP 프로토콜과의 호환성을 보장하면서, 홈 네트워크 내에서 유사 서비스를 통합 관리할 수 있다. A competitive algorithm is provided for integrating redundant services within a home network. In the redundant function control method of the present invention, the first device that provides a specific service in a home network enters, and whether there is a single service provider that provides the specific service in the home network and the specific information in the home network. Acquiring information of a candidate device group providing the same service as a service; if the single service provider does not exist, waiting for a predetermined delay time by the first device; and during the delay time, the home network If an event from another candidate device in the network is not received, generating an event indicating that the first device has been selected as the sole service provider of the specific service. This ensures compatibility with existing UPnP protocols, while allowing similar services to be integrated and managed within the home network.
Description
본 발명은 홈 네트워크에서 중복 기능을 제어하기 위한 방법에 관한 것으로서, 더 구체적으로는 유니버설 플러그 앤 플레이(UPnP: Universal Plug and Play) 홈 네트워크 내에서 중복된 기능을 통합하여 관리하고자 할 때 단독 서비스 제공자를 선출하기 위한 방법과 이를 제공하는 UPnP 기기에 관한 것이다.The present invention relates to a method for controlling redundancy in a home network, and more particularly, to provide a single service provider to integrate and manage duplicate functions in a universal plug and play (UPnP) home network. The present invention relates to a method for electing and providing a UPnP device.
댁내 멀티미디어 가전기기 및 PC의 보급이 활성화됨에 따라 멀티미디어의 공유 방법에 대한 요구가 나날이 증대하고 있다. 가전 및 IT 업체는 이러한 요구에 부응하기 위하여 약 10여 년에 걸쳐 홈 네트워크 관련 기술을 개발, 발전시켜 왔다. 그 중 UPnP는 Microsoft 등 굴지의 기업들의 지원을 받으며 그 영역을 확장시켜 오고 있으며 현재 가장 촉망받는 홈 네트워크 관련 기술로 자리 잡고 있다. As the home multimedia appliances and PCs become more popular, the demand for a method of sharing multimedia is increasing day by day. Home appliances and IT companies have been developing and developing home network technologies for about 10 years to meet these demands. Among them, UPnP has been expanding its area with support from leading companies such as Microsoft, and is now the most promising home network technology.
UPnP는 IP Network기반의 홈 네트워크 기술로써 최소한의 사용자 설정을 통하여 홈 네트워크에 있는 멀티미디어를 손쉽게 공유할 수 있는 프레임워크를 제공한다. UPnP는 사용자의 설정을 최소화함으로써 편의성을 극대화하고 있다. UPnP를 사용하면 사용자는 PC에 저장되어 있는 동영상을 거실의 TV에서 볼 수 있고, NAS(Network-attached Storage: 네트워크 저장장치)에 저장된 음악 파일을 MP3 Player를 통하여 원격을 재생하고 제어할 수 있게 된다. UPnP is an IP network-based home network technology that provides a framework for easily sharing multimedia on a home network with minimal user setup. UPnP maximizes convenience by minimizing user settings. With UPnP, users can watch videos stored on their PCs on their living room TVs, and remotely play and control music files stored on NAS (Network-attached Storage) via MP3 Player. .
UPnP는 그 물리적 기반기술로써 IP Network를 사용한다. 즉, 각 기기는 IP Network에 접속할 수 있는 기능이 있으며, IP Address를 할당받아 홈 네트워크에 접속한다. UPnP 호환 기기가 IP Network에 접속되면 총 5가지의 기능을 이용하여 홈 네트워크 상에서 기기가 보유한 멀티미디어를 전송하거나 혹은 홈 네트워크에 존재하는 외부 멀티미디어 파일을 재생할 수 있다. UPnP uses IP Network as its physical infrastructure. That is, each device has a function to access an IP network, and is assigned an IP address to access a home network. When a UPnP compatible device is connected to an IP network, a total of five functions can be used to transmit a multimedia file owned by the device on a home network or to play an external multimedia file existing on a home network.
UPnP에서 사용되는 5가지 기능은 홈 네트워크에 자신이 들어왔음을 알리는 Discovery, 자신의 정보를 전달하는 Description, 외부 기기를 제어할 수 있는 Control, 자신의 상태 변화를 외부 기기에 알려 주는 Eventing, 외부기기에 자신의 상태를 알려 주는 Presentation으로, 각각은 IETF(Internet Engineering Task Force)에서 제정한 IP Protocol들과 밀접하게 연관되어 있다. The five functions used in UPnP are Discovery to inform you that you have entered the home network, Description to convey your information, Control to control external devices, Eventing to notify external devices of your status change, External devices A presentation that informs its status to each of them, each of which is closely related to the IP Protocols established by the Internet Engineering Task Force (IETF).
이러한 UPnP 호환 장비의 특징은 다음과 같다. The UPnP compatible device has the following characteristics.
- IP 기반의 장비임 : 독립적인 IP주소를 가지며, IP Protocol에 의거하여 동작함.-IP-based equipment: It has an independent IP address and operates according to the IP protocol.
- HTTP/XML을 사용함 : 기본적으로 HTTP 프로토콜을 사용하며, 그 문법은 XML을 따른다. Using HTTP / XML: By default, the HTTP protocol is used, and the syntax follows XML.
- 사용자의 설정을 최소화함 : Addressing 단계를 비롯하여 각 설정에서 홈 네트워크가 사용자의 별도 설정 없이 동작할 수 있도록 기획되어 있다. -Minimize user's setting: In each setting including addressing step, home network is designed to operate without user's separate setting.
- 멀티미디어 공유를 지원함 : 멀티미디어 파일을 전송하는 목적으로 개발되어 사용자는 홈 네트워크 내의 미디어 파일을 직접 액세스하여 재생 및 제어할 수 있다. -Supports multimedia sharing: It is developed for the purpose of transmitting multimedia files, and users can directly access, play and control the media files in the home network.
- 미들웨어로서 동작함 : 네트워크 접근 기능이 있어도 UPnP 미들웨어가 실장되어 있어야만 홈 네트워크에 접근할 수 있음. -Acting as middleware: Even if there is a network access function, the home network can be accessed only when UPnP middleware is installed.
홈 네트워크 내에 중복된 기능에 대하여는 다음과 같은 단점이 존재한다. The following disadvantages exist for duplicated functions in the home network.
즉, 홈 네트워크 내의 동일 혹은 유사한 서비스를 통합해서 관리하고자 할 경우, UPnP Protocol 및 DLNA(Digital Living Network Alliance) 가이드라인에는 이를 위한 서비스에 대한 형식이 정의되어 있지 않으며, 구현단에서 적절히 구성하도록 하고 있다. 일례로, DLNA는 홈 네트워크의 콘텐츠를 통합관리할 수 있는 Home Interoperability Unit(HIU)을 정의하고 있으나, DLNA는 HIU의 단일성 혹은 HIU의 동작에 대한 구체적인 내용은 정의하고 있지 않다. 그런데, 이러한 임의의 구현 (Proprietary Implementation)은 각 구현방법에 따라 내부의 프로토콜이 상이하며, 홈 네트워크 기기간의 호환성을 보장할 수 없다. 따라서 이 경우, 동일한 홈 네트워크 내에 복수의 HIU가 존재할 수 있어 불필요한 기능의 중복이 발생하며, 또한 홈 네트워크의 네트워크 사용량이 HIU의 수만큼 증가하게 되는 문제점이 있다. In other words, if the same or similar service in the home network is to be integrated and managed, the format for the service is not defined in the UPnP Protocol and the Digital Living Network Alliance (DLNA) guideline. . For example, DLNA defines a Home Interoperability Unit (HIU) that can manage the contents of a home network. However, DLNA does not define the details of the unity or operation of HIU. However, such an arbitrary implementation (Proprietary Implementation) is different in the internal protocol according to each implementation method, and can not guarantee the compatibility between the home network devices. Therefore, in this case, a plurality of HIUs may exist in the same home network, causing unnecessary duplication of functions, and the network usage of the home network increases by the number of HIUs.
따라서, 홈 네트워크 내에서 단독으로 존재해야 하는 서비스 혹은 기기를 위하여, 후보자 기기군을 설정하고 해당 후보자 기기군으로부터 적절한 단독 서버를 선출하는 경쟁 프로토콜이 반드시 필요하게 된다.Therefore, for a service or a device that must exist alone in a home network, a competition protocol is required for setting a candidate device group and selecting an appropriate single server from the candidate device group.
본 발명은 상술한 바와 같은 기술적 배경에서 안출된 것으로서, 본 발명은 UPnP 홈 네트워크 내에서 중복된 기능을 통합하여 관리하고자 할 때 단독 서비스 제공자를 선출하기 위한 방법과 그 방법을 제공하는 UPnP 기기를 제공하는 것을 그 과제로 한다. SUMMARY OF THE INVENTION The present invention has been made in the technical background as described above, and the present invention provides a method and a UPnP device for providing a single service provider when a single service provider is to be integrated and managed in the UPnP home network. It is the task to do it.
본 발명의 다른 과제는 기존의 UPnP 프로토콜과의 호환성을 보장하면서, 특정 서비스를 통합 관리할 수 있는 방법과 그 방법을 제공하는 UPnP 기기를 제공하고자 하는 것이다. Another object of the present invention is to provide a method for integrating and managing a specific service and a UPnP device providing the method while ensuring compatibility with the existing UPnP protocol.
이와 같은 과제를 해결하기 위하여 본 발명에서는 홈 네트워크 내에서 중복되는 서비스를 통합하기 위한 경쟁 알고리즘을 사용한다. In order to solve such a problem, the present invention uses a contention algorithm for integrating overlapping services in a home network.
본 발명의 일 면에 따른 홈 네트워크의 중복 기능 제어 방법은, 홈 네트워크 내에 특정 서비스를 제공하는 제1 기기가 진입하여, 상기 홈 네트워크 내에 상기 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보와 상기 홈 네트워크 내에서 상기 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득하는 단계와, 상기 단독 서비스 제공자가 존재하지 않으면, 상기 제1 기기가 미리 정한 일정한 지연 시간 동안 대기하는 단계와, 상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 상기 제1 기기가 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생하는 단계를 포함하여 이루어진다.According to an aspect of the present invention, there is provided a method for controlling a redundancy function of a home network. Acquiring information of a candidate device group providing the same service as the specific service in the home network; if the single service provider does not exist, waiting for a predetermined delay time determined by the first device; If an event from another candidate device in the home network is not received during the delay time, generating an event indicating that the first device has been selected as the sole service provider of the specific service.
여기에서, 상기 제1 기기는 상기 특정 서비스의 이름을 저장하는 서비스 이름 변수와 상기 특정 서비스의 단독 서비스 제공자로 선정되었는지에 대한 결과를 저장하는 선출 결과 변수를 사용하며, 상기 정보를 취득하는 단계에서는, 상기 홈 네트워크에 포함된 다른 기기의 상기 서비스 이름 변수와 상기 선출 결과 변수를 읽어옴으로써 정보를 취득할 수 있다.Here, the first device uses a service name variable that stores the name of the specific service and an election result variable that stores a result of whether the service is selected as the sole service provider of the specific service. Information may be obtained by reading the service name variable and the election result variable of another device included in the home network.
한편, 상기 정보를 취득하는 단계 이전에, 상기 제1 기기가 상기 홈 네트워크에 진입하여 상기 제1 기기가 상기 후보자 기기군에 포함될 수 있음을 알리는 단계를 더 포함할 수 있으며, 상기 홈 네트워크에 서비스 소비자 기기가 진입하여 상기 단독 서비스 제공자의 정보와 상기 후보자 기기군의 정보를 취득하는 단계를 더 포함할 수도 있다. Meanwhile, before acquiring the information, the method may further include informing that the first device enters the home network and that the first device may be included in the candidate device group. The method may further include a step in which a consumer device enters to acquire information of the single service provider and information of the candidate device group.
상기 서비스 후보자 기기군에 포함되는 제2 기기가 상기 특정 서비스의 단독 서비스 제공자로부터 상기 홈 네트워크로부터 이탈하는 이벤트를 수신한 경우에는, 상기 제2 기기가 상기 홈 네트워크 내에 상기 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보와 상기 홈 네트워크 내에서 상기 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득하는 단계와, 상기 단독 서비스 제공자가 존재하지 않으면, 상기 제2 기기가 미리 정한 일정한 지연 시간 동안 대기하는 단계와, 상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 상기 제2 기기가 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생하는 단계를 더 포함하는 것이 바람직하다.When the second device included in the service candidate device group receives an event for leaving the home network from the sole service provider of the specific service, the second device provides the specific service in the home network. Acquiring information on whether a provider exists and information on a group of candidate devices providing the same service as the specific service in the home network; and if the single service provider does not exist, a predetermined delay predetermined by the second device. Waiting for a time, and if an event from another candidate device in the home network is not received during the delay time, generating an event indicating that the second device has been selected as the sole service provider of the specific service. It is desirable to.
본 발명의 다른 면에 따른 유니버설 플러그 앤 플레이 기기는, 홈 네트워크에서 사용하는 유니버설 플러그 앤 플레이 기기로서, 상기 기기가 제공하는 서비스의 이름을 저장하는 서비스 이름 변수와 상기 서비스의 단독 서비스 제공자로 선정되었는지에 대한 결과를 저장하는 선출 결과 변수를 사용하며, 상기 홈 네트워크에서 특정 서비스를 단독으로 제공할 수 있는 단독 서비스 후보군을 형성하기 위한 서비스 이름을 제공하는 SOAP(Simple Object Access Protocol) 함수를 사용하는 것을 특징으로 한다.The universal plug and play device according to another aspect of the present invention is a universal plug and play device used in a home network, and is selected as a service name variable storing a name of a service provided by the device and a single service provider of the service. It uses an election result variable to store the result for and uses a Simple Object Access Protocol (SOAP) function to provide a service name for forming a single service candidate group that can provide a specific service alone in the home network. It features.
상기 유니버설 플러그 앤 플레이 기기는, 상기 홈 네트워크 내에 진입하여, 상기 홈 네트워크 내에 상기 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보와 상기 홈 네트워크 내에서 상기 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득하고, 상기 단독 서비스 제공자가 존재하지 않으면, 미리 정한 일정한 지연 시간 동안 대기하여, 상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 자신이 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생할 수 있다. The universal plug and play device may enter into the home network and provide information on whether there is a single service provider that provides the specific service in the home network and a candidate device that provides the same service as the specific service in the home network. Acquires group information, waits for a predetermined constant delay time if the sole service provider does not exist, and if an event from another candidate device in the home network is not received during the delay time, It may generate an event indicating that the single service provider has been selected.
본 발명에 따르면, 기존의 UPnP 프로토콜과의 호환성을 보장하면서, 홈 네트워크 내에서 유사 서비스를 통합 관리하여 서비스의 중복을 방지할 수 있다. 이에 따라 불필요한 기능의 중복에 의한 네트워크 사용량 증가를 막는 효과를 얻을 수 있다. According to the present invention, it is possible to prevent duplication of services by integrating and managing similar services in a home network while ensuring compatibility with the existing UPnP protocol. As a result, an increase in network usage due to duplication of unnecessary functions can be obtained.
도 1은 본 발명의 실시예에 따른 홈 네트워크의 중복 기능 제어 방법을 나타내는 흐름도이다.1 is a flowchart illustrating a method for controlling redundancy of a home network according to an embodiment of the present invention.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다. Advantages and features of the present invention, and methods of achieving the same will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. It is noted that the terms "comprises" and / or "comprising" used in the specification are intended to be inclusive in a manner similar to the components, steps, operations, and / Or additions.
이하에서, 첨부한 도면을 참고로 하여 본 발명의 실시예에 따른 홈 네트워크의 중복 기능 제어 방법에 대하여 상세히 설명하기로 한다.Hereinafter, a redundant function control method of a home network according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
본 발명은 홈 네트워크 내에 단일로 존재해야 하는 서비스가 필요할 때, 홈 네트워크 내의 홈 네트워크 기기들로부터 해당 서비스를 지원하는 후보자 기기군 (Candidate)을 형성하고, 후보자 기기군들로부터 적절한 단독 서비스 제공자를 선출하여 홈 네트워크 내에 중복된 서비스를 제거하는 방법을 정의한다. The present invention forms a candidate device group (Candidate) supporting the service from the home network devices in the home network when a service that needs to be present in the home network is required, and selects an appropriate single service provider from the candidate device groups. Define how to remove duplicate services in the home network.
이를 위하여 본 발명에서는 중복 서비스를 제거하는 경쟁 알고리즘을 제공하는데, 이를 위하여 먼저 UPnP 서비스 함수 및 변수를 선정한다. To this end, the present invention provides a contention algorithm that removes duplicate services. To this end, first, UPnP service functions and variables are selected.
경쟁 알고리즘을 지원하기 위한 UPnP 기기는, 경쟁 정보를 저장하기 위하여 다음과 같은 변수와 함수를 사용한다.A UPnP device for supporting a contention algorithm uses the following variables and functions to store contention information.
* 변수 * variable
- 서비스 이름 : 단독 서비스를 제공하기 위한 서비스 이름.-Service name: service name for providing a single service.
- 선출 결과 : 자신이 단독 서비스 제공자로 선정되었는 지에 대한 결과.Election Results: The result of whether you have been selected as a sole service provider.
* 함수 * function
- 서비스 이름 취득자 : 단독 서비스 후보군을 형성하기 위한 서비스 이름을 제공할 수 있는 SOAP(Simple Object Access Protocol) ActionService name acquirer: A SOAP (Simple Object Access Protocol) Action that can provide a service name to form a single service candidate group.
이제 도 1을 참고로 하여 본 발명의 실시예에 따른 홈 네트워크의 중복 기능 제어 방법에 대하여 설명한다. 도 1은 본 발명의 실시예에 따른 홈 네트워크의 중복 기능 제어 방법을 나타내는 처리 흐름도이다.Now, referring to FIG. 1, a redundant function control method of a home network according to an embodiment of the present invention will be described. 1 is a flowchart illustrating a method for controlling redundancy functions in a home network according to an embodiment of the present invention.
도 1에 나타난 바와 같이, 홈 네트워크 내에 특정 서비스를 제공하는 기기가 진입하면(S110), 해당 홈 네트워크 내에 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보를 취득하고(S120), 해당 홈 네트워크 내에서 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득한다(S130).As shown in FIG. 1, when a device providing a specific service enters a home network (S110), information on whether there is a single service provider providing a specific service in a corresponding home network is acquired (S120). Information of candidate device groups that provide the same service as the specific service is acquired (S130).
S120 단계와 S130 단계의 정보를 바탕으로 판단하여 단독 서비스 제공자가 존재하면(S140의 "예"), 새로 진입한 기기가 제공하는 특정 서비스는 이미 해당 홈 네트워크 내에서 제공되는 서비스와 중복되므로 새로 진입한 기기는 특정 서비스를 제공하지 않는다.If there is a single service provider based on the information of the steps S120 and S130 (YES in S140), the specific service provided by the newly entered device is already overlapped with the service provided in the corresponding home network. One device does not provide a specific service.
S120 단계와 S130 단계의 정보를 바탕으로 판단하여 단독 서비스 제공자가 존재하지 않으면(S140의 "아니오"), 새로 진입한 기기는 미리 정한 일정한지연 시간 동안 대기한다(S150).If it is determined based on the information of steps S120 and S130 and there is no single service provider (No in S140), the newly entered device waits for a predetermined predetermined delay time (S150).
대기하는 시간 동안 다른 후보기기로부터의 이벤트가 수신되면(S160의 "예"), 먼저 진입한 다른 후보기기에 의해 특정 서비스가 제공되는 것이므로 이 때 새로 진입한 기기는 서비스의 중복을 방지하기 위하여 특정 서비스를 제공하지 않는다. If an event from another candidate device is received during the waiting time (YES in S160), since a specific service is provided by another candidate device that has entered first, the newly entered device is selected to prevent duplication of services. Do not provide services.
그러나, 대기하는 시간 동안 다른 후보기기로부터의 이벤트가 수신되지 않으면(S160의 "아니오"), 해당 홈 네트워크 내에 새로 진입한 기기가 제공하는 서비스가 현재 제공되지 않는 것으로 판단되므로 새로 진입한 기기가 특정 서비스의 제공자로 선출되고 이에 따라 선출 이벤트를 발생한다(S170).However, if an event from another candidate device is not received during the waiting time (No in S160), it is determined that a service provided by a newly entered device in the home network is not currently provided, and thus the newly entered device is identified. The provider is elected as a service provider and accordingly generates an election event (S170).
이상의 과정에 의하여 홈 네트워크 내에 새로운 기기가 진입할 경우 중복 서비스를 배제할 수 있다. By the above process, when a new device enters the home network, duplicate services can be excluded.
상술한 과정에서 1) 홈 네트워크 내의 동일 서비스에 대한 후보자 군 선정, 2) 후보자 군으로부터 단일 서비스를 제공하기 위한 단독 서비스 제공자 선정, 3) 단독 서비스 제공자 선출 공지의 기능이 요구되며, 이하에서 각 기능의 구현 방법에 대하여 자세히 설명한다.In the above process, 1) selection of a candidate group for the same service in the home network, 2) selection of a single service provider for providing a single service from the candidate group, and 3) a function of selecting a single service provider is required. It describes in detail how to implement.
먼저, 홈 네트워크 내의 동일 서비스에 대한 후보자 군 선정을 위하여, 홈 네트워크에 서비스 제공자가 진입할 경우, SSDP(simple service discovery protocol) 프로토콜에 의거하여 자신이 서비스 후보군에 포함될 수 있음을 알릴 수 있으며, 홈 네트워크에 서비스 소비자가 진입할 경우에는, Broadcast를 통하여 서비스 후보군 및 단독 서비스 제공자에 대한 정보를 취득하여 해당 서비스를 이용할 수 있다. First, in order to select a candidate group for the same service in the home network, when the service provider enters the home network, it may be informed that he or she may be included in the service candidate group based on the simple service discovery protocol (SSDP) protocol. When the service consumer enters the network, the service can be obtained by using the broadcast to obtain information about the service candidate group and the single service provider.
후보자 군으로부터 단일 서비스를 제공하기 위한 단독 서비스 제공자 선정 과정은 Peer-To-Peer 네트워크를 사용하는 UPnP/DLNA의 특성상, 각 기기별로 단독으로 이루어진다. 이러한 과정은 앞서 도 1의 S140 내지 S170 단계에 해당한다.The process of selecting a single service provider to provide a single service from a candidate group is performed for each device alone due to the nature of UPnP / DLNA using a peer-to-peer network. This process corresponds to the steps S140 to S170 of FIG. 1 above.
각 후보기기는 우선 동일한 홈 네트워크 내에 단독 서비스 제공자가 이미 선출되었는 지를 확인한 후, 단독 서비스 제공자가 없을 경우 후보기기를 단독 서비스 제공자로 선출하는 단계로 진입한다. 본인을 단독 서비스 제공자로 선출하기 위하여, 후보기기는 임의의 시간만큼 타 후보기기로부터의 단독 서비스 제공자 선출 이벤트를 기다리며, 임의의 시간 동안 타 후보기기가 서비스 제공자 선출 이벤트가 발생하지 않았을 경우 본 후보기기를 단독 서비스 제공자로 선출한다. Each candidate device first checks whether a single service provider has already been selected in the same home network, and then, if there is no single service provider, enters a candidate as a single service provider. In order to elect itself as a sole service provider, the candidate device waits for an exclusive service provider election event from another candidate device for a predetermined time, and when the candidate device does not have a service provider election event for a certain time, the candidate device Elect as the sole service provider.
단독 서비스 제공자가 선출되면 이를 홈 네트워크 내에 공지하는 기능이 요구되며, 이를 위하여, 후보기기가 단독 서비스 제공자로 선출되고 나면, 후보기기는 내부의 상태변수를 변경하고 해당 상태변수에 해당하는 UPnP Event를 통하여 타 후보기기들에게 본인이 선출되었음을 알린다. 이는 도 1의 S170 단계에 해당한다.When a single service provider is elected, a function of notifying the home network is required. For this purpose, after a candidate device is elected as a single service provider, the candidate device changes an internal state variable and generates an UPnP event corresponding to the state variable. Inform other candidates that they have been elected. This corresponds to step S170 of FIG.
도 1은 새로 진입한 기기의 동작을 기준으로 도시한 것이어서 다른 기기의 동작에 관한 흐름이 도시되어 있지 않지만, 도 1의 S170 단계에서와 같이 후보 기기의 단독 서비스 제공자 선출 정보를 포함한 UPnP Event가 전송되면, 다른 후보기기의 경쟁 알고리즘 동작은 중지된다.Although FIG. 1 illustrates the operation of a newly entered device, a flow related to the operation of another device is not illustrated. However, as shown in step S170 of FIG. 1, a UPnP event including single service provider selection information of a candidate device is transmitted. If so, the operation of the competition algorithm of the other candidate device is stopped.
한편, 디바이스의 진입 및 이탈이 자유로운 홈 네트워크의 특성상, 홈 네트워크에 새로운 서비스 후보가 진입하거나 단독 서비스 제공자가 홈 네트워크를 이탈하는 경우가 발생할 수 있다. On the other hand, due to the characteristics of a home network where devices are free to enter and leave, new service candidates may enter the home network or a single service provider may leave the home network.
따라서, 4) 홈 네트워크에 서비스 후보 진입할 경우, 기존 단독 서비스 제공자를 검색하는 기능과 5) 단독 서비스 제공자가 홈 네트워크를 이탈할 경우, 홈 네트워크의 선출 알고리즘을 재시작하는 기능이 필요하다.Therefore, 4) when entering a service candidate in the home network, a function of searching for an existing single service provider and 5) a function of restarting the election algorithm of the home network when the single service provider leaves the home network.
홈 네트워크에 서비스 후보가 진입할 경우, 해당 서비스 후보 기기는 자신이 경쟁 알고리즘을 시작할 지의 여부를 결정해야 하며, 이는 홈 네트워크 내에 존재하는 다른 기기의 서비스 상태 변수를 읽어 옴으로써 구현될 수 있다. 이는 도 1의 S120 및 S130 단계에 해당한다.When a service candidate enters a home network, the service candidate device must determine whether to start a contention algorithm, which can be implemented by reading a service state variable of another device existing in the home network. This corresponds to steps S120 and S130 of FIG. 1.
즉, 후보 기기가 홈 네트워크에 진입하면 SOAP Action 또는 이와 유사한 제어를 통하여 후보 기기와 동일한 서비스를 제공하는 기기에 대한 상태변수를 읽어옴으로써 단독 서비스 제공자의 정보(S120)와 후보자 기기군의 정보(S130)를 얻을 수 있다. That is, when the candidate device enters the home network, the state variable for the device providing the same service as the candidate device through the SOAP Action or similar control is read, so that the information of the single service provider (S120) and the candidate device group ( S130) can be obtained.
반대로 단독 서비스 제공자가 홈 네트워크를 이탈할 경우, 홈 네트워크의 선출 알고리즘을 재시작하여야 한다. On the contrary, when the sole service provider leaves the home network, the election algorithm of the home network must be restarted.
이 때, 단독 서비스 제공자의 이탈은 UPnP의 BYE Packet으로 인식할 수 있으며 해당 Packet을 수신한 후보 기기는 선출 알고리즘을 재가동한다. At this time, the departure of the sole service provider may be recognized as a BYE packet of UPnP, and the candidate device receiving the packet restarts the election algorithm.
상술한 바와 같은 본 발명의 실시예에 따른 홈 네트워크의 중복 기능 제어 방법의 각 기능은 Peer-To-Peer 구조의 홈 네트워크의 특성에 따라 정의되지만, 마스터 - 슬레이브 구조로의 확장도 가능하게 정의되며, 각 기능은 후보자군과 후보자군을 제어하기 위한 Control Point간의 통신을 통하여 이루어진다. Each function of the method for controlling the redundancy function of the home network according to the embodiment of the present invention as described above is defined according to the characteristics of the home network of the peer-to-peer structure, but the extension to the master-slave structure is also possible. Each function is accomplished through communication between the candidate group and the control point for controlling the candidate group.
이상에서 바람직한 실시예를 기준으로 본 발명을 설명하였지만, 본 발명의 장치 및 방법은 반드시 상술된 실시예에 제한되는 것은 아니며 발명의 요지와 범위로부터 벗어남이 없이 다양한 수정이나 변형을 하는 것이 가능하다. 따라서, 첨부된 특허청구의 범위는 본 발명의 요지에 속하는 한 이러한 수정이나 변형을 포함할 것이다.
Although the present invention has been described above with reference to preferred embodiments, the apparatus and method of the present invention are not necessarily limited to the above-described embodiments, and various modifications and variations can be made without departing from the spirit and scope of the invention. Accordingly, the appended claims are intended to embrace all such modifications and variations as fall within the true spirit of the invention.
Claims (8)
상기 단독 서비스 제공자가 존재하지 않으면, 상기 제1 기기가 미리 정한 일정한 지연 시간 동안 대기하는 단계와,
상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 상기 제1 기기가 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생하는 단계를 포함하는 홈 네트워크의 중복 기능 제어 방법.A first device that provides a specific service in a home network enters, and a candidate device that provides information on whether there is a single service provider that provides the specific service in the home network and provides the same service as the specific service in the home network. Obtaining military information,
If the single service provider does not exist, the first device waits for a predetermined delay time;
Generating an event indicating that the first device has been selected as the sole service provider of the specific service if an event from another candidate device in the home network is not received during the delay time; .
상기 제1 기기는 상기 특정 서비스의 이름을 저장하는 서비스 이름 변수와 상기 특정 서비스의 단독 서비스 제공자로 선정되었는지에 대한 결과를 저장하는 선출 결과 변수를 사용하는 홈 네트워크의 중복 기능 제어 방법.The method of claim 1,
And the first device uses a service name variable for storing a name of the specific service and an election result variable for storing a result of whether the service is selected as the sole service provider of the specific service.
상기 홈 네트워크에 포함된 다른 기기의 상기 서비스 이름 변수와 상기 선출 결과 변수를 읽어옴으로써 정보를 취득하는 홈 네트워크의 중복 기능 제어 방법.The method of claim 2, wherein in the obtaining of the information,
And obtaining information by reading the service name variable and the election result variable of another device included in the home network.
상기 제1 기기가 상기 홈 네트워크에 진입하여 상기 제1 기기가 상기 후보자 기기군에 포함될 수 있음을 알리는 단계를 더 포함하는 홈 네트워크의 중복 기능 제어 방법.The method of claim 1, wherein prior to acquiring the information,
And informing that the first device enters the home network and that the first device is included in the candidate device group.
상기 홈 네트워크에 서비스 소비자 기기가 진입하여 상기 단독 서비스 제공자의 정보와 상기 후보자 기기군의 정보를 취득하는 단계를 더 포함하는 홈 네트워크의 중복 기능 제어 방법.The method of claim 1,
And entering a service consumer device into the home network and acquiring information of the single service provider and information of the candidate device group.
상기 서비스 후보자 기기군에 포함되는 제2 기기가 상기 특정 서비스의 단독 서비스 제공자로부터 상기 홈 네트워크로부터 이탈하는 이벤트를 수신한 경우,
상기 제2 기기가 상기 홈 네트워크 내에 상기 특정 서비스를 제공하는 단독 서비스 제공자가 존재하는 지의 정보와 상기 홈 네트워크 내에서 상기 특정 서비스와 동일한 서비스를 제공하는 후보자 기기군의 정보를 취득하는 단계와,
상기 단독 서비스 제공자가 존재하지 않으면, 상기 제2 기기가 미리 정한 일정한 지연 시간 동안 대기하는 단계와,
상기 지연 시간 동안 상기 홈 네트워크 내의 다른 후보기기로부터의 이벤트가 수신되지 않으면, 상기 제2 기기가 상기 특정 서비스의 단독 서비스 제공자로 선출되었음을 알리는 이벤트를 발생하는 단계를 더 포함하는 홈 네트워크의 중복 기능 제어 방법.The method of claim 1,
When a second device included in the service candidate device group receives an event of leaving the home network from a single service provider of the specific service,
Acquiring, by the second device, information on whether there is a single service provider providing the specific service in the home network and information on a candidate device group providing the same service as the specific service in the home network;
If the single service provider does not exist, waiting for the predetermined delay time by the second device;
If an event from another candidate device in the home network is not received during the delay time, generating an event indicating that the second device has been selected as the sole service provider of the specific service; Way.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110067958A KR101259552B1 (en) | 2011-07-08 | 2011-07-08 | Method for controlling service overlapping of home network and Universal Plug and Play device providing the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110067958A KR101259552B1 (en) | 2011-07-08 | 2011-07-08 | Method for controlling service overlapping of home network and Universal Plug and Play device providing the same |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20130006112A KR20130006112A (en) | 2013-01-16 |
| KR101259552B1 true KR101259552B1 (en) | 2013-04-30 |
Family
ID=47837271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020110067958A Expired - Fee Related KR101259552B1 (en) | 2011-07-08 | 2011-07-08 | Method for controlling service overlapping of home network and Universal Plug and Play device providing the same |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR101259552B1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070042771A (en) * | 2005-10-19 | 2007-04-24 | 삼성전자주식회사 | Method and apparatus for exclusively controlling a device in a home network |
| KR101125847B1 (en) | 2007-07-11 | 2012-03-28 | 삼성전자주식회사 | Method and apparatus for relay between UPnP device and RUI Client |
-
2011
- 2011-07-08 KR KR1020110067958A patent/KR101259552B1/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070042771A (en) * | 2005-10-19 | 2007-04-24 | 삼성전자주식회사 | Method and apparatus for exclusively controlling a device in a home network |
| KR101125847B1 (en) | 2007-07-11 | 2012-03-28 | 삼성전자주식회사 | Method and apparatus for relay between UPnP device and RUI Client |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20130006112A (en) | 2013-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102271152B (en) | Information processing device, information processing method and program | |
| EP2769314B1 (en) | Network connected media gateway for communication networks | |
| US8713199B2 (en) | Method and system for filtering home-network content | |
| CN102263782B (en) | Information processor, information processing method and information processing system | |
| EP2840741B1 (en) | Method and apparatus for using service of home network device based on remote access | |
| JP2008520029A (en) | Method, apparatus and software for tracking content | |
| US9621945B2 (en) | Method and system for continuously playing media resource in device | |
| EP2461523A1 (en) | Systems and methods for operating an appliance control device for an appliance | |
| US20130185424A1 (en) | Apparatus, method and system for managing event information | |
| KR100781508B1 (en) | Method for providing an adapted service environment to a user and apparatus therefor | |
| US20120042347A1 (en) | Information processing device, information processing method, and information processing system | |
| JP5214929B2 (en) | Method and apparatus for managing device services in home network | |
| KR20070082016A (en) | A method of synchronizing a plurality of content directory service devices, a content directory service device and a system | |
| US20120023539A1 (en) | Information processing apparatus and content receiving method | |
| JP5317835B2 (en) | Content attribute information providing apparatus, content attribute information providing method, and computer program | |
| KR101259552B1 (en) | Method for controlling service overlapping of home network and Universal Plug and Play device providing the same | |
| KR20120112523A (en) | Electronic device and operating method of the same | |
| WO2007078081A1 (en) | Method for providing information for power management of devices on a network | |
| KR20100132271A (en) | Apparatus and method for providing integrated content list for home network | |
| KR101236482B1 (en) | Method for controlling resource holding of home network and Universal Plug and Play device providing the same | |
| EP1814261A1 (en) | A method of restoring AV session and a control point for the same | |
| JP6016413B2 (en) | Information processing system, setting screen display method, information processing apparatus, and server | |
| JP5869941B2 (en) | Information processing apparatus and server | |
| KR101538330B1 (en) | Integrated RUI Server in Home Network and the Method for Providing RUI Server Information Using the Integrated RUI Server | |
| US20130318045A1 (en) | Method of pre-browsing and customizing browsing data and digital media device using the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| E13-X000 | Pre-grant limitation requested |
St.27 status event code: A-2-3-E10-E13-lim-X000 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| FPAY | Annual fee payment |
Payment date: 20151224 Year of fee payment: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20170417 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20180406 Year of fee payment: 6 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| FPAY | Annual fee payment |
Payment date: 20190313 Year of fee payment: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20200425 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20200425 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |