TW201142832A - Power management method of an external storage apparatus - Google Patents

Power management method of an external storage apparatus Download PDF

Info

Publication number
TW201142832A
TW201142832A TW99116531A TW99116531A TW201142832A TW 201142832 A TW201142832 A TW 201142832A TW 99116531 A TW99116531 A TW 99116531A TW 99116531 A TW99116531 A TW 99116531A TW 201142832 A TW201142832 A TW 201142832A
Authority
TW
Taiwan
Prior art keywords
external storage
storage device
hard disk
external
power
Prior art date
Application number
TW99116531A
Other languages
Chinese (zh)
Other versions
TWI386919B (en
Inventor
Long-Sing Jhong
Chu-Cheng Hsu
Jung-Chien Lin
Ssu-Ming Cheng
Hsin-Chu Chen
Original Assignee
Avermedia Tech Inc
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 Avermedia Tech Inc filed Critical Avermedia Tech Inc
Priority to TW99116531A priority Critical patent/TWI386919B/en
Publication of TW201142832A publication Critical patent/TW201142832A/en
Application granted granted Critical
Publication of TWI386919B publication Critical patent/TWI386919B/en

Links

Landscapes

  • Power Sources (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A power management method is used in a first external storage apparatus connected to a host. The method includes the following steps. First, a standby time period is set. The first external storage apparatus is set to enter a save power mode when this storage apparatus is in an idle sate in this standby time period. Then, the file table and an apparatus information of the first external storage apparatus are stored in a memory of the host. Finally, the power supplied to the first external storage apparatus is removed. A user still can browse the file table stored in the host after the power is removed.

Description

201142832 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種電源管理方法,且特別是有關於 一種應用在外接儲存裝置之電源管理方法。 【先前技術】 目前市面上的多媒體視訊播放盒及數位電視機上盒, 皆可支援USB外接硬碟或内建SATA硬碟以進行錄影或是 播放多媒體檔案。但是這些產品皆沒有對硬碟此耗電甚多 的元件加入省電的機制,所以當多媒體視訊播放盒或數位 電視機上盒沒有在存取硬碟,例如:在看電視或是在閒置 狀態時,此時硬碟馬達仍會持續運轉,此種非必要性之運 轉仍持續消耗電力而造成莫大的浪費,且此種非必要性之 運轉不僅會折損硬碟的壽命,更是一種噪音的來源。 為了避免硬碟此種不必要之運轉,因此急需一種可根 據硬碟使用狀況,進行電源管理之方法。 【發明内容】 本發明之主要目的即是在提供一種電源管理方法,能 即時移除未進行運作外接儲存裝置之電源,藉以降低電力 之損耗。 本發明之一態樣在提供一種應用在一連接主機之第一 外接儲存裝置中之電源管理方法,該方法至少包括:設定 一特定待機時間;當於該待機時間中,均未對該第一外接 201142832 儲存裝置進行存取時,設定 電模式;儲存該第一外接儲存儲存裝置進入一省 -資訊至該主機之記憶體内;;檔=表以及 使用者可劉覽儲在ϋ士 1存裳置之電源移除後,-表。㈣儲存在該主機記憶體内之該至少—檔案列 -a/— 刖 之 置 在一實施例中,於移除該第— 更包括控㈣第_外接贿之電源 f實施例中’當該使用者點 -第一檔案時,重新提供該 ^祜案列表内 以及回復該第二外接儲存"、、·,口一第二外接儲存裝 名一… 存裝置之工作狀態。 在-實施例中’其中當該第 態被回復後,更包括判斷 卜接儲存裝置之工作狀 第一外接儲存裳置。並中:該7冑存裝置是否即為該 —外接館存裝置時,執行二二存裝置即為該第 置内容。 時°貝取該第二外接儲存裝 第-外接儲存裝置,第::接儲存裝置是否即為該 之該第一外接储存裝置之存在該域記憶體内 裝置中。 貝〜否存在於該第二外接儲存 紅合上述所言,本發 接硬碟經過1.料 料,會設定在外 :減少不必要的功率消耗二::進入“省電模 接硬碟内的料列表會暫存省電模式,,時,該外 子在主機的記憶體内,因此,使 201142832 用者仍可透過此暫存資訊,瀏覽該外接硬碟内儲存之檔 案,而不需重新喚醒該外接硬碟。因此可達到節能與不影 響使用者方便性之雙臝結果β 【實施方式】 目前市售外接儲存裝置例如外接硬碟分為IDE、序列 ATA (Serial Advanced Technology Attachment)介面,當與201142832 VI. Description of the Invention: [Technical Field] The present invention relates to a power management method, and more particularly to a power management method applied to an external storage device. [Prior Art] Currently, the multimedia video playback box and the digital TV set-top box on the market can support USB external hard disk or built-in SATA hard disk for recording or playing multimedia files. However, these products do not have a power saving mechanism for the hard disk, which consumes a lot of power, so when the multimedia video player box or the digital TV box is not accessing the hard disk, for example, watching TV or being idle. At this time, the hard disk motor will continue to operate at this time. This non-essential operation continues to consume power and cause great waste, and this non-essential operation will not only damage the life of the hard disk, but also be a kind of noise. source. In order to avoid such unnecessary operation of the hard disk, there is an urgent need for a method of power management according to the state of use of the hard disk. SUMMARY OF THE INVENTION The main object of the present invention is to provide a power management method capable of immediately removing a power source that does not operate an external storage device, thereby reducing power loss. An aspect of the present invention provides a power management method for use in a first external storage device connected to a host, the method comprising: at least setting a specific standby time; and not in the standby time When the external access device 201142832 is accessed, the electrical mode is set; the first external storage storage device is stored into a province-information to the memory of the host; the file=table and the user can be stored in the gentleman 1 After the power supply of the skirt is removed, - the table. (d) storing at least the file-a/- in the memory of the host in an embodiment, in the embodiment of removing the first-and more-controlling (four) When the user clicks on the first file, the working status of the storage device is re-provided in the list of the file and the second external storage is stored, ",,, and the second external storage device is stored. In the embodiment, wherein the first state is restored, the method further comprises determining the working condition of the first storage device. In the meantime, whether the 7-storage device is the external storage device, the second and second storage devices are the first content. When the second external storage device is connected to the external storage device, the first: the storage device is the presence of the first external storage device in the domain memory device. Bei ~ No exists in the second external storage red combined with the above said, the hair extension of the hard disk passes 1. The material will be set outside: reduce unnecessary power consumption 2:: enter the "power saving molded hard disk The material list will temporarily store the power saving mode. When the foreign object is in the memory of the host, the 201142832 user can still browse the file stored in the external hard disk through the temporary storage information without re-re- Awakening the external hard disk, so that the double-naked result of energy saving and user convenience is not obtained. [Embodiment] Currently, an external storage device such as an external hard disk is divided into an IDE and a serial ATA (Serial Advanced Technology Attachment) interface. When and

一多媒體視訊播放盒或數位電視機上盒耦接時,可經二二 橋接晶片將儲存之資料格式轉換成USB、IEEE1394或 eSΑΤΑ格式進行傳送。 g而本發明在進行外接硬碟之卸载或裝載之流程中,g 疋,透過多媒體視訊播放盒或數位電視機上各 控制指令’並透過橋接晶片來對外接硬“, 晶片進打控制。在-實施例中,例如,設定在外接硬碟乡 過-特㈣間未被存取時則進人“省賴式,,,亦即控制夕 接硬碟驅動馬達停止運轉,藉以減少不必要的 當進入“省電模式,,時,本制之餘會先射卜接硬磾㈣ ,要資訊’例如檔㈣表(filetable)以及硬碟資訊暫和 夕媒體視訊播放盒或數位電視機上盒的記憶體内。換, 接硬碟已進入“省電模式”,此時,使用者仍: nr貝訊’嶋接硬碟内错存之槽案,除細· 存取,否則不需重新喚醒外接硬碟。 影響使用者方便性之雙赢結果。4因此可達到㈣與习 “少ί二所示為根據本發明一實施例之-外接硬碟進/ ^電模式之控制流程圖。在—實施例中,&流程例如 201142832 係執行於-數位電視機上盒中,且—硬碟外接於此數 視機上盒。首先於步驟10卜一使用者利用此數位電視: 上盒接收影錢號進行收視,換言之,此使用者並未存’ 此外接硬碟。當-特定待機時間經過後,例如15分鐘 流程會執行步驟102 ’控制此外接硬碟進人“省電模式”, 值得注意的是’上述之特定時間可由使用者自訂。“ 當外接硬碟進入“省電模式,,後,於步驟1021,外接 硬碟内的必要資訊’例如檔案列表(file table)以及硬碟資 •=,會被暫存在數位電視機上盒的記憶體内,其中該硬碟 責訊為可用以辨識該外接硬碟之資訊。暫存硬碟資訊,是 為避免使用者於“省電模式,’中抽換外接硬碟,造成在喚^ 外接硬碟後,使用者欲存取之檔案實際上並未存在被喚醒 之外接硬碟中,因此,藉由比較暫存之硬碟資訊,來判斷 被喚醒之外接硬碟是否即為進入“省電模式,,之外接硬 =。接著於步驟1022,當必要資訊被暫存在數位電視機上 盒=記憶體後,控制硬碟進入中斷模式(Suspend Mode), • 接者於步驟1023,關閉外接硬碟運轉所需電力,由於外接 ,碟電力直接被關閉,因此可節省相當大的耗電量。然值 得注意的是,雖然供應外接硬碟之電力已被移除,然而使 用者仍可透過儲存在數位電視機上盒記憶體内之暫存資 訊劉覽外接硬碟内儲存之槽案,而不需重新喚醒外接硬 碟。 第2圖所示為根據本發明一實施例之喚醒一處在“省 電模式’’下之外接硬碟之控制流程圖。首先於步驟201,一 使用者欲存取外接硬碟内之資料,例如,在外接硬碟進入 201142832 省電模式”後,使用者觀看暫存在數位電視機上I 體内之檔案列表時’當發現欲執行之㈣時,其^記憶 案進行點選,而進八存取外接硬碟之流程。接著,]該檔 202 ’本流程會將外换硬碟移除之電源重新提供給該夕^步驟 碟,亦即對該外接硬碟進行供電。並於步驟2〇3,Λ η,硬 接硬碟之工作狀態。接著,為避免使用者於“省電^復外 中抽換外接硬碟,造成使用者欲存取之檔案實際上、、莫式, 在被喚醒之外接硬硪中,因此,於步驟2〇4,^行f未存 步驟來判斷被喚醒之外接硬碟與進入“省電模一判斷 接硬碟是否為同一硬碟《其判斷方法,例如,^ 2之外 外接硬碟進入“省電模式”前暫存之硬碟資訊^ :匕較 於被喚醒之外接硬碟中。若是,代表被喚醒之外=存 之前進入“省電模式,,中之外接硬碟為同一硬碟,碟與 碟與之刖進人“省電模式,,中之外接硬碟非同1 接硬 γ驟206 ,重新讀取該硬碟資訊,例如:重新載入被嗌 硬碟之檔案列表。 皮奐醒 綜合上述所言,本發明應用在外接儲存裝置之電源总 理方法,會設定在外接硬碟經過一特定時間未被存取’時二 進入“省電模式”,藉以減少不必要的功率消耗。且當進入 “省電模式,,時,本發明之流程更會先將外接硬碟内二檔案 列表暫存在連接主機的記憶體内,因此,即使外接硬已 進入“省電模式”,使用者仍可透過此暫存資訊,瀏覽外接 硬碟内儲存之檔案,而不需重新喚醒外接硬碟。因此可達 到節能與不影響使用者方便性之雙贏結果。 201142832 雖然本發明已以實施方式揭露如上,然其並非用以限 定本發明,任何熟習此技藝者,在不脫離本發明之精神和 範圍内,當可作各種之更動與潤飾,因此本發明之保護範 圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 為讓本發明之上述和其他目的、特徵、優點與實施例 能更明顯易懂,所附圖式之說明如下: • 第1圖所示為根據本發明一實施例之一外接硬碟進入 “省電模式”之控制流程圖。 第2圖所示為根據本發明一實施例之喚醒一處在“省 電模式”下之外接硬碟之控制流程圖。 【主要元件符號說明】 101-1023 步驟 201〜206步驟When a multimedia video playback box or a digital television set-top box is coupled, the stored data format can be converted into a USB, IEEE1394 or eS format for transmission via a two-two bridge chip. g. In the process of unloading or loading an external hard disk, the present invention passes through various control commands on the multimedia video playback box or the digital television and connects the chip to the external hard disk. - In the embodiment, for example, when the external hard disk township has not been accessed, the user enters the "remaining mode", that is, the control hard disk drive motor is stopped, thereby reducing unnecessary When entering the "power saving mode, when the system is in place, it will first be hard-wired (4), information, such as file (four) table (filetable) and hard disk information, temporary media video playback box or digital TV box In the memory, change, the hard disk has entered the "power saving mode", at this time, the user still: nr Beixun '嶋 错 错 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬Wake up the external hard disk. A win-win result that affects the user's convenience. 4 Therefore, it can be achieved that the control flow chart of the external hard disk input/electric mode according to an embodiment of the present invention is shown in FIG. In the embodiment, the & process, e.g., 201142832, is executed in a digital television set-top box, and the hard disk is externally attached to the digital set-top box. First, in step 10, a user uses the digital television: the upper box receives the shadow money number for viewing, in other words, the user does not save the external hard disk. When the specific standby time elapses, for example, the 15-minute flow performs step 102' to control the external hard disk into the "power saving mode", it is worth noting that the above specific time can be customized by the user. “When the external hard disk enters the “power saving mode, then, in step 1021, the necessary information in the external hard disk”, such as the file table and hard disk storage, will be temporarily stored in the digital TV box. In the memory, the hard disk is blamed for identifying the information of the external hard disk. The temporary storage of the hard disk information is to prevent the user from swapping the external hard disk in the "power saving mode," which causes the file to be accessed by the user to be accessed without actually being woken up after the external hard disk is called. On the hard disk, therefore, by comparing the temporarily stored hard disk information, it is judged whether the external hard disk that is woken up is in the "power saving mode, and the external hard =. Then, in step 1022, when the necessary information is temporarily stored in the digital TV box=memory, the hard disk is controlled to enter the interrupt mode (Suspend Mode), and the terminal is turned off in step 1023 to turn off the power required for the external hard disk operation, due to the external connection. The disc power is turned off directly, thus saving considerable power consumption. It is worth noting that although the power to supply the external hard drive has been removed, the user can still store the slot in the external hard disk through the temporary storage information stored in the memory of the digital TV. There is no need to wake up the external hard drive again. FIG. 2 is a flow chart showing the control of waking up an external hard disk in the "power saving mode" according to an embodiment of the present invention. First, in step 201, a user wants to access data in the external hard disk. For example, after the external hard disk enters the 201142832 power saving mode, when the user views the file list temporarily stored in the I body on the digital TV set, 'when it is found to be executed (4), the ^ memory case is selected, and Eight processes for accessing an external hard drive. Then, the file 202 ’ this process will re-supplied the power of the external hard disk to the step, that is, power the external hard disk. And in step 2〇3, Λ η, hard-wire the working state of the hard disk. Then, in order to prevent the user from replacing the external hard disk in the "power saving", the file that the user wants to access is actually, and the mode is connected to the hard disk. Therefore, in step 2〇 4, ^ line f has no steps to judge the wake-up external hard disk and enter the "power saving mode to determine whether the hard disk is the same hard disk" its judgment method, for example, ^ 2 external hard disk into the "power saving The hard disk information temporarily stored in the mode ": 匕 is compared to the external hard disk being woken up. If yes, the representative is awakened before entering the "power saving mode, the external hard disk is the same hard disk, the disk and the disk are in the power saving mode, and the external hard disk is not the same. Hard gamma step 206, re-read the hard disk information, for example: reload the file list of the hard disk. In view of the above, the present invention is applied to the power supply prime method of the external storage device, and is set to enter the "power saving mode" when the external hard disk is not accessed for a certain period of time, thereby reducing unnecessary power. Consumption. And when entering the "power saving mode, the process of the present invention first temporarily stores the second file list in the external hard disk in the memory of the connected host, so even if the external hard has entered the "power saving mode", the user Through this temporary storage information, the files stored in the external hard disk can still be browsed without re-waking up the external hard disk. Therefore, the win-win result can be achieved with energy saving and no user convenience. 201142832 Although the present invention has been disclosed in an embodiment As above, it is not intended to limit the invention, and any person skilled in the art can make various modifications and retouchings without departing from the spirit and scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood. A control flow chart of an external hard disk entering a "power saving mode" according to an embodiment of the present invention. FIG. 2 is a view showing a "awake" in accordance with an embodiment of the present invention. Mode "under control flowchart of the external drive. The main reference numerals DESCRIPTION step 201~206 step 101-1023

Claims (1)

201142832 七、申請專利範固: 一種電源管理方法,係庫用名、* 一外接裝置中,該方法至少^括在連接-主機之-第 設定一特定待機時間; 當於該待機時間令,均未 存取設f第接=裝置進行 儲存該第—外接儲存裝置之至少^電模式; 訊至該主機之記憶體内;以及 备案列表以及一資 移除該第一外接儲存裝置之電源; 其中在該第一外接儲存裝置之 可瀏覽儲存在該主機之节愔舻“^移除後’-使用者 機之圮隐體内之該至少—檔案列表。 I. 置為-=所述之方法,其中該第一外接儲存裝 Αη Γ 序列 ATA (Serial AdVanCed Techn〇l〇gy Attachment)介面硬碟。 sy 3 · 如請求項 儲存裝置之電源前 一中斷模式。 4·如請求項1 識該第一外接儲存裝 所述之方法,其中於移除該第一外接 更包括控制該第一外接儲存裝置進入 所述之方法’其中該資訊為可用以辨 置之資訊。 201142832 •、如請求項1所述之方法,更包括當該❹者點選 :二:播_内之-第-禮案時,重斜提供該電源給 弟一外接儲存裝置,以及回復該第二外接儲存裝置之工 作狀態。 & 6·如請求項5所述之方法,其中該第二外接儲存裝 置為一 IDE 或一序列 ΑΤΑ (Serial Advanced Technology Attachment)介面硬碟。 7.如請求項5所述之方法,其中當該第二外接儲存 裝置之工作狀態被回復後,更包括判斷該第二外接儲存裝 置是否即為該第一外接儲存裝置。 如Μ衣項7所述之方法 δ. _ -------头甲判斷該第二外接儲 I; 該第一外接儲存裝置,更包括:判斷儲存 存在於該第一外接儲存裝置中。 疋货 其中當該第二外接儲存 執行該第一檔案。 9.如請求項7所述之方法, 裝置即為該第一外接儲存裴置時, 裝二 置内容。 其中當該第二外接儲存 讀取該第二外接儲存襄201142832 VII, application for patents: a power management method, the library name, * an external device, the method is at least included in the connection - the host - the first set a specific standby time; The access device f is connected to the device to store at least the electrical mode of the first external storage device; to the memory of the host; and the filing list and the power supply for removing the first external storage device; The at least one file list of the first external storage device can be browsed and stored in the cache of the host after the "^ removal" - the hidden part of the user machine. I. The first external storage device Α Γ Serial ATA (Serial AdVanCed Techn〇l〇gy Attachment) interface hard disk. sy 3 · If the power supply of the request storage device is interrupted before. 4. If the request item 1 knows the first An external storage device, wherein the removing the first external connection further comprises controlling the first external storage device to enter the method, wherein the information is information that can be used to identify. 20114 2832. The method of claim 1, further comprising: when the person clicks: two: broadcast _ in the - the first - courtesy case, the oblique supply provides the power to the brother an external storage device, and replies to the first The method of claim 5, wherein the second external storage device is an IDE or a Serial Advanced Technology Attachment interface hard disk. The method of claim 5, wherein after the working state of the second external storage device is restored, further comprising determining whether the second external storage device is the first external storage device. _ ------- The headgear determines the second external storage I; the first external storage device further comprises: determining that the storage exists in the first external storage device. The goods are in the second external storage The method of claim 7, wherein the device is the first external storage device, and the second external storage device is configured to read the second external storage device.
TW99116531A 2010-05-24 2010-05-24 Power management method of an external storage apparatus TWI386919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99116531A TWI386919B (en) 2010-05-24 2010-05-24 Power management method of an external storage apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99116531A TWI386919B (en) 2010-05-24 2010-05-24 Power management method of an external storage apparatus

Publications (2)

Publication Number Publication Date
TW201142832A true TW201142832A (en) 2011-12-01
TWI386919B TWI386919B (en) 2013-02-21

Family

ID=46765165

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99116531A TWI386919B (en) 2010-05-24 2010-05-24 Power management method of an external storage apparatus

Country Status (1)

Country Link
TW (1) TWI386919B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5410713A (en) * 1992-01-02 1995-04-25 Smith Corona/Acer Power-management system for a computer
TWI291087B (en) * 2005-05-10 2007-12-11 Quanta Comp Inc Portable computer and data backup method thereof
TW200818125A (en) * 2006-10-13 2008-04-16 Optimark Technology Co Ltd Power saving method for an external hard-disk

Also Published As

Publication number Publication date
TWI386919B (en) 2013-02-21

Similar Documents

Publication Publication Date Title
TWI472914B (en) Hard disk drive,hard drive assembly and laptop computer with removable non-volatile semiconductor memory module,and hard disk controller integrated circuit for non-volatile semiconductor memory module removal detection
JP5152785B2 (en) Peripheral device, operation method of peripheral device, electronic device system
JP5598144B2 (en) Information processing apparatus, power supply control method, and program
KR101596222B1 (en) Method and apparatus for controlling operation of booting for video image reproducing apparatus
JP4343977B2 (en) Computer system adapted for audio file playback
EP1440444B1 (en) Media player with instant play capability
US20090193178A1 (en) Systems and methods for power management in relation to a wireless storage device
TWI276950B (en) Computer power management architecture and method thereof
TWI358635B (en) Power managing method for a multi-microprocessor s
JP2006059323A (en) Adaptive storage system
US20070220315A1 (en) Data auto backup system and method
TW201035744A (en) Method for controlling power consumption of a USB mass storage, associated personal computer, and storage medium storing an associated USB mass storage driver
TW200421288A (en) Method and apparatus for managing power consumption of a disk drive
CN1841267A (en) Multimedia computer system and related device and method
US20020089774A1 (en) System for managing power in a portable music player
US10102823B2 (en) Techniques for storing and displaying an image on a display device
US9134784B2 (en) Predictive power state transitions for information handling devices
CN101625624B (en) Method for managing SATA hard disk based on embedded system
US20120233451A1 (en) Method for fast resuming computer system and computer system
CN102306502B (en) Method and system for burning CI PLUS certificate
WO2009125586A1 (en) Device control method, device control program, and device selecting apparatus
TW201142832A (en) Power management method of an external storage apparatus
TWI235298B (en) Method to read the battery status by the operating system of portable computer
US20090115575A1 (en) Apparatus, system for storing data, and method for accessing data directory
US10346044B2 (en) Preloading of directory data in data storage devices

Legal Events

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