KR100796550B1 - System for realtime multimedia transcoding and direct streaming in p2p network and method thereof - Google Patents

System for realtime multimedia transcoding and direct streaming in p2p network and method thereof Download PDF

Info

Publication number
KR100796550B1
KR100796550B1 KR1020070044320A KR20070044320A KR100796550B1 KR 100796550 B1 KR100796550 B1 KR 100796550B1 KR 1020070044320 A KR1020070044320 A KR 1020070044320A KR 20070044320 A KR20070044320 A KR 20070044320A KR 100796550 B1 KR100796550 B1 KR 100796550B1
Authority
KR
South Korea
Prior art keywords
streaming
user terminal
terminal
service terminal
service
Prior art date
Application number
KR1020070044320A
Other languages
Korean (ko)
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 KR1020070044320A priority Critical patent/KR100796550B1/en
Application granted granted Critical
Publication of KR100796550B1 publication Critical patent/KR100796550B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Abstract

A system and a method for streaming multimedia directly in real-time based on P2P(Peer-to-Peer) are provided to enable a PC to convert multimedia contents stored in the PC into a serviceable format, thereby enabling the PC to offer a streaming service to other terminals directly through the P2P network. A service terminal(100) searches, converts, and streams a file in real-time when multimedia contents streaming is requested from a user terminal(200) connected through the P2P network. The user terminal includes a player for playing a streaming file received from the service terminal. A linking server(300) downloads a service application to the service terminal, provides an interface for searching the multimedia contents stored in the service terminal to the user terminal, and connects the user and service terminal through the P2P network. The service terminal includes a file system storing the multimedia contents, a P2P platform, a service terminal state keeper, a request processor, a codec converter(120) and a streaming part(110).

Description

피투피 기반의 실시간 멀티미디어 직접 스트리밍 시스템 및 방법{System for realtime multimedia transcoding and direct streaming in P2P network and method thereof}System for realtime multimedia transcoding and direct streaming in P2P network and method

도1은 종래의 컨텐츠 스트리밍 서비스 시스템의 개략 구성도이다.1 is a schematic structural diagram of a conventional content streaming service system.

도2는 종래의 또 다른 컨텐츠 스트리밍 서비스 시스템의 개략 구성도이다.2 is a schematic structural diagram of another conventional content streaming service system.

도3은 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 개략도이다.3 is a schematic diagram of a P2P based real-time multimedia direct streaming system according to the present invention.

도4는 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 상세 구성도이다.4 is a detailed block diagram of a P2P based real-time multimedia direct streaming system according to the present invention.

도5는 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 처리 과정도이다.5 is a flowchart of a P2P-based real-time multimedia direct streaming system according to the present invention.

도6a, 도6b는 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 처리 과정의 또 다른 실시예이다.6A and 6B illustrate another embodiment of a P2P-based real-time multimedia direct streaming process according to the present invention.

≪도면의 주요부분에 대한 부호의 설명≫`` Explanation of symbols for main parts of drawings ''

10, 100 : (사용자)서비스 단말 20, 200 : 사용자 단말 10, 100: (user) service terminal 20, 200: user terminal

110 : 스트리밍부 120 : 코덱변환부110: streaming unit 120: codec conversion unit

130 : 요청처리부 140 : P2P 플랫폼 130: request processing unit 140: P2P platform

150 : 서비스 단말 상태유지부 160 : 파일시스템150: service terminal state maintenance unit 160: file system

300 : 연동 서버부 310 : P2P 서버300: linked server unit 310: P2P server

311 : 사용자인증수행부 312 : 서비스단말상태관리부 311: user authentication performing section 312: service terminal status management section

313 : 접속중계부 314 : 릴레이부       313: connection relay unit 314: relay unit

320 : 검색서버 321 : 데이터베이스 320: search server 321: database

322 : 컨텐츠검색인터페이스 330 : 사용자 디렉토리 서버 322: content search interface 330: user directory server

331 : 데이터베이스 332 : 회원가입/관리인터페이스 331: Database 332: membership / management interface

본 발명은 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템 및 방법에 관한 것으로, 보다 상세하게는 동영상 멀티미디어가 저장된 PC에서 서비스 가능한 형태로 변환되어 P2P를 통해서 바로 멀티미디어 동영상을 클라이언트로 재생할 수 있는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템 및 방법에 관한 것이다.The present invention relates to a P2P-based real-time multimedia direct streaming system and method, and more particularly, P2P-based real-time multimedia that can be converted into a serviceable form in a PC that stores video multimedia to play the multimedia video directly to the client through P2P A direct streaming system and method.

과거와 달리 현재의 네티즌들은 인터넷을 통해 영화와 드라마를 보고 카메라/캠코더로 찍은 사진 및 동영상을 블로그나 동영상 UCC 사이트에 올려 친구와 공유하고 새로 구매한 CD를 음악 파일로 변환하여 MP3 플레이어를 통해 듣고 PMP와 같은 단말에 애니메이션을 변환/저장하여 지하철이나 버스 등에서 보고 핸드폰/DMB 단말로 TV를 시청한다. Unlike in the past, current netizens watch movies and dramas on the Internet, share photos and videos taken with cameras / camcorders on blogs or video UCC sites, share them with friends, convert newly purchased CDs to music files, and listen to them through MP3 players. Convert / save animation to terminal such as PMP, watch on subway or bus, and watch TV on mobile phone / DMB terminal.

바야흐로 멀티미디어의 시대가 도래한 현재에는 사용자들의 욕구를 충족시키 기 위해 MP3, DMB 단말, 카메라, 캠코더, PMP, Wibro, HSDPA 등의 새로운 유형의 단말들이 계속해서 쏟아져 나오고 있는 상황에서 현재의 모든 UCC 또는 멀티미디어 동영상 서비스는 단순히 동영상 파일을 전달하는 것으로서 서비스 가능한 하나의 포맷으로 PC에서 변환하여 서버에서 서비스 하거나, 서버로 전송하여 서버에서 변환/서비스 하도록 되어 있다.With the advent of the multimedia era, all kinds of UCCs, or MP3s, DMBs, cameras, camcorders, PMPs, Wibros, HSDPAs, etc. are constantly pouring in to meet users' needs. Multimedia video service is simply to deliver video files, which is converted into one format that can be serviced by a PC and serviced by a server, or transmitted to a server to be converted / serviced by a server.

도1은 종래의 컨텐츠 스트리밍 서비스 시스템의 개략 구성도이다.1 is a schematic structural diagram of a conventional content streaming service system.

도1의 사용자 단말(10)에서 멀티미디어 컨텐츠를 업로드 서버(15)로 업로드하면 스토리지(30)에서 저장하면서 변환서버(40)를 구동하여 컨텐츠를 스트리밍 재생이 가능한 포맷으로 변환하게 되고, 상기 변환된 컨텐츠를 다시 스토리지(30)에서 스트리밍 서버(25)로 전달하여 상기 스트리밍 서버(25)에서 스트리밍 서비스하여 사용자 단말(20)로 전송하여 주면 사용자 단말(20)에서 스트리밍 재생된다.When uploading the multimedia content from the user terminal 10 of FIG. 1 to the upload server 15, the conversion server 40 is stored while being stored in the storage 30 to convert the content into a format capable of streaming playback. The content is delivered back to the streaming server 25 from the storage 30, the streaming service is transmitted from the streaming server 25 to the user terminal 20, and the streaming is reproduced in the user terminal 20.

또한, 도2는 종래의 또 다른 컨텐츠 스트리밍 서비스 시스템의 개략 구성도이다.2 is a schematic structural diagram of another conventional content streaming service system.

도2에서, 사용자 단말(10)에서 먼저 멀티미디어 컨텐츠를 스트리밍 재생이 가능한 포맷으로 변환하여 업로드 서버(150)로 업로드하여 변환된 컨텐츠 파일을 스토리지(30)에 저장하였다가 사용자 단말(20)의 요청에 따라 스트리밍 서버(25)에 의하여 사용자 단말(20)로 스트리밍 서비스 하게 된다. In FIG. 2, the user terminal 10 first converts the multimedia content into a format capable of streaming playback, uploads the uploaded content to the upload server 150, stores the converted content file in the storage 30, and requests the user terminal 20. In accordance with the streaming server 25 to the streaming service to the user terminal 20.

그러나, 상기 종래의 컨텐츠 스트리밍 서비스 시스템은 막대한 양의 멀티미디어 컨텐츠를 저장하기 위한 스토리지의 저장 부담과 컨텐츠 스트리밍을 서비스하기 위한 트래픽의 부담이 인터넷 서비스 제공자 측에 과중하게 된다.However, in the conventional content streaming service system, the burden of storage for storing a huge amount of multimedia content and the burden of traffic for service of content streaming become heavy on the Internet service provider.

또한, 추가적으로 서비스 가능한 포맷으로의 변환을 위해 엄청난 CPU 파워가 요구되며, 새로 출시되는 단말마다 재생을 위한 플레이어 및 클라이언트 구현이 필요하게 된다.In addition, additional CPU power is required to convert to a serviceable format, and each newly released terminal requires a player and client implementation for playback.

반면, 사용자 PC 쪽은 업로드/다운로드 이외의 시간은 대부분 유휴 상태의 트래픽이 걸리게 된다.On the other hand, the user PC takes most of the idle traffic for a time other than upload / download.

현재 멀티미디어를 생성/재생하기 위한 수천 종류 이상의 관련 코덱이 존재하고 있다. There are now thousands of related codecs for creating / playing multimedia.

어떤 단말을 사용할 경우 특정 코덱의 포맷으로만 멀티미디어를 생성하게 되는데 반하여 멀티미디어를 재생하기 위해서는 단말에 해당 멀티미디어를 생성할 때 적용되었던 코덱이 설치되어 있어야 하는데 대부분 설치되어 있지 않기 때문에 사용자가 코덱을 단말마다 추가로 설치하거나 단말이 재생 할 수 있는 포맷으로 변환을 해주어야 하는 번거로움이 있다.When using a certain terminal, the multimedia is generated only in the format of a specific codec. On the other hand, in order to play the multimedia, the codec applied when generating the multimedia must be installed in the terminal. In addition, there is a need to install or convert the format into a format that the terminal can play.

그리고, PC 단말의 경우를 제외한 대부분의 휴대용 멀티미디어 단말의 경우 저장공간이 그리 크지 않기 때문에 많은 용량의 멀티미디어를 저장할 수 없다. 게다가 단말들의 경우 인터넷에 직접 연결되지 않기 때문에 PC 단말에서 다운로드 하여 이를 휴대 단말로 복사해야 하는 번거로움이 있게 되는 것이다. In addition, most portable multimedia terminals except PC terminals cannot store a large amount of multimedia because their storage space is not so large. In addition, since the terminal is not directly connected to the Internet, there is a hassle of downloading from a PC terminal and copying it to the portable terminal.

본 발명은 상기와 같이 종래의 문제점을 해결하고자 안출된 것으로, 동영상 멀티미디어가 저장된 개인 PC의 멀티미디어 컨텐츠들을 PC에서 서비스 가능한 형태로 변환하여 P2P망을 통해서 PC에서 직접 다른 개인 단말로 재생 서비스하는 P2P 기반의 멀티미디어 스트리밍 실시간 전송 및 최적화 시스템 및 방법을 제공하기 위한 것이다.The present invention has been made to solve the conventional problems as described above, P2P-based to convert the multimedia contents of the personal PC stored video multimedia into a serviceable form on the PC to play services directly from the PC to another personal terminal through the P2P network To provide a multimedia streaming real-time transmission and optimization system and method.

또한, 본 발명의 목적은 멀티미디어 컨텐츠에 관련된 무수히 많은 멀티미디어 코덱을 통일된 포맷으로 실시간 변환하는 실시간 트랜스코딩 방법을 제공하기 위한 것이다.It is also an object of the present invention to provide a real-time transcoding method for converting a myriad of multimedia codecs related to multimedia contents into a unified format in real time.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템은, P2P망으로 연결되는 사용자 단말로부터 멀티미디어 컨텐츠 스트리밍을 요청받으면 요청된 파일을 검색하여 코덱 변환하고 상기 사용자 단말로 실시간 스트리밍 전송하는 서비스 단말, 상기 서비스 단말로부터 수신한 스트리밍 파일을 재생하는 재생 플레이어 을 구비하는 사용자 단말, 및 상기 서비스 단말에 서비스 어플리케이션을 다운로드하고, 상기 사용자 단말로 상기 서비스 단말에 저장된 멀티미디어 컨텐츠 검색 인터페이스를 제공하며 상기 사용자 단말과 상기 서비스 단말을 P2P 연결하는 연동 서버부를 포함한다. P2P-based real-time multimedia direct streaming system according to the present invention for achieving the above object, when receiving a multimedia content streaming request from the user terminal connected to the P2P network, retrieves the requested file codec conversion and real-time to the user terminal A user terminal having a service terminal for streaming transmission, a playback player for reproducing a streaming file received from the service terminal, and downloading a service application to the service terminal, and transmitting the multimedia content search interface stored in the service terminal to the user terminal. It includes and provides an interworking server unit for P2P connection between the user terminal and the service terminal.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 있어서, 상기 서비스 단말은 멀티미디어 컨텐츠를 저장하는 파일 시스템, 상기 연동 서버부를 통하여 상기 사용자 단말로 P2P 접속을 수행하는 P2P 플랫폼, 상기 사용자 단말과 상기 서비스 단말사이에서 P2P 접속을 유지하는 서비스 단말 상태유지부, 상기 사용자 단말에서 요청하는 멀티미디어 컨텐츠 스트리밍 요청을 수신하여 처리하는 요청처리부, 상기 요청된 멀티미디어 컨텐츠를 파일 시스템에서 검색 하여 단일 파일 포맷으로 실시간 코덱 변환하는 코덱 변환부, 및 상기 코덱 변환부에서 코덱 변환된 멀티미디어 컨텐츠의 출력을 상기 사용자 단말로 전송하는 스트리밍부를 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the service terminal is a file system for storing multimedia content, P2P platform for performing a P2P connection to the user terminal through the interworking server unit, and the user terminal A service terminal state maintaining unit for maintaining a P2P connection between the service terminals, a request processing unit for receiving and processing a multimedia content streaming request requested by the user terminal, and searching the requested multimedia contents in a file system in real time in a single file format. And a streaming unit for transmitting a codec conversion unit for outputting the multimedia content coded by the codec conversion unit to the user terminal.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 있어서, 상기 코덱 변환부는 상기 요청된 멀티미디어 컨텐츠를 ASF 기록 필터(writer filter)를 이용하여 WMV 포맷 파일로 실시간 코덱 변환하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the codec converter is characterized in that the conversion of the real-time codec to the WMV format file using the ASF writer filter. .

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 있어서, 상기 파일 시스템에 저장된 멀티미디어 컨텐츠 파일은 FLV, AVI, MPEG, MOV, MP3, MP4 포맷을 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the multimedia content file stored in the file system is characterized in that it comprises FLV, AVI, MPEG, MOV, MP3, MP4 format.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 있어서, 상기 연동 서버부는 사용자 단말 또는 서비스 단말의 사용자에 대한 인증을 수행하는 사용자 인증 수행부, 상기 서비스 단말의 상태를 확인하고 접속 정보를 유지, 관리하고, 상기 P2P 접속 요청에 대응하는 접속 정보를 제공하는 서비스 단말 상태 관리부, 상기 사용자 단말에서 전송된 P2P 접속 요청을 수신하거나 응답을 HTTP 프로토콜을 이용하여 전송 처리하는 접속 중계부, 및 상기 서비스 단말이 방화벽 또는 NAT에 의해 상기 P2P 접속을 하지 못할 경우, 상기 서비스 단말과 접속 경로를 마련하고 P2P 접속 요청 전달과 응답을 중계하는 릴레이부를 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the companion server unit is a user authentication performing unit for authenticating a user of a user terminal or a service terminal, confirms the state of the service terminal and access information A service terminal state management unit which maintains and manages and provides connection information corresponding to the P2P connection request, a connection relay unit which receives a P2P connection request transmitted from the user terminal or transmits a response using an HTTP protocol, and the When the service terminal is unable to access the P2P by the firewall or the NAT, it is characterized in that it comprises a relay unit for establishing a connection path with the service terminal and relays the P2P connection request transmission and response.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템 에 있어서, 상기 연동 서버부는 P2P 사용자 단말에 대하여 사용자 인터페이스를 제공하고 사용자 ID, 패스워드 정보를 저장하는 사용자 디렉토리 서버, 및 상기 사용자 단말에 대하여 상기 서비스 단말에 저장된 멀티미디어 컨텐츠 리스트에 대한 검색 인터페이스를 제공하는 검색서버를 더 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the companion server unit provides a user interface for the P2P user terminal, a user directory server for storing user ID, password information, and the user terminal for the It further comprises a search server for providing a search interface for the list of multimedia content stored in the service terminal.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 있어서, 사용자 단말의 재생 플레이어는 윈도우 미디어 플레이어인 것을 특징으로 하는 것이다.In addition, in the P2P-based real-time multimedia direct streaming system according to the present invention, the playback player of the user terminal is characterized in that the window media player.

한편, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법은, 사용자 단말의 재생 플레이어가 상기 사용자 단말과 P2P 연결되는 서비스 단말로 멀티미디어 컨텐츠에 대한 스트리밍을 요청하는 단계, 상기 스트리밍 요청을 수신한 서비스 단말의 요청처리부는 상기 요청된 멀티미디어 컨텐츠에 대하여 코덱변환부로 인코딩을 위하여 실시간 코덱 변환을 요청하는 단계, 상기 코덱변환부에서 상기 요청된 멀티미디어 컨텐츠를 검색하여 실시간 코덱변환을 수행하는 단계, 서비스 단말의 요청처리부는 스트리밍부로 상기 코덱변환된 멀티미디어 컨텐츠를 스트리밍 처리 요청하는 단계, 및 상기 스트리밍부에서 상기 코덱변환된 멀티미디어 컨텐츠를 사용자 단말로 전송하여 사용자 단말의 재생 플레이어에서 스트리밍 재생하는 단계를 포함한다. On the other hand, P2P-based real-time multimedia direct streaming method according to the present invention, the playback player of the user terminal requesting the streaming of the multimedia content to the service terminal connected to the user terminal P2P, the service terminal receiving the streaming request Requesting unit for real-time codec conversion for encoding the requested multimedia content to a codec conversion unit, performing the real-time codec conversion by searching the requested multimedia content in the codec conversion unit, the request of the service terminal The processor may include streaming the codec-converted multimedia content to a streaming unit, and requesting the streaming unit to transmit the codec-converted multimedia content to a user terminal to play the stream in a playback player of the user terminal. All.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법에 있어서, 상기 스트리밍 요청을 수신한 요청처리부는 상기 사용자 단말의 재생 플레이어로 스트리밍 모드로 변경 요청을 전송하는 단계를 더 포함하는 것을 특징으로 하는 것이다.  In addition, in the P2P-based real-time multimedia direct streaming method according to the present invention, the request processing unit receiving the streaming request further comprises the step of transmitting a change request in the streaming mode to the playback player of the user terminal. will be.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법에 있어서, 상기 사용자 단말의 재생 플레이어는 스트리밍을 시작하기 전에 헤더 부분을 요청하여 수신하는 단계를 더 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming method according to the present invention, the playback player of the user terminal further comprises the step of requesting and receiving the header portion before starting the streaming.

또한, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법에 있어서, 상기 사용자 단말의 재생 플레이어로부터 재생 정지 요청이 발생하면, 상기 재생 플레이어는 컨텐츠 데이터가 전송되던 소켓 연결을 강제로 폐쇄하는 단계, 및 상기 서비스 단말의 스트리밍부는 해제할 자원을 해제하고 상기 코덱변환부의 프로세스를 종료하는 단계를 더 포함하는 것을 특징으로 하는 것이다. In addition, in the P2P-based real-time multimedia direct streaming method according to the present invention, when the playback stop request from the playback player of the user terminal occurs, the playback player forcibly closing the socket connection to which the content data is transmitted; The streaming unit of the service terminal is characterized in that it further comprises the step of releasing resources to release and terminating the process of the codec conversion unit.

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

도3은 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 개략도이다.3 is a schematic diagram of a P2P based real-time multimedia direct streaming system according to the present invention.

도3에서, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템은 사용자의 개인 단말들이 사무실, 가정, 원격지 또는 이동중에 있으며 유무선 인터넷 환경 하에 놓여 있음을 나타내고 있다.In FIG. 3, the P2P-based real-time multimedia direct streaming system according to the present invention shows that the user's personal terminals are in an office, home, remote or mobile environment and are placed in a wired or wireless Internet environment.

상기 개인 단말들은 모두 기억장치를 가지고 있어서 문서, 음악 파일 뿐만 아니라 동영상 파일 등 다양한 컨텐츠가 각각 저장되어 있다.Each of the personal terminals has a storage device, and various contents such as a video file and a document and a music file are respectively stored.

본 발명은 상기 다양한 개인 단말들 가운데에서 서비스 단말(100)에 저장된 멀티미디어 컨텐츠를 스트리밍 재생이 가능한 포맷으로 변환하여 직접 컨텐츠를 스 트리밍 서비스하여 상기 서비스 단말(100)에 P2P 네트워크에 의하여 연결된 다양한 유무선 사용자 단말(200)에서 멀티미디어 컨텐츠를 스트리밍 재생하여 이용할 수 있도록 하는 것이다. The present invention converts multimedia contents stored in the service terminal 100 into a format capable of streaming playback among the various personal terminals, and directly streams the contents to various wired / wireless users connected to the service terminal 100 by a P2P network. In the terminal 200, the multimedia content is played by streaming.

여기서, 본 발명에 따른 유무선 인터넷을 통하여 P2P 네트워크에 연결되는 서비스 단말(100) 또는 사용자 단말(200)은 PC, 노트북, PDA, 휴대폰, 스마트폰, PMP은 물론 기타 다양한 개인 디지털 단말기를 포함하게 되고, 본 발명에 따른 시스템은 "개인" 단말에 한정되지 않으며 "개인" 단말 이외의 다양한 단말로 그 범위가 확대될 수 있음은 물론이다.Here, the service terminal 100 or the user terminal 200 connected to the P2P network through the wired or wireless Internet according to the present invention includes a PC, a laptop, a PDA, a mobile phone, a smartphone, a PMP, and various other personal digital terminals. However, the system according to the present invention is not limited to the "personal" terminal, and the scope of the present invention may be expanded to various terminals other than the "personal" terminal.

본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 상세 구성은 도4에 도시된 바와 같다.Detailed configuration of the P2P based real-time multimedia direct streaming system according to the present invention is as shown in FIG.

도4를 참조하면, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템은 멀티미디어 컨텐츠 스트리밍을 요청받으면 요청된 파일을 검색하여 코덱 변환하고 이를 실시간 스트리밍 전송하는 서비스 단말(100)과 상기 서비스 단말(100)로부터 수신한 스트리밍 파일을 재생하는 재생 플레이어를 구비하는 사용자 단말(200)과 상기 사용자 단말(200)과 상기 서비스 단말(100)을 P2P 연결하는 연동 서버부(300)를 포함한다.Referring to Figure 4, P2P-based real-time multimedia direct streaming system according to the present invention, when receiving a multimedia content streaming request, the service terminal 100 and the service terminal 100 to search for the codec conversion and to transmit the real-time streaming It includes a user terminal 200 having a playback player for playing the streaming file received from the) and the interworking server unit 300 for P2P connection between the user terminal 200 and the service terminal 100.

상기 서비스 단말(100)은 상기 연동 서버부(300)로부터 스트리밍 서비스를 수행하기 위한 서비스 어플리케이션을 다운로드 받아 설치되어 스트리밍 서비스 기능을 수행할 수 있게 된다.The service terminal 100 may download and install a service application for performing a streaming service from the companion server unit 300 to perform a streaming service function.

또한, 상기 연동서버부(300)는 상기 사용자 단말(200)로 상기 서비스 단 말(100)에 저장된 멀티미디어 컨텐츠 검색을 위한 인터페이스를 제공하게 된다. In addition, the companion server unit 300 provides the user terminal 200 with an interface for searching for multimedia content stored in the service terminal 100.

도4를 참조하면, 상기 연동서버부(300)는 크게 서비스 단말(100)과 사용자 단말(200)간의 P2P 접속을 수행하기 위한 P2P 서버(310), 상기 사용자 단말(200)에 멀티미디어 컨텐츠를 검색할수 있도록 하는 검색 서버(320), 연동서버부(300)를 경유하여 멀티미디어 컨텐츠의 스트리밍 서비스를 이용하고자 하는 P2P 사용자 관리를 위한 사용자 디렉토리 서버(330)를 포함한다.Referring to FIG. 4, the companion server unit 300 is a P2P server 310 for performing P2P connection between the service terminal 100 and the user terminal 200, and searches for multimedia content in the user terminal 200. It includes a search server 320 and a user directory server 330 for P2P user management to use the streaming service of the multimedia content via the interlocking server unit 300.

여기에서, 상기 P2P 서버(310)는 사용자 인증부(311), 서비스 단말 상태 관리부(312), 접속중계부(313), 릴레이부(314)를 포함한다.Here, the P2P server 310 includes a user authentication unit 311, a service terminal state management unit 312, a connection relay unit 313, and a relay unit 314.

상기 사용자 인증부(311)는 멀티미디어 컨텐츠 스트리밍 요청에 따른 컨텐츠 서비스를 이용하는 P2P 회원으로 사용자 ID를 발급받은 상기 사용자 단말(200) 또는 상기 서비스 단말(100)의 사용자에 대한 인증을 수행하게 된다.The user authentication unit 311 performs authentication of a user of the user terminal 200 or the service terminal 100 that has been issued a user ID as a P2P member using a content service according to a multimedia content streaming request.

상기 서비스 단말 상태 관리부(312)는 상기 서비스 단말(100)의 접속 상태를 확인하고 서비스 단말(100)로 서비스 요청을 전달할 때 필요한 IP, 포트정보와 같은 접속 정보를 유지, 관리하고 상기 P2P 접속 요청에 대응하는 접속 정보를 제공한다.The service terminal state management unit 312 checks the connection state of the service terminal 100 and maintains and manages connection information such as IP and port information required when transmitting a service request to the service terminal 100 and the P2P connection request. Provides connection information corresponding to

상기 접속중계부(313)는 상기 P2P 사용자 단말(200)에서 전송된 접속 요청을 HTTP 프로토콜을 이용하여 수신하거나 응답을 전송한다.The access relay unit 313 receives an access request transmitted from the P2P user terminal 200 using an HTTP protocol or transmits a response.

상기 서비스 단말(100)이 방화벽 또는 NAT 내부에 위치하여 상기 서비스 단말(100)에 상기 스트리밍 요청을 전달하지 못할 경우, 상기 서비스 단말(100)과 접속 경로를 마련하고 상기 서비스 단말(100)에 상기 스트리밍 요청의 전달과 응답을 중계하는 릴레이부(314)를 더 포함하여 구성될 수 있다.If the service terminal 100 is located inside a firewall or NAT and fails to deliver the streaming request to the service terminal 100, a connection path is established with the service terminal 100 and the service terminal 100 is connected to the service terminal 100. It may further comprise a relay unit 314 for relaying the delivery and response of the streaming request.

상기 릴레이부(314)는 상기 서비스 단말(100)이 방화벽/NAT 등에 의하여 직접 단말에 접속이 불가능할 경우 미리 준비된 서비스 단말(100)과의 연결을 통해서 HTTP 요청/응답을 중간에서 릴레이 함으로써 일종의 HTTP Proxy와 유사한 역할을 수행하게 된다.The relay unit 314 relays the HTTP request / response in the middle through a connection with the service terminal 100 prepared in advance when the service terminal 100 cannot directly access the terminal by a firewall / NAT. It will play a role similar to.

또한, 상기 검색서버(320)는 상기 사용자 단말에 대하여 상기 서비스 단말에 저장된 멀티미디어 컨텐츠 리스트를 저장하는 데이터베이스(321)와 이에 에 대한 컨텐츠 검색 인터페이스(322)를 제공한다.In addition, the search server 320 provides the user terminal with a database 321 for storing a list of multimedia contents stored in the service terminal and a content search interface 322 therefor.

그리고, 상기 사용자 디렉토리 서버(330)는 P2P 사용자에 대하여 P2P 회원가입, 회원정보입력, 변경에 대한 사용자 인터페이스를 제공하는 회원가입/관리 인터페이스(332)와 사용자 ID, 패스워드 등과 같은 정보를 저장하는 데이터베이스(410)를 포함한다.In addition, the user directory server 330 stores a member registration / management interface 332 which provides a user interface for P2P membership, member information input, and change for a P2P user, and stores information such as a user ID and a password. 410.

서비스 단말(100)은 다양한 포맷의 멀티미디어 컨텐츠를 직접 사용자 단말(200)로 스트리밍 서비스하는 서비스 어플리케이션을 사용자 디렉토리 서버(330)를 통하여 P2P 사이트나 컨텐츠 제공을 서비스하는 사이트에 회원 가입하여 단말 어플리케이션을 다운로드하여 설치한 후 실행됨으로써 상기 서비스 단말(100)에서 구동된다. The service terminal 100 registers a service application for streaming multimedia content of various formats directly to the user terminal 200 through a user directory server 330 to a P2P site or a site for providing content and downloads the terminal application. After installation, it is driven by the service terminal 100 by being executed.

도4를 참조하면, 상기 서비스 어플리케이션에 의하여 서비스 단말(100)에 설치되어 구성되는 것으로서 파일 시스템(160)에 저장된 다양한 포맷의 멀티미디어 컨텐츠를 통일된 단일 포맷으로 코덱변환하는 코덱변환부(120)와 이를 직접 스트리 밍 서비스하는 스트리밍부(110)과 스트리밍 처리 요청을 수신하여 이를 처리하는 요청처리부(130)와 P2P 접속, 연결 유지 관리를 위한 P2P 플랫폼(140)과 서비스 단말 상태유지부(150)를 포함한다.Referring to FIG. 4, a codec conversion unit 120 installed and configured in the service terminal 100 by the service application and converting the multimedia contents of various formats stored in the file system 160 into a single unitary format codec converting unit 120 and The P2P platform 140 and the service terminal state maintaining unit 150 for P2P connection and connection maintenance with the request processing unit 130 for receiving and processing the streaming processing unit 110 and the streaming processing request for direct streaming service. Include.

여기에서, 상기 P2P 플랫폼(140)은 상기 연동 서버부(300)를 통하여 상기 사용자 단말(200)과 P2P 접속을 수행하는 것이다.Here, the P2P platform 140 performs a P2P connection with the user terminal 200 through the interworking server unit 300.

상기 서비스 단말 상태유지부(150)는 상기 서비스 단말(100)의 사용자 인증을 수행하고 상기 서비스 단말의 네트워크 상태 정보를 상기 서버연동부(300)로 지속적으로 전송한다.The service terminal state maintaining unit 150 performs user authentication of the service terminal 100 and continuously transmits network state information of the service terminal to the server interlocking unit 300.

상기 서비스 단말 상태유지부(150)는 맨 처음에 서버연동부(300)와 연결을 맺어 사용자 인증을 수행하고 접속 정보를 상기 서버연동부(300)로 전송한 후 일정시간마다 지속적으로 온라인 연결되어 있음을 알리는 메시지를 전송하고, 네트워크 연결종료, IP 변경 등과 같이 네트워크 상태나 상황이 변경되는 경우 이를 서버연동부(300)에 알리는 메시지를 전송함으로써 항상 요청에 따른 접속 상태를 유지한다.The service terminal state maintaining unit 150 is initially connected to the server interlocking unit 300 to perform user authentication, and transmits access information to the server interlocking unit 300, and is continuously connected online every predetermined time. By transmitting a message notifying that there is a change in network status or situation, such as network connection termination, IP change, etc. by sending a message notifying the server interlocking unit 300 always maintains the connection state according to the request.

이제 스트리밍 서비스를 처리하는 핵심 구성인 코덱변환부(120)와 스트리밍부(110)에 대하여 설명한다.Now, the codec converter 120 and the streaming unit 110, which are core components for processing the streaming service, will be described.

실시간 코덱변환부(120)는 서비스 단말의 운영체제가 MS Windows 계열일 경우 DirectShow기술을 이용해서 제작될 수 있고, 자막처리를 위해서 ffdshow video decoder 필터를 사용하고, 변환된 멀티미디어 컨텐츠를 WMV 형태로 스트리밍부(110)로 전달하기 위해 ASF Writer 필터를 이용하게 된다. The real-time codec converter 120 may be produced by using DirectShow technology when the operating system of the service terminal is MS Windows series, uses a ffdshow video decoder filter for subtitle processing, and streams the converted multimedia content in a WMV format. The ASF Writer filter will be used to pass to 110.

상기 ffdshow video decoder는 사용자의 컴퓨터에 '통합코덱팩'이 깔려있음을 가정하고 있다. The ffdshow video decoder assumes that an integrated codec pack is installed on a user's computer.

ASF Writer 필터는 사용자 PC(서버 PC)가 WinXP이상인 경우 기본으로 깔려있으며, Win2000 사용자의 경우 별도의 설치 파일이 필요하다. ASF Writer filter is installed by default when user PC (server PC) is WinXP or higher. Separate installation file is required for Win2000 users.

자막처리를 위해서 ffdshow video decoder 필터를 사용할 때, 몇가지 추가적인 레지스트리 값 세팅이 필요한데, 이를 수행하는 함수가 실시간 코덱변환부(120) 실행 시 항상 실행되도록 되어있다. When using the ffdshow video decoder filter for subtitle processing, some additional registry value setting is required, and a function for performing this function is always executed when the real-time codec converter 120 is executed.

코덱변환부(120) 자체는 스트리밍부(110)의 존재 여부와 상관없이 실행할 수 있으며, 실행 중에 윈도우 미디어 플레이어 등으로 직접 접속하여 동영상을 볼 수도 있다. The codec converter 120 itself may be executed regardless of the existence of the streaming unit 110, and may be directly connected to a Windows media player or the like to watch a video.

상기 코덱변환부(120)는 멀티미디어 컨텐츠가 저장된 파일 시스템(160)의 목적 파일, 대기 포트, 트랜스 코딩 시작시간을 지정하여 실행하면 된다.The codec converter 120 may execute a target file, a standby port, and a transcoding start time of the file system 160 in which multimedia contents are stored.

또한, 스트리밍부(110)는 사용자 단말(200)의 재생 플레이어로서 예를들면 윈도우 미디이어 플레이어의 스트리밍 요청에 대해 Windows Server 2003의 미디어 서비스 기능을 재현하는 기능을 담당한다. In addition, the streaming unit 110 plays a role of reproducing a media service function of Windows Server 2003 as a playback player of the user terminal 200, for example, a streaming request of a Windows media player.

스트리밍부와 재생 클라이언트 간의 실시간 미디어 전송을 위해 http, mms, rtsp 등의 스트리밍 전용 프로토콜들을 사용할 수 있다. Streaming-only protocols such as http, mms and rtsp can be used for real-time media transmission between the streaming and playback clients.

스트리밍 프로토콜은 재생 클라이언트와 서비스 단말의 OS 환경에 주로 의존적인데 예를 들면 MS Windows 기반의 OS와 윈도우 미디어 플레이어를 사용하는 환경이라고 할때 http또는 mms를 사용하는 것이 바람직하다. The streaming protocol is mainly dependent on the OS environment of the playback client and the service terminal. For example, it is preferable to use http or mms in an environment using an MS Windows-based OS and a Windows media player.

또한, 상기 파일 시스템(160)에서 검색되어 코덱변환부(120)에서 WMV로 트랜스코딩되는 포맷 형태는 FLV, AVI, MPEG, MOV, MP3, MP4 포맷을 포함하여 다양하다.In addition, the format of the file system 160 retrieved and transcoded into the WMV by the codec converter 120 may be varied, including FLV, AVI, MPEG, MOV, MP3, and MP4 formats.

도5는 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템의 처리 과정도이다.5 is a flowchart of a P2P-based real-time multimedia direct streaming system according to the present invention.

도5를 참조하면, 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 전송 처리 과정은 사용자 단말(200)의 재생 플레이어는 P2P 연결된 서비스 단말(100)로 멀티미디어 컨텐츠에 대한 스트리밍을 요청한다(① 단계).Referring to FIG. 5, in the P2P-based real-time multimedia direct streaming transmission process according to the present invention, the playback player of the user terminal 200 requests streaming of multimedia content to the P2P-connected service terminal 100 (step ①). .

상기 스트리밍 요청을 수신한 서비스 단말(100)의 요청처리부(130)는 상기 요청된 멀티미디어 컨텐츠에 대하여 코덱변환부(120)로 WMV 인코딩을 위하여 실시간 코덱 변환을 요청한다(② 단계).The request processing unit 130 of the service terminal 100 receiving the streaming request requests the real-time codec conversion for the WMV encoding to the codec converter 120 for the requested multimedia content (step ②).

다음으로 상기 코덱변환부(120)에서 상기 요청된 멀티미디어 컨텐츠를 검색하여 실시간 코덱변환을 수행한다(③ 단계).Next, the codec converter 120 searches for the requested multimedia content to perform real-time codec conversion (step ③).

상기 서비스 단말(100)의 요청처리부(130)는 스트리밍부(110)로 상기 코덱변환된 멀티미디어 컨텐츠를 스트리밍 처리 요청한다(④ 단계).The request processing unit 130 of the service terminal 100 requests the streaming unit 110 to process the streaming of the codec-converted multimedia content (step ④).

마지막으로, 상기 스트리밍부(110)에서 상기 코덱변환된 멀티미디어 컨텐츠를 사용자 단말(200)로 전송하여 사용자 단말(200)의 재생 플레이어에서 스트리밍 재생하게 된다(⑤ 단계).Finally, the streaming unit 110 transmits the codec-converted multimedia content to the user terminal 200 to play the streaming in the player of the user terminal 200 (step ⑤).

도6a, 도6b는 본 발명에 따른 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템 전송 처리 과정의 또 다른 실시예이다.6A and 6B illustrate another embodiment of a P2P based real-time multimedia direct streaming system transmission processing process according to the present invention.

사용자 단말(200)의 재생 플레이어인 윈도우 미디어 플레이어에서 원격의 PC에 저장된 동영상을 서비스 단말(100)의 스트리밍부(110)로 방화벽 통과에 유리한 HTTP 프로토콜을 이용해서 스트리밍 요청한다(S10).In operation S10, a window media player, which is a playback player of the user terminal 200, requests a video stored in a remote PC to the streaming unit 110 of the service terminal 100 using an HTTP protocol that is advantageous for passing through a firewall.

이때, 요청받은 스트리밍부(110)에서는 요청된 파일이 있는지 체크해서 파일이 없을 때는 404 File Not Found 응답을 보내고, 파일이 있으면 사용자 단말(200)의 윈도우 미디어 플레이어에 스트리밍 모드로 변화하도록 요청을 보낸다. At this time, the requested streaming unit 110 checks whether there is a requested file, and if there is no file, sends a 404 File Not Found response, and if there is a file, sends a request to change the streaming mode to the window media player of the user terminal 200. .

사용자 단말(200)과의 접속을 유지한 상태에서, 스트리밍부(110)를 실행한다. 실행 인자는 다음과 같다The streaming unit 110 is executed while maintaining the connection with the user terminal 200. Execution arguments are

<원본영상파일절대경로> <Profile파일절대경로> <시작시간(ms)> -p<포트> <접속 끊기 대기시간(s)><Original video file absolute path> <Profile file absolute path> <Start time (ms)> -p <port> <Disconnection wait time (s)>

요청 시 얻은 원본영상 경로를 절대경로로 전환하여 코덱변환부(120) 실행시에 지정해준다. 포트번호는 코덱변환부(120)를 매번 시작할 때 마다 임의의 빈 포트를 지정하여, 동시에 여러 개의 스트리밍부(110)가 실행되더라도 포트 충돌이 일어나지 않도록 한다(S20).The original image path obtained at the request is converted to an absolute path and designated at the time of execution of the codec converter 120. The port number designates a random free port every time the codec converter 120 starts, so that even if several streaming units 110 are executed at the same time, a port collision does not occur (S20).

스트리밍부(110)는 위에서 실행한 코덱변환부(120)에 접속해서 요청을 보낸다(S30). 이 요청은 여러가지 사용자 단말을 이용해서 직접 접속할 때 보내지는 요청을 그대로 흉내내는 것이다.The streaming unit 110 accesses the codec conversion unit 120 executed above and sends a request (S30). This request mimics a request sent when a direct connection is made using various user terminals.

코덱변환부(120)가 스트리밍부(110)의 요청에 응답을 주는데 정상적인 경우 200 OK가 온다(S40). 이 응답이 200 OK가 아닌 경우, 스트리밍부(110)는 더 이상 사용자 단말(200)에 제대로된 응답을 줄 방법이 없으므로 사용자 단말(200)에 "500 Server Internal Error"를 보내고 접속을 끊어버린다.The codec converter 120 responds to the request of the streaming unit 110, but when it is normal, 200 OK comes (S40). If the response is not 200 OK, the streaming unit 110 no longer provides a proper response to the user terminal 200, and thus sends a "500 Server Internal Error" to the user terminal 200 and disconnects.

코덱변환부(120)가 스트리밍부(110)의 요청에 응답을 주는데 이때, ASF 헤더부분을 전송한다(S50).The codec converter 120 responds to the request of the streaming unit 110, and at this time, transmits the ASF header part (S50).

처음에 GET요청을 한 후 계속 대기 상태에 있던 사용자 단말(200)의 윈도우미디어 플레이어에 응답 메시지를 만들어서 보낸다(S60).After making a first GET request, a response message is made and sent to the window media player of the user terminal 200 which is in a standby state (S60).

여기에서, 상기 스트리밍을 시작하기에 앞서 윈도우 미디어 플레이어가 현재 자신이 스트리밍 요청하는 파일이 자신이 플레이 할 수 있는 포맷의 파일인지, 스트리밍이 가능한지 테스트하는 목적으로 영상데이터를 제외한 헤더부분만을 요청한다(S70). 이 과정은 2-3 차례 반복되는 경우도 있다.Here, before starting the streaming, the Windows Media Player requests only the header portion except for the image data for the purpose of testing whether the file currently requested for streaming is a file of a format that can be played by the user or whether the file can be streamed. S70). This process may be repeated 2-3 times.

이때, 도6a에 도시된 바와 같이 윈도우 미디어 플레이어가 현재 자신이 스트리밍 요청하는 파일이 자신이 플레이 할 수 없는 경우에는, 상기 코덱변환부(120)가 스트리밍부(110)의 프로세스를 종료하게 된다(S80).In this case, as shown in FIG. 6A, when the file currently requested for streaming by the Windows Media Player cannot play by itself, the codec converter 120 terminates the process of the streaming unit 110 ( S80).

윈도우 미디어 플레이어는 보통 이 단계에서 소켓 연결을 해제해 버린다(S90). Windows Media Player usually disconnects the socket at this stage (S90).

도6b에 도시된 바와 같이 S80 단계에서 윈도우 미디어 플레이어가 현재 자신이 스트리밍 요청하는 파일이 자신이 플레이가 가능한 경우에는, 코덱변환부(120)는 해당 멀티미디어 컨텐츠 파일을 트랜스코딩 실행한다. 스트리밍부(110)는 코덱변환부(120)로부터 WMV로 트랜스코딩된 데이터를 읽어들여 대기중인 사용자 단말의 윈도우 미디어 플레이어로 계속 릴레이 한다(S85, S95). As illustrated in FIG. 6B, when the file currently requested for streaming by the window media player is capable of being played by itself, the codec converter 120 transcodes the corresponding multimedia content file. The streaming unit 110 reads the transcoded data to the WMV from the codec converter 120 and relays the data to the window media player of the waiting user terminal (S85 and S95).

또한, Pause 기능과 정상적인 영상 재생 종료 사항을 처리하기 위해서 현재 전달되는 데이터의 "현재 재생 시간"을 바이너리 데이터로 읽어서 저장해둔다In addition, in order to handle the pause function and the end of normal video playback, the "current playback time" of the currently transmitted data is read and stored as binary data.

사용자 단말의 윈도우 미디어 플레이어에 원하는 컨텐츠 또는 동영상이 플레이 되고, 영상이 플레이된 후, 사용자 단말에서는 자막파일의 요청, 탐색, 일시정지 후 재생, 재생정지 등을 요청할 수 있다.After the desired content or video is played on the window media player of the user terminal and the image is played, the user terminal may request a subtitle file, search, pause and play, and stop playback.

사용자 단말의 윈도우 미디어 플레이어에서 재생 정리 버튼을 눌러 재생 정지 요청이 발생하면, 윈도우 미디어 플레이어는 현재까지 데이터가 전송되던 소켓연결을 강제로 닫아버린다. When a play stop request is generated by pressing a play cleanup button on a window media player of the user terminal, the window media player forcibly closes the socket connection to which data has been transmitted.

스트리밍부(110)는 이를 감지하고 자신이 해제할 자원을 해제하고 관련된 코덱변환부(120) 프로세스를 종료시킨다.The streaming unit 110 detects this, releases the resources to be released by itself, and terminates the related codec conversion unit 120 process.

이상에서 본 발명은 기재된 구체적인 실시예에 대해서만 상세히 설명되었지만 본 발명의 기술사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.Although the present invention has been described in detail only with respect to the specific embodiments described, it will be apparent to those skilled in the art that various modifications and variations are possible within the technical scope of the present invention, and such modifications and modifications belong to the appended claims. .

본 발명의 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템에 의하면 다음과 같은 긍정적인 효과가 기대된다.According to the P2P based real time multimedia direct streaming system of the present invention, the following positive effects are expected.

인터넷 서비스 제공자는 컨텐츠를 저장하기 위한 스토리지 없이 다양한 멀티미디어 컨텐츠에 대하여 단말엣 직접 스트리밍 서비스가 가능해지게 된다.The internet service provider can directly stream to the terminal for various multimedia contents without storage for storing the contents.

또한, 멀티미디어 컨텐츠의 스트리밍 재생을 위한 필요한 대부분의 트래픽은 단말간에 발생하는 것이므로 서버 및 인터넷 데이터 센터의 비용을 절감할 수 있 다.In addition, since most of the traffic required for streaming playback of multimedia content is generated between terminals, it is possible to reduce costs of servers and Internet data centers.

한편, 개인 사용자들은 자신의 여러 PC에 저장된 멀티미디어 동영상 컨텐츠들을 다양한 유무선 네트웍 환경하에서 어떤 디바이스로도 실시간으로 감상할 수 있게 되는 효과가 있다.On the other hand, individual users can watch multimedia video contents stored in their PCs in real time on any device under various wired and wireless network environments.

Claims (11)

P2P망으로 연결되는 사용자 단말로부터 멀티미디어 컨텐츠 스트리밍을 요청받으면 요청된 파일을 검색하여 코덱 변환하고 상기 사용자 단말로 실시간 스트리밍 전송하는 서비스 단말;A service terminal for retrieving the requested file, converting the codec, and transmitting the real-time streaming to the user terminal when the multimedia content streaming is requested from the user terminal connected to the P2P network; 상기 서비스 단말로부터 수신한 스트리밍 파일을 재생하는 재생 플레이어를 구비하는 사용자 단말; 및A user terminal having a player for playing the streaming file received from the service terminal; And 상기 서비스 단말에 서비스 어플리케이션을 다운로드하고, 상기 사용자 단말로 상기 서비스 단말에 저장된 멀티미디어 컨텐츠 검색 인터페이스를 제공하며 상기 사용자 단말과 상기 서비스 단말을 P2P 연결하는 연동 서버부를 포함하고, 상기 서비스 단말은 The service terminal may include downloading a service application, providing a multimedia content search interface stored in the service terminal to the user terminal, and including an interworking server unit for P2P connection between the user terminal and the service terminal. 멀티미디어 컨텐츠를 저장하는 파일 시스템;A file system for storing multimedia content; 상기 연동 서버부를 통하여 상기 사용자 단말로 P2P 접속을 수행하는 P2P 플랫폼;A P2P platform for performing P2P access to the user terminal through the interworking server unit; 상기 사용자 단말과 상기 서비스 단말사이에서 P2P 접속을 유지하는 서비스 단말 상태유지부;A service terminal state maintaining unit maintaining a P2P connection between the user terminal and the service terminal; 상기 사용자 단말에서 요청하는 멀티미디어 컨텐츠 스트리밍 요청을 수신하여 처리하는 요청처리부;A request processor for receiving and processing a multimedia content streaming request requested by the user terminal; 상기 요청된 멀티미디어 컨텐츠를 파일 시스템에서 검색하여 단일 파일 포맷으로 실시간 코덱 변환하는 코덱 변환부; 및A codec converter for retrieving the requested multimedia content from a file system and converting the codec into a single file format in real time; And 상기 코덱 변환부에서 코덱 변환된 멀티미디어 컨텐츠의 출력을 코덱변환과 동시에 상기 사용자 단말로 직접 스트리밍 서비스하는 스트리밍부를 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템.P2P-based real-time multimedia direct streaming system characterized in that it comprises a streaming unit for streaming the output of the codec-converted multimedia content directly to the user terminal at the same time as the codec conversion. 삭제delete 제 1 항에 있어서, The method of claim 1, 상기 코덱 변환부는, The codec converter, 상기 요청된 멀티미디어 컨텐츠를 ASF 기록 필터(writer filter)를 이용하여 WMV 포맷 파일로 실시간 코덱 변환하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템.And converting the requested multimedia content into a WMV format file using a ASF writer filter. 제 1 항에 있어서,The method of claim 1, 상기 파일 시스템에 저장된 멀티미디어 컨텐츠 파일은 FLV, AVI, MPEG, MOV, MP3, MP4 포맷을 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템.The multimedia content file stored in the file system includes a FLV, AVI, MPEG, MOV, MP3, MP4 format P2P-based real-time multimedia direct streaming system. 제 1 항에 있어서,The method of claim 1, 상기 연동 서버부는,The linked server unit, 사용자 단말 또는 서비스 단말의 사용자에 대한 인증을 수행하는 사용자 인증 수행부;A user authentication performing unit for authenticating a user of a user terminal or a service terminal; 상기 서비스 단말의 상태를 확인하고 접속 정보를 유지, 관리하고, 상기 P2P 접속 요청에 대응하는 접속 정보를 제공하는 서비스 단말 상태 관리부;A service terminal state manager to check a state of the service terminal, maintain and manage access information, and provide access information corresponding to the P2P access request; 상기 사용자 단말에서 전송된 P2P 접속 요청을 수신하거나 응답을 HTTP 프로토콜을 이용하여 전송 처리하는 접속 중계부; 및An access relay unit configured to receive a P2P connection request transmitted from the user terminal or transmit a response using an HTTP protocol; And 상기 서비스 단말이 방화벽 또는 NAT에 의해 상기 P2P 접속을 하지 못할 경우, 상기 서비스 단말과 접속 경로를 마련하고 P2P 접속 요청 전달과 응답을 중계하는 릴레이부를 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템.If the service terminal is unable to access the P2P by a firewall or NAT, P2P-based real-time multimedia direct streaming comprising a relay unit for establishing a connection path with the service terminal and relaying the delivery and response of the P2P connection request. system. 제 1 항에 있어서,The method of claim 1, 상기 연동 서버부는, The linked server unit, P2P 사용자 단말에 대하여 사용자 인터페이스를 제공하고 사용자 ID, 패스워드 정보를 저장하는 사용자 디렉토리 서버; 및A user directory server providing a user interface to a P2P user terminal and storing user ID and password information; And 상기 사용자 단말에 대하여 상기 서비스 단말에 저장된 멀티미디어 컨텐츠 리스트에 대한 검색 인터페이스를 제공하는 검색서버를 더 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템. And a search server for providing a search interface for the multimedia content list stored in the service terminal to the user terminal. 제 1 항에 있어서,The method of claim 1, 사용자 단말의 재생 플레이어는 윈도우 미디어 플레이어인 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 시스템.P2P based real-time multimedia direct streaming system, characterized in that the playback player of the user terminal is a window media player. 사용자 단말의 재생 플레이어가 상기 사용자 단말과 P2P 연결되는 서비스 단말로 멀티미디어 컨텐츠에 대한 스트리밍을 요청하는 단계;Requesting a player for playing multimedia content to a service terminal connected to the user terminal by P2P; 상기 스트리밍 요청을 수신한 서비스 단말의 요청처리부는 상기 요청된 멀티미디어 컨텐츠에 대하여 코덱변환부로 인코딩을 위하여 실시간 코덱 변환을 요청하는 단계;Requesting, by the request processing unit of the service terminal receiving the streaming request, the real-time codec conversion for encoding to the codec converter for the requested multimedia content; 상기 코덱변환부에서 상기 요청된 멀티미디어 컨텐츠를 검색하여 단일 파일 포맷으로 실시간 코덱변환을 수행하는 단계;Retrieving the requested multimedia content from the codec converter and performing real-time codec conversion into a single file format; 서비스 단말의 요청처리부는 스트리밍부로 상기 코덱변환된 멀티미디어 컨텐츠를 코덱변환과 동시에 직접 스트리밍 서비스 처리를 요청하는 단계; 및Requesting a processing unit of a service terminal to request a streaming service to simultaneously process the codec converted multimedia content to a streaming unit; And 상기 스트리밍부에서 상기 코덱변환된 멀티미디어 컨텐츠를 사용자 단말로 실시간 전송하여 사용자 단말의 재생 플레이어에서 스트리밍 재생하는 단계를 포함하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법. P2P-based real-time multimedia direct streaming method comprising the step of streaming the codec-converted multimedia content in real time to the user terminal by the streaming unit in the playback player of the user terminal. 제 8 항에 있어서,The method of claim 8, 상기 스트리밍 요청을 수신한 요청처리부는 상기 사용자 단말의 재생 플레이어로 스트리밍 모드로 변경 요청을 전송하는 단계를 더 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법. The request processing unit receiving the streaming request further comprises the step of transmitting a change request in the streaming mode to the playback player of the user terminal P2P-based real-time multimedia direct streaming method. 제 8 항에 있어서,The method of claim 8, 상기 사용자 단말의 재생 플레이어는 스트리밍을 시작하기 전에 헤더 부분을 요청하여 수신하는 단계를 더 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법. The P2P-based real-time multimedia direct streaming method of the user terminal further comprises the step of requesting and receiving the header portion before starting the streaming. 제 8 항에 있어서,The method of claim 8, 상기 사용자 단말의 재생 플레이어로부터 재생 정지 요청이 발생하면, 상기 재생 플레이어는 컨텐츠 데이터가 전송되던 소켓 연결을 강제로 폐쇄하는 단계; 및If the playback stop request is generated from the playback player of the user terminal, the playback player forcibly closing the socket connection to which the content data was transmitted; And 상기 서비스 단말의 스트리밍부는 해제할 자원을 해제하고 상기 코덱변환부의 프로세스를 종료하는 단계를 더 포함하는 것을 특징으로 하는 P2P 기반의 실시간 멀티미디어 직접 스트리밍 방법. The P2P-based real-time multimedia direct streaming method further comprises the step of releasing the resources to release the service terminal and terminate the process of the codec conversion unit.
KR1020070044320A 2007-05-07 2007-05-07 System for realtime multimedia transcoding and direct streaming in p2p network and method thereof KR100796550B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070044320A KR100796550B1 (en) 2007-05-07 2007-05-07 System for realtime multimedia transcoding and direct streaming in p2p network and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070044320A KR100796550B1 (en) 2007-05-07 2007-05-07 System for realtime multimedia transcoding and direct streaming in p2p network and method thereof

Publications (1)

Publication Number Publication Date
KR100796550B1 true KR100796550B1 (en) 2008-01-21

Family

ID=39218730

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070044320A KR100796550B1 (en) 2007-05-07 2007-05-07 System for realtime multimedia transcoding and direct streaming in p2p network and method thereof

Country Status (1)

Country Link
KR (1) KR100796550B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009126839A3 (en) * 2008-04-09 2009-12-23 Level 3 Communications, Llc Content delivery in a network
US9426244B2 (en) 2008-04-09 2016-08-23 Level 3 Communications, Llc Content delivery in a network
CN106303430A (en) * 2016-08-21 2017-01-04 贵州大学 The method playing monitoring in real time without plug-in unit in browser

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020031224A (en) * 2000-10-23 2002-05-01 정재길 Method Of Dispersion Service Of Contents And The System
KR20030056701A (en) * 2001-12-28 2003-07-04 한국전자통신연구원 Apparatus and method for providing multimedia streaming service by using point-to-point connection
KR20030066976A (en) * 2002-02-06 2003-08-14 삼성전자주식회사 Method for resource-share-service
KR20040001336A (en) * 2002-06-27 2004-01-07 주식회사 케이티 Method of push-style contents delivery over the internet using P2P model
KR20050042350A (en) * 2003-11-01 2005-05-09 황용길 Multi-media data transmission system based on the peer to peer network
KR20070020727A (en) * 2005-08-16 2007-02-22 주식회사 팬택 Apparatus and method of using pseudo streaming download with partially progressive download in terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020031224A (en) * 2000-10-23 2002-05-01 정재길 Method Of Dispersion Service Of Contents And The System
KR20030056701A (en) * 2001-12-28 2003-07-04 한국전자통신연구원 Apparatus and method for providing multimedia streaming service by using point-to-point connection
KR20030066976A (en) * 2002-02-06 2003-08-14 삼성전자주식회사 Method for resource-share-service
KR20040001336A (en) * 2002-06-27 2004-01-07 주식회사 케이티 Method of push-style contents delivery over the internet using P2P model
KR20050042350A (en) * 2003-11-01 2005-05-09 황용길 Multi-media data transmission system based on the peer to peer network
KR20070020727A (en) * 2005-08-16 2007-02-22 주식회사 팬택 Apparatus and method of using pseudo streaming download with partially progressive download in terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009126839A3 (en) * 2008-04-09 2009-12-23 Level 3 Communications, Llc Content delivery in a network
US8156066B2 (en) 2008-04-09 2012-04-10 Level 3 Communications, Llc Rule-based content request handling
US8533143B2 (en) 2008-04-09 2013-09-10 Level 3 Communications, Llc Rule-based content handling
US9426244B2 (en) 2008-04-09 2016-08-23 Level 3 Communications, Llc Content delivery in a network
CN106303430A (en) * 2016-08-21 2017-01-04 贵州大学 The method playing monitoring in real time without plug-in unit in browser

Similar Documents

Publication Publication Date Title
JP5341186B2 (en) Proxy function
US8195744B2 (en) File sharing system for use with a network
JP4975831B2 (en) Remote data access technology for portable devices
US8738730B2 (en) System and method for remotely controlling network resources
USRE43192E1 (en) Data processing system, information processing apparatus, data processing method, and computer program
US20130282793A1 (en) Media content sharing
US20110099218A1 (en) Method for viewing videos on distributed networks
EP2549680B1 (en) Content output system and codec information sharing method in same system
US8819140B2 (en) System and method for enabling the establishment and use of a personal network
WO2014015789A1 (en) Digital television terminal, video file playing method and video file playing system
JP2008206039A (en) Content viewing apparatus
US20060277318A1 (en) System and method for extending communications with a device network
US9077766B2 (en) System and method for combining memory resources for use on a personal network
JP2008301442A (en) Motion picture sharing system, user terminal equipment, and program
EP2566177B1 (en) Electronic apparatus and method for transferring contents on cloud system to device connected to DLNA
KR100796550B1 (en) System for realtime multimedia transcoding and direct streaming in p2p network and method thereof
US8774599B2 (en) Method for transcoding and playing back video files based on grid technology in devices having limited computing power
WO2009111982A1 (en) Multimedia network application processing system and method
EP3461135A1 (en) Method for managing the access right to a digital content
WO2012103670A1 (en) Method, device and system for, based on cloud service, providing and processing multimedia data
KR100814676B1 (en) Offering system of unification contents and methode thereof
JP5802288B2 (en) Video distribution system and video distribution method
EP2282475B1 (en) Method and device for restoring multimedia content
US11234032B2 (en) Method of managing the right of access to a digital content
Liu Developing a Solution for Multimedia Home Networking

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
N231 Notification of change of applicant
GRNT Written decision to grant
G170 Re-publication after modification of scope of protection [patent]
FPAY Annual fee payment

Payment date: 20120210

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20130110

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee