KR101402155B1 - Media server, communication terminal and its using method for serving media - Google Patents
Media server, communication terminal and its using method for serving media Download PDFInfo
- Publication number
- KR101402155B1 KR101402155B1 KR1020070089497A KR20070089497A KR101402155B1 KR 101402155 B1 KR101402155 B1 KR 101402155B1 KR 1020070089497 A KR1020070089497 A KR 1020070089497A KR 20070089497 A KR20070089497 A KR 20070089497A KR 101402155 B1 KR101402155 B1 KR 101402155B1
- Authority
- KR
- South Korea
- Prior art keywords
- media data
- media
- memory
- data
- block
- Prior art date
Links
Images
Abstract
본 발명은 미디어 서버 장치에 관한 것으로, 외부 장치가 요청하는 포맷의 미디어 데이터를 제공하기 위해, 포맷을 변환하는 과정에 따른 연산량을 감소할 수 있는 미디어 서버와 단말기 및 그를 이용하는 미디어 데이터 제공 방법에 관한 것이다. 본 발명에 따른 미디어 서버는 미디어 데이터를 분할한 미디어 데이터 블록을 저장하고, 외부 장치로부터 요청된 포맷의 미디어 데이터 블록이 존재하지 않는 부분에 대해서만 미디어 데이터의 포맷을 변환함으로써 포맷 변환에 따른 연산량을 감소하고, 효율적으로 미디어 데이터를 제공할 수 있다.The present invention relates to a media server, and more particularly, to a media server, a terminal, and a media data providing method using the media server, which can reduce the amount of calculation according to a format conversion process in order to provide media data in a format requested by an external device will be. The media server according to the present invention stores the media data block in which the media data is divided and converts the format of the media data only for the portion where the media data block of the requested format does not exist from the external device, And can efficiently provide the media data.
미디어 서버, 미디어 데이터 블록, 포맷 변환 Media server, media data block, format conversion
Description
도 1은 본 발명의 일실시예에 따른 미디어 서버의 블록도,1 is a block diagram of a media server according to an embodiment of the present invention;
도 2는 본 발명의 일실시예에 따른 단말기의 블록도,2 is a block diagram of a terminal according to an embodiment of the present invention;
도 3은 본 발명의 일실시예에 따른 미디어 제공 방법을 나타낸 흐름도, FIG. 3 is a flowchart illustrating a media providing method according to an exemplary embodiment of the present invention.
도 4는 본 발명의 일실시예에 따른 미디어 서버의 메모리 관리 방법을 나타낸 흐름도, 및4 is a flowchart illustrating a memory management method of a media server according to an embodiment of the present invention; and
도 5는 본 발명의 일실시예에 따른 미디어 제공 방법에 따라 미디어 데이터를 변환하는 방법을 나타낸 도면이다.5 is a diagram illustrating a method of converting media data according to a media providing method according to an embodiment of the present invention.
본 발명은 외부 장치로부터 특정 포맷의 미디어 데이터에 대한 요청을 수신한 경우, 상기 요청된 포맷의 미디어 데이터를 전송하는데 따른 연산량을 줄일 수 있는 미디어 서버와 단말기 및 그를 이용하는 미디어 데이터 제공 방법에 관한 것이다.The present invention relates to a media server, a terminal, and a media data providing method using the media server, which can reduce the amount of computation for transferring media data of the requested format when receiving a request for media data of a specific format from an external device.
범용 플러그 앤 플레이(Universal Plug and Play)와 같은 통신 환경에서 미 디어 서버는 데이터를 제공하는 중심적인 역할을 담당한다. 특히, 미디어 서버에 접속하는 외부 장치의 범위가 개인용 컴퓨터에서 이동통신 단말기, PDA 등과 같은 휴대 기기로 넓어짐에 따라 미디어 서버가 부담하는 연산량은 점점 더 증가하는 추세이다.In a communication environment such as Universal Plug and Play, a media server plays a central role in providing data. Particularly, as the range of an external device connecting to a media server is expanded from a personal computer to a portable device such as a mobile communication terminal, a PDA, etc., the amount of computation burdened by the media server is increasing.
미디어 서버는 미디어 데이터를 저장하고, 외부 장치로부터 요청이 있을 경우 상기 요청된 미디어 데이터를 특정한 포맷의 형태로 전송한다. 상기 포맷은 동영상의 경우 MPEG-2, MPEG-4 등이 가능하며, 오디오의 경우 mp3, wav 등이 가능하다. 미디어 서버에 접속하는 외부 장치는 각각 지원할 수 있는 미디어 데이터 포맷이 한정되어 있기 때문에, 미디어 서버는 원칙적으로 모든 포맷의 미디어 데이터를 제공할 수 있어야 한다.The media server stores media data and transmits the requested media data in the form of a specific format when there is a request from an external device. The format may be MPEG-2 or MPEG-4 in the case of moving pictures, and mp3 or wav in the case of audio. Since the media data formats that can be supported by each external device connected to the media server are limited, the media server must be able to provide media data in all formats in principle.
일반적으로 미디어 서버는 몇몇 특정한 포맷의 미디어 데이터를 저장하고, 외부 장치로부터 요청된 포맷의 미디어 데이터가 없는 경우에는 포맷을 변환하는 트랜스코딩 과정을 거쳐 상기 요청된 포맷의 미디어 데이터를 제공한다. 하지만 이 경우 트랜스코딩에 따르는 연산량에 따라 서버의 동작이 지연될 수 있다. 특히 동시에 다수의 외부 장치로부터 미디어 데이터에 대한 요청이 있을 경우 서버의 연산량 부담이 가중된다.Generally, a media server stores media data of some specific format, and provides media data of the requested format through a transcoding process of converting a format if there is no media data of a requested format from an external device. However, in this case, the operation of the server may be delayed depending on the amount of calculation according to the transcoding. In particular, when there is a request for media data from a plurality of external devices at the same time, the computational burden of the server is increased.
한편, 미디어 서버는 모든 포맷의 미디어 데이터를 저장하고 외부 장치가 요청한 포맷의 미디어 데이터를 검색하여 전송하는 방식으로 미디어 데이터를 제공할 수도 있다. 하지만 이와 같은 방법은 서버의 충분한 저장 공간 및 초기 준비 시간을 요구한다.Meanwhile, the media server may store media data of all formats, and may provide media data by searching for media data in a format requested by an external device and transmitting the media data. However, this method requires sufficient storage space and initial preparation time of the server.
따라서, 본 발명의 목적은, 미디어 서버가 미디어 데이터의 포맷을 변환하는 과정에 필요한 연산량을 감소함으로써, 외부 장치로부터 요청되는 포맷의 미디어 데이터를 효율적으로 제공할 수 있는 미디어 서버와 단말기 및 그를 이용하는 미디어 데이터 제공 방법을 제안하는 데 있다.Accordingly, it is an object of the present invention to provide a media server and a terminal capable of effectively providing media data of a format requested from an external device by reducing a computation amount required for a process of converting a format of media data, And a method of providing data.
상기 목적을 달성하기 위해 본 발명에 따른 미디어 서버는, 미디어 데이터 블록을 저장하는 메모리, 상기 요청된 포맷을 가지는 미디어 데이터 블록을 상기 저장부에서 검색하는 메모리제어부, 상기 요청된 미디어 데이터 중 상기 저장부에 존재하지 않는 부분을 상기 요청된 포맷으로 변환하는 트랜스코딩부, 및 상기 검색된 미디어 데이터 블록과 상기 변환된 데이터를 이용하여 데이터 스트림을 생성하는 스트림생성부를 포함한다.According to another aspect of the present invention, there is provided a media server comprising: a memory for storing a media data block; a memory controller for searching for a media data block having the requested format in the storage; And a stream generating unit for generating a data stream using the retrieved media data block and the converted data.
또한, 본 발명에 따른 단말기는, 미디어 파일 중 특정 구간에 대한 미디어 데이터의 전송을 미디어 서버로 요청하고, 상기 미디어 서버로부터 상기 미디어 데이터를 실시간 전송받는 데이터 송수신부, 및 상기 전송된 미디어 데이터를 재생하는 재생부를 포함한다.According to another aspect of the present invention, there is provided a terminal comprising: a data transmitting and receiving unit for requesting a media server to transmit media data for a specific section of a media file and receiving the media data in real time from the media server; .
또한, 본 발명에 따른 미디어 데이터 제공 방법은, 외부 장치로부터 요청된 포맷을 가지는 미디어 데이터 블록을 저장부에서 검색하는 단계, 상기 요청된 미디어 데이터 중 상기 저장부에 존재하지 않는 부분을 상기 요청된 포맷으로 변환하는 단계, 및 상기 검색된 미디어 데이터 블록과 상기 변환된 데이터를 이용하여 데이 터 스트림을 생성하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of providing media data, the method comprising: retrieving a media data block having a format requested from an external device in a storage unit; , And generating a data stream using the retrieved media data block and the transformed data.
또한, 본 발명에 따르면, 상기 미디어 데이터 제공 방법을 컴퓨터에서 실행하기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.According to another aspect of the present invention, there is provided a computer-readable recording medium storing a program for executing the method of providing media data in a computer.
또한, 본 발명에 따르면, 상기 미디어 서버가 제공하는 미디어 데이터에 대한 정보를 포함하는 데이터 필드를 기록한 컴퓨터로 읽을 수 있는 기록 매체가 제공된다.According to another aspect of the present invention, there is provided a computer-readable recording medium recording a data field including information on media data provided by the media server.
이하, 본 발명에 따른 미디어 서버와 단말기 및 미디어 데이터 제공 방법의 바람직한 실시예에 대해 도 1 내지 도 5를 참조하여 설명하기로 한다.Hereinafter, preferred embodiments of a media server, a terminal, and a media data providing method according to the present invention will be described with reference to FIGS. 1 to 5. FIG.
도 1은 본 발명의 일실시예에 따른 미디어 서버의 블록도이다. 도 1을 참조하면, 본 발명에 따른 미디어 서버(100)는 미디어 데이터 블록을 저장하는 메모리(110), 상기 메모리(110)에 저장된 미디어 데이터 블록을 관리하는 메모리제어부(120), 데이터 스트림을 생성하는 스트림생성부(130), 미디어 데이터의 포맷을 변환하는 트랜스코딩부(140), 및 외부 장치에 미디어 데이터를 전송하는 데이터 송수신부(150)를 포함한다.1 is a block diagram of a media server according to an embodiment of the present invention. Referring to FIG. 1, a
상기 외부 장치는 미디어 서버(100)에 특정 포맷의 미디어 데이터를 요청하고 상기 포맷의 미디어 데이터를 수신하여 재생할 수 있는 모든 장치가 가능하며, 일실시예로 이동통신 단말기, 또는 PDA와 같이 휴대 가능한 장치일 수 있다. 상기 미디어 서버(100)는 데이터 송수신부(150)를 통해 외부 장치로부터 특정 포맷의 미디어 데이터에 대한 요청 신호를 수신한다.The external device may be any device capable of requesting media data of a specific format to the
상기 미디어 데이터 요청 신호를 수신한 스트림생성부(130)는 상기 메모리 제어부(120)에 미디어 데이터 블록에 대한 검색 명령을 전달한다. 상기 검색 명령을 전달받은 메모리 제어부(120)는 상기 외부 장치가 요청한 포맷의 미디어 데이터 블록이 메모리(110)에 저장되어 있는지 검색한다. 상기 검색 결과, 상기 포맷의 미디어 데이터 블록이 존재하면 메모리 제어부(120)는 상기 미디어 데이터 블록을 메모리(110)에서 인출하여 스트림생성부(130)로 전송한다.The
상기 미디어 데이터 블록은 미디어 서버(100)가 저장하는 미디어 데이터를 블록 단위로 분할한 미디어 데이터로서, 일실시예로 상기 블록은 미디어 데이터를 시간으로 분할하는 프레임 단위일 수 있다.The media data block is media data obtained by dividing media data stored in the
표 1을 참조하면, 상기 메모리(110)는 상기 미디어 데이터 블록의 파일 정보, 포맷 정보, 식별 정보, 가중치 정보 및 원본 미디어 파일 정보 중 적어도 하나를 저장할 수 있으며, 상기 식별 정보는 상기 미디어 데이터 블록의 시간 구간에 대한 정보로서, 미디어 데이터 전체에서 상기 블록이 해당하는 위치를 나타낼 수 있다. 메모리 제어부(120)는 미디어 데이터 블록을 인출하여 스트림생성부(130)로 전송하는 경우, 메모리(110)가 저장한 상기 정보를 미디어 데이터 블록과 함께 스트림생성부(130)로 전송한다.Referring to Table 1, the
스트림생성부(130)는 상기 메모리 제어부(120)로부터 수신한 미디어 데이터 블록을 상기 요청된 미디어 데이터와 비교하여, 상기 미디어 데이터 블록이 요청된 미디어 데이터 전체에 대한 것인지 판단한다. 상기 비교 결과, 상기 미디어 데이터 블록이 요청된 미디어 데이터 전체에 대한 것이면, 스트림생성부(130)는 상기 미디어 데이터 블록을 이용하여 요청된 미디어 데이터에 대한 데이터 스트림을 생성한다. 스트림생성부(130)는 상기 데이터 스트림을 데이터 송수신부(150)를 통해 외부 장치로 전송한다.The
상기 비교 결과, 상기 미디어 데이터 블록이 요청된 미디어 데이터의 일부에 대한 것이면, 트랜스코딩부(140)는 상기 요청된 미디어 데이터 중 상기 미디어 데이터 블록으로 존재하지 않는 부분을 상기 스트림생성부(130)로부터 수신하여 상기 요청된 포맷으로 변환한다.If it is determined that the media data block is a part of the requested media data, the
상기 트랜스코딩부(140)는 상기 포맷으로 변환한 미디어 데이터 부분을 스트림생성부(130)로 전송한다. 상기 스트림생성부(130)는 트랜스코딩부(140)가 변환한 미디어 데이터 부분과 메모리 제어부(120)로부터 수신한 미디어 데이터 블록을 이용하여 외부 장치가 요청한 미디어 데이터의 데이터 스트림을 생성한다. 상기 데이터 스트림은 데이터 송수신부(150)를 통해 외부 장치로 전송된다.The
도 2는 본 발명의 일실시예에 따른 단말기의 블록도이다. 도 2를 참조하면, 본 발명에 따른 단말기(200)는 미디어 서버(100)에 미디어 데이터를 요청하고, 상기 요청한 미디어 데이터를 수신하는 데이터 송수신부(210), 미디어 데이터 요청 명령을 입력하는 입력부(220), 상기 미디어 서버(100)로부터 수신한 미디어 데이터를 재생하는 재생부(230), 및 상기 데이터 요청 명령을 데이터 송수신부(210)에 전달하고, 수신한 미디어 데이터를 상기 재생부(230)에 전송하는 제어부(240)를 포함한다. 본 발명의 일실시예에 따르면, 상기 단말기(200)는 이동통신 단말기 또는 PDA일 수 있다.2 is a block diagram of a terminal according to an embodiment of the present invention. 2, the
사용자는 상기 단말기(200)의 입력부(220)를 통해 원하는 미디어 데이터를 입력한다. 상기 입력부(220)는 사용자가 입력한 명령을 제어부(240)에 전송하고, 제어부(240)는 상기 입력부(220)로부터 수신한 명령을 분석하여 데이터 송수신부(210)로 전송한다.The user inputs desired media data through the
상기 데이터 송수신부(210)는 상기 명령에 따라 미디어 서버(100)에 미디어 데이터 전송을 요청한다. 상기 미디어 데이터 요청시, 제어부(240)는 상기 재생부(230)에서 재생할 수 있는 미디어 데이터의 포맷을 분석하여, 상기 포맷에 대한 정보를 미디어 서버(100)에 함께 전송한다. 한편, 데이터 송수신부(210)는 제어부(240)의 명령에 따라 전체 미디어 파일 중 특정 구간에 대한 미디어 데이터의 전송을 요청할 수 있다. 상기 특정 구간의 미디어 데이터는 미디어 파일을 소정의 시간 단위로 분할한 미디어 데이터 블록을 포함할 수 있다.The data transmission /
미디어 서버(100)는 상기 단말기(200)로부터 수신한 정보를 바탕으로 요청된 포맷의 미디어 데이터를 상기 단말기(200)로 전송한다. 상기 전송된 미디어 데이터는 상기 미디어 데이터 블록의 포맷 정보, 식별 정보, 원본 미디어 파일 정보 및 상기 미디어 데이터 블록이 속하는 미디어 파일 정보 중 적어도 하나를 포함할 수 있다. The
데이터 송수신부(210)는 미디어 서버(100)가 전송한 상기 미디어 데이터를 실시간으로 수신하여 상기 제어부(240)로 전송한다. 제어부(240)는 상기 전송받은 미디어 데이터를 재생부(230)로 보내고, 상기 재생부(230)는 상기 미디어 데이터를 전송받아 실시간으로 재생하여 사용자에게 출력한다.The data transmitting and receiving
도 3은 본 발명의 일실시예에 따른 미디어 데이터 제공 방법을 나타낸 흐름도이다. 도 3을 참조하면, 본 발명에 따른 미디어 데이터 제공 방법은 외부 장치에서 미디어 서버(100)로 특정 포맷의 미디어 데이터를 요청하는 것으로 시작된다(S300). 일실시예로, 상기 외부 장치는 휴대 가능한 단말기(200)일 수 있다.3 is a flowchart illustrating a media data providing method according to an embodiment of the present invention. Referring to FIG. 3, the method of providing media data according to the present invention starts with requesting media data of a specific format from the external device to the media server 100 (S300). In one embodiment, the external device may be a
상기 미디어 서버(100)의 데이터 송수신부(150)가 외부 장치로부터 미디어 데이터 요청 신호를 수신하면, 메모리 제어부(120)는 상기 미디어 서버(100)의 메모리(110)에 상기 요청된 포맷의 미디어 데이터 블록이 저장되어 있는지 검색한다(S310). 상기 미디어 데이터 블록은 미디어 서버(100)가 저장하는 미디어 데이터를 블록 단위로 분할한 미디어 데이터로서, 일실시예로 상기 블록은 미디어 데이터를 시간으로 분할하는 프레임 단위일 수 있다.When the data transmission /
상기 S310 단계의 검색 과정을 통해 상기 메모리 제어부(120)는 메모리(110)에 상기 요청된 포맷의 미디어 데이터 블록이 저장되어 있는지 여부를 판단한다(S320). 상기 S320 단계의 판단 결과, 상기 요청된 포맷의 미디어 데이터 블록이 메모리(110)에 존재하지 않으면, 스트림생성부(130)는 트랜스코딩부(140)에 상기 요청된 포맷으로 미디어 데이터를 변환하는 명령을 전송한다.In operation S320, the
상기 변환 명령에 따라 트랜스코딩부(140)는 외부 장치가 요청한 포맷으로 미디어 데이터를 변환하고(S330), 변환된 미디어 데이터를 스트림생성부(130)로 전송한다. 스트림생성부(130)는 상기 변환된 미디어 데이터에 대해 데이터 스트림을 생성하고(S360), 상기 데이터 스트림을 외부 장치로 전송한다(S380).In accordance with the conversion command, the
상기 S320 단계의 판단 결과, 상기 요청된 포맷의 미디어 데이터 블록이 존재하면, 메모리 제어부(120)는 메모리(110)에서 상기 포맷의 미디어 데이터 블록을 인출한다(S340). If it is determined in step S320 that the media data block of the requested format exists, the
상기 메모리(110)는 상기 미디어 데이터 블록의 파일 정보, 포맷 정보, 식별 정보, 가중치 정보 및 원본 미디어 파일 정보 중 적어도 하나를 저장할 수 있다. 상기 S340 단계에서 메모리 제어부(120)는 상기 정보를 메모리(110)에서 미디어 데이터 블록과 함께 인출하여, 스트림생성부(130)로 전송한다.The
스트림생성부(130)는 상기 메모리 제어부(120)가 인출한 미디어 데이터 블록을 외부 장치가 요청한 미디어 데이터와 비교하여, 상기 미디어 데이터 블록이 요청된 미디어 데이터 전체에 대한 것인지를 판단한다(S350).The
상기 S350 단계의 판단 결과, 상기 미디어 데이터 블록이 외부 장치가 요청한 미디어 데이터 전체에 대한 것이면, 스트림생성부(130)는 상기 미디어 데이트 블록을 이용하여 요청된 미디어 데이터에 대한 데이터 스트림을 생성한다(S360). 스트림생성부(130)는 상기 데이터 스트림을 데이터 송수신부(210)를 통해 외부 장치로 전송한다(S380).If it is determined in step S350 that the media data block is the entire media data requested by the external device, the
상기 S350 단계의 판단 결과, 상기 미디어 데이터 블록이 외부 장치가 요청한 미디어 데이터의 일부에 대한 것이면, 스트림생성부(130)는 상기 미디어 데이터 블록이 존재하지 않는 부분의 미디어 데이터에 대한 포맷 변환을 트랜스코딩부(140)에 요청한다. 상기 요청에 따라 트랜스코딩부(140)는 상기 미디어 데이터 블록이 존재하지 않는 부분의 미디어 데이터를 상기 외부 장치가 요청한 포맷으로 변환한다(S370).If it is determined in step S350 that the media data block is a part of the media data requested by the external device, the
트랜스코딩부(140)는 상기 변환한 미디어 데이터 부분을 스트림생성부(130)로 전송하고, 스트림생성부(130)는 상기 전송받은 미디어 데이터 부분과 메모리(110)에서 인출한 미디어 데이터 블록을 이용하여 외부 장치가 요청한 미디어 데이터에 대한 데이터 스트림을 생성한다(S370).The
일실시예로 상기 S370 단계의 데이터 스트림 생성 단계는 다음과 같다. 전체 5분의 재생 시간을 갖는 미디어 데이터에 대해 1분부터 2분까지의 데이터를 메모리(110)에서 인출한 미디어 데이터 블록이 저장한다고 가정해보자. 이 경우, 스트림생성부(130)는 미디어 데이터 블록에 저장되지 않은 시작부터 1분까지의 미디어 데이터 부분 및 2분부터 5분까지의 미디어 데이터 부분에 대한 포맷 변환을 상기 트랜스코딩부(140)에 요청한다.In one embodiment, the data stream generation step of step S370 is as follows. Assume that a media data block fetched from the
트랜스코딩부(140)는 상기 스트림생성부(130)의 요청에 따라 미디어 데이터의 일부분에 대한 포맷을 변환하고, 변환된 미디어 데이터 부분을 스트림생성부(130)에 전송한다. 스트림생성부(130)는 상기 1분부터 2분까지의 미디어 데이터 블록, 포맷이 변환된 시작부터 1분까지의 미디어 데이터 부분 및 2분부터 5분까지의 미디어 데이터 부분을 합쳐서 미디어 데이터 전체에 대한 데이터 스트림을 생성한다. 스트림생성부(130)는 상기 생성한 데이터 스트림을 데이터 송수신부(210)를 통해 외부 장치로 전송한다(S380).The
도 4는 본 발명의 일실시예에 따른 미디어 서버(100)의 메모리(110) 관리 방법을 나타낸 흐름도이다. 도 4를 참조하면, 본 발명에 따른 미디어 서버(100)의 메모리(110) 관리 방법은 미디어 서버(100)의 트랜스코딩부(140)가 외부 장치에 의해 요청된 포맷으로 미디어 데이터를 변환하는 것으로 시작된다(S400). 일실시예로, 상기 외부 장치는 휴대 가능한 단말기(200)일 수 있다.4 is a flowchart illustrating a method of managing a
상기 S400 단계의 변환 결과, 상기 미디어 서버(100)에 저장되지 않은 미디어 데이터가 생성되면, 메모리 제어부(120)는 상기 변환된 미디어 데이터를 메모리(110)에 업데이트해야 하는지 여부를 판단한다(S410). 상기 S410 단계의 판단 결과, 상기 변환된 미디어 데이터를 업데이트하지 않아도 되는 경우에는 별다른 동작 없이 메모리(110) 관리 작업을 종료한다.As a result of the conversion in step S400, if media data that is not stored in the
상기 S410 단계의 판단 결과, 상기 변환된 미디어 데이터를 업데이트해야 하는 경우, 메모리 제어부(120)는 상기 메모리(110)에 업데이트 할 수 있는 저장 공간이 존재하는지 여부를 판단한다(S420). 상기 S420 단계의 판단 결과 메모리(110)에 업데이트 할 수 있는 저장 공간이 존재하면, 상기 메모리 제어부(120)는 상기 변환된 미디어 데이터를 메모리(110)에 저장한다. 일실시예로, 상기 미디어 데이터는 프레임 단위로 분할되어 미디어 데이터 블록으로 저장될 수 있다.If it is determined in step S410 that the converted media data needs to be updated, the
상기 S420 단계의 판단 결과 메모리(110)에 업데이트 할 수 있는 저장 공간이 존재하지 않거나 업데이트해야 하는 메모리 데이터에 대해 남은 저장 공간이 부족하면, 메모리 제어부(120)는 상기 메모리(110)에 저장되어 있는 미디어 데이터 블록에 대한 가중치를 계산한다(S430). 일실시예로, 상기 가중치는 메모리(110)에 저장된 미디어 데이터 블록에 대한 메타데이터에 포함된 미디어 데이터 블록의 저장 시점 및 요청 빈도로부터 계산될 수 있다.If it is determined in step S420 that there is no storage space available for updating in the
상기 메모리(110)에 저장된 미디어 데이터 블록에 대한 가중치를 계산한 후, 메모리 제어부(120)는 업데이트에 필요한 저장 공간을 확보하기 위해 상기 가중치가 낮은 순서대로 미디어 데이터 블록을 삭제한다(S440). 상기 미디어 데이터 블록 삭제는 업데이트에 필요한 저장 공간만큼 실행될 수 있다.After calculating the weights for the media data blocks stored in the
상기 S440 단계에서 저장 공간을 확보하면, 메모리 제어부(120)는 상기 업데이트하고자 하는 미디어 데이터를 블록으로 분할하여 메모리(110)에 저장함으로써, 업데이트 작업을 완료한다(S450).If the storage space is secured in step S440, the
도 5는 본 발명의 일실시예에 따른 미디어 제공 방법에 따라 미디어 데이터를 변환하는 방법을 나타낸 도면이다. 도 5의 (a)는 외부 장치의 요청에 따라 포맷이 변환되기 이전의 원본 파일을 나타낸다. 일실시예로, 상기 원본 파일은 mpeg4 형식에 의한 동영상 파일이고, 외부 장치가 요청한 포맷은 mpeg2 인 경우를 가정한다.5 is a diagram illustrating a method of converting media data according to a media providing method according to an embodiment of the present invention. 5A shows an original file before the format is converted according to a request from an external device. In one embodiment, it is assumed that the original file is a moving picture file of the mpeg4 format, and the format requested by the external apparatus is mpeg2.
도 5의 (b)는 미디어 서버(100)의 트랜스코딩부(140)에 의해 포맷이 변환된 파일을 나타낸다. 도 5의 (b)를 참조하면 파일 전체가 아닌 일부분(510, 520)에 대해서 포맷 변환이 이루어진 것을 알 수 있는데, 이는 외부 장치가 미디어 데이터의 일부분(510, 520)만을 요청했기 때문이다. 일실시예로, 트랜스코딩부(140)는 외부 장치가 요청한 미디어 데이터의 일부분(510, 520)의 포맷을 mpeg2로 변환하여 스트림생성부(130)로 전송한다. 스트림생성부(130)는 상기 변환된 미디어 데이터를 수신하여 데이터 스트림을 생성하고, 데이터 송수신부(150)를 통해 상기 데이터 스트림을 외부 장치로 전송한다.FIG. 5B shows a file whose format has been converted by the
도 5의 (c)는 도 5의 (b)에서 변환된 미디어 데이터를 분할하여 메모리(110)에 저장하는 블록을 나타낸 도면이다. 도 5의 (b)와 (c)를 비교하면, 외부 장치의 요청에 의해 실제로 포맷이 변환된 부분(510, 520)과 미디어 서버(100)의 메모리(110)에 저장되는 미디어 데이터 블록(530~550)이 일치하지 않는다. 이는 외부 장치가 실제로 요청한 미디어 데이터 부분과 메모리(110)에 저장된 미디어 데이터 블록의 경계가 일치하지 않기 때문이며, 메모리 제어부(120)는 외부 장치가 요청한 미디어 데이터 부분의 크기에 관계없이 미디어 데이터를 블록으로 분할하여 메모리(110)에 저장한다.FIG. 5C is a block diagram showing a block that divides the converted media data in FIG. 5B and stores the divided media data in the
도 5의 (d)는 메모리(110)에 저장되어 있는 미디어 데이터 블록(530~550)과 실시간으로 트랜스코딩부(140)에서 변환한 미디어 데이터 부분을 이용하여 외부 장치가 요청한 미디어 데이터의 데이터 스트림을 생성하는 과정을 나타낸 도면이다. 도 5의 (d)에서 음영으로 표시된 부분(530~550)은 메모리(110)에 저장되어 있는 미디어 데이터 블록으로, 외부 장치가 미디어 데이터를 요청한 경우 별도의 포맷 변환 작업 없이 메모리(110)에서 인출할 수 있는 부분이다. 메모리(110)에 저장되어 있는 블록(530~550)을 제외한 나머지 부분은 트랜스코딩부(140)에서 실시간으로 포맷이 변환되며, 실시간으로 변환된 미디어 데이터 부분(550~590)은 메모리(110)로 전송되어 새로운 미디어 데이터 블록으로 저장된다.5D shows a data stream of the media data requested by the external device using the media data blocks 530 to 550 stored in the
상기한 본 발명에 따른 미디어 데이터 제공 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있다. 또한, 상기 미디어 서버가 제공하는 미디어 데이터에 대한 정보를 포함하는 데이터 필드는 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 저장 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 사용자 추적 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The method of providing media data according to the present invention may be stored in a computer-readable recording medium that is manufactured as a program to be executed by a computer. In addition, a data field including information on media data provided by the media server may be stored in a computer-readable recording medium. The computer-readable recording medium includes all kinds of storage devices in which data that can be read by a computer system is stored. Examples of the computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like, and may be implemented in the form of a carrier wave (for example, transmission via the Internet) . The computer readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. Functional programs, codes, and code segments for implementing the user tracking method can be easily inferred by programmers of the art to which the present invention pertains.
이상 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.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, It will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention.
상기한 바와 같이 본 발명은 미디어 서버에서 외부 장치의 요청에 의해 미리 저장되지 않은 포맷의 미디어 데이터를 제공해야 하는 경우, 상기 포맷의 변환 과정에서 별도의 메모리에 저장된 미디어 데이터 블록을 이용하여 데이터 스트림을 생성함으로써, 미디어 서버가 부담하는 연산량을 감소할 수 있는 효과가 있다.As described above, according to the present invention, when a media server needs to provide media data in a format that is not previously stored in response to a request from an external device, a media data block stored in a separate memory in the format conversion process There is an effect that the amount of computation burdened by the media server can be reduced.
또한, 상기 미디어 서버는 외부 장치로부터 요청되는 빈도 및 저장 시점을 기준으로 상기 미디어 데이터 블록의 가중치를 계산하여, 상기 메모리의 저장 용량이 부족한 경우 상기 가중치에 따라 미디어 데이터 블록을 삭제하고 최근에 포맷이 변환된 미디어 데이터 블록을 업데이트함으로써, 미디어 서버의 서비스 제공에 있어서 효율성을 증가할 수 있는 효과가 있다.The media server calculates a weight of the media data block based on the frequency and storage time requested from the external device, deletes the media data block according to the weight when the storage capacity of the memory is insufficient, By updating the converted media data block, the efficiency of service provision of the media server can be increased.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070089497A KR101402155B1 (en) | 2007-09-04 | 2007-09-04 | Media server, communication terminal and its using method for serving media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070089497A KR101402155B1 (en) | 2007-09-04 | 2007-09-04 | Media server, communication terminal and its using method for serving media |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090024459A KR20090024459A (en) | 2009-03-09 |
KR101402155B1 true KR101402155B1 (en) | 2014-05-30 |
Family
ID=40693319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070089497A KR101402155B1 (en) | 2007-09-04 | 2007-09-04 | Media server, communication terminal and its using method for serving media |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101402155B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030093942A (en) * | 2002-05-31 | 2003-12-11 | 삼성전자주식회사 | Integrated home network system for multimedia service and integrated terminal therefor and additional service system and method using the system |
KR100674085B1 (en) * | 2004-12-13 | 2007-01-24 | 한국전자통신연구원 | Apparatus and Method for Transcoding of Media format and Translating of the Transport Protocol in home network |
-
2007
- 2007-09-04 KR KR1020070089497A patent/KR101402155B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030093942A (en) * | 2002-05-31 | 2003-12-11 | 삼성전자주식회사 | Integrated home network system for multimedia service and integrated terminal therefor and additional service system and method using the system |
KR100674085B1 (en) * | 2004-12-13 | 2007-01-24 | 한국전자통신연구원 | Apparatus and Method for Transcoding of Media format and Translating of the Transport Protocol in home network |
Also Published As
Publication number | Publication date |
---|---|
KR20090024459A (en) | 2009-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6999594B2 (en) | Video playback method and equipment | |
KR100908954B1 (en) | Method and apparatus for transmitting audio or video material | |
KR101139001B1 (en) | Apparatus and method for providing contents | |
EP3402170A1 (en) | Method and system for image upload and image sharing via a communincations network | |
US20020133486A1 (en) | Video retrieval and browsing apparatus, video retrieval, browsing and editing apparatus, and recording medium | |
US11564010B2 (en) | Systems and methods for applying behavioral-based parental controls for media assets | |
KR101063044B1 (en) | Storage device for storing different data formats | |
KR102172149B1 (en) | Method for playing contents, method for providing dialogue section data and device for playing video contents | |
US8582411B2 (en) | Apparatus and method for information processing | |
KR102602698B1 (en) | Method and device for synchronizing video and a light stick | |
KR101402155B1 (en) | Media server, communication terminal and its using method for serving media | |
JP2009225116A (en) | Video recording device with network transmission function | |
JP2006074391A (en) | File recording method and recorder | |
JP4952348B2 (en) | Content recommendation device and content recommendation program | |
JP2007026329A (en) | Content transmitting and receiving system | |
JP5308946B2 (en) | Data providing apparatus, data providing method, data providing program, and data providing system | |
JPWO2014065165A1 (en) | Information processing apparatus, information processing method, program, and information processing system | |
KR100896335B1 (en) | System and Method for managing and detecting duplicate movie files based on audio contents | |
JP2006139682A (en) | Video search system, video search method, and program | |
TW201234289A (en) | Autonomous intelligent content items | |
KR101512890B1 (en) | Media scene playing system, method and recording medium thereof | |
KR101272876B1 (en) | Media Streaming Server and Method for Managing Media Data in the Server | |
JP2006195807A (en) | Image search system, image search method, and program | |
JP7051262B2 (en) | Media content reuse methods and systems based on user usage patterns | |
JP6963835B2 (en) | Playback control device, playback control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20170414 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |