KR101001357B1 - Method and Apparatus for constructing transmission tree - Google Patents

Method and Apparatus for constructing transmission tree Download PDF

Info

Publication number
KR101001357B1
KR101001357B1 KR1020080099698A KR20080099698A KR101001357B1 KR 101001357 B1 KR101001357 B1 KR 101001357B1 KR 1020080099698 A KR1020080099698 A KR 1020080099698A KR 20080099698 A KR20080099698 A KR 20080099698A KR 101001357 B1 KR101001357 B1 KR 101001357B1
Authority
KR
South Korea
Prior art keywords
agent
tree
mode
information
operation mode
Prior art date
Application number
KR1020080099698A
Other languages
Korean (ko)
Other versions
KR20100040533A (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 KR1020080099698A priority Critical patent/KR101001357B1/en
Publication of KR20100040533A publication Critical patent/KR20100040533A/en
Application granted granted Critical
Publication of KR101001357B1 publication Critical patent/KR101001357B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree 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/1836Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with heterogeneous network architecture

Abstract

본 발명은 오버레이 멀티캐스트 트리 구성 방법 및 전송 트리 관리 장치에 관한 것으로, 상기 에이전트의 동작 모드를 파악하는 단계; 및 상기 파악된 동작 모드에 기초하여 오버레이 정책을 결정하고, 상기 결정된 정책에 따라 상기 에이전트들의 전송 트리를 구성하는 트리 구성 단계;를 포함하는 것을 특징으로 하는 전송 트리 구성 방법에 의해 해당 응용에 최적화된 전송 트리를 구성할 수 있다. The present invention relates to an overlay multicast tree construction method and a transmission tree management apparatus, the method comprising: identifying an operation mode of the agent; And a tree construction step of determining an overlay policy based on the identified operation mode, and configuring a transport tree of the agents according to the determined policy. You can configure the transport tree.

Description

전송 트리 구성 방법 및 장치{Method and Apparatus for constructing transmission tree}Method and Apparatus for constructing transmission tree

본 발명은 오버레이 멀티캐스트에 관한 것으로, 특히 오버레이 멀티캐스트 서비스에서 전송 트리 구성 방법 및 전송 트리 관리 장치에 관한 것이다. The present invention relates to overlay multicast, and more particularly, to a transmission tree construction method and a transmission tree management apparatus in an overlay multicast service.

인터넷 및 범용 네트워크상에서 실시간 IPTV(Internet Protocol Television) 서비스를 제공하기 위한 그룹 전송 방법은 크게 유니캐스트 방식과 멀티캐스트방식으로 구분할 수 있다. 유니캐스트 방식은 다수의 방송 채널을 소수의 사용자 집단으로 전송하는 방식이고, 멀티캐스트 방식은 소수의 방송 채널을 다수의 사용자 집단으로 전송하는 방식이다. Group transmission methods for providing real-time IPTV (Internet Protocol Television) services on the Internet and general-purpose networks can be largely divided into unicast and multicast. The unicast method is a method of transmitting a plurality of broadcast channels to a small number of user groups, and the multicast method is a method of transmitting a small number of broadcast channels to a plurality of user groups.

멀티캐스트를 위해 IP 주소 체계를 사용하는 IP 멀티캐스트 방식은 네트워크 내에서 동일한 데이터의 중복 전송을 줄일 수 있는 방안이다. 그러나 구조적인 문제, 모든 구성 라우터의 IP 멀티캐스트 지원 문제, 주소 할당 등을 위한 관리 비용 문제 때문에, 대형 ISP(Internet service provider)나 국소의 네트워크망을 이용하는 사업자들만 활용이 가능하다는 한계가 있다. IP multicasting, which uses an IP address scheme for multicasting, can reduce redundant transmission of the same data in a network. However, due to structural problems, IP multicast support of all configured routers, and management cost issues for address allocation, there is a limitation that only a large Internet service provider (ISP) or a provider using a local network can be used.

또한, 최근 방송 콘텐츠를 많은 불특정 개인들이 배포, 서비스함에 따라 이 러한 서비스를 지원하기 위해서는 기존의 유니캐스트 방식으로 수용하기에는 매우 많은 네트워크 자원이 필요하다. 이는 근본적으로 개인이나 소규모 그룹 등의 IPTV 방송의 참여 기회를 제한하는 원인이 될 수 있다. In addition, as many unspecified individuals have recently distributed and serviced broadcast contents, very many network resources are needed to accommodate the existing unicast scheme to support such services. This may fundamentally limit the opportunities for participation in IPTV broadcasting by individuals or small groups.

이 같은 문제점 때문에 오버레이 방식의 응용 계층 멀티캐스트 리우팅 방법을 통해 네트워크 부담을 최소화하려는 방법들이 제안되었다. 오버레이 멀티캐스트란, 현재의 유니캐스트 기반 인터넷 망에 여러 개의 에이전트(agent)를 설치하여, 관련 송수신자 및 에이전트 시스템들을 트리 구조로 구성한 다음, 송신자가 에이전트의 중계 기능을 이용하여 여러 수신자들 간에 멀티캐스트 데이터를 전송할 수 있도록 한 것으로, 일종의 상위계층(overlay)에서의 멀티캐스트 전송 기술을 의미한다.Because of these problems, methods to minimize network burden have been proposed through overlay-based application layer multicast routing. Overlay multicast is to install multiple agents in the current unicast-based Internet network, organize related transceivers and agent systems into a tree structure, and then sender multi-send between multiple receivers using the relay function of the agent. It is to enable the transmission of the cast data, which means a kind of multicast transmission technology in the upper layer (overlay).

이러한 오버레이 멀티캐스트 전송 기술을 통해 별도의 멀티캐스트망을 구축하지 않고도 유니캐스트 망에서도 인터넷생방송, 원격교육, 화상회의 등의 멀티캐스트 응용 서비스를 실현시킬 수 있게 되었다. 오버레이 멀티캐스트 전송 기술에 따라 동일 목적의 전송 노드들이 멀티미디어 데이터를 릴레이 전송함으로써 유니캐스트 방식에 비해 획기적인 멀티캐스트 목적을 달성할 수 있다. Through this overlay multicast transmission technology, multicast application services such as internet live broadcasting, distance education, and video conferencing can be realized in a unicast network without a separate multicast network. According to the overlay multicast transmission technology, transmission nodes of the same purpose relay relay multimedia data to achieve breakthrough multicast purposes compared to the unicast scheme.

여기서 오버레이 멀티캐스트의 향상되는 성능의 정도는 이용될 응용 서비스의 종류에 다른 전송 경로를 설정하는 방법에 의해 차별화되고, 그 방법은 단순히 멀티캐스트 자체의 성능 향상에 국한되지 않고, 구현될 응용 서비스에 따라 다른 방식으로 구현된다. 예를 들어 실시간성을 중요시하는 IPTV 응용 서비스 같은 경우에 가급적 릴레이 단계를 최소화하는 방향으로 전송 구조를 유도한다. 따라서 실제 유니캐스트에 비해 얻어지는 네트워크상의 이득은 크지 않지만, 전송 지연을 최소화하는 방법이 있을 수 있고 반대로 대규모 콘텐츠의 배포 응용의 관점에서는 많은 릴레이 구조를 유도하여 최소한의 네트워크 자원 소모를 통해 많은 콘텐츠 배포가 이루어질 수 있다. Here, the degree of enhanced performance of overlay multicast is differentiated by a method of setting a transmission path that is different from the type of application service to be used, and the method is not limited to simply improving the performance of the multicast itself, but to the application service to be implemented. It is implemented in different ways. For example, in case of an IPTV application service that emphasizes real-time, the transmission structure is directed to minimize the relay step. Therefore, the gain on the network is not large compared to the actual unicast, but there may be a method of minimizing the transmission delay. On the contrary, in view of the large-scale content distribution application, a large number of relay structures may be induced to minimize the amount of network distribution. Can be done.

따라서 구축하고자 하는 응용 시스템이나 규모, 목적에 따라 각각 다른 방식으로 장단점 있는 전송 구조 방법을 사용하며 여기에 릴레이나 사용자 노드의 발생 빈도 및 발생 시점 등도 그 구성의 성능을 좌우하는 중요한 요인이 된다. Therefore, the transmission structure method has advantages and disadvantages in different ways depending on the application system, size, and purpose to be built, and the frequency and timing of occurrence of relay or user node are also important factors that determine the performance of the configuration.

결국 종단의 노드들로 구성되는 P2P(Peer to Peer) 네트워크 환경 하에서 다자간 방송 서비스를 구축하기 위해 고려되어야 할 요인은 다양하며, 측정과 노드 경로 구성의 단계만으로 일반적으로 좋은 성능을 보이는 시스템 구조를 만들어 내는 것에는 한계가 있다. As a result, there are many factors to consider in establishing a multilateral broadcasting service in a peer-to-peer (P2P) network environment consisting of end-to-end nodes. There is a limit to what you offer.

최근 P2P 연구자들 사이에서는 사용자 행동 및 공유 특성을 활용하여 그 성능을 높이는 방법이 추가되어 연구되고 있는데, 예를 들어 콘텐츠 배포시 더 많은 공유가 더 빠른 다운로드를 가능하게 하는 비트토렌토(BitTorrent) 방식과 같은 경우이다. Recently, P2P researchers have been researching how to improve the performance by utilizing user behavior and sharing characteristics. For example, the BitTorrent method, which allows more sharing when downloading content, can be faster. Same case.

P2P 방식이나 오버레이 멀티캐스트 방식의 서비스는 다양한 멀티캐스트 응용에 활용될 수 있으나 효율적인 전송, 관리 구조 작성과 이의 제어에 많은 경우의 수가 존재하며 무엇보다도 사용자의 가입, 탈퇴, 공유 정도와 같은 사용자 행동에 따른 변수가 응용 시스템의 성능에 막대한 영향을 미친다.  P2P or overlay multicast services can be used for various multicast applications, but there are many cases of efficient transmission, management structure creation and control, and above all, user behavior such as user's subscription, withdrawal and sharing. The following variables greatly affect the performance of the application system.

이에 따라 해당 기술의 영역에서는 이 같은 변수를 반영하는 기술적인 효율 성 제고를 위해 각자 목표 시스템에 최적화된 전송 구조 작성과 변수를 반영한 영역들의 연구가 진행되고 있다. Accordingly, in order to improve the technical efficiency reflecting these variables in the area of the relevant technology, researches are being made on the area of transmission structure optimized for each target system and reflecting the variables.

본 발명은 이 같은 배경에서 도출된 것으로 오버레이 전송구조에서 다자간 실시간 IPTV 방송 서비스를 제공함에 있어, 상이한 동작 모드를 갖는 구성 노드들에 각각 상이한 정책의 전송 구조 작성 방법을 적용하는 트리 구성 방법 및 전송 트리 관리 장치를 제공하는 것을 목적으로 한다. The present invention is derived from such a background. In providing a multi-party real-time IPTV broadcasting service in an overlay transmission structure, a tree construction method and a transmission tree applying a method of creating a transmission structure of different policies to respective configuration nodes having different operation modes It is an object to provide a management device.

또한, 방송 서비스 시스템 내의 구성 노드들을 모두 수용하여 안정되고 범용적이며, 서비스 성능을 최적화한 IPTV 서비스를 제공할 수 있는 트리 구성 방법 및 전송 트리 관리 장치를 제공하는 것을 목적으로 한다. In addition, an object of the present invention is to provide a tree construction method and a transmission tree management apparatus capable of accommodating all the configuration nodes in a broadcast service system to provide an IPTV service with stable, general purpose, and optimized service performance.

상기 기술적 과제는 상기 에이전트의 동작 모드를 파악하는 단계; 및 상기 파악된 동작 모드에 기초하여 오버레이 정책을 결정하고, 상기 결정된 정책에 따라 상기 에이전트들의 전송 트리를 구성하는 트리 구성 단계;를 포함하는 것을 특징으로 하는 전송 트리 구성 방법에 의해 달성된다. The technical problem is to identify the operation mode of the agent; And a tree constructing step of determining an overlay policy based on the identified operation mode, and constructing a transport tree of the agents according to the determined policy.

이때 상기 방법은 상기 에이전트의 자원 공유 능력을 반영하여 상기 각 에이전트에 등급을 부여하는 등급화 단계;를 더 포함하고, 상기 트리 구성 단계는 상기 에이전트에 부여된 등급 정보에 기초하여 오버레이 정책을 결정하는 것을 특징으로 한다.In this case, the method may further include a rating step of assigning a rating to each agent by reflecting the resource sharing capability of the agent, and the tree constructing step may determine an overlay policy based on the rating information granted to the agent. It is characterized by.

또한, 상기 에이전트의 동작 모드는 하나의 출력 스트림 채널을 갖는 단일 제공 모드와 다수의 출력 스트림 채널을 갖는 다중 제공 모드를 포함하는 서비스 제공 모드, 하나의 입력 스트림 채널을 갖고 출력 스트림 채널을 갖지 않는 단일 수신 모드와 하나의 입력 스트림 채널로 입력된 방송 콘텐츠를 다수의 출력 스트림 채널로 출력하는 수신 중계 모드를 포함하는 서비스 수신자 모드, 및 다수의 입력 채널 스트림과 다수의 출력 채널 스트림을 포함하여 상기 서비스 제공 모드 에이전트와 상기 서비스 수신 모드 에이전트 간의 방송 콘텐츠 전송을 중계하기 위한 중계 모드를 포함한다.In addition, the operating mode of the agent is a service providing mode including a single serving mode having one output stream channel and a multiple serving mode having multiple output stream channels, a single having a single input stream channel and no output stream channel. The service receiver mode including a reception mode and a reception relay mode for outputting broadcast content input through one input stream channel to a plurality of output stream channels, and providing the service including a plurality of input channel streams and a plurality of output channel streams. And a relay mode for relaying broadcast content transmission between a mode agent and the service receiving mode agent.

한편, 상기 기술적 과제는 상기 에이전트로부터 에이전트 정보를 수신하는 정보 수신부; 상기 수신된 정보에 기초하여 상기 에이전트의 동작 모드를 파악하는 동작 모드 파악부; 상기 동작 모드 파악부에서 파악된 에이전트의 동작 모드를 반영하여 상기 에이전트에 등급을 할당하는 등급 할당부; 및 상기 할당된 등급 정보에 기초하여 상기 에이전트들 간의 전송 트리를 구성하는 트리 구성부;를 포함하는 것을 특징으로 하는 전송 트리 관리 장치에 의해서도 달성된다. On the other hand, the technical problem is an information receiving unit for receiving agent information from the agent; An operation mode determining unit configured to determine an operation mode of the agent based on the received information; A class allocator configured to assign a class to the agent by reflecting an operation mode of the agent identified by the operation mode determiner; And a tree constructing unit constituting a transmission tree between the agents on the basis of the assigned class information.

또한, 상기 에이전트로부터 방송 등록 요청 혹은 방송 수신 요청을 수신하면, 상기 수신된 요청에 따라 상기 에이전트의 등급 정보에 기초하여 후보 노드 리스트를 생성하여 상기 에이전트로 제공하는 리스트 제공부;를 더 포함하고, 상기 트리 구성부는 상기 에이전트로부터 상기 제공된 후보 노드 리스트 중 선택된 노드 정보를 획득하여, 획득된 정보를 반영하여 전송 트리를 구성하는 것을 특징으로 한다. In addition, when receiving a broadcast registration request or broadcast reception request from the agent, the list providing unit for generating a candidate node list based on the rating information of the agent according to the received request to provide to the agent; The tree constructing unit obtains selected node information from the provided candidate node list from the agent, and configures a transmission tree by reflecting the obtained information.

본 발명의 일 실시예에 따른 IPTV 및 인터넷 방송 응용 플랫폼은 모든 구성 노드가 동일한 정책에 의해 제어되는 오버레이 멀티캐스트 방법에 비해 다양한 사용자 행동 상태를 전송 트리 구성시에 반영함으로써, 해당 응용에 최적화된 전송 트리를 구성할 수 있다. 뿐만 아니라, 많은 양의 자원 공유, 및 최소한의 이탈 경향을 보이는 노드 및 그룹에게 전송 트리 구성시에 상대적으로 전송 지연을 최소화하고, 최소 사용자 트리 링크에 배치하는 인센티브(incentive) 정책을 사용함으로써, 이를 통해 P2P(Peer to Peer) 오버레이 방식의 최대 장점인 자원 공유를 유도하여 시스템의 확장성을 극대화할 수 있다. 또한, 콘텐츠 연계 전송 트리를 구성하여 커뮤니티 기반의 서비스 전송 트리를 구성할 수도 있다. IPTV and Internet broadcasting application platform according to an embodiment of the present invention is optimized for the application by reflecting the various user behavior state in the configuration of the transmission tree, compared to the overlay multicast method in which all configuration nodes are controlled by the same policy You can construct a tree. In addition, by using an incentive policy that minimizes transmission delays in the construction of transport trees and places them on the minimum user tree link to nodes and groups that share a large amount of resources, and that they tend to leave minimally, Through this, it is possible to maximize the scalability of the system by inducing resource sharing, which is the biggest advantage of the peer-to-peer overlay method. In addition, a content-based transmission tree may be configured to configure a community-based service delivery tree.

한편, 오버레이 멀티캐스트 방식에 있어 특정 정책에 따른 트리를 구성하기 위해 사용되는 알고리즘은 서비스 대상으로 하는 응용 서비스의 성능을 증가시킬 수 있다. 하지만 역으로 최적화된 트리 구성을 위해 부가되는 계산량에 의해, 시스템상에서 트리 구성에 필요한 제어 데이터 등이 부가되어야 하고, 이에 따라 이를 위한 자원 할당량 및, 세션 설정에 대한 시간이 소요된다는 단점이 따르게 된다. 그러나 본 발명에 따르면, 각 에이전트마다 할당된 등급 정보를 반영하여 트리를 구성함으로써 별도의 전송 트리 구성 정책에 대한 추가 제어 메시지의 교환이 필요하지 않기 때문에, 그만큼 자원 및 시간을 절약할 수 있다. 또한, 오버레이 멀티캐스트의 주요 요소인 노드 이탈 및 변경에 따른 트리 복구 비용을 최소화함으로써 효율성을 높일 수 있다는 효과가 있다. Meanwhile, in the overlay multicast scheme, an algorithm used to construct a tree according to a specific policy may increase the performance of an application service targeted for a service. However, due to the calculation amount added for the optimized tree configuration, the control data necessary for the tree configuration in the system should be added, and thus there is a disadvantage in that resource allocation and time for setting up the session are required. However, according to the present invention, since the tree is configured by reflecting the grade information allocated to each agent, it is not necessary to exchange additional control messages for a separate transport tree configuration policy, thereby saving resources and time. In addition, it is possible to increase efficiency by minimizing tree recovery costs due to node detachment and change, which are the main elements of overlay multicast.

전술한, 그리고 추가적인 본 발명의 양상들은 첨부된 도면들을 참조하여 설 명되는 바람직한 실시예들을 통해 더욱 명확해질 것이다. 이하에서는 본 발명을 이러한 실시예들을 통해 당업자가 용이하게 이해하고 재현할 수 있도록 상세히 설명하기로 한다. The foregoing and further aspects of the present invention will become more apparent through the preferred embodiments described with reference to the accompanying drawings. Hereinafter, the present invention will be described in detail so that those skilled in the art can easily understand and reproduce the present invention through these embodiments.

도 1은 본 발명의 일실시예에 따른 전송 트리 관리 장치의 구성을 도시한 블록도이다. 본 실시예에 있어서, 전송 트리 관리 장치는 오버레이 멀티캐스트 트리 구성 및 관리를 수행하기 위해, 시스템 내의 다수의 에이전트들과 트리 제어 채널을 설정한다. 전송 트리 관리 장치는 설정된 트리 제어 채널을 통해 에이전트들로부터 방송 송신 요청, 방송 수신 요청 및 트리 접속 요청 메시지 등을 수신하며, 그에 따른 응답 메시지를 에이전트들로 전달한다. 1 is a block diagram showing the configuration of a transmission tree management apparatus according to an embodiment of the present invention. In this embodiment, the transport tree management apparatus establishes a tree control channel with a plurality of agents in the system to perform overlay multicast tree configuration and management. The transport tree management apparatus receives a broadcast transmission request, a broadcast reception request, a tree access request message, and the like from agents through a configured tree control channel, and transmits a response message accordingly.

전송 트리 관리 장치로부터의 응답 메시지에 따라 각 에이전트들은 서로 데이터 채널을 형성하고, 형성된 데이터 채널을 통해 데이터 전송을 수행할 수 있다. According to the response message from the transport tree management apparatus, each agent may form a data channel with each other and perform data transmission through the formed data channel.

구체적으로 전송 트리 장치는 도 1에 도시된 바와 같이 정보 수신부(100), 노드 등록부(120) 및 트리 구성부(130)를 포함한다. In more detail, as illustrated in FIG. 1, the transmission tree apparatus includes an information receiver 100, a node register 120, and a tree constructing unit 130.

정보 수신부(100)는 시스템 내의 다수의 에이전트들로부터 트리 제어 채널을 통해 에이전트 정보를 수신한다. 본 실시예에 있어서 에이전트 정보는 에이전트의 IP 어드레스, 포트 정보, 입력 스트림 채널 정보 및 출력 스트림 채널 정보, 밴드위드(bandwidth) 정보들 중 적어도 일부를 포함한다. 그러나 이에 한정되지는 않는다. The information receiving unit 100 receives agent information through a tree control channel from a plurality of agents in the system. In the present embodiment, the agent information includes at least some of the IP address, port information, input stream channel information and output stream channel information, and bandwidth information of the agent. However, it is not limited thereto.

노드 등록부(120)는 시스템 내의 에이전트들의 정보를 파악한다. 구체적으로 노드 등록부(120)는 동작 모드 파악부(122)와 등급 할당부(124)를 포함한다. The node register 120 grasps information of agents in the system. In more detail, the node register 120 includes an operation mode determiner 122 and a class allocator 124.

동작 모드 파악부(122)는 정보 수신부(100)로 수신되는 에이전트 정보에 기초하여 해당 에이전트의 동작 모드를 파악한다. 본 실시예에 있어서 동작 모드 파악부(122)는 에이전트들을 그 동작 모드 별로 크게는 서비스 제공자(PP), 중계자(Relayer), 서비스 수신자(client)로 나눌 수 있다. 보다 상세하게 서비스 제공자는 단일 제공 모드, 다중 제공 모드로 나뉘고, 서비스 수신자는 단일 수신 모드, 수신 중계 모드로 나뉜다. 이 같은 각 동작 모드에 대해 보다 구체적인 설명은 후술한다. The operation mode determiner 122 determines an operation mode of the corresponding agent based on the agent information received by the information receiver 100. In the present embodiment, the operation mode determiner 122 may divide agents into service providers (PPs), relays, and service receivers according to their operation modes. In more detail, the service provider is divided into a single provision mode and a multiple provision mode, and the service receiver is divided into a single reception mode and a reception relay mode. Each such operation mode will be described later in more detail.

등급 할당부(124)는 동작 모드 파악부(122)에서 파악된 에이전트의 동작 모드 정보를 반영하여, 각 에이전트에 등급을 할당한다. 또한, 등급 할당부(124)는 각 에이전트의 네트워크 및 시스템 자원 정보, 에러 빈도 등과 같은 자원 공유 능력을 반영하여 상이한 등급을 할당한다. 본 실시예에 있어서, 등급 할당부(124)는 출력 스트림 개수가 많을수록 낮은 등급 번호가 부여된다. 또한, 계층화된 콘텐츠의 공유 범위가 높을수록 낮은 등급 번호를 부여한다. 즉, 등급 할당부(124)는 네트워크와 시스템의 자원 공유 능력 및, 제공되는 방송 콘텐츠의 공유 범위에 따라 각 에이전트에 등급 번호를 부여한다. The class assignment unit 124 reflects the operation mode information of the agent identified by the operation mode determination unit 122 and assigns a class to each agent. In addition, the class allocator 124 allocates different classes by reflecting resource sharing capabilities such as network and system resource information and error frequency of each agent. In the present embodiment, the rank assigning unit 124 is assigned a lower rank number as the number of output streams increases. In addition, the higher the sharing range of the hierarchical content, the lower the rank number. That is, the grade allocation unit 124 assigns a grade number to each agent according to the resource sharing capability of the network and the system and the sharing range of the broadcast content provided.

등급 할당부(124)에서 할당되는 등급 정보는 새로운 오버레이 트리를 구성할 때 에이전트의 송수신 권한, 즉 부모 노드 중계 노드를 결정할 때 비교 값으로 이용될 수 있다. The class information allocated by the class assigning unit 124 may be used as a comparison value when determining the transmission / reception rights of the agent, that is, the parent node relay node when constructing a new overlay tree.

트리 구성부(130)는 등급 할당부(124)에서 할당된 에이전트의 등급 정보를 반영하여 전송 트리를 구성한다. 그리고, 트리 구성 정보를 에이전트들로 전달하 여, 에이전트들이 해당 트리 구성 정보에 따라 양방향 데이터 전송 채널을 형성하도록 한다. The tree constructing unit 130 configures the transmission tree by reflecting the class information of the agent allocated by the class allocating unit 124. Then, the tree configuration information is delivered to the agents so that the agents form a bidirectional data transmission channel according to the tree configuration information.

트리 구성부(130)는 등급 정보를 반영하여, 트리를 구성한다. 즉, 자원 공유 능력이 큰 노드가 트리상 상위 깊이(Depth)에 위치하도록 함으로써, 오버레이 트리의 성능을 개선한다. The tree constructing unit 130 reflects the grade information to form a tree. That is, the performance of the overlay tree is improved by having a node having a large resource sharing capability at a higher depth on the tree.

또한 자원 공유 능력이 적은 노드는 상대적으로 소스로부터 많은 상대적 전송 지연(RDP)을 갖도록 하위 깊이(Depth) 즉 낮은 트리 끝단 쪽에 위치하도록 한다. 이에 따라 통계적으로 트리의 이탈과 변경이 많은, 다른 에이전트와 자원 공유를 하지 않는 에이전트들을 트리 끝단에 위치하도록 함으로써 트리 복구 성능을 높일 수 있다는 효과가 있다. In addition, nodes with low resource sharing capability are located at a lower depth, that is, at the end of a lower tree so that a relatively high transmission delay (RDP) from a source can be obtained. Accordingly, the tree recovery performance can be improved by placing agents that do not share resources with other agents, which are statistically deviated and changed, at the end of the tree.

본 발명에 따른 전송 트리 관리 장치는 리스트 제공부(140)를 더 포함한다. 리스트 제공부(140)는 에이전트로부터 방송 등록 요청 혹은 방송 수신 요청을 수신하면, 수신된 요청에 따라 그 요청을 전송한 에이전트의 등급 정보에 기초하여 부모 노드 후보 리스트를 생성하여 그 에이전트로 제공한다. The transport tree management apparatus according to the present invention further includes a list providing unit 140. When the list providing unit 140 receives a broadcast registration request or a broadcast reception request from an agent, the list providing unit 140 generates a parent node candidate list based on the rating information of the agent that transmitted the request and provides it to the agent.

이 후에, 요청을 전송한 에이전트는 제공된 부모 노드 후보 리스트들 중 측정 정보들을 반영하여 최적의 부모 노드를 선택할 수 있다. 트리 구성부(130)는 에이전트로부터 선택된 최적의 부모 노드 정보를 획득하여, 획득된 부모 노드 정보에 기초하여 전송 트리를 구성한다. Thereafter, the agent sending the request may select an optimal parent node by reflecting measurement information among the provided parent node candidate lists. The tree constructing unit 130 obtains optimal parent node information selected from the agent and constructs a transmission tree based on the obtained parent node information.

본 실시예에 있어서, 모든 동작 모드의 에이전트는 동일한 구조로 구현될 수 있다. 사용자가 각자의 용도에 따라 에이전트를 사용함에 따라 그 동작 모드가 결정되기 때문이다. 이때, 입력 스트림 채널과 출력 스트림 채널의 수는 프로그램 실행시 전송 트리 관리 장치에 보고되는 시스템과 네트워크 자원 측정값에 따라 가변될 수 있다. In this embodiment, the agents in all modes of operation may be implemented in the same structure. This is because the mode of operation is determined as the user uses the agent according to his purpose. In this case, the number of input stream channels and output stream channels may vary according to system and network resource measurement values reported to the transport tree management apparatus when the program is executed.

본 발명의 일 실시예에 따른 전송 트리 관리 장치는 이 같은 정보를 통해 각 에이전트의 용도별, 성능별, 자원 공유 정도에 대한 정보를 활용하여 그 동작 모드 및 등급을 평가한다. 그리고, 그 동작 모드 및 등급 정보를 반영하여 적절한 정책에 따라 오버레이 전송 트리를 구성하도록 에이전트로 트리 구성 지시를 전송한다. 즉, 각 에이전트가 전송 트리 구조하에서 동일한 시간에 접속(join)하더라도 그 에이전트의 용도, 성능, 자원 공유 정도에 따라 다른 트리의 깊이(Depth)를 갖게 된다. 이에 따라 서비스 제공자로부터 상대적 전송 지연 및 공유 정도가 조정될 수 있다. 또한, 트리 복구시에도 트리 관리 장치가 강제로 특정 에이전트의 동작 모드를 변경하고, 그 에이전트로 스트림을 공급할 부모 노드의 후보 리스트를 선별적으로 전송함으로써, 효율적인 오버레이 멀티캐스트 정책을 적용할 수 있다. The transmission tree management apparatus according to an embodiment of the present invention evaluates an operation mode and a grade by using information on usage, performance, and resource sharing degree of each agent through such information. Then, the tree configuration instruction is transmitted to the agent to configure the overlay transmission tree according to the appropriate policy by reflecting the operation mode and class information. That is, even if each agent joins at the same time in the transport tree structure, it has different tree depths according to the purpose, performance, and resource sharing of the agent. Accordingly, the relative transmission delay and the sharing degree from the service provider may be adjusted. In addition, during tree recovery, the tree management apparatus forcibly changes the operation mode of a specific agent and selectively transmits a candidate list of parent nodes to supply streams to the agent, thereby applying an efficient overlay multicast policy.

도 2는 본 발명의 일 실시예에 따라 에이전트의 동작 모드 설명을 위한 예시도이다. 2 is an exemplary diagram for explaining an operation mode of an agent according to an embodiment of the present invention.

도 2 에 도시된 바와 같이 본 발명의 일실시예에 따라 에이전트들은 그 동작 모드 별로 분류될 수 있다. 먼저 에이전트들은 그 동작 모드 별로 크게는 서비스 제공자(PP), 중계자(Relayer), 서비스 수신자(client)로 나눌 수 있다. 보다 상세 하게 서비스 제공자는 단일 제공 모드, 다중 제공 모드로 나뉘고, 서비스 수신자는 단일 수신 모드, 수신 중계 모드로 나뉜다. As shown in FIG. 2, agents may be classified according to their operation modes according to an embodiment of the present invention. First, agents may be classified into service providers (PPs), relays, and service receivers according to their operation modes. In more detail, the service provider is divided into a single providing mode and a multiple providing mode, and the service receiver is divided into a single receiving mode and a receiving relay mode.

각 에이전트의 개략적인 행동 및 제약 조건 등을 동작 모드 별로 살펴보면, 먼저 단일 제공 모드(PP mode)의 에이전트는 입력 스트림 채널은 갖지 않고, 하나의 출력 스트림 채널을 갖는 경우로, 방송 데이터를 중계 모드의 에이전트로만 송출한다. 즉, 단일 제공 모드의 에이전트는 하나의 방송 스트림을 송출하는 모드로 스트림 서버 역할을 수행할 수는 없다. 방송 데이터 즉, 프로그램당 하나의 송출 스트림을 중계 모드의 에이전트로 전달한다. Looking at the rough behavior and constraints of each agent by operation mode, first, an agent in a single mode (PP mode) does not have an input stream channel and has one output stream channel. Send only to the agent. That is, the agent in the single provision mode cannot play the role of a stream server in a mode of transmitting one broadcast stream. Broadcast data, that is, one transmission stream per program is delivered to the agent in the relay mode.

다중 제공 모드 (PP-SVR mode)의 에이전트는 단일 제공 모드(PP mode)와 마찬가지로 입력 스트림 채널은 갖지 않고, 다수의 출력 스트림 채널을 갖는 경우이다. 이는 방송 플랫폼의 성능이 높지 않거나 최소 규모의 방송 환경이 필요할 때 유용하다. 본 실시예에 있어서, 다중 제공 모드 에이전트는 중계 모드 에이전트와 수신 중계 모드의 에이전트로 방송을 송출할 수 있다. The agent in the multi-provision mode (PP-SVR mode) does not have an input stream channel like the single provision mode (PP mode), and has a plurality of output stream channels. This is useful when the performance of a broadcast platform is not high or a minimum broadcast environment is required. In the present embodiment, the multi-provision mode agent may transmit a broadcast to the relay mode agent and the agent in the reception relay mode.

중계 모드(Relay mode)의 에이전트는 IPTV 방송 미디어 플랫폼을 위해 사용되는 일반적인 분산 스트림 서버 자원으로, 필요한 스트림 가용성에 따라 네트워크상에 설치되는 모드이다. 중계 모드의 에이전트들은 콘텐츠 전송 네트워크 (CDN : Content Delivery Networks)의 구성자로 콘텐츠에 상관없이 네트워크상에 분산 설치됨으로써 서버의 트래픽을 분산하고, 멀티캐스트 주소 체계 지원 없이 오버레이 멀티캐스트를 지원할 수 있도록 한다. 중계 모드(Relay mode)의 에이전트는 다수의 입력 스트림 채널과 다수의 출력 스트림 채널을 가지며, 이때 입력 스트림 채널 과 출력 스트림 개수는 네트워크 대역폭과 시스템 능력에 따라 가변 된다. 중계 모드의 에이전트는 기본적으로 다른 모드의 에이전트들과 미디어 송수신이 허용된다. The relay mode agent is a general distributed stream server resource used for an IPTV broadcasting media platform and is installed in a network according to required stream availability. Agents in relay mode are configurators of Content Delivery Networks (CDN), which are distributed on the network regardless of content, to distribute server traffic and to support overlay multicast without multicast addressing. The relay mode agent has a plurality of input stream channels and a plurality of output stream channels, where the number of input stream channels and output streams varies according to network bandwidth and system capability. Agents in relay mode are allowed to send / receive media with agents in other modes by default.

단일 수신 모드(client)의 에이전트는 콘텐츠 공유를 허용하지 않는, 하나의 입력 스트림 채널만을 갖고 출력 채널 스트림은 갖지 않는 단순 클라이언트이다. 중계 모드의 에이전트로부터 방송 콘텐츠 스트림을 수신할 수 있다. The agent in a single receive mode (client) is a simple client that does not allow content sharing, only one input stream channel and no output channel stream. The broadcast content stream may be received from an agent in the relay mode.

수신 중계 모드(client-peer mode)의 에이전트는 하나의 입력 스트림 채널과 다수의 출력 스트림 채널을 갖는다. 이때, 출력 스트림 개수는 측정을 통해 결정될 수 있다. 수신 중계 모드의 에이전트는 단일 수신 모드와 중계 모드가 결합된 형태의 기능을 갖는다. 즉, 단일 수신 모드인 클라이언트로서 다른 시스템에 미디어를 공유할 수 있는 형태로, 다중 제공 모드의 에이전트 혹은 중계 모드 에이전트로부터 미디어를 수신하고, 다른 수신 중계 모드 에이전트나 단일 수신 모드 에이전트로 미디어를 송신할 수 있다. 그러나 이에 한정되지 않고 중계 모드 에이전트로 전송하는 것도 가능하다. 따라서 수신 중계 모드(client-peer mode) 에이전트에 의해 최소한의 중계 모드 자원으로 가용성을 극대화할 수 있는 P2P 형태로 사용 가능하다. An agent in client-peer mode has one input stream channel and multiple output stream channels. In this case, the number of output streams may be determined through measurement. The agent in the receiving relay mode has a function in which a single receiving mode and a relay mode are combined. In other words, as a client in a single receive mode, media can be shared with other systems, and the media can be received from an agent in multi-provision mode or a relay mode, and sent to another receive relay mode agent or a single receive mode agent. Can be. However, the present invention is not limited thereto and may be transmitted to a relay mode agent. Therefore, it can be used in the form of P2P that can maximize availability with minimum relay mode resources by a client-peer mode agent.

한편, 도 2에서 알 수 있듯이, 전송 트리 관리 장치는 모든 에이전트에 TCP(Transmission Control Protocol)로 연결된다. 즉, 본 실시예에 있어서 전송 트리 관리 장치는 모든 동작 모드에 속하는 에이전트들과 TCP 및 HTTP(HyperText Transfer Protocol)를 통해 표준 구조의 메시지와 XML 데이터를 교환한다.On the other hand, as can be seen in Figure 2, the transport tree management apparatus is connected to all agents by Transmission Control Protocol (TCP). That is, in the present embodiment, the transport tree management apparatus exchanges messages and XML data of a standard structure with agents belonging to all operating modes through TCP and HyperText Transfer Protocol (HTTP).

또한, 점선으로 표시된 원 내부의 에이전트들은 중계 모드의 에이전트들이고, IPTV 플랫폼으로서 분산 스트림 서버의 역할을 수행한다. 전송 트리 관리 장치(10)에 의해 구성된 트리에 따라 에이전트들은 UDP(User Datagram Protocol)에 의해 방송 콘텐츠의 스트림 전송을 수행한다. In addition, the agents inside the circle indicated by the dotted lines are agents in relay mode, and serve as distributed stream servers as IPTV platforms. According to the tree configured by the transmission tree management apparatus 10, agents perform stream transmission of broadcast content by UDP (User Datagram Protocol).

도 3 내지 도 5은 본 발명의 일 실시예에 따라 동작 모드에 따른 에이전트에 대한 전송 트리 구성 형태를 도시한 예시도이다. 3 to 5 are exemplary diagrams illustrating a configuration of a transport tree for an agent according to an operation mode according to an embodiment of the present invention.

도 3에 도시된 바와 같이 전송 트리 관리 장치(10)는 각 에이전트의 동작 모드를 반영하여 트리 구성을 수행할 수 있다. 도 4 와 도 5은 실제 물리 네트워크에서 에이전트에 형성되는 오버레이 전송 트리 구조의 예시도이다. 본 발명의 일 실시예에 따른 동작 모드를 반영하는 인센티브 정책에 따라 중계 모드의 에이전트(Relay Agent)들은 중간 정도의 깊이(Depth)에 집중적으로 배치된다. 그리고 단일 수신 모드의 에이전트(Client Agent)는 트리 말단에 구성되는 비율이 높다. 상대적으로 수신 중계 모드의 에이전트(Client-peer Agent)는 더 낮은 단계의 트리 깊이(Depth)를 가짐으로써, 상대적 전송 지연에 대해 단일 수신 모드 에이전트에 대해 인센티브(incentive)를 갖는다. 또한, 깊이(Depth) 길이가 무한정 길어지는 사향 트리(skewed tree)의 발생을 방지할 수 있고, 이에 따라 전체 전송 트리 구조의 성능을 향상시킬 수 있는 효과가 있다. As shown in FIG. 3, the transport tree management apparatus 10 may perform a tree configuration by reflecting an operation mode of each agent. 4 and 5 are exemplary diagrams of an overlay transmission tree structure formed on an agent in an actual physical network. According to an incentive policy reflecting an operation mode according to an embodiment of the present invention, relay agents in a relay mode are intensively disposed at a medium depth. In addition, the ratio of the agent configured in the single reception mode is high at the end of the tree. The client-peer agent in the receiving relay mode has a lower tree depth, thereby incentivizing the single receiving mode agent for the relative transmission delay. In addition, it is possible to prevent the generation of a skewed tree in which the depth length is infinitely long, thereby improving the performance of the entire transmission tree structure.

도 6 과 도 7은 본 발명의 일 실시예에 따라 에이전트에 등급 할당 과정을 설명하기 위한 예시도이다. 6 and 7 are exemplary diagrams for explaining a process of assigning a grade to an agent according to an embodiment of the present invention.

전송 트리 관리 장치는 에이전트에 시스템상에서 정의된 범위 내의 등급 번호를 부여함으로써 등급을 할당할 수 있다. 먼저, 전송 트리 관리 장치는 공유 자원 정보를 파악하기 위해서, 공유가 가능한 다중 제공 모드(PP-SVR), 중계 모드(Relay), 수신 중계 모드(Client-Peer)의 에이전트에 대해 네트워크 자원 정보를 체크한다(S700). 본 실시예에 있어서, 일반적으로 콘텐츠 종류에 상관없이 많은 자원을 공유하는 중계 모드(Relay)의 에이전트에는 낮은 등급 번호를 부여한다. 예를 들어 시스템 내에서 정의된 등급의 개수가 총 20개일 때 각 등급별로 등급 ㅂ번호를 1~20으로 표현하고, 중계 모드 에이전트에는 그 에이전트 능력에 따라 5~10 사이의 등급이 책정될 수 있다. The transport tree management apparatus may assign a class to the agent by assigning a class number within a range defined on the system. First, the transport tree management apparatus checks the network resource information for the agents in the multi-provision mode (PP-SVR), relay mode (Relay), and reception relay mode (Client-Peer) that can be shared to identify the shared resource information. (S700). In the present embodiment, a low rank number is generally assigned to an agent in a relay mode (Relay) that shares many resources regardless of the content type. For example, when the total number of classes defined in the system is 20, the class number is expressed as 1 to 20 for each class, and the relay mode agent may be assigned a rating between 5 and 10 depending on the agent capability. .

이때 등급은 해당 에이전트의 입/출력 스트림 채널 개수에 따라 결정된다. 전송 트리 관리 장치는 프로그램 실행시에 에이전트로부터 보고되는 정보 및 네트워크 자원 측정값에 따라 각 에이전트의 입/출력 스트림 채널 개수를 파악할 수 있다(S710). 본 실시예에 있어서, 출력 스트림 채널 개수가 많을수록 낮은 등급 번호가 부여된다.In this case, the grade is determined according to the number of input / output stream channels of the corresponding agent. The transport tree management apparatus may determine the number of input / output stream channels of each agent according to the information reported from the agent when the program is executed and the network resource measurement value (S710). In this embodiment, the larger the number of output stream channels, the lower the class number is assigned.

추가적으로 후술할 콘텐츠 계층화 그룹 번호를 더 반영하여 결정된다. 그리고, 여기에 계층화된 콘텐츠(동영상 0 => 영화 1 => 액션 2)에서 공유 범위가 높을수록 즉, 계층 번호가 작을수록 낮은 등급 번호를 부여한다. 즉, 네트워크와 에이전트 자체 사양에 의해 7~9등급으로 결정된 중계 모드 에이전트는 콘텐츠 공유 범위에 대한 정보를 반영하여 등급 번호 7 이 부여될 수 있다. 이때, 콘텐츠는 방 송 제공을 위한 등록 콘텐츠 이거나(S720), 중계되기 위한 공유 콘텐츠(S722), 혹은 수신 요청에 따른 선택 콘텐츠(S724)일 수 있다.  In addition, it is determined by further reflecting the content layering group number to be described later. In addition, in the layered content (video 0 => movie 1 => action 2), the higher the sharing range, that is, the lower the hierarchy number, the lower rank number is assigned. That is, the relay mode agent determined to the 7-9 level by the network and the agent itself specification may be assigned a level number 7 reflecting the information on the content sharing range. In this case, the content may be registered content for providing a broadcast (S720), shared content for relaying (S722), or selected content (S724) according to a reception request.

그리고, 전송 트리 관리 장치는 획득된 조건들을 반영하여 시스템 내의 에이전트들에 각각 상이한 등급을 부여한다(S730). 이 후에, 에이전트들에 대해 부여된 등급 정보를 반영하여 트리를 구성한다(S740). 이에 따라 인센티브(incentive) 오버레이 트리 구성 알고리즘을 적용함에 있어, 단순히 동작 모드에 따른 트리 구성 구조보다 더 성능 지향적인 최적의 알고리즘을 산출할 수 있다. 즉, 시스템 내의 에이전트에 네트워크, 시스템 자원, 에러 빈도와 같은 자원 공유 능력에 따라 상이한 등급을 부여하고 이 등급 정보를 트리 구성시에 반영함으로써, 보다 실질적인 조건을 반영하여 차별적인 트리 내의 위치를 구현하는 것이 가능하다. The transport tree management apparatus assigns different grades to agents in the system by reflecting the obtained conditions (S730). After that, the tree is configured by reflecting the grade information granted to the agents (S740). Accordingly, in applying an incentive overlay tree configuration algorithm, an optimal algorithm that is more performance-oriented than a tree structure structure according to an operation mode may be calculated. That is, by assigning different grades to agents in the system according to resource sharing capability such as network, system resources, and error frequency and reflecting this grade information in the tree construction, it is possible to implement different positions in the tree to reflect more practical conditions. It is possible.

또한, 도 7에 도시된 바와 같이, 에이전트의 네트워크 자원 정보(S800)와 에이전트의 동작 모드(S820)를 반영하여 등급 범위를 결정하고, 제공되는 콘텐츠의 계층 레벨 정보(S810)를 해쉬(hash) 함수를 이용하여 결합함으로써 에이전트에 등급 번호를 부여한다(S830). 이때 전술한 바와 같이, 등급 번호가 낮게 설정된 에이전트에서 등급이 높게 설정된 에이전트로 데이터 전송이 이루어진다. In addition, as shown in FIG. 7, the rating range is determined by reflecting the network resource information S800 of the agent and the operation mode S820 of the agent, and the hierarchical level information S810 of the provided content is hashed. A rank number is assigned to the agent by combining using a function (S830). In this case, as described above, data is transmitted from the agent set to a low grade number to the agent set to a high grade.

도 8은 등급에 따라 제공되는 콘텐츠 내용을 반영한 트리 구성 예시도이다. 중계 모드의 에이전트를 콘텐츠 내용에 따라 오버레이 멀티캐스트 상에서 자료 전송 구조에 반영한다. 그리고, 사용자가 중계 모드 에이전트를 이용하여 해당 분류의 콘텐츠를 수신받는 환경을 구성할 수 있고, 전송 트리 구성에 대해 콘텐츠 분류 정보를 반영시킬 수 있다. 즉, 에이전트의 등급은 콘텐츠 종류에 따른 계층화 정보 및 해당 에이전트의 능력의 조합으로 정해진다. 예를 들어 모든 형태의 방송 콘텐츠가 중계 가능한 에이전트는 등급 번호 1이 부여되고, 방송 콘텐츠 들 중 TV 혹은 UCC 하나만 중계 가능한 에이전트에는 등급번호 2가 부여된다. 또한, 그 중에서도 TV 중 영화 혹은 스포츠만 중계 가능한 경우와, UCC 중 영화와 스포츠만 중계 가능한 경우에도 등급 번호 결정시에 반영된다. 즉, 도 8에 도시된 바와 같이 그 방송 콘텐츠 형태가 전송 트리 구성에 반영된다. 8 is an exemplary tree configuration reflecting content contents provided according to a rating. The relay mode agent is reflected in the data transmission structure on the overlay multicast according to the content content. In addition, the user may configure an environment in which the user receives the content of the classification using the relay mode agent, and may reflect the content classification information in the transmission tree configuration. In other words, the grade of the agent is determined by a combination of hierarchical information according to the content type and the capability of the agent. For example, an agent capable of relaying all types of broadcast content is assigned a rating number 1, and an agent capable of relaying only one TV or UCC among the broadcast contents is assigned a rating number 2. Also, among the cases where only movies or sports can be relayed in the TV and only those movies and sports in the UCC can be relayed, it is reflected when determining the rating number. That is, as shown in FIG. 8, the broadcast content type is reflected in the transmission tree configuration.

도 9는 본 발명의 일 실시예에 따른 부모 노드 리스트 제한 과정 설명을 위한 예시도이다. 9 is an exemplary diagram for explaining a process of restricting a parent node list according to an embodiment of the present invention.

본 실시예에 있어서, 각 에이전트별로 부여된 등급 정보를 반영하여 전송 트리를 구성함에 있어서, 등급 번호가 낮을수록 자원의 공유 정도가 높다는 점을 반영한다. 즉, 등급 번호가 낮은 에이전트는 공유의 정도가 높고, 많은 시스템 자원을 제공할 수 있는 것으로 IPTV 사업자가 설치하는 중계 모드의 에이전트가 이에 해당된다. 등급이 낮은 에이전트는 자원의 공유 정도가 높기 때문에, 입력 스트림 채널과 출력 스트림 채널의 개수 또한 많다. In this embodiment, in constructing the transmission tree by reflecting the grade information assigned to each agent, the lower the class number, the higher the degree of resource sharing. In other words, the agent having a low rank number has a high degree of sharing and can provide a lot of system resources, which is an agent in a relay mode installed by an IPTV provider. Since low-grade agents have a high degree of resource sharing, the number of input stream channels and output stream channels is also large.

즉, 단일 제공 모드(PP)의 에이전트는 콘텐츠 공급자이기 때문에 가장 낮은 등급 번호가 설정된다. 그리고, 다중 제공 모드(PP-SVR)의 에이전트, 중계 모드(Relay)의 에이전트, 수신 중계 모드(Client-peer)의 에이전트, 단일 수신 모드(Client)의 에이전트 순으로 등급 번호가 높아진다. 그러나 이때 해당 콘텐츠의 공유 조건에 의해 중계 모드(Relay) 에이전트와 수신 중계 모드(Client-peer) 에이전트의 등급 번호 순서는 바뀔 수도 있다. 또한, 등급의 영역 공간이 충분하고, 해당 영역에서 이들 등급 간격 및 순서는 공유하는 콘텐츠 계층의 범위와, 시스템 자원에 따라 다양하게 적용될 수 있다. That is, the lowest rank number is set because the agent in single serving mode (PP) is a content provider. The rank number is increased in the order of the agent in the multi-provision mode (PP-SVR), the agent in the relay mode (Relay), the agent in the reception relay mode (Client-peer), and the agent in the single reception mode (Client). However, at this time, the rank number order of the relay mode (relay) agent and the receiving relay mode (client-peer) agent may be changed by the sharing condition of the corresponding content. In addition, there is sufficient space of graded regions, and the grade intervals and order in the corresponding regions may be variously applied according to the range of shared content layers and system resources.

한편, 각 에이전트에 부여된 등급 정보는 오버레이 트리 구성시에 각 에이전트의 송수신 권한, 부모 노드 및 중계 노드를 결정할 때의 비교값으로 활용될 수 있다. 이를 이용하여 많은 자원을 공유하는 에이전트가 전송 트리상의 상위 깊이(Depth)에 위치하도록 한다. 반면에 공유가 적은 노드는 상대적으로 소스로부터 많은 상대적 전송 지연(RDP)을 갖는 낮은 트리의 말단 쪽에 위치시킨다. Meanwhile, the grade information assigned to each agent may be used as a comparison value when determining transmission / reception rights, parent node, and relay node of each agent when constructing the overlay tree. By using this, agents sharing a lot of resources are located at the upper depth in the transmission tree. On the other hand, less shared nodes are located at the end of the lower tree, which has a relatively high relative transmission delay (RDP) from the source.

이에 따라 공유가 없는 개별화된 노드들이 통계적으로 트리의 이탈과 변경이 많은 것을 고려하면, 그만큼 오버레이 멀티캐스트의 주요 사항인 트리 복구 성능을 높일 수 있다. 즉, 오버레이 트리의 성능을 개선할 수 있다. Accordingly, considering that the individualized nodes without sharing statistically have a large number of tree departures and changes, the tree recovery performance, which is an important aspect of overlay multicast, can be improved. That is, the performance of the overlay tree can be improved.

본 실시예에 있어서, 새로운 에이전트가 발생하면, 새 에이전트에 등급을 부여해야 한다. 이때 새 에이전트에 부여되는 등급 정보에 따라 콘텐츠를 수신할 부모 노드의 후보 리스트가 제한된다. In this embodiment, when a new agent occurs, the new agent must be given a rating. At this time, the candidate list of the parent node to receive the content is limited according to the rating information given to the new agent.

상세하게, 도 9 에 도시된 바와 같이, 예를 들어 등급 번호가 1인 Level1인 에이전트는 모든 노드에 공유 가능하다. 또한, 등급 번호가 2인 Level 2인 에이전트는 자신과 같거나 더 큰 수를 등급 번호로 갖는 에이전트에 공유 가능하다. 즉, Level1인 에이전트의 경우에는 Level1, Level2, Level3, .. 의 에이전트가 얼라이언스 노드이다. 여기서, 부모 노드로 선택되어 질 수 있는 에이전트 즉, 노드들의 그룹을 얼라이언스 노드라 한다. 또한, Level 2인 에이전트의 경우에는 Level1 인 에이전트를 제외한 Level2, Level3, .. 의 에이전트가 얼라이언스 노드이다.In detail, as shown in FIG. 9, for example, an agent having Level 1 having a class number of 1 is shareable to all nodes. Also, a Level 2 agent with a class number of 2 may be shared with an agent having the same or greater number as its class number. That is, in the case of an agent of Level1, the Agents of Level1, Level2, Level3, ... are alliance nodes. In this case, an agent that can be selected as a parent node, that is, a group of nodes is called an alliance node. In addition, in the case of Agent at Level 2, the Agents at Level 2, Level 3,... Except for Agent at Level 1 are allied nodes.

즉, 자신의 등급 번호와 같거나, 등급 번호가 더 큰 노드을 부모 노드의 후보 리스트로 포함시킨다. 이 같은 노드 차별화 정책에 따라 전술한 오버레이 성능상의 효과를 볼 수 있고, 콘텐츠 내용을 반영하여 전송 트리를 구성하는 것이 가능하도록 한다. That is, a node equal to or higher than its own rank number is included in the candidate list of the parent node. According to such a node differentiation policy, the above-described overlay performance effect can be seen, and a transmission tree can be configured by reflecting content contents.

도 10은 본 발명의 일 실시예에 따른 트리 복구 과정 설명을 위한 예시도이다. 10 is an exemplary diagram for explaining a tree recovery process according to an embodiment of the present invention.

먼저, 수신 중계 모드(Client-Peer) 에이전트 즉 3번 노드가 다른 단일 수신 모드(Client)의 에이전트 즉, 5번 및 6번 노드를 위해 스트림을 중계하는 도중에 전송 트리를 이탈하면 특별한 복구 정책 없이 이탈한 노드의 깊이(Depth) 이상의 노드들을 대상으로 부모 노드의 후보 리스트를 작성한다. 그리고, 이를 전송하여 복구될 노드에 의해 선택된 노드를 통해 스트림을 공급받도록 함으로써 전송 트리를 복구할 수 있다. First, if a client-peer agent, or node 3, leaves the transport tree while it is relaying streams for another single client, that is, agents 5 and 6, it leaves without a special recovery policy. Create a candidate list of parent nodes for more than one node depth. In addition, the transmission tree may be restored by receiving the stream through the node selected by the node to be recovered and transmitting the stream.

새로운 노드의 발생과 다른 점은 부모 노드 리스트를 작성함에 있어, 전술한 인센티브 정책의 유지를 위해 노드 이탈이 일어난 깊이 이상의 깊이에 해당하는 노드들에 대해서 후보 리스트를 작성한다는 것이다. 또한, 복구된 후 6번 노드에서 알 수 있듯이, 트리 내에서 그 깊이(Depth) 정보는 새롭게 갱신되지 않는다. The difference from the occurrence of a new node is that in preparing the parent node list, a candidate list is created for nodes corresponding to a depth greater than or equal to the depth at which node detachment occurs in order to maintain the aforementioned incentive policy. Also, as seen in node 6 after the recovery, the depth information is not newly updated in the tree.

이는 한번 복구된 링크에 또 다른 이탈을 발생시키지 않기 위한 방법으로 이 탈이 발생한 트리 전송 링크 그룹은 실제 물리적인 중계 단계보다 더 많은 트리 깊이 값을 갖게 된다. 즉, 트리의 깊이를 제안하는 본 발명에 있어서 새로운 노드의 접속 빈도를 줄이고, 전송 지연에 인센티브(incentive)를 제공할 수 있다. 이에 따라 한번 이탈이 발생된 노드 그룹에서 또 다른 이탈이 수반되는 것을 최소화할 수 있다. This is a way to avoid another break in the link once restored, so that the tree transport link group in which the break occurs has more tree depth values than the actual physical relay stage. That is, in the present invention which proposes the depth of the tree, it is possible to reduce the frequency of connection of the new node and provide an incentive to the transmission delay. As a result, it is possible to minimize the involvement of another departure in the node group where the departure once occurred.

도 11은 본 발명의 일 실시예에 따른 트리 구성 방법의 흐름도이다. 11 is a flowchart illustrating a tree configuration method according to an embodiment of the present invention.

먼저, 시스템 내의 각 에이전트들로부터 에이전트 정보를 획득하여, 그 동작 모드를 파악한다(S200). 이때, 에이전트 정보는 에이전트의 IP 어드레스, 포트 정보, 입력 스트림 채널 정보 및 출력 스트림 채널 정보, 대역폭(bandwidth) 정보들 중 적어도 일부를 포함한다. 그러나 이에 한정되지는 않는다. 그리고, 에이전트 정보에 기초하여 해당 에이전트의 동작 모드 별로 크게는 서비스 제공자(PP), 중계자(Relayer), 서비스 수신자(client)로 나눈다. 보다 상세하게 자원 공유 능력, 사용자의 서비스 제공의지, 또는 콘텐츠 공유 정책에 따라 서비스 제공자는 단일 제공 모드, 다중 제공 모드로 나뉘고, 서비스 수신자는 단일 수신 모드, 수신 중계 모드로 더 나뉠 수 있다. First, agent information is obtained from each agent in the system, and the operation mode thereof is determined (S200). In this case, the agent information includes at least some of an IP address, port information, input stream channel information, output stream channel information, and bandwidth information of the agent. However, it is not limited thereto. Based on the agent information, the service is divided into a service provider (PP), a relay, and a service receiver (client) for each operation mode of the corresponding agent. In more detail, the service provider may be divided into a single provision mode and a multiple provision mode, and the service receiver may be further divided into a single reception mode and a reception relay mode according to a resource sharing capability, a user's intention to provide a service, or a content sharing policy.

그리고, 에이전트의 동작 모드에 대해, 등급 범위를 할당한다(S210). 그리고, 각 에이전트들에 등급을 부여한다(S220). 이때 에이전트의 동작 모드에 따라서, 할당된 등급 범위 내에서 등급이 할당되는 것이 바람직하다. 그리고, 여기에 해당 에이전트에 중계되거나 제공되는 방송 콘텐츠의 공유범위를 파악하여, 이 정 보를 더 반영하여 등급을 부여한다. Then, the grade range is allocated to the operation mode of the agent (S210). Then, a grade is assigned to each agent (S220). At this time, according to the operation mode of the agent, it is preferable that the class is allocated within the assigned class range. In addition, the scope of sharing the broadcast content relayed or provided to the corresponding agent is identified, and the rating is further reflected by this information.

그리고, 에이전트들로부터 수시로 에이전트 정보를 획득함으로써, 해당 에이전트의 동작 모드가 변경되었는지 여부를 모니터링한다(S236). 그리고 동작 모드가 바뀐 경우에는 그 변경사항을 반영하고(S235), 이에 따라 해당 에이전트에 대한 등급을 재 할당하는 것이 바람직하다. In addition, by obtaining agent information from time to time from the agents, it is monitored whether the operation mode of the corresponding agent is changed (S236). If the operation mode is changed, it is desirable to reflect the change (S235), and accordingly, reassign the grade for the corresponding agent.

그리고, 각 에이전트에 할당된 등급 정보를 반영하여, 시스템 내에서 방송 콘텐츠 전송을 위한 전송 트리를 구성한다(S240). In operation S240, a transmission tree for broadcasting content transmission is configured in the system by reflecting the grade information assigned to each agent.

도 12는 본 발명의 일 실시예에 따른 전송 트리 관리 장치와 각 에이전트들간 데이터 흐름도이다. 12 is a flowchart illustrating a data flow between a transport tree management apparatus and agents according to an embodiment of the present invention.

먼저, 서비스 제공 모드 에이전트(PP mode agent)는 에이전트 정보를 전송한다(S300). 이때 에이전트 정보는 TCP를 통해 전송되며, IP 정보, 포트 정보, 입/출력 스트림 채널 정보등을 포함한다. 뿐만아니라 에이전트 정보는 에이전트의 용도, 시스템과 네트워크 측정 결과 및 전송할 방송 콘텐츠의 특징등을 반영한다. 그러면 전송 트리 관리 장치는 수신되는 에이전트 정보로부터 해당 에이전트의 동작 모드를 판단하고, 등급을 할당한다. 그리고 전송 트리 관리 장치는 수신된 에이전트 정보를 데이터베이스화하여 저장한다. First, the PP mode agent transmits agent information (S300). At this time, the agent information is transmitted through TCP and includes IP information, port information, input / output stream channel information, and the like. In addition, the agent information reflects the purpose of the agent, system and network measurement results, and characteristics of broadcast contents to be transmitted. The transport tree management apparatus then determines an operation mode of the corresponding agent from the received agent information and assigns a class. The transport tree management apparatus stores the received agent information in a database.

전송 트리 관리 장치는 에이전트의 모드 정보 및 등급 정보를 반영한 후보 노드 리스트를 생성하여 제공한다(S310). 그러면 에이전트는 후보 노드 리스트에 포함된 에이전트들과의 통신 감도 등을 측정하여(S320), 최적의 측정값을 갖는 에 이전트를 중계 노드로 선택한다. 그리고, 선택된 노드 정보를 전송 트리 관리 장치로 제공한다(S325). 전송 트리 관리 장치는 수신된 선택된 노드 정보를 반영하여 트리 구성 정보를 생성하여 에이전트로 제공한다(S330, S335). 그러면, 서비스 제공 모드인 에이전트(PP mode agent)는 전송 트리 관리 장치로부터 획득되는 트리 구성 정보에 기초하여 중계 에이전트(Relay mode agent)를 선택하여 콘텐츠를 제공할 UDP STREAM 채널을 형성한다. The transport tree management apparatus generates and provides a candidate node list reflecting mode information and grade information of the agent (S310). Then, the agent measures the communication sensitivity with the agents included in the candidate node list (S320), and selects the agent having the optimal measured value as the relay node. Then, the selected node information is provided to the transmission tree management apparatus (S325). The transport tree management apparatus generates tree configuration information by reflecting the received selected node information and provides the generated tree configuration information to the agent (S330, S335). Then, the PP mode agent, which is a service providing mode, selects a relay mode agent based on the tree configuration information obtained from the transport tree management apparatus to form a UDP STREAM channel for providing content.

또한, 수신 모드 에이전트(Client mode agent)로부터 에이전트 정보를 수신한다(S340). 전송 트리 관리 장치는 수신 모드 에이전트의 등급 정보를 파악하여, 그 정보를 반영한 부모 노드 후보 리스트를 제공한다(S350). 이때 전송 트리 관리 장치는 현재 에이전트 및 전송 트리 상태에 따라 부모 노드의 후보 리스트를 상이하게 생성하는 것이 바람직하다. 그러면, 수신 모드 에이전트 역시 후모 노드 리스트에 포함된 에이전트들과의 통신 감도 및 자원 공유 능력 등을 측정하여, 최적의 측정값을 갖는 에이전트를 부모 노드로 선택한다(S360). 에이전트는 측정 결과를 전송 트리 관리 장치로 제공하고(S365), 전송 트리 관리 장치는 선택된 부모 노드와 수신 모드 에이전트로 트리 구성 정보를 전송한다(S370, S375). 그러면, 수신 모드 에이전트는 선택된 중계 모드 에이전트(Relay mode agent)를 통해 방송 콘텐츠를 수신하기 위한 UDP STREAM 채널을 형성할 수 있다. In addition, agent information is received from a client mode agent (S340). The transport tree management apparatus grasps the class information of the reception mode agent and provides a parent node candidate list reflecting the information (S350). In this case, it is preferable that the transport tree management apparatus generates the candidate list of the parent nodes differently according to the current agent and the transport tree state. Then, the reception mode agent also measures the communication sensitivity and resource sharing capability with the agents included in the parent node list, and selects the agent having the optimal measurement as the parent node (S360). The agent provides the measurement result to the transmission tree management apparatus (S365), and the transmission tree management apparatus transmits tree configuration information to the selected parent node and the reception mode agent (S370 and S375). Then, the reception mode agent may form a UDP STREAM channel for receiving broadcast content through the selected relay mode agent.

도 13은 본 발명의 일 실시예에 따른 전송 트리 구성 과정을 상세히 도시한 흐름도이다. 13 is a flowchart illustrating in detail a process of constructing a transmission tree according to an embodiment of the present invention.

먼저, 전송 트리 관리 장치는 서비스 제공 모드 에이전트로부터 방송 등록 요청을 수신할 수도 있고(S400), 서비스 수신 모드 에이전트로부터 방송 수신 요청을 수신할 수도 있다(S402). First, the transport tree management apparatus may receive a broadcast registration request from the service providing mode agent (S400), or may receive a broadcast receiving request from the service receiving mode agent (S402).

방송 등록 요청 혹은 방송 수신 요청이 수신되면, 자원 공유 능력에 따라 후보 노드들을 검색하여, 후보 리스트를 생성한다(S410). 예를 들어 현재 등록된 시스템 내의 에이전트들 중 해당 방송 콘텐츠의 대역폭과 입력 채널 스트림에 여유가 있는 에이전트를 검색하여 후보 노드로 지정할 수 있다. When a broadcast registration request or a broadcast reception request is received, candidate nodes are searched according to resource sharing capability and a candidate list is generated (S410). For example, among the agents in the currently registered system, an agent having sufficient bandwidth in the corresponding broadcast content and an input channel stream may be searched and designated as a candidate node.

그리고, 검색된 후보 노드들의 등급 정보를 파악하여, 등급 정보에 따라 필터링한다(S420). 후보 노드들의 등급과 방송 등록 요청 혹은 방송 수신 요청을 전송한 에이전트 간 등급을 비교함으로써, 후보 리스트에 포함된 후보 노드들 중 필터링한다. 예를 들어, 방송 수신 요청을 전송한 에이전트의 부모 노드로, 방송 수신 요청을 전송한 에이전트의 등급보다 크거나, 같은 에이전트들을 선택한다. In operation S420, the class information of the found candidate nodes is identified and filtered according to the grade information. By comparing the ranks of the candidate nodes with the ranks of the agents that transmitted the broadcast registration request or the broadcast reception request, the candidate nodes included in the candidate list are filtered. For example, a parent node of an agent that has transmitted a broadcast reception request and selects agents that are greater than or equal to the class of the agent that has transmitted the broadcast reception request.

이 후에 필터링 완료된 후보 리스트를 방송 등록 요청 혹은 방송 수신 요청을 전송한 에이전트로 제공한다(S430). 이때 추가적으로 해당 후보 노드들과의 통신 상황을 측정하도록 측정(Measurenent) 명령을 더 전송한다. Thereafter, the filtered candidate list is provided to the agent that transmits the broadcast registration request or the broadcast reception request (S430). In this case, a measurement command is further transmitted to measure communication status with corresponding candidate nodes.

그리고, 에이전트로부터 측정 결과에 따라 선택된 노드 정보를 획득한다(S440). 방송 등록 요청이 수신된 경우에는, 방송 등록 요청을 전송한 에이전트로 그 선택된 노드로 방송 콘텐츠를 제공하도록 메신지를 전송한다(S450).Then, the selected node information is acquired according to the measurement result from the agent (S440). When a broadcast registration request is received, a message is transmitted to an agent that transmitted the broadcast registration request to provide broadcast content to the selected node (S450).

한편, 방송 수신 요청이 수신된 경우에는 선택된 노드가 해당 방송 콘텐츠를 수신하고 있는지 여부를 파악한다(S460). 그리고, 그 선택된 노드가 해당 방송 콘 텐츠를 수신하고 있는 경우에는 선택된 노드로, 방송 수신 요청을 전송한 에이전트로의 방송 스트림 전송할 것을 지시한다(S470). On the other hand, if a broadcast reception request is received, it is determined whether the selected node is receiving the corresponding broadcast content (S460). If the selected node receives the corresponding broadcast content, it instructs the selected node to transmit the broadcast stream to the agent that has transmitted the broadcast reception request (S470).

그리고, 선택된 노드가 해당 방송 콘텐츠를 수신하지 않는 경우에는 해당 방송 콘텐츠를 수신중인 에이전트들을 파악한다(S480). 이때, 해당 방송 콘텐츠를 수신하지 않는 선택된 노드와의 등급 비교를 통해 후보 리스트를 필터링 하는 것이 바람직하다. 그리고, 결과를 그 선택된 노드로 전송하여, 선택된 노드의 부모 노드를 선택하도록 한다. 즉, 선택된 노드가 해당 방송 콘텐츠를 수신하지 않는 경우에는, 그 선택된 노드의 부모 노드를 더 선택하도록 하여, 한 단계 더 중계되도록 전송 트리를 구성하는 것이다. 이때, 각 에이전트의 등급 비교를 통해 트리를 구성함으로써, 넓은 미디어 영역과 높은 노드 자원, 공유 자원의 크기가 클수록 전송 트리의 상위 깊이(depth)에 위치하도록 트리를 구성할 수 있다. If the selected node does not receive the corresponding broadcast content, the agents receiving the corresponding broadcast content are identified (S480). At this time, it is preferable to filter the candidate list by comparing the rank with the selected node that does not receive the corresponding broadcast content. The result is then sent to the selected node to select the parent node of the selected node. That is, when the selected node does not receive the corresponding broadcast content, the transmission tree is configured to be further selected by relaying the parent node of the selected node. At this time, by constructing the tree by comparing the ranks of the agents, the tree can be configured to be located at the upper depth of the transmission tree as the size of the wide media area, the high node resources, and the shared resources increases.

한편, 전송 트리 관리 장치는 새로 트리에 접속하고자 하는 에이전트로부터 접속 요청을 수신할 수도 있다(S405). 그러면, 전송 트리 관리 장치는 에이전트 정보를 수신하여 그 에이전트의 정보를 파악하고, 그 에이전트를 등록한다(S408). 그리고, 접속 요청한 에이전트의 동작 모드를 파악하고, 등급을 부여한다. 전송 트리 관리 장치는 에이전트의 등급 정보에 기초하여 부모 노드 후보 리스트를 제공하고, 그 에이전트로부터 선택된 부모 노드를 획득하여, 그 부모 노드와 연결되도록 트리 구성 정보를 제공함으로써, 전송 트리를 구성할 수 있다. On the other hand, the transport tree management apparatus may receive a connection request from an agent that wants to newly access the tree (S405). Then, the transport tree management apparatus receives the agent information, grasps the information of the agent, and registers the agent (S408). Then, the operation mode of the agent requesting the connection is identified and a grade is assigned. The transport tree management apparatus may configure a transport tree by providing a parent node candidate list based on the agent's rating information, obtaining a selected parent node from the agent, and providing tree configuration information to be connected with the parent node. .

한편, 전술한 전송 트리 구성 방법은 컴퓨터 프로그램으로 작성 가능하다. 또한, 상기 프로그램은 컴퓨터가 읽을 수 있는 정보저장매체(computer readable media)에 저장되고, 컴퓨터에 의해 읽혀지고 실행됨으로써 구현될 수 있다. 상기 저장매체는 자기 기록매체, 광 기록 매체 등을 포함한다. On the other hand, the above-described transmission tree configuration method can be created by a computer program. The program may also be embodied by being stored in a computer readable media and being read and executed by a computer. The storage medium includes a magnetic recording medium, an optical recording medium and the like.

이제까지 본 발명에 대해 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다. So far I looked at the preferred embodiments of the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is shown in the claims, and all differences within the scope equivalent thereto should be construed as being included in the present invention.

도 1은 본 발명의 일실시예에 따른 전송 트리 관리 장치의 구성을 도시한 블록도,1 is a block diagram showing the configuration of a transport tree management apparatus according to an embodiment of the present invention;

도 2는 본 발명의 일 실시예에 따라 에이전트의 동작 모드 설명을 위한 예시도,2 is an exemplary diagram for explaining an operation mode of an agent according to an embodiment of the present invention;

도 3 내지 도 5은 본 발명의 일 실시예에 따라 동작 모드에 따른 에이전트에 대한 전송 트리 구성 형태를 도시한 예시도,3 to 5 are exemplary diagrams illustrating a configuration of a transport tree for an agent according to an operation mode according to an embodiment of the present invention;

도 6 과 도 7은 본 발명의 일 실시예에 따라 에이전트에 등급 할당 과정을 설명하기 위한 예시도,6 and 7 are exemplary diagrams for explaining a process of assigning a grade to an agent according to an embodiment of the present invention;

도 8은 등급에 따라 제공되는 콘텐츠 내용을 반영한 트리 구성 예시도,8 is an exemplary tree configuration reflecting content contents provided according to a rating;

도 9는 본 발명의 일 실시예에 따른 부모 노드 리스트 제한 과정 설명을 위한 예시도,9 is an exemplary diagram for explaining a process of restricting a parent node list according to an embodiment of the present invention;

도 10은 본 발명의 일 실시예에 따른 트리 복구 과정 설명을 위한 예시도,10 is an exemplary diagram for explaining a tree recovery process according to an embodiment of the present invention;

도 11은 본 발명의 일 실시예에 따른 트리 구성 방법의 흐름도,11 is a flowchart of a tree construction method according to an embodiment of the present invention;

도 12는 본 발명의 일 실시예에 따른 전송 트리 관리 장치와 각 에이전트들간 데이터 흐름도,12 is a flowchart illustrating a data flow between an apparatus for managing a transport tree and agents according to an embodiment of the present invention;

도 13은 본 발명의 일 실시예에 따른 전송 트리 구성 과정을 상세히 도시한 흐름도이다. 13 is a flowchart illustrating in detail a process of constructing a transmission tree according to an embodiment of the present invention.

Claims (10)

적어도 하나의 에이전트를 포함하는 오버레이 멀티캐스트 방식의 IPTV 시스템에서 상기 에이전트들 간의 전송 트리를 구성하는 방법에 있어서, In the overlay multicast IPTV system including at least one agent, a method for configuring a transport tree between the agents, 상기 에이전트의 동작 모드를 파악하는 단계; Identifying an operation mode of the agent; 상기 파악된 에이전트의 동작 모드를 반영하여 상기 에이전트에 등급을 부여하는 등급화 단계; 및A rating step of assigning a rating to the agent by reflecting the identified operation mode of the agent; And 상기 할당된 등급 정보에 기초하여 상기 에이전트들 간의 전송 트리를 구성하는 트리 구성 단계;를 포함하는 것을 특징으로 하는 전송 트리 구성 방법.And a tree constructing step of constructing a transfer tree between the agents based on the assigned grade information. 제 1 항에 있어서,The method of claim 1, 상기 등급화 단계는,The grading step, 상기 에이전트의 자원 공유 능력을 반영하여 상기 각 에이전트에 등급을 부여하는 것을 특징으로 하는 전송 트리 구성 방법. And assigning a rating to each agent by reflecting the resource sharing capability of the agent. 제 2 항에 있어서, The method of claim 2, 상기 등급화 단계는 상기 각 에이전트의 입력 스트림 채널 수와 출력 스트림 채널 수, 또는 제공 방송 콘텐츠의 계층화 정보를 고려하여 상기 각 에이전트에 등급을 할당하는 것을 특징으로 하는 전송 트리 구성 방법.And the rating step assigns a rating to each agent in consideration of the number of input stream channels and the number of output stream channels of each agent or the hierarchical information of the provided broadcast content. 제 1 항에 있어서, The method of claim 1, 상기 등급화 단계 이전에 상기 동작 모드 정보에 대해, 각 동작 모드 구간마다 부여할 등급 범위를 할당하는 단계;를 더 포함하여, Allocating a rating range to be assigned to each operation mode section for the operation mode information before the rating step; 상기 등급화 단계는 상기 에이전트의 동작 모드 별로 상기 할당된 등급 범위 내에서 등급을 부여하는 것을 특징으로 하는 전송 트리 구성 방법.And the rating step assigns a rating within the assigned rating range for each operation mode of the agent. 제 1 항에 있어서, The method of claim 1, 상기 에이전트의 동작 모드는 하나의 출력 스트림 채널을 갖는 단일 제공 모드와 다수의 출력 스트림 채널을 갖는 다중 제공 모드를 포함하는 서비스 제공 모드, 하나의 입력 스트림 채널을 갖고 출력 스트림 채널을 갖지 않는 단일 수신 모드와 하나의 입력 스트림 채널로 입력된 방송 콘텐츠를 다수의 출력 스트림 채널로 출력하는 수신 중계 모드를 포함하는 서비스 수신자 모드, 및 다수의 입력 채널 스트림과 다수의 출력 채널 스트림을 포함하여 상기 서비스 제공 모드 에이전트와 상기 서비스 수신 모드 에이전트 간의 방송 콘텐츠 전송을 중계하기 위한 중계 모드를 포함하는 것을 특징으로 하는 전송 트리 구성 방법.The operating mode of the agent is a service providing mode including a single serving mode having one output stream channel and a multiple serving mode having a plurality of output stream channels, and a single receiving mode having one input stream channel and no output stream channel. And a service receiver mode including a reception relay mode for outputting broadcast content input through one input stream channel to a plurality of output stream channels, and the service providing mode agent including a plurality of input channel streams and a plurality of output channel streams. And a relay mode for relaying broadcast content transmission between the service reception mode agent and the service reception mode agent. 제 1 항에 있어서, 상기 동작 모드 파악 단계 이후에,The method of claim 1, wherein after the step of identifying the operation mode, 상기 시스템의 네트워크 환경 성능 혹은 상기 에이전트 동작 성능을 모니터링하는 단계; 및Monitoring the network environment performance or the agent operation performance of the system; And 상기 모니터링 결과에 따라 상기 에이전트의 동작 모드가 변경되었음을 파악 하고 이를 반영하는 단계;를 더 포함하는 것을 특징으로 하는 전송 트리 구성 방법.And identifying and changing the operation mode of the agent according to the monitoring result. 제 1 항에 있어서, 상기 전송 트리 구성 단계는,The method of claim 1, wherein the step of constructing a transport tree, 상기 에이전트로부터 방송 등록 요청 혹은 방송 수신 요청을 수신하는 단계;Receiving a broadcast registration request or a broadcast reception request from the agent; 상기 수신된 요청에 따라 상기 에이전트의 등급 정보를 반영하여, 전송 트리 구성에 필요한 부모 노드 후보 리스트를 생성하여 상기 에이전트로 제공하는 단계; 및Reflecting the grade information of the agent according to the received request, generating a parent node candidate list necessary for constructing a transmission tree, and providing the generated candidate node list to the agent; And 상기 에이전트로부터 상기 제공된 부모 노드 후보 리스트 중 선택된 부모 노드 정보를 획득하여 전송 트리를 구성하는 단계;를 포함하는 것을 특징으로 하는 전송 트리 구성 방법. And constructing a transmission tree by acquiring selected parent node information among the provided parent node candidate lists from the agent. 제 1 항에 있어서, 상기 전송 트리 구성 단계는, The method of claim 1, wherein the step of constructing a transport tree, 등록 에이전트로부터 접속 요청을 수신하는 단계;Receiving a connection request from a registration agent; 상기 등록 에이전트의 동작 모드를 파악하고, 등급화하는 단계;Identifying and ranking an operation mode of the registration agent; 상기 수신된 요청에 따라 상기 등록 에이전트의 등급 정보를 반영하여, 전송 트리 구성에 필요한 부모 노드 후보 리스트를 생성하여 상기 등록 에이전트로 제공하는 단계; 및Reflecting the grade information of the registration agent according to the received request, generating a parent node candidate list necessary for constructing a transmission tree and providing the registration list to the registration agent; And 상기 등록 에이전트로부터 상기 제공된 부모 노드 후보 리스트 중 선택된 부모 노드 정보를 획득하여 전송 트리를 구성하는 단계;를 포함하는 것을 특징으로 하는 전송 트리 구성 방법.And constructing a transmission tree by acquiring selected parent node information among the provided parent node candidate lists from the registration agent. 적어도 하나의 에이전트를 포함하는 오버레이 멀티캐스트 방식의 IPTV 시스템에서 상기 에이전트들 간의 전송 트리를 관리하는 전송 트리 관리 장치에 있어서, A transport tree management apparatus for managing a transport tree between agents in an overlay multicast type IPTV system including at least one agent, 상기 에이전트로부터 에이전트 정보를 수신하는 정보 수신부;An information receiver configured to receive agent information from the agent; 상기 수신된 정보에 기초하여 상기 에이전트의 동작 모드를 파악하는 동작 모드 파악부;An operation mode determining unit configured to determine an operation mode of the agent based on the received information; 상기 동작 모드 파악부에서 파악된 에이전트의 동작 모드를 반영하여 상기 에이전트에 등급을 할당하는 등급 할당부; 및A class allocator configured to assign a class to the agent by reflecting an operation mode of the agent identified by the operation mode determiner; And 상기 할당된 등급 정보에 기초하여 상기 에이전트들 간의 전송 트리를 구성하는 트리 구성부;를 포함하는 것을 특징으로 하는 전송 트리 관리 장치.And a tree constructing unit for constructing a transmission tree between the agents based on the assigned grade information. 제 9 항에 있어서, The method of claim 9, 상기 에이전트로부터 방송 등록 요청 혹은 방송 수신 요청을 수신하면, 상기 수신된 요청에 따라 상기 에이전트의 등급 정보에 기초하여 후보 노드 리스트를 생성하여 상기 에이전트로 제공하는 리스트 제공부;를 더 포함하고, When receiving a broadcast registration request or a broadcast reception request from the agent, the list providing unit for generating a candidate node list based on the rating information of the agent to provide to the agent; 상기 트리 구성부는 상기 에이전트로부터 상기 제공된 후보 노드 리스트 중 선택된 노드 정보를 획득하여, 획득된 정보를 반영하여 전송 트리를 구성하는 것을 특징으로 하는 전송 트리 관리 장치.And the tree constructing unit obtains selected node information from the provided candidate node list from the agent, and configures a transmission tree by reflecting the obtained information.
KR1020080099698A 2008-10-10 2008-10-10 Method and Apparatus for constructing transmission tree KR101001357B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080099698A KR101001357B1 (en) 2008-10-10 2008-10-10 Method and Apparatus for constructing transmission tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080099698A KR101001357B1 (en) 2008-10-10 2008-10-10 Method and Apparatus for constructing transmission tree

Publications (2)

Publication Number Publication Date
KR20100040533A KR20100040533A (en) 2010-04-20
KR101001357B1 true KR101001357B1 (en) 2010-12-15

Family

ID=42216608

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080099698A KR101001357B1 (en) 2008-10-10 2008-10-10 Method and Apparatus for constructing transmission tree

Country Status (1)

Country Link
KR (1) KR101001357B1 (en)

Also Published As

Publication number Publication date
KR20100040533A (en) 2010-04-20

Similar Documents

Publication Publication Date Title
US10356144B1 (en) Reassigning source peers
Anjum et al. Survey on peer-assisted content delivery networks
Ni et al. Large-scale cooperative caching and application-level multicast in multimedia content delivery networks
US9807163B1 (en) Data client
US8279766B2 (en) Interior-node-disjoint multi-tree topology formation
Sweha et al. Angelcast: cloud-based peer-assisted live streaming using optimized multi-tree construction
CN101640699A (en) P2P streaming media system and streaming media downloading method thereof
WO2011000289A1 (en) Method, system and proxy node for peer-to-peer (p2p) streaming media data distribution
EP2744168B1 (en) System, method and live streaming optimizer server for live content distribution optimization over a content delivery network
Guo et al. P2Cast: peer-to-peer patching for video on demand service
KR101830760B1 (en) Overlay multicast system and its method to provide multiple content distribution in distributed content nodes
Dán Cooperative caching and relaying strategies for peer-to-peer content delivery.
CN103179191A (en) P2P (peer to peer) network control device and P2P network control architecture
Salta et al. Improving P2P video streaming in wireless mesh networks
Chen et al. OAZE: A network-friendly distributed zapping system for peer-to-peer IPTV
KR101001357B1 (en) Method and Apparatus for constructing transmission tree
US8566436B1 (en) Data client
Ishakian et al. AngelCast: Cloud-based peer-assisted live streaming using optimized multi-tree construction
Raheel et al. Energy efficient technique for P2P multisource video streaming in mobile ad hoc networks to improve QoE
Ruso et al. Ppssm: push/pull smooth video streaming multicast protocol design and implementation for an overlay network
CN106878826B (en) Method for forwarding P2P-like real-time video
Triningsih Bandwidth allocation-aware scheduling algorithm for video-on-demand application over digital learning network
Lee et al. Location-proximity-based clustering method for peer-to-peer multimedia streaming services with multiple sources
Guo et al. Hierarchically clustered P2P video streaming: Design, implementation, and evaluation
Al-Naday et al. fCDN: A Flexible and Efficient CDN Infrastructure without DNS Redirection or Content Reflection

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

Year of fee payment: 18