KR20110117302A - Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof - Google Patents

Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof Download PDF

Info

Publication number
KR20110117302A
KR20110117302A KR1020100036680A KR20100036680A KR20110117302A KR 20110117302 A KR20110117302 A KR 20110117302A KR 1020100036680 A KR1020100036680 A KR 1020100036680A KR 20100036680 A KR20100036680 A KR 20100036680A KR 20110117302 A KR20110117302 A KR 20110117302A
Authority
KR
South Korea
Prior art keywords
video
providing server
port number
packet
udp
Prior art date
Application number
KR1020100036680A
Other languages
Korean (ko)
Other versions
KR101130892B1 (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 KR1020100036680A priority Critical patent/KR101130892B1/en
Publication of KR20110117302A publication Critical patent/KR20110117302A/en
Application granted granted Critical
Publication of KR101130892B1 publication Critical patent/KR101130892B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/165Combined use of TCP and UDP protocols; selection criteria therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet

Abstract

본 발명은 홀 펀칭 기능을 수행하는 액세스 포인트를 통해 소정의 동영상 제공 서버와 통신하는 이동통신 단말기 및 그 제어방법에 관한 것이다. 본 발명에 따른 이동통신 단말기의 제어방법은, 상기 동영상 제공 서버와 TCP(Transmission Control Protocol) 통신 채널을 설정하고, 동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정하는 단계와; 상기 음성 포트 번호 및 영상 포트 번호를 상기 설정된 TCP 통신 채널을 통해 상기 동영상 제공 서버에 전송하는 단계와; 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하기 위해, 상기 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하는 단계와; 상기 동영상 제공 서버에 상기 설정된 TCP 통신 채널을 통해 동영상의 전송을 요청하는 단계와; 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되면, 수신된 음성 패킷 및 영상 패킷을 결합하여 동영상을 재생하는 단계를 포함하는 것을 특징으로 한다.The present invention relates to a mobile communication terminal communicating with a predetermined video providing server through an access point performing a hole punching function and a control method thereof. The control method of a mobile communication terminal according to the present invention comprises the steps of: establishing a transmission control protocol (TCP) communication channel with the video providing server, and randomly generating and setting a voice port number and a video port number to receive video content. Wow; Transmitting the voice port number and the video port number to the video providing server through the established TCP communication channel; Generating a user datagram protocol (UDP) dummy packet having the voice port number and the video port number as a destination port to induce hole punching setting in the access point, and transmitting the generated UDP packet to the video providing server; Requesting transmission of a moving picture through the established TCP communication channel to the moving picture providing server; And when a UDP voice packet and a UDP video packet are received from the video server through the voice port number and the video port number, combining the received voice packet and the video packet to play a video.

Description

동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기 및 그 제어방법{MOBILE COMMUNICATION APPARATUS FOR COMMUNICATING WITH A VIDEO PROVING SERVER AND PLAYING A VIDEO, AND CONTROL METHOD THEREOF}MOBILE COMMUNICATION APPARATUS FOR COMMUNICATING WITH A VIDEO PROVING SERVER AND PLAYING A VIDEO, AND CONTROL METHOD THEREOF}

본 발명은 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기 및 그 제어방법에 관한 것으로, 보다 상세하게는 액세스 포인트를 통해 동영상 제공 서버와 UDP 통신에 기반한 동영상을 수신하는 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기 및 그 제어방법 관한 것이다.The present invention relates to a mobile communication terminal for processing a video by communicating with a video providing server and a control method thereof, and more particularly, by communicating with a video providing server receiving a video based on UDP communication with a video providing server through an access point. A mobile communication terminal for processing a video and a control method thereof.

최근 이동통신 단말기에는 사용자 편의성을 위해 다양한 기능들이 포함되고 있다. 예를 들어 이동통신 단말기 사용자들은 이동통신 단말기를 이용하여 웹 서핑을 할 수 있고, 특히 소정의 동영상 서버에 접속하여 동영상을 수신할 수도 있다.Recently, various functions are included in a mobile communication terminal for user convenience. For example, mobile communication terminal users may surf the web using the mobile communication terminal, and in particular, may access a predetermined video server to receive a video.

이러한 이동통신 단말기의 인터넷 접속은 이동통신망을 통해 이루어질 수도 있으나, 최근에는 근거리 무선 랜 통신 예를 들어 WIFI(WIRELESS FIDELITY) 통신을 이용하여서도 접속할 수 있다.The Internet connection of the mobile communication terminal may be made through a mobile communication network, but recently, it may also be connected by using a short range wireless LAN communication, for example, WIFI (WIRELESS FIDELITY) communication.

근거리 무선 랜 통신을 위해서는 이동통신 단말기는 액세스 포인트(AP : ACCESS POINT)와 채널을 형성하여 통신하여야 하는데, 이처럼 액세스 포인트는 이동통신 단말기와는 무선 통신 구간을, 인터넷 상의 소정의 서버와는 유선 통신 구간을 통해 접속하여 이동통신 단말기와 인터넷 상의 소정 서버 간에 통신이 이루어지도록 하는 중계 역할을 수행하는 것이다.For short-range wireless LAN communication, a mobile communication terminal must communicate with an access point (AP) by forming a channel. As such, the access point has a wireless communication section with a mobile communication terminal and a wired communication with a predetermined server on the Internet. It connects through a section and performs a relay role for communication between a mobile communication terminal and a predetermined server on the Internet.

그런데 일반적으로 이동통신 단말기가 인터넷 상의 동영상 서버로부터 동영상 서비스를 제공 받는데는 UDP(User Datagram Protocol) 통신에 기반한 통신 방식이 적절하다.However, in general, a mobile communication terminal is provided with a communication method based on UDP (User Datagram Protocol) communication to receive a video service from a video server on the Internet.

참고로 통신방식은 크게 TCP(Transmission Control Protocol) 통신 방식과 UDP 통신 방식으로 구분될 수 있는데, 여기서 TCP 통신 방식은 통신 단말간 연결성을 보장해 주고 흐름 제어 등을 통해 전송되는 패킷의 손실을 허용하지 않는 신뢰성 있는 통신 방식이고, UDP 통신 방식은 통신 단말간 연결성을 보장하지 않고, 흐름 제어도 하지 않음으로써 패킷 전송에 있어서 시간 지연을 허용하지 않는 통신 방식이다.For reference, communication methods can be classified into transmission control protocol (TCP) and UDP communication methods, where the TCP communication method guarantees connectivity between communication terminals and does not allow loss of packets transmitted through flow control. The reliable communication method and the UDP communication method do not guarantee connectivity between communication terminals and do not allow flow control to allow a time delay in packet transmission.

즉, TCP 통신의 경우 데이터의 신뢰성을 보장하는 대신 초기 연결과정 즉, 핸드쉐이킹(Handshaking) 과정이 필요하므로 초기 연결 시간이 더 필요하고 UDP의 경우에는 핸드쉐이킹(Handshaking) 과정이 필요없어 초기 연결 시간이 필요치 않은 대신 데이터의 신뢰성을 보장하지 못하므로 데이터의 일부가 손실될 가능성이 있다.In other words, in case of TCP communication, initial connection time is required instead of guaranteeing data reliability. Therefore, the initial connection time is needed. In the case of UDP, no handshaking process is required. This is not necessary, but it does not guarantee the reliability of the data, so it is possible that some of the data will be lost.

그런데 상술한 바와 같이 이동통신 단말기는 이러한 TCP 통신 방식 및 UDP 통신 방식을 모두 지원하여 필요할 때마다 TCP 통신 방식에 의해서 통신하기도 하고, 또는 UDP 통신 방식에 의해 통신하기도 한다.However, as described above, the mobile communication terminal supports both the TCP communication method and the UDP communication method and communicates using the TCP communication method whenever necessary, or communicates using the UDP communication method.

예를 들어 이동통신 단말기는 데이터의 정확한 수신이 중요한 웹 서핑에서는 인터넷 상의 웹 서버와 TCP 통신방식으로 통신하여 웹 페이지를 수신하고, 동영상 제공 서버로부터 소정의 동영상을 수신할 때는 UDP 통신 방식에 의하여 동영상 데이터를 수신한다.For example, a mobile communication terminal receives a web page by communicating with a web server on the Internet through a TCP communication method in a web surfing where accurate reception of data is important, and receives a video by a UDP communication method when receiving a predetermined video from a video providing server. Receive data.

즉, 동영상과 같은 데이터는 그 데이터의 일부가 손실되더라도 시간이 지연되는 것 보다는 사용자의 불만을 초래하지 않기 때문에 UDP 통신 방식으로 전송되는 것이 바람직하다.That is, data such as a video is preferably transmitted through UDP communication because a loss of a part of the data does not cause user dissatisfaction than delaying time.

액세스 포인트 역시 이러한 통신 방식(TCP 통신 방식 및 UDP 통신방식)을 모두 지원하기는 하는데, 그 전환을 위해서는 사용자에 의해 수동으로 조작해야 한다는 문제점이 있다.The access point also supports both of these communication methods (TCP communication method and UDP communication method), but there is a problem in that the user needs to manually operate the switch.

즉, 이동통신 단말기가 액세스 포인트를 통해 인터넷에 접속하는 경우 동영상 제공 서버로부터 UDP 통신 방식으로 동영상을 수신받기 위해서는 그 중계 역할을 하는 액세스 포인트에서 해당 UDP 패킷을 처리해주어야 하는데, UDP 패킷 처리가 수동으로 설정되어 있지 않으면 이동통신 단말기는 동영상 제공 서버로부터 UDP 동영상 패킷을 수신하지 못하는 문제점이 발생한다.That is, when a mobile communication terminal accesses the Internet through an access point, in order to receive a video from the video providing server through the UDP communication method, the access point serving as a relay must process the corresponding UDP packet. If not set, the mobile communication terminal may not receive the UDP video packet from the video providing server.

또한, 이러한 UDP 패킷으로 이루어진 동영상 수신을 위해 이동통신 단말기에서 소정의 패킷 전송 과정(제어 신호 전송 과정)이 필요할 수 있는데, 이러한 과정을 효율적으로 조정할 수 있는 수단 및 방법이 요망되어지고 있다.In addition, a predetermined packet transmission process (control signal transmission process) may be required in the mobile communication terminal to receive a video including the UDP packet. Means and methods for efficiently adjusting such a process are desired.

본 발명은 상기한 종래의 문제점을 해결하기 위해 안출된 것으로서, 그 목적은 동영상을 수신함에 있어서 사용자에게 보다 편의성을 제공하고 또한 신속한 동영상 수신이 가능하도록 이동통신 단말기 및 그 제어방법을 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is to provide a mobile communication terminal and a control method thereof so as to provide more convenience to a user in receiving a video and to enable a quick video reception.

상기한 목적을 달성하기 위해 본 발명에 따른 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기는, 상기 동영상 제공 서버와 TCP(Transmission Control Protocol) 통신 채널을 설정하는 통신 채널 설정부와; 동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정한 후 상기 음성 포트 번호 및 영상 포트 번호를 상기 TCP 통신 채널을 통해 상기 동영상 제공 서버에 전송하는 포트 정보 전송부와; 상기 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하여 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하는 홀 펀칭 유도부와; 상기 설정된 TCP 통신 채널을 통해 상기 동영상 제공 서버에 동영상의 전송을 요청하는 요청부와; 상기 홀 펀칭 유도부와 상기 요청부의 동작을 제어하고, 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷을 수신하여 처리하는 제어부를 포함하여 구성된다.In order to achieve the above object, a mobile communication terminal for processing a video by communicating with a predetermined video providing server according to the present invention comprises: a communication channel setting unit for establishing a transmission control protocol (TCP) communication channel with the video providing server; A port information transmitter for generating and setting a voice port number and a video port number to receive a video content in a random manner and transmitting the voice port number and the video port number to the video providing server through the TCP communication channel; A hole punching induction unit for generating a UDP (User Datagram Protocol) dummy packet having the voice port number and the video port number as a destination port and transmitting the same to the video providing server to induce hole punching setting in the access point; A request unit for requesting transmission of a video to the video providing server through the established TCP communication channel; And a control unit for controlling operations of the hole punching inducing unit and the requesting unit, and receiving and processing a UDP voice packet and a UDP video packet through the voice port number and the video port number from the video server.

또, 상기한 목적을 달성하기 위해 본 발명에 따른 홀 펀칭 기능을 수행하는 액세스 포인트를 통해 소정의 동영상 제공 서버와 통신하는 이동통신 단말기의 제어방법은, 상기 동영상 제공 서버와 TCP(Transmission Control Protocol) 통신 채널을 설정하고, 동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정하는 단계와; 상기 음성 포트 번호 및 영상 포트 번호를 상기 설정된 TCP 통신 채널을 통해 상기 동영상 제공 서버에 전송하는 단계와; 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하기 위해, 상기 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하는 단계와; 상기 동영상 제공 서버에 상기 설정된 TCP 통신 채널을 통해 동영상의 전송을 요청하는 단계와; 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되면, 수신된 음성 패킷 및 영상 패킷을 결합하여 동영상을 재생하는 단계를 포함하여 이루어진다.In addition, in order to achieve the above object, a control method of a mobile communication terminal communicating with a predetermined video providing server through an access point performing a hole punching function according to the present invention, the video providing server and TCP (Transmission Control Protocol) Setting a communication channel and generating and setting a voice port number and a video port number to receive a video content in a random manner; Transmitting the voice port number and the video port number to the video providing server through the established TCP communication channel; Generating a user datagram protocol (UDP) dummy packet having the voice port number and the video port number as a destination port to induce hole punching setting in the access point, and transmitting the generated UDP packet to the video providing server; Requesting transmission of a moving picture through the established TCP communication channel to the moving picture providing server; When a UDP voice packet and a UDP video packet are received from the video server through the voice port number and the video port number, combining the received voice packet and the video packet to play a video.

이상 설명한 바와 같이 본 발명에 따르면, 이동통신 단말기는 인터넷 상의 동영상에 대해 액세스 포인트의 홀 펀칭 설정을 통해 수신함으로써, 해당 액세스 포인트에 대한 사용자의 수동 조작이 필요 없도록 한다.As described above, according to the present invention, the mobile communication terminal receives the video on the Internet through the hole punching setting of the access point, thereby eliminating the need for the user's manual operation of the access point.

그리고 이동통신 단말기는 액세스 포인트의 홀 펀칭 설정 유도를 항상 먼저 하는 것이 아니라, 기 설정된 시간이 지나거나 또는 먼저 동영상 요청 신호에 대한 동영상 제공 서버의 응답이 없는 경우에 한하여 홀 펀칭 설정 유도를 위한 더미 패킷을 전송함으로써, 보다 신속한 동영상 수신이 가능하다.The mobile communication terminal does not always first induce the hole punching setting of the access point, but only a dummy packet for inducing the hole punching setting only when a preset time elapses or when there is no response from the video providing server to the video request signal. By transmitting the, it is possible to receive a faster video.

도 1은 본 발명의 일 실시예에 따른 소정의 동영상 제공 서버와 통신하는 이동통신 단말기를 포함하는 전체 시스템의 개략 구성도이고,
도 2는 도 1의 이동통신 단말기의 기능블록도이고,
도 3은 본 발명의 일 실시예에 따른 소정의 동영상 제공 서버와 통신하는 이동통신 단말기를 포함하는 전체 시스템의 신호 흐름도이고,
도 4는 본 발명의 다른 실시예에 따른 소정의 동영상 제공 서버와 통신하는 이동통신 단말기의 제어흐름도이다.
1 is a schematic structural diagram of an entire system including a mobile communication terminal communicating with a predetermined video providing server according to an embodiment of the present invention;
2 is a functional block diagram of a mobile communication terminal of FIG. 1,
3 is a signal flowchart of an entire system including a mobile communication terminal communicating with a predetermined video providing server according to an embodiment of the present invention;
4 is a control flowchart of a mobile communication terminal communicating with a predetermined video providing server according to another embodiment of the present invention.

이하에서는 첨부도면을 참조하여 본 발명에 대해 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 일 실시예에 따른 이동통신 단말기(100)를 포함하는 전체 시스템의 개략 구성이 도 1에 도시되었다.A schematic configuration of an entire system including a mobile communication terminal 100 according to an embodiment of the present invention is shown in FIG. 1.

동 도면에 도시된 바와 같이 전체 시스템은 이동통신 단말기(100), 액세스 포인트(200), 동영상 제공 서버(300), 중계 서버(400)를 포함하여 구성된다.As shown in the figure, the entire system includes a mobile communication terminal 100, an access point 200, a video providing server 300, and a relay server 400.

액세스 포인트(200)는 이동통신 단말기(100)와 동영상 제공 서버(300) 간의 통신을 중계하는 기능을 수행하는 것으로서 근거리 무선 랜 통신을 지원하는 장치이다. 즉, 액세스 포인트(200)는 이동통신 단말기(100)와는 무선 통신 구간을 통해 통신하고, 동영상 제공 서버(300) 또는 중계 서버(400)와는 유선 통신 구간을 통해 통신함으로써 이동통신 단말기(100)가 예를 들어 인터넷망에 접속할 수 있도록 하는 것이다.The access point 200 performs a function of relaying communication between the mobile communication terminal 100 and the video providing server 300 and is a device supporting short-range wireless LAN communication. That is, the access point 200 communicates with the mobile communication terminal 100 through a wireless communication section, and the mobile communication terminal 100 communicates with the video providing server 300 or the relay server 400 through a wired communication section. For example, to allow access to the Internet.

액세스 포인트(200)는 홀 펀칭 설정 기능을 수행하는데, 여기서 홀 펀칭 설정 기능은 임시로 UDP 패킷의 중계를 수행하도록 하는 일종의 통로를 만들어 두는 것을 의미한다.The access point 200 performs a hole punching setting function, where the hole punching setting function means to create a kind of passage for temporarily relaying a UDP packet.

즉, 홀 펀칭 설정은 액세스 포인트(200)가 사용자의 수동 조작 없이도 자신을 통해 외부로 나가는 UDP 패킷의 특징에 따라 외부에서 수신되는 UDP 패킷이 이동통신 단말기(100)로 전달될 수 있도록 임시로 설정하는 것을 의미한다.That is, the hole punching setting is temporarily set such that the UDP packet received from the outside may be delivered to the mobile communication terminal 100 according to the characteristics of the UDP packet that the access point 200 goes out through itself without a user's manual operation. I mean.

홀 펀칭을 수행하는 과정은 온라인 게임 등에서 이루어지는 과정과 동일한 것으로서 기 공지된 것이므로 보다 상세한 설명은 생략한다.The process of performing the hole punching is the same as the process performed in the online game, and since it is well known, a detailed description thereof will be omitted.

또한, 액세스 포인트(200)는 초기 연결 시에 이동통신 단말기(100)에 사설 아이피를 할당하는 기능을 수행할 수 있는데, 이러한 사설 아이피 할당 기능은 액세스 포인트(200)와 연계된 중계 서버(400)에서 이루어질 수도 있음은 물론이다.In addition, the access point 200 may perform a function of allocating a private IP to the mobile communication terminal 100 at the time of initial connection, such a private IP allocation function is relay server 400 associated with the access point 200 Of course it can also be done in.

이때 액세스 포인트(200)는 기 설정 저장된 홀 펀칭 유지 시간을 이동통신 단말기(100)에 전송할 수 있다.In this case, the access point 200 may transmit the pre-stored hole punching maintenance time to the mobile communication terminal 100.

상술한 바와 같이 홀 펀칭 설정은 외부(예를 들어 인터넷)로부터 수신되는 UDP 패킷이 이동통신 단말기(100)에 전송될 수 있도록 하는 임시 통로를 만들어 주는 것이므로 그 임시 통로가 유지되는 시간이 액세스 포인트(200)에 설정 저장되어 있는데 이러한 정보를 홀 펀칭 유지 시간이라 할 수 있고, 액세스 포인트(200)는 이 홀 펀칭 유지 시간을 이동통신 단말기(100)에 미리 알려주는 것이다.As described above, the hole punching setting is to create a temporary passage for allowing UDP packets received from the outside (for example, the Internet) to be transmitted to the mobile communication terminal 100, so that the time for which the temporary passage is maintained is determined by the access point ( The information is referred to as a hole punching holding time, and the access point 200 informs the mobile terminal 100 of the hole punching holding time in advance.

한편, 동영상 제공 서버(300)는 인터넷에 구비될 수 있는 것으로서 소정의 동영상 콘텐츠를 구비하고 이동통신 단말기(100)로부터 요청이 있는 경우, 그 요청된 동영상 콘텐츠를 UDP 통신 방식으로 전송하는 기능을 수행한다.On the other hand, the video providing server 300, which can be provided on the Internet, has a predetermined video content, and when requested by the mobile communication terminal 100, performs the function of transmitting the requested video content in a UDP communication method do.

즉, 동영상 제공 서버(300)는 이동통신 단말기(100)로부터 미리 동영상을 전송할 이동통신 단말기(100)의 포트 번호를 수신하여 저장해 두고서, 해당 이동통신 단말기(100)로부터 요청이 있는 경우 UDP 통신 방식으로 해당 이동통신 단말기(100)의 특정 포트로 동영상 콘텐츠를 전송한다.That is, the video providing server 300 receives and stores a port number of the mobile communication terminal 100 to transmit the video in advance from the mobile communication terminal 100, and when there is a request from the corresponding mobile communication terminal 100, the UDP communication method. The video content is transmitted to a specific port of the mobile communication terminal 100.

여기서 동영상 제공 서버(300)는 이동통신 단말기(100)와 TCP 및 UDP 통신 방식으로 통신할 수 있는데, 그 중 이동통신 단말기(100)로부터 동영상을 수신할 포트 번호 또는 동영상 요청 신호를 수신할 때는 수신되는 정보의 신뢰성을 위해 TCP 통신 방식으로 통신하고, 동영상 요청에 따라 동영상 콘텐츠를 전송할 때는 전송되는 동영상 콘텐츠의 시간 지연을 방지하기 위해 UDP 통신 방식으로 이동통신 단말기(100)와 통신하는 것이다. 이에 대한 보다 상세한 설명은 후술토록 한다.In this case, the video providing server 300 may communicate with the mobile communication terminal 100 in a TCP and UDP communication scheme, and when the video providing server 300 receives a port number or a video request signal from the mobile communication terminal 100 to receive a video, In order to ensure the reliability of the information to be communicated by the TCP communication method, when transmitting the video content according to the video request is to communicate with the mobile communication terminal 100 in a UDP communication method in order to prevent a time delay of the transmitted video content. A more detailed description thereof will be described later.

한편, 도 1에 도시된 바와 같이 전체 시스템에는 중계 서버(400)가 더 포함될 수 있는데 중계 서버(400)는 이동통신 단말기(100)의 요청을 인터넷의 동영상 제공 서버(300)에 전송해 주는 역할과, 동영상 제공 서버(300)가 전송하는 동영상 콘텐츠(데이터)를 이동통신 단말기(100)에서 처리 가능한 포맷으로 변경하는 역할-예를 들어 avi, flv, mpeg 파일을 k3g 파일로 변화하는 역할- 등 데이터의 중계를 위한 기능을 수행할 수 있다.Meanwhile, as shown in FIG. 1, the entire system may further include a relay server 400. The relay server 400 transmits a request of the mobile communication terminal 100 to the video providing server 300 of the Internet. And, the role of changing the video content (data) transmitted from the video providing server 300 to a format that can be processed in the mobile communication terminal 100-for example, the role of changing the avi, flv, mpeg files into k3g files-and the like. Can perform a function for relaying data.

이러한 중계 서버(400)는 이동통신 단말기(100)와 동영상 제공 서버(300) 간의 통신을 위한 선택적 구성에 해당하므로 이하에서는 이에 대한 설명은 생략하고, 이하 이동통신 단말기(100)와, 동영상 중계 서버(400), 액세스 포인트(200) 간의 관계에 대해서만 설명하기로 한다.Since the relay server 400 corresponds to an optional configuration for communication between the mobile communication terminal 100 and the video providing server 300, a description thereof will be omitted below. Hereinafter, the mobile communication terminal 100 and the video relay server will be omitted. 400, only the relationship between the access point 200 will be described.

한편, 이동통신 단말기(100)는 휴대폰, 스마트폰, PDA(Personal Digital Assistants) 등 다양한 무선 통신 단말기를 포함하는 것으로서, 특히 액세스 포인트(200)를 통한 근거리 무선 랜 통신을 지원하는 단말기이다.Meanwhile, the mobile communication terminal 100 includes various wireless communication terminals such as a mobile phone, a smart phone, and personal digital assistants (PDAs). In particular, the mobile communication terminal 100 supports a short range wireless LAN communication through the access point 200.

이동통신 단말기(100)는 액세스 포인트(200)를 통해 인터넷의 동영상 제공 서버(300)에 접속하여 동영상 콘텐츠를 요청하고, 그에 따라 동영상 제공 서버(300)로부터 수신되는 UDP 패킷을 처리하여 재생하는 기능을 수행한다.The mobile communication terminal 100 accesses the video providing server 300 of the Internet through the access point 200 to request video contents, and accordingly, processes and plays a UDP packet received from the video providing server 300. Do this.

이때 이동통신 단말기(100)는 액세스 포인트(200)에서 홀 펀칭 설정이 이루어지도록 하기 위해 소정의 UDP 더미 패킷을 생성하여 동영상 제공 서버(300)에 전송할 수 있다. 또한 이동통신 단말기(100)는 그러한 액세스 포인트(200)에서의 홀 펀칭 설정을 제어할지 여부를 소정 조건을 판단함으로써 선택할 수 있는데, 이에 대한 보다 상세한 설명은 후술토록 한다.In this case, the mobile communication terminal 100 may generate a predetermined UDP dummy packet and transmit the predetermined UDP dummy packet to the video providing server 300 so that the hole punching setting is made in the access point 200. In addition, the mobile communication terminal 100 may select whether to control the hole punching setting in such an access point 200 by determining a predetermined condition, which will be described later.

이러한 기능을 수행하는 이동통신 단말기(100)의 세부 기능 블록은 도 2에 도시된 바와 같다.Detailed functional blocks of the mobile communication terminal 100 performing this function are as shown in FIG.

동 도면에 도시된 바와 같이 이동통신 단말기(100)는 입력부(140), 통신 채널 설정부(110), 포트 정보 전송부(120), 홀 펀칭 유도부(130), 제어부(170), 저장부(150), 디스플레이부(160), 요청부(180)를 포함하여 구성될 수 있다.As shown in the figure, the mobile communication terminal 100 includes an input unit 140, a communication channel setting unit 110, a port information transmitting unit 120, a hole punching inducing unit 130, a control unit 170, and a storage unit ( 150, the display 160, and the requester 180.

입력부(140) 및 디스플레이부(160)는 이동통신 단말기(100)의 기 공지된 구성에 불과한 것으로서, 입력부(140)는 사용자의 키 버튼 조작 등에 따라 사용자 명령을 입력받는 기능을 수행하는 것이고, 디스플레이부(160)는 소정의 텍스트 또는 이미지가 표시되는 것으로서, 이러한 입력부(140) 및 디스플레이부(160)는 터치스크린 형태로 통합 구성될 수도 있다.The input unit 140 and the display unit 160 are merely known components of the mobile communication terminal 100. The input unit 140 performs a function of receiving a user command according to a user's key button manipulation, and the display. The unit 160 displays a predetermined text or an image. The input unit 140 and the display unit 160 may be integrated in a touch screen form.

통신 채널 설정부(110)는 액세스 포인트(200)와 통신 채널을 형성하고, 또한 동영상 제공 서버(300)와 TCP(Transmission Control Protocol) 통신 채널을 설정하는 기능을 수행한다.The communication channel setting unit 110 forms a communication channel with the access point 200 and also performs a function of setting a transmission control protocol (TCP) communication channel with the video providing server 300.

여기서 통신 채널 설정부(110)는 액세스 포인트(200)와 통신 채널을 형성할 때 액세스 포인트(200)로부터 홀 펀칭 유지 시간이 전송되면 이를 저장부(150)에 저장하는 기능도 수행한다.In this case, the communication channel setting unit 110 performs a function of storing the hole punching holding time in the storage unit 150 when the hole punching holding time is transmitted from the access point 200 when forming the communication channel with the access point 200.

포트 정보 전송부(120)는 동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정한 후 그 생성한 음성 포트 번호 및 영상 포트 번호를 기 설정된 TCP 통신 채널을 통해 동영상 제공 서버(300)에 전송하는 기능을 수행한다.The port information transmitter 120 randomly generates and sets a voice port number and a video port number to receive the video content, and sets the generated voice port number and the video port number through a preset TCP communication channel. Perform the function of transmitting to 300.

즉, 인터넷의 동영상 제공 서버(300)로부터 UDP 통신 패킷으로 이루어진 동영상 콘텐츠를 수신하기 위해서는 미리 이동통신 단말기(100)에 그 수신을 위한 소정 포트가 설정되어야 하는데, 포트 정보 전송부(120)는 이를 위한 포트 번호를 랜덤 방식으로 생성하여 수신 대기 상태로 설정하고, 또한 그 생성된 포트 번호 내역을 동영상 제공 서버(300)에 전송하는 것이다.That is, in order to receive the video content consisting of the UDP communication packet from the video providing server 300 of the Internet, a predetermined port for the reception must be set in advance in the mobile communication terminal 100, and the port information transmitter 120 It generates a port number for the random setting method to set the reception standby state, and also transmits the generated port number details to the video providing server 300.

홀 펀칭 유도부(130)는 포트 정보 전송부(120)에서 생성된 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 동영상 제공 서버(300)에 그 UDP 패킷을 전송함으로써 액세스 포인트(200)에서의 홀 펀칭 설정을 유도하는 기능을 수행한다.The hole punching induction unit 130 generates a UDP (User Datagram Protocol) dummy packet having the voice port number and the video port number generated by the port information transmission unit 120 as the destination port, and then sends the UDP to the video providing server 300. By transmitting a packet, a function of deriving a hole punching setting from the access point 200 is performed.

즉, 액세스 포인트(200)는 이와 같이 내부 즉, 이동통신 단말기(100)에서 전송되는 UDP 패킷의 착신 포트를 저장해 두고서, 외부(즉, 인터넷)로부터 그 착신 포트를 이동통신 단말기(100)에 대한 착신 포트로 하는 UDP 패킷이 수신되면 이를 이동통신 단말기(100)에 전송한다. 이처럼 특정 외부의 UDP 패킷에 대해서만 그 중계를 허용하는 것을 홀 펀칭이라 함은 앞서 설명한 바와 같고, 홀 펀칭 유도부(130)는 이렇게 자신이 동영상을 수신할 포트를 착신 포트로 하는 UDP 더미 패킷을 전송함으로서 액세스 포인트(200)에서 해당 포트에 대한 홀 펀칭이 설정되도록 하는 것이다.That is, the access point 200 stores the destination port of the UDP packet transmitted from the inside, that is, the mobile communication terminal 100 in this way, and transmits the destination port from the outside (that is, the Internet) to the mobile communication terminal 100. When a UDP packet serving as a destination port is received, the packet is transmitted to the mobile communication terminal 100. As described above, the hole punching allows the relaying only for a specific external UDP packet, and the hole punching induction unit 130 transmits the UDP dummy packet having the destination port to which the video is received. The hole punch for the corresponding port is set in the access point 200.

여기서 UDP 더미 패킷이라 함은 UDP 패킷 형태만 갖추면 되는 것으로서 그 실질적 내용은 전혀 상관없는 패킷을 의미하는 것으로서, 일 예로 UDP 더미 패킷은 동영상 제공 서버(300)로 전송되기는 하지만, 동영상 제공 서버(300)는 그 UDP 더미 패킷에 대한 어떠한 처리도 하지 않을 수 있고, 더 나아가 그냥 해당 패킷을 버릴 수도 있다.Herein, the UDP dummy packet means a packet having only a UDP packet type, and a substantial content thereof does not matter at all. For example, the UDP dummy packet is transmitted to the video providing server 300, but the video providing server 300 May not do any processing for that UDP dummy packet, and may just discard that packet.

즉, 홀 펀칭 유도부(130)가 전송하는 UDP 더미 패킷은 액세스 포인트(200)에서의 홀 펀칭 설정을 유도하기 위한 것에 불과하고 동영상 제공 서버(300)와의 직접적인 통신에는 전혀 상관없는 것이다.That is, the UDP dummy packet transmitted by the hole punching induction unit 130 is merely for inducing the hole punching setting in the access point 200 and has nothing to do with direct communication with the video providing server 300.

요청부(180)는 동영상 제공 서버(300)에 앞서 설정된 TCP 통신 채널을 통해 동영상의 전송을 요청하는 기능을 수행한다. 이처럼 동영상 전송을 요청하는 신호들도 그 요청 신호의 전달에 신뢰성이 보장되어야 하므로 이렇게 TCP 통신 패킷을 이용하는 것이다.The requester 180 performs a function of requesting transmission of a video through the TCP communication channel set up in advance in the video providing server 300. In this way, the signals requesting video transmission also use the TCP communication packet because reliability must be guaranteed for the transmission of the request signal.

제어부(170)는 앞서 설명한 이동통신 단말기(100)의 각 구성 요소들을 제어하는 것으로서, 특히 홀 펀칭 유도부(130)와 요청부(180)의 동작을 제어한다.The controller 170 controls the components of the mobile communication terminal 100 described above. In particular, the controller 170 controls the operations of the hole punching induction unit 130 and the requester 180.

예를 들어 제어부(170)는 요청부(180)를 제어하여 동작시킨 후, 기 설정된 시간 동안 동영상 서버로부터 기 설정된 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되지 않는 경우, 홀 펀칭 유도부(130)를 제어하여 동작시킬 수 있다.For example, after the controller 170 operates by controlling the requester 180, when the UDP voice packet and the UDP video packet are not received from the video server through the preset voice port number and the video port number for a preset time. The hole punching induction part 130 may be controlled to operate.

이는 동영상을 요청할 때마다 홀 펀칭을 유도하기 위한 UDP 더미 패킷을 항상 먼저 전송할 필요는 없음을 의미한다.This means that it is not always necessary to send a UDP dummy packet first to induce hole punching every time a video is requested.

다른 예로써, 제어부(170)는 사용자로부터 새로운 동영상의 전송 요청을 입력받은 경우, 동영상 제공 서버(300)로부터 그 이전에 음성 패킷 및 영상 패킷을 수신 완료한 시점으로부터 저장부(150)에 저장된 홀 펀칭 유지 시간이 경과하였는지 여부를 먼저 판단하고, 판단결과 경과한 경우에는 홀 펀칭 요청부(180)를 제어하여 동작시킨 후에 요청부(180)를 제어하여 동작시키고, 판단결과 경과하지 않은 경우에는 즉시 요청부(180)를 제어하여 동작시킬 수 있다. 이에 대한 보다 상세한 설명은 후술토록 한다.As another example, when the controller 170 receives a request for transmitting a new video from the user, the controller 170 stores a hole stored in the storage 150 from a time point at which the voice packet and the video packet are received from the video providing server 300 before completion. First, it is determined whether the punching maintenance time has elapsed, and when the determination result has elapsed, the hole punch request unit 180 is controlled and operated, and then the request unit 180 is operated. The request unit 180 may be controlled to operate. A more detailed description thereof will be described later.

또한, 제어부(170)는 동영상 서버로부터 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷을 수신하여 처리하는 기능도 수행한다. 여기서 음성 패킷 및 영상 패킷을 처리한다는 것은 해당 음성 패킷과 영상 패킷을 서로 싱크(sync) 시켜 동영상을 재생하여 디스플레이부(160)에 표시되도록 제어하는 것을 포함한다.In addition, the controller 170 performs a function of receiving and processing a UDP voice packet and a UDP video packet through a voice port number and a video port number from a video server. The processing of the audio packet and the video packet may include controlling to display the display unit 160 by reproducing the video by synchronizing the voice packet and the video packet with each other.

이하에서는 본 발명의 일 실시예에 따른 이동통신 단말기(100)를 포함하는 전체 시스템의 신호 흐름을 도 3을 참조하여 설명한다.Hereinafter, the signal flow of the entire system including the mobile communication terminal 100 according to an embodiment of the present invention will be described with reference to FIG. 3.

본 실시예를 설명함에 있어서 이동통신 단말기(100)는 동영상 제공 서버(300)와 TCP 통신방식의 일종에 해당하는 RTSP 통신과, UDP 통신 방식의 일종에 해당하는 RTP 방식을 이용하여 통신하는 것을 일 예로 한다.In describing the present embodiment, the mobile communication terminal 100 communicates with the video providing server 300 using RTSP communication corresponding to a type of TCP communication method and RTP method corresponding to a type of UDP communication method. Yes.

우선, 이동통신 단말기(100)는 액세스 포인트(200)와 통신 채널을 형성하여 액세스 포인트(200)를 통해 동영상 제공 서버(300)와 통신할 수 있도록 준비한다(단계 S1). 이동통신 단말기(100)와 동영상 제공 서버(300) 간의 통신은 실제로는 액세스 포인트(200)를 경유하여 송수신되는 것이나, 설명의 편의를 위해 이하 이러한 액세스 포인트(200)의 중계 기능에 대한 설명은 생략하기로 한다.First, the mobile communication terminal 100 forms a communication channel with the access point 200 and prepares to communicate with the video providing server 300 through the access point 200 (step S1). Communication between the mobile communication terminal 100 and the video providing server 300 is actually transmitted and received via the access point 200, but for the convenience of description, the description of the relay function of the access point 200 will be omitted below. Let's do it.

이어서 이동통신 단말기(100)는 동영상 제공 서버(300)와 RTSP 통신 채널을 설정하기 위한 개시신호(DESCRIBE)를 전송하고(단계 S3), 동영상 제공 서버(300)는 이에 대한 정상적 처리가 이루어진 경우 정상 응답(200 OK) 신호를 이동통신 단말기(100)에 전송한다(단계 S5).Subsequently, the mobile communication terminal 100 transmits a start signal DESCRIBE for setting an RTSP communication channel with the video providing server 300 (step S3), and the video providing server 300 is normally processed when normal processing thereof is performed. The response 200 OK signal is transmitted to the mobile communication terminal 100 (step S5).

이동통신 단말기(100)는 동영상 제공 서버(300)로부터 동영상 중 오디오 신호를 수신하기 위한 오디오 포트를 생성하여(단계 S7) 그 생성한 오디오 포트 번호를 포함하는 설정(SETUP) 신호를 전송한다(단계 S9).The mobile communication terminal 100 generates an audio port for receiving an audio signal of the video from the video providing server 300 (step S7) and transmits a setup signal including the generated audio port number (step S7). S9).

동영상 제공 서버(300)는 수신된 설정 신호에서 오디오 포트 번호를 추출하여 저장하고(단계 S11), 정상 응답(200 OK) 신호를 이동통신 단말기(100)에 전송한다(단계 S13).The video providing server 300 extracts and stores the audio port number from the received setting signal (step S11) and transmits a normal response (200 OK) signal to the mobile communication terminal 100 (step S13).

이동통신 단말기(100)는 동영상 중 영상 신호를 수신하기 위한 비디오 포트를 생성하고(단계 S15), 그 비디오 포트 번호를 포함하는 설정(SETUP) 신호를 동영상 제공 서버(300)에 전송하며(단계 S17), 동영상 제공 서버(300)는 수신된 비디오 포트 번호를 저장한 후(단계 S19) 정상 응답 신호를 이동통신 단말기(100)에 전송한다(단계 S21).The mobile communication terminal 100 generates a video port for receiving an image signal of the video (step S15), and transmits a setup signal including the video port number to the video providing server 300 (step S17). After storing the received video port number (step S19), the video providing server 300 transmits a normal response signal to the mobile communication terminal 100 (step S21).

이동통신 단말기(100)는 타이머를 설정하고(단계 S23), RTSP 채널을 통해 동영상 제공 서버(300)에 동영상 요청 신호를 전송한다(단계 S25). 타이머 완료 시점까지(즉, 기 설정된 시간 이내에) 동영상 제공 서버(300)로부터 동영상 데이터가 수신되지 않는 경우(단계 S27) 이동통신 단말기(100)는 UDP 더미 패킷(RTP 더미 패킷에 해당할 수도 있음)을 생성하여(단계 S29) 동영상 제공 서버(300)에 전송한다(단계 S31).The mobile communication terminal 100 sets a timer (step S23), and transmits a video request signal to the video providing server 300 through the RTSP channel (step S25). When the video data is not received from the video providing server 300 until the timer is completed (that is, within a preset time) (step S27), the mobile communication terminal 100 may correspond to a UDP dummy packet (may correspond to an RTP dummy packet). To generate (step S29) and transmit it to the video providing server 300 (step S31).

여기서 UDP 더미 패킷은 도시가 생략되었지만 기 생성되어 설정된 오디오 포트 번호 및 비디오 포트 번호를 각각 포함하는 별도의 패킷에 해당할 수 있고, 그 각각의 UDP 더미 패킷은 UDP 통신 프로토콜에 따라 동영상 제공 서버(300)에 전송되는 것이다.Here, the UDP dummy packet may correspond to a separate packet including an audio port number and a video port number, which are previously generated and set in advance, and each UDP dummy packet corresponds to a video providing server 300 according to a UDP communication protocol. Will be sent).

이렇게 오디오 및 비디오 전송을 위한 각각의 UDP 더미 패킷이 동영상 제공 서버(300)에 전송되게 되면 액세스 포인트(200)는 오디오 및 비디오 포트에 대한 홀 펀칭을 설정한다(단계 S33).When each UDP dummy packet for audio and video transmission is transmitted to the video providing server 300, the access point 200 sets hole punching for the audio and video ports (step S33).

한편, 이동통신 단말기(100)는 상술한 바와 같이 UDP 더미 패킷을 전송한 이후에 동영상 요청 신호를 동영상 제공 서버(300)에 전송하는데(단계 S35), 이때는 앞서 전송한 동영상 요청신호와 마찬가지로 RTSP 채널을 통해 전송한다.Meanwhile, the mobile communication terminal 100 transmits the video request signal to the video providing server 300 after transmitting the UDP dummy packet as described above (step S35). In this case, the RTSP channel is similar to the video request signal transmitted previously. Send it through.

동영상 요청을 수신한 동영상 제공 서버(300)는 요청받은 동영상에서 오디오 패킷과 비디오 패킷을 분리하여 오디오 패킷은 기 저장되어 있던 오디오 포트를 착신지 포트로 하여 이동통신 단말기(100)에 UDP 즉, RTP 통신으로 전송하고(단계 S37), 비디오 패킷은 기 저장되어 있던 비디오 포트를 착신지 포트로 하여 이동통신 단말기(100)에 RTP 통신으로 전송한다(단계 S39).The video providing server 300 receiving the video request separates the audio packet and the video packet from the requested video, and the audio packet is UDP or RTP to the mobile communication terminal 100 using the previously stored audio port as the destination port. Communication is carried out (step S37), and the video packet is transmitted to the mobile communication terminal 100 by RTP communication using the previously stored video port as the destination port (step S39).

이동통신 단말기(100)는 종료 신호(TEARDOWN) 신호를 RTSP 통신 채널을 통해 동영상 제공 서버(300)에 전송하고(단계 S41), 동영상 제공 서버(300)는 정상 응답(200 OK) 신호를 이동통신 단말기(100)에 전송한다(단계 S43).The mobile communication terminal 100 transmits a termination signal (TEARDOWN) signal to the video providing server 300 through the RTSP communication channel (step S41), the video providing server 300 transmits a normal response (200 OK) signal to the mobile communication It transmits to the terminal 100 (step S43).

이후 이동통신 단말기(100)는 수신된 오디오 패킷과 비디오 패킷을 결합시켜 동영상을 재생한다(단계 S45).Thereafter, the mobile communication terminal 100 combines the received audio packet with the video packet to play a video (step S45).

이처럼 이동통신 단말기(100)는 동영상 제공 서버(300)에 먼저 동영상 요청 신호를 전송하고, 그에 따른 동영상 패킷 수신이 감지되지 않은 경우에야 비로소 UDP 더미 패킷을 전송하여 액세스 포인트(200)에서 UDP(즉, RTP) 동영상 중계를 위한 홀 펀칭이 설정되도록 함으로써 매번 홀 펀칭 설정을 위해 UDP 더미 패킷을 전송함으로써 동영상 수신이 지연되는 경우를 방지할 수 있다.As such, the mobile communication terminal 100 first transmits a video request signal to the video providing server 300 and transmits a UDP dummy packet until the video packet reception is detected. , RTP) hole punching for video relaying can be set to prevent a delay in video reception by transmitting UDP dummy packets for hole punching setup each time.

이는 특히 동영상을 시청하는 사람들은 연속하여 짧은 시간 내에 다른 동영상을 시청하는 사용 패턴에 기반한 것으로서, 처음 동영상을 요청하는 경우에만 기 설정된 시간동안 동영상 데이터가 수신되는지 대기하는 시간이 필요하고, 그 이후에는 UDP 더미 패킷을 보내지 않고 곧바로 동영상 요청 신호를 먼저 보냄으로써 보다 신속히 동영상 데이터를 수신할 수 있다.This is especially based on usage patterns in which viewers watch different videos in a short time in a row, and only need to wait for the preset time to receive video data only when first requesting a video. By sending a video request signal immediately without sending a UDP dummy packet, video data can be received more quickly.

이하에서는 본 발명의 다른 실시예에 따른 이동통신 단말기(100)의 제어 과정을 도 4를 참조하여 설명한다.Hereinafter, a control process of the mobile communication terminal 100 according to another embodiment of the present invention will be described with reference to FIG. 4.

본 실시예는 액세스 포인트(200)로부터 소정의 정보 즉, 홀 펀칭 유지 시간 정보를 수신하여 이를 이용하는 과정에 대한 실시예이다.The present embodiment is an embodiment of a process of receiving and using predetermined information, that is, hole punching holding time information from the access point 200.

우선, 이동통신 단말기(100)는 액세스 포인트(200)와 통신 채널을 설정하여 유지하는데, 이때 액세스 포인트(200)는 홀 펀칭의 운용을 위해 자신에 기 설정된 홀 펀칭 유지 시간을 이동통신 단말기(100)에 전송한다.First, the mobile communication terminal 100 establishes and maintains a communication channel with the access point 200. At this time, the access point 200 maintains a hole punching holding time set in itself for the operation of hole punching. To be sent).

즉, 이동통신 단말기(100)는 액세스 포인트(200)로부터 수신되는 홀 펀칭 유지 시간을 저장하여 관리한다(단계 S51).That is, the mobile communication terminal 100 stores and manages the hole punching holding time received from the access point 200 (step S51).

사용자의 동영상 요청 명령이 감지된 경우(단계 S53) 이동통신 단말기(100)는 이전 동영상 수신 시점으로부터 홀 펀칭 유지 시간이 경과하였는지 여부를 판단한다(단계 S55).When the user's video request command is detected (step S53), the mobile communication terminal 100 determines whether the hole punching holding time has elapsed from the previous video reception point (step S55).

판단결과 경과한 경우에는 이동통신 단말기(100)는 동영상 제공 서버(300)와 TCP(일 에로 RTSP) 통신 채널을 설정하고(단계 S57), 동영상 수신을 위한 UDP 포트 번호를 생성 및 설정한다(단계 S59).If the determination result has passed, the mobile communication terminal 100 establishes a TCP (RTSP) communication channel with the video providing server 300 (step S57), and generates and sets a UDP port number for receiving the video (step S57). S59).

이어서 이동통신 단말기(100)는 포트 번호를 동영상 제공 서버(300)에 TCP 통신 채널을 통해 전송하고(단계 S61), 전송이 완료된 이후 UDP 더미 패킷을 생성하여(단계 S63) 동영상 제공 서버(300)에 전송함으로써 액세스 포인트(200)에서의 홀 펀칭 설정을 유도한다(단계 S65).Subsequently, the mobile communication terminal 100 transmits the port number to the video providing server 300 through the TCP communication channel (step S61), and generates a UDP dummy packet after the transmission is completed (step S63), and provides the video providing server 300. The hole punching setting in the access point 200 is induced by transmitting to (step S65).

그리고 이동통신 단말기(100)는 동영상 제공 서버(300)에 동영상 요청 신호를 TCP 통신 채널을 통해 전송하고(단계 S67), 동영상 제공 서버(300)로부터 동영상 UDP 패킷이 수신되면(단계 S69) 수신된 동영상 패킷을 처리하여 재생한다(단계 S71).The mobile communication terminal 100 transmits a video request signal to the video providing server 300 through a TCP communication channel (step S67), and receives a video UDP packet from the video providing server 300 (step S69). The video packet is processed and reproduced (step S71).

한편, 단계 S55에서의 판단결과 경과하지 않은 경우 이동통신 단말기(100)는 상술한 과정 즉, 액세스 포인트(200)에서의 홀 펀칭 설정을 유도하는 과정을 생략하고, 곧바로 동영상 제공 서버(300)에 동영상 요청 신호를 전송한다(단계 S67).On the other hand, if the determination result in step S55 does not pass, the mobile communication terminal 100 skips the above-described process, that is, the process of inducing the hole punching setting in the access point 200, and immediately goes to the video providing server 300. The video request signal is transmitted (step S67).

이에 따라 이동통신 단말기(100)는 액세스 포인트(200)에서의 홀 펀칭이 필요한 경우와 그렇지 않은 경우를 지능적으로 판단하여 신호의 전송에 있어서 효율성을 기할 수 있게 된다.Accordingly, the mobile communication terminal 100 can intelligently determine when the hole punching is required in the access point 200 and when it is not, thereby improving efficiency in signal transmission.

즉, 이동통신 단말기(100)는 액세스 포인트(200)에서의 홀 펀칭이 유지되는 시간을 이용하여 상황에 따라 보다 효율적으로 동영상 제공 서버(300)에 동영상의 전송을 요청할 수 있다.That is, the mobile communication terminal 100 may request the transmission of the video to the video providing server 300 more efficiently according to the situation by using the time that hole punching is maintained in the access point 200.

한편, 본 발명은 상기한 특정 실시예에 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 변형 및 수정하여 실시할 수 있는 것이다. 이러한 변형 및 수정이 첨부되는 특허청구범위에 속한다면 본 발명에 포함된다는 것은 자명할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the invention. It is to be understood that such variations and modifications are intended to be included in the scope of the appended claims.

100 : 이동통신 단말기 200 : 액세스 포인트
300 : 동영상 제공 서버 400 : 중계 서버
110 : 통신 채널 설정부 120 : 포트 정보 전송부
130 : 홀 펀칭 유도부 140 : 입력부
150 : 저장부 160 : 디스플레이부
170 : 제어부 180 : 요청부
100: mobile communication terminal 200: access point
300: video providing server 400: relay server
110: communication channel setting unit 120: port information transmission unit
130: hole punching induction unit 140: input unit
150: storage unit 160: display unit
170: control unit 180: request unit

Claims (7)

홀 펀칭 기능을 수행하는 액세스 포인트를 통해 소정의 동영상 제공 서버와 통신하는 이동통신 단말기의 제어방법에 있어서,
(a) 상기 동영상 제공 서버와 TCP(Transmission Control Protocol) 통신 채널을 설정하고, 동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정하는 단계와;
(b) 상기 음성 포트 번호 및 영상 포트 번호를 상기 설정된 TCP 통신 채널을 통해 상기 동영상 제공 서버에 전송하는 단계와;
(c) 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하기 위해, 상기 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하는 단계와;
(d) 상기 동영상 제공 서버에 상기 설정된 TCP 통신 채널을 통해 동영상의 전송을 요청하는 단계와;
(e) 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되면, 수신된 음성 패킷 및 영상 패킷을 결합하여 동영상을 재생하는 단계를 포함하는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기의 제어방법.
In the control method of the mobile communication terminal to communicate with a predetermined video providing server through an access point performing a hole punching function,
(a) establishing a transmission control protocol (TCP) communication channel with the video providing server, and randomly generating and setting a voice port number and a video port number to receive video content;
(b) transmitting the voice port number and the video port number to the video providing server through the established TCP communication channel;
(c) generating a user datagram protocol (UDP) dummy packet having the voice port number and the video port number as a destination port and transmitting the same to the video providing server to induce hole punching setting in the access point; ;
(d) requesting the video providing server to transmit a video through the established TCP communication channel;
(e) if a UDP voice packet and a UDP video packet are received from the video server through the voice port number and the video port number, combining the received voice packet and the video packet to play a video; Control method of a mobile communication terminal for processing a video by communicating with a predetermined video providing server.
상기 (c)단계는,
(c1) 상기 동영상 제공 서버에 상기 설정된 TCP 통신 채널을 통해 동영상의 전송을 요청하는 단계와;
(c2) 기 설정된 시간 동안 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되지 않는 경우, 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하기 위해 상기 음성 포트 번호 및 영상 포트 번호를 착신 포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하는 단계를 포함하는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기의 제어방법.
The step (c)
(c1) requesting transmission of a moving picture through the established TCP communication channel to the moving picture providing server;
(c2) when a UDP voice packet and a UDP video packet are not received from the video server through the voice port number and the video port number for a preset time, the voice port number to induce hole punching setting in the access point. And generating a UDP (User Datagram Protocol) dummy packet having a video port number as a destination port and transmitting the UDP packet to the video providing server, thereby processing a video by communicating with a predetermined video providing server. Terminal control method.
제1항에 있어서,
상기 액세스 포인트로부터 미리 홀 펀칭 유지 시간을 전송받아 저장하는 단계와;
상기 (e) 단계 이후에 사용자로부터 새로운 동영상의 전송 요청을 입력받은 경우, 상기 (e) 단계의 음성 패킷 및 영상 패킷의 전송 완료 시점으로부터 상기 홀 펀칭 유지 시간이 경과하였는지 여부를 판단하고, 판단결과 경과한 경우에는 먼저 상기 액세스 포인트의 홀 펀칭 설정을 위한 UDP 더미 패킷을 상기 동영상 제공 서버에 전송한 후 동영상의 전송을 요청하고, 판단결과 경과하지 않은 경우에는 즉시 상기 동영상 제공 서버에 동영상의 전송을 요청하는 단계를 더 포함하는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기의 제어방법.
The method of claim 1,
Receiving and storing a hole punching holding time from the access point in advance;
When receiving a request for transmission of a new video from the user after step (e), it is determined whether the hole punching holding time has elapsed from the completion of transmission of the voice packet and the video packet of step (e), and the determination result. If the elapsed time, first transmit a UDP dummy packet for setting the hole punching of the access point to the video providing server, and then request the transmission of the video, and if it does not pass, immediately transmit the video to the video providing server. The control method of the mobile communication terminal for processing a video by communicating with a predetermined video providing server, characterized in that it further comprises the step of requesting.
동영상 제공 서버와 TCP(Transmission Control Protocol) 통신 채널을 설정하는 통신 채널 설정부와;
동영상 콘텐츠를 수신할 음성 포트 번호 및 영상 포트 번호를 랜덤방식으로 생성하여 설정한 후 상기 음성 포트 번호 및 영상 포트 번호를 상기 TCP 통신 채널을 통해 상기 동영상 제공 서버에 전송하는 포트 정보 전송부와;
상기 음성 포트 번호 및 영상 포트 번호를 착신포트로 하는 UDP(User Datagram Protocol) 더미 패킷을 생성한 후 상기 동영상 제공 서버에 전송하여 상기 액세스 포인트에서의 홀 펀칭 설정을 유도하는 홀 펀칭 유도부와;
상기 설정된 TCP 통신 채널을 통해 상기 동영상 제공 서버에 동영상의 전송을 요청하는 요청부와;
상기 홀 펀칭 유도부와 상기 요청부의 동작을 제어하고, 상기 동영상 서버로부터 상기 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷을 수신하여 처리하는 제어부를 포함하는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기.
A communication channel setting unit for establishing a transmission control protocol (TCP) communication channel with a video providing server;
A port information transmitter for generating and setting a voice port number and a video port number to receive a video content in a random manner and transmitting the voice port number and the video port number to the video providing server through the TCP communication channel;
A hole punching induction unit for generating a UDP (User Datagram Protocol) dummy packet having the voice port number and the video port number as a destination port and transmitting the same to the video providing server to induce hole punching setting in the access point;
A request unit for requesting transmission of a video to the video providing server through the established TCP communication channel;
And a control unit for controlling operations of the hole punching inducing unit and the requesting unit, and receiving and processing a UDP voice packet and a UDP video packet through the voice port number and the video port number from the video server. A mobile communication terminal which processes a video by communicating with a providing server.
제4항에 있어서,
상기 제어부는 상기 요청부를 제어하여 동작시킨 후, 기 설정된 시간 동안 상기 동영상 서버로부터 기 설정된 음성 포트 번호 및 영상 포트 번호를 통해 UDP 음성 패킷 및 UDP 영상 패킷이 수신되지 않는 경우, 상기 홀 펀칭 유도부를 제어하여 동작시키는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기.
The method of claim 4, wherein
The controller controls and operates the request unit, and when the UDP voice packet and the UDP video packet are not received from the video server through the preset voice port number and the video port number for a preset time, the control unit controls the hole punching induction unit. A mobile communication terminal for processing a video by communicating with a predetermined video providing server, characterized in that to operate.
제4항에 있어서,
상기 통신 채널 설정부는 상기 액세스 포인트와 통신 채널을 형성하고, 상기 액세스 포인트로부터 홀 펀칭 유지 시간을 전송받아 저장부에 저장하며,
사용자로부터 새로운 동영상의 전송 요청을 입력받은 경우, 상기 제어부는 상기 동영상 제공 서버로부터 음성 패킷 및 영상 패킷을 수신 완료한 시점으로부터 상기 저장부에 저장된 홀 펀칭 유지 시간이 경과하였는지 여부를 판단하고, 판단결과 경과한 경우에는 먼저 상기 홀 펀칭 요청부를 제어하여 동작시킨 후 상기 요청부를 제어하여 동작시키고, 판단결과 경과하지 않은 경우에는 즉시 상기 요청부를 제어하여 동작시키는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기.
The method of claim 4, wherein
The communication channel setting unit forms a communication channel with the access point, receives the hole punching holding time from the access point and stores it in a storage unit.
When receiving a request for transmitting a new video from the user, the controller determines whether the hole punching maintenance time stored in the storage unit has elapsed from the time when the voice packet and the video packet are received from the video providing server, and the determination result is determined. When the elapsed time, the hole punching request unit is controlled and operated, and then the request unit is operated. If the determination result is not passed, the request unit is controlled to operate immediately. Mobile communication terminal for processing video.
제4항 내지 제6항 중 어느 한 항에 있어서,
상기 통신 채널 설정부가 설정한 TCP 통신 채널은 RTSP(Real-Time Streaming Protocol)에 따른 통신 채널이고,
상기 제어부는 상기 동영상 제공 서버로부터 RTP(Read-Time Protocol)에 따라 동영상을 수신하는 것을 특징으로 하는 소정의 동영상 제공 서버와 통신하여 동영상을 처리하는 이동통신 단말기.
The method according to any one of claims 4 to 6,
The TCP communication channel set by the communication channel setting unit is a communication channel according to RTSP (Real-Time Streaming Protocol),
The control unit is a mobile communication terminal for processing a video by communicating with a predetermined video providing server, characterized in that for receiving a video from the video providing server according to the RTP (Read-Time Protocol).
KR1020100036680A 2010-04-21 2010-04-21 Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof KR101130892B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100036680A KR101130892B1 (en) 2010-04-21 2010-04-21 Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100036680A KR101130892B1 (en) 2010-04-21 2010-04-21 Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof

Publications (2)

Publication Number Publication Date
KR20110117302A true KR20110117302A (en) 2011-10-27
KR101130892B1 KR101130892B1 (en) 2012-03-28

Family

ID=45031241

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100036680A KR101130892B1 (en) 2010-04-21 2010-04-21 Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof

Country Status (1)

Country Link
KR (1) KR101130892B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101682303B1 (en) * 2015-06-29 2016-12-05 주식회사 엘지유플러스 Home device control system and control method thereof, home device included in the system and control method thereof
KR20170097548A (en) * 2016-02-18 2017-08-28 에스케이텔레콤 주식회사 Contents Transmission Method in Heterogeneous Network and Apparatus therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212994A1 (en) * 2002-05-09 2003-11-13 Radiant Communications Corporation Remote monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101682303B1 (en) * 2015-06-29 2016-12-05 주식회사 엘지유플러스 Home device control system and control method thereof, home device included in the system and control method thereof
KR20170097548A (en) * 2016-02-18 2017-08-28 에스케이텔레콤 주식회사 Contents Transmission Method in Heterogeneous Network and Apparatus therefor
WO2018128226A1 (en) * 2016-02-18 2018-07-12 에스케이텔레콤 주식회사 Method for transmitting content on heterogeneous network and apparatus therefor
US11095692B2 (en) 2016-02-18 2021-08-17 Sk Telecom Co., Ltd. Method for transmitting content on heterogeneous network and apparatus therefor

Also Published As

Publication number Publication date
KR101130892B1 (en) 2012-03-28

Similar Documents

Publication Publication Date Title
US9648073B2 (en) Streaming control for real-time transport protocol
EP2744169B1 (en) Method and apparatus for playing streaming media files
KR102268442B1 (en) Methods, systems and media for adjusting quality level during synchronized media content playback on multiple devices
US9913301B2 (en) Content sharing method and device
CN105230029B (en) Establish and control Wi-Fi shows the audio connected and voice backward channel
US9457271B2 (en) Method and apparatus for managing a gaming application
KR20130095519A (en) Screen mirroring method and apparatus thereof
JP6378606B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
KR20150052158A (en) Method and apparatus for decreasing presentation latency
KR20150102747A (en) Method and apparatus for displaying application data in wireless communication system
WO2017096851A1 (en) Method, system, and server for pushing video file
CN103052121B (en) A kind of local communication network business switch method, device and system
JP2019503139A (en) Computing system with trigger feature based on channel change
WO2015131454A1 (en) Projection method, terminal and system
KR101130892B1 (en) Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof
CN106063284B (en) Method and apparatus for playing multimedia content in a communication system
CN1835506B (en) A multimedia streaming service providing method and a streaming service system
US7706783B2 (en) Channel switching in a mobile station
KR101220785B1 (en) Seamless playback method of between device with media contents and mobile communication terminal having seamless playback control function
WO2015169005A1 (en) Method, system and main sharing end for sharing screen and operation control
KR100727173B1 (en) Wireless telecommunication terminal and method for bookmarking/jumping during contents streaming
KR102164833B1 (en) Apparatus and method for transmitting multimedia contents
KR101970200B1 (en) Method and system for multiple social network service live broadcasting at the same time based on image record apparatus
US8914831B2 (en) Communication controller and communication control method
KR101476281B1 (en) System and method for handing over multimedia streams among heterogenous devices for n-screen service

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

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180213

Year of fee payment: 9