KR20070056895A - Apparatus for reproducing data and method therefor - Google Patents

Apparatus for reproducing data and method therefor Download PDF

Info

Publication number
KR20070056895A
KR20070056895A KR1020060026474A KR20060026474A KR20070056895A KR 20070056895 A KR20070056895 A KR 20070056895A KR 1020060026474 A KR1020060026474 A KR 1020060026474A KR 20060026474 A KR20060026474 A KR 20060026474A KR 20070056895 A KR20070056895 A KR 20070056895A
Authority
KR
South Korea
Prior art keywords
packet
data
time information
packets
output
Prior art date
Application number
KR1020060026474A
Other languages
Korean (ko)
Other versions
KR100739802B1 (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 삼성전자주식회사
Publication of KR20070056895A publication Critical patent/KR20070056895A/en
Application granted granted Critical
Publication of KR100739802B1 publication Critical patent/KR100739802B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21DWORKING OR PROCESSING OF SHEET METAL OR METAL TUBES, RODS OR PROFILES WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21D7/00Bending rods, profiles, or tubes
    • B21D7/08Bending rods, profiles, or tubes by passing between rollers or through a curved die
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21CMANUFACTURE OF METAL SHEETS, WIRE, RODS, TUBES OR PROFILES, OTHERWISE THAN BY ROLLING; AUXILIARY OPERATIONS USED IN CONNECTION WITH METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL
    • B21C37/00Manufacture of metal sheets, bars, wire, tubes or like semi-manufactured products, not otherwise provided for; Manufacture of tubes of special shape
    • B21C37/06Manufacture of metal sheets, bars, wire, tubes or like semi-manufactured products, not otherwise provided for; Manufacture of tubes of special shape of tubes or metal hoses; Combined procedures for making tubes, e.g. for making multi-wall tubes
    • B21C37/15Making tubes of special shape; Making tube fittings
    • B21C37/155Making tubes with non circular section
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21DWORKING OR PROCESSING OF SHEET METAL OR METAL TUBES, RODS OR PROFILES WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21D15/00Corrugating tubes
    • B21D15/02Corrugating tubes longitudinally
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B21MECHANICAL METAL-WORKING WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21DWORKING OR PROCESSING OF SHEET METAL OR METAL TUBES, RODS OR PROFILES WITHOUT ESSENTIALLY REMOVING MATERIAL; PUNCHING METAL
    • B21D17/00Forming single grooves in sheet metal or tubular or hollow articles
    • B21D17/04Forming single grooves in sheet metal or tubular or hollow articles by rolling

Abstract

An apparatus and a method for reproducing data are provided to maintain a transmission time of an image and reproduce a natural image even in case of AV(Audio and Visual) data in which time information is added only to a part of packets such as MPEG(Moving Picture Experts Group)2-TS(Transport Stream) packets. A data reading part(206) reads AV data. A timing control part(208) outputs a time information packet on a basis of time information if a packet of the read AV data is the time information packet to which the time information is added. The timing control part outputs a general packet with a predetermined time interval from an output time of the time information packet if the packet of the read AV data is not the time information packet. An interval calculating part(210) calculates the predetermined time interval by using a difference of two times respectively corresponding to two time information included in two continuous time information packets of the read AV data, and by using the number of general packets located between the two time information packets.

Description

데이터 재생 장치 및 방법{Apparatus for reproducing data and method therefor}[0001] Apparatus for reproducing data and method therefor [0002]

도 1은 본 발명의 일 실시예에 따른 데이터 재생 시스템의 접속 관계를 설명하기 위한 이미지도이다.1 is an image diagram for explaining a connection relationship of a data reproduction system according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 데이터 재생 시스템의 구성을 나타낸 블록도이다.2 is a block diagram showing a configuration of a data reproducing system according to an embodiment of the present invention.

도 3a 및 도 3b는 튜너로부터 출력되는 MPEG2-TS 형식의 패킷의 전송형태를 나타낸 설명도들이다.3A and 3B are explanatory diagrams showing transmission formats of MPEG2-TS format packets output from the tuner.

도 4는 본 발명의 일 실시예에 따른 데이터 재생 장치의 구성을 나타낸 블록도이다.4 is a block diagram showing a configuration of a data reproducing apparatus according to an embodiment of the present invention.

도 5는 데이터 저장부에 기억되는 AV 데이터의 데이터 기억 형식을 나타낸 설명도이다.5 is an explanatory view showing a data storage format of AV data stored in the data storage unit.

도 6은 본 발명의 일 실시예에 따른 타이밍 제어부의 구성을 나타낸 블록도이다.6 is a block diagram showing a configuration of a timing control unit according to an embodiment of the present invention.

도 7a 및 도 7b는 본 발명의 일 실시예에 따른 타이밍 변환부에 의한 패킷의 출력 타이밍을 설명하기 위한 타이밍 챠트이다.7A and 7B are timing charts for explaining the output timing of a packet by the timing conversion unit according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 소정의 시간 간격의 연산을 설명하기 위 한 데이터 버퍼의 저장 패킷을 나타낸 설명도이다.8 is an explanatory view showing a storage packet of a data buffer for explaining a calculation of a predetermined time interval according to an embodiment of the present invention.

도 9는 본 발명의 다른 일 실시예에 따른 데이터 재생 장치의 구성을 나타내는 블록도이다.9 is a block diagram showing a configuration of a data reproducing apparatus according to another embodiment of the present invention.

도 10은 본 발명의 일 실시예에 따른 데이터 재생 방법의 흐름을 나타낸 플로우 챠트이다.10 is a flowchart showing a flow of a data reproducing method according to an embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따른 데이터 재생 방법에서 출력 타이밍의 조정 방법의 흐름을 나타낸 플로우 챠트이다.11 is a flow chart showing a flow of a method of adjusting output timing in a data reproducing method according to an embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art

100: 데이터 재생 시스템 110: 안테나100: data reproducing system 110: antenna

120: 방송 수신기 130: TV 모니터120: broadcast receiver 130: TV monitor

140: HDD 리코더 150: TV 방송 타워140: HDD recorder 150: TV broadcast tower

201: AV 데이터 전체 패킷 202: 원하는 채널의 패킷201: AV data total packet 202: Packet of the desired channel

200, 300: 데이터 재생 장치200, 300: Data reproducing device

152: 동기 바이트 154: PID152: sync byte 154: PID

156: 패킷 본체156: Packet body

본 발명은 데이터의 재생에 관한 것으로서, 특히 AV 데이터의 패킷을 재생하는 데이터 재생 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to reproduction of data, and more particularly to a data reproducing apparatus and method for reproducing packets of AV data.

영상이나 음성의 AV(Audio and Visual)신호를 디지털화하고, 디지털 압축기술을 이용하여 영상의 데이터량을 삭감하는 디지털 영상 압축기술이 AV 신호의 방송이나 기억 매체로의 축적에 널리 사용되고 있다. 이러한 디지털 영상압축기술을 이용한 예로는, BS(Broadcast Satellite) 디지털 방송이나 지상 디지털 방송, 또한 소위 DVD(Digital Versatile Disc)를 이용한 영상 소프트라는 것이 있다.Digital image compression techniques for digitizing video and audio AV (Audio and Visual) signals and reducing the amount of video data using digital compression techniques are widely used for broadcasting AV signals and for accumulating them in storage media. Examples of such digital image compression techniques include BS (Broadcast Satellite) digital broadcasting, terrestrial digital broadcasting, and image software using a so-called DVD (Digital Versatile Disc).

상기 디지털 영상압축기술의 대표적인 예로 MPEG-2(Motion Picture Experts Group-2)방식이 있다. 여기서, MPEG란, Motion Picture Experts Group에 의해 표준화된 데이터 압축방식의 총칭이다. 또한, 디지털 방송에서는 압축한 디지털 데이터의 전송방법으로 MPEG-TS(Transport Stream)형식이 이용되고 있다.A representative example of the digital image compression technique is MPEG-2 (Motion Picture Experts Group-2). Here, MPEG is a collective term for a data compression method standardized by the Motion Picture Experts Group. In digital broadcasting, MPEG-TS (Transport Stream) format is used as a transmission method of compressed digital data.

MPEG2-TS 형식에서는 압축한 영상이나 음성 데이터를, 예를 들어, 188바이트의 패킷으로 불리는 단위로 분할하고, 그 패킷(TS 패킷) 단위로 데이터 전송을 수행하고 있다. 이와 같이 데이터를 패킷화함으로써 복수 채널의 데이터를 다중화하여 전송하는 것이 쉬워진다.In the MPEG2-TS format, compressed video or audio data is divided into units called 188-byte packets, for example, and data transmission is performed in units of packets (TS packets). By packetizing data as described above, it becomes easy to multiplex and transmit data of a plurality of channels.

상기 MPEG-2 TS 형식의 방송을 기록하고, 또한 재생하는 데이터 재생 장치가 실용화되어 있다. 예를 들어, AV 신호로 입력된 188 바이트의 패킷을 NULL 패킷 데이터를 이용하여 패딩하면서 기억매체에 기억하고, MPEG 데이터의 경계와 디스크의 섹터 경계를 일치시키고, 파일 시스템 상에서도 영상의 진행을 인식하는 것이 가능한 기억장치가 개시되어 있다(예를 들어, 일본 특허 공개 2005-25929호 공보). 이러한 기술로는, 재생 시에 복잡한 디스크 액세스를 하는 일 없이 패킷을 독출하고, 재생처리를 수행하고 있다.A data reproducing apparatus for recording and reproducing a broadcast in the MPEG-2 TS format has been put to practical use. For example, a 188-byte packet input as an AV signal is stored in a storage medium while padding with NULL packet data, and the boundaries of the MPEG data and the sector boundaries of the disk are matched. (For example, Japanese Unexamined Patent Application Publication No. 2005-25929). With this technique, packets are read out without performing complicated disk access at the time of reproduction, and playback processing is performed.

이와 같이 AV 데이터를 분할한 188 바이트의 패킷을 파일에 대해 단순히 연속하여 기억하는 것은 디지털 방송의 수신기능을 가진 PC(Personal Computer) 등에서도 널리 이용되고 있다.It is widely used in a PC (Personal Computer) having a function of receiving a digital broadcast and the like to simply store the 188-byte packet obtained by dividing the AV data in succession with respect to the file.

또한, 소위 AV 기기에서는 MPEG2-TS 형식의 전체 패킷에 각 패킷의 전송시각을 나타내는 타임 스탬프를 부가하여 기억하고, 재생시에는 이 타임 스탬프를 이용하여 패킷의 출력 타이밍을 제어하고, 입력시와 동일한 패킷 간격으로 패킷을 출력하는 기술이 알려져 있다(예를 들어, 일본 특허 3119116호 공보). 이와 같은 기술에 의해 AV 기기의 내부의 패킷 전송의 조기도착 내지 지연으로 내부 버퍼의 넘침이나 고갈이 생기거나, 스트림 내의 시각정보가 어긋나는 것을 방지할 수 있다.In the so-called AV device, a time stamp indicating the transmission time of each packet is added to an entire packet of the MPEG2-TS format and stored, and at the time of reproduction, the output timing of the packet is controlled using this time stamp, A technique of outputting packets at intervals is known (for example, Japanese Patent No. 3119116). With this technique, it is possible to prevent overflow or exhaustion of the internal buffer due to early arrival or delay of packet transmission in the AV device, or to prevent time information in the stream from being shifted.

그러나, NULL 패킷을 삽입하고, MPEG 데이터의 경계와 디스크의 섹터 경계를 일치시키도록 기억하는 PC와, 전체 패킷의 전송 시각을 나타내는 타임 스탬프를 부가하여 기억하는 상기 AV 기기와 같은 데이터 재생 장치에서는 그 기억형태에 따라 이하의 문제가 생긴다.However, in a data reproducing apparatus such as a PC in which NULL packets are inserted, a PC in which the boundaries of the MPEG data and sector boundaries of the disc coincide with each other, and the AV apparatus which adds the time stamp indicating the transfer time of the entire packet and stores them, The following problems arise depending on the memory type.

즉, 데이터 재생 장치에서는 전체 패킷의 데이터에 타임 스탬프를 부가할 수 있는데 비해, PC에서는 하드웨어의 제한으로 타임스탬프를 부가도 관리도 할 수 없으므로, 데이터 재생 장치와 PC에서는 파일 형식이 달라지고, 데이터의 호환성이 없어진다. 이것은 PC와 데이터 재생 장치를 접속하고, 데이터 재생 장치를 PC의 주변 기기로 이용하는 경우에 특히 문제가 된다.In other words, in the data reproducing apparatus, time stamp can be added to the data of all packets. In contrast, in the PC, the time stamp can not be additionally managed due to the limitation of the hardware. Therefore, Compatibility is lost. This is a problem particularly when the PC and the data reproducing apparatus are connected and the data reproducing apparatus is used as a peripheral apparatus of the PC.

또한, PC에서 기억한 파일에는 출력 시각에 관한 정보가 전체 패킷에 부가되어 있지 않으므로, 패킷의 출력간격을 정확히 파악 또는 제어하는 것을 할 수 없 다. 따라서, PC에서 외부에는 패킷을 정확한 타이밍으로 출력할 수 없고, PC에서 데이터 재생 장치로의 데이터 전송은 어렵다. MPEG2-TS 패킷 중에는 다양한 시각정보가 포함되어 있는데, 패킷의 전송시각이 일단 어긋나면 시각정보가 의미를 갖게 못하게 되므로, PC에서 데이터 재생 장치로 데이터를 전송하는 경우에도 디코드 처리할 필요가 있다.In addition, since the information about the output time is not added to the entire packet in the file stored in the PC, the output interval of the packet can not be precisely grasped or controlled. Therefore, the PC can not output packets at the correct timing outside, and it is difficult to transfer data from the PC to the data reproducing apparatus. Various pieces of time information are included in the MPEG2-TS packet. When the transmission time of the packet is temporarily deviated, the time information is not meaningful. Therefore, it is necessary to perform decoding processing even when data is transmitted from the PC to the data reproducing apparatus.

본 발명이 이루고자 하는 기술적 과제는, 모든 패킷에 시각정보가 부가되지 않아도, 영상의 전송 시간을 유지하여 위화감 없는 영상을 재생하는 것이 가능한, 신규의 개량된 데이터 재생 장치 및 방법을 제공하는 것이다. An object of the present invention is to provide a new improved data playback apparatus and method capable of playing back video without discomfort while maintaining the transmission time of the video even if time information is not added to every packet.

본 발명이 이루고자 하는 다른 기술적 과제는 상기 데이터 재생 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는 것이다.According to another aspect of the present invention, there is provided a computer-readable recording medium storing a program for causing a computer to execute the data reproducing method.

상기 기술적 과제를 이루기 위한 데이터 재생 장치는, AV 데이터를 독출하는 데이터 독출부; 및 상기 독출된 AV 데이터의 패킷이 시각 정보가 부가된 시각 정보 패킷인 경우 상기 시각 정보를 기초로 하여 상기 시각 정보 패킷을 출력하고, 상기 독출된 AV 데이터의 패킷이 상기 시각 정보 패킷이 아닌 통상의 패킷인 경우 상기 시각 정보 패킷의 출력 시각과 소정의 시간 간격을 두고 상기 통상의 패킷을 출력하는 타이밍 제어부를 포함하는 것이 바람직하다.According to an aspect of the present invention, there is provided a data reproducing apparatus including: a data reading unit reading AV data; And when the packet of the read AV data is a time information packet to which time information is added, outputs the time information packet on the basis of the time information, and when the packet of the read AV data is not the time information packet, And outputting the normal packet at a predetermined time interval with the output time of the time information packet when the packet is a packet.

상기 데이터 재생 장치는 디지털 압축기술에 의해 데이터 압축된 영상 및 음 성 데이터를 패킷화한 AV 데이터를 재생한다. 이 AV 데이터에는 시각정보 패킷과 통상의 패킷이 혼재해 있다. 상기 타이밍 제어부는 우선 시각정보 패킷을 검지하고, 그 시각정보를 기초로 특정 시각에 해당 시각정보 패킷을 출력한다. 또한, 타이밍 제어부는 그 시각정보 패킷 사이에 포함되는 통상의 패킷을 시각정보 패킷의 출력 타이밍을 기준으로 소정의 시간간격을 두고 순차적으로 출력한다. 이러한 구성에 의해 영상 전송시간을 유지하여 위화감 없는 재생 영상을 얻을 수 있다.The data reproducing apparatus reproduces the AV data obtained by packetizing the data and audio data compressed by the digital compression technique. In this AV data, the time information packet and the ordinary packet are mixed. The timing control unit first detects the time information packet and outputs the time information packet at a specific time based on the time information packet. The timing control unit sequentially outputs the normal packets included in the time information packets at predetermined time intervals based on the output timing of the time information packets. With this configuration, it is possible to maintain a video transmission time and obtain a reproduced video without discomfort.

상기 AV 데이터는 기억 매체상에 미리 기억된 데이터이고, 상기 기억 매체의 AV 데이터의 연속하는 2개의 시각정보 패킷에서의 시각정보의 시각차, 및 상기 2개의 시각정보 패킷 사이에서의 통상의 패킷수로부터 상기 소정의 시간간격을 연산하는 간격 연산부를 더 구비할 수도 있다.Wherein the AV data is data stored in advance on a storage medium and the time difference of the time information in two consecutive time information packets of the AV data of the storage medium and the time difference between the two time information packets The apparatus may further include an interval calculating unit for calculating the predetermined time interval.

기억 매체에는 미리 데이터가 기입되어 있기 때문에, 해당 데이터 재생 장치에서는 한번에 혹은 단시간에 데이터 내용을 참조할 수 있다. 따라서, 상기 간격 연산부는 실제 AV 데이터의 출력을 수반하지 않고도 기억매체로부터 시각차 및 통상의 패킷수를 독출할 수 있게 되고, 사전에, 혹은 데이터 전송 경로와는 독립하여 소정의 시간간격 혹은 패킷의 출력 비율을 산출할 수 있다. 이러한 연산은 시각차를 통상의 패킷수+1로 나눈 결과일 수도 있다.Since data is already written in the storage medium, the data reproduction apparatus can refer to the data contents at once or in a short time. Therefore, the gap calculation unit can read the difference in visual angle and the normal number of packets from the storage medium without involving the output of the actual AV data, and it is possible to carry out the predetermined interval or packet output The ratio can be calculated. Such an operation may be a result of dividing the visual difference by the normal number of packets + 1.

상기 독출된 AV 데이터의 패킷을 일단 저장하는(maintain) 데이터 버퍼; 상기 데이터 버퍼에 저장된 AV 데이터의 연속하는 2개의 시각정보 패킷에서의 시각정보의 시각차, 및 상기 2개의 시각정보 패킷 사이에서의 통상의 패킷수로부터 상기 소정의 시간간격을 연산하는 간격 연산부를 더 구비할 수도 있다.A data buffer for temporarily storing a packet of the read AV data; Further comprising a gap calculator for calculating the predetermined time interval from the difference in time of the time information in two consecutive time information packets of the AV data stored in the data buffer and the normal number of packets between the two time information packets You may.

상기 데이터 버퍼는 적어도 연속하는 2개의 시각정보 패킷을 포함하는 AV 데이터의 일부를 일단 저장한다. 상기 간격 연산부는 이 데이터 버퍼에 저장되어 있는 적어도 2개의 시각정보 패킷과 그 사이에 있는 통상의 패킷을 한번에 혹은 단시간에 참조할 수 있다. 따라서, 상기 간격 연산부는 시각차 및 통상의 패킷수로부터 간단히 소정의 시간간격 혹은 패킷의 출력 비율을 산출할 수 있다.The data buffer temporarily stores a part of AV data including at least two consecutive time information packets. The interval calculation unit can refer to at least two time information packets stored in the data buffer and a normal packet therebetween at once or in a short time. Therefore, the interval calculator can calculate a predetermined time interval or a packet output ratio simply from the visual difference and the normal number of packets.

상기 간격 연산부는 상기 시각차나 통상의 패킷수의 변화에 따라 상기 소정의 시간간격을 수시로 갱신할 수도 있다. 이러한 구성에 의해 AV 데이터의 시각차나 통상의 패킷수가 불규칙적으로 나열되어 있다고 해도 균일한 출력 간격을 유지할 수 있고, 보다 위화감 없는 재생 영상을 얻을 수 있다.The gap calculating unit may update the predetermined time interval at any time according to the change of the visual angle or the number of normal packets. With such a configuration, even if the visual difference of the AV data or the normal number of packets are irregularly arranged, a uniform output interval can be maintained and a reproduced image with no discomfort can be obtained.

상기 소정의 시간간격은 상기 시각차를 통상의 패킷수 +1로 나눈 값보다 짧게 설정될 수도 있다. 이러한 구성에 의해 통상의 패킷과, 그 직후에 출력되는 시각정보 패킷의 충돌을 방지할 수 있다.The predetermined time interval may be set shorter than a value obtained by dividing the visual difference by the number of normal packets + 1. With this configuration, it is possible to prevent a collision between a normal packet and a time information packet output immediately thereafter.

또한, 상기 타이밍 제어부는 입력된 패킷을 일단 저장하는 패킷 버퍼; 상기 패킷 버퍼에 저장된 패킷이 시각정보 패킷인지 아닌지 판별하는 PCR 패킷 판별부; 상기 패킷 버퍼에 저장된 패킷의 시각정보를 추출하는 PCR 추출부; 클록을 계산하는 카운터; 상기 시각정보와 상기 카운터 계수값이 일치한 시점에서 출력 개시 신호를 생성하는 일치 검출부; 상기 일치 검출부로부터의 출력 개시 신호를 기준으로 상기 소정의 시간간격으로 출력 개시 신호를 생성하는 타이머; 상기 PCR 패킷 판별부의 판별을 기초로 상기 일치 검출부와 상기 타이머의 출력 개시 신호를 변환하는 타이밍 변환부; 상기 변환된 출력 개시 신호에 따라 상기 패킷 버퍼의 패킷을 출력 하는 출력 제어부;를 구비할 수도 있다.The timing controller may further comprise: a packet buffer for temporarily storing the input packet; A PCR packet discrimination unit for discriminating whether or not a packet stored in the packet buffer is a time information packet; A PCR extracting unit for extracting time information of a packet stored in the packet buffer; A counter for calculating the clock; A coincidence detector for generating an output start signal at a time point when the time information coincides with the counter coefficient value; A timer for generating an output start signal at the predetermined time intervals based on an output start signal from the match detection unit; A timing conversion unit for converting an output start signal of the coincidence detection unit and the timer based on the discrimination of the PCR packet discrimination unit; And an output control unit for outputting the packets of the packet buffer according to the converted output start signal.

AV 데이터를 기입하는 데이터 기입부를 더 구비하고, 상기 인터페이스부는 나아가 외부 기기로부터의 오디오 데이터를 상기 데이터 기입부에 중계할 수도 있다.Further comprising a data writing unit for writing AV data, and the interface unit may further relay the audio data from the external device to the data writing unit.

이와 같이 데이터 재생 장치는 외부로부터 출력되는 AV 데이터를 기억하는 기능도 가질 수 있다. 이러한 인터페이스부 및 데이터 기입부는 AV 데이터에 장황한 시각정보를 부가하지 않고, 입력된 데이터 형식 그대로 기억매체에 기억하므로, PC에서 기억되는 기억매체와 호환성을 가질 수 있다.As described above, the data reproducing apparatus can also have a function of storing AV data outputted from the outside. Such an interface unit and the data writing unit can be compatible with the storage medium stored in the PC since the input data format is stored in the storage medium as it is without adding redundant time information to the AV data.

상기 기술적 과제를 이루기 위한 데이터 재생 방법은, AV 데이터를 독출하는 단계; 및 상기 독출된 AV 데이터의 패킷이 시각 정보가 부가된 시각 정보 패킷인 경우 상기 시각 정보를 기초로 하여 상기 시각 정보 패킷을 출력하고, 상기 독출된 AV 데이터의 패킷이 상기 시각 정보 패킷이 아닌 통상의 패킷인 경우 상기 시각 정보 패킷의 출력 시각과 소정의 시간 간격을 두고 상기 통상의 패킷을 출력하는 단계를 포함하는 것이 바람직하다.According to another aspect of the present invention, there is provided a data reproducing method comprising: reading AV data; And when the packet of the read AV data is a time information packet to which time information is added, outputs the time information packet on the basis of the time information, and when the packet of the read AV data is not the time information packet, And outputting the normal packet at a predetermined time interval with the output time of the time information packet when the packet is a packet.

이하 첨부된 도면들을 참조하여, 본 발명에 따른 데이터 재생 장치 및 방법에 대하여 상세히 설명한다. 본 명세서 및 도면에서 실질적으로 동일한 기능구성을 가진 구성요소에 대해서는 동일한 부호를 붙임으로써 중복 설명을 생략한다.Hereinafter, a data reproducing apparatus and method according to the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, constituent elements having substantially the same functional configuration are denoted by the same reference numerals, and redundant description will be omitted.

종래의 데이터 재생 장치에서는, 입력된 패킷이 시각정보를 부가된 PCR(Program Clock Reference) 패킷인지 아닌지에 상관없이, 독자적으로 전체 패킷에 시각정보를 부가하여 기억하고, 또한 그 시각정보를 이용하여 재생하고 있었다.In the conventional data reproducing apparatus, regardless of whether or not the input packet is a PCR (Program Clock Reference) packet to which the time information is added, time information is added to the entire packet independently and stored, .

한편, PC는 범용품이기 때문에, 하드웨어가 제한되어 있고, 기억하는 패킷에 독자적으로 시각정보를 추가하는 것이나 추가된 시각정보를 참조하는 기술을 갖고 있지 않았다.On the other hand, since the PC is a general-purpose product, the hardware is limited, and it does not have a technique of adding time information to the stored packet independently or referring to the added time information.

따라서, 종래의 데이터 재생 장치에서 기억된 기억 매체와 PC에서 기억된 기억매체에서는 포맷의 불일치가 생겨 호환성은 없었다.Therefore, there is incompatibility between the storage medium stored in the conventional data reproducing apparatus and the storage medium stored in the PC because of the inconsistency of the format.

이하 본 발명의 일 실시예에 따른 데이터 재생 시스템에 대하여 설명한다.Hereinafter, a data reproducing system according to an embodiment of the present invention will be described.

본 발명의 일 실시예에 따른 데이터 재생 장치는 디지털 압축 기술에 의해 데이터 압축된 영상 및 음성 데이터를 패킷화한 AV 데이터를, 전송 지연 등의 위화감 없이 재생한다. 상기 AV 데이터는 음성 및/또는 영상을 디지털화하고, 소정의 데이터 압축처리를 수행한 데이터이다. 상기 AV데이터에는 시각정보 패킷과 통상의 패킷이 혼재해 있다.The data reproducing apparatus according to an embodiment of the present invention reproduces the AV data obtained by packetizing the video and audio data compressed by the digital compression technique without any discomfort such as transmission delay. The AV data is data obtained by digitizing voice and / or video and performing predetermined data compression processing. In the AV data, a time information packet and a normal packet are mixed.

도 1은 본 발명의 일 실시예에 따른 데이터 재생 시스템의 접속 관계를 설명하기 위한 이미지도이고, 도 2는 본 발명의 일 실시예에 따른 데이터 재생 시스템의 구성을 나타낸 블록도이다.FIG. 1 is an image diagram for explaining a connection relationship of a data reproduction system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a data reproduction system according to an embodiment of the present invention.

도 1에서의 데이터 재생 시스템(100)은 안테나(110), 방송수신기(120), TV 모니터(130), 및 HDD(Hard Disk Drive) 리코더(140)를 포함하여 구성된다. HDD 리코더(140)는 데이터 재생 장치로서도 기능한다.The data reproduction system 100 shown in FIG. 1 includes an antenna 110, a broadcast receiver 120, a TV monitor 130, and a hard disk drive (HDD) recorder 140. The HDD recorder 140 also functions as a data reproducing device.

상기 안테나(110)는 TV 방송 타워(150)에서 광역에 걸쳐 출력되는 TV 방송 등의 무선전파를 수신하고, 수신한 무선 신호를 전기신호로 변환한다.The antenna 110 receives a radio wave such as a TV broadcast output over a wide area from the TV broadcast tower 150 and converts the received radio signal into an electric signal.

상기 방송수신기(120)는 안테나(110)로 수신된 AV 데이터를 TV 모니터(130) 에서 재생할 수 있는 형식으로 변환하고, TV 모니터(130)로 송신한다. 또한, 안테나(110)로부터 수신된 AV 데이터를 HDD 리코더(140)에 기억하기 위해 출력하고, 또한 HDD 리코더(140)에 기억된 AV 데이터를 입력한다.The broadcast receiver 120 converts the AV data received by the antenna 110 into a format that can be reproduced by the TV monitor 130 and transmits the AV data to the TV monitor 130. The AV data received from the antenna 110 are output to be stored in the HDD recorder 140 and the AV data stored in the HDD recorder 140 are input.

상기 TV 모니터(130)는 방송 수신기(120)로부터 수신된 영상신호 및 음성신호를 받아, 그 영상을 모니터 상에, 음성을 스피커로 재생한다.The TV monitor 130 receives a video signal and a voice signal received from the broadcast receiver 120, and reproduces the video on a monitor and the voice through a speaker.

상기 HDD 리코더(140)는 방송 수신기(120)로부터 입력된 AV 데이터를, 예를 들어 HDD나 DVD라는 기억 매체에 기억하고, 또한 그 HDD나 DVD에 기억된 AV 데이터를 독출하여 방송 수신기(120)로 출력한다.The HDD recorder 140 stores the AV data input from the broadcast receiver 120 in a storage medium such as an HDD or a DVD and reads the AV data stored in the HDD or the DVD to output the AV data to the broadcast receiver 120. [ .

상기 방송 수신기(120)는 TV 모니터(130)와 일체로 구성할 수도 있고, HDD 리코더(140)와 일체로 구성할 수도 있다. 나아가 방송 수신기(120), TV 모니터(130), HDD 리코더(140)를 모두 일체로 구성할 수 있다. 또한, HDD 리코더(140)에서 독출되는 AV 데이터가 방송 수신기(120)를 통하지 않고 직접 TV 모니터(130)로 송신될 수도 있다.The broadcast receiver 120 may be integrated with the TV monitor 130 or may be integrated with the HDD recorder 140. Further, the broadcast receiver 120, the TV monitor 130, and the HDD recorder 140 can be integrally formed. AV data read out from the HDD recorder 140 may be transmitted directly to the TV monitor 130 without going through the broadcast receiver 120. [

도 2를 참조하면, 상기 방송 수신기(120)는 튜너(122), 인터페이스부(124), 및 디코더(126)를 포함하여 구성된다.Referring to FIG. 2, the broadcast receiver 120 includes a tuner 122, an interface unit 124, and a decoder 126.

상기 튜너(122)는 안테나(110)로 수신된 전파로부터, 원하는 주파수 대역을 선국하고, 그 주파수 대역의 신호를 BPF(Band Pass Filter) 등에 의해 추출한다. 또한, 이렇게 하여 추출된 주파수 중 원하는 채널의 정보를 MPEG2-TS 형식의 데이터로 추출한다.The tuner 122 selects a desired frequency band from a radio wave received by the antenna 110, and extracts a signal of the frequency band by a BPF (Band Pass Filter) or the like. In addition, information of a desired channel among the extracted frequencies is extracted as data of the MPEG2-TS format.

디지털 방송에서는 한정된 캐리어(주파수)를 유효이용하기 위해 하나의 주파 수 신호에 복수 채널의 패킷이 다중화되어 있다. 튜너(122)에서는 우선 소정의 주파수에 포함되는 신호를 복조하고, 오류정정 처리 등을 수행하고, 복수의 패킷을 생성한다. 이 패킷군에는 복수 채널의 프로그램이 다중화되어 있으므로, 튜너(122)는 그 패킷 중에서 원하는 채널의 패킷만을 추출하여 인터페이스부(124)로 출력한다.In digital broadcasting, a packet of a plurality of channels is multiplexed on one frequency signal in order to effectively use a limited carrier (frequency). The tuner 122 first demodulates a signal included in a predetermined frequency, performs error correction processing and the like, and generates a plurality of packets. Since a plurality of programs are multiplexed in this packet group, the tuner 122 extracts only packets of a desired channel out of the packets, and outputs the packet to the interface unit 124. [

도 3a 및 도 3b는 튜너(122)로부터 출력되는 MPEG2-TS 형식의 패킷의 전송형태를 나타낸 설명도들이다. 도 3a는 소정의 주파수에 포함되는 모든 패킷을 나타내고 있다. 여기서는, AV 데이터를 분할한 188 바이트의 패킷(201)이 수신되고, 하나의 주파수에 복수의 채널이 혼재해 있다. 튜너(122)는 그 소정의 주파수에 포함되는 패킷이 바라는 소정 채널의 패킷(202)인지 아닌지를 순차적으로 판단하고, 도 3b에 나타낸 바와 같은 소정 채널의 패킷(202)만 추출한다. 추출된 패킷(202)은 도 3b와 같이 불규칙하고 불연속적인 출력 타이밍이 되어 버린다.FIGS. 3A and 3B are explanatory diagrams showing transmission formats of MPEG2-TS format packets output from the tuner 122. FIG. 3A shows all packets included in a predetermined frequency. Here, a packet 201 of 188 bytes obtained by dividing AV data is received, and a plurality of channels are mixed in one frequency. The tuner 122 sequentially determines whether or not a packet included in the predetermined frequency is a packet 202 of a predetermined channel and extracts only a packet 202 of a predetermined channel as shown in FIG. 3B. The extracted packet 202 becomes an irregular and discrete output timing as shown in FIG. 3B.

상기 인터페이스부(124)는 튜너(122)로부터의 패킷(202)을 디코더(126)에 전달하고, 또한 HDD 리코더(140)가 접속되어 있는 경우, HDD 리코더(140)에도 패킷(202)을 출력한다.The interface unit 124 transfers the packet 202 from the tuner 122 to the decoder 126 and also outputs the packet 202 to the HDD recorder 140 when the HDD recorder 140 is connected do.

상기 디코더(126)는 인터페이스부(124)로부터 전달된 패킷(202)로부터 영상 패킷을 추출하고, 이어서 TV 모니터(130)가 재생할 수 있는 형식으로 디코드 처리를 수행하여 영상신호를 생성하고, TV 모니터(130)에 공급한다.The decoder 126 extracts an image packet from the packet 202 transmitted from the interface unit 124 and then decodes the image packet in a format that can be reproduced by the TV monitor 130 to generate a video signal, (130).

또한, 디코더(126)에서는 음성 패킷도 추출하고, 이어 디코드 처리를 수행하여 음성 신호를 생성하고, 더불어 TV 모니터(130)에 공급한다.The decoder 126 also extracts a voice packet and then decodes the voice packet to generate a voice signal and supplies the voice signal to the TV monitor 130.

상기 데이터 재생 시스템에서의 데이터 재생 장치는 HDD 리코더(140)를 들고 있는데, 이러한 경우에 한정되지 않고, DVD, CD(Compact Disc), FD(Floppy(등록상표) Disk), MO(Magnetico-optical Disk), 플레쉬 메모리, 카드 메모리, USB 메모리, RAM, EEPROM, 비휘발성 RAM 등의 기억 매체상의 AV 데이터를 재생할 수 있는 장치이면 되고, DVD 리코더 등 다양한 AV 기기를 이용할 수 있다.The data reproducing apparatus in the data reproducing system is not limited to the HDD recorder 140 and may be a DVD, a Compact Disc (CD), a Floppy (trademark) Disk, a MO (Magnetic- ), A flash memory, a card memory, a USB memory, a RAM, an EEPROM, a nonvolatile RAM, or the like, and various AV devices such as a DVD recorder can be used.

또한, 상술한 데이터 재생 시스템에서는 방송 수신기와 데이터 재생 장치와의 접속을 들어 설명하고 있는데, 이러한 경우에 한정되지 않고, 촬상장치(비디오 카메라 등)나 동영상 촬상 가능한 디지털 카메라 등과 데이터 재생 장치를 접속하여 상술한 기능을 실시할 수도 있다.In the above-described data reproduction system, the connection between the broadcast receiver and the data reproduction apparatus is described. However, the present invention is not limited to such a case, and the data reproduction apparatus may be connected to an image pickup apparatus (video camera or the like) The above-described functions may be performed.

따라서, 비디오 카메라에 데이터 재생 장치를 일체 형성하고, 녹화한 데이터를 직접 TV 모니터(130)로 시청할 수도 있게 된다.Therefore, the data reproducing apparatus can be integrally formed in the video camera, and the recorded data can be directly viewed on the TV monitor 130. [

이하 HDD 리코더(140)를 예로 들어 본 발명에 따른 데이터 재생 장치를 상세히 설명한다.Hereinafter, a data reproducing apparatus according to the present invention will be described in detail with the HDD recorder 140 as an example.

도 4는 본 실시형태에 의한 데이터 재생 장치(200)의 개략적인 기능을 나타낸 블록도이다. 이러한 데이터 재생 장치(200)는 데이터 재생 제어부(202), 데이터 저장부(204), 데이터 독출부(206), 타이밍 제어부(208), 간격 연산부(210), 데이터 버퍼(212), 인터페이스부(214), 데이터 기입부(216), 및 리모콘 수신부(218)를 포함하여 형성된다.4 is a block diagram showing a schematic function of the data reproducing apparatus 200 according to the present embodiment. The data reproducing apparatus 200 includes a data reproducing control unit 202, a data storing unit 204, a data reading unit 206, a timing controlling unit 208, an interval calculating unit 210, a data buffer 212, 214, a data writing unit 216, and a remote control receiving unit 218.

상기 데이터 재생 제어부(202)는 중앙처리장치(CPU)를 포함하는 반도체 집적회로에 의해 데이터 재생 장치(200) 전체를 관리 및 제어한다.The data reproduction control unit 202 manages and controls the entire data reproduction apparatus 200 by a semiconductor integrated circuit including a central processing unit (CPU).

상기 데이터 저장부(204)는 HDD나 DVD 등의 기억 매체로 이루어지며, 외부로부터 입력되는 AV 데이터를 기억할 수 있다.The data storage unit 204 is made up of a storage medium such as an HDD or a DVD, and can store AV data inputted from the outside.

도 5는 데이터 저장부(204)에 기억되는 AV 데이터의 데이터 기억 형식을 나타낸 설명도이다. 데이터 저장부(204)로서의 HDD 상에는 MPEG-TS 형식의 188 바이트 길이의 패킷(150)이 연속하여 기억되고, 하나의 파일로서 관리된다.5 is an explanatory view showing a data storage format of the AV data stored in the data storage unit 204. FIG. On the HDD as the data storage unit 204, 188-byte packets 150 of the MPEG-TS format are successively stored and managed as one file.

MPEG2-TS 방식에서는 이러한 AV 데이터를 PES(Packetized Elementary Stream) 패킷으로 분할하고, 이 PES 패킷의 헤더 부분에는 PTS(Present Time Stamp)나 DTS(Decord Time Stamp) 등의 시각 정보가 붙여지고, 나아가 상술한 바와 같이 188 바이트의 TS 패킷(150)으로 분할된다.In the MPEG2-TS system, such AV data is divided into PES (Packetized Elementary Stream) packets. Time information such as PTS (Present Time Stamp) or DTS (Decord Time Stamp) is attached to the header portion of the PES packet. Is divided into a TS packet 150 of 188 bytes as shown in Fig.

또한 각 패킷(150)에는 패킷의 선두를 나타내는 동기 바이트(152), 패킷의 종별을 식별하는 13비트의 PID(Packet ID)(154), 분할된 AV 데이터를 포함하는 패킷 본체(156) 등이 포함되어 있다.Each packet 150 also includes a synchronization byte 152 indicating the head of the packet, a 13-bit PID (Packet ID) 154 identifying the type of packet, a packet body 156 including divided AV data, and the like .

패킷(150)에는 영상 데이터 패킷, 음성 데이터 패킷 외에, PAT(Program Association Table) 패킷, PMT(Program Map Table) 패킷, PCR 패킷 등의 종류가 있고, 이들을 PID(154)에 의해 식별하는 것이 가능하다.In addition to the video data packet and the voice data packet, there are PAT (Program Association Table) packets, PMT (Program Map Table) packets, PCR packets, etc., and they can be identified by the PID 154 .

상기 데이터 독출부(206)는 데이터 저장부(204)에 기억되어 있는 AV 데이터의 재생 처리를 위해 AV 데이터의 패킷을 순차적으로 독출하고, 직접 혹은 데이터 버퍼(212)를 통해 타이밍 제어부(208)에 전송한다. 또한, 데이터 독출부(206)는 시각차나 패킷수를 데이터 저장부(204)로부터 직접 독출하고, 데이터 전송경로와 독립된 경로로 간격 연산부(210)로 전달할 수도 있다.The data reading unit 206 sequentially reads the packets of the AV data for the reproduction processing of the AV data stored in the data storage unit 204 and outputs the packets of the AV data to the timing control unit 208 directly or through the data buffer 212 send. The data reading unit 206 may read the time difference and the number of packets directly from the data storage unit 204 and may transmit the data to the interval calculating unit 210 in a path independent of the data transmission path.

상기 타이밍 제어부(208)는 데이터 독출부(206)에서 독출된 AV 데이터의 패킷이 PCR 패킷으로 표시되는, AV 데이터의 재생 시각을 포함하는 재생 정보가 부가된 시각정보 패킷인지 아닌지 판단하고, PCR 패킷인 경우, 그 시각정보를 기초로 해당 PCR 패킷을 출력해야 할 특정 시각에 PCR 패킷을 인터페이스부(214)로 출력하고, PCR 패킷 이외의 통상의 패킷인 경우, PCR 패킷의 출력 시점에서 소정의 시간간격으로 통상의 패킷을 인터페이스부(214)로 순차적으로 출력한다.The timing control unit 208 determines whether the packet of the AV data read out from the data reading unit 206 is a time information packet added with the playback information including the playback time of the AV data indicated by the PCR packet, The PCR packet is output to the interface unit 214 at a specific time at which the corresponding PCR packet is to be output based on the time information, and in the case of a normal packet other than the PCR packet, And sequentially outputs a normal packet to the interface unit 214 at an interval.

이러한 PCR 패킷은 예를 들어, 영상시간의 100msec에 적어도 하나 포함될 수도 있다. 상기 타이밍 제어부(208)에 의해 영상의 전송 시간을 유지할 수 있고, 위화감 없는 재생 영상을 얻을 수 있게 된다.This PCR packet may be included in at least one of, for example, 100 msec of the image time. The timing control unit 208 can maintain the transmission time of the image and obtain a reproduced image with no sense of incongruity.

상기 간격 연산부(210)는 데이터 저장부(204)의 AV 데이터의 연속하는 2개의 PCR 패킷에서의 시각정보의 시각차, 및 상기 2개의 PCR 패킷 사이에서의 통상의 패킷수로부터 소정의 시간간격을 연산한다. 이러한 연산은 시각차를 통상의 패킷수 +1로 나누어 수행될 수도 있다.The interval calculator 210 calculates a predetermined time interval from the time difference of the time information in two consecutive PCR packets of the AV data of the data storage unit 204 and the normal number of packets between the two PCR packets do. Such an operation may be performed by dividing the visual difference by the normal number of packets + 1.

상세하게는 간격 연산부(210)는 데이터 저장부(204)로부터의 패킷군을 일단 데이터 버퍼(212)에 저장하여, 그 패킷군으로부터 PCR 패킷에 관한 시각차 및 통상의 패킷수를 추출하고, 소정의 시간간격 혹은 패킷의 출력 비율을 산출한다.More specifically, the interval calculator 210 temporarily stores a packet group from the data storage unit 204 in the data buffer 212, extracts a visual difference and a normal packet number regarding the PCR packet from the packet group, The time interval or the output rate of the packet is calculated.

또한, 데이터 저장부(204)에는 미리 AV 데이터가 기억되어 있기 때문에, 데이터 독출부(206)는 그 내용을 한번에 참조할 수 있다. 따라서, 데이터 독출부(206)에서 시각차 및 통상의 패킷수를 직접 추출하고, 단일의 비트레이트에 의지하지 않고, 실제 데이터량에서 패킷의 출력 타이밍을 구하는 것도 가능하다.Since the AV data is stored in advance in the data storage unit 204, the data reading unit 206 can refer to the contents at one time. Therefore, it is also possible to directly extract the visual difference and the normal packet number from the data reading unit 206, and obtain the output timing of the packet from the actual data amount without relying on a single bit rate.

이렇게 하여, 패킷의 출력 타이밍을 정확하게 제어할 수 있고, 패킷 간격이 부분적으로 벌어지는 문제를 피할 수 있다.In this manner, the output timing of the packet can be accurately controlled, and the problem that the packet interval partially occurs can be avoided.

또한, 소정의 시간간격은 PCR 패킷 사이의 시각차를 통상의 패킷수 +1로 나눈 값보다 짧게(예를 들어, 10~20 퍼센트 정도) 설정될 수도 있다 . 이러한 구성에 의해, 출력되는 통상의 패킷과, 그 직후의 PCR 패킷의 충돌을 방지할 수 있고, PCR 패킷의 출력이 보증된다.Also, the predetermined time interval may be set shorter (for example, about 10 to 20 percent) than a value obtained by dividing the visual difference between the PCR packets by the normal packet number + 1. With this configuration, it is possible to prevent collision between the output normal packet and the PCR packet immediately thereafter, and the output of the PCR packet is guaranteed.

간격 연산부(210)는 상기 시각차나 통상의 패킷수의 변화에 따라 상기 소정의 시간간격을 수시로 갱신할 수도 있다. 예를 들어, AV 데이터의 시각차나 통상의 패킷수가 불규칙적으로 나열되어 있는 경우에도 출력 비율이 일정하면, PCR 패킷 사이에 규정값보다 많은 통상의 패킷이 포함되어 있는 경우, 통상의 패킷과 그 직후의 PCR 패킷에서 충돌이 일어나고, 영상이 누락하거나, 영상 출력 타이밍이 지연되는 원인이 된다. 이러한 출력 비율을 수시로 조정하는 구성에 의해 시각차에 따른 출력 간격을 유지할 수 있고, 더 위화감 없는 재생 영상을 얻을 수 있다.The interval calculator 210 may update the predetermined time interval at any time according to the change of the visual angle or the number of normal packets. For example, even when the visual difference of the AV data or the normal number of packets is irregularly arranged, if the output ratio is constant and the PCR packets include more normal packets than the specified value, A collision occurs in a PCR packet, a video is missing, or a video output timing is delayed. With such a configuration that the output ratio is adjusted from time to time, the output interval according to the visual difference can be maintained, and a reproduced image with no discomfort can be obtained.

단, 데이터 저장부(204)에 기억되어 있는 AV 데이터의 PCR 패킷과 통상의 패킷에 규칙성이 있고, 또한 그 출력 레이트가 일정하다는 것을 미리 알고 있는 경우, 간격 연산부(210)의 기능을 정지, 혹은 사용하지 않을 수도 있다.However, if it is known that the PCR packet and the normal packet of the AV data stored in the data storage unit 204 have regularity and that the output rate thereof is constant, the function of the interval calculating unit 210 is stopped, Or it may not be used.

상기 인터페이스부(214)는 상기 출력된 PCR 패킷 및 통상의 패킷을 외부로 중계한다.The interface unit 214 relays the output PCR packet and the normal packet to the outside.

상기 데이터 기입부(216)는 외부 기기(주변기기)로부터 인터페이스부(214)에 입력된 AV 데이터를 데이터 저장부(204)에 기입한다.The data writing unit 216 writes the AV data input from the external device (peripheral device) to the interface unit 214 into the data storage unit 204. [

상기 리모콘 수신부(218)는 리모트 콘트롤러로부터 사용자가 원하는 채널이나 AV 데이터의 녹화나 재생에 관한 명령을 받아 데이터 재생 제어부(202)에 전달한다. 데이터 재생 제어부(202)는 이러한 명령에 따라 각 기능을 수행한다.The remote control receiver 218 receives a command for recording or reproducing a desired channel or AV data from the remote controller, and transmits the command to the data reproduction control unit 202. The data reproduction control section 202 performs respective functions in accordance with these commands.

상술한 각 구성에 따라 디지털 압축기술에 의해 데이터 압축된 영상 및 음성 데이터를 패킷화한 데이터에 있어, PCR 패킷과 통상의 패킷이 혼재하는 AV 데이터를 데이터 저장부(204)에 기억하고, 또한 재생할 수 있다. 이러한 AV 데이터의 기억과 재생 동작을 이하에서 간단히 설명한다.In the data obtained by packetizing the video and audio data compressed by the digital compression technique in accordance with each of the above-described configurations, the AV data in which the PCR packet and the ordinary packet are mixed is stored in the data storage unit 204, . The operation of storing and reproducing AV data will be briefly described below.

사용자가 데이터 재생 시스템에 있어서, TV 방송을 수신하고 있을 때, 시청하고 있는 TV 프로그램의 녹화를 수행하는 경우를 상정한다. 사용자는 방송중의 영상을 녹화하기 위해, 리모콘(도시하지 않음)을 이용하여 데이터 재생 장치에 대해 녹화준비를 지시, 예를 들어 채널 변경을 수행한다. 리모콘에서 출력된 명령신호는 데이터 재생 장치내의 리모콘 수신부(218)에서 수신되고, 데이터 재생 제어부(202)에 녹화 준비 명령이 입력된다.It is assumed that the user performs the recording of the TV program being watched while receiving the TV broadcast in the data reproduction system. The user instructs the data reproducing apparatus to prepare for recording by using a remote controller (not shown), for example, to change the channel, in order to record an image being broadcasted. The command signal output from the remote controller is received by the remote control receiver 218 in the data reproduction apparatus, and the preparation command for recording is input to the data reproduction control unit 202. [

데이터 재생 제어부(202)는 인터페이스부(214)를 녹화 모드로 변환하고, 데이터 기입부(216)에 대해 녹화 준비를 지시하고, 나아가 인터페이스부(214)를 통해, 예를 들어 방송 수신기(120)에 대해 스트림 데이터 방송을 요구한다.The data reproduction control unit 202 converts the interface unit 214 into a recording mode and instructs the data writing unit 216 to prepare for recording and further transmits the data to the broadcasting receiver 120 through the interface unit 214. [ To request stream data broadcasting.

이 때, 방송 수신기(120)에서는 튜너(122)에서 수신한 스트림 데이터가 인터페이스부(124)를 통해 디코더(126)에 공급되고 있고, 이 스트림 데이터가 디코더(126)에 의해 디코드되어 TV 모니터(130)에 표시되고 있다.At this time, in the broadcast receiver 120, the stream data received by the tuner 122 is supplied to the decoder 126 via the interface unit 124. The stream data is decoded by the decoder 126 and output to the TV monitor 130).

방송 수신기(120) 내의 인터페이스부(124)는 데이터 재생 장치(200)로부터의 스트림 데이터의 송출 요구를 받고, 디코더에 공급하고 있는 스트림 데이터를 데이터 재생 장치(200)에도 공급한다.The interface unit 124 in the broadcast receiver 120 receives the stream data transmission request from the data reproduction apparatus 200 and supplies the stream data supplied to the decoder to the data reproduction apparatus 200.

방송 수신기(120)의 인터페이스부(124)와, 데이터 재생 장치(200)의 인터페이스부(214) 사이에서의 인터페이스에는, IEEE 1394에서 규정된 디지털 인터페이스를 사용하는 것이 가능하고, 도 3b에서 나타낸 바와 같은 MPEG2-TS 형식의 TS 패킷대로 전송할 수 있다.The digital interface defined by IEEE 1394 can be used as the interface between the interface unit 124 of the broadcast receiver 120 and the interface unit 214 of the data reproduction apparatus 200, TS packets of the same MPEG2-TS format.

데이터 재생 장치(200) 측에서는 방송 수신기(120)에서 입력된 스트림 데이터가 데이터 재생 장치(200)의 입출력 단자를 통해 인터페이스부(214)에 입력되고, 패킷 형식으로 데이터 기입부(216)로 입력된다.On the data reproducing apparatus 200 side, the stream data input from the broadcast receiver 120 is input to the interface unit 214 through the input / output terminal of the data reproducing apparatus 200 and is input to the data writing unit 216 in the form of a packet .

그 후, 사용자가 녹화 개시를 리모콘으로 지시하면, 리모콘으로부터의 신호가 리모콘 수신부(218)에서 수신되고, 데이터 재생 제어부(202)에 입력된다. 데이터 재생 제어부(202)는 녹화 개시 지시에 따라 이러한 스트림 데이터의 녹화 처리를 지시하고, 데이터 기입부(216)는 인터페이스부(214)에서 입력된 패킷을 연속 데이터로서 파일로 변환하고, 데이터 저장부(204)에 기억해 나간다.Thereafter, when the user instructs the start of recording with the remote controller, a signal from the remote controller is received by the remote control receiver 218, and is input to the data reproduction controller 202. [ The data reproduction control section 202 instructs the recording process of such stream data in accordance with the recording start instruction and the data writing section 216 converts the packet inputted from the interface section 214 into a file as continuous data, (204).

원하는 스트림의 종료시에는 사용자는 리모콘을 통해 녹화 정지 명령을 수행한다. 이에 따라 데이터 재생 제어부(202)가 데이터 기입부(216)를 제어하고, 패킷의 기입을 완료한 후, 데이터 저장부(204)의, 예를 들어 HDD에서의 파일 관리 정보 영역을 바꿔 쓰고, 기억한 정보를 파일로서 파일 관리 정보에 등록한다.At the end of the desired stream, the user performs a recording stop command through the remote controller. The data reproduction control section 202 controls the data writing section 216 to change the file management information area of the data storage section 204, for example, in the HDD after completing the writing of the packet, And registers one piece of information as a file in the file management information.

이상의 처리에 의해, 외부로부터 입력된 패킷군을 데이터 저장부(204)로서의 HDD 상에 파일로서 기억할 수 있다. HDD 상의 데이터 형식은 도 5에 나타낸 바와 같이 188 바이트의 패킷이 연속된 형식으로 된다.By the above processing, the packet group inputted from the outside can be stored as a file on the HDD as the data storage unit 204. [ As shown in FIG. 5, the data format on the HDD is a format in which packets of 188 bytes are continuous.

이어서, 데이터 저장부(204)에 기억된 AV 데이터의 재생 처리에 관해 설명한다.Next, the reproduction processing of the AV data stored in the data storage unit 204 will be described.

사용자는 리모콘을 조작함으로써 재생하는 AV 데이터를 선택하여 재생 개시 지시를 수행한다. 리모콘 수신부(218)는 이러한 재생 개시 신호를 수신하면, 데이터 재생 제어부(202)에 재생 개시 명령을 전달한다.The user selects the AV data to be reproduced by operating the remote controller and performs the reproduction start instruction. Upon receipt of such a reproduction start signal, the remote control receiver 218 transmits a reproduction start command to the data reproduction control unit 202.

데이터 재생 제어부(202)는 재생 개시 명령에 따라 인터페이스부(214)를 재생모드로 변환하고, 인터페이스부(214)를 통해 방송 수신기(120)를 스트림 데이터의 입력 모드로 변환한다. 즉, 방송 수신기(120) 내의 인터페이스부(124)는 데이터 재생 장치(200)로부터 수신하는 패킷을 디코더(126)에 공급하도록 동작을 변환한다.The data reproduction control unit 202 converts the interface unit 214 into the reproduction mode in accordance with the reproduction start command and converts the broadcasting receiver 120 into the stream data input mode through the interface unit 214. [ That is, the interface unit 124 in the broadcast receiver 120 converts the operation to supply the packet received from the data reproduction apparatus 200 to the decoder 126.

또한, 데이터 재생 제어부(202)는 재생 개시 지시에 따라, 데이터 저장부(204)로부터 원하는 파일을 독출한다. 독출한 파일은 188 바이트의 패킷 형식으로 추출되고, 직접 혹은 데이터 버퍼(212)를 통해 타이밍 제어부(208)에 입력된다. 타이밍 제어부(208)는 시각정보에 모순이 생기지 않도록 패킷의 출력 타이밍을 제어하고, 소정의 타이밍으로 패킷을 출력한다. 이하에, 타이밍 제어부(208)의 상세한 동작을 설명한다.Further, the data reproduction control section 202 reads a desired file from the data storage section 204 in accordance with the reproduction start instruction. The read file is extracted in a packet format of 188 bytes and input to the timing controller 208 directly or through the data buffer 212. The timing control unit 208 controls the output timing of the packet so as to prevent inconsistency in the time information, and outputs the packet at a predetermined timing. The detailed operation of the timing controller 208 will be described below.

도 6은 본 발명의 일 실시예에 따른 타이밍 제어부(208)의 구성을 나타낸 블록도이다. 여기서 타이밍 제어부(208)는 패킷 입력 단자(301), 패킷 버퍼(302), PCR 패킷 판별부(304), PCR 추출부(306), 카운터(308), 일치 검출부(310), 타이머 (312), 파라미터 입력단자(314), 타이밍 변환부(316), 출력 제어부(318), 및 패킷 출력 단자(320)를 포함하여 구성된다.6 is a block diagram showing a configuration of a timing controller 208 according to an embodiment of the present invention. The timing controller 208 includes a packet input terminal 301, a packet buffer 302, a PCR packet discriminator 304, a PCR extractor 306, a counter 308, a match detector 310, a timer 312, A parameter input terminal 314, a timing conversion unit 316, an output control unit 318, and a packet output terminal 320.

데이터 독출부(206)에서 입력된 패킷은 패킷 입력 단자(301)를 통해 패킷 버퍼(302)에 일시적으로 저장된다. PCR 패킷 판별부(304), 및 PCR 추출부(306)는 패킷 버퍼(302)에 입력된 상기 패킷의 내용을 해석한다.The packet input from the data reading unit 206 is temporarily stored in the packet buffer 302 through the packet input terminal 301. [ The PCR packet determination unit 304 and the PCR extraction unit 306 analyze the contents of the packet input to the packet buffer 302. [

상기 PCR 패킷 판별부(304)는 패킷 버퍼(302)에 입력된 패킷이 시각 정보 패킷으로서의 PCR 패킷인지, 그 이외의 통상의 패킷인지를 판별한다.The PCR packet determination unit 304 determines whether the packet input to the packet buffer 302 is a PCR packet as a time information packet or other normal packet.

상기 PCR 추출부(306)는 패킷 버퍼(302)에 입력된 패킷에 부수하는, 시각정보로서의 PCR 값을 추출한다. 이러한 패킷이 PCR 패킷인 경우, PCR 추출부(306)는 추출한 PCR 값을 일치 추출부(310)에 전송한다. 이러한 패킷이 PCR 패킷이 아닌 경우, 그 PCR 값은 의미가 없는 것이 된다.The PCR extracting unit 306 extracts a PCR value as time information attached to the packet input to the packet buffer 302. If such a packet is a PCR packet, the PCR extracting unit 306 transmits the extracted PCR value to the coincidence extracting unit 310. If such a packet is not a PCR packet, the PCR value is meaningless.

상기 카운터(308)는 예를 들어 27MHz의 클록을 이용하여 PCR과 동기 가능한 형식의 카운트 값을 계수한다. 카운터(308)는 이와 같이 계수한 카운트 값을 일치 검출부(310)에 전달한다.The counter 308 counts the count value in a format that can be synchronized with the PCR using, for example, a clock of 27 MHz. The counter 308 transfers the count value thus counted to the coincidence detecting unit 310. [

상기 일치 검출부(310)는 PCR 추출부(306)에서 입력된 PCR 값과 카운터(308)에서 생성된 카운트 값을 비교하고, 그 값이 일치한 시점에서 타이밍 변환부(316)에 패킷 출력 개시 신호를 출력한다.The coincidence detecting unit 310 compares the PCR value input from the PCR extracting unit 306 with the count value generated in the counter 308. When the coincidence detecting unit 310 coincides with the count value, .

상기 타이머(312)는 일치 검출부(310)로부터의 출력 개시 신호를 기준으로 소정의 주기로 패킷 출력 개시 신호를 타이밍 변환부(316)로 출력한다. 이러한 타이머(312)에 의한 패킷 출력 개시 신호의 출력 주기는 파라미터 입력 단자(314)를 통해 데이터 재생 제어부(202)로부터 제어하는 것이 가능하다.The timer 312 outputs a packet output start signal to the timing conversion unit 316 at a predetermined period based on the output start signal from the coincidence detection unit 310. The output period of the packet output start signal by the timer 312 can be controlled from the data reproduction control section 202 via the parameter input terminal 314. [

상기 타이밍 변환부(316)는 PCR 패킷 판별부(304)가 판별 대상 패킷을 PCR 패킷으로 판별한 경우, 그 PCR 패킷을 일치 검출부(310)의 출력 개시 신호에 따라 출력 제어부(318)로 출력시키고, PCR 패킷 판별부(304)가 PCR 패킷 이외의, 예를 들어 통상의 패킷이라고 판단한 경우, 그 패킷을 타이머(312)의 출력 개시 신호에 따라 출력 제어부(318)로 출력한다.When the PCR packet determination unit 304 determines that the determination target packet is a PCR packet, the timing conversion unit 316 outputs the PCR packet to the output control unit 318 in accordance with the output start signal of the match detection unit 310 And outputs the packet to the output control unit 318 in accordance with the output start signal of the timer 312 when the PCR packet determination unit 304 determines that the packet is a normal packet, for example, other than the PCR packet.

이하에, 타이밍 제어부(208)의 상세한 동작을 설명한다.The detailed operation of the timing controller 208 will be described below.

도 7a 및 도 7b는 본 발명의 일 실시예에 따른 타이밍 변환부(316)에 의한 패킷의 출력 타이밍을 설명하기 위한 타이밍 챠트이다. 도 7a는 패킷 입력 단자(301)에 입력되는 패킷의 타이밍을, 도 7b는 패킷 출력 단자(320)로부터 출력되는 패킷의 타이밍을 나타내고 있다.7A and 7B are timing charts for explaining the output timing of a packet by the timing conversion unit 316 according to an embodiment of the present invention. FIG. 7A shows the timing of a packet input to the packet input terminal 301, and FIG. 7B shows the timing of a packet output from the packet output terminal 320. FIG.

AV 데이터의 재생이 개시되면, 타이밍 제어부(208)에서는 데이터 저장부(204)로부터 AV 데이터의 패킷을 독출한다. 이러한 독출 타이밍은 도 7a와 같이 소정수(여기서는, 4개)의 패킷마다 독출될 수도 있고, 소정 간격으로 하나씩 독출될 수도 있는데, 늦더라도 본래 출력해야 할 패킷의 레이트보다 빠른 타이밍으로 독출하고, 패킷 버퍼(302)에 저장된다. 이러한 패킷의 독출 시에는 그 패킷이 PCR 패킷인지, 그 이외의 패킷인지는 관계없다.When the reproduction of the AV data is started, the timing control unit 208 reads out the packet of the AV data from the data storage unit 204. [ As shown in FIG. 7A, these readout timings may be read out for each predetermined number of packets (four in this case) or read out at a predetermined interval, but at a later timing than the rate of the originally output packet, And is stored in the buffer 302. At the time of reading such a packet, whether the packet is a PCR packet or other packets is irrelevant.

패킷 버퍼(302)는 데이터 저장부(204)로부터 패킷(350)을 하나 취득한다. PCR 패킷 판별부(304)는 그 패킷이 PCR 패킷인지 아닌지를 판별한다. 도 7a에서는 사선이 들어 있는 패킷을 PCR 패킷으로 한다. 따라서, PCR 패킷 판별부(304)는 패 킷(350)을 PCR 패킷이라고 판별하고, 타이밍 변환부(316)에 그 뜻을 전달한다.The packet buffer 302 acquires one packet 350 from the data storage unit 204. The PCR packet determination unit 304 determines whether the packet is a PCR packet or not. In Fig. 7A, a packet containing a slash is a PCR packet. Accordingly, the PCR packet determination unit 304 determines that the packet 350 is a PCR packet, and transmits the meaning to the timing conversion unit 316.

타이밍 변환부(316)는 PCR 패킷 판별부(304)로부터의 신호를 받아, 타이밍 변환부(316)의 타이밍 입력을 일치 검출부(310) 쪽으로 변환한다. 그 결과, 일치 검출부(310)로부터 출력되는 패킷의 출력 개시 신호가 출력 제어부(318)에 입력된다.The timing conversion unit 316 receives the signal from the PCR packet determination unit 304 and converts the timing input of the timing conversion unit 316 to the coincidence detection unit 310 side. As a result, the output start signal of the packet output from the match detection unit 310 is input to the output control unit 318.

또한, PCR 추출부(306)는 PCR 패킷 판별부(304)와 병행하여, 패킷 버퍼(302)가 취득한 패킷의 PCR 값을 추출하고, 일치 검출부(310)로 전송한다. 일치 검출부(310)는 PCR 추출부(306)에서 추출된 PCR 값과, 카은터(308)에서 생성된 카운트 값을 비교하고, 양자가 일치한 시점에서 타이밍 변환부(316)에 출력 개시 신호를 출력한다. 이렇게 하여 패킷(PCR 패킷)(350)은 PCR 값과 카운트 값이 일치한 시점, 즉, PCR 패킷이 본래 출력되어야 할 시점(도 7b에서의 시각 T1)에서 패킷 출력 단자(320)로부터 출력된다.The PCR extraction unit 306 extracts the PCR value of the packet acquired by the packet buffer 302 in parallel with the PCR packet determination unit 304 and transmits the PCR value to the match detection unit 310. The coincidence detecting unit 310 compares the PCR value extracted by the PCR extracting unit 306 with the count value generated by the counter 308 and outputs an output start signal to the timing converting unit 316 Output. Thus, the packet (PCR packet) 350 is output from the packet output terminal 320 at the time when the PCR value coincides with the count value, that is, when the PCR packet is originally output (time T1 in FIG. 7B).

패킷 버퍼(302)는 데이터 저장부(204)로부터 다음 패킷(352)을 취득한다. PCR 패킷 판별부(304)는 상기와 같이 그 패킷이 PCR패킷인지 아닌지 판별한다. 이러한 패킷(352)은 PCR 패킷이 아닌 통상의 패킷이므로, PCR 패킷 판별부(304)는 타이밍 변환부(316)에 그 뜻을 전달한다.The packet buffer 302 acquires the next packet 352 from the data storage unit 204. [ The PCR packet determination unit 304 determines whether the packet is a PCR packet as described above. Since the packet 352 is a normal packet, not a PCR packet, the PCR packet determination unit 304 transfers the meaning to the timing conversion unit 316. [

타이밍 변환부(316)는 PCR 패킷 판별부(304)로부터의 신호를 받아 타이밍 변환부(316)의 타이밍 입력을 타이머(312) 쪽으로 변환한다. 그 결과, 타이머(312)로부터 출력되는 패킷의 출력 개시 신호가 출력 제어부(318)에 입력된다.The timing conversion unit 316 receives the signal from the PCR packet determination unit 304 and converts the timing input of the timing conversion unit 316 to the timer 312 side. As a result, an output start signal of the packet output from the timer 312 is input to the output control section 318. [

타이머(312)는 직전의 패킷(여기서는 패킷(350))으로부터 소정 시간간격(k) 만큼 대기하고, 소정 시간 간격(k)에 도달하면, 타이밍 변환부(316)로 패킷의 출력 개시 신호를 출력한다. 이렇게 하여 패킷(352)은 PCR 패킷인 패킷(350)으로부터 소정 시간간격(k)을 비운 시점에서 패킷 출력 단자(320)로부터 출력된다.The timer 312 waits for a predetermined time interval k from the immediately preceding packet (here, packet 350), and when the predetermined time interval k has been reached, the timer 312 outputs the packet output start signal to the timing conversion unit 316 do. Thus, the packet 352 is output from the packet output terminal 320 at a point in time when the predetermined time interval k is cleared from the packet 350 which is a PCR packet.

이와 같이, PCR 패킷을 제외한 통상의 패킷의 출력 간격은, 타이머(312)에 의해 제어된다. 여기서, 패킷의 출력 간격은, PCR 패킷을 포함하여 거의 균일한 것이 바람직하다. 또한 패킷 간격을 너무 짧게 하면, 양 장치의 인터페이스부(124, 214)나 방송 수신기(120)의 디코더(126)에 부담이 가고, 패킷의 전송중에 버퍼가 넘칠 가능성이 있기 때문에, 패킷 끼리의 간격은 가능하면 긴 편이 좋다.As described above, the output interval of the normal packet excluding the PCR packet is controlled by the timer 312. [ Here, it is preferable that the output interval of the packet is substantially uniform including the PCR packet. In addition, if the packet interval is set too short, the interface units 124 and 214 of both apparatuses and the decoder 126 of the broadcast receiver 120 are burdened, and there is a possibility that the buffer overflows during transmission of packets. Should be as long as possible.

따라서, PCR 패킷을 제외한 패킷의 간격(k)은 이하와 같이 하여 구할 수 있다. 즉, 시간간격(k)은 재생 스트림 데이터의 비트레이트를 1패킷분의 비트수로 나눈 것으로 생각할 수 있다.Therefore, the interval k of the packets excluding the PCR packets can be obtained as follows. That is, the time interval k can be regarded as the bit rate of the reproduction stream data divided by the number of bits for one packet.

여기서, 비트레이트는 MPEG 스트림 중의 sequence_extension 내에 기재되어 있는 bit_rate 정보를 사용할 수 있다.Here, bit rate information described in the sequence_extension in the MPEG stream can be used as the bit rate.

그러나, 임의의 패킷에 관해, 부분적으로 비트레이트가 높고, 또한 PCR 패킷 사이에 존재하는 패킷 수가 많은 경우에는 PCR 패킷의 출력 타이밍이 늦어질 가능성이 있다. PCR 패킷의 출력 타이밍이 본래의 출력 타이밍 보다도 늦어지면, 스트림 데이터 상의 PCR 값이 어긋나 버리므로, 연산값(k)보다도 약간 짧은 간격으로 패킷을 출력하는 것이 바람직하다.However, there is a possibility that the output timing of the PCR packet may be delayed when the bit rate is high and the number of packets existing between the PCR packets is large with respect to any packet. If the output timing of the PCR packet is slower than the original output timing, the PCR value on the stream data is shifted. Therefore, it is preferable to output the packet at a slightly shorter interval than the calculated value (k).

또한, 패킷 간격(k)은 실제로 기재되어 있는 스트림 데이터로부터 구할 수도 있다. 이러한 연산에 관해서는 후술하는 실시 형태로 설명한다.Also, the packet interval k may be obtained from the actually described stream data. Such calculation will be described in the following embodiments.

패킷(352) 출력 후에도, 상기와 마찬가지로, 패킷 버퍼(302)는 데이터 저장부(204)로부터 다음 패킷(354)을 취득하고, 이러한 패킷(354)이 PCR 패킷이 아닌 것으로 파악되면, 패킷(354)은 직전의 패킷(352)으로부터 소정 시간간격(k)을 거쳐, 패킷 출력 단자(320)로 출력된다. 이와 같은 처리가 패킷의 취득 때마다 반복되며, 하나의 PCR패킷으로부터 소정 시간 간격(k)을 두고 복수의 통상의 패킷이 출력된다.After outputting the packet 352, as described above, the packet buffer 302 acquires the next packet 354 from the data storage unit 204. If it is determined that the packet 354 is not a PCR packet, the packet 354 Is output from the immediately preceding packet 352 to the packet output terminal 320 via the predetermined time interval k. Such a process is repeated every time a packet is acquired, and a plurality of normal packets are output from one PCR packet at a predetermined time interval (k).

그리고, 다음 PCR 패킷인 패킷(356)이 PCR 패킷 판별부(304)에 인식되면, 패킷(PCR 패킷)(356)은 PCR 값과 카운트 값이 일치한 시점, 즉, PCR패킷이 본래 출력되어야 할 시점(도 7b에서의 시각 T2)에서 패킷 출력 단자(320)로부터 출력된다. 이렇게 하여 도 7b와 같이 패킷의 출력 타이밍이 균일화되고, TV 모니터(130)에서 위화감 없는 재생 영상을 얻을 수 있다.When the PCR packet determination unit 304 recognizes the packet 356 as the next PCR packet, the packet (PCR packet) 356 indicates that the PCR value and the count value coincide with each other, that is, And output from the packet output terminal 320 at the time point (time T2 in Fig. 7B). As a result, the output timing of the packet is made uniform as shown in Fig. 7B, and a reproduced video image without a sense of incongruity can be obtained in the TV monitor 130. [

또한, 도 7b에 나타낸 패킷의 출력 타이밍은, 도 3b에 나타낸 패킷 출력 타이밍과는 다르지만, 시각정보를 포함하고 있는 PCR 패킷의 출력 타이밍이 정확히 제어되고 있기 때문에, 도 7b에 나타낸 패킷을 수신한 방송 수신기(120)에서는 시각정보가 어긋나는 일 없이 늘 올바른 패킷 수신시각을 재현할 수 있고, 디코더 처리에 지장이 생기지 않는다.7B is different from the packet output timing shown in FIG. 3B. However, since the output timing of the PCR packet including the time information is accurately controlled, the output timing of the packet shown in FIG. The receiver 120 can always reproduce the correct packet reception time without deviating from the time information, and the decoder processing is not hindered.

도 7a 및 도 7b의 예에서는 설명의 간략화를 위해 패킷수를 적게 하여 설명하고 있는데, 그 수는 도 7a 및 도 7b와 같은 경우에 한정되지 않고, PCR 패킷 사이에 수천에서 수만의 패킷이 존재할 수도 있다.In the examples of FIGS. 7A and 7B, the number of packets is reduced for the sake of simplicity. However, the number of packets is not limited to the case of FIGS. 7A and 7B. have.

이하 패킷을 출력하는 시간간격(k)을 AV 데이터의 PCR 패킷을 이용하여 구하 는 구성을 설명한다.Hereinafter, a configuration in which a time interval (k) for outputting a packet is determined using a PCR packet of AV data will be described.

간격 연산부(210)는 상술한 바와 같이, 데이터 버퍼(212)에 저장된, 데이터 저장부(204)로부터의 AV 데이터의 연속하는 2개의 PCR 패킷에서의 PCR 값을 시각 차, 및 전후 2개의 PCR 패킷 사이에서의 통상의 패킷수로부터 소정 시간간격을 연산한다.As described above, the interval calculator 210 calculates the PCR value in two consecutive PCR packets of the AV data from the data storage unit 204 stored in the data buffer 212, A predetermined time interval is calculated from the normal number of packets.

도 8은 본 발명의 일 실시예에 따른 소정의 시간 간격의 연산을 설명하기 위한 데이터 버퍼(212)의 저장 패킷을 나타낸 설명도이다. 여기서는 데이터 버퍼(212)에 입력된 패킷 순으로 번호가 할당되어 있다.8 is an explanatory diagram showing a storage packet of the data buffer 212 for explaining an operation of a predetermined time interval according to an embodiment of the present invention. Here, numbers are assigned in the order of the packets input to the data buffer 212.

본 실시형태에서는, 예를 들어 16개의 패킷을 데이터 저장부(204)에서 한번에 독출하고, 간격 연산부(210)는 이러한 패킷군으로부터 PCR 패킷을 추출한다. 이 결과, 데이터 버퍼(212)에는 3개의 PCR 패킷(400, 402, 404)이 존재하는 것이 인식된다.In the present embodiment, for example, 16 packets are read out from the data storage unit 204 at one time, and the interval calculation unit 210 extracts PCR packets from these packet groups. As a result, it is recognized that three PCR packets 400, 402, 404 exist in the data buffer 212.

이어서, 간격 연산부(210)는 직전의 PCR 패킷을 2개 선택하고(400, 402), 그 PCR 패킷(400, 402)의 PCR 값을 참조한다. 여기서 PCR 패킷(400)의 PCR 값에는 T1의 시각이 포함되고, PCR 패킷(402)의 PCR 값에는 T2의 시각이 포함되어 있는 것으로 한다.Then, the interval calculator 210 selects two PCR packets immediately before (400, 402), and refers to PCR values of the PCR packets 400, 402. Here, it is assumed that the PCR value of the PCR packet 400 includes the time of T1, and the PCR value of the PCR packet 402 includes the time of T2.

다음에, 간격 연산부(210)는 상기 2개의 PCR 패킷 사이에 있는 패킷(통상의 패킷)의 수를 계수(count)한다. 여기서는, PCR 패킷 사이(406)에 5개의 패킷이 존재하고 있다.Next, the interval calculating unit 210 counts the number of packets (normal packets) between the two PCR packets. Here, five packets are present in the PCR packet interval 406.

이어서, 간격 연산부(210)는 PCR 값의 시각차(T2-T1)를 전후 2개의 PCR 패킷 사이에서의 통상의 패킷의 수 5에 1을 더한 수치 6으로 나눈다. 이로써 소정 시간간격(k)이 도출된다. 또한, 소정 시간간격(k)은 시각차(T2-T1)를 통상의 패킷수(5+1)로 나눈 값보다 짧게 설정될 수도 있다. 이것은, 나눗셈 후 소수점의 끝수를 버리거나 혹은 일정 비율로 똑같이(예를 들어 10~20%) 감산함으로써 실시된다. 이러한 처리에 의해 출력되는 통상의 패킷과 그 직후의 PCR 패킷의 충돌을 쉽게 방지할 수 있다. 이렇게 하여 구한 소정 시간 간격(k)은 스트림 파일에 관련된 관리 정보로서 파일에 기억될 수도 있다.Then, the interval calculator 210 divides the visual difference (T2-T1) of the PCR value by the number 6, which is obtained by adding 1 to 5 of the normal packets between the two PCR packets before and after. Whereby a predetermined time interval k is derived. Also, the predetermined time interval k may be set shorter than a value obtained by dividing the time difference T2-T1 by the normal number of packets (5 + 1). This is done by discarding the fraction of the decimal point after the division, or by subtracting it equally (for example, 10-20%) at a constant rate. It is possible to easily prevent collision between a normal packet output by this process and a PCR packet immediately thereafter. The predetermined time interval k thus obtained may be stored in a file as management information related to the stream file.

이러한 소정 시간 간격(k)의 연산은 실제로 스트림 데이터를 재생하고 있는 가운데 수행될 수도 있고, 재생 개시시 혹은 재생 개시전에 소정 시간간격(k)을 구할 목적으로 수행될 수도 있다. 여기서, 소정 시간간격(k)은 전송에 문제가 생기지 않을 정도로 고속화하는 것도 가능하며, 인터페이스부(124, 214)나 디코더(126)의 최대 비트레이트로부터 연산한 값으로 미리 설정할 수도 있다.The calculation of the predetermined time interval k may be performed while actually reproducing the stream data, or may be performed for the purpose of obtaining a predetermined time interval k at the start of reproduction or before the start of reproduction. The predetermined time interval k may be set to a value calculated from the maximum bit rate of the interface units 124 and 214 or the decoder 126. In this case,

상기한 바와 같이 구한 소정 시간간격(k)은 데이터 재생 제어부(202)에 의해 타이밍 제어부(208)내의 타이머(312)에 설정되고, 패킷의 출력 간격이 제어된다. 따라서, 타이밍 제어부(208)에 입력된 스트림 파일내의 패킷이 도 7b에 나타낸 바와 같은 간격으로 출력되게 된다.The predetermined time interval k obtained as described above is set in the timer 312 in the timing control unit 208 by the data reproduction control unit 202 and the output interval of the packet is controlled. Therefore, the packets in the stream file input to the timing control unit 208 are output at intervals as shown in FIG. 7B.

타이밍 제어부(208)에서 출력된 패킷은 인터페이스부(214)를 통해 외부의 방송 수신기(120)에 전송되고, 방송 수신기(120) 쪽의 인터페이스부(124)로부터 디코더(126)로 입력된다. 상기 패킷은 디코더(126)에서 소정의 영상 신호로 디코드된 후, TV 모니터(130)에 표시가 수행된다.The packet output from the timing control unit 208 is transmitted to the external broadcast receiver 120 through the interface unit 214 and is input from the interface unit 124 of the broadcast receiver 120 to the decoder 126. The packet is decoded into a predetermined video signal by the decoder 126, and then displayed on the TV monitor 130.

이상과 같이 하여, 소정 비율의 패킷만이 출력 타이밍을 가진 스트림 데이터(스트림 파일)이라도, 각 패킷의 출력 타이밍을 거의 일정하게 유지하여 출력할 수 있다. 또한, PCR 패킷의 출력 타이밍은 스트림 중의 시각정보와 동기하여 출력되므로, 정확한 시각정보를 가진 스트림의 출력을 실현할 수 있게 된다.As described above, even when only a predetermined number of packets are output stream data (stream file), the output timing of each packet can be kept almost constant and output. In addition, since the output timing of the PCR packet is outputted in synchronization with the time information in the stream, it is possible to realize output of a stream having accurate time information.

이로써, 방송 수신기(120)에서의 인터페이스부(124)나 디코더(126)에서의 시각정보의 관리가 올바로 수행되고, 패킷을 축적하는 버퍼의 관리가 쉬워지고, 데이터 재생 장치(200)에서의 재생에 문제를 일으키지 않게 된다.This makes it possible to correctly manage the time information in the interface unit 124 and the decoder 126 in the broadcast receiver 120 and to easily manage the buffer for storing the packets, And does not cause any problems.

또한, 본 실시형태에서는 도 7a와 도 8에 나타낸 바와 같이 AV 데이터의 패킷이 규칙적으로 나열되어 있는 경우뿐만 아니라, PCR 패킷과 통상의 패킷이 불규칙적으로 나열되어 있는 경우에도, 패킷의 적절한 출력 타이밍을 제공할 수 있다.In this embodiment, as shown in Figs. 7A and 8, not only when the packets of the AV data are regularly arranged but also when the PCR packets and the ordinary packets are irregularly arranged, .

상기 간격 연산부(210)가 데이터 버퍼(212)에 저장된, 데이터 저장부(204)의 AV 데이터의 연속하는 2개의 PCR 패킷에서의 PCR 값의 시각차, 및 전후 2개의 PCR 패킷 사이에서의 통상의 패킷의 수로부터 소정 시간간격을 연산하는 상기 처리는 시각차 혹은 통상의 패킷수가 변화하고 있는 한 항상 지속된다.The interval calculator 210 calculates the difference between the PCR value in the two consecutive PCR packets of the AV data of the data storage unit 204 stored in the data buffer 212 and the difference between the two PCR packets in the normal packet The processing for calculating the predetermined time interval from the number of packets is always continued as long as the time difference or the number of normal packets changes.

따라서, 시청하는 AV 데이터가 시각차나 통상의 패킷의 수가 불규칙한 AV 데이터이라 해도, 그 때마다 가장 적합한 소정 시간간격(k)을 도출할 수 있고, 그 소정 시간간격(k)에 의해 타이밍 제어부(208)는 패킷의 최적의 출력 레이트를 제공할 수 있게 된다. 이렇게 하여, 균일한 출력 간격을 유지할 수 있고, 보다 위화감 없는 재생 영상을 얻을 수 있다.Therefore, even if the AV data to be watched is AV data having irregular number of visual differences or normal packets, it is possible to derive the most suitable predetermined time interval k every time, and the timing control section 208 (k) ) Can provide the optimal output rate of the packet. In this way, a uniform output interval can be maintained, and a regenerated image can be obtained with no discomfort.

또한, 데이터 저장부(204)의 기억 내용에는 독자적인 시각정보 등이부착되지 않고, PC에서 기억한 상태와 똑같이 되므로, PC와의 포맷에 관한 호환성을 유지할 수 있다. 이렇게 하여 PC에서 기억한 기억 매체를 그대로 데이터 재생 장치에서 이용할 수 있고, 그 반대도 가능해진다.In addition, since independent time information and the like are not attached to the storage contents of the data storage unit 204, and the state is the same as that stored in the PC, compatibility with the format with the PC can be maintained. Thus, the storage medium stored in the PC can be used as it is in the data reproducing apparatus, and vice versa.

또한, 상술한 데이터 재생 장치로서 기능하는 프로그램이나 이 프로그램을 기억한 기억 매체도 제공된다.Further, a program functioning as the above-described data reproducing apparatus and a storage medium storing the program are also provided.

또한, 상술한 데이터 재생 장치(200)는 방송 수신기(120)와 일체 형성할 수 있다. 이하, 본 발명의 다른 일 실시예로서, 데이터 재생 장치(120)의 변형예를 설명한다.In addition, the above-described data reproduction apparatus 200 can be formed integrally with the broadcast receiver 120. Hereinafter, a modified example of the data reproducing apparatus 120 will be described as another embodiment of the present invention.

도 9는 본 발명의 다른 일 실시예로서 데이터 재생 장치(200)의 변형예의 구성을 나타내는 블록도이다. 데이터 재생 장치(200)의 변형예인 데이터 재생 장치(300)는 튜너(122), 디코더(126), 데이터 재생 제어부(202), 데이터 저장부(204), 데이터 독출부(206), 타이밍 제어부(208), 간격 연산부(210), 데이터 버퍼(212), 데이터 기입부(216), 및 리모콘 수신부(218)를 포함하여 구성된다.9 is a block diagram showing a configuration of a modification of the data reproducing apparatus 200 according to another embodiment of the present invention. The data reproducing apparatus 300 as a modification of the data reproducing apparatus 200 includes a tuner 122, a decoder 126, a data reproducing control unit 202, a data storing unit 204, a data reading unit 206, a timing controlling unit 208, an interval calculating unit 210, a data buffer 212, a data writing unit 216, and a remote control receiving unit 218.

상기 구성 요소는 제1 실시형태에서의 구성 요소와 실질적으로 기능이 동일하므로, 중복 설명을 생략하고, 여기서는 그 기능에서 다른 점만 설명한다.Since the constituent elements are substantially the same in function as the constituent elements in the first embodiment, duplicate explanations are omitted, and only different points are described here.

상기 데이터 재생 장치(300)는 방송 수신기로서의 튜너(122)와 디코더(126)를 구비하고, 안테나(110)로 수신된 AV 데이터를 TV 모니터(130)로 재생할 수 있는 형식으로 변환하여 TV 모니터(130)로 송신한다. 동시에, 데이터 재생 장치(300)는 안테나(110)로 수신된 AV 데이터를 기억하고, 또한 그 기억한 AV 데이터를 재생할 수 있다.The data reproducing apparatus 300 includes a tuner 122 as a broadcast receiver and a decoder 126. The data reproducing apparatus 300 converts the AV data received by the antenna 110 into a format that can be reproduced by the TV monitor 130, 130). At the same time, the data reproducing apparatus 300 can store the AV data received by the antenna 110 and reproduce the stored AV data.

이러한 구성에서는, 타이밍 제어부(208)에 의해 출력 타이밍이 조정된 패킷이 데이터의 부가 등 전혀 가공되는 일 없이 디코더(126)를 통해 직접 TV 모니터(130)로 송신되므로, 저렴한 비용 또는 신뢰성 높은 영상 재생을 수행할 수 있게 된다.In such a configuration, since the packet whose output timing is adjusted by the timing control unit 208 is directly transmitted to the TV monitor 130 through the decoder 126 without any processing such as addition of data, . &Lt; / RTI &gt;

또한, 데이터 재생 장치(300)의 출력 시점에서 타이밍 조정되어 있기 때문에, TV 모니터(130) 이외의, 예를 들어 PC(퍼스널 컴퓨터)에 접속한 경우에도 위화감 없는 영상을 얻을 수 있다.In addition, since the timing is adjusted at the output timing of the data reproducing apparatus 300, even when connected to a PC (personal computer) other than the TV monitor 130, for example, a video without discomfort can be obtained.

이하 본 발명의 일 실시예에 따른 데이터 재생 방법을 설명한다.Hereinafter, a data reproducing method according to an embodiment of the present invention will be described.

도 10은 본 발명의 일 실시예에 따른 데이터 재생 방법의 흐름을 나타낸 플로우 챠트이다.10 is a flowchart showing a flow of a data reproducing method according to an embodiment of the present invention.

우선, 사용자의 리모콘 조작에 의해 기억된 AV 데이터의 재생이 개시되면(S500), 데이터 독출부(206)가 AV 데이터를 독출하고(S502), 타이밍 제어부(208)는 그 독출된 AV 데이터의 패킷이 PCR 패킷인 경우, 그 PCR 값을 기초로 PCR 패킷을 출력하고, 그 독출된 AV 데이터의 패킷이 통상의 패킷인 경우, PCR 패킷으로부터 소정 시간 간격(k)을 두고 통상의 패킷을 출력한다(S504).First, when the reproduction of the AV data stored by the user's remote control operation is started (S500), the data reading unit 206 reads the AV data (S502), and the timing control unit 208 reads out the AV data In the case of this PCR packet, a PCR packet is output based on the PCR value. If the readout AV data packet is a normal packet, a normal packet is output from the PCR packet with a predetermined time interval (k) ( S504).

이러한 소정 시간간격은 데이터 저장부(204)의 AV 데이터의 연속하는 2개의 PCR 패킷에서의 PCR 값의 시각차를 2개의 PCR 패킷 사이에서의 통상의 패킷의 수 +1로 나눔으로써 구해진다. 이 소정 시간간격은 시각차나 통상의 패킷수의 변화에 따라 수시로 변경될 수도 있다.This predetermined time interval is obtained by dividing the time difference of PCR values in two consecutive PCR packets of AV data in the data storage unit 204 by the number of normal packets between two PCR packets + 1. This predetermined time interval may be changed from time to time in accordance with a change in the visual difference or the number of ordinary packets.

그리고, 인터페이스부(214)는 타이밍 제어부(208)로부터 출력된 PCR 패킷 및 통상의 패킷을 외부로 출력한다(S506).Then, the interface unit 214 externally outputs the PCR packet and the normal packet output from the timing control unit 208 (S506).

이어서, 상기 출력 타이밍 조정(S504)의 처리를 상세히 설명한다.Next, the processing of the output timing adjustment (S504) will be described in detail.

도 11은 본 발명의 일 실시예에 따른 데이터 재생 방법에서 출력 타이밍의 조정 방법의 흐름을 나타낸 플로우 챠트이다. 여기서는 패킷 버퍼(302)에 입력된 패킷의 출력 타이밍을 각각의 패킷 종류에 따라 결정하고 있다.11 is a flow chart showing a flow of a method of adjusting output timing in a data reproducing method according to an embodiment of the present invention. Here, the output timing of the packet input to the packet buffer 302 is determined according to each packet type.

우선, 기억된 AV 데이터의 재생이 개시되면(S550), 패킷 버퍼(302)는 데이터 저장부(204)로부터의 패킷을 하나 취득한다(S552).First, when reproduction of the stored AV data is started (S550), the packet buffer 302 acquires one packet from the data storage unit 204 (S552).

이어, PCR 패킷 판별부(304)는 취득한 패킷이 PCR 패킷인지 아닌지 판별한다(S554). 취득한 패킷이 PCR 패킷인 경우, PCR 패킷 판별부(304)는 타이밍 변환부(316)의 입력으로서 일치검출부(310)의 출력을 선택하여 일치 검출부(310)로부터 출력된 패킷 출력 개시 신호가 타이밍 변환부(316)를 통해 출력 제어부(318)에 입력되도록 제어한다.Next, the PCR packet determination unit 304 determines whether the acquired packet is a PCR packet or not (S554). When the acquired packet is a PCR packet, the PCR packet determination unit 304 selects the output of the match detection unit 310 as an input to the timing conversion unit 316 and outputs the packet output start signal output from the match detection unit 310 to the timing conversion (316) to the output control unit (318).

이와 병행하여 PCR 추출부(306)는 패킷 버퍼(302)에서 취득한 패킷의 PCR 값을 추출하고, 일치 검출부(310)에 입력한다. 일치 검출부(310)는 PCR 추출부에서 추출된 PCR 값과, 카운터에서 생성한 카운트값을 비교하고, 양자가 일치할 때까지 대기한다(S556). PCR 값과 카운트 값이 일치하면, 일치 검출부(310)로부터 패킷 출력 개시 신호가 출력되고, 타이밍 변환부(316)를 통해 출력 제어부(318)에 입력된다.In parallel with this, the PCR extraction unit 306 extracts the PCR value of the packet acquired from the packet buffer 302, and inputs the PCR value to the coincidence detection unit 310. The coincidence detecting unit 310 compares the PCR value extracted by the PCR extracting unit with the count value generated at the counter, and waits until the two match (S556). When the PCR value and the count value match, a packet output start signal is output from the match detection unit 310 and is input to the output control unit 318 through the timing conversion unit 316.

또한, 취득한 패킷이 PCR 패킷 이외의 통상의 패킷인 경우, PCR 패킷 판별부(304)는 타이밍 변환부(316)의 출력 타이밍의 입력으로서, 타이머(312) 쪽을 선택 하고, 타이머(312)로부터 출력되는 패킷 출력 개시 신호가 출력 제어부(318)에 입력되도록 제어한다.When the acquired packet is a normal packet other than the PCR packet, the PCR packet discrimination section 304 selects the timer 312 side as the input of the output timing of the timing conversion section 316, And controls the output control unit 318 to output the packet output start signal.

이와 병행하여, 타이머(312)는 직전 PCR 패킷으로부터 상기에서 구한 소정의 시간간격 만큼 대기하고(S558), 소정의 시간간격이 경과하면 타이머(312)로부터 패킷 출력 개시 신호가 출력되고, 타이밍 변환부(316)를 통해 출력 제어부(318)로 입력된다.At the same time, the timer 312 waits for a predetermined time interval obtained from the immediately preceding PCR packet (S558). When a predetermined time interval elapses, a packet output start signal is outputted from the timer 312, Is input to the output control unit 318 through the input / output unit 316.

출력 제어부(318)는 타이밍 변환부(316)로부터의 출력 개시 신호에 따라 패킷의 출력을 수행하고(S560), 기억된 AV 데이터의 재생이 종료할 때까지 이러한 처리를 반복한다.The output control unit 318 performs the output of the packet in accordance with the output start signal from the timing conversion unit 316 (S560), and repeats this process until the playback of the stored AV data ends.

이상, 첨부도면을 참조하면서 본 발명의 바람직한 실시형태에 대해 설명했는데, 본 발명은 이러한 예에 한정되지 않는 것은 두말할 필요도 없다. 당업자라면 특허청구의 범위에 기재된 범주 내에서 각종 변경예 또는 수정예를 생각해낼 수 있으며, 그에 대해서도 당연히 본 발명의 기술적 범위에 속하는 것이라고 이해된다.While the preferred embodiments of the present invention have been described with reference to the accompanying drawings, it is needless to say that the present invention is not limited to these examples. It will be understood by those skilled in the art that various changes or modifications may be made without departing from the spirit and scope of the present invention as defined by the appended claims.

예를 들어, 상술한 실시형태에 있어서는 PCR 패킷간의 통상의 패킷을 균일하게 함으로써 영상의 재생 스피드를 유지하는 것을 기술하고 있는데, 이러한 경우에 한정하지 않고, 예를 들어, NULL 패킷의 보충을 적절히 수행하고, 소정의 시간간격이 일정하고, 또한 PCR 패킷간에 통상의 패킷 이외의 잔여 간격이 있는 경우 등도 생각할 수 있다.For example, in the above-described embodiment, the normal reproduction packets between the PCR packets are made uniform to maintain the reproduction speed of the video. However, the present invention is not limited to this case. For example, A case where a predetermined time interval is constant, and a residual interval other than a normal packet exists between PCR packets can be considered.

또한, 본 명세서의 데이터 재생 방법에서의 각 공정은 반드시 플로우 챠트로 기재된 순서에 따라 시계열로 처리할 필요가 없고, 병렬적 혹은 개별적으로 시행되 는 처리(예를 들어, 병렬처리 혹은 오브젝트에 의한 처리)도 포함할 수도 있다.It is to be noted that each step in the data reproducing method of the present invention does not necessarily have to be processed in a time series according to the procedure described in the flow chart, and processing that is performed in parallel or individually (for example, ) May also be included.

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장 장치 등이 있다.The present invention can be embodied as a computer readable code on a computer-readable recording medium (including all devices having an information processing function). A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like.

비록 상기 설명이 다양한 실시예들에 적용되는 본 발명의 신규한 특징들에 초점을 맞추어 설명되었지만, 본 기술 분야에 숙달된 기술을 가진 사람은 본 발명의 범위를 벗어나지 않으면서도 상기 설명된 장치 및 방법의 형태 및 세부 사항에서 다양한 삭제, 대체, 및 변경이 가능함을 이해할 것이다. 따라서, 본 발명의 범위는 상기 설명에서보다는 첨부된 특허청구범위에 의해 정의된다. 특허청구범위의 균등 범위 안의 모든 변형은 본 발명의 범위에 포섭된다.Although the foregoing is directed to novel features of the present invention that are applicable to various embodiments, those skilled in the art will appreciate that the apparatus and method described above, without departing from the scope of the present invention, It will be understood that various deletions, substitutions, and alterations can be made in form and detail without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention is defined by the appended claims rather than the foregoing description. All variations within the scope of the appended claims are embraced within the scope of the present invention.

이상 설명한 바와 같이 본 발명에 의하면, MPEG2-TS 형식과 같은 일부의 패킷에만 시각정보가 부가되어 있는 AV 데이터라도 영상의 전송시간을 유지하여 위화감 없는 영상을 재생할 수 있다.As described above, according to the present invention, it is possible to reproduce an image without discomfort by maintaining the transmission time of the AV data even if AV data having time information added only to a part of packets such as the MPEG2-TS format.

Claims (7)

AV 데이터를 독출하는 데이터 독출부; 및A data reading unit for reading AV data; And 상기 독출된 AV 데이터의 패킷이 시각 정보가 부가된 시각 정보 패킷인 경우 상기 시각 정보를 기초로 하여 상기 시각 정보 패킷을 출력하고, 상기 독출된 AV 데이터의 패킷이 상기 시각 정보 패킷이 아닌 통상의 패킷인 경우 상기 시각 정보 패킷의 출력 시각과 소정의 시간 간격을 두고 상기 통상의 패킷을 출력하는 타이밍 제어부를 포함하는 것을 특징으로 하는 데이터 재생 장치.When the packet of the read AV data is a time information packet to which time information is added, outputs the time information packet based on the time information, and when the packet of the read AV data is not the time information packet, And outputs the normal packet at a predetermined time interval with the output time of the time information packet. 제1항에 있어서, The method according to claim 1, 상기 AV 데이터의 연속하는 2개의 시각 정보 패킷에 포함된 2개의 시각 정보에 각각 대응하는 2개의 시각의 차이, 및 상기 2개의 시각 정보 패킷 사이에 있는 통상의 패킷의 수를 이용하여 상기 소정의 시간 간격을 연산하는 간격 연산부를 더 포함하는 것을 특징으로 하는 데이터 재생 장치.Using the difference between two times corresponding to two pieces of time information included in two consecutive pieces of time information packets of the AV data and the number of ordinary packets between the two pieces of time information packets, And an interval calculator for calculating an interval. 제2항에 있어서,3. The method of claim 2, 상기 간격 연산부는 상기 시각의 차이 또는 통상의 패킷의 수가 변화하는 경우 상기 소정의 시간 간격을 갱신하는 것을 특징으로 하는 데이터 재생 장치.Wherein the interval calculation unit updates the predetermined time interval when the difference in time or the number of normal packets changes. 제2항에 있어서,3. The method of claim 2, 상기 시간 간격은 상기 시각의 차이를 상기 통상의 패킷의 수에 1을 더한 값으로 나눈 값과 같거나 작은 것을 특징으로 하는 데이터 재생 장치.Wherein the time interval is equal to or smaller than a value obtained by dividing the time difference by a value obtained by adding 1 to the number of normal packets. 제1항에 있어서, 상기 타이밍 제어부는,The apparatus according to claim 1, 상기 AV 데이터 패킷을 저장하는 패킷 버퍼;A packet buffer for storing the AV data packet; 상기 패킷 버퍼에 저장된 패킷이 시각 정보 패킷인지를 판별하는 시각 정보 패킷 판별부;A time information packet discrimination unit for discriminating whether a packet stored in the packet buffer is a time information packet; 상기 패킷 버퍼에 저장된 패킷의 시각 정보를 추출하는 시각 정보 추출부;A time information extracting unit for extracting time information of a packet stored in the packet buffer; 일정 시간 간격으로 증가하는 클럭을 생성하는 카운터;A counter for generating a clock that increases in a predetermined time interval; 상기 시각 정보와 상기 카운터의 클럭 값이 일치하는 시점에 제1 출력 개시 신호를 생성하는 일치 검출부;A coincidence detector for generating a first output start signal at a time point when the time information coincides with the clock value of the counter; 상기 제1 출력 개시 신호를 기준으로 상기 소정의 시간 간격으로 제2 출력 개시 신호를 생성하는 타이머;A timer for generating a second output start signal at the predetermined time interval based on the first output start signal; 상기 시각 정보 패킷 판별부의 판별을 기초로, 상기 패킷 버퍼에 저장된 패킷이 시각 정보 패킷인 경우 상기 제1 출력 개시 신호를 출력 개시 신호로 선택하고, 상기 패킷 버퍼에 저장된 패킷이 시각 정보 패킷이 아닌 경우 상기 제2 출력 개시 신호를 출력 개시 신호로 선택하는 타이밍 변환부; 및 The first output start signal is selected as the output start signal when the packet stored in the packet buffer is a time information packet based on the discrimination of the time information packet discrimination unit and when the packet stored in the packet buffer is not a time information packet A timing converter for selecting the second output start signal as an output start signal; And 상기 출력 개시 신호에 따라 상기 패킷 버퍼에 저장된 패킷을 출력하는 출력 제어부를 포함하는 것을 특징으로 하는 데이터 재생 장치.And an output control unit for outputting a packet stored in the packet buffer according to the output start signal. AV 데이터를 독출하는 단계; 및Reading AV data; And 상기 독출된 AV 데이터의 패킷이 시각 정보가 부가된 시각 정보 패킷인 경우 상기 시각 정보를 기초로 하여 상기 시각 정보 패킷을 출력하고, 상기 독출된 AV 데이터의 패킷이 상기 시각 정보 패킷이 아닌 통상의 패킷인 경우 상기 시각 정보 패킷의 출력 시각과 소정의 시간 간격을 두고 상기 통상의 패킷을 출력하는 단계를 포함하는 것을 특징으로 하는 데이터 재생 방법.When the packet of the read AV data is a time information packet to which time information is added, outputs the time information packet based on the time information, and when the packet of the read AV data is not the time information packet, And outputting the normal packet at a predetermined time interval with the output time of the time information packet. AV 데이터를 독출하는 단계; 및Reading AV data; And 상기 독출된 AV 데이터의 패킷이 시각 정보가 부가된 시각 정보 패킷인 경우 상기 시각 정보를 기초로 하여 상기 시각 정보 패킷을 출력하고, 상기 독출된 AV 데이터의 패킷이 상기 시각 정보 패킷이 아닌 통상의 패킷인 경우 상기 시각 정보 패킷의 출력 시각과 소정의 시간 간격을 두고 상기 통상의 패킷을 출력하는 단계를 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.When the packet of the read AV data is a time information packet to which time information is added, outputs the time information packet based on the time information, and when the packet of the read AV data is not the time information packet, And outputting the normal packet at a predetermined time interval with the output time of the time information packet when the time information packet is output.
KR1020060026474A 2005-11-29 2006-03-23 Apparatus for reproducing data and method therefor KR100739802B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005343994A JP2007150845A (en) 2005-11-29 2005-11-29 Data reproducing apparatus, data reproducing method, and program thereof
JPJP-P-2005-00343994 2005-11-29

Publications (2)

Publication Number Publication Date
KR20070056895A true KR20070056895A (en) 2007-06-04
KR100739802B1 KR100739802B1 (en) 2007-07-13

Family

ID=38211696

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060026474A KR100739802B1 (en) 2005-11-29 2006-03-23 Apparatus for reproducing data and method therefor

Country Status (2)

Country Link
JP (1) JP2007150845A (en)
KR (1) KR100739802B1 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100243416B1 (en) * 1997-12-17 2000-02-01 이계철 Method and apparatus for re-multiplexing in mpeg-2 ts
JP3910763B2 (en) * 1999-08-18 2007-04-25 株式会社東芝 Data multiplexing apparatus and recording medium recording program
JP4491970B2 (en) 2001-01-10 2010-06-30 ソニー株式会社 Digital signal multiplexer
US6868125B2 (en) 2001-11-29 2005-03-15 Thomson Licensing S.A. Transport stream to program stream conversion
KR100546640B1 (en) * 2003-03-11 2006-01-26 엘지전자 주식회사 Digital Video record/playback system and trick playback method
JP4026556B2 (en) * 2003-07-02 2007-12-26 松下電器産業株式会社 Data transmission device
KR20050058924A (en) * 2003-12-13 2005-06-17 엘지전자 주식회사 Method of detecting a/v synchronous error in mpeg-2 system
JP4875832B2 (en) * 2004-02-02 2012-02-15 キヤノン株式会社 Transfer device, program, and computer-readable storage medium
JP3980010B2 (en) * 2004-04-01 2007-09-19 三菱電機株式会社 Stream transmission device

Also Published As

Publication number Publication date
JP2007150845A (en) 2007-06-14
KR100739802B1 (en) 2007-07-13

Similar Documents

Publication Publication Date Title
KR100984638B1 (en) Robust method for achieving audio/video synchronization in mpeg decoders in personal video recording applications
US6956869B1 (en) Data recording and/or reproducing apparatus, method, and system and recording medium
JP3516206B2 (en) Data stream processing apparatus and method, and program storage medium
CN102640511A (en) Method and system for playing video information, and video information content
US7865064B2 (en) Recording/output apparatus and recording/output method
US6879768B1 (en) Information processing apparatus, method therefor and memory medium storing information processing program
KR101014664B1 (en) Reproduction method for guaranteeing seamless reproduction of a plurality of data streams and reproducing apparatus therefor
JPH08339630A (en) Multichannel selector, multichannel recorder, multichannel reproducer, multichannel recorder and reproducer, data compressor and data expander
US8359413B2 (en) Data stream buffer control using reference time and decoding time
KR20070008069A (en) Appratus and method for synchronizing audio/video signal
JPH10334615A (en) Reference clock reproducing apparatus and recording apparatus
US20040233996A1 (en) Reproducing apparatus and method, and recording medium
JP3558983B2 (en) Digital broadcast recording and playback device
JP6957186B2 (en) Information processing equipment, information processing methods, programs, and recording medium manufacturing methods
JP4186514B2 (en) Broadcast receiver
US20050135368A1 (en) Stream data receiving apparatus
US7274863B2 (en) Data stream processing device and method and program storage medium
KR100739802B1 (en) Apparatus for reproducing data and method therefor
JPH11205789A (en) Transmission rate converter of mpeg2 transport stream
JP4366038B2 (en) Television broadcast processing apparatus and control method for television broadcast processing apparatus
JPH1023370A (en) Digital video recorder
US7653289B1 (en) Stream converting method and apparatus thereof, and stream recording method and apparatus thereof
JP2001359049A (en) Method and device for recording/reproducing program
JP2001339688A (en) Playback equipment of transport stream
JP4254007B2 (en) Playback apparatus and method, and recording medium

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

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140627

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170629

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee