TWI400949B - Media data playback device and replay method thereof - Google Patents

Media data playback device and replay method thereof Download PDF

Info

Publication number
TWI400949B
TWI400949B TW99110483A TW99110483A TWI400949B TW I400949 B TWI400949 B TW I400949B TW 99110483 A TW99110483 A TW 99110483A TW 99110483 A TW99110483 A TW 99110483A TW I400949 B TWI400949 B TW I400949B
Authority
TW
Taiwan
Prior art keywords
segment
replica
media data
unit
video
Prior art date
Application number
TW99110483A
Other languages
Chinese (zh)
Other versions
TW201136309A (en
Inventor
Chen Sheng Chen
Deng Rung Liu
Chi Chang Lu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW99110483A priority Critical patent/TWI400949B/en
Publication of TW201136309A publication Critical patent/TW201136309A/en
Application granted granted Critical
Publication of TWI400949B publication Critical patent/TWI400949B/en

Links

Description

媒體資料播放裝置及其重播方法Media data playing device and replay method thereof

本發明涉及電腦技術,尤其涉及一種媒體資料播放裝置及其重播方法。The invention relates to computer technology, in particular to a media data playing device and a replaying method thereof.

電視接收裝置,即一般稱為電視機頂盒(set-top box),用來管理電視機所未支援的頻道號碼,並將頻道信號解擾(descramble)、解密(decrypt)、解碼(decode)後產生視訊及其相關資訊,例如節目表(program guide)。數位電視機頂盒有些備有硬式磁碟用來儲存電視節目供日後重播。當需要重播影片中的片段時這項功能確實很有幫助。然而,如果重播的影片較長,就很難找到想要的片段。A television receiving device, generally referred to as a set-top box, is used to manage a channel number that is not supported by the television, and descramble, decrypt, decode, and decode the channel signal. Video and related information, such as a program guide. Digital TV set-top boxes are equipped with hard disks for storing TV programs for later replay. This feature is really helpful when you need to replay clips in your movie. However, if the replayed movie is long, it is difficult to find the desired clip.

本發明目的在提出一種媒體資料播放裝置的實施方式,包含接收器、緩衝暫存器、擷取單元、剖析器單元、解碼器單元及組合器。上述接收器接收媒體資料流。上述緩衝暫存器包含第一、第二及第三緩衝暫存器。上述擷取單元複製並分別儲存上述媒體資料流的第一區段成為第一複本及第二複本於上述第一及第二緩衝暫存器,產生並儲存上述第二複本的第三複本於上述第三緩衝暫存器以回應重播指令,其中上述媒體資料流的第二區段取代上述第一及第二緩衝暫存器中的上述第一及第二複本。上述剖析器單元包含第一及第二剖析器以平行處理方式分別剖析上述第一緩衝暫存器的上述第二區段及上述第三緩衝暫存器的上述第三複本。上述解碼器單元包含第一及第二解碼器以平行處理方式分別解碼已剖析的上述第二區段及已剖析的上述第三複本。上述組合器從已解碼的上述第三複本及上述第二區段組合視訊訊號。An object of the present invention is to provide an embodiment of a media material playing device, comprising a receiver, a buffer register, a capture unit, a parser unit, a decoder unit and a combiner. The receiver receives the media stream. The buffer register includes first, second, and third buffer registers. The capturing unit copies and stores the first segment of the media data stream as a first copy and a second copy in the first and second buffer registers, and generates and stores a third copy of the second copy. And a third buffer register in response to the replay instruction, wherein the second segment of the media data stream replaces the first and second replicas of the first and second buffer registers. The parser unit includes first and second parsers respectively parsing the second segment of the first buffer register and the third replica of the third buffer register in a parallel processing manner. The decoder unit includes the first and second decoders respectively decoding the parsed second segment and the parsed third replica in a parallel processing manner. The combiner combines the video signals from the decoded third copy and the second segment.

另外,本發明提出一種媒體資料重播方法的實施方式,執行於包含第一、第二及第三緩衝暫存器的一媒體資料播放裝置。上述媒體資料播放裝置包含第一、第二及第三緩衝暫存器並電連接一顯示器。上述媒體資料重播方法包含:接收媒體資料流;複製並分別儲存上述媒體資料流的第一區段於上述第一及第二緩衝暫存器成為第一複本及第二複本;產生並儲存上述第二複本的第三複本於上述第三緩衝暫存器以回應重播指令,其中上述媒體資料流的第二區段取代上述第一及第二緩衝暫存器中的上述第一及第二複本;利用上述媒體資料播放裝置的第一及第二剖析器以平行處理方式分別剖析上述第一緩衝暫存器的上述第二區段及上述第三緩衝暫存器的上述第三複本;利用上述媒體資料播放裝置的第一及第二解碼器以平行處理方式分別解碼已剖析的上述第二區段及已剖析的上述第三複本;從已解碼的上述第三複本及上述第二區段組合視訊訊號,並顯示於上述顯示器。In addition, the present invention provides an embodiment of a media data replay method, which is implemented in a media data playback apparatus including first, second, and third buffer registers. The media data playing device includes first, second and third buffer registers and is electrically connected to a display. The media data replay method includes: receiving a media data stream; copying and separately storing the first segment of the media data stream in the first and second buffer registers to become a first copy and a second copy; generating and storing the foregoing The third replica of the second replica is in response to the replay command in the third buffer register, wherein the second segment of the media data stream replaces the first and second replicas in the first and second buffer registers; And using the first and second parsers of the media data playing device to parse the second segment of the first buffer register and the third replica of the third buffer register in a parallel processing manner; The first and second decoders of the data playback device respectively decode the parsed second segment and the parsed third replica in a parallel processing manner; and combine the decoded third replica and the second segment combined video The signal is displayed on the above display.

媒體資料播放裝置及其重播方法實施方說明如下:The media material playing device and its replay method implementation method are as follows:

1.系統概述1. System Overview

本發明所揭露的媒體資料播放裝置可以實作成單獨一台裝置,或整合於各種不同的媒體資料播放裝置中,諸如機頂盒、行動電話、平板個人電腦(tablet personal computer)、膝上型電腦(laptop computer)、多媒體播放器、數位攝影機、個人數位助理(personal digital assistant,簡稱PDA)、導航裝置或行動上網裝置(mobile internet device ,MID)。The media data playing device disclosed in the present invention can be implemented as a single device or integrated into various media data playing devices, such as a set top box, a mobile phone, a tablet personal computer, and a laptop (laptop). Computer), multimedia player, digital camera, personal digital assistant (PDA), navigation device or mobile internet device (MID).

1.1 媒體資料播放裝置之實施例1.1 Example of media material playing device

參照圖1,處理器151為媒體資料播放裝置100的中央處理器,可以由積體電路(Integrated Circuit,簡稱IC)組成,用以處理資料及執行電腦程式。媒體資料播放裝置100的元件連接方式如圖1所示,可用串行或並行匯流排、或無線通訊通道構成。無線通訊單元156建立通訊通道,使媒體資料播放裝置100透過上述通訊通道以連接至遠端伺服器,並從上述遠端伺服器下媒體資料。另外,無線通訊單元156可以建立無線通訊通道,使移動設備,例如遙控器,透過上述無線通訊通道以連接至媒體資料播放裝置100並交換資料。上述通訊單元156可以包含天線、基頻(base band)及射頻(radio frequency,簡稱 RF)晶片組用以進行無線區域網路(wireless local area network,簡稱wireless LAN)通訊、紅外線通訊及/或蜂巢式通訊系統通訊,例如寬頻分碼多重進接(Wideband Code Division Multiple Access,簡稱W-CDMA)及高速下行封包存取(High Speed Downlink Packet Access,簡稱HSDPA)。經由上述建立的無線通訊通道,上述媒體資料播放裝置100可以作為無線區域網路的接入點,使移動設備可以經由上述接入點以連接網際網路(Internet)。Referring to FIG. 1, the processor 151 is a central processing unit of the media data playing device 100, and may be composed of an integrated circuit (IC) for processing data and executing a computer program. The component connection mode of the media material playback device 100 is as shown in FIG. 1, and may be constituted by a serial or parallel bus bar or a wireless communication channel. The wireless communication unit 156 establishes a communication channel for the media data playback device 100 to connect to the remote server through the communication channel and to media the media from the remote server. In addition, the wireless communication unit 156 can establish a wireless communication channel, so that a mobile device, such as a remote controller, can connect to the media material playback device 100 and exchange data through the wireless communication channel. The communication unit 156 may include an antenna, a base band, and a radio frequency (RF) chip set for performing wireless local area network (wireless LAN) communication, infrared communication, and/or a honeycomb. Communication system communication, such as Wideband Code Division Multiple Access (W-CDMA) and High Speed Downlink Packet Access (HSDPA). Through the wireless communication channel established above, the media data playing device 100 can serve as an access point of the wireless local area network, so that the mobile device can connect to the Internet via the access point.

上述處理器151可以是由單顆封裝的IC所組成,或連接多顆相同功能或不同功能的封裝IC而組成。舉例來說,處理器151可以僅包含中央處理器(Central Processing Unit,簡稱CPU),或者是CPU、數位信號處理器(digital signal processor,簡稱DSP)及通訊控制器(例如通訊單元156)的控制晶片的組合。上述通訊控制器可以包含蜂巢式通訊系統通訊、紅外線、藍芽(Bluetooth™)或無線區域網路的通訊控制裝置。CPU可以是單運算核心或多運算核心的CPU。所述的通訊控制器用以控制媒體資料播放裝置100中的各元件的通訊,或媒體資料播放裝置100與外部裝置的通訊,並且可以支援直接記憶體存取(Direct Memory Access)。The processor 151 may be composed of a single package IC or a plurality of package ICs with the same function or different functions. For example, the processor 151 may only include a central processing unit (CPU), or a CPU, a digital signal processor (DSP), and a communication controller (eg, the communication unit 156). Combination of wafers. The communication controller may include a communication control device for cellular communication system communication, infrared, BluetoothTM or wireless local area network. The CPU can be a single computing core or a CPU with multiple computing cores. The communication controller is configured to control communication of components in the media material playback device 100, or communication between the media material playback device 100 and an external device, and can support direct memory access.

電源供應器158供給電力予媒體資料播放裝置100中的各元件。石英振盪器159提供時脈訊號給處理器151與媒體資料播放裝置100中的其它元件。計時器50及60可以是由電路、電腦程式或其組合所構成,分別用以計時固定長度的期間。計時器50或60滿期(expiration)時產生信號,用以告知所計時的期間結束。輸入輸出裝置160包括控制按鈕、字母數字鍵盤、觸控面板、觸控螢幕以及複數發光二極體(light emitting diodes,簡稱LEDs)。控制器165偵測並控制輸入輸出裝置160的操作及運作,並將所偵測的操作傳送至上述處理器151。上述處理器151可以透過控制器165控制輸入輸出裝置160。埠164可以連接到各種電腦化的介面,例如一台外部的電腦裝置或週邊裝置。埠164可以是符合通用匯流排(universal serial bus,簡稱USB)或電機電子工程師學會(Institute of Electrical and Electronics Engineers, IEEE)、1394等標準的實體埠、美國電子工業協會(Electronic Industries Association,簡稱EIA)所制定的第232號推薦標準(Recommended Standard-232,簡稱RS-232)及/或第11號推薦標準(Recommended Standard-11,簡稱RS-11)的實體連接埠、串列ATA(Serial ATA,簡稱SATA)及/或高清晰度多媒體介面(High Definition Multimedia Interface,簡稱HDMI)。The power supply 158 supplies power to each component in the media material playback device 100. The quartz oscillator 159 provides a clock signal to the processor 151 and other components in the media material playback device 100. The timers 50 and 60 may be constructed by circuitry, computer programs, or a combination thereof for timing a fixed length of time. A timer 50 or 60 expiration generates a signal to inform the end of the timed period. The input/output device 160 includes a control button, an alphanumeric keyboard, a touch panel, a touch screen, and a plurality of light emitting diodes (LEDs). The controller 165 detects and controls the operation and operation of the input/output device 160, and transmits the detected operation to the processor 151. The processor 151 can control the input/output device 160 through the controller 165. The 埠164 can be connected to a variety of computerized interfaces, such as an external computer device or peripheral device. The 埠164 may be an entity conforming to the standards of the universal serial bus (USB) or the Institute of Electrical and Electronics Engineers (IEEE), 1394, and the Electronic Industries Association (EIA). ) The physical connection port 埠, Serial ATA (Recommended Standard-232, RS-232) and/or Recommendation No. 11 (RS-11) , referred to as SATA) and / or High Definition Multimedia Interface (HDMI).

非揮發性記憶體153儲存處理器151所執行的作業系統及應用程式。上述處理器151從上述非揮發性記憶體153載入運行程序與數據資料到主記憶體152並將數位內容儲存於大量儲存裝置154中。該主記憶體152可以是動態隨機存取記憶體(Random Access Memory,簡稱RAM),例如靜態隨機存取記憶體(Static RAM,簡稱SRAM)或是動態隨機存取記憶體(Dynamic RAM,簡稱DRAM)。該非揮發性記憶體153可以是電子可抹除可規劃唯讀記憶體(Electrically Erasable Programmable Read-Only Memory,簡稱EEPROM)或快閃記憶體(flash memory),例如反或(NOR)快閃記憶體或是反及(NAND)快閃記憶體。The non-volatile memory 153 stores operating systems and applications executed by the processor 151. The processor 151 loads the running program and data data from the non-volatile memory 153 into the main memory 152 and stores the digital content in the mass storage device 154. The main memory 152 may be a random access memory (RAM), such as a static random access memory (SRAM) or a dynamic random access memory (Dynamic RAM, DRAM for short). ). The non-volatile memory 153 may be an Electronically Erasable Programmable Read-Only Memory (EEPROM) or a flash memory, such as a reverse (NOR) flash memory. Or reverse (NAND) flash memory.

內容保護單元157針對影像處理裝置100所產生的數位內容提供存取控制。該內容保護單元157包含實現數位視訊廣播之通用介面(DVB-CI)及/或條件式存取(DVB-CA)所需的記憶體與必要裝置。影像處理裝置100可從天線、調諧器(tuner)以及解調器(demodulator)傳遞的數位訊號取得數位內容。另一個實施例中,影像處理裝置100可以透過網路存取介面從網際網路等網路中取得數位內容。The content protection unit 157 provides access control for the digital content generated by the image processing apparatus 100. The content protection unit 157 includes memory and necessary devices required to implement a universal interface (DVB-CI) and/or conditional access (DVB-CA) for digital video broadcasting. The video processing device 100 can acquire digital content from digital signals transmitted from an antenna, a tuner, and a demodulator. In another embodiment, the image processing apparatus 100 can obtain digital content from a network such as the Internet through a network access interface.

影像輸出單元162包含濾波器及放大器用來將處理器151所輸出的視訊濾波及放大。音訊輸出單元161包含數位類比轉換器用來將處理器151所輸出的音訊訊號從數位格式轉換為類比格式。The image output unit 162 includes a filter and an amplifier for filtering and amplifying the video output by the processor 151. The audio output unit 161 includes a digital analog converter for converting the audio signal output by the processor 151 from a digital format to an analog format.

顯示器155顯示文字及影像,並且可以包含電子紙、OLED 有機發光二極體(organic light emitting diode,簡稱OLED)、場發射顯示器(field emission display,簡稱FED)、或LCD 液晶顯示器(liquid crystal display,簡稱LCD)。或者上述顯示器155可以包含反射式顯示器,例如電泳式(electrophoretic)顯示器,或利用光干涉調變技術(interferometric modulation of light)的顯示器。上述顯示器155可以顯示各種圖形化使用者介面(graphical user interface,簡稱GUI)以作為虛擬控制元件,包含但不限於視窗、捲動軸、圖標及剪貼簿。上述顯示器155可以包含單一個顯示器或不同尺寸的複數顯示器。上述處理器151可以將以下說明的GUI顯示於上述顯示器155。The display 155 displays text and images, and may include electronic paper, an OLED organic light emitting diode (OLED), a field emission display (FED), or an LCD liquid crystal display (liquid crystal display, Referred to as LCD). Alternatively, display 155 described above may comprise a reflective display, such as an electrophoretic display, or a display that utilizes an interferometric modulation of light. The display 155 can display various graphical user interfaces (GUIs) as virtual control elements, including but not limited to windows, scroll axes, icons, and scrapbooks. The display 155 described above may include a single display or a plurality of displays of different sizes. The processor 151 described above can display the GUI described below on the display 155 described above.

上述I/O單元160包含觸控偵測器167用以偵測上述顯示器155上的觸控操作。上述觸控偵測器167可以包含覆蓋在上述顯示器155上的透明觸控板,或設置在上述顯示器155邊框的光學觸控發射器及接收器陣列,例如美國專利公開號20090189878所揭示的。The I/O unit 160 includes a touch detector 167 for detecting a touch operation on the display 155. The touch detector 167 can include a transparent touch panel over the display 155, or an optical touch transmitter and receiver array disposed on the frame of the display 155, such as disclosed in US Patent Publication No. 20090189878.

2. 媒體資料播放裝置操作的實施方式2. Implementation of media material playback device operation

圖2顯示上述媒體資料播放裝置100與媒體資料重播相關的模組。元件240-280可以用電路實作,例如由上述處理器151中的DSP的一部分元件構成,或者由上述處理器151所執行的電腦程式構成。上述電腦程式可以儲存在上述主記憶體152、非揮發性記憶體153或大量儲存裝置154中。上述媒體資料播放裝置100可以包含具有第一緩衝暫存器241、第二緩衝暫存器242、第三緩衝暫存器243的緩衝暫存器單元240。上述緩衝暫存器241-243中的每一個緩衝暫存器可以是上述主記憶體152或非揮發性記憶體153的一個保留區域。接收器230從上述通訊單元156接收媒體資料流231並輸出至擷取單元240。上述媒體資料流231包含同步化的視訊及音訊資料,可以是符合國際標準化組織(International Organization for Standardization,簡稱ISO)或國際電子技術委員會(International Electrotechnical Commission,簡稱IEC)所制定的ISO/IEC 13818-1。ISO/IEC 13818-1公告為H.222,其中定義了封包化基本資料流(packetized elementary stream,簡稱PES)及傳送資料流(transport stream,簡稱TS)。舉例來說,上述媒體資料流231包含複數PES資料流。每個PES資料流再被封裝為複數TS封包。FIG. 2 shows a module related to the media material playback apparatus 100 and the media material replay. The components 240-280 can be implemented by circuitry, such as by a portion of the components of the DSP in the processor 151 described above, or by a computer program executed by the processor 151. The computer program can be stored in the main memory 152, the non-volatile memory 153 or the mass storage device 154. The media material playback device 100 may include a buffer register unit 240 having a first buffer register 241, a second buffer register 242, and a third buffer register 243. Each of the buffer registers 241-243 may be a reserved area of the main memory 152 or the non-volatile memory 153. The receiver 230 receives the media stream 231 from the communication unit 156 and outputs it to the capture unit 240. The media data stream 231 includes synchronized video and audio data, which may be in accordance with the International Organization for Standardization (ISO) or the International Electrotechnical Commission (IEC) ISO/IEC 13818- 1. ISO/IEC 13818-1 is an announcement of H.222, which defines a packetized elementary stream (PES) and a transport stream (TS). For example, the media data stream 231 includes a plurality of PES data streams. Each PES data stream is then encapsulated into a plurality of TS packets.

參照圖3及圖4,上述擷取單元240複製並分別儲存上述媒體資料流231的第一區段2311成為第一複本及第二複本於上述第一緩衝暫存器241及第二緩衝暫存器242。上述第一區段2311在上述第一緩衝暫存器241中的第一複本從上述擷取單元240輸出至第一剖析器251進行剖析。接著,上述第一區段2311已剖析的第一複本從上述第一剖析器251輸出至第一解碼器261以進行解碼。組合器270從上述第一區段2311已解碼的第一複本組合視訊,並顯示組合的視訊於上述顯示器155。上述緩衝暫存器241及243各有指標用以指向其中的媒體資料的一個表示單元,被指標指到的表示單元即是預備從上述擷取單元240輸出至上述剖析器單元250、解碼器單元260及組合器270以進行剖析、解碼及顯示。上述擷取單元240在輸出表示單元後將指標指向已輸出的表示單元之後的下一個表示單元,並重複此程序。上述剖析器251及252各別依照多媒體資料流標準,例如國際電信聯盟(International telecommunication Union,簡稱ITU)的標準H.222、快閃視訊(Flash Video,簡稱FLV) 的標準,以剖析媒體資料,例如上述第一區段2311的第一複本。上述解碼器261及262各別依照多媒體編解碼標準,例如H.264、VC-1、MPEG-2、MPEG-4標準、或FLV的標準,以解碼媒體資料,例如上述第一區段2311已剖析的第一複本。Referring to FIG. 3 and FIG. 4, the capturing unit 240 copies and stores the first segment 2311 of the media data stream 231 as a first replica and a second replica in the first buffer register 241 and the second buffer temporary storage. 242. The first copy of the first segment 2311 in the first buffer register 241 is output from the capture unit 240 to the first parser 251 for analysis. Next, the first copy that has been parsed by the first segment 2311 is output from the first parser 251 to the first decoder 261 for decoding. The combiner 270 combines the video from the first duplicate that has been decoded by the first segment 2311 described above, and displays the combined video on the display 155. The buffer registers 241 and 243 each have a display unit for pointing to the media data therein, and the display unit pointed to by the index is prepared to be output from the capture unit 240 to the parser unit 250 and the decoder unit. 260 and combiner 270 are configured for parsing, decoding, and display. The above-described capturing unit 240 points the index to the next display unit after the output unit has been output after outputting the display unit, and repeats the program. The parsers 251 and 252 respectively analyze the media data according to multimedia data stream standards, such as the standards of the International Telecommunication Union (ITU) standard H.222 and Flash Video (FLV). For example, the first copy of the first segment 2311 described above. The above decoders 261 and 262 respectively decode the media data according to a multimedia codec standard, such as H.264, VC-1, MPEG-2, MPEG-4 standard, or FLV standard, for example, the first section 2311 has been The first copy of the analysis.

參照圖5,當上述處理器151從上述輸入輸出單元160或上述通訊單元156接收到用以重播上述媒體資料流231的重播指令時,上述擷取單元240產生上述第一區段2311的第二複本的第三複本,並儲存於上述第三緩衝暫存器243以回應上述重播指令。上述媒體資料流的第二區段2312取代上述第一緩衝暫存器241及第二緩衝暫存器242中的上述第一及第二複本。Referring to FIG. 5, when the processor 151 receives a replay instruction for replaying the media stream 231 from the input/output unit 160 or the communication unit 156, the capturing unit 240 generates the second portion of the first segment 2311. A third copy of the replica is stored in the third buffer register 243 in response to the replay command. The second sector 2312 of the media stream replaces the first and second replicas of the first buffer register 241 and the second buffer register 242.

上述剖析器單元250利用第一剖析器251及第二剖析器252以平行處理方式分別剖析上述第一緩衝暫存器241的上述第二區段2312及上述第三緩衝暫存器243中的上述第三複本。The parser unit 250 uses the first parser 251 and the second parser 252 to parse the second portion 2312 and the third buffer register 243 of the first buffer register 241 in parallel processing. The third copy.

上述解碼器單元260利用第一解碼器261及第二解碼器262以平行處理方式分別解碼已剖析的上述第二區段2312及已剖析的上述第三複本。The decoder unit 260 decodes the parsed second segment 2312 and the parsed third replica in a parallel processing manner by the first decoder 261 and the second decoder 262, respectively.

上述組合器270從已解碼的上述第一區段2311的第三複本及上述第二區段2312組合視訊訊號。上述組合器270可以將上述第二區段2312視訊訊號組合成相對較大的影像,並將第三複本的視訊訊號組合成相對較小的影像,重疊在上述較大影像之上。上述顯示器155顯示上述視訊訊號。The combiner 270 combines the video signals from the decoded third copy of the first segment 2311 and the second segment 2312. The combiner 270 can combine the second segment 2312 video signals into relatively large images, and combine the third replica video signals into relatively small images to overlap the larger images. The display 155 displays the video signal.

2.1 顯示進度軸2.1 Display progress axis

在顯示上述第一區段2311的第三複本中的第一表示單元時,上述組合器270顯示進度軸用以表示上述第一表示單元在上述第三複本中相對於上述第三複本的長度的位置。上述第一表示單元可以是PES或TS資料流的單元,例如一個PES封包、一個TS封包、包含P、I、及B圖框的一個PES資料流或TS資料流。使用者介面單元280中的進度軸呈現器282可以根據上述第三複本中的TS封包的節目時間參考(program clock references,簡稱PCR)、或上述第三複本中的PES封包的播放時戳(presentation time-stamp,簡稱DTS)或解碼時戳(decoding time-stamp,簡稱DTS)、或上述第三複本中的FLV資料流封包的時戳,以計算上述第一區段2311的第三複本的長度,以及上述第一表示單元在上述第三複本中相對於上述第三複本的長度的位置。When displaying the first representation unit in the third replica of the first segment 2311, the combiner 270 displays a progress axis for indicating the length of the first representation unit relative to the length of the third replica in the third replica. position. The first representation unit may be a unit of a PES or TS data stream, such as a PES packet, a TS packet, a PES data stream containing P, I, and B frames or a TS data stream. The progress axis renderer 282 in the user interface unit 280 can be based on the program time reference (PCR) of the TS packet in the third copy, or the play time stamp of the PES packet in the third copy (presentation) a time-stamp (referred to as DTS) or a decoding time-stamp (DTS), or a time stamp of the FLV data stream packet in the third replica, to calculate the length of the third replica of the first segment 2311. And a position of the first representation unit in the third replica relative to the length of the third replica.

2.2 基於PCR計算進度軸2.2 Based on PCR calculation progress axis

舉例來說,上述呈現器282取得在上述第三緩衝暫存器243中的TS封包中的第一個PCR值PCR1及最後的PCR值PCR2,並取得正在由上述第二剖析器252進行剖析的上述第一表示單元的PCR值PCRi。上述進度軸呈現器282計算下列公式(1)以得到上述第三複本的長度L1,並計算下列公式(2)以得到上述第一表示單元對應的進度P1。For example, the renderer 282 obtains the first PCR value PCR1 and the last PCR value PCR2 in the TS packet in the third buffer register 243, and obtains the profile being analyzed by the second parser 252. The PCR value PCRi of the first representation unit described above. The above-described progress axis renderer 282 calculates the following formula (1) to obtain the length L1 of the above-described third copy, and calculates the following formula (2) to obtain the progress P1 corresponding to the above-described first representative unit.

L1=PCR2- PCR1 (1)L1=PCR2-PCR1 (1)

P1= PCRi- PCR1 (2)P1= PCRi- PCR1 (2)

上述進度軸呈現器282計算下列公式(3)以得到上述第一表示單元的進度P1相對於上述第三複本的長度L1的比例R1。The progress axis renderer 282 calculates the following formula (3) to obtain a ratio R1 of the progress P1 of the first indicating unit with respect to the length L1 of the third copy.

R1=P1/L1 (3)R1=P1/L1 (3)

參照圖6,上述呈現器282繪製長度為L0的進度軸300,其中片段301長度為L0×R1用來指示上述第一表示單元的相對於上述第一區段2311的第三複本的總長度的進度及位置。上述片段301的左端點對齊上述進度軸300的左端點。上述進度軸呈現器282可以利用其它的符號,例如圖形31,來顯示上述第一表示單元的位置。上述進度軸呈現器282輸出上述進度軸300至上述組合器270。如圖6所示,上述組合器270組合上述進度軸300的視訊並顯示於上述顯示器155。上述組合器270可以利用螢幕上顯示技術(on screen display,簡稱OSD)疊在區域A1上顯示上述進度軸300,上述區域A1用以顯示從上述第二區段2312解碼出來的視訊。區域A2用以顯示從上述第一區段2311的第三複本所解碼出來的視訊Referring to FIG. 6, the renderer 282 draws a progress axis 300 of length L0, wherein the length of the segment 301 is L0×R1 for indicating the total length of the third copy of the first display unit relative to the first segment 2311. Progress and location. The left end of the above segment 301 is aligned with the left end of the progress axis 300 described above. The progress axis renderer 282 can use other symbols, such as the graphic 31, to display the position of the first display unit. The progress axis renderer 282 outputs the progress axis 300 to the combiner 270 described above. As shown in FIG. 6, the combiner 270 combines the video of the progress axis 300 and displays it on the display 155. The combiner 270 can display the progress axis 300 on the area A1 by using an on screen display (OSD), and the area A1 is used to display the video decoded from the second section 2312. The area A2 is used to display the video decoded from the third copy of the first section 2311.

2.3 基於PTS計算進度軸2.3 Calculating the progress axis based on PTS

在利用PTS顯示重播進度的例子中,上述呈現器282取得在上述第三緩衝暫存器243中的PES封包中的第一個PTS值PTS1及最後的PTS值PTS2,並取得正在由上述組合器270進行顯示的上述第一表示單元的PTS值PTSi。上述進度軸呈現器282計算下列公式(4)以得到上述第三複本的長度L1’,並計算下列公式(5)以得到上述第一表示單元對應的進度P1’。In the example of displaying the replay progress by the PTS, the renderer 282 obtains the first PTS value PTS1 and the last PTS value PTS2 in the PES packet in the third buffer register 243, and obtains the combiner being obtained by the above-mentioned combiner 270 performs the display of the PTS value PTSi of the first display unit. The above-described progress axis renderer 282 calculates the following formula (4) to obtain the length L1' of the above-described third copy, and calculates the following formula (5) to obtain the progress P1' corresponding to the above-described first representative unit.

L1’=PTS2- PTS1 (4)L1'=PTS2- PTS1 (4)

P1’= PTSi- PTS1 (5)P1'= PTSi- PTS1 (5)

上述進度軸呈現器282計算下列公式(6)以得到上述第一表示單元的進度P1’相對於上述第三複本的長度L1’的比例R1’。The above-described progress axis renderer 282 calculates the following formula (6) to obtain a ratio R1' of the progress P1' of the first indicating unit with respect to the length L1' of the third copy.

R1’=P1’/L1’ (6)R1'=P1’/L1’ (6)

上述呈現器282繪製長度為L0的進度軸300,其上的片段長度為L0×R1’用來指示上述第一表示單元的相對於上述第一區段2311的第三複本的總長度的進度及位置。上述進度軸呈現器282輸出上述進度軸至上述組合器270。上述組合器270組合上述進度軸的視訊並顯示於上述顯示器155。The renderer 282 draws a progress axis 300 of length L0, and the segment length L0×R1' is used to indicate the progress of the total length of the third copy of the first display unit relative to the first segment 2311 and position. The progress axis renderer 282 outputs the progress axis to the combiner 270. The combiner 270 combines the video of the progress axis and displays it on the display 155.

2.4 基於DTS計算進度軸2.4 Calculating the progress axis based on DTS

在利用DTS顯示重播進度的例子中,上述呈現器282取得在上述第三緩衝暫存器243中的PES封包中的第一個DTS值DTS1及最後的DTS值DTS2,並取得正在由上述解碼器262進行解碼的上述第一表示單元的DTS值DTSi。上述進度軸呈現器282計算下列公式(7)以得到上述第三複本的長度L1”,並計算下列公式(8)以得到上述第一表示單元對應的進度P1”。In the example in which the DTS is used to display the replay progress, the renderer 282 obtains the first DTS value DTS1 and the last DTS value DTS2 in the PES packet in the third buffer register 243, and obtains the decoder being obtained by the above decoder. 262 performs decoding of the DTS value DTSi of the first representation unit. The progress axis renderer 282 calculates the following formula (7) to obtain the length L1" of the third copy described above, and calculates the following formula (8) to obtain the progress P1" corresponding to the first representation unit.

L1”=DTS2- DTS1 (7)L1"=DTS2- DTS1 (7)

P1”= DTSi- DTS1 (8)P1”= DTSi- DTS1 (8)

上述進度軸呈現器282計算下列公式(9)以得到上述第一表示單元的進度P1”相對於上述第三複本的長度L1”的比例R1”。The above-described progress axis renderer 282 calculates the following formula (9) to obtain a ratio R1" of the progress P1" of the first indicating unit with respect to the length L1" of the third copy.

R1”=P1”/L1” (9)R1"=P1"/L1" (9)

上述呈現器282繪製長度為L0的進度軸300,其上的片段長度為L0×R1”用來指示上述第一表示單元的相對於上述第一區段2311的第三複本的總長度的進度及位置。上述進度軸呈現器282輸出上述進度軸至上述組合器270。上述組合器270組合上述進度軸的視訊並顯示於上述顯示器155。The renderer 282 draws a progress axis 300 of length L0, and the segment length L0×R1” is used to indicate the progress of the total length of the third copy of the first display unit relative to the first segment 2311 and The progress axis presenter 282 outputs the progress axis to the combiner 270. The combiner 270 combines the video of the progress axis and displays it on the display 155.

2.5 定位表示單元2.5 positioning indicator unit

參照圖7、8及9,上述第三緩衝暫存器243的指標2431指向上述上述第一區段2311的第三複本中的第一表示單元23111。當上述媒體資料播放裝置100在顯示上述第一表示單元23111時(步驟S2),上述使用者介面單元280中的定位器281從上述輸入輸出單元160接收輸入信號,上述輸入信號表示在上述進度軸300中的選定位置,例如圖6中的位置302(步驟S4)。為了回應上述接收的輸入信號,上述定位器281根據上述選定位置從上述第一區段2311的第三複本中找到第二表示單元23112 (步驟S6),發出清理指令至上述第二剖析器252及第二解碼器262以清除其中的媒體資料(步驟S8),使上述指標2431指向上述第二表示單元23112 (步驟S10),藉此讓上述媒體資料播放裝置100播放上述第二表示單元23112(步驟S12)。為了回應步驟S8,上述擷取單元240輸出上述第二表示單元23112至上述第二剖析器252以進行剖析,再從上述第二剖析器252輸出上述已剖析的第二表示單元23112至上述第二解碼器262以進行解碼。上述組合器270從上述已解碼的第二表示單元23112的組合視訊並顯示於上述顯示器155。Referring to Figures 7, 8, and 9, the index 2431 of the third buffer register 243 is directed to the first representation unit 23111 of the third replica of the first segment 2311. When the media material playback device 100 is displaying the first display unit 23111 (step S2), the locator 281 in the user interface unit 280 receives an input signal from the input/output unit 160, and the input signal is indicated on the progress axis. A selected position in 300, such as position 302 in Figure 6 (step S4). In response to the received input signal, the locator 281 finds the second representation unit 23112 from the third replica of the first section 2311 according to the selected position (step S6), and issues a cleanup command to the second parser 252 and The second decoder 262 clears the media data therein (step S8), and causes the indicator 2431 to point to the second display unit 23112 (step S10), thereby causing the media material playback device 100 to play the second display unit 23112 (step S12). In response to step S8, the capturing unit 240 outputs the second indicating unit 23112 to the second parser 252 for parsing, and outputs the parsed second indicating unit 23112 to the second from the second parser 252. The decoder 262 performs decoding. The combiner 270 displays the combined video from the decoded second display unit 23112 and displays it on the display 155.

步驟S6中定位上述第二表示單元23112的方式詳述如下。舉例來說,上述定位器281計算從上述進度軸300的左端點至位置302的距離為L2,以及距離L2相對於上述進度軸300的長度的比例R2=L2/L0。舉例來說,如果上述第三緩衝暫存器的記憶體空間為J位元組(Byte)且起始位址為K0,上述定位器281找到上述第三緩衝暫存器中的位址K1,其中:The manner in which the second representation unit 23112 is located in step S6 is described in detail below. For example, the locator 281 calculates a distance R2 from the left end of the progress axis 300 to the position 302 and a ratio R2 = L2 / L0 of the distance L2 with respect to the length of the progress axis 300. For example, if the memory space of the third buffer register is a J byte and the start address is K0, the locator 281 finds the address K1 in the third buffer register. among them:

K1= K0+J×R2 (10)K1= K0+J×R2 (10)

上述定位器281取得上述指標2431並使上述指標2431指向上述目標位址K1。在上述清理指令之後,上述第三緩衝暫存器仍然連續地依照上述指標2431所指的上述目標位址輸出媒體資料至上述第二剖析器252,上述第二剖析器252在接收到完整的PES封包以前忽略媒體資料,並在接收到完整的PES封包以後繼續剖析PES封包,並且,上述第二解碼器262忽略媒體資料直到接收到I圖框(intraframe或I frame),在接收到I圖框時繼續解碼I圖框、及其相關P圖框(predicted frame或 P frame)、及B圖框(bi-directional predictive frame或 B frame)。The locator 281 obtains the indicator 2431 and directs the indicator 2431 to the target address K1. After the cleaning instruction, the third buffer register continuously outputs the media data to the second parser 252 according to the target address indicated by the indicator 2431, and the second parser 252 receives the complete PES. The packet is previously ignored by the media, and the PES packet is parsed after receiving the complete PES packet, and the second decoder 262 ignores the media data until the I frame (intraframe or I frame) is received, and the I frame is received. Continue to decode the I frame, its associated P frame (predicted frame or P frame), and B frame (bi-directional predictive frame or B frame).

2.6 剪裁重播的媒體資料2.6 Tailoring replayed media materials

上述媒體資料播放裝置100播放在上述第三緩衝暫存器中的第三複本的整體以回應重播指令。當上述定位器281在上述進度軸300上接收到二個選定的分界點時,根據上述二個分界點以在上述第三複本中找到二個分界表示單元,並指導上述媒體資料播放裝置100播放上述第三複本中被上述二個分界表示單元所界定的部分以回應其它的重播指令。上述二個分界表示單元可以稱為書籤。The media material playing device 100 plays the entirety of the third copy in the third buffer register in response to the replay instruction. When the locator 281 receives the two selected demarcation points on the progress axis 300, the two demarcation display units are found in the third replica according to the two demarcation points, and the media data playing device 100 is instructed to play. The portion of the third replica defined by the two demarcation representation units is responsive to other replay instructions. The above two demarcation representation units may be referred to as bookmarks.

上述輸入輸出單元160產生表示上述進度軸300的上述二個選定的分界點的信號。舉例來說,上述觸控偵測器167可以同時偵測在上述顯示器155的二個接觸點。當上述觸控偵測器167同時偵測到在上述進度軸300上移動且隨後離開上述進度軸300的二個接觸點時,將上述二個接觸點離開上述進度軸300的二個位置作為上述二個選定的分界點。The input/output unit 160 generates a signal indicating the two selected boundary points of the progress axis 300. For example, the touch detector 167 can simultaneously detect two contact points on the display 155. When the touch detector 167 simultaneously detects two contact points moving on the progress axis 300 and then leaving the progress axis 300, the two contact points are separated from the two positions of the progress axis 300 as the above. Two selected cut points.

2.7 非平台相依性的使用者介面2.7 Non-platform dependent user interface

參照圖9,上述媒體資料播放裝置100更包含使用者介面轉換器290,用以將上述呈現器282所繪製的進度軸轉換成非作業系統相依且非瀏覽器相依的使用者介面,例如網頁294或介面工具集(widget)。並將更新單元295及偵測單元296整合在上述使用者介面中。舉例來說,當移動式裝置400連接至上述媒體資料播放裝置100的網路通訊協定(Internet protocol,簡稱IP)地址,並且發出超文件傳送協定(HyperText Transfer Protocol,簡稱HTTP)請求時,裝置100中的網頁伺服器292將網頁294傳送至上述移動式裝置400以回應上述HTTP請求。移動式裝置400從上述媒體資料播放裝置100接收且顯示網頁294,上述更新單元295週期性地發出HTTP請求至上述網頁伺服器292,以請求上述呈現器282所更新的進度軸300。上述網頁伺服器292傳送更新後的進度軸300至上述移動式裝置400以回應上述週期性地發出的HTTP請求。上述移動式裝置400顯示在已顯示的上述網頁294中顯示被更新後的進度軸300。Referring to FIG. 9, the media material playing device 100 further includes a user interface converter 290 for converting the progress axis drawn by the renderer 282 into a non-job system dependent and non-browser dependent user interface, such as a web page 294. Or interface tool set (widget). The update unit 295 and the detecting unit 296 are integrated in the user interface. For example, when the mobile device 400 is connected to the Internet Protocol (IP) address of the media material playback device 100 and issues a HyperText Transfer Protocol (HTTP) request, the device 100 The web server 292 in the web transmits the web page 294 to the mobile device 400 described above in response to the HTTP request. The mobile device 400 receives and displays the web page 294 from the media material playback device 100, and the update unit 295 periodically issues an HTTP request to the web server 292 to request the progress axis 300 updated by the renderer 282. The web server 292 transmits the updated progress axis 300 to the mobile device 400 in response to the periodically issued HTTP request. The mobile device 400 described above displays the updated progress axis 300 in the displayed web page 294.

上述移動式裝置400可以包含輸入裝置,例如觸控螢幕,以偵測上述進度軸300的上述選定位置。上述移動式裝置400所接收的上述偵測單元296偵存在上述進度軸300上的一個或多個的選定位置,並以HTTP請求傳送上述一個或多個的選定位置至上述網頁伺服器292。上述網頁伺服器292接收並轉送帶著上述一個或多個的選定位置的上述HTTP請求至上述定位器281。上述媒體資料播放裝置100以前述方式回應上述一個或多個的選定位置。The mobile device 400 can include an input device, such as a touch screen, to detect the selected location of the progress axis 300. The detecting unit 296 received by the mobile device 400 detects the selected location of one or more of the progress axes 300 and transmits the selected one or more selected locations to the web server 292 by HTTP request. The web server 292 receives and forwards the HTTP request with the one or more selected locations to the locator 281. The above-described media material playback device 100 responds to the selected location of one or more of the above in the manner described above.

圖9中,上述媒體資料播放裝置100中的元件290、292、295、及296可以是電腦程式。上述元件295及296可以是可以包含JavaScript程式碼。上述HTTP請求可以包含非同步JavaScript及可延伸標記語言(eXtensible Markup Language,簡稱XML)技術(asynchronous JavaScript and XML,簡稱AJAX)中使用的XMLHttpRequest (XHR)或簡易共稿機制(really simple syndication,簡稱RSS) 中使用的更新請求。In FIG. 9, elements 290, 292, 295, and 296 in the above-described media material playback apparatus 100 may be computer programs. The above elements 295 and 296 may be JavaScript code. The above HTTP request may include XMLHttpRequest (XHR) or simple simple syndication (RSS) used in asynchronous JavaScript and eXtensible Markup Language (XML) technology (asynchronous JavaScript and XML, AJAX for short). The update request used in ).

3.重播位置切換3. Replay location switching

上述媒體資料播放裝置100可以執行美國專利申請號12543588,發明名稱為“AUDIO PLAYBACK POSITIONING METHOD AND ELECTROINC SYSTEM UTILIZING THE SAME”的專利文件中所揭示的定位方法以取得上述進度軸300中的上述選定位置。所述定位器281可以用所述處理器151所執行的電腦程式構成,並且所述處理器151執行所述定位器281以運作下列定位方法的實施方式。The above-described media data playback device 100 can perform the positioning method disclosed in the patent document entitled "AUDIO PLAYBACK POSITIONING METHOD AND ELECTROINC SYSTEM UTILIZING THE SAME" in US Patent Application No. 12,543,588 to obtain the above-described selected position in the progress axis 300. The locator 281 can be constructed with a computer program executed by the processor 151, and the processor 151 executes the locator 281 to operate an implementation of the following positioning method.

使用上述定位方法的實施方式如下述。Embodiments using the above positioning method are as follows.

請參照圖10,圖10所示的鍵盤40a為上述輸入輸出單元160或上述移動式裝置400的輸入裝置的一種實施方式。上述鍵盤40a可以是機械結構的實體鍵盤或是顯示在顯示器155上的虛擬鍵盤。該鍵盤具有按鍵201-217。按鍵213及214是功能鍵,其功能因媒體資料播放裝置100所執行的軟體程式而異。按鍵215是摘機(off-hook)按鍵;按鍵216是掛機(on-hook)按鍵。按鍵217是用來控制顯示器155所示游標的移動方向的方向鍵。觸動操作點218a、219a、220a及221a分別會驅動游標往上、右、下左移動。按鍵201~212所對應的數字、字母及/或符號顯示於圖10中的各按鍵上,然而並非用以限定本發明。Referring to FIG. 10, the keyboard 40a shown in FIG. 10 is an embodiment of the input/output unit 160 or the input device of the mobile device 400. The keyboard 40a described above may be a physical keyboard of a mechanical structure or a virtual keyboard displayed on the display 155. The keyboard has buttons 201-217. The keys 213 and 214 are function keys whose functions differ depending on the software program executed by the media material playback apparatus 100. Button 215 is an off-hook button; button 216 is an on-hook button. The button 217 is a direction key for controlling the moving direction of the cursor shown on the display 155. The touch operating points 218a, 219a, 220a, and 221a respectively drive the cursor to move up, right, and left. The numbers, letters, and/or symbols corresponding to the keys 201 to 212 are shown on the respective keys in FIG. 10, but are not intended to limit the present invention.

上述媒體資料播放裝置100可以經由通道401從上述移動式裝置400接收數字或符號。舉例來說,上述移動式裝置400中的上述偵測單元296偵測移動式裝置400接收的輸入數字,並利用發送記載著上述數字的HTTP請求以傳送上述數字至上述網頁伺服器292。上述網頁伺服器292接收上述HTTP請求,並送給上述定位器281。上述媒體資料播放裝置100依照下述的定位方法來回應上述數字。The media material playback device 100 described above can receive numbers or symbols from the mobile device 400 via the channel 401. For example, the detecting unit 296 in the mobile device 400 detects an input number received by the mobile device 400 and transmits the digital number to the web server 292 by transmitting an HTTP request that records the number. The web server 292 receives the HTTP request and sends it to the locator 281. The above-described media material playback apparatus 100 responds to the above numbers in accordance with the positioning method described below.

定位方法所處理的資料可以稱為「待處理物件」。而待處理物件的一個分段稱為片段。待處理物件上的選定位置可以是其上的片段的預定位置,例如片段的起點、終點或中間點。以下說明中,待處理物件的長度假設為D。上述處理器151應用上述定位方法於上述媒體資料231的區段2311時,其總長度可以用位元組衡量的資料大小或記憶體大小,或是以特定時間單位表示的媒體資料231的區段2311的總播放時間,其中該時間單位例如分或秒。上述總播放時間是計算從媒體資料231的區段2311的開始播放至結排播放的期間。一個媒體資料流或其中的一個區段皆可以稱為項目。The data processed by the positioning method can be referred to as a "object to be processed". A segment of the object to be processed is called a segment. The selected location on the object to be processed may be a predetermined location of the segment thereon, such as the start, end or intermediate point of the segment. In the following description, the length of the object to be processed is assumed to be D. When the processor 151 applies the positioning method to the section 2311 of the media material 231, the total length thereof may be a data size or a memory size measured by a byte, or a section of the media data 231 expressed in a specific time unit. The total playback time of 2311, where the time unit is, for example, minutes or seconds. The above total play time is a period from the start of playback of the section 2311 of the media material 231 to the playback of the schedule. A media stream or a section of it can be called a project.

上述輸入輸出單元160輸入至媒體資料播放裝置100的數字可能用來執行不同的功能。舉例來說,輸入數字作為電話碼號以供媒體資料播放裝置100據以撥出電話或送出簡訊,或作為廣播頻道號碼以供媒體資料播放裝置100選取並切換至該號碼所對應的頻道。在以下的實施方式中上述媒體資料播放裝置100接收的數字用來作為待處理物件(例如進度軸300或區段2311)定位的索引。媒體資料播放裝置100需要決定所接收數字對應的功能。然而,下述的定位方法可以用電腦程式實作,並執行於媒體資料播放裝置100或移動式裝置400。下述的定位方法的實施方式中可以從輸入輸出單元160或移動式裝置400的按鍵操作接收數字,或經由文字辨識從輸入輸出單元160或移動式裝置400的觸控裝置接收數字。The numbers input by the above-described input/output unit 160 to the media material playback device 100 may be used to perform different functions. For example, the number is entered as the phone code number for the media material playback device 100 to make a call or send a text message, or as a broadcast channel number for the media material playback device 100 to select and switch to the channel corresponding to the number. In the following embodiments, the number received by the above-described media material playback apparatus 100 is used as an index for positioning of an object to be processed (for example, the progress axis 300 or the section 2311). The media material playback device 100 needs to determine the function corresponding to the received number. However, the positioning method described below can be implemented by a computer program and executed on the media material playback device 100 or the mobile device 400. In the embodiment of the positioning method described below, the number can be received from the key operation of the input/output unit 160 or the mobile device 400, or the number can be received from the input/output unit 160 or the touch device of the mobile device 400 via text recognition.

3.1 定位方法3.1 Positioning method

請參照圖11,處理器151在接收輸入輸出單元160之輸入數字後(步驟S30),判別媒體資料播放裝置100是否在視訊的重播模式中(步驟S31)。當媒體資料播放裝置100不是在視訊的重播模式,處理器151將接收到的輸入數字用於其它功能,例如作為電話號碼或頻道號碼(步驟S32)。當媒體資料播放裝置100在視訊的重播模式中,上述處理器151將接收到的數字用於定位進度軸及媒體資料區段(步驟S33)。舉例來說,處理器151在視訊的重播模式中在顯示器155上顯示視訊的重播模式相關的使用者介面,以重播上述第三緩衝暫存器中的影像區段。在步驟S33中,處理器151取得影像區段中的特定位置或片段後,判斷媒體資料播放裝置100是否正在重播影像區段(步驟S34)。如是,處理器151可以直接對該取得的特定位置或片段執行預設的視訊操作(步驟S37)。如否,處理器151接收視訊操作選項(步驟S35),並對該影像區段執行該選項對應的視訊操作(步驟S36)。舉例來說,步驟S35及S37中的視訊操作包含視訊重播、快轉(fast forward)、倒轉(rewind)、或書籤設定。步驟S37中的預設視訊操作可以是視訊播放操作。輸入輸出單元160可以包含視訊操作選項的對應按鍵,而處理器151也可以將視訊操作選項顯示於顯示器155。Referring to FIG. 11, after receiving the input number of the input/output unit 160 (step S30), the processor 151 determines whether the media material playback apparatus 100 is in the video playback mode (step S31). When the media material playback device 100 is not in the video replay mode, the processor 151 uses the received input number for other functions, for example, as a phone number or channel number (step S32). When the media material playback apparatus 100 is in the video replay mode, the processor 151 uses the received digits to locate the progress axis and the media data section (step S33). For example, the processor 151 displays the replay mode related user interface of the video on the display 155 in the video replay mode to replay the image segments in the third buffer register. In step S33, after the processor 151 acquires a specific location or segment in the video segment, it is determined whether the media material playback device 100 is replaying the video segment (step S34). If so, the processor 151 can directly perform a preset video operation on the acquired specific location or segment (step S37). If not, the processor 151 receives the video operation option (step S35), and performs a video operation corresponding to the option for the image segment (step S36). For example, the video operations in steps S35 and S37 include video replay, fast forward, rewind, or bookmark setting. The preset video operation in step S37 may be a video playback operation. The input and output unit 160 can include corresponding buttons for video operation options, and the processor 151 can also display video operation options to the display 155.

步驟S33中的定位方法有各式各樣的實施方式,以下舉例說明。媒體資料播放裝置100利用一計時器以計時一段預定的操作期間。在該預定的操作期間內,處理器151若接收到越多的數字,則可以越精確單位取得視訊區段2311中的特定位置或片段以執行視訊操作。當處理器151正在視訊區段2311中的目前位置播放其中的視訊時,向前略過操作用以驅動視訊區段2311的播放從該目前位置切換至視訊區段2311中的第一目標位置,其中該處理器151播放視訊區段2311時存取該目前位置的時間早於存取該第一目標位置的時間,向後略過操作用以驅動視訊區段2311的播放從該目前位置切換至視訊區段2311中的第二目標位置,其中該處理器151播放視訊區段2311時存取該第二目標位置的時間早於存取該目前位置的時間。需要了解的是待處理物件的片段代表其組成的一部分,或是該組成部分的子片段。而子片段是指尺寸更小的片段。There are various embodiments of the positioning method in step S33, which are exemplified below. The media material playback device 100 utilizes a timer to time a predetermined period of operation. During the predetermined operational period, if the processor 151 receives more digits, the more specific unit or segment in the video segment 2311 can be acquired in more precise units to perform the video operation. When the processor 151 is playing the video in the current position in the video segment 2311, the forward skip operation is used to drive the playback of the video segment 2311 from the current location to the first target location in the video segment 2311, wherein When the processor 151 plays the video segment 2311, the time for accessing the current location is earlier than the time for accessing the first target location, and the backward operation for driving the video segment 2311 is switched from the current location to the video zone. The second target location in the segment 2311, wherein the processor 151 accesses the second target location when the video segment 2311 is played earlier than the time to access the current location. It is to be understood that the segment of the object to be processed represents a part of its composition, or a sub-segment of the component. A sub-segment is a smaller-sized segment.

以下將說明將視訊區段2311分段成任意等分的實施方式。An embodiment in which the video section 2311 is segmented into an arbitrary division will be described below.

3.2定位方法的第一實施方式3.2 First embodiment of the positioning method

參照圖12,媒體資料播放裝置100執行媒體資料播放的定位方法之第一實施方式於上述顯示器155上目前作用中的使用者介面元件。以下說明僅以媒體資料播放裝置100的目前作用中的使用者介面元件為視訊區段2311的進度軸300為實例。上述進度軸300為上述視訊區段2311的代表物,所以上述處理器151應用定位方法於視訊區段2311以取得選定位置或片段時,也會對應地在進度軸300取得選定位置或片段。定位方法執行期間作用在待處理物件的代表物(例如進度軸300)上的操作,對應於作用在上述待處理物件(例如視訊區段2311)上的操作。或者,上述處理器151可以運用上述定位方法於上述進度軸300以取得選定位置或片段,並相應地在上述視訊區段2311中找到對應的選定位置或片段。上述處理器151也可以平行處理方式,例如同步執行的執行緒(thread)或程序(process),同時運用上述定位方法於視訊區段2311及進度軸300。Referring to FIG. 12, the first embodiment of the method for positioning the media material playing device 100 performs the media material playing on the display 155. In the following description, only the user interface element of the currently active media material playback device 100 is the progress axis 300 of the video segment 2311 as an example. The progress axis 300 is a representative of the video segment 2311. Therefore, when the processor 151 applies the positioning method to the video segment 2311 to obtain a selected position or segment, the selected position or segment is also correspondingly acquired on the progress axis 300. The operation of the representative of the object to be processed (e.g., the progress axis 300) during execution of the positioning method corresponds to the operation on the object to be processed (e.g., video section 2311). Alternatively, the processor 151 may apply the positioning method to the progress axis 300 to obtain a selected position or segment, and correspondingly find a corresponding selected position or segment in the video segment 2311. The processor 151 may also be in a parallel processing manner, such as a thread or a process that is executed synchronously, while using the above positioning method in the video segment 2311 and the progress axis 300.

處理器151從輸入輸出單元160接收輸入之第一數字m及第二數字n(步驟S320)。舉例來說,m及n皆為數字,且0≦m≦9與0≦n≦9。處理器151回應該已接收的第一數字m將待處理物件分別為m個片段的組合,亦即將視訊區段2311及其對應的進度軸分段為m個片段(步驟S322)。視訊區段2311的每一片段的長度為D/m。請參照圖13,若m=5, n=2,處理器151將進度軸300分為5個片段,並且,處理器151將視訊區段2311分為5個片段,亦即片段數由第一數字m決定。舉例來說,在步驟S322中,處理器151將視訊區段2311的總長度為D除以5作為視訊略過操作的新單位,取得視訊區段2311上對應播放時間0、D/5、2D/5、3D/5、4D/5及5D/5的位置以區分該5個片段。視訊區段2311的每一片段的長度為D/5。The processor 151 receives the input first number m and the second number n from the input and output unit 160 (step S320). For example, both m and n are numbers, and 0≦m≦9 and 0≦n≦9. The processor 151 returns the received first number m to the object to be processed as a combination of m segments, that is, the video segment 2311 and its corresponding progress axis are segmented into m segments (step S322). The length of each segment of the video segment 2311 is D/m. Referring to FIG. 13, if m=5, n=2, the processor 151 divides the progress axis 300 into five segments, and the processor 151 divides the video segment 2311 into five segments, that is, the number of segments is first. The number m is determined. For example, in step S322, the processor 151 divides the total length of the video segment 2311 by D as the new unit of the video skip operation, and obtains the corresponding play time 0, D/5, 2D on the video segment 2311. The positions of /5, 3D/5, 4D/5, and 5D/5 are used to distinguish the 5 segments. Each segment of the video segment 2311 has a length of D/5.

處理器151回應該已接收的第二數字n,以取得該待處理物件的m片段其中的第n個特定片段,亦即取得視訊區段2311及其進度軸的m片段其中的第n個特定片段(步驟S324)。請參照圖13,若m=5, n=2,處理器151取得視訊區段2311中的第2個片段,亦即片段72B,及其在進度軸300上的對應片段72A,其中片段的末端由圖形31指示。處理器151取得的片段順序由第二數字n決定。The processor 151 responds to the received second number n to obtain the nth specific segment of the m segment of the object to be processed, that is, the nth specific part of the m segment of the video segment 2311 and its progress axis. Fragment (step S324). Referring to FIG. 13, if m=5, n=2, the processor 151 obtains the second segment in the video segment 2311, that is, the segment 72B, and its corresponding segment 72A on the progress axis 300, wherein the end of the segment Indicated by the graph 31. The sequence of segments taken by processor 151 is determined by the second number n.

處理器151對該取得之特定片段執行視訊操作,亦即對第n個特定片段執行視訊操作 (步驟S326)。如圖13所示,步驟S326中處理器151可以從該特定片段的後端位置72開始播放視訊區段2311,位置72在進度軸300上的對應位置由圖形31指示。然而這並非用來限定本發明,步驟S326中處理器151可以從該特定片段的前端、後端、中間或其它位置開始播放視訊區段2311。The processor 151 performs a video operation on the acquired specific segment, i.e., performs a video operation on the nth specific segment (step S326). As shown in FIG. 13, the processor 151 can play the video section 2311 from the back end position 72 of the specific segment in step S326, and the corresponding position of the position 72 on the progress axis 300 is indicated by the graphic 31. However, this is not intended to limit the present invention, and the processor 151 may start playing the video section 2311 from the front end, the back end, the middle, or other position of the specific segment in step S326.

步驟S326之後,當處理器151再次接收到二筆數字時可以重複圖12的步驟S320-S326,以再次處理視訊區段2311。請參照圖14,若m=4, n=3,處理器151將進度軸300分為4個進度軸片段,也將視訊區段2311分為4個視訊片段,選取進度軸300的第3個進度軸片段並取得視訊區段2311中的第3個片段的末端位置73。處理器151可以顯示進度軸300的第1至第3個進度軸片段的顏色不同於第4個進度軸片段的顏色。After step S326, steps S320-S326 of FIG. 12 may be repeated when the processor 151 receives the two digits again to process the video section 2311 again. Referring to FIG. 14, if m=4, n=3, the processor 151 divides the progress axis 300 into four progress axis segments, and divides the video segment 2311 into four video segments, and selects the third segment of the progress axis 300. The progress axis segment acquires the end position 73 of the third segment in the video segment 2311. The processor 151 can display that the colors of the first to third progress axis segments of the progress axis 300 are different from the colors of the fourth progress axis segment.

進度軸300上由圖形31所指示的片段所對應的視訊區段2311中的片段稱為選定片段。可以由輸入輸出單元160中的方向鍵或由觸控裝置來變更圖形31的位置至片段72A的相鄰片段,因此變更該選定片段為片段72B的相鄰片段。由輸入輸出單元160中的方向鍵操作,例如致動按鍵217的操作點219a將該選定片段往右移動至右方下一個片段的操作就是等效於向前略過操作(forward skipping),例如致動按鍵217的操作點221a將該選定片段往左移動至左方下一個片段的操作就是等效於向後略過操作(backward skipping)。因此利用此實施方式,處理器151可以調整視訊區段2311在播放時的向前/向後略過操作的距離單位。A segment in the video segment 2311 corresponding to the segment indicated by the graphic 31 on the progress axis 300 is referred to as a selected segment. The position of the graphic 31 can be changed by the direction key in the input/output unit 160 or by the touch device to the adjacent segment of the segment 72A, thus changing the selected segment to the adjacent segment of the segment 72B. By the direction key operation in the input and output unit 160, for example, the operation point 219a of the actuation button 217 moves the selected segment to the right to the next segment of the right is equivalent to forward skipping, for example The operation of moving the selected segment to the left by the operating point 221a of the moving button 217 is equivalent to backward skipping. Therefore, with this embodiment, the processor 151 can adjust the distance unit of the forward/backward skip operation of the video section 2311 during playback.

在圖13的例子中,處理器151選定進度軸300的第二片段72A所對應的視訊區段2311片段72B,也就是視訊區段2311的第2片段,處理器151可以回應按鍵217的操作點220a致動而將該第2片段72B作為新的待處理物件,依照先前接收的第一數字m對該特定片段再細分為m個子片段。視訊區段2311的該特定片段72B再細分後的每一子片段的長度為D/m2 。舉例來說,在重複步驟S322的執行過程中,處理器151將片段72B的總長度為D/5除以5作為視訊略過操作的新單位,取得視訊區段2311上對應下列播放時間的位置以區分該m個子片段:In the example of FIG. 13, the processor 151 selects the video segment 2311 segment 72B corresponding to the second segment 72A of the progress axis 300, that is, the second segment of the video segment 2311, and the processor 151 can respond to the operation point of the button 217. 220a is actuated to use the second segment 72B as a new object to be processed, and the specific segment is subdivided into m sub-segments according to the previously received first number m. The length of each sub-segment subdivided by the specific segment 72B of the video segment 2311 is D/m 2 . For example, during the execution of the repeating step S322, the processor 151 divides the total length of the segment 72B by D/5 by 5 as a new unit of the video skip operation, and obtains the position on the video segment 2311 corresponding to the following playback time. To distinguish the m sub-segments:

, , , , and .

如圖15所示,進度軸320代表進度軸片段72A,對應於視訊片段72B。處理器151依照先前接收的第一數字m=5對片段72A及片段72B再細分為5個子片段。進度軸320中的5個片段代表片段72B中的5個較小的子片段。圖15中,圖形32所指的是選定的子片段,圖形32的位置對應在片段72B中的位置721。同樣的,可以利用按鍵217移動圖形32而改選其它的子片段作為選定片段。As shown in Figure 15, the progress axis 320 represents the progress axis segment 72A, corresponding to the video segment 72B. The processor 151 subdivides the segment 72A and the segment 72B into 5 sub-segments according to the previously received first number m=5. The five segments in the progress axis 320 represent the five smaller sub-segments in segment 72B. In Fig. 15, the graphic 32 refers to the selected sub-segment, and the position of the graphic 32 corresponds to the position 721 in the segment 72B. Similarly, the button 32 can be used to move the graphic 32 and the other sub-segments can be selected as the selected segment.

在沒有數字鍵的裝置上,可以用方向鍵或向前或向後略過操作鍵來選定待處理物件中的其中一片段。On devices without numeric keys, one of the objects to be processed can be selected using the arrow keys or by skipping the operation keys forward or backward.

3.3定位方法的第二實施方式3.3 Second embodiment of the positioning method

圖3D顯示執行於媒體資料播放裝置100的定位方法之第二實施方式。記憶體152可以預先儲存用來決定視訊區段2311分段數量的預定數字z。數字z可以是任何大於1的正整數。FIG. 3D shows a second embodiment of the positioning method performed by the media material playback apparatus 100. The memory 152 may store in advance a predetermined number z for determining the number of segments of the video segment 2311. The number z can be any positive integer greater than one.

處理器151從輸入輸出單元160的數字鍵接收輸入之數字c(步驟S330),並開始該計時器50以計時一段期間(步驟S332)。The processor 151 receives the input number c from the numeric keys of the input-output unit 160 (step S330), and starts the timer 50 to count a period of time (step S332).

處理器151回應該已接收的數字c將視訊區段2311及其對應進度軸分段為預定數量z個片段(步驟S334),並取得其中的第c個片段(步驟S336)。視訊區段2311的每一片段的長度為D/z。處理器151將視訊區段2311的總長度為D除以z作為視訊略過操作的新單位。舉例來說,z=10且c=7,如圖17所示處理器151將進度軸300分為10個片段,每一片段的長度為D/10,並取得其中的第7個片段77A,並用圖形31指示片段77A的末端位置。進度軸300是媒體資料播放裝置100目前作用中的使用者介面元件,所以相應於進度軸的視訊區段2311為處理器151作定位操作的主體。相應於進度軸300,將視訊區段2311分為10個片段,並依據數字c取得其中的第7個片段77B,對應於片段77A。位置779對應於圖形31指示的位置。The processor 151 returns the video segment 2311 and its corresponding progress axis into a predetermined number z segments by the received number c (step S334), and takes the c-th segment therein (step S336). The length of each segment of video section 2311 is D/z. The processor 151 divides the total length of the video section 2311 by D by z as a new unit of video skip operation. For example, z=10 and c=7, as shown in FIG. 17, the processor 151 divides the progress axis 300 into 10 segments, each segment having a length of D/10, and obtaining the seventh segment 77A thereof. The end position of the segment 77A is indicated by a graphic 31. The progress axis 300 is the user interface component currently active in the media material playback device 100, so the video segment 2311 corresponding to the progress axis is the main body of the positioning operation of the processor 151. Corresponding to the progress axis 300, the video segment 2311 is divided into 10 segments, and the seventh segment 77B thereof is obtained according to the number c, corresponding to the segment 77A. Location 779 corresponds to the location indicated by graphic 31.

處理器151判別計時器50是否滿期(事件A),該計時器50未滿期以前是否從輸入輸出單元160的數字鍵接收到另一數字d(事件B)(步驟S338)。The processor 151 determines whether the timer 50 is expired (event A), whether the timer 50 has received another number d (event B) from the numeric key of the input-output unit 160 before the expiration (step S338).

如計時器50未滿期以前接收到另一數字d(事件B),則處理器151回應該另一數字d將該特定片段及其對應進度軸片段再細分為預定數量z個片段(步驟S340),取得再細分後的複數片段中的第d個片段(步驟S342),並重置該計時器50(步驟S344)。視訊區段2311的該特定片段再細分後的每一子片段的長度為D/z2 。處理器151以子片段長度D/z2 作為視訊略過操作的新單位。在圖17的例子中,舉例來說,z=10且d=5,處理器151將視訊區段2311的第7片段再分為10個片段,並取得其中的第5個片段。如圖18所示,處理器151將視訊區段2311的第7片段77B再分為10個片段,並取得其中的第5個片段775B。圖18中顯示器155的進度軸320代表片段77A,而片段77A代表片段77B。處理器151把進度軸320分為10片段,再依據數字d取得進度軸320中的第5片段775A,其代表片段775B。同理,經由重複執行圖16的該步驟可以對片段775B再次作細分。If another number d (event B) is received before the timer 50 is not expired, the processor 151 returns another number d to subdivide the specific segment and its corresponding progress axis segment into a predetermined number of z segments (step S340). The d-th segment of the sub-subdivided complex segment is obtained (step S342), and the timer 50 is reset (step S344). The length of each sub-segment subdivided by the particular segment of the video segment 2311 is D/z 2 . The processor 151 takes the sub-segment length D/z 2 as a new unit of video skip operation. In the example of FIG. 17, for example, z=10 and d=5, the processor 151 subdivides the seventh segment of the video segment 2311 into 10 segments and obtains the fifth segment thereof. As shown in FIG. 18, the processor 151 subdivides the seventh segment 77B of the video segment 2311 into 10 segments and obtains the fifth segment 775B therein. The progress axis 320 of display 155 in Figure 18 represents segment 77A, while segment 77A represents segment 77B. The processor 151 divides the progress axis 320 into 10 segments, and then obtains a fifth segment 775A in the progress axis 320 based on the number d, which represents the segment 775B. Similarly, segment 775B can be subdivided again by repeatedly performing this step of FIG.

如該計時器50滿期(事件A),則處理器151對該取得之片段執行視訊操作(步驟S346)。在圖18的例子中,是對片段775B的末端位置775開始執行視訊操作。If the timer 50 expires (event A), the processor 151 performs a video operation on the acquired segment (step S346). In the example of Figure 18, the video operation begins at the end position 775 of segment 775B.

在沒有數字鍵的裝置上,可以用方向鍵的左鍵、右鍵或向前或向後略過操作鍵來選定視訊區段2311中的其中一片段,並用向上鍵、向下鍵或另一鍵以驅動某片段再細分的操作。On a device without a numeric key, one of the video segments 2311 can be selected by using the left button, the right button of the direction key, or skipping the operation button forward or backward, and using the up button, down button or another button to Drive a segment and subdivide it.

3.4定位方法之第三實施方式3.4 Third embodiment of the positioning method

圖19顯示執行於媒體資料播放裝置100的定位方法之第三實施方式。下列說明中在第一變數及第二變數(或常數)中間的等號“←”表示指定第二變數(或常數)的值給第一變數。FIG. 19 shows a third embodiment of the positioning method performed by the media material playback apparatus 100. The equal sign "←" between the first variable and the second variable (or constant) in the following description indicates that the value of the second variable (or constant) is assigned to the first variable.

媒體資料播放裝置100具有複數變數a1 , a2 , a3 ,…an ,每一者的預設值皆設為0。處理器151每次從輸入輸出單元160取得數字順序存入a1 , a2 , a3 ,…an 之其一。參照圖19,處理器151從輸入輸出單元160的數字鍵接收輸入之第一數字e,將數字e存入a1 ,亦即執行a1 ←e (步驟S350),並開始該計時器50以計時一段期間(步驟S352)。The media material playback apparatus 100 has complex variables a 1 , a 2 , a 3 , ... a n , and each of the preset values is set to zero. Each time the processor 151 obtains a digital sequence from the input/output unit 160, it stores one of a 1 , a 2 , a 3 , ... a n . Referring to FIG 19, a first input of the digital processor 151 from the input-output unit 160 receives the numeric keys e, e stored in digital a 1, i.e., performs a 1 ← e (step S350), and starts the timer 50 The period of time is counted (step S352).

處理器151根據數字e以產生百分比值(步驟S354),並取得視訊區段2311中對應該百分比值的位置(步驟S356)。舉例來說,百分比值m為:The processor 151 generates a percentage value based on the number e (step S354), and acquires the position corresponding to the percentage value in the video section 2311 (step S356). For example, the percentage value m is:

(11) (11)

當處理器151取得第一數字e=9,處理器151根據數字9以及公式(1)以產生百分比值90%。如圖20所示,從視訊區段2311的前端至位置790的長度為視訊區段2311的總長度的90%。處理器151取得視訊區段2311中對應該百分比值90%的位置790。When the processor 151 takes the first number e=9, the processor 151 generates a percentage value of 90% according to the number 9 and the formula (1). As shown in FIG. 20, the length from the front end of the video section 2311 to the position 790 is 90% of the total length of the video section 2311. The processor 151 obtains a position 790 in the video section 2311 that corresponds to a percentage value of 90%.

處理器151判別計時器50是否滿期(事件A),或者該計時器50未滿期以前是否從輸入輸出單元160的數字鍵接收到第二數字f(事件B)(步驟S360)。The processor 151 determines whether the timer 50 is full (event A), or whether the timer 50 has received the second number f (event B) from the numeric keys of the input-output unit 160 before the expiration of the timer 50 (step S360).

如計時器50未滿期以前收到第二數字f(事件B),則處理器151,將數字f存入a2 ,亦即執行a2 ←f,重置該計時器50(步驟S362),並根據所有已接收的數字以產生百分比值以取代先前的百分比值,並產生對應上述新的百分比值的位址,以取得視訊區段2311中對應該新的百分比值的位置(步驟S364)。If the second number f (event B) is received before the timer 50 is expired, the processor 151 stores the number f in a 2 , that is, executes a 2 ←f, and resets the timer 50 (step S362). And based on all received numbers to generate a percentage value to replace the previous percentage value, and generate an address corresponding to the new percentage value to obtain a position corresponding to the new percentage value in the video section 2311 (step S364) .

舉例來說,若e=9, f=5新的百分比值mnew =95%;For example, if e=9, f=5 new percentage value m new =95%;

舉例來說,若e=0, f=5新的百分比值mnew =5%。For example, if e=0, f=5 new percentage value m new =5%.

接著,處理器151取得進度軸300中對應該百分比值的位置,以及視訊區段2311中對應該百分比值的位置(步驟S366),並重複步驟S360。Next, the processor 151 obtains the position corresponding to the percentage value in the progress axis 300, and the position corresponding to the percentage value in the video section 2311 (step S366), and repeats step S360.

若計時器50滿期(事件A),處理器151依據該取得的位置執行視訊操作(步驟S368)。If the timer 50 expires (event A), the processor 151 performs a video operation in accordance with the acquired position (step S368).

4.結論4 Conclusion

總之,上述媒體資料播放裝置100可以並行剖析、解碼及播放媒體串流資料中不同區段,其中一區段為重播的區段。上述媒體資料播放裝置根據PCR、PTS或DTS在進度軸上顯示上述重播區段的播放進度,並回應數字輸入或觸控操作以提供上述重播區段在重播時的重播位置切換。In summary, the media material playing device 100 can parse, decode, and play different segments in the media stream data in parallel, wherein one segment is a replay segment. The media data playing device displays the playing progress of the replay section on the progress axis according to the PCR, the PTS or the DTS, and responds to the digital input or the touch operation to provide the replay position switching of the replay section during the replay.

100‧‧‧媒體資料播放裝置100‧‧‧Media data player

151‧‧‧處理器151‧‧‧ processor

152‧‧‧主記憶體152‧‧‧ main memory

153‧‧‧非揮發性記憶體153‧‧‧ Non-volatile memory

154‧‧‧大量儲存裝置154‧‧‧Many storage devices

155‧‧‧顯示器155‧‧‧ display

156‧‧‧通訊單元156‧‧‧Communication unit

157‧‧‧內容保護單元157‧‧‧Content Protection Unit

158‧‧‧電源供應器158‧‧‧Power supply

159‧‧‧石英振盪器159‧‧‧Crystal Oscillator

160‧‧‧輸入輸出裝置160‧‧‧Input and output devices

161‧‧‧音訊輸出單元161‧‧‧Optical output unit

162‧‧‧影像輸出單元162‧‧‧Image output unit

164‧‧‧埠164‧‧‧埠

165‧‧‧控制器165‧‧‧ Controller

167‧‧‧觸控偵測器167‧‧‧Touch detector

201-217‧‧‧按鍵201-217‧‧‧ button

218a‧‧‧操作點218a‧‧‧Operation point

219a‧‧‧操作點219a‧‧‧Operation point

220a‧‧‧操作點220a‧‧‧Operation point

221a‧‧‧操作點221a‧‧‧Operation point

230‧‧‧接收器230‧‧‧ Receiver

231‧‧‧媒體資料流231‧‧‧Media data stream

240‧‧‧擷取單元240‧‧‧Capture unit

241‧‧‧第一緩衝暫存器241‧‧‧First buffer register

242‧‧‧第二緩衝暫存器242‧‧‧Second buffer register

243‧‧‧第三緩衝暫存器243‧‧‧ Third buffer register

250‧‧‧剖析器單元250‧‧‧Parser unit

251‧‧‧剖析器251‧‧‧ parser

252‧‧‧剖析器252‧‧‧ parser

260‧‧‧解碼器單元260‧‧‧Decoder unit

261‧‧‧解碼器261‧‧‧Decoder

262‧‧‧解碼器262‧‧‧Decoder

270‧‧‧組合器270‧‧‧ combiner

280‧‧‧使用者介面單元280‧‧‧User interface unit

281‧‧‧定位器281‧‧‧ Locator

282‧‧‧呈現器282‧‧‧ renderer

2311‧‧‧第一區段2311‧‧‧First section

2312‧‧‧第二區段2312‧‧‧Second section

2313‧‧‧第三區段2313‧‧‧third section

23111‧‧‧第一表示單元23111‧‧‧First representation unit

23112‧‧‧第二表示單元23112‧‧‧Second representation unit

2431‧‧‧指標2431‧‧ indicators

290‧‧‧網頁轉換器290‧‧‧Web Converter

292‧‧‧網頁伺服器292‧‧‧Web server

294‧‧‧網頁294‧‧‧Webpage

295‧‧‧更新單元295‧‧‧ update unit

296‧‧‧偵測單元296‧‧‧Detection unit

300‧‧‧進度軸300‧‧‧Progress axis

301‧‧‧進度軸片段301‧‧‧Progress axis fragment

302‧‧‧位置302‧‧‧ position

31‧‧‧游標圖形31‧‧‧ cursor graphics

32‧‧‧游標圖形32‧‧‧ cursor graphics

320‧‧‧進度軸320‧‧‧Progress axis

400‧‧‧移動式裝置400‧‧‧Mobile devices

40a‧‧‧鍵盤40a‧‧‧ keyboard

50‧‧‧計時器50‧‧‧Timer

60‧‧‧計時器60‧‧‧Timer

72‧‧‧視訊資料的位置72‧‧ ‧ Location of video material

72A‧‧‧進度軸片段72A‧‧‧Stage axis fragment

73‧‧‧視訊資料的位置73‧‧ ‧ Location of video material

77A‧‧‧進度軸片段77A‧‧‧Progress Axis Fragment

77B‧‧‧視訊片段77B‧‧‧Video clips

721‧‧‧視訊資料的位置721‧‧‧Location of video material

779‧‧‧視訊資料的位置779‧‧ ‧ Location of video material

775‧‧‧視訊資料的位置775‧‧ ‧ Location of video material

775A‧‧‧進度軸片段775A‧‧‧Progress Axis Fragment

775B‧‧‧視訊片段775B‧‧‧Video clip

790‧‧‧視訊資料的位置790‧‧ ‧ Location of video material

L0‧‧‧進度軸長度L0‧‧‧Progress shaft length

L2‧‧‧距離L2‧‧‧ distance

A1‧‧‧顯示區域A1‧‧‧ display area

A2‧‧‧顯示區域A2‧‧‧ display area

R1‧‧‧比例R1‧‧ ratio

圖1顯示媒體資料播放裝置的實施方式結構方塊圖;1 is a block diagram showing an embodiment of a media material playing device;

圖2顯示媒體資料播放裝置中與重播功能有關的複數模組的實施方式結構方塊圖;2 is a block diagram showing an embodiment of a plurality of modules related to a replay function in a media material playing device;

圖3顯示媒體資料流依照上述裝置的接收時間表示的示意圖;Figure 3 is a diagram showing the media data stream in accordance with the reception time of the above device;

圖4顯示媒體資料播放裝置的實施方式結構方塊圖,其中具有複製的視訊區段;4 is a block diagram showing an embodiment of a media material playing device having a duplicated video segment;

圖5顯示媒體資料播放裝置的實施方式結構方塊圖,其中具有緩存的視訊區段;5 is a block diagram showing an embodiment of a media material playing device, wherein a video segment having a buffer is included;

圖6顯示進度軸的實例示意圖;Figure 6 shows an example of an example of a progress axis;

圖7顯示媒體資料定位器及緩衝暫存器的示意圖;Figure 7 shows a schematic diagram of a media data locator and a buffer register;

圖8顯示隨機存取已緩存的媒體資料的操作流程圖;Figure 8 is a flow chart showing the operation of randomly accessing cached media material;

圖9顯示使用者介面的實施方式示意圖;Figure 9 shows a schematic diagram of an embodiment of a user interface;

圖10顯示鍵盤的實施方式示意圖;Figure 10 is a schematic view showing an embodiment of a keyboard;

圖11-12顯示媒體資料播放的定位方法複數實施方式的流程圖;11-12 are flowcharts showing a plurality of embodiments of a positioning method for playing media data;

圖13-15顯示上述媒體資料播放的定位方法的第一實施方式的示範操作示意圖;13-15 are schematic diagrams showing exemplary operations of the first embodiment of the method for positioning media data playing;

圖16顯示媒體資料播放的定位方法的第二實施方式的流程圖;16 is a flow chart showing a second embodiment of a positioning method of media material playing;

圖17-18顯示上述媒體資料播放的定位方法的第二實施方式的示範操作示意圖;17-18 are schematic diagrams showing an exemplary operation of the second embodiment of the positioning method of the media data playing;

圖19顯示媒體資料播放的定位方法的第三實施方式的流程圖;以及Figure 19 is a flow chart showing a third embodiment of a method of positioning media material playback;

圖20顯示上述媒體資料播放的定位方法的第三實施方式的示範操作示意圖。FIG. 20 is a diagram showing an exemplary operation of the third embodiment of the positioning method of the above-described media material playing.

Claims (10)

一種媒體資料播放裝置,包含:
一接收器,用以接收媒體資料流;
一緩衝暫存器,包含第一、第二及第三緩衝暫存器;
一擷取單元,用以複製並分別儲存上述媒體資料流的第一區段成為第一複本及第二複本於上述第一及第二緩衝暫存器,產生並儲存上述第二複本的第三複本於上述第三緩衝暫存器以回應重播指令,其中上述媒體資料流的第二區段取代上述第一及第二緩衝暫存器中的上述第一及第二複本;
一剖析器單元,包含第一及第二剖析器以平行處理方式分別剖析上述第一緩衝暫存器的上述第二區段及上述第三緩衝暫存器的上述第三複本;
一解碼器單元,包含第一及第二解碼器以平行處理方式分別解碼已剖析的上述第二區段及已剖析的上述第三複本;及
一組合器,用以從已解碼的上述第三複本及上述第二區段組合視訊訊號。
A media data playing device comprising:
a receiver for receiving a media data stream;
a buffer register comprising first, second and third buffer registers;
a capture unit for copying and separately storing the first segment of the media data stream into a first copy and a second copy in the first and second buffer registers, and generating and storing the third copy of the second copy Responding to the third buffer register in response to the replay instruction, wherein the second segment of the media data stream replaces the first and second replicas in the first and second buffer registers;
a parser unit, comprising: the first and second parsers respectively parsing the second segment of the first buffer register and the third replica of the third buffer register in a parallel processing manner;
a decoder unit, comprising: first and second decoders respectively decoding the parsed second segment and the parsed third replica in a parallel processing manner; and a combiner for decoding the third The copy and the second segment combined video signal.
如申請專利範圍第1項所述的媒體資料播放裝置,其中當上述組合器顯示上述第三複本中的第一表示單元時,顯示一進度軸用以表示上述第一表示單元在上述第三複本中相對於上述第三複本的長度的位置,且上述媒體資料播放裝置更包含:
一定位器,用以接收在上述進度軸上的選定位置,並根據上述選定位置從上述第三複本中找到一第二表示單元,其中上述組合器顯示上述找到的第二表示單元以回應上述選定位置。
The media data playing device of claim 1, wherein when the combiner displays the first display unit in the third copy, displaying a progress axis to indicate that the first display unit is in the third copy The position relative to the length of the third copy, and the media data playing device further includes:
a locator for receiving a selected position on the progress axis and finding a second representation unit from the third copy based on the selected position, wherein the combiner displays the found second representation unit in response to the selection position.
如申請專利範圍第2項所述的媒體資料播放裝置,其中上述第一表示單元包含封包化基本資料流、傳送資料流、或快閃視訊資料流的單元,上述媒體資料播放裝置更包含:
一進度軸呈現器,用以根據上述第三複本中的傳送資料流封包的節目時間參考、或上述第三複本中的封包化基本資料流封包的播放時戳或解碼時戳、或上述第三複本中的快閃視訊資料流封包的時戳,以計算上述第三複本的長度及上述第一表示單元在上述第三複本中相對於上述第三複本的長度的位置。
The media data playing device of claim 2, wherein the first display unit comprises a unit for packetizing a basic data stream, a data stream, or a flash video stream, and the media data playing device further comprises:
a progress axis renderer, configured to: according to the program time reference of the transport stream packet in the third replica, or the play time stamp or the decoding time stamp of the packetized basic stream packet in the third replica, or the third And a time stamp of the flash video stream packet in the replica to calculate a length of the third replica and a position of the first representation unit in the third replica relative to a length of the third replica.
如申請專利範圍第2項所述的媒體資料播放裝置,其中上述媒體資料播放裝置播放上述第三複本的整體以回應上述重播指令,當在上述進度軸上接收到二個選定的分界點時,上述定位器根據上述二個分界點以在上述第三複本中找到二個分界表示單元,以及上述媒體資料播放裝置播放上述第三複本中被上述二個分界表示單元所界定的部分以回應其它的重播指令。The media material playing device of claim 2, wherein the media data playing device plays the entirety of the third copy in response to the replay instruction, when two selected cut points are received on the progress axis, The locator finds two demarcation representation units in the third replica according to the two demarcation points, and the media data playing device plays the portion of the third replica defined by the two demarcation representation units in response to the other Replay instructions. 如申請專利範圍第2項所述的媒體資料播放裝置,更包含處理器,用以執行一定位方法,上述定位方法包含:
上述處理器將上述第三複本的長度的一部分作為上述第三複本的一第一視訊片段的長度;
上述處理器以上述第一視訊片段的長度作為第一單位,於上述第三複本上執行第一向前或向後略過操作以取得上述第三複本的一第二視訊片段;
上述處理器根據上述輸入裝置的操作將上述第二視訊片段的長度的一部分作為上述第二視訊片段中一子片段的長度;以及
上述處理器以上述子片段的長度作為第二單位,於上述第二視訊片段上執行第二向前或向後略過操作以取得上述第二視訊片段中的上述選定位置,其中上述第二單位小於上述第一單位。
The media data playing device of claim 2, further comprising a processor, configured to perform a positioning method, where the positioning method comprises:
The processor uses a portion of the length of the third replica as the length of a first video segment of the third replica;
The processor, by using the length of the first video segment as a first unit, performing a first forward or backward skip operation on the third replica to obtain a second video segment of the third replica;
The processor, according to the operation of the input device, uses a part of the length of the second video segment as a length of a sub-segment of the second video segment; and the processor uses the length of the sub-segment as a second unit, in the foregoing Performing a second forward or backward skip operation on the second video segment to obtain the selected location in the second video segment, wherein the second unit is smaller than the first unit.
如申請專利範圍第2項所述的媒體資料播放裝置,更包含:
一計時器,用以計時一預定期間;
一輸入裝置,回應操作以產生數字;
一處理器,電連接於該記憶體、該計時器及該輸入裝置,執行一定位方法以播放以取得上述選定位置,該方法包含:
從該輸入裝置接收一第一數字N,並開始該計時器;
回應該已接收的數字N,取得該視訊資料中的第N個片段;
判別該計時器未滿期以前是否從輸入裝置接收到另一個第二數字M;
如該計時器滿期且未接收到該第二數字M,則對該取得之第N個片段執行一第一播放操作,其中上述選定位置為上述第N個片段上的位置;以及
如該計時器未滿期以前接收到該第二數字M,則取得該第N個片段中的第M個子片段,並重置該計時器,以及回應接收到該第二數字M之後的上述計時器滿期,對該第M個子片段執行一第二播放操作,其中上述選定位置為上述第M個子片段上的位置。
For example, the media data playing device described in claim 2 of the patent scope further includes:
a timer for timing a predetermined period of time;
An input device that responds to an operation to generate a number;
a processor electrically connected to the memory, the timer and the input device, and performing a positioning method for playing to obtain the selected location, the method comprising:
Receiving a first number N from the input device and starting the timer;
Retrieving the received number N to obtain the Nth segment in the video material;
Determining whether the timer is not full before receiving another second number M from the input device;
If the timer expires and the second number M is not received, performing a first playback operation on the acquired Nth segment, wherein the selected location is a location on the Nth segment; and If the second number M is received before the expiration date, the Mth sub-segment of the Nth segment is obtained, and the timer is reset, and the timer expires after receiving the second number M. And performing a second playing operation on the Mth sub-segment, wherein the selected position is a position on the Mth sub-segment.
如申請專利範圍第6項所述的媒體資料播放裝置,其中上述輸入裝置包含觸控板,上述處理器回應上述觸控板的操作以產生上述數字N及M。The media data playing device of claim 6, wherein the input device comprises a touch panel, and the processor is responsive to the operation of the touch panel to generate the numbers N and M. 一種媒體資料重播方法,執行於包含第一、第二及第三緩衝暫存器的一媒體資料播放裝置,其中上述媒體資料播放裝置包含第一、第二及第三緩衝暫存器並電連接一顯示器,上述方法包含:
接收媒體資料流;
複製並分別儲存上述媒體資料流的第一區段於上述第一及第二緩衝暫存器成為第一複本及第二複本;
產生並儲存上述第二複本的第三複本於上述第三緩衝暫存器以回應重播指令,其中上述媒體資料流的第二區段取代上述第一及第二緩衝暫存器中的上述第一及第二複本;
利用上述媒體資料播放裝置的第一及第二剖析器以平行處理方式分別剖析上述第一緩衝暫存器的上述第二區段及上述第三緩衝暫存器的上述第三複本;
利用上述媒體資料播放裝置的第一及第二解碼器以平行處理方式分別解碼已剖析的上述第二區段及已剖析的上述第三複本;及
從已解碼的上述第三複本及上述第二區段組合視訊訊號,並顯示於上述顯示器。
A media data replay method is implemented in a media data playing device including first, second, and third buffer registers, wherein the media data playing device includes first, second, and third buffer registers and is electrically connected A display, the above method includes:
Receiving a media stream;
Copying and separately storing the first segment of the media data stream in the first and second buffer registers to become a first copy and a second copy;
Generating and storing a third copy of the second copy in the third buffer register in response to the replay instruction, wherein the second segment of the media stream replaces the first one of the first and second buffer registers And a second copy;
The first and second parsers of the media data playing device respectively parse the second segment of the first buffer register and the third replica of the third buffer register in a parallel processing manner;
Decoding, respectively, the parsed second segment and the parsed third replica in a parallel processing manner by using the first and second decoders of the media data playing device; and decoding the third replica and the second The segment combines the video signals and displays them on the above display.
如申請專利範圍第8項所述的媒體資料重播方法,更包含:
當顯示上述第三複本中的第一表示單元時,顯示一進度軸用以表示上述第一表示單元在上述第三複本中相對於上述第三複本的長度的位置;
接收在上述進度軸上的選定位置,並根據上述選定位置從上述第三複本中找到一第二表示單元;及
顯示上述找到的第二表示單元以回應上述選定位置。
For example, the media data replay method described in claim 8 of the patent scope further includes:
When the first representation unit in the third replica is displayed, a progress axis is displayed to indicate a position of the first representation unit in the third replica relative to the length of the third replica;
Receiving a selected position on the progress axis, and finding a second representation unit from the third copy according to the selected position; and displaying the found second representation unit in response to the selected position.
如申請專利範圍第9項所述的媒體資料重播方法,其中上述媒體資料播放裝置播放上述第三複本的整體以回應上述重播指令,上述方法更包含:
當在上述進度軸上接收到二個選定的分界點時,根據上述二個分界點在上述第三複本中找到二個分界表示單元,以及
播放上述第三複本中被上述二個分界表示單元所界定的部分以回應其它的重播指令。
The media data replay method according to claim 9, wherein the media data playing device plays the entirety of the third copy in response to the replay instruction, and the method further comprises:
When two selected demarcation points are received on the progress axis, two demarcation representation units are found in the third replica according to the two demarcation points, and the two demarcation representation units in the third replica are played. The defined portion responds to other replay instructions.
TW99110483A 2010-04-06 2010-04-06 Media data playback device and replay method thereof TWI400949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99110483A TWI400949B (en) 2010-04-06 2010-04-06 Media data playback device and replay method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99110483A TWI400949B (en) 2010-04-06 2010-04-06 Media data playback device and replay method thereof

Publications (2)

Publication Number Publication Date
TW201136309A TW201136309A (en) 2011-10-16
TWI400949B true TWI400949B (en) 2013-07-01

Family

ID=46752164

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99110483A TWI400949B (en) 2010-04-06 2010-04-06 Media data playback device and replay method thereof

Country Status (1)

Country Link
TW (1) TWI400949B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9207837B2 (en) * 2011-12-20 2015-12-08 Nokia Technologies Oy Method, apparatus and computer program product for providing multiple levels of interaction with a program
TWI702843B (en) * 2012-02-15 2020-08-21 立視科技股份有限公司 Television system operated with remote touch control
TWI488137B (en) * 2012-12-12 2015-06-11 Mitake Information Corp Device and method for asynchronous quote data update based on widget architecture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020105951A1 (en) * 2001-02-08 2002-08-08 Miska Hannuksela Playback of streamed media
EP1457984A2 (en) * 2003-03-10 2004-09-15 Kabushiki Kaisha Toshiba Information storage medium, information playback apparatus, and information playback method
US6879770B1 (en) * 1999-11-17 2005-04-12 Koninklijke Philips Electronics N.V. Method of reverse playback of a MPEG video stream
US20080247729A1 (en) * 2007-04-06 2008-10-09 Samsung Electronics Co., Ltd. Method and apparatus for normal reverse playback
US20080267588A1 (en) * 2005-08-25 2008-10-30 Ayako Iwase Reproduction Device, Reproduction Method, Program, Program Storage Medium, Data Structure, and Recording Medium Fabrication Method
JP2009055503A (en) * 2007-08-29 2009-03-12 Sony Corp Playback method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879770B1 (en) * 1999-11-17 2005-04-12 Koninklijke Philips Electronics N.V. Method of reverse playback of a MPEG video stream
US20020105951A1 (en) * 2001-02-08 2002-08-08 Miska Hannuksela Playback of streamed media
EP1457984A2 (en) * 2003-03-10 2004-09-15 Kabushiki Kaisha Toshiba Information storage medium, information playback apparatus, and information playback method
US20080267588A1 (en) * 2005-08-25 2008-10-30 Ayako Iwase Reproduction Device, Reproduction Method, Program, Program Storage Medium, Data Structure, and Recording Medium Fabrication Method
US20080247729A1 (en) * 2007-04-06 2008-10-09 Samsung Electronics Co., Ltd. Method and apparatus for normal reverse playback
JP2009055503A (en) * 2007-08-29 2009-03-12 Sony Corp Playback method and apparatus

Also Published As

Publication number Publication date
TW201136309A (en) 2011-10-16

Similar Documents

Publication Publication Date Title
US9204192B2 (en) Portable electronic device with diversified operation method
US9519416B2 (en) System and method to display a progress bar
WO2017121356A1 (en) Method for implementing multi-channel preview, and server and terminal
US20060161854A1 (en) Method and apparatus for controlling operation of screen saver during reproduction of content
US20120173003A1 (en) User terminal apparatus and ui providing method thereof
TWI400949B (en) Media data playback device and replay method thereof
JP4662895B2 (en) Broadcast reception recording system
US9247179B2 (en) Reverse video playback in a data processing device
US9813658B2 (en) Acquiring and displaying information to improve selection and switching to an input interface of an electronic device
CN111711857A (en) Multi-channel video playing method, terminal and readable storage medium
TWI478553B (en) Media data playback device
US9965617B2 (en) Display apparatus and method for controlling display apparatus thereof
JP2009224897A (en) Information processor
US20150074724A1 (en) Information processing apparatus and program table displaying method
US20060279657A1 (en) Display control device and method and program
US20130084054A1 (en) Electronic apparatus and playback control method
US20150341403A1 (en) Server apparatus, display apparatus, system, and controlling methods thereof
EP3522549B1 (en) Information processing terminal, information processing method, and program
EP2611202A1 (en) Electronic device and control method of electronic device
WO2019073813A1 (en) Information processing terminal, information processing method, and program
JP2013225751A (en) Display device and display method
KR20170035309A (en) Electronic apparatus and Method for providing a content thereof
CN117835010A (en) Media asset playing method and display device
CN117241082A (en) Display device and data processing method
JP2014236333A (en) Information processing device, control method, and program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees