KR101054047B1 - Method and operation method for peer of P2P broadcasting system to receive data - Google Patents

Method and operation method for peer of P2P broadcasting system to receive data Download PDF

Info

Publication number
KR101054047B1
KR101054047B1 KR1020090065299A KR20090065299A KR101054047B1 KR 101054047 B1 KR101054047 B1 KR 101054047B1 KR 1020090065299 A KR1020090065299 A KR 1020090065299A KR 20090065299 A KR20090065299 A KR 20090065299A KR 101054047 B1 KR101054047 B1 KR 101054047B1
Authority
KR
South Korea
Prior art keywords
channel
broadcast data
peer
group
user
Prior art date
Application number
KR1020090065299A
Other languages
Korean (ko)
Other versions
KR20110007715A (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 KR1020090065299A priority Critical patent/KR101054047B1/en
Publication of KR20110007715A publication Critical patent/KR20110007715A/en
Application granted granted Critical
Publication of KR101054047B1 publication Critical patent/KR101054047B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/20Arrangements for broadcast or distribution of identical information via plural systems
    • H04H20/24Arrangements for distribution of identical information via broadcast system and non-broadcast system

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은, P2P방송 시스템의 피어가 데이터를 수신하는 방법 및 동작하는 방법에 관한 것으로, 본 발명에 따른 데이터 수신방법은, 소정채널 그룹에 접속하는 단계; 고용량의 상기 소정채널 데이터를 수신하는 단계; 및 저용량의 인접채널 데이터를 수신하는 단계를 포함한다.The present invention relates to a method and a method of operating a peer of a P2P broadcasting system for receiving data, comprising: accessing a predetermined channel group; Receiving the predetermined channel data of high capacity; And receiving adjacent channel data of low capacity.

P2P, 피어, IPTV, 방송 P2P, Peer, IPTV, Broadcast

Description

P2P방송 시스템의 피어가 데이터를 수신하는 방법 및 동작방법{DATA RECEIVING AND OPERATING METHOD OF PEER OF P2P BROADCASTING SYSTEM}Method and operation of peer to receive data of P2P broadcasting system {DATA RECEIVING AND OPERATING METHOD OF PEER OF P2P BROADCASTING SYSTEM}

본 발명은 P2P방송 시스템에서 채널전환시에 발생하는 지연시간의 발생을 억제하기 위한 기술에 관한 것으로, 특히 피어(peer)가 데이터를 수신하는 방법 및 피어가 동작하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for suppressing the occurrence of delay time during channel switching in a P2P broadcasting system, and more particularly, to a method of receiving data by a peer and a method of operating a peer.

실시간 방송서비스를 갖춘 IPTV 서비스가 제공되면서 사용자들은 더욱 높은 품질의 서비스를 받기 원한다. IPTV에서 사용자가 체감하는 품질 QOE(Quality of Experience)의 중요한 요소 중 하나가 채널 변경시 발생하는 지연시간(delay time)이다. 공중파 방송은 사용자가 채널을 시청하는 것과 관계없이 모든 채널 신호가 TV 수신기에 동시에 제공되기 때문에 사용자가 채널을 변경해도 지연이 발생하지 않는다. 하지만 IPTV의 경우에는 네트워크 대역폭이 한정되어 있거나 또는 대역폭의 경제적인 사용을 위해서 모든 채널 데이터를 특정 노드에 동시에 전송할 수 없다. 따라서 채널을 변경하게 되면 새로이 변경되는 채널 데이터를 서버 또는 같은 그룹의 피어(peer)로부터 전송받아서 화면에 출력하게 되며 이로 인해 지연시간이 발생하게 되고 이러한 채널변경 지연시간의 발생은 QOE를 저하시킨다.As IPTV service with real-time broadcasting service is provided, users want to receive higher quality service. One of the important elements of the quality of experience (QOE) that users experience in IPTV is the delay time that occurs when changing channels. In over-the-air broadcasting, all channel signals are provided to the TV receiver at the same time regardless of the user watching the channel, so there is no delay when the user changes the channel. However, in the case of IPTV, the network bandwidth is limited or all channel data cannot be simultaneously transmitted to a specific node for economical use of the bandwidth. Therefore, when the channel is changed, the newly changed channel data is received from the server or peer of the same group and displayed on the screen. As a result, the delay time is generated and the occurrence of the channel change delay time lowers the QOE.

도 1은 다중 체인(multi chain) 구조 IPTV 시스템의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of a multi-chain IPTV system.

하나의 DSLAM(Digital Subscriber Line Access Multiplexer) 내에서 같은 채널을 시청하는 피어(peer)들은 L개의 레벨로 구성되며, 각 레벨은 다시 S개의 스판(span)으로 나누어진다. 레벨ℓ의 헤드피어(head peer)는 레벨ℓ에 속한 모든 피어 및 레벨ℓ+1의 헤드피어에 대한 정보를 가지고 있으며, 레벨ℓ에 새로운 피어가 가입하거나 레벨ℓ에 속한 피어가 탈퇴하면 레벨 정보를 갱신하여 현재 레벨의 각 스판에 속한 피어의 개수를 파악하고 있다. 또한 모든 레벨의 헤드피어는 주기적으로 자신의 정보를 ISP트래커(tracker)에게 제공하며 새로운 피어가 가입을 원할때 ISP트래커는 헤드피어로부터 받은 정보를 참조하여 새로운 피어의 위치를 지정하게 된다. 이 구조는 헤드 피어를 제외한 대부분의 피어가 체인구조로 연결되어 있으므로 피어들 간의 데이터전송이 단순하며 또한 피어들의 가입 및 탈퇴가 빈번한 환경에서 전체 구조의 재구성이 간단하다는 장점이 있다.Peers watching the same channel in one Digital Subscriber Line Access Multiplexer (DSLAM) are composed of L levels, and each level is divided into S spans. The level peer head peer has information about all peers belonging to level l and head peers of level l + 1, and the level information is obtained when a new peer joins level l or the peer belonging to level l leaves. It updates to know the number of peers belonging to each span of the current level. In addition, all levels of the head peer periodically provide their information to the ISP tracker, and when a new peer wants to join, the ISP tracker refers to the information received from the head peer to locate the new peer. This structure has the advantage that since most peers except the head peer are connected in a chain structure, data transmission between the peers is simple and the reorganization of the entire structure is simple in an environment in which peers are frequently joined and withdrawn.

다중 체인 구조에 관하여는 [김지훈, 김영한, "다중 체인구조를 이용한 Peer-to-Peer 기반 IPTV 시스템 설계", 전자공학회논문지, 제45권 TC편, 제12호, 72-82쪽, 2008년 12월]에 자세히 설명되어 있다.On the multi-chain structure, [Ji-Hun Kim, Young-Han Kim, "Design of Peer-to-Peer-based IPTV System Using Multi-Chain Structure," Journal of the Institute of Electronics and Information Engineers, Vol. 45, No. 12, pp. 72-82, 2008 12 Month].

다중 체인 구조는 여러 IPTV시스템의 구조 중 하나에 불과하며, 이하에서의 설명이 다중 체인 구조에 한정되는 것은 아니다.The multi-chain structure is only one of the structures of various IPTV systems, and the following description is not limited to the multi-chain structure.

도 2는 종래의 IPTV시스템에서 사용자의 채널 변경에 의해 피어가 기존의 채널그룹(CH1)에서 탈퇴하고 새로운 채널그룹(CH2)에 가입하는 과정을 나타낸 도면이다.2 is a diagram illustrating a process in which a peer leaves an existing channel group CH1 and joins a new channel group CH2 by changing a channel of a user in a conventional IPTV system.

Tsrch는 트래커(tracker)에게 채널2(CH2)그룹에 등록메시지를 보내고 트래커가 유효한 피어를 찾아서 주소를 보내주기까지 걸리는 시간을 나타내며, Trv는 채널2(CH2)그룹의 피어에게 연경하여 채널2의 영상데이터를 전송받는데 걸리는 시간을 나타낸다.Tsrch indicates the time it takes for the tracker to send a registration message to the channel 2 (CH2) group and the tracker finds a valid peer and sends an address, and Trv connects to the peer of the channel 2 (CH2) group. It shows the time it takes to receive the image data.

채널1(CH1)을 시청하고 있다가 '201'시간에 채널변경이 일어나면, 피어는 트래커에게 채널2(CH2)그룹의 등록메시지를 보내며, Tsrch 시간이 지난 '202'시간에 채널2(CH2)그룹의 유효한(접속가능한) 피어의 주소가 전달된다. 그러면 피어는 채널2(CH2)의 그룹에 접속하게 된다. 이후에 채널2(CH2)의 데이터를 수신하기까지 Trv의 시간이 소요되며 결국 '203'시간부터 피어는 채널2(CH2)의 화면을 출력하게 된다. 피어가 채널1(CH1) 그룹으로부터 탈퇴하는 과정과 채널2(CH2) 그룹으로 가입하는 과정은 동시에 이루어질 수 있다.When watching channel 1 (CH1) and a channel change occurs at '201' time, the peer sends a registration message to the tracker to the channel 2 (CH2) group, and the channel 2 (CH2) at '202' time after Tsrch time. The address of a valid (accessible) peer of the group is passed. The peer then connects to the group of channel 2 (CH2). After that, it takes a time of Trv to receive data of channel 2 (CH2), and the peer outputs the screen of channel 2 (CH2) from time '203'. The peer may leave the channel 1 (CH1) group and join the channel 2 (CH2) group at the same time.

Tsrch와 Trv를 합한 지연시간(Tdelay) 동안에는 화면에 영상이 출력되지 않으며, 이로 인해 사용자는 QOE의 저하를 느끼게 된다.The image is not displayed on the screen during the combined delay time between Tsrch and Trv, which causes the user to feel the QOE deterioration.

채널변경 지연시간을 줄이기 위한 많은 연구가 진행되었는데, 지금까지 IPTV 시스템에서 채널변경 지연시간을 줄이기 위하여 연구된 내용은 대부분 멀티캐스트 방식의 IPTV 시스템 환경에 대한 연구이다. 현재까지 제안된 채널변경 지연시간을 줄이기 위하여 연구된 방법에는, 시청률을 분석하여 인기도가 높은 채널로 변경할 확률이 높다는 가정 하에 인기도가 높은 채널데이터를 미리 제공하는 방법, 사용자가 채널을 변경하면 변경된 채널데이터를 우선 고속의 유니캐스트 방식으로 제공함으로써 버퍼링 시간을 단축시켜 화면에 방영한 후에 원래의 멀티캐스트 방식으로 데이터를 보내어 임시로 보냈던 유니캐스트 데이터로부터 전환시켜서 지연시간을 줄이는 방법, 부멀티캐스트 트리(secondary multicast tree)를 구성하여 해상도가 낮은 저용량의 채널데이터를 사용자의 시청과 관계없이 전송하고 있다가 사용자가 채널을 변경할 때 변경된 채널데이터를 부멀티캐스트로부터 빨리 받아보게 하여 지연시간을 단축시키는 방법 등이 제안되었다.Many studies have been conducted to reduce the channel change delay time. Most of the researches to reduce the channel change delay time in the IPTV system have been conducted on the multicast IPTV system environment. In order to reduce the delay of channel change, the proposed method is to provide popular channel data in advance on the assumption that it is highly likely to change to a popular channel by analyzing viewer ratings. By providing the data in a high speed unicast method first, the buffering time is shortened and aired on the screen, and then the data is sent by the original multicast method and the delay is reduced by switching from the temporarily sent unicast data. Secondary multicast tree) is used to transmit low-capacity channel data with low resolution regardless of user's viewing, and to reduce delay time by receiving changed channel data from sub-multicast quickly when the user changes channels. This has been proposed.

채널변경은 주파수대역의 사용과 지연시간과의 절충이 필요한 문제이다. 즉, 극단적으로 공중파 방송과 같이 모든 채널 데이터를 동시에 전송하게 되면 채널 변경 지연은 발생하지 않지만 주파수 대역을 많이 사용하게 됨으로써 네트워크 부하를 증가시킨다. 반대로 하나의 채널 신호를 보내다가 사용자가 채널을 변경하면 변경된 채널 신호를 보내는 기본적인 방법은 주파수대역을 효율적으로 사용하지만 사용자가 체감하는 지연시간이 커지므로 만족도가 낮아진다는 단점이 있다.Channel change is a problem that requires a tradeoff between frequency band use and delay time. In other words, if all channel data are transmitted at the same time, such as over-the-air broadcasting, channel change delay does not occur, but the network load is increased by using a lot of frequency bands. On the contrary, the basic method of sending the changed channel signal when the user changes the channel while sending a single channel signal is efficient use of the frequency band, but the user experiences a large delay time, which results in lower satisfaction.

특히, 사용자는 종종 자신이 보고 싶은 채널을 찾기 위하여 채널을 계속 이동하는 경우가 많으며, 이처럼 채널변경이 계속 발생하게 되면 현재의 채널그룹 탈퇴와 새로운 채널그룹으로의 가입이 반복적으로 수행되며 그때마다 지연시간이 발 생하고, 사용자의 체감품질 QOE가 저하된다는 문제점이 있다.In particular, users often move channels continuously to find the channel they want to watch, and if the channel change occurs continuously, the current channel group is left and the new channel group is repeatedly performed. There is a problem that time occurs and the user's quality of experience QOE is lowered.

본 발명은 상기한 종래기술의 문제점을 해결하기 위해 제안된 것으로, 채널 변경시에 발생하는 시간지연을 감소시켜, 사용자의 체감품질 QOE를 증가시키고자 하는데 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problems of the prior art, and aims to increase the user's haptic quality QOE by reducing the time delay occurring when changing a channel.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적들은 하기의 설명에 의해 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허청구범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects of the present invention, which are not mentioned above, can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. It will also be readily apparent that the objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.

상기한 목적을 달성하기 위한 본 발명에 따른 데이터 수신방법은, P2P방송 시스템의 피어가 데이터를 수신하는 방법에 있어서, 소정채널 그룹에 접속하는 단계; 고용량의 상기 소정채널 데이터를 수신하는 단계; 및 저용량의 인접채널 데이터를 수신하는 단계를 포함할 수 있다.According to an aspect of the present invention, there is provided a data receiving method, comprising: accessing a predetermined channel group by a peer of a P2P broadcasting system; Receiving the predetermined channel data of high capacity; And receiving adjacent channel data of a low capacity.

상기 소정채널 데이터를 수신하는 단계와 상기 인접채널 데이터를 수신하는 단계는 동시에 이루어지는 것을 특징으로 할 수 있으며, 상기 피어는 현재 접속된 채널 그룹의 인접채널의 주소를 주기적으로 수신하는 것을 특징으로 할 수 있다.The receiving of the predetermined channel data and the receiving of the adjacent channel data may be performed simultaneously. The peer may receive the address of the adjacent channel of the currently connected channel group periodically. have.

또한, 본 발명에 따른 동작방법은, P2P방송 시스템의 피어가 동작하는 방법 에 있어서, N채널 그룹에 접속하는 제1단계; 상기 N채널의 방송데이터를 고용량으로 수신하고, N+1채널의 방송데이터와 N-1채널의 방송데이터를 저용량으로 수신하며, 상기 N-1채널의 방송데이터를 디스플레이하는 제2단계; 및 사용자 입력에 의한 채널 변경시에, 상기 제2단계에서 수신하고 있던 상기 N+1채널의 방송데이터 또는 상기 N-1채널의 방송데이터를 디스플레이하는 제3단계를 포함할 수 있다.In addition, the operation method according to the present invention includes a method for operating a peer of a P2P broadcasting system, comprising: a first step of connecting to an N-channel group; A second step of receiving the broadcast data of the N channel at a high capacity, receiving the broadcast data of the N + 1 channel and the broadcast data of the N-1 channel at a low capacity, and displaying the broadcast data of the N-1 channel; And a third step of displaying broadcast data of the N + 1 channel or broadcast data of the N-1 channel received in the second step when changing a channel by a user input.

상기 동작방법은, N+1채널 그룹 또는 N-1채널 그룹으로 접속하는 제4단계; 및 상기 제4단계에서 접속된 채널 그룹으로부터 N+2채널의 방송데이터 또는 N-2채널의 방송데이터를 저용량으로 수신하는 제5단계를 더 포함하는 것을 특징으로 할 수 있다.The operation method may include a fourth step of accessing an N + 1 channel group or an N-1 channel group; And a fifth step of receiving N + 2 channel broadcast data or N-2 channel broadcast data with low capacity from the channel group connected in the fourth step.

상기 사용자 입력에 의한 채널 변경시점으로부터 임계시간 동안 사용자의 채널 변경에 관한 입력이 없는 경우에는, 상기 제4단계에서 접속된 채널그룹으로부터 N+1채널의 방송데이터 또는 N-1채널의 방송데이터를 고용량으로 수신하는 제6단계; 및 상기 제6단계에서 수신된 고용량의 방송데이터를 디스플레이하는 제7단계를 더 포함하는 것을 특징으로 할 수 있다.If there is no input for changing the channel of the user for a threshold time from the channel change time by the user input, broadcast data of N + 1 channel or broadcast data of N-1 channel from the channel group connected in the fourth step. A sixth step of receiving at a high capacity; And a seventh step of displaying the high capacity broadcast data received in the sixth step.

본 발명은, 현재 시청하고 있는 채널의 데이터는 고용량으로 수신하고 현재 시청하고 있는 채널의 인접채널의 데이터는 저용량으로 수신함으로써, 채널의 변경이 있을 때 바로 저용량의 방송데이터를 디스플레이한다. 따라서 채널의 변경시 바로 인접채널의 화면을 디스플레이하는 것이 가능해지고, 이로 인하여 채널변경의 지연시간을 줄이며, 사용자가 느끼는 체감품질 QOE를 증가시키게 된다.According to the present invention, data of a channel currently being watched is received at a high capacity, and data of an adjacent channel of a channel currently being watched is received at a low capacity, thereby immediately displaying broadcast data of a low capacity when a channel is changed. Therefore, when the channel is changed, it is possible to display the screen of the adjacent channel immediately, thereby reducing the delay time of the channel change and increasing the user experience quality QOE.

또한, 사용자의 채널 탐색이 끝나는 경우에는, 이를 판단하여 다시 고용량의 방송데이터를 디스플레이함으로써 사용자가 느끼는 체감품질 QOE를 증가시키게 된다는 장점이 있다.In addition, when the user's channel search is completed, it is possible to increase the perceived quality QOE that the user feels by determining and displaying the broadcast data of high capacity again.

비록, 인접채널의 방송데이터를 수신함으로 인하여, 피어가 수신하는 데이터의 전체 양이 증가하기는 하지만, 인접채널의 방송데이터는 저용량으로 수신하기 때문에, 전체 데이터 양의 증가는 거의 없다는 장점이 있다.Although receiving the broadcast data of the adjacent channel increases the total amount of data received by the peer, the broadcast data of the adjacent channel is received at a low capacity, so there is almost no increase in the total data amount.

이하, 본 발명을 설명하기 위해 사용되는 기호는 다음의 표1과 같다.Hereinafter, symbols used to explain the present invention are shown in Table 1 below.

PP 피어(peer)Peer NN 채널을 변경하기 전의 시작 채널Start channel before changing channel N+1, N-1N + 1, N-1 시작채널의 바로 윗 채널, 바로 아래 채널 :바로 윗 채널 바로 아래 채널이란 숫자가 하나 높거나 낮은 채널을 의미하는 것이 아니라 사용자가 채널 업/다운 명령을 내렸을 때 변경되는 채널을 말한다. 예를 들어, 대한민국의 공중파 TV채널은 6,7,9,11번 채널이 있는데, N=9라면 N+1=11이고, N-1=7이 된다.Immediately above the start channel, directly below the channel: The immediate channel immediately below the channel does not mean a channel with a higher or lower number, but a channel that is changed when the user issues a channel up / down command. For example, there are 6, 7, 9, and 11 TV channels in Korea. If N = 9, N + 1 = 11 and N-1 = 7. P(N+1)P (N + 1) P는 피어를 나타내며 ()안은 피어가 현재 시청하고 있는 채널을 나타낸다.P denotes a peer, and () denotes a channel that the peer is currently watching. θθ 채널변경 지연시간
=Tdelay-Tchange, Tdelay>Tchange
0 , Tdelay<Tchange
Channel change delay time
= Tdelay-Tchange, Tdelay> Tchange
0, Tdelay <Tchange

본 발명의 피어는 사용자가 선택한 채널 N과 함께 인접채널 N+1과 N-1을 동시에 수신한다. 그러나 인접한 채널은 대역폭의 사용을 줄이기 위하여 저용량 데이터로 인코딩되어서 수신된다. 인접채널(N+1과 N-1은 N의 인접채널임)을 함께 수신함으로써 사용자가 채널을 변경하면 우선 함께 수신하던 인접채널 데이터를 화면에 디스플레이하여 채널 변경으로 인한 지연시간을 없앤다. 예를 들어, 피어의 사용자가 N채널을 시청하고 있을 때, N채널의 방송데이터를 고용량으로 수신하여 화면에 디스플레이하며, N+1,N-1채널의 방송데이터를 저용량으로 수신한다. 그리고 N→N+1 또는 N→N-1의 채널의 변경시에 수신하고 있던 저용량의 방송데이터를 바로 디스플레이함으로써, 사용자가 채널 변경에 따른 지연시간을 느끼지 않도록 한다. 각 채널그룹의 피어들은 자신이 속한 채널의 고용량의 방송데이터를 가지며 인접채널의 저용량 방송데이터를 가진다. 예컨데, N채널 그룹의 피어는 고용량의 N채널 방송데이터와 저용량의 N+1과 N-1채널 방송데이터를 가지며, N+1채널 그룹의 피어는 고용량의 N+1채널 방송데이터와 저용량의 N과 N+2채널 방송데이터를 가진다.The peer of the present invention simultaneously receives the adjacent channels N + 1 and N-1 together with the channel N selected by the user. However, adjacent channels are received encoded with low volume data to reduce bandwidth usage. By receiving adjacent channels together (N + 1 and N-1 are adjacent channels of N), when the user changes the channel, the adjacent channel data received together is displayed on the screen to eliminate the delay time caused by the channel change. For example, when a user of a peer is watching the N channel, the broadcast data of the N channel is received at a high capacity and displayed on the screen, and the broadcast data of the N + 1 and N-1 channels are received at a low capacity. Then, by directly displaying the low-capacity broadcast data received when the channel is changed from N → N + 1 or N → N-1, the user does not feel the delay time due to the channel change. Peers of each channel group have high capacity broadcast data of their own channel and low capacity broadcast data of adjacent channels. For example, a peer of an N-channel group has high capacity N-channel broadcast data and a low capacity of N + 1 and N-1 channel broadcast data, and a peer of an N + 1 channel group has a high capacity of N + 1 channel broadcast data and a low capacity of N And N + 2 channel broadcast data.

또한, 본 발명은 채널을 변경할 때 변경된 채널그룹의 유효한 피어를 찾는 과정을 개선하는 방법을 사용한다. 사용자가 하나의 채널그룹에서 시정하는 동안 트래커로부터 인접채널을 시청하는 채널그룹에서 유효한 피어의 주소를 주기적으로 전송받는다. 그러기 위해서 트래커는 각 채널그룹에 속한 피어들에게 인접채널의 유효한 피어를 적절히 할당하는 테이블을 만들어서 관리하며 피어들의 가입과 탈퇴가 빈번히 일어나므로 주기적으로 테이블을 갱신하여 피어들에게 전송한다. N→N+1 또는 N→N-1의 채널 변경이 발생할 경우에 P(N)은 트래커로부터 미리 수신한 정보를 이용하여 P(N+1) 또는 P(N-1)에게 접속할 수 있다. 이렇게 함으로써, 피어가 N+1그룹 및 N-1그룹에 가입하는데 걸리는 시간을 줄일 수 있다. 만일 변경하는 채널그룹에 속한 유효한 P(N+1) 또는 P(N-1)에 접속했을 때 P(N+1) 또는 P(N-1)이 이미 다른 채널로 변경한 상태라면 기존의 방법과 같이 트래커에게 변경할 채널그룹의 요효한 피어의 주소를 요청한다.In addition, the present invention uses a method for improving the process of finding a valid peer of the changed channel group when changing the channel. While the user is correcting in one channel group, the tracker periodically receives the address of a valid peer in the channel group watching the adjacent channel. To do this, the tracker creates and manages a table that properly allocates valid peers of adjacent channels to peers in each channel group. Since the joining and leaving of the peers occurs frequently, the tracker periodically updates the table and sends it to the peers. When a channel change occurs from N → N + 1 or N → N-1, P (N) may connect to P (N + 1) or P (N-1) using information previously received from the tracker. By doing so, it is possible to reduce the time it takes for the peer to join the N + 1 group and the N-1 group. If P (N + 1) or P (N-1) has already changed to another channel when connected to a valid P (N + 1) or P (N-1) belonging to the changing channel group, the existing method Ask the tracker for the address of a valid peer for the channel group to change.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 실현함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다.The foregoing and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, in which: There will be. In the implementation of the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1로 변경하는 과정을 도시한 도면이다.3 is a diagram illustrating a process of changing a channel from N to N + 1 by a peer of a P2P broadcasting system according to the present invention.

도면에서 무늬부분이 화면에 디스플레이되는 채널을 나타내며, N-1, N, N+1, N+2의 두께는 수신하는 방송데이터의 용량을 나타낸다.In the drawing, the pattern part represents a channel displayed on the screen, and the thicknesses of N-1, N, N + 1, and N + 2 represent the capacity of broadcast data to be received.

T1시간 이전에, 피어는 N채널 그룹에 접속하여 N채널의 방송데이터를 고용량으로 수신하여 화면에 디스플레이하며, N+1채널과 N-1채널의 방송데이터를 저용량으로 수신한다.Before the time T1, the peer connects to the N-channel group, receives the N-channel broadcast data in high capacity, displays it on the screen, and receives the N + 1 channel and N-1 channel broadcast data in low capacity.

T1시간에 사용자 입력에 의해 N→N+1로 채널을 변경하라는 입력이 인가되면, 피어는 미리 수신하고 있던 저용량의 N+1채널 방송데이터를 화면에 디스플레이한다. 이에 의하여 사용자는 채널 변환에 따른 지연을 느끼지 않는다. 그리고 일정시간(Tdelay) 이후에 피어는 N+1채널 그룹에 접속한다. 여기서 일정시간(Tdelay)은 피어가 N+1 그룹에 접속하는데 걸리는 지연시간(Tdelay)을 의미한다. 본 발명에서는, 피어가 인접채널(N+1, N-1)의 유효한 주소 정보를 미리 수신하는 방식을 사용하기 때문에, 지연시간(Tdelay)을 종래보다 줄일 수 있게 된다. 피어가 N+1 채널 그룹에 접속한 이후에는 다음의 채널변경에 대비하여 N+2채널의 방송데이터를 저용량으로 수신한다.When an input to change the channel from N to N + 1 is applied by the user input at the time T1, the peer displays the low-capacity N + 1 channel broadcast data previously received on the screen. As a result, the user does not feel a delay due to channel conversion. After a predetermined time (Tdelay), the peer accesses the N + 1 channel group. Here, Tdelay means a delay Tdelay for the peer to access the N + 1 group. In the present invention, since the peer uses a method of receiving valid address information of the adjacent channels N + 1 and N-1 in advance, the delay time Tdelay can be reduced. After the peer accesses the N + 1 channel group, the peer receives broadcast data of the N + 2 channel with low capacity in preparation for the next channel change.

사용자가 N+1에서 더 이상 채널을 변경하지 않고 그런 상태가 임계시간(Tcritical)을 초과하면 피어는 사용자가 더 이상 채널변경을 하지 않는다고 판단하고, 이미 접속해 있던 N+1채널그룹의 피어로부터 고용량의 N+1채널 방송데이터를 수신하여 고화질의 선명한 화면을 디스플레이하게 된다. 도면의 Td는 N+1의 채널그룹의 피어로부터 고용량의 N+1채널 방송데이터를 전송받는데 소요되는 시간을 나타낸다. 임계시간은 채널탐색 임계시간으로 사용자가 채널을 변경하지 않는 상태가 지속되어 사용자의 채널탐색이 끝났다고 판단하는 시간이다. 이러한 임계시간이 설정에 따라 변경될 수 있음은 당연하다(예, 임계시간을 5초 10초 등과 같이 설정할 수 있음).If the user no longer changes the channel at N + 1 and the state exceeds the critical time, the peer determines that the user does not change the channel anymore and from the peer of the already connected N + 1 channel group It receives high-capacity N + 1 channel broadcast data and displays high quality clear screen. Td in the figure indicates the time taken to receive high capacity N + 1 channel broadcast data from peers of the N + 1 channel group. The threshold time is the channel search threshold time, which is the time when the user does not change the channel and determines that the user's channel search is finished. Naturally, the threshold time may be changed according to the setting (for example, the threshold time may be set as 5 seconds 10 seconds, etc.).

임계시간(Tcritical) 이후에도 N채널 그룹으로부터 고용량의 N채널 방송데이터를 수신하는 것은 가능하지만, 이미 임계시간이 지난 시점 이후로부터는 사용자가 더 이상 채널 탐색을 하지 않을 가능성이 크므로, N+1채널 그룹에만 접속하여 모든 방송데이터(고용량 N+1, 저용량 N, 저용량 N+2)를 수신하는 것이 바람직하다.It is possible to receive high-capacity N-channel broadcast data from the N-channel group even after the critical time, but since there is a high possibility that the user will no longer search for a channel from the time after the threshold time has passed, the N + 1 channel It is preferable to connect only to a group to receive all broadcast data (high capacity N + 1, low capacity N, low capacity N + 2).

피어의 채널 변경이 상기와 같이 이루어지면 N→N+1로 채널변경이 이루어지는 경우에 N+1채널의 화질이 Tcritical+Td 시간 동안 저화질로 디스플레이되는 것을 제외하고, 사용자는 채널 변경으로 인한 지연시간을 느끼지 못하게 된다.If the channel change of the peer is made as described above, when the channel change is made from N → N + 1, the delay time due to the channel change is excluded, except that the picture quality of the N + 1 channel is displayed in low quality for Tcritical + Td time. Will not feel.

일반적으로 사용자는 채널변경에 따른 지연시간을 줄이고 고품질의 화질이 디스플레이되기를 원한다. 하지만 채널을 탐색하는 과정에서 채널의 내용을 확인하는 경우에는 화질이 선명하지 않더라도 별로 문제가 되지 않는다. 즉, 시청자들은 채널을 변경할 때 지연시간이 길어서 검은 화면을 보다가 변경된 채널의 화면을 고화질로 보는 것보다 화면이 선명하지 않더라도 빨리 화면이 나와서 이 채널을 계속 시청할 것인지 다음 채널로 넘어갈 것인지를 결정하기를 원한다. 본 발명은 이러한 사용자의 필요성을 충족시켜준다. 물론, 사용자의 채널탐색이 끝났다고 판단되면(Tcritical 동안 채널 변경이 없으면) 해당채널을 고화질로 디스플레이함으로써, 사용자가 고화질의 화면을 즐길 수 있도록 한다.In general, the user wants to reduce the delay caused by the channel change and display high quality image quality. However, when checking the contents of a channel while searching for a channel, it is not a problem even if the image quality is not clear. This means that viewers can choose to decide whether to continue watching this channel or move on to the next channel, even if the screen is not clear, because the delay is long when the channel is changed. Want. The present invention fulfills this need of the user. Of course, if it is determined that the user's channel search is over (if there is no channel change during critical), the corresponding channel is displayed in high quality, so that the user can enjoy a high quality screen.

도 3에서는 채널이 N→N+1로 변경되는 과정을 설명하였는데, 채널이 N→N-1로 변경되는 과정도 이와 동일하게 이루어질 수 있다.In FIG. 3, the process of changing the channel from N → N + 1 has been described. The process of changing the channel from N → N-1 may be performed in the same manner.

도 4는 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1→N+2로 변경하는 과정을 도시한 도면이다.FIG. 4 is a diagram illustrating a process of changing a channel from N to N + 1 → N + 2 by a peer of a P2P broadcasting system according to the present invention.

T1시간 이전에, 피어는 N채널 그룹에 접속하여 N채널의 방송데이터를 고용량으로 수신하여 화면에 디스플레이하며, N+1채널과 N-1채널의 방송데이터를 저용량으로 수신한다.Before the time T1, the peer connects to the N-channel group, receives the N-channel broadcast data in high capacity, displays it on the screen, and receives the N + 1 channel and N-1 channel broadcast data in low capacity.

T1시간에 사용자 입력에 의해 N→N+1로 채널을 변경하라는 입력이 인가되면, 피어는 미리 수신하고 있던 저용량의 N+1채널 방송데이터를 화면에 디스플레이한다. 이에 의하여 사용자는 채널 변환에 따른 지연을 느끼지 않는다. 그리고 일정시간 이후에 피어는 N+1채널 그룹에 접속한다. 피어가 N+1채널 그룹에 접속한 이후에는 다음의 채널변경에 대비하여 N+1채널 그룹의 피어로부터 N+2채널의 방송데이터를 저용량으로 수신한다.When an input to change the channel from N to N + 1 is applied by the user input at the time T1, the peer displays the low-capacity N + 1 channel broadcast data previously received on the screen. As a result, the user does not feel a delay due to channel conversion. After a certain time, the peer accesses the N + 1 channel group. After the peer accesses the N + 1 channel group, it receives the N + 2 channel broadcast data with low capacity from the peer of the N + 1 channel group in preparation for the next channel change.

T2시간에 사용자가 채널을 N+1→N+2로 채널을 변경하면, 피어는 미리 수신하고 있던 저용량의 N+2채널 방송데이터를 화면에 디스플레이한다. Tchange>Tdelay인 경우에는, 이미 저용량의 N+2채널 방송데이터가 수신되고 있는 상태에서 채널이 변경되는 것으므로 시간지연이 없이 저용량의 N+2채널의 방송데이터가 화면에 디스플레이된다. Tchange<Tdelay인 경우에는, Tdelay-Tchange 만큼의 시간이 지연된 후에 저용량의 N+2채널 방송데이터가 화면에 디스플레이된다. T2시간으로부터 일정시간(Tdelay) 이후에 피어는 N+2채널 그룹에 접속하고, 다음의 채널변경에 대비하여 N+2채널 그룹으로부터 저용량의 N+3채널 방송데이터를 수신한다.When the user changes the channel from N + 1 to N + 2 at time T2, the peer displays the previously received low capacity N + 2 channel broadcast data on the screen. In the case of Tchange> Tdelay, since the channel is changed while the low capacity N + 2 channel broadcast data is already received, the low capacity N + 2 channel broadcast data is displayed on the screen without time delay. In the case of Tchange <Tdelay, after a delay of Tdelay-Tchange is delayed, N + 2 channel broadcast data of low capacity is displayed on the screen. After a predetermined time (Tdelay) from the T2 time, the peer connects to the N + 2 channel group and receives the low capacity N + 3 channel broadcast data from the N + 2 channel group in preparation for the next channel change.

T2시간 이후에 사용자가 임계시간(Tcritical) 이상의 시간 동안 더 이상의 채널을 변경하지 않으면, 피어는 사용자가 더 이상 채널변경을 하지 않는다고 판단하고, 이미 접속해있던 N+2채널 그룹의 피어로부터 고용량의 N+2채널 방송데이터를 수신하여 고화질의 선명한 화면을 디스플레이한다. Td는 N+2채널 그룹의 피어로부터 고용량의 N+2방송데이터를 전송받는데 소요되는 시간을 나타낸다.After the T2 time, if the user does not change any more channels for more than the critical time, the peer determines that the user does not change the channel anymore, and a high capacity from the peer of the N + 2 channel group that is already connected Receives N + 2 channel broadcast data and displays high quality clear screen. Td represents the time taken to receive a high capacity N + 2 broadcast data from a peer of an N + 2 channel group.

임계시간이 지난 시점 이후로부터도 N채널 그룹으로부터 고용량의 N채널 방송데이터와 저용량의 N-1, N+1 방송데이터를 수신하는 것도 가능하지만, 이미 임계시간이 지난 시점 이후에는 사용자가 더 이상 채널 탐색을 하지 않을 가능성이 크므로, 피어는 N+2채널 그룹에만 접속하여 모든 방송데이터(고용량 N+2, 저용량 N+1, 저용량 N+3)를 수신하는 것이 바람직하다.It is also possible to receive high-capacity N-channel broadcast data and low-capacity N-1, N + 1 broadcast data from the N-channel group even after the threshold time has elapsed. Since there is a high possibility of not searching, it is preferable that a peer connects only to an N + 2 channel group to receive all broadcast data (high capacity N + 2, low capacity N + 1, low capacity N + 3).

도 4에서는 채널이 N→N+1→N+2로 변경되는 과정을 설명하였는데, 채널이 N→N-1→N-2로 변경되는 과정도 이와 동일하게 이루어질 수 있다.In FIG. 4, the process of changing the channel from N → N + 1 → N + 2 has been described. The process of changing the channel from N → N-1 → N-2 may also be performed in the same manner.

도 5는 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1→N+2→N+3으로 변경하는 과정을 도시한 도면이다.5 is a diagram illustrating a process of changing a channel from N to N + 1 → N + 2 → N + 3 by a peer of a P2P broadcasting system according to the present invention.

N→N+1→N+2로 채널이 변경되는 과정은 도 4에서 설명한 바와 같다. T2시간에 N+2채널로 변경한 사용자가 임계시간(Tcritical) 이전인 T3시간에 사용자가 N+3으로 채널을 면경하면, 피어는 미리 수신하고 있던 저용량의 N+3채널 방송데이터를 화면에 디스플레이한다.The process of changing the channel from N → N + 1 → N + 2 is as described with reference to FIG. 4. If the user changes the channel to N + 2 at T2 time, and the user changes the channel to N + 3 at T3 time before the critical time, the peer displays the previously received low-capacity N + 3 channel broadcast data on the screen. Display.

상기와 같이 채널 변경이 연속적으로 3번 발생한 경우에는, T1시간 이전에 접속하고 있던 N채널 그룹과의 연결을 끊는다. T3시간 이전까지는 사용자가 N+2→N+1로 채널을 변경할 수 있었기 때문에, N+1채널 데이터를 전송하던 N채널 그룹의 피어와 연결을 유지하였으나, N+3채널로 변경한 경우에는 N+1채널은 이제 인접채널이 아니므로 N채널 그룹과의 연결을 끊는다. 만일 이전의 채널그룹과의 연결을 계속 유지하게 되면 사용자가 채널을 N+3→N+4→...→N+M과 같이 계속 변경하는 경우에 너무 많은 피어와 동시에 연결해야 하는 문제가 발생하므로 이전에 연결되었던 현재 화면에 출력되는 채널의 피어와 인접한 채널데이터를 수신하기 위한 피어하고만 연결을 하도록 하는 것이 바람직하다. 즉, 사용자 입력에 의한 채널 변경이 연속적으로 미리 설정된 횟수 이상 반복되는 경우에, 피어는 이전에 접속된 채널그룹들 중 일부와의 접속을 해제한다. 상기의 예에서는 사용자가 채널 업(up)으로의 변경을 연속적으로 3번하는 경우에 이전의 채널그룹 중 일부와의 접속을 해제하고 있지만, 이러한 횟수가 설정에 따라 변경될 수 있음은 당연하다. 이전의 채널그룹과의 접속을 어떠한 조건에 따라 끊는지는 설정에 따라 다양하게 이루어질 수 있다.When the channel change occurs three times continuously as described above, the connection with the N-channel group that was connected before T1 time is disconnected. Until T3 hours, the user could change the channel from N + 2 → N + 1, so the connection was maintained with the peer of the N channel group that was transmitting the N + 1 channel data, but if the channel was changed to N + 3 channel, The +1 channel is no longer an adjacent channel and thus disconnects from the N channel group. If the connection with the previous channel group is maintained, the user needs to connect with too many peers at the same time if the user keeps changing channels such as N + 3 → N + 4 → ... → N + M. Therefore, it is preferable to connect only with a peer for receiving channel data adjacent to a peer of a channel outputted on the current screen which was previously connected. That is, when the channel change by the user input is repeatedly repeated more than a preset number of times, the peer releases the connection with some of the previously connected channel groups. In the above example, when the user changes the channel up three times in succession, the user is disconnected from some of the previous channel groups. However, the number of times may be changed according to the setting. Depending on the condition of disconnecting the connection with the previous channel group may vary depending on the configuration.

T3시간 이후에 임계시간(Tcritical) 이상의 시간 동안에 사용자가 채널을 변경하지 않으면(N+3채널을 임계시간 이상 시청하면), 피어는 사용자의 채널탐색이 끝났다고 판단하고, N+3채널 그룹으로부터 고용량의 N+3채널 방송데이터를 수신하여 고화질의 선명한 화면을 디스플레이한다. 또한, 앞서 설명한 바와 같이, 임계시간(Tcritical) 이후에는 피어가 N+3채널 그룹에만 접속하여 모든 데이터(고용량 N+3, 저용량 N+2, 저용량 N+4)를 수신하는 것이 바람직하다.If the user does not change the channel (watching N + 3 channels for more than the critical time) after T3 hours or more, the peer determines that the user's channel search is over, and the high capacity from the N + 3 channel group Receives N + 3 channel broadcast data and displays a high definition clear screen. In addition, as described above, after the critical time, it is preferable that the peer accesses only the N + 3 channel group to receive all data (high capacity N + 3, low capacity N + 2, low capacity N + 4).

도 5에서는 채널이 N→N+1→N+2→N+3으로 변경되는 과정을 설명하였는데, 채널이 N→N-1→N-2→N-3으로 변경되는 과정도 이와 동일하게 이루어질 수 있다.In FIG. 5, a process of changing a channel from N → N + 1 → N + 2 → N + 3 has been described, but a process of changing a channel from N → N-1 → N-2 → N-3 may be performed in the same manner. Can be.

도 6은 본 발명에 따른 채널변경 방법을 pseudo code로 표현한 것을 나타낸 도면이다. 도 6은 상기에서 설명한 방법을 pseudo code로 표현한 것이므로, 이에 대한 별도의 설명은 생략하기로 한다.6 is a diagram illustrating a pseudo code representing a channel change method according to the present invention. 6 is a pseudo code representation of the above-described method, and a separate description thereof will be omitted.

이하에서는 본 발명과 같은 방식으로 채널변경이 이루어지는 경우에 채널변경에 따른 지연시간을 알아보도록 한다. 사용자가 현재의 채널에서 다음 채널로 변경할 때 변경하는 채널 그룹에 유효한 피어가 DSLAM 내에 충분히 있다고 가정하고, 사용자가 연속적으로 채널변경을 하는 경우에 변경한 채널의 화면을 본 이후에 다음채널로 변경할지 계속 이 채널을 시청할지를 결정한다고 가정한다. 그리고 헤드엔드 서버(head-end server)에서 모든 채널에 대해서 I-frame으로만 구성되는 저용량 비디오 데이터를 인코딩할 수 있다고 가정한다.Hereinafter, the delay time according to the channel change when the channel change is made in the same manner as the present invention. When the user changes from the current channel to the next channel, assuming that there are enough valid peers in the DSLAM to change the channel group, and if the user continuously changes the channel, whether to change to the next channel after viewing the screen of the changed channel Suppose you decide to continue watching this channel. And it is assumed that the head-end server can encode low-capacity video data consisting of only I-frames for all channels.

사용자가 N채널을 시청하다가 N+1채널로 변경하는 경우(첫번째 채널변경)에는 도 7과 같이 채널변경으로 인한 지연시간이 발생하지 않는다. N+1채널을 임계시간(Tcritical) 이상 시청하면 P(N+1)로부터 고용량의 N+1채널 방송데이터와 함께 저용량의 N+2와 N채널 방송데이터를 수신하게 되므로 초기상태와 같아진다. N+1채널을 보다가 임계시간(Tcritical) 이전에 N+2채널로 변경하는 경우(두번째 채널변경)에는, 사용자가 채널을 변경하는 시간에 따라서 지연이 발생하지 않을 수도 있고 부분적인 지연이 발생할 수도 있다. 즉, 도 4에서 Tchange가 Tdelay 보다 큰 경우에는 채널변경으로 인한 지연이 발생하지 않지만 만일 Tchange가 Tdelay보다 작으면 부분적인 지연(θ)이 발생한다.When the user changes to the N + 1 channel while watching the N channel (the first channel change), the delay time due to the channel change does not occur as shown in FIG. 7. If the N + 1 channel is watched for more than a critical time, the low capacity N + 2 and N channel broadcast data are received from the P (N + 1) together with the high capacity N + 1 channel broadcast data. If you look at the N + 1 channel and change it to N + 2 channel before the critical time (second channel change), there may be no delay or partial delay depending on the time you change the channel. It may be. That is, in FIG. 4, if Tchange is greater than Tdelay, no delay occurs due to channel change, but if Tchange is less than Tdelay, a partial delay θ occurs.

도 7에서 검은색으로 칠한 부분이 채널변경으로 인한 지연시간이며 이 시간동안 화면이 출력되지 않는다. 사용자가 첫 번째 채널변경 이후에 두 번째 채널변경을 하는 시간을 지수분포로 가정하면 시간 t의 확률밀도함수는 다음의 수학식 1과 같다.In FIG. 7, the black area is a delay time due to channel change, and the screen is not output during this time. Assuming that the user makes the second channel change after the first channel change as an exponential distribution, the probability density function of time t is expressed by Equation 1 below.

Figure 112009043573870-pat00001
Figure 112009043573870-pat00001

t=Tdelay-θ이므로 채널변경 지연시간의 확률밀도 함수는 다음의 수학식 2와 같다.Since t = Tdelay-θ, the probability density function of the channel change delay time is shown in Equation 2 below.

Figure 112009043573870-pat00002
Figure 112009043573870-pat00002

따라서 채널을 변경할 때 발생하는 지연시간의 기대값(expectation)은 다음의 수학식 3과 같다.Therefore, the expected value of delay time that occurs when changing the channel is expressed by Equation 3 below.

Figure 112009043573870-pat00003
Figure 112009043573870-pat00003

수학식 3에서 λ는 채널요청시간 Tchange의 평균값의 역수를 의미한다. In Equation 3, λ means the inverse of the average value of the channel request time Tchange.

도 8은 첫 번째 채널변경 이후에 Tdelay값에 따른 채널변경 지연시간의 기대값을 도표로 표시한 것이다.FIG. 8 is a chart showing an expected value of a channel change delay time according to a Tdelay value after a first channel change.

도 8에 도시된 바와 같이, Tdelay값이 증가할수록 E(θ)값도 커진다. 즉, 새 로운 채널데이터를 수신하는데 걸리는 지연시간이 길어지면 사용자가 채널을 변경할 때 소요되는 평균 지연시간도 길어진다는 것을 의미한다. 또한, λ값이 커지면 E(θ)값도 커지게 되는데 λ값이 크다는 것은 사용자가 채널을 변경하는 시간 Tchange의 평균값이 적다는 것을 의미한다. 따라서 사용자가 채널을 빨리 변경할수록 채널변경 지연시간도 길어지게 된다.As shown in FIG. 8, as the Tdelay value increases, the E (θ) value also increases. In other words, the longer the delay time for receiving new channel data, the longer the average delay time for the user to change the channel. In addition, as the value of λ increases, the value of E (θ) also increases, which means that a large value of λ means that the average value of the time Tchange when a user changes a channel is small. Therefore, the quicker the user changes the channel, the longer the channel change delay time.

수학식 3은 사용자가 두 번째 채널을 변경한다고 가정했을 때 채널변경 지연시간의 기대값을 구한 것이다. 따라서 기준시간(t=0) 이후에 사용자가 채널을 변경할 확률을 알면 사용자가 채널탐색을 하는 동안 발생하는 총 지연시간의 기대값을 구할 수 있다. 기준시간 이후에 사용자가 채널을 변경할 확률은 renewal process에 의하여 구할 수 있다[D.E. Smith, "IP TV Bandwidth Demand: Multicast and channel surfing". IEEE INFOCOM'07, pp2546-2550, Alaska, USA, May 2007 참조]. 즉, 기준시간에 사용자가 동전을 던져서 앞면이 나오면 채널을 돌리고 뒷면이 나오면 현재 채널을 유지한다. 동전을 던져서 앞면이 나온 경우에 다시 동전을 던진다. 이번에도 앞면이 나오면 다음 채널로 변경한다. 이렇게 채널을 변경한 후에 계속 동전을 던겨서 뒷면이 나올 때까지 채널탐색을 한다. 사용자가 채널탐색 임계시간(Tcritical) 이전에 동전을 던져서 앞면이 나올 확률을 Pt라고 한다면 채널 변경으로 인해 발생하는 총지연시간의 기대값은 다음의 수학식 4와 같다.Equation 3 is to calculate the expected value of the channel change delay time assuming that the user changes the second channel. Therefore, if the user knows the probability of changing the channel after the reference time (t = 0), the expected value of the total delay time that occurs during the user's channel search can be obtained. The probability that the user changes the channel after the reference time can be obtained by the renewal process [D.E. Smith, "IP TV Bandwidth Demand: Multicast and channel surfing". IEEE INFOCOM'07, pp 2546-2550, Alaska, USA, May 2007]. That is, the user tosses a coin at the reference time to turn the channel when the front comes out and maintain the current channel when the back comes out. Toss a coin and toss it again in case of face up. If the front comes out again, change to the next channel. After changing the channel, keep tossing coins and searching for channels until the back side comes out. If the user throws a coin before the channel search threshold time (Tcritical) and the probability of the front face is Pt, the expected value of the total delay time caused by the channel change is expressed by Equation 4 below.

Figure 112009043573870-pat00004
Figure 112009043573870-pat00004

수학식 4에서 첫 번째 항이 0인 이유는 첫 번째 채널변경으로 인한 지연시간이 0이기 때문이다. 수학식 4에 의해서 사용자가 채널을 변경할 확률 Pt에 따른 전체 채널 변경 지연시간의 기대값을 도표로 나타내면 도 9와 같다. 도 9에 도시된 바와 같이, 사용자가 채널을 변경하는 확률이 높을수록 전체 채널변경 지연시간은 커지게 되며 확률값이 높아질수록 그 정도가 더욱 커지는 것을 볼 수 있다.The first term in Equation 4 is 0 because the delay time due to the first channel change is zero. The expected value of the total channel change delay time according to the probability Pt of the user to change the channel by Equation 4 is shown in a chart as shown in FIG. 9. As shown in FIG. 9, the higher the probability that a user changes a channel, the larger the total channel change delay time, and the higher the probability value, the greater the degree.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환 변형 및 변경이 가능하므로 전술한 실시예 및 첨부도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions and modifications within the scope of the present invention to those skilled in the art without departing from the spirit of the present invention by the above-described embodiments and accompanying drawings It is not limited.

특히, 저용량의 방송데이터를 수신할 인접채널의 범위를 설정하고, 어느 범위의 채널 그룹과의 연결을 유지할 것인지 등에 관하여 다양한 변경이 가능함은 당연하다.In particular, it is natural that various modifications can be made to set a range of adjacent channels for receiving low-capacity broadcast data and to maintain a connection with a range of channel groups.

도 1은 다중 체인(multi chain) 구조 IPTV 시스템의 구성을 도시한 도면.1 is a diagram illustrating the configuration of a multi-chain IPTV system.

도 2는 종래의 IPTV시스템에서 사용자의 채널 변경에 의해 피어가 기존의 채널그룹(CH1)에서 탈퇴하고 새로운 채널그룹(CH2)에 가입하는 과정을 나타낸 도면.2 is a diagram illustrating a process in which a peer leaves an existing channel group CH1 and joins a new channel group CH2 by changing a channel of a user in a conventional IPTV system.

도 3은 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1로 변경하는 과정을 도시한 도면.3 is a diagram illustrating a process of changing a channel from N to N + 1 by a peer of a P2P broadcasting system according to the present invention;

도 4는 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1→N+2로 변경하는 과정을 도시한 도면.4 is a diagram illustrating a process of changing a channel from N to N + 1 → N + 2 by a peer of a P2P broadcasting system according to the present invention;

도 5는 본 발명에 따른 P2P방송 시스템의 피어가 채널을 N→N+1→N+2→N+3으로 변경하는 과정을 도시한 도면.5 is a diagram illustrating a process of changing a channel from N to N + 1 → N + 2 → N + 3 by a peer of a P2P broadcasting system according to the present invention;

도 6은 본 발명에 따른 채널변경 방법을 pseudo code로 표현한 것을 나타낸 도면.6 is a view showing a pseudo code representing a channel change method according to the present invention.

도 7은 채널변경시 지연이 발생하는 경우를 도시한 도면.7 is a diagram illustrating a case where a delay occurs when a channel is changed.

도 8은 채널변경 지연시간을 나타낸 그래프.8 is a graph showing a channel change delay time.

도 9는 채널탐색으로 인한 총 채널변경 지연시간을 나타낸 그래프.9 is a graph showing the total channel change delay time due to channel search.

Claims (8)

삭제delete 삭제delete 삭제delete P2P방송 시스템의 피어가 동작하는 방법에 있어서,In the way that the peer of the P2P broadcasting system operates, N채널의 방송데이터를 고용량으로 수신하고, N+1채널의 방송데이터와 N-1채널의 방송데이터를 저용량으로 수신하며, 상기 N채널의 방송데이터를 디스플레이하는 제1단계;A first step of receiving broadcast data of N channel with high capacity, receiving broadcast data of N + 1 channel and broadcast data of N-1 channel with low capacity, and displaying the broadcast data of N channel; 사용자 입력에 의한 채널 변경시에, 상기 제1단계에서 수신하고 있던 상기 N+1채널의 방송데이터 또는 상기 N-1채널의 방송데이터를 디스플레이하는 제2단계A second step of displaying broadcast data of the N + 1 channel or broadcast data of the N-1 channel received in the first step when changing a channel by a user input; 상기 사용자 입력에 의한 채널 변경시점으로부터 임계시간 동안 사용자의 채널 변경이 없으면, 상기 N+1채널의 방송데이터 또는 상기 N-1채널의 방송데이터를 고용량으로 수신하여 디스플레이하는 제3단계A third step of receiving and displaying broadcast data of the N + 1 channel or broadcast data of the N-1 channel with a high capacity when there is no channel change of the user for a threshold time from the channel change time by the user input; 를 포함하는 동작방법.Operation method comprising a. 삭제delete P2P방송 시스템의 피어가 동작하는 방법에 있어서,In the way that the peer of the P2P broadcasting system operates, N채널 그룹에 접속하는 제1단계;A first step of connecting to an N-channel group; 상기 N채널의 방송데이터를 고용량으로 수신하고, N+1채널의 방송데이터와 N-1채널의 방송데이터를 저용량으로 수신하며, 상기 N채널의 방송데이터를 디스플레이하는 제2단계;Receiving the broadcast data of the N channel with a high capacity, receiving broadcast data of the N + 1 channel and broadcast data of the N-1 channel with a low capacity, and displaying the broadcast data of the N channel; 사용자 입력에 의한 채널 변경시에, 상기 제2단계에서 수신하고 있던 상기 N+1채널의 방송데이터 또는 상기 N-1채널의 방송데이터를 디스플레이하는 제3단계A third step of displaying broadcast data of the N + 1 channel or broadcast data of the N-1 channel received in the second step when changing a channel by a user input; N+1채널 그룹 또는 N-1채널 그룹으로 접속하는 제4단계; 및A fourth step of accessing the N + 1 channel group or the N-1 channel group; And 상기 제4단계에서 접속된 채널 그룹으로부터 N+2채널의 방송데이터 또는 N-2채널의 방송데이터를 저용량으로 수신하는 제5단계를 포함하고,A fifth step of receiving N + 2 channel broadcast data or N-2 channel broadcast data at a low capacity from the channel group connected in the fourth step; 상기 사용자 입력에 의한 채널 변경시점으로부터 임계시간 동안 사용자의 채널 변경에 관한 입력이 없는 경우에는,If there is no input related to the channel change of the user for a threshold time from the channel change time by the user input, 상기 제4단계에서 접속된 채널그룹으로부터 N+1채널의 방송데이터 또는 N-1채널의 방송데이터를 고용량으로 수신하는 제6단계; 및A sixth step of receiving N + 1 channel broadcast data or N-1 channel broadcast data with a high capacity from the channel group connected in the fourth step; And 상기 제6단계에서 수신된 고용량의 방송데이터를 디스플레이하는 제7단계A seventh step of displaying the high capacity broadcast data received in the sixth step; 를 더 포함하는 것을 특징으로 하는 동작방법.Operation method characterized in that it further comprises. P2P방송 시스템의 피어가 동작하는 방법에 있어서,In the way that the peer of the P2P broadcasting system operates, N채널 그룹에 접속하는 제1단계;A first step of connecting to an N-channel group; 상기 N채널의 방송데이터를 고용량으로 수신하고, N+1채널의 방송데이터와 N-1채널의 방송데이터를 저용량으로 수신하며, 상기 N채널의 방송데이터를 디스플레이하는 제2단계;Receiving the broadcast data of the N channel with a high capacity, receiving broadcast data of the N + 1 channel and broadcast data of the N-1 channel with a low capacity, and displaying the broadcast data of the N channel; 사용자 입력에 의한 채널 변경시에, 상기 제2단계에서 수신하고 있던 상기 N+1채널의 방송데이터 또는 상기 N-1채널의 방송데이터를 디스플레이하는 제3단계A third step of displaying broadcast data of the N + 1 channel or broadcast data of the N-1 channel received in the second step when changing a channel by a user input; N+1채널 그룹 또는 N-1채널 그룹으로 접속하는 제4단계; 및A fourth step of accessing the N + 1 channel group or the N-1 channel group; And 상기 제4단계에서 접속된 채널 그룹으로부터 N+2채널의 방송데이터 또는 N-2채널의 방송데이터를 저용량으로 수신하는 제5단계를 포함하고,A fifth step of receiving N + 2 channel broadcast data or N-2 channel broadcast data at a low capacity from the channel group connected in the fourth step; 상기 사용자의 입력에 의한 채널 변경이 연속적으로 미리 설정된 횟수 이상 반복되는 경우에는,When the channel change by the user's input is repeatedly repeated more than a preset number of times, 상기 피어는 이전에 접속된 채널 그룹들 중 일부와의 접속을 해제하는 것을 특징으로 하는 동작방법.The peer releases a connection with some of the previously connected channel groups. 제 6항에 있어서,The method of claim 6, 상기 피어는,The peer, 자신이 현재 접속된 채널 그룹의 인접 채널의 주소를 주기적으로 수신하는 것을 특징으로 하는 동작방법.And periodically receiving an address of an adjacent channel of a channel group to which the channel is currently connected.
KR1020090065299A 2009-07-17 2009-07-17 Method and operation method for peer of P2P broadcasting system to receive data KR101054047B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090065299A KR101054047B1 (en) 2009-07-17 2009-07-17 Method and operation method for peer of P2P broadcasting system to receive data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090065299A KR101054047B1 (en) 2009-07-17 2009-07-17 Method and operation method for peer of P2P broadcasting system to receive data

Publications (2)

Publication Number Publication Date
KR20110007715A KR20110007715A (en) 2011-01-25
KR101054047B1 true KR101054047B1 (en) 2011-08-04

Family

ID=43614095

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090065299A KR101054047B1 (en) 2009-07-17 2009-07-17 Method and operation method for peer of P2P broadcasting system to receive data

Country Status (1)

Country Link
KR (1) KR101054047B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080051925A (en) * 2006-12-07 2008-06-11 한국전자통신연구원 Method and ip settop box for reducing delay of zapping time
KR20090024426A (en) * 2007-09-04 2009-03-09 주식회사 케이티 Image providing system and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080051925A (en) * 2006-12-07 2008-06-11 한국전자통신연구원 Method and ip settop box for reducing delay of zapping time
KR20090024426A (en) * 2007-09-04 2009-03-09 주식회사 케이티 Image providing system and method thereof

Also Published As

Publication number Publication date
KR20110007715A (en) 2011-01-25

Similar Documents

Publication Publication Date Title
US20220303599A1 (en) Synchronizing Program Presentation
US9237176B2 (en) Method and device for transmitting audio and video for playback
JP6058602B2 (en) Transmitter quietness and reduced rate coding
JP5579843B2 (en) Transmitter quietness and different coding rates for parts of a set of frames
US9615119B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
US7688861B2 (en) Media channel switching
US8358909B2 (en) Coordinated output of messages and content
US9473549B2 (en) Method of playing internet video and related electronic device
CN202799004U (en) Video playback terminal and video playback system
CN101848382A (en) Method and system for adjusting video streaming image resolution ratio and code stream
CN101267516A (en) Method for displaying video pictures
KR20100107236A (en) System and method for changing channel in internet protocol television
US20140259062A1 (en) Media sharing and communication system
US20090165062A1 (en) System and Method for Reducing Latency Using a Sample Channel
CN105681139A (en) Devices and methods for obtaining media stream with adaptive resolutions
CN102326403B (en) Utilize exterior artwork attribute flags to carry out accelerating channel and change the time
US9479738B2 (en) Method and apparatus for transmitting and receiving broadcasting information using reserved channels
KR101054047B1 (en) Method and operation method for peer of P2P broadcasting system to receive data
CN101094388A (en) Method and system for sending video information
KR101307531B1 (en) Apparatus providing real-time broadcasting guide included image of broadcasting channel
JP2009284268A (en) Multicast broadcasting system and receiver
KR20090091902A (en) Method and apparatus for providing content download service
US10165312B2 (en) Over-the-air television gap filler using television-white-space channels via wireless local area networks
CN113691822B (en) Self-adaptive adjustment method and device for WebRTC Simulcast
JP2021180381A (en) Broadcast/communication control device, program selection device, broadcast/communication control system, and program

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150609

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160627

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee