TWI547872B - Media data playback device and reboot method thereof - Google Patents
Media data playback device and reboot method thereof Download PDFInfo
- Publication number
- TWI547872B TWI547872B TW103110636A TW103110636A TWI547872B TW I547872 B TWI547872 B TW I547872B TW 103110636 A TW103110636 A TW 103110636A TW 103110636 A TW103110636 A TW 103110636A TW I547872 B TWI547872 B TW I547872B
- Authority
- TW
- Taiwan
- Prior art keywords
- computer device
- memory
- electronic computer
- startup
- core module
- Prior art date
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
本發明涉及電腦技術,尤其涉及一種媒體資料播放裝置及其重新啟動方法。 The present invention relates to computer technology, and in particular, to a media data playing device and a restarting method thereof.
電視接收裝置,即一般稱為電視機頂盒(set-top box),用來管理電視機所未支援的頻道號碼,並將頻道信號解擾(descramble)、解密(decrypt)、解碼(decode)後產生視訊及其相關資訊,例如節目表(program guide)。電視機頂盒包含用來處理視訊及音訊的數位訊號處理晶片(digital signal processing,簡稱DSP),以及用來執行作業系統(operating system,簡稱OS)及其它程式的中央處理單元(central processing unit,簡稱CPU)。在電視機頂盒啟動時,執行載入模組以清理主記憶體、從快閃記憶體(flash memory)將作業系統加載(loading)並解壓縮至上述主記憶體。因為清理主記憶體及加載作業系統是啟動程序的一部分,所以重新啟動也常常是在出現系統錯誤時的一個解決方法,例如當虛擬記憶體(virtual memory)的區域被錯誤地覆寫時所造成的錯誤。但是作業系統重新加載及解壓縮是很浪費時間的。 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. The TV set top box includes digital signal processing (DSP) for processing video and audio, and a central processing unit (CPU for executing operating system (OS) and other programs). ). When the set top box is activated, the load module is executed to clean the main memory, load the operating system from the flash memory, and decompress the main memory. Because cleaning the main memory and loading the operating system is part of the startup process, restarting is often a solution to system errors, such as when the virtual memory area is incorrectly overwritten. mistake. But reloading and decompressing the operating system is a waste of time.
一種媒體資料播放裝置,包含第一及第二非揮發性記憶體、輸入單元及處理器。上述第一非揮發性記憶體儲存一作業系統的壓縮格式的一核心模組。上述第二非揮發性記憶體作為上述媒體資料播放裝置的主記憶體。其中上述核心模組的移動包含從上述第一非揮發性記憶體加載並解壓縮上述核心模組至上述 第二非揮發性記憶體。當上述輸入單元接收啟動指令時,上述處理器,執行上述載入模組以驅動上述核心模組的第一次移動以回應上述啟動指令。當從上述輸入單元接收一關機指令時,上述處理器在上述媒體資料播放裝置關機以前,決定是否驅動上述核心模組的第二次移動以回應上述關機指令。 A media data playing device comprises first and second non-volatile memory, an input unit and a processor. The first non-volatile memory stores a core module of a compression format of an operating system. The second non-volatile memory is used as the main memory of the media material playing device. The moving of the core module includes loading and decompressing the core module from the first non-volatile memory to the foregoing Second non-volatile memory. When the input unit receives the startup command, the processor executes the loading module to drive the first movement of the core module in response to the startup command. When receiving a shutdown command from the input unit, the processor determines whether to drive the second movement of the core module to respond to the shutdown command before the media data playback device is powered off.
一種媒體資料播放裝置,包含第一及第二非揮發性記憶體、輸入單元及處理器。上述第一非揮發性記憶體儲存一作業系統的壓縮格式的核心模組。上述第二非揮發性記憶體作為上述媒體資料播放裝置的主記憶體。其中上述核心模組的移動包含從上述第一非揮發性記憶體加載並解壓縮上述核心模組至上述第二非揮發性記憶體。當上述輸入單元接收啟動指令時,上述處理器,執行上述載入模組以驅動上述核心模組的第一次移動以回應上述啟動指令。當從上述輸入單元接收關機指令時,上述處理器在上述媒體資料播放裝置關機以前對上述第二非揮發性記憶體執行廢料回收功能以回應上述關機指令。 A media data playing device comprises first and second non-volatile memory, an input unit and a processor. The first non-volatile memory stores a core module of a compression format of an operating system. The second non-volatile memory is used as the main memory of the media material playing device. The moving of the core module includes loading and decompressing the core module from the first non-volatile memory to the second non-volatile memory. When the input unit receives the startup command, the processor executes the loading module to drive the first movement of the core module in response to the startup command. When receiving the shutdown command from the input unit, the processor executes a garbage collection function on the second non-volatile memory in response to the shutdown command before the media data playback device is turned off.
一種媒體資料播放裝置的重新啟動方法,執行於上述媒體資料播放裝置,上述裝置包含用以儲存一作業系統的壓縮格式的一核心模組的一第一非揮發性記憶體,及作為上述媒體資料播放裝置的主記憶體的一第二非揮發性記憶體,其中上述核心模組的移動包含從上述第一非揮發性記憶體加載並解壓縮上述核心模組至上述第二非揮發性記憶體。上述方法包含:從上述媒體資料播放裝置的輸入單元接收一第一啟動指令;回應上述第一啟動指令以執行上述載入模組以驅動上述核心模組的第一次移動;以及當從上述輸入單元接收一關機指令時,在上述媒體資料播放裝置關機以前執行上述媒體資料播放裝置的啟動程序的部分程序以回應上述關機指令。 A method for restarting a media data playback device is implemented in the media data playback device, the device comprising a first non-volatile memory for storing a core module of a compression format of an operating system, and as the media material a second non-volatile memory of the main memory of the playback device, wherein the moving of the core module comprises loading and decompressing the core module from the first non-volatile memory to the second non-volatile memory . The method includes: receiving a first start command from an input unit of the media data playing device; responding to the first start command to execute the loading module to drive a first movement of the core module; and when inputting from the input When receiving the shutdown command, the unit executes a part of the startup program of the media data playback device to respond to the shutdown command before the media data playback device is powered off.
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
1525‧‧‧已解壓縮的核心模組 1525‧‧‧Unpacked core modules
1526‧‧‧指令 1526‧‧ directive
1531‧‧‧載入模組 1531‧‧‧Loading module
1532‧‧‧次常式 1532‧‧‧ routine
1533‧‧‧中斷向量表 1533‧‧‧Interrupt vector table
1534‧‧‧向量 1534‧‧‧ Vector
1535‧‧‧核心模組 1535‧‧‧core module
1536‧‧‧配置檔 1536‧‧‧Profile
1537‧‧‧位址 1537‧‧‧ address
1538‧‧‧廢料回收設定 1538‧‧‧ scrap recycling settings
201‧‧‧重置脈波 201‧‧‧Reset pulse wave
202‧‧‧設置脈波 202‧‧‧Set pulse wave
301‧‧‧記憶體裝置 301‧‧‧ memory device
302‧‧‧二極體 302‧‧‧ diode
304‧‧‧位元線 304‧‧‧ bit line
305‧‧‧字元線 305‧‧‧ character line
401‧‧‧相變化材質 401‧‧‧ phase change material
402‧‧‧相變化區域 402‧‧‧ phase change area
403‧‧‧加熱裝置 403‧‧‧ heating device
50,60‧‧‧計時器 50, 60‧ ‧ timer
C‧‧‧記憶體單元 C‧‧‧ memory unit
t1‧‧‧時間 Time t1‧‧‧
t2‧‧‧時間 Time t2‧‧‧
T-l‧‧‧相變化材質開始成核的溫度 T-l‧‧‧ phase change material begins to nucleate temperature
T-h‧‧‧相變化材質的熔點溫度 T-h‧‧‧ phase change material melting point temperature
圖1顯示媒體資料播放裝置的實施方式結構方塊圖; 圖2顯示媒體資料播放裝置的記憶體模組方塊圖;圖3顯示相變化記憶體的記憶體元的實施方式的設置(set)及重設(reset)脈波示意圖;圖4顯示相變化隨機存取記憶體的記憶體元的實施方式示意圖;圖5顯示相變化隨機存取記憶體的記憶體元的實施方式截面圖;圖6顯示媒體資料播放裝置回應關機指令的操作實施方式流程圖;以及圖7顯示媒體資料播放裝置回應啟動指令的操作實施方式流程圖。 1 is a block diagram showing an embodiment of a media material playing device; 2 is a block diagram of a memory module of the media data playing device; FIG. 3 is a schematic diagram showing a set and reset pulse of an embodiment of a memory cell of a phase change memory; FIG. 4 shows a random phase change. FIG. 5 is a cross-sectional view showing an embodiment of a memory cell of a phase change random access memory; FIG. 6 is a flow chart showing an operation of the media data playback device in response to a shutdown command; And FIG. 7 is a flow chart showing an operation mode of the media material playing device in response to the start command.
媒體資料播放裝置及其重新啟動方法實施方說明如下: The media material playback device and its restart 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 Embodiment of media material playing device
參照圖1,處理器151為媒體資料播放裝置100的中央處理器,可以由積體電路(Integrated Circuit,簡稱IC)組成,用以處理資料及執行電腦程式。媒體資料播放裝置100的元件連接方式如圖1所示,可用串行或並行匯流排、或無線通訊通道構成。無線通訊單元156建立通訊通道,使媒體資料播放裝置100透過上述通訊通道連接至遠端伺服器,並從上述遠端伺服器下媒體資 料。另外,無線通訊單元156可以建立無線通訊通道,使移動設備,例如遙控器,透過上述無線通訊通道以連接至媒體資料播放裝置100並交換資料。上述通訊單元156可以包含天線、基頻(base band)及射頻(Radio Frequency,簡稱RE)晶片組用以進行無線區域網路(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, so that the media data playback device 100 is connected to the remote server through the communication channel, and the media resource is obtained from the remote server. material. 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 (RE) chip set for performing wireless local area network (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)的控制晶片的組合。上述通訊控制器可以包含蜂巢式通訊系統通訊、紅外線、藍芽(BLUETOOTHTM)或無線區域網路的通訊控制裝置。CPU可以是單運算核心或多運算核心的CPU。所述的通訊控制器用以控制媒體資料播放裝置100中的各元件的通訊,或媒體資料播放裝置100與外部裝置的通訊,並且可以支援直接記憶體存取(Direct Memory Access)。 The processor 151 may be composed of a single packaged IC or a plurality of packaged ICs having the same function or different functions. For example, the processor 151 may include only a central processing unit (CPU), or a CPU, a digital signal processor (DSP), and a communication controller (for example, the communication unit 156). Control the combination of wafers. The above-described communication controller may comprise cellular communication system communication, infrared, Bluetooth (BLUETOOTH TM) or wireless LAN communication control apparatus. 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 and 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 will detect The measured operation is transmitted to the above 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 a 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 (Required Standard-232, RS-232) and/or Recommendation No. 11 (RS-11) Referred to as SATA) and / or High Definition Multimedia Interface (HDMI).
內容保護單元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可以包含單一個顯示器或不同尺寸的複數顯示器。 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 a 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, and graphics. Mark and scrapbook. The display 155 described above may include a single display or a plurality of displays of different sizes.
上述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.
1.2記憶體實施方式 1.2 Memory implementation
非揮發性記憶體153儲存處理器151所執行的作業系統及應用程式。上述處理器151從上述非揮發性記憶體153載入運行程序與數據資料到主記憶體152並將數位內容儲存於大量儲存裝置154中。該主記憶體152可以是非揮發性動態隨機存取記憶體(Nonvolatile Random Access Memory,簡稱NVRAM),例如相變化隨機存取記憶體(Phase Change RAM,簡稱PRAM)、磁阻式隨機存取記憶體(Magetoresistive RAM,簡稱MRAM)或是其它類型的NVRAM,例如美國專利號7405167或是美國專利公開號20090146140或20090221113所揭示的NVRAM。該非揮發性記憶體153可以是電子可抹除可規劃唯讀記憶體(Electrically Erasable Programmable Read-Only Memory,簡稱EEPROM),或快閃記憶體,例如反或快閃記憶體(NOR flash memory)或是反及快閃記憶體(NAND flash memory)。在以下說明中,主記憶體152以PRAM作為例子,而非揮發性記憶體153以快閃記憶體作為例子。 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 non-volatile dynamic random access memory (NVRAM), such as a phase change random access memory (PRAM), a magnetoresistive random access memory. (Magetoresistive RAM, MRAM for short) or other types of NVRAM, such as NVRAM disclosed in U.S. Patent No. 7,405,167 or U.S. Patent Publication No. 20090146140 or 20090221113. The non-volatile memory 153 may be an Electronically Erasable Programmable Read-Only Memory (EEPROM), or a flash memory such as a NOR flash memory or It is against NAND flash memory. In the following description, the main memory 152 takes PRAM as an example, and the non-volatile memory 153 takes a flash memory as an example.
PRAM是以例如鍺、銻、碲(Germanium-Antimony-Tellurium,Ge-Sb-Te,簡稱GST)合金之硫族化合物(chalcogenide)所構成的非揮發性記憶體。相變化材質GST的結晶態(crystalline state)及非結晶態(amorphous state)具有不同的電阻特性。經由溫度控制可以促成相變化材質GST在結晶態及非結晶態之間的變化。相變化材質GST的結晶態及非結晶態之在150℃下都很穩定。高於200℃時,其晶體的成核現象加快,如果維持在結晶的時間足夠,相 變化材質GST就會發生相變化成為結晶態。若要回復成非結晶態,需加熱相變化材質至超過其熔點(約600℃)並迅速下降溫度。 The PRAM is a non-volatile memory composed of a chalcogenide of a Germanium-Antimony-Tellurium (Ge-Sb-Te, GST for short) alloy. The crystalline state and the amorphous state of the phase change material GST have different resistance characteristics. The change of the phase change material GST between the crystalline state and the amorphous state can be promoted by temperature control. The crystalline and amorphous states of the phase change material GST are stable at 150 °C. Above 200 ° C, the nucleation of the crystal is accelerated, if the time for crystallization is sufficient, the phase When the material GST changes, the phase changes to a crystalline state. To return to an amorphous state, heat the phase change material beyond its melting point (about 600 ° C) and rapidly drop the temperature.
圖3顯示發生相變化所需溫度與時間的關係圖。溫度T-h為相變化材質的熔點溫度,而溫度T-l為相變化材質開始成核作用的溫度。曲線201稱為重置脈波(reset pulse),顯示結晶態至非結晶態的相變化所需的溫度控制,而曲線202稱為設置脈波(set pulse),顯示非結晶態至結晶態的相變化所需的溫度控制。如圖示,重置相變化材質需要時間短但是較高溫的加熱過程,並緊接著在短時間t1內進行冷卻。設置相變化材質需要時間長(圖3中標為t2)但是較低溫的加熱過程以促成結晶及及長晶(crystal growing)。 Figure 3 shows the temperature versus time required for phase change to occur. The temperature T-h is the melting point temperature of the phase change material, and the temperature T-l is the temperature at which the phase change material begins to nucleate. Curve 201 is referred to as a reset pulse, showing the temperature control required for a phase change from a crystalline state to an amorphous state, and curve 202 is referred to as a set pulse, showing an amorphous state to a crystalline state. Temperature control required for phase change. As shown, resetting the phase change material requires a short but high temperature heating process followed by cooling for a short time t1. Setting the phase change material takes a long time (labeled t2 in Figure 3) but a lower temperature heating process to promote crystallization and crystal growth.
圖4顯示利用相變化材質製作的記憶體裝置301。加熱裝置403包含與相變化材質401緊鄰的電阻式電極(resistive electrode)403,可以通過電流根據焦耳效應(Joule effect)以加熱以實現上述設置脈波及重置脈波。上述相變化材質401通常為結晶態以利電流通過。上述相變化材質401的區域402直接連接上述加熱裝置403成為相變化區域402。 FIG. 4 shows a memory device 301 made of a phase change material. The heating device 403 includes a resistive electrode 403 adjacent to the phase change material 401, which can be heated according to a Joule effect to achieve the above-mentioned set pulse wave and reset pulse wave. The phase change material 401 is generally in a crystalline state to facilitate current flow. The region 402 of the phase change material 401 is directly connected to the heating device 403 to become the phase change region 402.
在不明顯造成加熱效應的條件下,經由施加小電壓並測量通過上述相變化區域402的電流,可以讀取上述相變化區域402的狀態。由於上述電流是與相變化材質的傳導性(conductance)成正比,因此可以依此分別上述二種狀態。 The state of the phase change region 402 described above can be read by applying a small voltage and measuring the current passing through the phase change region 402 without significantly causing a heating effect. Since the above current is proportional to the conductance of the phase change material, the above two states can be respectively different.
圖5顯示PRAM之記憶體單元(cell)C的等效電路。上述記憶體單元C包含上述記憶體裝置301及二極體302。上述二極體302作為選取元件,可以用電晶體(transistor)取代。上述記憶體裝置301電連接位元線(bit line)304及上述二極體302的P接面(P junction)。字元線(word line)305連接上述二極體302的N接面(N junction)。 Figure 5 shows the equivalent circuit of the memory cell C of the PRAM. The memory unit C includes the memory device 301 and the diode 302 described above. The above-described diode 302 is used as a selection element and can be replaced by a transistor. The memory device 301 is electrically connected to a bit line 304 and a P junction of the diode 302. A word line 305 is connected to the N junction of the above-described diode 302.
上述記憶體裝置301可以被視為依據其相變化狀態通過不同電流值的電阻。在施予適當的偏壓後,上述記憶體裝置 301若可以導通可偵測的電流量時則被定為「設置」或「邏輯1」,或者,若不導通或僅導通遠小於「設置」狀態對應的電流量時則被定為「重置」或「邏輯0」。 The above memory device 301 can be regarded as a resistor that passes different current values depending on its phase change state. The memory device is provided after applying an appropriate bias voltage 301 is set to "set" or "logic 1" if the amount of current that can be detected is turned on, or "reset" if it is not turned on or is only turned on much less than the current amount corresponding to the "set" state. Or "logic 0".
上述主記憶體152包含PRAM記憶體單元的陣列使其中所儲存的資料可被隨機存取。 The main memory 152 described above includes an array of PRAM memory cells such that the data stored therein can be randomly accessed.
2.媒體資料播放裝置的運作 2. Operation of the media data player
參照圖2,上述非揮發性記憶體153儲存載入模組1531、其配置檔1536、壓縮形成的作業系統核心模組1535、以及中斷向量表(interrupt vector table)1533。註冊上述載入模組1531中的次常式1532作為中斷服務常式(interrupt service routine)以服務代表關機指令或關閉電源指令的中斷信號(interrupt),並且中斷向量表1533中的向量1534指向次常式1532。上述配置檔1536更包含廢料收集(Garbage Collection,簡稱GC)設定1538,用以指定廢料收集程序的選項。廢料收集設定1538可以是使用者設定,或由處理器151根據上述媒體資料播放裝置100最後一次開機啟動以來的使用時間自動進行設定的。 Referring to FIG. 2, the non-volatile memory 153 stores a load module 1531, a configuration file 1536, a compressed operating system core module 1535, and an interrupt vector table 1533. The subroutine 1532 in the above load module 1531 is registered as an interrupt service routine to service an interrupt signal representing a shutdown command or a power off command, and the vector 1534 in the interrupt vector table 1533 points to the interrupt. Normal form 1532. The above profile 1536 further includes a Garbage Collection (GC) setting 1538 to specify options for the garbage collector. The garbage collection setting 1538 can be set by the user or automatically set by the processor 151 based on the usage time since the mediation playback device 100 was last turned on.
當輸入輸出單元160接收到按壓媒體資料播放裝置100的電源鍵,且表示啟動指令或供電指令的接壓動作時,上述處理器151執行上述載入模組1531以執行初始化,並回應啟動指令以驅動上述核心模組1535的移動,其中上述核心模組1535的移動包含從上述非揮發性記憶體153加載並解壓縮上述核心模組1535至上述主記憶體152,以產生主記憶體152中的核心模組1525。上述處理器151執行上述作業系統的作業。回應上述啟動指令的上述核心模組1535的移動稱為上述核心模組1535的第一次移動。 When the input/output unit 160 receives the power button pressing the media material playing device 100 and indicates the pressing action of the start command or the power supply command, the processor 151 executes the loading module 1531 to perform initialization, and responds to the start command. Driving the movement of the core module 1535, wherein the movement of the core module 1535 includes loading and decompressing the core module 1535 from the non-volatile memory 153 to the main memory 152 to generate the main memory 152. Core module 1525. The processor 151 described above executes the work of the above-described operating system. The movement of the core module 1535 in response to the above-described activation command is referred to as the first movement of the core module 1535.
2.1裝置關機前的作業 2.1 The operation before the device is shut down
參照圖6,在上述媒體資料播放裝置100正常工作時,上述輸入輸出單元160接收對上述電源鍵的按壓,並發出表示關機指令的中斷信號至上述處理器151(步驟S100)。上述處理器151執行下列操作以回應上述關機指令。上述處理器151取得在上 述中斷向量表1533中對應上述中斷信號的向量1534(步驟S102),取得並執行上述向量1534所對應的次常式1532(步驟S104)。在上述次常式1532的指導下,上述處理器151顯示關機信息或停止輸出視訊,並根據廢料回收設定以執行複數廢料回收的等級的其中一個等級。 Referring to Fig. 6, when the media material playback apparatus 100 is operating normally, the input/output unit 160 receives a press of the power key and issues an interrupt signal indicating a shutdown command to the processor 151 (step S100). The processor 151 described above performs the following operations in response to the shutdown command described above. The above processor 151 is obtained on The vector 1534 corresponding to the interrupt signal is described in the interrupt vector table 1533 (step S102), and the subroutine 1532 corresponding to the vector 1534 is acquired and executed (step S104). Under the guidance of the above-described subroutine 1532, the processor 151 displays the shutdown information or stops outputting the video, and sets one of the levels of the plurality of waste recycling levels according to the waste collection setting.
上述處理器151判定上述配置檔1536中的廢料回收設定1538(步驟S106)。當上述廢料回收設定1538指示一般廢料回收作業,上述處理器151相應地在上述主記憶體152中搜尋上述媒體資料播放裝置100的其它程式用不到的資料物件(步驟S107),並釋放這些資料物件所佔用的主記憶體152的空間(步驟S108)。上述處理器151記錄上述主記憶體152上的位址1537,上述位址1537為上述核心模組1535被指定要繼續執行的位址(步驟S110),並停止供電給上述媒體資料播放裝置100(步驟S118)。 The processor 151 determines the garbage collection setting 1538 in the configuration file 1536 (step S106). When the waste collection setting 1538 indicates a general waste collection operation, the processor 151 searches the main memory 152 for the data items not used by the other programs of the media material playback apparatus 100 (step S107), and releases the data. The space of the main memory 152 occupied by the object (step S108). The processor 151 records the address 1537 on the main memory 152. The address 1537 is an address that the core module 1535 is designated to continue to execute (step S110), and stops supplying power to the media material playing device 100 ( Step S118).
當上述廢料回收設定1538指示高等級的廢料回收作業,上述處理器151儲存系統相關資料(system context)至上述非揮發性記憶體153,清除上述主記憶體152(步驟S112),並根據儲存的上述系統相關資料再次驅動上述核心模組1535及應用程式從上述非揮發性記憶體153至上述主記憶體152的移動(步驟S114),並回復上述系統相關資料(步驟S115)。清除上述主記憶體152包含刪除在上述主記憶體152中的所有資料。回應上述關機指令的上述核心模組1535的移動稱為上述核心模組1535的第二次移動,其中包含從上述非揮發性記憶體153加載並解壓縮上述核心模組1535至上述主記憶體152。同理,上述應用程式的移動包含從上述非揮發性記憶體153加載並解壓縮上述應用程式至上述主記憶體152。上述系統相關資料包含硬體元件設定、分頁表(page table)、程序管理資料(process management data)、上述應用程式的程序資料結構,以及其它系統設定。步驟S115可以只回復部分的所述系統相關資料,例如只回復部分的所述系統相關資料至所述記憶體152中。其餘的系統相關資料可以在上述媒體資料播放裝置100下次啟動 時回復。經由上述步驟S114以重新整理在上述主記憶體152中的資料及程序的排列分佈。上述處理器151記錄上述主記憶體152上的位址1537,上述位址1537為重新啟動(reboot)後上述核心模組1535被指定要繼續執行的位址(步驟S116),並停止供電給上述媒體資料播放裝置100(步驟S118)。舉例來說,上述處理器151關閉上述電源供應器158。 When the waste collection setting 1538 indicates a high-level waste collection operation, the processor 151 stores a system context to the non-volatile memory 153, clears the main memory 152 (step S112), and according to the stored The system-related data again drives the movement of the core module 1535 and the application program from the non-volatile memory 153 to the main memory 152 (step S114), and returns the system-related data (step S115). Clearing the above main memory 152 includes deleting all the data in the main memory 152 described above. The movement of the core module 1535 in response to the shutdown command is referred to as the second movement of the core module 1535, and includes loading and decompressing the core module 1535 from the non-volatile memory 153 to the main memory 152. . Similarly, the movement of the application includes loading and decompressing the application from the non-volatile memory 153 to the main memory 152. The above system related data includes hardware component setting, page table, process management data, program data structure of the above application, and other system settings. Step S115 may only reply part of the system related material, for example, only part of the system related data is returned to the memory 152. The remaining system related materials can be started next time in the above media data playing device 100. Reply. The arrangement of the data and the program in the main memory 152 is rearranged via the above-described step S114. The processor 151 records the address 1537 on the main memory 152. The address 1537 is an address that the core module 1535 is designated to continue to execute after the reboot (step S116), and stops supplying power to the above. The media material playback device 100 (step S118). For example, the processor 151 described above turns off the power supply 158 described above.
清除上述主記憶體152及上述核心模組1535的移動為上述媒體資料播放裝置100的啟動程序的例行程序的一部分。經由執行步驟S112及S114,上述處理器151在上述媒體資料播放裝置100實際關機以前執行一部分的上述啟動程序以回應上述關機指令。上述處理器151在上述媒體資料播放裝置100實際關機以前,且在執行上述核心模組1535與應用程式的移動之後,可以重新整理上述主記憶體152的利用狀況。或者不同的實施方式中,在步驟S114中,上述處理器151可以僅執行上述核心模組1535的移動。上述處理器151在執行步驟S107,S108,S110,S112,S114,S115,及S116時,可以先暫停對其它中斷信號的處理,使上述步驟不可被中斷。 The movement of the main memory 152 and the core module 1535 described above is cleared as part of the routine of the startup program of the media material playback apparatus 100. By executing steps S112 and S114, the processor 151 executes a part of the startup program to respond to the shutdown command before the media material playback device 100 is actually powered off. The processor 151 can rearrange the utilization status of the main memory 152 after the media file playback apparatus 100 is actually powered off and after the core module 1535 and the application program are moved. Alternatively, in a different implementation manner, in step S114, the processor 151 may perform only the movement of the core module 1535. When the processor 151 performs steps S107, S108, S110, S112, S114, S115, and S116, the processing of other interrupt signals may be suspended first, so that the above steps cannot be interrupted.
2.2裝置啟動操作 2.2 device startup operation
參照圖7,在上述媒體資料播放裝置100的關機狀態中,按壓上述電源鍵以發出啟動指令至上述處理器151(步驟S200)。上述處理器151執行以下的操作以回應上述啟動指令。 Referring to Fig. 7, in the power-off state of the above-described media material playback apparatus 100, the power key is pressed to issue a start command to the processor 151 (step S200). The processor 151 described above performs the following operations in response to the above-described startup command.
當從上述輸入輸出單元160接收上述啟動指令時,上述處理器151執行載入模組1531(步驟S202)。上述載入模組1531指導上述媒體資料播放裝置100的上述處理器151及其它元件的初始化(步驟S204),並指導上述處理器151判定是否存在合適的接續執行的位址(步驟S206)。當判定上述接續執行的位址1537存在時,上述處理器151取得上述位址1537,並執行上述位址1537所對應的在上述主記憶體152中的核心模組1535的指令1526(步驟S208)。在圖2中的虛線顯示位址1537與指令1526之間的關係。 因此,上述處理器151程式的執行切換至上述主記憶體152的上述位址1537。在接收上述啟動指令之後,不再執行清除上述主記憶體152及上述核心模組1535的移動,因此節省了上述媒體資料播放裝置100重新啟動所需的時間。 When receiving the above-described startup command from the above-described input/output unit 160, the processor 151 executes the load module 1531 (step S202). The loading module 1531 instructs initialization of the processor 151 and other components of the media material playback device 100 (step S204), and instructs the processor 151 to determine whether there is a suitable address for subsequent execution (step S206). When it is determined that the address 1537 that is consecutively executed exists, the processor 151 obtains the address 1537, and executes the instruction 1526 of the core module 1535 in the main memory 152 corresponding to the address 1537 (step S208). . The dashed line in Figure 2 shows the relationship between address 1537 and instruction 1526. Therefore, the execution of the above-described processor 151 program is switched to the above address 1537 of the main memory 152. After receiving the startup command, the movement of the main memory 152 and the core module 1535 is not performed, thereby saving the time required for the media material playback device 100 to restart.
當判定上述接續執行的位址1537不存在時,上述處理器151執行上述載入模組1531的一般啟動程序(步驟S210),加載並解壓縮上述核心模組1535以產生上述核心模組1525(步驟S212及S214),並在上述作業系統核心模組1525的指導下執行系統初始化(步驟S216)。 When it is determined that the address 1537 of the connection execution does not exist, the processor 151 executes the general startup procedure of the loading module 1531 (step S210), loads and decompresses the core module 1535 to generate the core module 1525 ( Steps S212 and S214), and system initialization is performed under the guidance of the above-described operating system core module 1525 (step S216).
3.結論 3. Conclusion
總之,在接收到關機指令及實際關閉上述媒體資料播放裝置100的期間內,執行複數等級的廢料回收作業的其中一個等級。因此,可以管理主記憶體的使用情形以利長時間的使用。正常啟動程序中的部分程序,例如作業系統核心模組的移動,在實際啟動以前就執行以節省啟動的時間。 In short, one of the levels of the plurality of levels of the garbage collection operation is executed during the period in which the shutdown command is received and the media material playback apparatus 100 is actually turned off. Therefore, the use of the main memory can be managed to facilitate long-term use. Some of the programs in the normal startup program, such as the movement of the core modules of the operating system, are executed before the actual startup to save startup time.
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103110636A TWI547872B (en) | 2010-04-01 | 2010-04-01 | Media data playback device and reboot method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103110636A TWI547872B (en) | 2010-04-01 | 2010-04-01 | Media data playback device and reboot method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201428627A TW201428627A (en) | 2014-07-16 |
TWI547872B true TWI547872B (en) | 2016-09-01 |
Family
ID=51726118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103110636A TWI547872B (en) | 2010-04-01 | 2010-04-01 | Media data playback device and reboot method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI547872B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200413907A (en) * | 2002-08-29 | 2004-08-01 | Motorola Inc | Storage system with memory for storing data |
US20050086461A1 (en) * | 2003-10-16 | 2005-04-21 | Yu-Cheng Hsu | Apparatus system and method for deterministically transferring data by rebooting to a data transfer kernel |
TW200540621A (en) * | 2003-12-30 | 2005-12-16 | Sandisk Corp | Adaptive deterministic grouping of blocks into multi-block units |
TW200619965A (en) * | 2004-12-01 | 2006-06-16 | Compal Electronics Inc | Method for fast executing post in a computer system |
US20100005281A1 (en) * | 2008-07-01 | 2010-01-07 | International Business Machines Corporation | Power-on initialization and test for a cascade interconnect memory system |
-
2010
- 2010-04-01 TW TW103110636A patent/TWI547872B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200413907A (en) * | 2002-08-29 | 2004-08-01 | Motorola Inc | Storage system with memory for storing data |
US20050086461A1 (en) * | 2003-10-16 | 2005-04-21 | Yu-Cheng Hsu | Apparatus system and method for deterministically transferring data by rebooting to a data transfer kernel |
TW200540621A (en) * | 2003-12-30 | 2005-12-16 | Sandisk Corp | Adaptive deterministic grouping of blocks into multi-block units |
TW200619965A (en) * | 2004-12-01 | 2006-06-16 | Compal Electronics Inc | Method for fast executing post in a computer system |
US20100005281A1 (en) * | 2008-07-01 | 2010-01-07 | International Business Machines Corporation | Power-on initialization and test for a cascade interconnect memory system |
Also Published As
Publication number | Publication date |
---|---|
TW201428627A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8935522B2 (en) | Electronic computing device and a reboot method executable by same | |
US9619246B2 (en) | Electronic computing device and reboot method thereof | |
KR101596222B1 (en) | Method and apparatus for controlling operation of booting for video image reproducing apparatus | |
US7849302B2 (en) | Direct boot arrangement using a NAND flash memory | |
US8171318B2 (en) | Reporting flash memory operating voltages | |
NL2011914B1 (en) | Mobile device and method of managing data using swap thereof. | |
RU2656991C2 (en) | Method and apparatus for using a portable terminal | |
CN102122250A (en) | Computer system and operating system switching method thereof | |
US20050055591A1 (en) | Computer system and a control method thereof | |
CN107566622B (en) | Temperature control method and mobile terminal | |
US8803799B2 (en) | Screen protection system and method of an electronic device | |
US20120233451A1 (en) | Method for fast resuming computer system and computer system | |
TWI526934B (en) | Method, apparatus, and computer program product for booting an information handling system | |
JP2012216014A (en) | Information processor and data protection method | |
TWI547872B (en) | Media data playback device and reboot method thereof | |
TWI442320B (en) | Media data playback device and reboot method thereof | |
US20110004745A1 (en) | Method of Controlling a Measurement Instrument | |
CN103995711A (en) | Electronic calculator device and restarting method of electronic calculator device | |
US20140337735A1 (en) | Method and apparatus for generating and providing a shortcut | |
US20130061030A1 (en) | System capable of booting through a universal serial bus device and method thereof | |
TWI597982B (en) | TV system and method of promptly displaying information on TV system | |
KR20070019382A (en) | Network Display Apparatus And Control Method Thereof | |
US20150317181A1 (en) | Operating system switching method | |
US10095303B2 (en) | Non-volatile memory system, memory card having the same, and operating method of non-volatile memory system | |
JP2001005546A (en) | Computer |