KR20060071293A - Apparatus for mpeg playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof - Google Patents

Apparatus for mpeg playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof Download PDF

Info

Publication number
KR20060071293A
KR20060071293A KR1020050071719A KR20050071719A KR20060071293A KR 20060071293 A KR20060071293 A KR 20060071293A KR 1020050071719 A KR1020050071719 A KR 1020050071719A KR 20050071719 A KR20050071719 A KR 20050071719A KR 20060071293 A KR20060071293 A KR 20060071293A
Authority
KR
South Korea
Prior art keywords
decoding
frame
driving voltage
mpeg
operating frequency
Prior art date
Application number
KR1020050071719A
Other languages
Korean (ko)
Other versions
KR100772502B1 (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 KR20060071293A publication Critical patent/KR20060071293A/en
Application granted granted Critical
Publication of KR100772502B1 publication Critical patent/KR100772502B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/156Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치 및 그 방법을 개시한다.The present invention discloses an MPEG playback apparatus and method using variations in operating frequency and driving voltage according to decoding time prediction.

본 발명에 의하면, 프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 장치에 있어서, 디코딩할 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 획득부, 디코딩할 MPEG 프레임 종류 및 크기 정보를 이용하여 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 예측부, 프레임 디코딩이 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 설정부 및 설정된 주파수 및 구동 전압에 따라 프로세서를 구동하여 MPEG 프레임을 디코딩하는 디코딩부를 포함하여, 종래의 MPEG 디코딩과 비교하여 볼 때, 종래에는 디코딩의 실시간성을 위해 디코딩 사이에 대기 상태를 두었던 것을 본 발명에 따라 MPEG 프레임 디코딩에 필요한 계산량 및 시간을 예측하여 디코딩의 실시간을 보장하는 데드라인 시간을 넘지 않는 선에서 최소한의 프로세서의 동작주파수와 구동전압을 설정함으로써 MPEG 재생 장치에서의 전력소모를 최소화하는 효과가 있다. According to the present invention, an apparatus for decoding and playing MPEG decoding using a processor, comprising: an acquiring unit for obtaining information about a type and a data size of an MPEG frame to be decoded, and a processor using the type and size information of an MPEG frame to be decoded; Predictor for estimating the amount of work required for frame decoding and the time required for decoding, and setting for setting the minimum operating frequency of the processor and the corresponding driving voltage for the frame decoding to finish within the deadline time for real-time playback of MPEG frames. And a decoding unit for decoding the MPEG frame by driving the processor in accordance with the set frequency and the driving voltage, and compared with the conventional MPEG decoding, it is seen that there is a conventional standby state between decoding for real time decoding. Calculation required for decoding MPEG frames according to the invention By predicting the amount and time, the minimum operating time and driving voltage of the processor are set within the deadline that guarantees real-time decoding, thereby minimizing power consumption in the MPEG playback device.

Description

디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치 및 그 방법 {Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof}Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method

도 1a는 종래의 셧 다운 메커니즘의 개념적인 예를 보여준다. 1A shows a conceptual example of a conventional shutdown mechanism.

도 1b는 도 1a의 작업에 동적 전압 변동을 개념적으로 도입한 결과를 도시한 것이다.FIG. 1B illustrates the results of conceptually introducing dynamic voltage fluctuations into the operation of FIG. 1A.

도 2는 fps가 30인 경우에 3개의 프레임을 디코딩 하는 타이밍을 도시한 것이다.2 shows timing for decoding three frames when fps is 30.

도 3은 본 발명에 따라 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치의 구성을 블록으로 도시한 것이다.3 is a block diagram showing the configuration of an MPEG playback apparatus using variation in operating frequency and driving voltage according to decoding time prediction according to the present invention.

도 4는 본 발명에 따라 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법의 흐름을 도시한 것이다.4 is a flowchart illustrating an MPEG reproduction method using operating frequency and driving voltage variations according to decoding time prediction according to the present invention.

도 5는 본 발명에 따른 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법의 일 실시예의 흐름을 도시한 것이다.FIG. 5 illustrates a flow of an embodiment of an MPEG reproduction method using fluctuations in operating frequency and driving voltage according to decoding time prediction according to the present invention.

도 6은 본 발명에 따라 도 2의 타이밍이 변한 상태의 예를 도시한 것이다.6 illustrates an example of a state in which the timing of FIG. 2 is changed according to the present invention.

본 발명은 엠펙 분야에 관한 것으로서, 엠펙 디코딩을 실시간으로 실행하면서도 전력소모를 최소화할 수 있는 장치 및 그 방법에 관한 것이다.The present invention relates to the field of MPEG, and relates to an apparatus and a method for minimizing power consumption while executing MPEG decoding in real time.

이동 기기의 프로세서에서의 에너지 소모는 이동컴퓨팅 작업이 복잡해지고 내장형 시스템의 증가로 인하여 전체 시스템의 에너지 소모의 많은 부분을 차지하고 있다. 프로세서의 전력 소모는 프로세서의 동작 주파수에 비례하고 또한 프로세서의 구동전압의 제곱에 비례한다. 따라서 프로세서의 구동 전압을 낮추는 것이 프로세서의 소비전력을 줄이는 가장 효율적인 방법이지만 구동 전압을 낮추면 그에 비례하여 프로세서의 동작주파수를 낮추어야 하므로 시스템 성능이 낮아지는 것을 감수해야 한다. 즉 전압을 낮추는 것은 에너지 소모를 줄이는 효과적인 방법이지만 단순히 전압을 낮추는 것은 시스템 성능의 저하를 가져오므로 시스템 성능의 저하를 최소화하면서 전력소모를 줄이는 방법이 필요하다. Energy consumption in the processor of a mobile device is a large part of the energy consumption of the entire system due to the complexity of mobile computing tasks and the increase of embedded systems. The power consumption of the processor is proportional to the operating frequency of the processor and also to the square of the driving voltage of the processor. Therefore, lowering the driving voltage of the processor is the most efficient way to reduce the power consumption of the processor. However, lowering the driving voltage has to lower the operating frequency of the processor in proportion to the lower the system performance. In other words, lowering the voltage is an effective way to reduce energy consumption, but simply lowering the voltage leads to a decrease in system performance. Therefore, there is a need for a method of reducing power consumption while minimizing the decrease in system performance.

이와 관련하여 동적 전압 변동(Dynamic Voltage Scaling, 이하 DVS라고 함)은 이러한 시스템의 성능과 전력소모의 트레이드오프(tradeoff)를 적절히 조절하기 위하여 전압 스케쥴러(scheduler)로 하여금 프로세서의 동작 전압을 런 타임(run-time)에 바꿔줌으로써 에너지 소모를 줄이는 기술이다. In this regard, Dynamic Voltage Scaling (DVS) allows the voltage scheduler to set the processor's operating voltage at run time to properly adjust the performance and tradeoffs of power consumption. This technique reduces energy consumption by changing the run-time.

도 1a는 종래의 셧 다운 메커니즘의 개념적인 예를 보여준다. 1A shows a conceptual example of a conventional shutdown mechanism.

셧 다운(shutdown) 메커니즘은 프로세서에서의 전력 소모를 줄이는 전통적인 방법으로 프로세서의 아이들(idle) 시간에는 프로세서의 동작을 멈추는 방법이다. 도 1a에서 X축은 시간을 나타내고, Y축은 전압과 프로세서의 클락 주파수(clock frequency)를 나타낸다. T1, T2 및 T3의 각 작업에 필요로 하는 작업량은 시간과 전압으로 구성된 T1, T2 및 T3에 대응하는 사각형의 면적과 같다. Shutdown mechanisms are a traditional way of reducing power consumption in a processor. The shutdown mechanism is a method of shutting down a processor at idle time. In FIG. 1A, the X axis represents time and the Y axis represents voltage and clock frequency of the processor. The amount of work required for each of T1, T2, and T3 is equal to the area of the rectangle corresponding to T1, T2, and T3, which is composed of time and voltage.

도 1a는 3개의 작업이 최대 전압으로 수행되고 아이들 시에는 셧 다운되며 전체 에너지 소모는 8 [energy unit]이다.FIG. 1A shows that three tasks are performed at full voltage and shut down when idle and the total energy consumption is 8 [energy unit].

도 1b는 도 1a의 작업에 동적 전압 변동을 개념적으로 도입한 결과를 도시한 것이다.FIG. 1B illustrates the results of conceptually introducing dynamic voltage fluctuations into the operation of FIG. 1A.

도 1 b에서는 전압이 T1, T2 및 T3 각각 3/5, 1/3, 2/3으로 설정되며 에너지 소모는 2.97 ((3/5)2 x (3/5)x5 + (1/3)2 x (1/3)x3 + (2/3)2 x (2/3)x6 = 2.97) [energy unit]로 계산되어진다.In FIG. 1 b, the voltage is set to 3/5, 1/3, 2/3, respectively, T1, T2, and T3, and the energy consumption is 2.97 ((3/5) 2 x (3/5) x5 + (1/3) 2 x (1/3) x3 + (2/3) 2 x (2/3) x6 = 2.97) [energy unit].

DVS 즉, 동적 전압 조정에 의하여 에너지 소모를 최소화하기 위해서는 시스템의 작업량에 대한 정확한 예측을 통하여 그 작업량에 맞는 클럭 속도와 동작 전압을 가해야 한다. 다음 작업량에 대한 예측은 주로 이전의 시스템 작업량에 대한 분석을 통해서 이루어지며 작업량의 변화가 클 경우에는 정확한 예측이 어렵다.In order to minimize energy consumption by dynamic voltage regulation, DVS requires accurate prediction of the system's workload to add clock speeds and operating voltages for that workload. Predictions for the next workload are mainly based on the analysis of previous system workloads, and it is difficult to make accurate predictions when the workload changes greatly.

현재의 많은 프로세서들은 다수의 전압 및 동작 주파수 레벨을 가지고 있고 이들을 사용자의 요구에 따라서 동적으로 바꿀 수 있다. 또한 효율적인 DC-DC 변환기를 통하여 전압의 변동에 의한 지연(latency)을 최소화 할 수 있다.Many current processors have multiple voltage and operating frequency levels and can change them dynamically according to user needs. In addition, through the efficient DC-DC converter it is possible to minimize the latency (latency) caused by the change in voltage.

한편 이동컴퓨팅의 어플리케이션에서 점차 멀티미디어의 비중이 커지고 있으며 그 핵심에 있는 엠펙(MPEG) 디코더는 많은 프로세서 파워를 요구하고 따라서 전 력소모가 큰 어플리케이션이다. On the other hand, the multimedia portion of mobile computing applications is gradually increasing, and the MPEG decoder at its core requires a lot of processor power and thus is a power-consuming application.

MPEG 디코더의 특징은 프레임의 디코딩 시간의 변화가 크다는 것인데 이로 인하여 이전 단계의 작업량에 기초하여 다음 단계에 대한 작업량을 예측하는 것이 어렵기 때문에 이에 기반한 동적 전압 조정은 효율적이지 않다. The characteristic of the MPEG decoder is that the decoding time of the frame is large, which makes it difficult to predict the workload for the next step based on the workload of the previous step, and thus the dynamic voltage adjustment based on this is not efficient.

MPEG 스트림은 프레임들의 배열로 이루어져 있다. 프레임은 I 프레임, P 프레임 및 B프레임의 3가지 종류로 되어있고 이 프레임들이 규칙을 가지고 반복된다. 규칙을 가지고 반복되는 최소 단위의 프레임들의 집합을 GOP(Group Of Pictures)라고 한다. An MPEG stream consists of an array of frames. There are three types of frames: I frames, P frames, and B frames, and these frames are repeated with rules. The set of frames of the smallest unit that repeats with a rule is called a group of pictures (GOP).

이러한 프레임들의 디코딩 시간은 프레임의 크기에 비례하며 종류에 따라서 다르다. 따라서 프레임의 종류와 크기에 대한 정보를 가지고 어떤 시스템에서의 프레임 디코딩 시간을 예측할 수 있는데, 이러한 방법은 A. Bavier, et al.의 Predicting MPEG execution time, SIGPMETRICS/ PERFORMANCE '98, Int,l Conf. on Measurement and Modeling of Computer Systems, pp. 131-140, Jun. 1998에 기술되어 있다.The decoding time of these frames is proportional to the size of the frame and depends on the type. Therefore, it is possible to estimate the frame decoding time in a system with information on the type and size of the frame. This method is described in A. Bavier, et al., Predicting MPEG execution time, SIGPMETRICS / PERFORMANCE '98, Int, l Conf. on Measurement and Modeling of Computer Systems, pp. 131-140, Jun. Described in 1998.

MPEG 디코딩의 또 다른 특징은 실시간성을 지원해야 한다는 것이다. 실시간성을 지원하기 위하여 각 프레임의 디코딩은 미리 정해진 초당 프레임(frame per second, fps) 값에 의해 정해진 시간 내에 이루어져야 한다. 즉, 30 fps로 재생해야 할 경우에는 1/30초 안에 하나의 프레임이 디코딩 되어야 한다.Another feature of MPEG decoding is that it must support real-time. In order to support real time, decoding of each frame must be performed within a predetermined time by a predetermined frame per second (fps) value. In other words, when 30 fps is to be played, one frame must be decoded within 1/30 second.

이를 위해 전형적인 MPEG 재생 장치는 프레임 디코딩이 시작된 후부터 디코딩 종료 시까지의 시간을 재서 1/30초 미만일 경우에는 1/30초가 될 때까지 대기 (waiting)하고 1/30초를 초과할 경우에는 다음 프레임을 드롭(drop)하고 그 다음 프레임을 디코딩한다.For this purpose, a typical MPEG playback device measures the time from the start of frame decoding until the end of decoding, waiting for 1/30 seconds if less than 1/30 seconds and waiting for the next frame if it exceeds 1/30 seconds. Drop and decode the next frame.

도 2는 fps가 30인 경우에 3개의 프레임(F1, F2, F3)을 디코딩 하는 타이밍을 도시한 것이다. Y축은 이전의 도면과 마찬가지로 전압과 동작 주파수를 같이 나타낸다. FIG. 2 shows timing for decoding three frames F1, F2, and F3 when fps is 30. FIG. The Y axis shows the voltage and the operating frequency as in the previous figure.

그런데 상기에서 상술한 바와 같이 실시간성을 위하여 대기 상태를 실행 혹은 유지하여 아이들 상태 혹은 대기 상태에 있는 것은 전력 소모 면에서 효율적이지 않다는 문제가 MPEG 디코딩에서도 계속되는 것을 알 수 있다.However, as described above, it can be seen that the MPEG decoding has a problem that it is not efficient in terms of power consumption that the idle state is executed or maintained for real time.

본 발명이 이루고자 하는 기술적인 과제는, 상기의 문제점들을 해결하기 위해, MPEG 디코딩 혹은 MPEG 재생 시에 프로세서의 대기 상태를 없애거나 최소화할 수 있는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치 및 그 방법을 제공하는데 있다.The technical problem to be solved by the present invention is to solve the above problems, MPEG by using the operating frequency and driving voltage variation according to the decoding time prediction that can eliminate or minimize the standby state of the processor during MPEG decoding or MPEG playback A reproduction device and a method thereof are provided.

상기 기술적 과제를 해결하기 위한 본 발명에 의한, 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치는, 프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 장치에 있어서, 디코딩할 그리고 이전에 디코딩된 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 획득부; 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 예측부; 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 설정부; 및 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 디코딩부;를 포함하는 것을 특징으로 한다.According to the present invention for solving the above technical problem, the MPEG playback apparatus using the operating frequency and driving voltage variation according to the decoding time prediction, in the apparatus for decoding by MPEG decoding using a processor, to decode and previously decoded An acquisition unit for obtaining information about the type and data size of the received MPEG frame; A prediction unit for predicting the amount of work of frame decoding and the time required for decoding when using the processor using an average value of decoding times according to the type and data size of a frame in the previous frame decoding to be decoded; A setting unit for setting a minimum operating frequency and corresponding driving voltage of the processor for frame decoding to end within a deadline time for reproducing the MPEG frame in real time; And a decoder configured to decode the MPEG frame by driving the processor according to the set frequency and driving voltage.

이 장치는 상기 디코딩에 대한 QoS(Quality of Service) 레벨을 입력받는 입력부;를 더 포함하여, 상기 입력부를 통해 QoS 레벨이 입력되는 경우 상기 설정부는 입력된 QoS 레벨에 따라 상기 소정의 최대 동작 주파수 및 구동전압의 값을 변경하는 것이 바람직하다.The apparatus further includes an input unit for receiving a quality of service (QoS) level for the decoding. When the QoS level is input through the input unit, the setting unit may include the predetermined maximum operating frequency and the predetermined maximum operating frequency according to the input QoS level. It is desirable to change the value of the driving voltage.

상기 다른 기술적 과제를 해결하기 위한 본 발명에 의한, 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법은, 프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 방법에 있어서, (a) 디코딩할 혹은 이전에 디코딩된 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 단계; (b) 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 단계; (c) 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 단계; 및 (d) 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 단계;를 포함하는 것을 특징으로 한다.According to the present invention for solving the other technical problem, MPEG playback method using a variation in operating frequency and driving voltage according to the decoding time prediction, in the method of decoding by MPEG decoding using a processor, (a) to decode Or obtaining information on the type and data size of a previously decoded MPEG frame; (b) estimating the amount of work of frame decoding and the time required for decoding when using the processor using an average value of decoding times according to the type and data size of a frame in the previous frame decoding of the MPEG frame to be decoded; (c) setting a minimum operating frequency and corresponding driving voltage of the processor for frame decoding to end within a deadline time for real time reproduction of the MPEG frame; And (d) driving the processor to decode the MPEG frame according to the set frequency and the driving voltage.

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

도 3은 본 발명에 따라 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치의 구성을 블록으로 도시한 것이다.3 is a block diagram showing the configuration of an MPEG playback apparatus using variation in operating frequency and driving voltage according to decoding time prediction according to the present invention.

프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 이 장치는, 이전에 디코딩된 그리고 디코딩할 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 획득부(300), 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 예측부(310), 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 설정부(320) 및 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 디코딩부(330)를 포함하며, 상기 디코딩에 대한 QoS(Quality of Service) 값을 입력받는 입력부(340)를 더 포함한다.The apparatus for reproducing by MPEG decoding using a processor includes: an acquiring unit 300 for acquiring information on the type and data size of a previously decoded and decoded MPEG frame; Prediction unit 310 for predicting the amount of work and the time required for decoding the frame when using the processor using the average value of the decoding times according to the type and data size of the frame, the frame decoding to reproduce the MPEG frame in real time A setting unit 320 for setting a minimum operating frequency of the processor and a driving voltage corresponding thereto to end within a deadline time for the processor, and a decoding unit 330 for decoding the MPEG frame by driving the processor according to the set frequency and driving voltage. And a Quality of Service (QoS) value for the decoding. Further comprises an input unit 340 to receive power.

도 4는 본 발명에 따라 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법의 흐름을 도시한 것이다.4 is a flowchart illustrating an MPEG reproduction method using operating frequency and driving voltage variations according to decoding time prediction according to the present invention.

프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 이 방법은, 디코딩된 그리고 디코딩할 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하고(400 단계), 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이 터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하고(410 단계), 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하며(420 단계), 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하여(430 단계) 진행된다.This method of decoding and playing MPEG using a processor obtains information about the type and data size of the decoded and decoded MPEG frame (step 400), and the type of frame in the previous frame decoding of the MPEG frame to be decoded. And using the average value of the decoding times according to the data size to estimate the amount of work of frame decoding and the time required for decoding when using the processor (step 410), and a deadline for frame decoding to reproduce the MPEG frame in real time. A minimum operating frequency and a corresponding driving voltage of the processor to be terminated in time are set (step 420), and the processor is decoded according to the set frequency and driving voltage to decode the MPEG frame (step 430).

이하 도 3의 장치가 도 4의 방법을 사용하여 본 발명에 따라 실행되는 동작에 대해 상세하게 설명한다.The operation of the apparatus of FIG. 3 in accordance with the present invention using the method of FIG. 4 will now be described in detail.

획득부(300)는 디코딩하여 재생할 MPEG 프레임으로부터 MPEG 프레임의 종류와 프레임을 구성하는 데이터의 크기에 대한 정보를 획득한다. 그리고 디코딩할 프레임의 이전 프레임에 대해서도 마찬가지의 정보를 획득한다(400 단계). MPEG 프레임은 실제로는 연속되는 복수의 프레임들이며, 획득부(300)는 프레임 단위마다 프레임에 대한 정보를 얻는 것이다.The acquisition unit 300 obtains information on the type of MPEG frame and the size of data constituting the frame from the MPEG frame to be decoded and reproduced. Similar information is also obtained for the previous frame of the frame to be decoded (step 400). The MPEG frame is actually a plurality of consecutive frames, and the acquirer 300 obtains information about the frame for each frame unit.

이때에 데이터의 크기라는 것은 프레임의 크기 즉 프레임의 사이즈라고도 할 수 있다. 프레임의 크기가 클수록 프레임을 구성하는 데이터의 양도 커지기 때문이다.In this case, the size of data may be referred to as the size of the frame, that is, the size of the frame. This is because the larger the size of the frame, the larger the amount of data constituting the frame.

예측부(310)는 획득부(300)가 얻은 정보를 이용하여 디코딩을 위해 사용되는 프로세서를 구동하여 MPEG 프레임을 디코딩할 때의 작업량 즉, 디코딩에 필요한 시간을 예측한다(410 단계). 특히 사용되는 것은 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임들의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값 (average decoding time per byte)을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측한다. 이때에 사용되는 프로세서의 정보 혹은 프로세서의 기본적인 사양인 전형적인 혹은 통상적인 입력 전압 및 입력 주파수도 연산 속도 예측을 위한 정보로 이용될 수 있다.The prediction unit 310 drives the processor used for decoding by using the information obtained by the acquisition unit 300 to estimate the amount of work, that is, the time required for decoding the MPEG frame, in operation 410. Particularly used is the time required for decoding and the amount of work of frame decoding when using the processor using average decoding time per byte according to the type and data size of frames in the frame decoding prior to the MPEG frame to be decoded. To predict. At this time, the information of the processor used or the typical or typical input voltage and input frequency, which are basic specifications of the processor, may also be used as information for calculating the calculation speed.

상기에 이미 기재된 것과 같이 MPEG 프레임의 종류와 크기에 대한 정보를 가지고 어떤 시스템에서의 프레임 디코딩 시간을 예측하는 것은 이미 공지된 기술이므로 별도의 설명은 생략하며, 본 발명이 속한 기술 분야의 통상의 지식을 가진 자는 이를 채택하여 용이하게 실시할 수 있다는 것은 자명하다.As already described above, it is already known to estimate the frame decoding time in a system with information on the type and size of the MPEG frame, and thus a separate description is omitted, and the general knowledge in the technical field to which the present invention belongs. It is obvious that those who have the same can easily implement it.

예측부(310)가 예측한 자료를 바탕으로 설정부(320)는 MPEG 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정한다(420 단계).On the basis of the data predicted by the predictor 310, the setter 320 determines a minimum operating frequency of the processor and a corresponding driving voltage for the MPEG frame decoding to be completed within a deadline time for real-time reproduction of the MPEG frame. Set (step 420).

본 발명에 사용되는 프로세서는 구동 전압 및 동작 주파수가 적절한 제어에 따라 변경될 수 있다. 프로세서에 공급되는 구동 전압이 높아지고 동작 주파수가 빨라지면 그에 따라 프로세서의 처리 속도 역시 빨라지며, 반대로 전압이 낮아지고 동작 주파수가 늦어지면 프로세서의 처리 속도도 늦어지는 것이다.The processor used in the present invention can change the driving voltage and operating frequency according to appropriate control. The higher the driving voltage supplied to the processor and the higher the operating frequency, the faster the processor. Conversely, the lower the voltage and the lower the operating frequency, the slower the processor.

하나의 프레임에 대한 예측된 처리 시간이 실시간으로 재생하는 것을 보장하는 경우에는 프로세서에 공급되는 주파수나 전압을 조절할 필요는 없을 것이다. 그러나 그렇지 않은 경우에는 조절이 필요하다.If the predicted processing time for a frame is guaranteed to be replayed in real time, it may not be necessary to adjust the frequency or voltage supplied to the processor. If not, however, adjustment is necessary.

실시간 재생을 보장하기 위해서는 초당 30 프레임이 디코딩되어 재생되어야 한다. 혹은 초당 24 프레임의 재생 속도로도 실시간 재생이 보장될 수도 있다. 따라서 실시간 재생을 위한 데드라인 시간은 1/24 초 내지 1/30 초의 최대값을 가지는 것이 바람직하다. 이와 같은 범위의 값을 데드라인 시간으로 미리 설정하여 하나의 프레임에 대한 디코딩이 데드라인 시간 이내에 처리되도록 설정부(320)에서 사용하게 할 수 있다.To ensure real time playback, 30 frames per second must be decoded and played. Alternatively, real-time playback may be guaranteed at a playback rate of 24 frames per second. Therefore, the deadline time for real time playback preferably has a maximum value of 1/24 sec. To 1/30 sec. This range of values may be set in advance as the deadline time so that the setting unit 320 may use the decoding for one frame to be processed within the deadline time.

예측부(310)에서 프로세서의 사양에 언급된 통상적인 입력 전압 및 입력 주파수를 이용해서 프레임 디코딩에 필요한 시간을 예측한 결과인 예측된 시간이 데드라인을 넘는 경우에는 제 시간 내에 디코딩을 못하는 것이므로 설정부(320)는 프로세서에 입력되는 전압과 주파수를 높인다. 반대로 예측된 시간이 데드 라인에 비해 작은 경우에는 너무 빨리 연산을 한 것이므로 설정부(320)는 프로세서에 입력되는 전압과 주파수를 낮춘다.If the predicted time, which is a result of estimating the time required for frame decoding using the normal input voltage and the input frequency mentioned in the processor specification, exceeds the deadline, the predictor 310 cannot decode in time. The unit 320 increases the voltage and frequency input to the processor. On the contrary, if the predicted time is smaller than the dead line, the operation is performed too quickly, and the setting unit 320 lowers the voltage and frequency input to the processor.

본 발명은 실시간으로 MPEG 프레임을 재생하면서 동시에 전력 소모를 최소화하는 것이 그 목적이므로 설정부(320)는 프로세서에 입력되는 전압과 주파수를 낮추는 것이 바람직하며, 이와 같이 최소한도로 낮추어진 전압 및 주파수를 프로세서의 동작 구동 전압 및 주파수로 설정한다.Since the present invention aims to minimize power consumption while simultaneously reproducing MPEG frames in real time, the setting unit 320 preferably lowers the voltage and frequency input to the processor. Set to the operating drive voltage and frequency.

이때에 비례 연산과 같은 방법을 사용하여 전압과 주파수를 새로 설정할 수 있다. 프로세서는 소정의 범위 내에서는 동작 주파수가 높아질수록 내부 연산 속도 혹은 처리 속도가 그에 비례하여 빨라지기 때문에 비례 연산을 사용할 수 있다.At this time, new voltage and frequency can be set using the same method as proportional operation. The processor may use the proportional operation because the higher the operating frequency within the predetermined range, the higher the internal operation rate or processing speed proportionately.

디코딩부(330)는 상기와 같이 설정된 주파수와 구동 전압에 따라 프로세서를 동작시켜 MPEG 프레임을 재생한다(430 단계).The decoding unit 330 reproduces the MPEG frame by operating the processor according to the frequency and the driving voltage set as described above (step 430).

도 5는 본 발명에 따른 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법의 일 실시예의 흐름을 도시한 것이다.FIG. 5 illustrates a flow of an embodiment of an MPEG reproduction method using fluctuations in operating frequency and driving voltage according to decoding time prediction according to the present invention.

디코딩이 시작되면(500 단계) 프레임의 종류 및 크기에 대한 정보를 획득하하고(505 단계), 이전에 디코딩한 프레임의 종류 및 데이터의 크기에 대한 정보를 바탕으로 프로세서를 사용하여 디코딩되는 작업양 및 디코딩 시간을 예측한다(510 단계). 이 예측은 이전 프레임 디코딩에서 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값(average decoding time per byte)을 바탕으로 이루어진다. When decoding starts (step 500), information on the type and size of the frame is obtained (step 505), and the amount of work decoded using the processor based on the information on the type and size of the previously decoded frame. And predict the decoding time (step 510). This prediction is based on the average decoding time per byte according to the type and data size of the frame in the previous frame decoding.

그리고 프레임의 디코딩이 데드 라인 안에 끝나기 위한 프로세서로 공급될 최소한의 프로세서 동작 주파수와 구동 전압을 설정한다(515 단계). In operation 515, a minimum processor operating frequency and a driving voltage to be supplied to the processor for decoding of the frame to be finished in the dead line are set.

500 내지 515의 단계는 도 4의 400 내지 420 단계와 동일한 동작을 실행한다.Steps 500 to 515 perform the same operations as steps 400 to 420 of FIG. 4.

515 단계에서 설정된 동작 주파수를 미리 정한 소정의 최소 동작주파수와 비교하여(520 단계), 설정된 동작 주파수가 더 작으면 상기 설정된 동작 주파수 및 구동전압을 각각 최소 동작주파수 및 최소 구동전압으로 설정한다(525 단계). 그리고 설정된 동작 주파수 및 구동 전압을 프로세서에 공급하여 프레임 디코딩을 수행한다(550 단계). The operating frequency set in step 515 is compared with a predetermined minimum operating frequency (step 520). If the set operating frequency is smaller, the set operating frequency and the driving voltage are set to the minimum operating frequency and the minimum driving voltage, respectively (525). step). The frame decoding is performed by supplying the set operating frequency and driving voltage to the processor (step 550).

515 단계에서 설정된 주파수가 소정의 미리 정한 최대 동작주파수를 비교하여(530 단계) 설정된 주파수가 더 큰 경우에는 그 프레임 즉, 현재의 프레임에 대해서는 디코딩을 하지 않고 프레임을 드롭(drop)한다. 즉 프레임을 재생하지 않고 폐기하는 것이다. 이 경우는 현재의 프레임을 재생하기 위해서 지나치게 높은 전압 과 주파수를 공급해야 하므로 전력을 소모하지 않고 현재의 프레임을 포기하는 것이다. 그리고 다음의 MPEG 프레임에 대한 디코딩을 시작하기 위해 505 단계로 넘어간다.If the frequency set in step 515 is compared with a predetermined maximum operating frequency (step 530) and the set frequency is larger, the frame, that is, the current frame, is dropped without decoding. In other words, the frame is discarded without playing back. In this case, it is necessary to supply an excessively high voltage and frequency to reproduce the current frame, thus giving up the current frame without consuming power. The process then proceeds to step 505 to start decoding the next MPEG frame.

530의 비교 단계에서 동작 주파수가 최대동작 주파수 이하이면 515 단계에서 설정된 주파수와 구동 전압에 따라 프레임 디코딩을 수행한다(550 단계).If the operating frequency is less than or equal to the maximum operating frequency in the comparison step 530, the frame decoding is performed according to the frequency and the driving voltage set in step 515 (step 550).

520 단계 내지 540의 단계는 가능하면 작은 값의 주파수와 구동 전압을 프로세서에 공급하여 디코딩하기 위한 과정이다.Steps 520 to 540 are processes for supplying and decoding a small frequency and driving voltage to the processor if possible.

또한 상기의 설명 중 520 단계에서 주파수간의 비교가 아니라 전압간의 비교를 할 수도 있다는 것은 별도의 설명이 없어도 자명한 것이다.In addition, it may be obvious that the comparison between the voltages may be performed instead of the frequency comparison in step 520 of the above description.

설정된 동작 주파수 및 구동전압 하에서 프레임 디코딩을 실행한 후의 시각이 혹은 하나의 프레임을 디코딩하고 남은 시간이 실시간 재생을 보장하기 위한 데드라인 시간보다 작으면 현재의 프레임을 위한 시간 중에서 남은 시간 동안 다음 프레임을 위한 시각이 될 때까지 상기 프로세서가 대기 상태가 되도록 한다(555, 560 단계). 대기 상태가 끝나면 다음 프레임에 대한 처리를 위해 디코딩 시작의 단계로 진입한다.If the time after frame decoding is executed under the set operating frequency and driving voltage or the time remaining after decoding one frame is less than the deadline time to ensure real time playback, the next frame is performed for the remaining time of the current frame. The processor is placed in a standby state until the time is reached (steps 555 and 560). When the waiting state ends, the process starts the decoding process for processing the next frame.

현재 프레임에 대한 디코딩을 처리한 현재 시각이 데드라인 시간을 초과하여 다음 프레임을 수행하여야 할 시각을 넘은 경우, 그 초과한 시간을 다음 프레임에 대한 디코딩에 필요한 시간에서 차감하여 다음 프레임에 대한 처리 단계로 진입한다(555, 565 단계). 이 경우 다음 프레임에 대한 처리 단계의 데드라인 시간이 상기 초과한 시간만큼 줄어들게 된다.If the current time processing the decoding for the current frame exceeds the deadline time and exceeds the time to perform the next frame, the processing time for the next frame is subtracted from the time required for decoding the next frame. In step 555, 565 is entered. In this case, the deadline time of the processing step for the next frame is reduced by the time exceeded.

도 5와 같이 본 발명이 실행되는 중에 사용자의 요구에 의해 디코딩의 질을 떨어뜨려 전력 소모를 줄일 수도 있다. 예를 들면 휴대용 컴퓨터나 단말기와 같이 전력 소모가 중요한 경우에는 디코딩된 출력의 QoS(Quality Of Service) 레벨을 떨어뜨려 즉, 재생되는 프레임의 수를 줄여서 프레임 디코딩에 필요한 전력량을 줄이는 것이다.As shown in FIG. 5, the quality of decoding may be reduced by the user's request while the present invention is being executed, thereby reducing power consumption. For example, when power consumption is important, such as a portable computer or terminal, the quality of service (QoS) level of the decoded output is reduced, that is, the number of frames to be played back is reduced to reduce the amount of power required for frame decoding.

이를 위해 도 3에서 QoS 레벨을 입력받는 입력부(340)가 더 부가되었으며, 사용자가 입력부(340)를 통해 QoS 레벨을 입력하면 이 레벨값에 따라 디코딩 되는 프레임의 수를 자동으로 조절할 수 있다.To this end, an input unit 340 for receiving a QoS level is further added in FIG. 3, and when a user inputs a QoS level through the input unit 340, the number of frames to be decoded may be automatically adjusted according to the level value.

이러한 디코딩의 QoS 및 전력소모 간의 프로세서의 최대동작주파수의 변경에 의해 결정된다. 즉, 디코딩의 QoS를 낮추고 시스템의 사용시간을 길게 하기 위해서는 최대동작주파수를 낮춤으로써 최대동작주파수 이상의 프로세서 스피드를 요구하는 프레임을 드롭(drop)시켜 프레임 드롭률(drop rate)을 높인다.This is determined by the change in the maximum operating frequency of the processor between QoS and power consumption of the decoding. That is, in order to lower the QoS of decoding and increase the usage time of the system, the maximum operating frequency is lowered to drop a frame requiring a processor speed above the maximum operating frequency, thereby increasing the frame drop rate.

이를 위해 입력부(340)를 통해 QoS 레벨이 입력되는 경우 상기 설정부는 입력된 QoS 레벨에 따라 상기 소정의 최대 동작 주파수 및 구동전압의 값을 변경하는 것이 바람직하다.To this end, when the QoS level is input through the input unit 340, the setting unit may change the predetermined maximum operating frequency and the driving voltage value according to the input QoS level.

즉, 상기 QoS 레벨이 증가되면 상기 소정의 최대 동작 주파수 및 구동전압의 값도 증가하도록 변경하여 프레임 드롭 비율을 낮추며, 상기 QoS 레벨이 감소되면 상기 소정의 최대 동작 주파수 및 구동전압의 값도 감소하도록 변경하여 프레임 드롭 비율을 높이는 것이 바람직하다.That is, when the QoS level is increased, the frame drop rate is lowered by changing the value of the predetermined maximum operating frequency and driving voltage to increase, and when the QoS level is decreased, the value of the predetermined maximum operating frequency and driving voltage is also decreased. It is desirable to change it to increase the frame drop rate.

도 6은 본 발명에 따라 도 2의 타이밍이 변한 상태의 예를 도시한 것이다. 도 2에서는 최대 주파수에 따라 프로세서가 동작하여 대기 상태가 길었으며, 그에 따라 전력 소모도 많았지만, 도 6과 같이 본 발명에 따라 프로세서를 동작시킨 결과 최대 동작 주파수의 값도 작아지며, 대기 시간을 최소화하여 전력 소모를 대폭 줄인 것을 알 수 있다.6 illustrates an example of a state in which the timing of FIG. 2 is changed according to the present invention. In FIG. 2, the processor operates according to the maximum frequency and thus the standby state is long. Accordingly, power consumption is also increased. However, as a result of operating the processor according to the present invention as shown in FIG. 6, the value of the maximum operating frequency is also reduced. It can be seen that the power consumption is greatly reduced by minimizing.

본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 본 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 상기의 설명에 포함된 예들은 본 발명에 대한 이해를 위해 도입된 것이며, 이 예들은 본 발명의 사상과 범위를 한정하지 않는다. 상기의 예들 외에도 본 발명에 따른 다양한 실시 태양이 가능하다는 것은, 본 발명이 속한 기술 분야에 통상의 지식을 가진 사람에게는 자명할 것이다. 본 발명의 범위는 전술한 설명이 아니라 청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. Examples included in the above description are introduced for the understanding of the present invention, and these examples do not limit the spirit and scope of the present invention. It will be apparent to those skilled in the art that various embodiments in accordance with the present invention in addition to the above examples are possible. The scope of the present invention is shown not in the above description but in the claims, and all differences within the scope will be construed as being included in the present invention.

또한 본 발명에 따른 상기의 각 단계는 일반적인 프로그래밍 기법을 이용하여 소프트웨어적으로 또는 하드웨어적으로 다양하게 구현할 수 있다는 것은 이 분야에 통상의 기술을 가진 자라면 용이하게 알 수 있는 것이다.In addition, it can be easily understood by those skilled in the art that each of the above steps according to the present invention can be variously implemented in software or hardware using a general programming technique.

그리고 본 발명의 일부 단계들은, 또한, 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD- ROM, CD-RW, 자기 테이프, 플로피디스크, HDD, 광 디스크, 광자기 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드로 저장되고 실행될 수 있다.And some steps of the invention may also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, CD-RW, magnetic tape, floppy disks, HDDs, optical disks, magneto-optical storage devices, and carrier waves (e.g. It also includes the implementation in the form of). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

본 발명에 의하면, 프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 장치에 있어서, 디코딩할 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 획득부, 상기 디코딩할 MPEG 프레임 종류 및 크기 정보를 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 예측부, 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 설정부 및 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 디코딩부를 포함하여, 종래의 MPEG 디코딩과 비교하여 볼 때, 종래에는 디코딩의 실시간성을 위해 디코딩 사이에 대기 상태를 두었던 것을 본 발명에 따라 MPEG 프레임 디코딩에 필요한 계산량 및 시간을 예측하여 디코딩의 실시간을 보장하는 데드라인 시간을 넘지 않는 선에서 최소한의 프로세서의 동작주파수와 구동전압을 설정함으로써 MPEG 재생 장치에서의 전력소모를 최소화하는 효과가 있다. According to the present invention, an apparatus for decoding and playing MPEG decoding using a processor, comprising: an acquiring unit for obtaining information about a type and a data size of an MPEG frame to be decoded, and using the MPEG frame type and size information to be decoded; Predictor for estimating the amount of work of frame decoding and the time required for decoding when using the processor, the minimum operating frequency of the processor and the corresponding driving voltage so that frame decoding ends within a deadline for reproducing the MPEG frame in real time. And a decoding unit for decoding the MPEG frame by driving the processor in accordance with the set frequency and driving voltage, and when compared with conventional MPEG decoding, conventionally between decoding for real-time decoding. MP according to the present invention that put a standby state By predicting the amount of computation and the time required for EG frame decoding, it is possible to minimize the power consumption in MPEG playback devices by setting the minimum operating frequency and driving voltage of the processor within the deadline time that guarantees the real-time decoding. .

Claims (10)

프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 장치에 있어서,In the apparatus for decoding by MPEG decoding using a processor, 디코딩할 그리고 이전에 디코딩된 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 획득부;An acquisition unit for obtaining information about the type and data size of the MPEG frame to be decoded and previously decoded; 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 예측부;A prediction unit for predicting the amount of work of frame decoding and the time required for decoding when using the processor using an average value of decoding times according to the type and data size of a frame in the previous frame decoding to be decoded; 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 설정부; 및A setting unit for setting a minimum operating frequency and corresponding driving voltage of the processor for frame decoding to end within a deadline time for reproducing the MPEG frame in real time; And 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 디코딩부;를 포함하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치.And a decoding unit which drives the processor to decode the MPEG frame according to the set frequency and the driving voltage. 제1항에 있어서,The method of claim 1, 상기 설정부의 실시간 재생을 위한 데드라인 시간은 1/24 초 내지 1/30 초의 최대값을 가지는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치.Deadline time for real-time playback of the setting unit has a maximum value of 1/24 seconds to 1/30 seconds MPEG playback apparatus using the operating frequency and driving voltage variation according to the decoding time prediction. 제1항에 있어서,The method of claim 1, 상기 설정부는, 설정되는 동작주파수 및 구동전압 각각이 소정의 최소 동작주파수 및 구동전압보다 작으면, 상기 설정된 동작 주파수 및 구동전압을 각각 최소 동작주파수 및 최소 구동전압으로 설정하고, 설정되는 동작주파수 및 구동전압이 소정의 최대 동작주파수 및 구동전압보다 크면, 현재 프레임에 대한 디코딩을 하지 않고 현재 프레임을 드롭(drop)하고 다음 프레임에 대한 디코딩을 시작하기 위해 상기 획득부에 다음 프레임에 대한 정보를 획득할 것을 알리는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치.The setting unit sets the set operating frequency and the driving voltage to the minimum operating frequency and the minimum driving voltage, respectively, if the set operating frequency and the driving voltage are smaller than the predetermined minimum operating frequency and the driving voltage, respectively. If the driving voltage is greater than the predetermined maximum operating frequency and driving voltage, the acquisition unit acquires information on the next frame to drop the current frame and start decoding the next frame without decoding the current frame. MPEG playback apparatus using a change in operating frequency and driving voltage according to the decoding time prediction, characterized in that notified. 제3항에 있어서,The method of claim 3, 상기 디코딩에 대한 QoS(Quality of Service) 레벨을 입력받는 입력부;를 더 포함하여,And an input unit to receive a quality of service (QoS) level for the decoding. 상기 입력부를 통해 QoS 레벨이 입력되는 경우 상기 설정부는 입력된 QoS 레벨에 따라 상기 소정의 최대 동작 주파수 및 구동전압의 값을 변경하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 장치.When the QoS level is input through the input unit, the setting unit changes the values of the predetermined maximum operating frequency and driving voltage according to the input QoS level. MPEG playback device. 프로세서를 이용하여 MPEG 디코딩을 하여 재생하는 방법에 있어서,In the method of decoding by MPEG decoding using a processor, (a) 디코딩할 혹은 이전에 디코딩된 MPEG 프레임의 종류 및 데이터 크기에 대한 정보를 획득하는 단계;(a) obtaining information about the type and data size of the MPEG frame to be decoded or previously decoded; (b) 상기 디코딩할 MPEG 프레임 이전 프레임 디코딩에서의 프레임의 종류 및 데이터 크기에 따른 디코딩 시간들의 평균값을 이용하여 상기 프로세서를 이용할 때의 프레임 디코딩의 작업량 및 디코딩에 필요한 시간을 예측하는 단계;(b) estimating the amount of work of frame decoding and the time required for decoding when using the processor using an average value of decoding times according to the type and data size of a frame in the previous frame decoding of the MPEG frame to be decoded; (c) 프레임 디코딩이 상기 MPEG 프레임을 실시간으로 재생하기 위한 데드라인 시간 내에 끝나기 위한 상기 프로세서의 최소한의 동작 주파수 및 그에 따른 구동 전압을 설정하는 단계; 및(c) setting a minimum operating frequency and corresponding driving voltage of the processor for frame decoding to end within a deadline time for real time reproduction of the MPEG frame; And (d) 상기 설정된 주파수 및 구동 전압에 따라 상기 프로세서를 구동하여 MPEG 프레임을 디코딩하는 단계;를 포함하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.and (d) driving the processor to decode the MPEG frame according to the set frequency and the driving voltage. 제5항에 있어서,The method of claim 5, 상기 (c) 단계에서,In the step (c), 설정되는 동작주파수 및 구동전압 각각이 소정의 최소 동작주파수 및 구동전압보다 작으면, 상기 설정된 동작 주파수 및 구동전압을 각각 최소 동작주파수 및 최소 구동전압으로 설정하고,If each of the set operating frequency and the driving voltage is smaller than the predetermined minimum operating frequency and the driving voltage, the set operating frequency and the driving voltage are set to the minimum operating frequency and the minimum driving voltage, respectively, 설정되는 동작주파수 및 구동전압이 소정의 최대 동작주파수 및 구동전압보다 크면, 현재 프레임에 대한 디코딩을 하지 않고 현재 프레임을 드롭(drop)하고 다음 프레임에 대한 디코딩을 시작하기 위해 상기 (a) 단계로 진행하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.If the set operating frequency and the driving voltage are larger than the predetermined maximum operating frequency and the driving voltage, the step (a) is performed to drop the current frame and start decoding the next frame without decoding the current frame. MPEG reproduction method using a change in operating frequency and driving voltage according to the decoding time prediction, characterized in that proceeding. 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 상기 (d) 단계에서,In step (d), 설정된 동작 주파수 및 구동전압 하에서 프레임 디코딩을 실행한 후 다음 프레임에 대한 디코딩 실행을 시작하기 전까지 시간이 남은 경우, 남은 시간 동안 상기 프로세서가 대기 상태가 되도록 유지하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.If the time is left after the frame decoding is executed under the set operating frequency and the driving voltage before starting decoding of the next frame, the processor maintains the standby state for the remaining time. MPEG playback method using frequency and driving voltage variation. 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 상기 (d) 단계에서, In step (d), 설정된 동작 주파수 및 구동전압 하에서 프레임 디코딩을 실행하였을 때에 상기 데드라인 시간을 초과하여 다음 프레임을 수행하여야 할 시각을 넘은 경우, 그 초과한 시간을 다음 프레임에 대한 디코딩에 필요한 시간에서 차감하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.When the frame decoding is performed under the set operating frequency and the driving voltage, if the deadline time exceeds the time to perform the next frame, the excess time is subtracted from the time necessary for decoding the next frame. MPEG reproduction method using a variation of operating frequency and driving voltage according to the decoding time prediction. 제5항에 있어서,The method of claim 5, 상기 디코딩에 대한 QoS(Quality of Service) 레벨이 설정된 경우 설정된 QoS 레벨에 따라 상기 (c) 단계에서 상기 소정의 최대 동작 주파수 및 구동전압의 값을 변경하는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.When the Quality of Service (QoS) level for the decoding is set, the operating frequency according to the decoding time prediction, characterized in that for changing the value of the predetermined maximum operating frequency and driving voltage in step (c) according to the set QoS level And MPEG reproduction method using the drive voltage variation. 제9항에 있어서,The method of claim 9, 상기 QoS 레벨이 증가되면 상기 소정의 최대 동작 주파수 및 구동전압의 값도 증가하도록 변경하여 프레임 드롭 비율을 낮추며, When the QoS level is increased, the value of the predetermined maximum operating frequency and driving voltage is also changed to increase to lower the frame drop rate. 상기 QoS 레벨이 감소되면 상기 소정의 최대 동작 주파수 및 구동전압의 값도 감소하도록 변경하여 프레임 드롭 비율을 높이는 것을 특징으로 하는 디코딩 시간 예측에 따른 동작주파수 및 구동전압 변동을 이용한 MPEG 재생 방법.And reducing the value of the predetermined maximum operating frequency and driving voltage to increase the frame drop ratio when the QoS level is decreased.
KR1020050071719A 2004-12-21 2005-08-05 Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof KR100772502B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020040109696 2004-12-21
KR20040109696 2004-12-21

Publications (2)

Publication Number Publication Date
KR20060071293A true KR20060071293A (en) 2006-06-26
KR100772502B1 KR100772502B1 (en) 2007-11-01

Family

ID=37164823

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050071719A KR100772502B1 (en) 2004-12-21 2005-08-05 Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof

Country Status (1)

Country Link
KR (1) KR100772502B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101042614B1 (en) * 2009-07-06 2011-06-20 인하대학교 산학협력단 Low-power video playback method based on decoding time estimation
US9223620B2 (en) 2010-02-01 2015-12-29 Samsung Electronics Co., Ltd. Apparatus and method for processing data
KR20160107145A (en) * 2016-09-02 2016-09-13 인하대학교 산학협력단 Method and System for Managing Power Utilizing Time Scale of Hierarchical Video Coding

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101574433B1 (en) 2014-08-29 2015-12-04 인하대학교 산학협력단 Method and Apparatus for Optimal Dynamic Voltage Scaling in Buffered Video Playback

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3308995B2 (en) * 1992-10-27 2002-07-29 松下電送システム株式会社 Image receiving device
US6031584A (en) 1997-09-26 2000-02-29 Intel Corporation Method for reducing digital video frame frequency while maintaining temporal smoothness
KR100479329B1 (en) * 2001-12-24 2005-03-30 한국전자통신연구원 Method for mpeg decoding using of dynamic voltage and frequency scaling
JP2004153553A (en) 2002-10-30 2004-05-27 Matsushita Electric Ind Co Ltd Motion picture decoder and method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101042614B1 (en) * 2009-07-06 2011-06-20 인하대학교 산학협력단 Low-power video playback method based on decoding time estimation
US9223620B2 (en) 2010-02-01 2015-12-29 Samsung Electronics Co., Ltd. Apparatus and method for processing data
KR20160107145A (en) * 2016-09-02 2016-09-13 인하대학교 산학협력단 Method and System for Managing Power Utilizing Time Scale of Hierarchical Video Coding

Also Published As

Publication number Publication date
KR100772502B1 (en) 2007-11-01

Similar Documents

Publication Publication Date Title
EP1949203B1 (en) Using historic load profiles to dynamically adjust operating frequency and available power to a handheld multimedia device processor core
KR100479329B1 (en) Method for mpeg decoding using of dynamic voltage and frequency scaling
Pouwelse et al. Energy priority scheduling for variable voltage processors
US7584312B2 (en) Data processing apparatus having improved buffer management
US8954983B2 (en) Conserving power through work load estimation for a portable computing device using scheduled resource set transitions
US7698575B2 (en) Managing power consumption by requesting an adjustment to an operating point of a processor
TWI260543B (en) Performance scheduling method and system, and computer readable medium
JP2004164642A (en) Peak level selection in data processing system
KR100772502B1 (en) Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof
Pouwelse et al. Power-aware video decoding
EP1860555A2 (en) Media subsystem, method and computer program product for adaptive media buffering
CN101312519B (en) Data frame processing method and apparatus
US9632566B2 (en) Dynamically controlling power based on work-loop performance
US20110099404A1 (en) Electronic device, method of controlling an electronic device, and system-on-chip
KR100519611B1 (en) low-power data retrival Method and device
JP2003280760A (en) Electric power control device of computing element, electric power-saving decoder and electric power control program of computing element and electric power control method of computing element
KR101574433B1 (en) Method and Apparatus for Optimal Dynamic Voltage Scaling in Buffered Video Playback
JPH11149706A (en) Recording reproducer and recording reproduction method
Kim et al. Power-Aware Resource Management Techniques for Low-Power Embedded Systems.
KR100578150B1 (en) Method and System for Retrieving Data
KR101294407B1 (en) Apparatus and method for saving power consumption in Information Processing Device
KR101055845B1 (en) Low power device for playing streaming data
TWI470402B (en) Cpu working frequency control method for mobile devices
JP4428129B2 (en) Recording apparatus and method, and program
CN115408554A (en) Video processing method and device, storage medium and electronic equipment

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
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20121011

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130923

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140926

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee