[go: up one dir, main page]

CN101650591A - Power supply management method - Google Patents

Power supply management method Download PDF

Info

Publication number
CN101650591A
CN101650591A CN200810147030A CN200810147030A CN101650591A CN 101650591 A CN101650591 A CN 101650591A CN 200810147030 A CN200810147030 A CN 200810147030A CN 200810147030 A CN200810147030 A CN 200810147030A CN 101650591 A CN101650591 A CN 101650591A
Authority
CN
China
Prior art keywords
power
management method
time
power management
threshold
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN200810147030A
Other languages
Chinese (zh)
Inventor
刘铨
童建勋
蔡政宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Inc
Original Assignee
MediaTek 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 MediaTek Inc filed Critical MediaTek Inc
Priority to CN200810147030A priority Critical patent/CN101650591A/en
Publication of CN101650591A publication Critical patent/CN101650591A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a plurality of power management methods, which are applied to an electronic system capable of operating in a non-power-saving mode and a power-saving mode. According to one of the above methods, when the electronic system is idle in the non-power saving mode, the idle state time is calculated. When the idle time equals or exceeds the mode entering time, the electronic system enters a power saving mode. When the electronic system is in the power saving mode, calculating the power supply cut-off time, and then modifying the mode entering time according to the power supply cut-off time. The power management method can switch the electronic system to the power-saving mode when the condition is met, so that the power consumption of the electronic system is saved.

Description

电源管理方法 power management method

技术领域 technical field

本发明有关于电源管理,且特别有关于整合串行总线接口的装置的一种自动电源管理方法。The present invention relates to power management, and in particular to an automatic power management method for devices integrating serial bus interfaces.

背景技术 Background technique

在特定操作模式下运行时,串行高级技术附件(Serial Advanced TechnologyAttachment,SATA)总线,或者串行小型计算机系统接口(Serial Attached SmallComputer System Interface,SAS)总线为一种串行总线,用来取代存储装置的并行接口,其主要被设计用于两个串行高级技术附件/串行小型计算机系统接口兼容装置间的数据传送,譬如:主机(例如:计算机)与存储装置(例如:光驱)。相对于并行高级技术附件(parallel Advanced Technology Attachment,parallelATA)总线,串行高级技术附件总线具有以下三方面的优势,即速度、排线尺寸、以及热插拔能力。串行高级技术附件总线包括一对信号线,其耦接于一个差动传送器(differential transmitter),且被配置用来传送某一方向的信号,更包括另一对信号线,其耦接于另一个差动传送器,且被配置用来传送相反方向的信号。The Serial Advanced Technology Attachment (SATA) bus, or the Serial Attached Small Computer System Interface (SAS) bus, is a serial bus that replaces the storage The device's parallel interface is designed primarily for data transfer between two SATA/SSI compliant devices, such as a host (eg, a computer) and a storage device (eg, an optical drive). Compared with the parallel Advanced Technology Attachment (parallel ATA) bus, the serial Advanced Technology Attachment bus has the following three advantages, namely, speed, cable size, and hot-swap capability. The serial advanced technology accessory bus includes a pair of signal lines, which are coupled to a differential transmitter (differential transmitter), and are configured to transmit signals in a certain direction, and further include another pair of signal lines, which are coupled to Another differential transmitter configured to transmit signals in opposite directions.

串行高级技术附件接口标准中定义有物理层、链路层及传输层。物理层,执行高比特率串行数据的传送及接收。上述数据被物理层接收后,被解串行化,接着被传送至链路层。物理层也接收来自链路层的数据,串行化上述数据,然后将其输出至差动线对(differential line pair)。链路层可向物理层提供请求,以输出信号,以及将来自物理层的数据提供至传输层。依据串行高级技术附件的标准,传输层执行操作所需的数据转换。There are physical layer, link layer and transport layer defined in the serial advanced technology attachment interface standard. The physical layer performs the transmission and reception of high bit rate serial data. After the above data is received by the physical layer, it is deserialized and then sent to the link layer. The physical layer also receives data from the link layer, serializes the data, and outputs it to a differential line pair. The link layer can provide requests to the physical layer to output signals, and provide data from the physical layer to the transport layer. The transport layer performs the data conversion required for the operation according to the standard of the Serial Advanced Technology Attachment.

串行高级技术附件规格应用于硬盘驱动器或光驱的传输接口,用来取代以前长期使用的并行高级技术附件/高级技术附加数据包接口(AdvancedTechnology Attachment Packet Interface,ATAPI)。串行高级技术附件接口的规格具体规定了两对差动信号线,以替代原本并列连接的40条或80条信号线。串行化原始数据能够减少信号线数量及降低电压,并提升速度。上述规格也采用了一些新功能,例如:流程控制(flow control)及错误重新传送(error resending),以用一种简单方式控制数据流。The Serial Advanced Technology Attachment specification is applied to the transmission interface of a hard disk drive or an optical drive to replace the long-term parallel Advanced Technology Attachment/Advanced Technology Attachment Packet Interface (ATAPI). The SATIA specification specifies two pairs of differential signal lines to replace the original 40 or 80 signal lines connected in parallel. Serializing raw data can reduce the number of signal lines and voltage, and improve speed. The above specification also adopts some new functions, such as: flow control (flow control) and error retransmission (error resending), to control the data flow in a simple way.

图13是串行高级技术附件规格中通信层的示意图。如图13所示,串行高级技术附件接口连接主机11与装置13。装置13可以是光存储装置、硬盘驱动器或其它具备串行高级技术附件接口的装置。在串行高级技术附件的规格中,通信层包括四层,分别为:第一层(物理层)、第二层(链路层)、第三层(传输层)及第四层(应用层)。物理层负责转换数字与模拟信号。即,物理层接收由链路层传送的数字信号,并将其转换成模拟信号,再将模拟信号传送至另一端点。物理层也接收来自另一端点的模拟信号,并将其转换为数字信号,再将数字信号输出至链路层。链路层编码与解码数字信号。即,链路层编码来自传输层的数据,并将已编码数据输出至物理层。另一方面,链路层解码来自物理层的数据,并将已解码数据输出至传输层。除此之外,链路层也支持电源切断管理。传输层建构(construct)与解构(deconstruct)帧信息结构(FrameInformation Structure,FIS)。帧信息结构详细定义于串行高级技术附件的规格中。应用层负责管理缓存(buffer memory)与直接存储器存取(Direct Memory Access,DMA)引擎。Figure 13 is a schematic diagram of the communication layers in the Serial Advanced Technology Annex specification. As shown in FIG. 13 , the SATIA interface connects the host 11 and the device 13 . Device 13 may be an optical storage device, hard drive, or other device with a Serial Advanced Technology Attachment Interface. In the specification of the serial advanced technology attachment, the communication layer includes four layers, namely: the first layer (physical layer), the second layer (link layer), the third layer (transport layer) and the fourth layer (application layer). ). The physical layer is responsible for converting digital and analog signals. That is, the physical layer receives the digital signal transmitted by the link layer, converts it into an analog signal, and transmits the analog signal to another endpoint. The physical layer also receives an analog signal from another endpoint, converts it to a digital signal, and outputs the digital signal to the link layer. The link layer encodes and decodes digital signals. That is, the link layer encodes data from the transport layer and outputs the encoded data to the physical layer. On the other hand, the link layer decodes data from the physical layer and outputs the decoded data to the transport layer. In addition, the link layer also supports power cut management. The transport layer constructs and deconstructs the Frame Information Structure (FIS). The frame information structure is defined in detail in the specification of the Serial Advanced Technology Annex. The application layer is responsible for managing the buffer memory and the Direct Memory Access (DMA) engine.

串行高级技术附件接口标准支持物理准备完成(PhyReady)模式、局部(Partial)模式及休眠(Slumber)模式。PhyReady模式(闲置状态)是表示串行高级技术附件接口准备好传送及接收数据的状态。因此,用来实现物理层操作的物理(physical,PHY)逻辑电路及用来同步两个串行高级技术附件兼容装置的主要锁相环(Phase-Locked Loop,PLL)电路均处于电源供给与主动状态。Partial模式与Slumber模式为省电模式,用来消除或减少物理逻辑电路及/或主要锁相环电路的电能消耗。Slumber模式比Partial模式更省电,但两者的返回延迟时间不同。Partial模式的返回延迟时间通常不超过10微秒(microsecond),而Slumber模式的返回延迟时间通常不会超过10毫秒(millisecond)。The serial advanced technology accessory interface standard supports physical preparation (PhyReady) mode, partial (Partial) mode and sleep (Slumber) mode. PhyReady mode (idle state) is a state that indicates that the SATIA interface is ready to transmit and receive data. Therefore, the physical (physical, PHY) logic circuit used to implement the physical layer operation and the main phase-locked loop (Phase-Locked Loop, PLL) circuit used to synchronize two serial advanced technology accessory compatible devices are both in the power supply and active state. The Partial mode and the Slumber mode are power saving modes, which are used to eliminate or reduce the power consumption of the physical logic circuit and/or the main PLL circuit. Slumber mode is more power-efficient than Partial mode, but the return delay time of the two is different. The return delay time of the Partial mode usually does not exceed 10 microseconds (microsecond), while the return delay time of the Slumber mode generally does not exceed 10 milliseconds (millisecond).

图14是串行高级技术附件接口的电源管理标准的示意图。通过多个串行高级技术附件兼容装置其中之一,将原始指令“局部模式请求”(Partial Request:PMREQ_P)或“休眠模式请求”(Slumber Request:PMREQ_S)传送至串行高级技术附件总线,使与其相连接的串行高级技术附件接口分别进入Partial模式或Slumber模式。为了从Partial模式或Slumber模式返回至PhyReady模式,主机或存储装置其中之一将带外(Out OfBand,OOB)信号COMWAKE传送至串行总线,然后,主机或存储装置响应COMWAKE,并切换至PhyReady模式。Figure 14 is a schematic diagram of the power management standard for the Serial Advanced Technology Accessory Interface. Transmit the original command "Partial Mode Request" (Partial Request: PMREQ_P) or "Slumber Request" (Slumber Request: PMREQ_S) to the serial advanced technology accessory bus through one of the multiple serial advanced technology accessory compatible devices, so that The serial advanced technology accessory interface connected with it enters Partial mode or Slumber mode respectively. In order to return to PhyReady mode from Partial mode or Slumber mode, one of the host or storage device transmits the out-of-band (Out OfBand, OOB) signal COMWAKE to the serial bus, and then the host or storage device responds to COMWAKE and switches to PhyReady mode .

一般来说,串行高级技术附件兼容装置将在所有未完成的命令完成后,立即请求电源模式转换。这将允许链路在命令完成后立即进入低耗电状态。但是,命令尚未完成之前,链路上会存在一些闲置状态,例如:在命令完成前,等待传送或者接收数据或状态信息。在闲置状态期间,串行高级技术附件兼容装置仅接收或传送同步信号。In general, a SATAT-compliant device will request a power mode transition as soon as all outstanding commands have completed. This will allow the link to enter a low power state as soon as the command completes. However, before the command is completed, there will be some idle states on the link, for example, waiting to transmit or receive data or status information before the command is completed. During the idle state, the SATTA compatible device only receives or transmits synchronization signals.

发明内容 Contents of the invention

为了节省电子装置及电子系统的电能消耗,特提供以下技术方案:In order to save the power consumption of electronic devices and electronic systems, the following technical solutions are provided:

本发明提供一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,其中,串行总线接口具有内部队列,用来存储未完成的命令,上述电源管理方法包括:确认内部队列是否为空;以及若内部队列为空,将电子装置切换至省电模式。The present invention provides a power management method, which is applied to an electronic device with a serial bus interface to save its power consumption. The serial bus interface has an internal queue for storing unfinished commands. The above power management method includes: confirmation Whether the internal queue is empty; and if the internal queue is empty, switching the electronic device to a power saving mode.

本发明另提供一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,上述电源管理方法包括:确认串行总线接口是否接收或传送同步信号;以及若串行总线接口接收或传送同步信号,将电子装置切换至省电模式。The present invention also provides a power management method, which is applied to an electronic device with a serial bus interface to save its power consumption. The power management method includes: confirming whether the serial bus interface receives or transmits a synchronization signal; and if the serial bus interface Receive or transmit synchronous signal, switch the electronic device to power saving mode.

本发明另提供一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,其中,串行总线接口包括链路层部分,上述电源管理方法包括:确认链路层部分是否为闲置状态;以及若链路层部分为闲置状态,将串行总线接口切换至省电模式。The present invention also provides a power management method, which is applied to an electronic device with a serial bus interface to save its power consumption, wherein the serial bus interface includes a link layer part, and the above power management method includes: confirming whether the link layer part is is in an idle state; and if the link layer part is in an idle state, switching the serial bus interface to a power saving mode.

本发明又提供一种电源管理方法,应用于可操作在非省电模式及省电模式下的电子系统以节省其电能消耗,上述电源管理方法包括:在非省电模式下,当电子系统为闲置状态时,计算闲置状态时间;若闲置状态时间大于或等于第一阈值,将电子系统切换至省电模式;当电子系统处于省电模式期间,计算电源切断时间;以及依据电源切断时间,修改第一阈值。The present invention further provides a power management method, which is applied to an electronic system operable in a non-power-saving mode and a power-saving mode to save its power consumption. The power management method includes: in the non-power-saving mode, when the electronic system is When in the idle state, calculate the idle state time; if the idle state time is greater than or equal to the first threshold, switch the electronic system to the power saving mode; when the electronic system is in the power saving mode, calculate the power cut time; and according to the power cut time, modify first threshold.

上述电源管理方法可通过各种不同途径确认是否应当进入省电模式,并在符合条件时将电子装置切换至省电模式,从而节省上述电子装置及电子系统的电能消耗。The above-mentioned power management method can confirm whether to enter the power-saving mode through various ways, and switch the electronic device to the power-saving mode when conditions are met, so as to save the power consumption of the above-mentioned electronic device and electronic system.

附图说明 Description of drawings

图1是依本发明实施例的系统的方块图。FIG. 1 is a block diagram of a system according to an embodiment of the present invention.

图2a及2b是应用于图1所示系统的两种自动电源管理方法的流程图。2a and 2b are flowcharts of two automatic power management methods applied to the system shown in FIG. 1 .

图3是依本发明实施例的另一系统的方块图。FIG. 3 is a block diagram of another system according to an embodiment of the present invention.

图4a及4b是应用于图3所示系统的两种自动电源管理方法的流程图。4a and 4b are flowcharts of two automatic power management methods applied to the system shown in FIG. 3 .

图5是依本发明实施例的串行高级技术附件兼容装置的一种自动电源管理方法的流程图。FIG. 5 is a flowchart of an automatic power management method for a SATAT compatible device according to an embodiment of the present invention.

图6-12是用来说明图5中步骤512的范例。6-12 are examples for illustrating step 512 in FIG. 5 .

图13是串行高级技术附件规格中通信层的示意图。Figure 13 is a schematic diagram of the communication layers in the Serial Advanced Technology Annex specification.

图14是串行高级技术附件接口的电源管理标准的示意图。Figure 14 is a schematic diagram of the power management standard for the Serial Advanced Technology Accessory Interface.

具体实施方式 Detailed ways

在说明书及权利要求书当中使用了某些词汇来指称特定的元件。所属技术领域的技术人员应可理解,硬件制造商可能会用不同的名词来称呼同一个元件。本说明书及权利要求书并不以名称的差异作为区分元件的方式,而是以元件在功能上的差异作为区分的准则。在通篇说明书及权利要求项中所提及的「包括」为一开放式的用语,故应解释成「包括但不限定于」。此外,「耦接」一词在此包括任何直接及间接的电气连接手段。因此,若文中描述第一装置耦接于第二装置,则代表第一装置可直接电气连接于第二装置,或透过其它装置或连接手段间接地电气连接至第二装置。Certain terms are used in the description and claims to refer to particular elements. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. The specification and claims do not use the difference in name as a way to distinguish components, but use the difference in function of components as a criterion for distinguishing. "Include" mentioned throughout the description and claims is an open-ended term, so it should be interpreted as "including but not limited to". In addition, the term "coupled" herein includes any direct and indirect means of electrical connection. Therefore, if it is described that the first device is coupled to the second device, it means that the first device may be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connection means.

图1是依本发明实施例的系统的方块图,上述系统具有主机(例如:个人计算机)以及存储装置(例如:光驱),两者通过串行高级技术附件总线通信。主机与光驱都是串行高级技术附件兼容装置。如图1所示,主机10包括:主要主机单元14、串行高级技术附件接口16、用来传送信息的传送器模块Tx及用来接收信息的接收器模块Rx;存储装置12包括:主要光驱单元20、串行高级技术附件接口18、用来传送信息的传送器模块Tx及用来接收信息的接收器模块Rx。串行高级技术附件接口16和18都通过配置于两者之间的串行高级技术附件总线22互相传送数据。每一个串行高级技术附件接口(16或18)均包括内部队列(24或26),用来于其中动态地重新安排或重新记录命令,以使串行高级技术附件接口16或18均支持本机命令队列指令集(Native Command Queuing,NCQ)或本机高级技术附加数据包接口命令,其中,本机命令队列指令集是一种命令协议,用来允许串行高级技术附件在单一光驱内执行多重未完成命令,本机高级技术附加数据包接口是一种串行高级技术附件命令协议,用来允许单一串行高级技术附件的帧信息结构中未完成的封包命令。FIG. 1 is a block diagram of a system according to an embodiment of the present invention. The above-mentioned system has a host computer (such as a personal computer) and a storage device (such as an optical drive), and the two communicate through a serial advanced technology accessory bus. Both the host computer and the optical drive are Serial Advanced Technology Accessory Compatible Devices. As shown in Figure 1, the host 10 includes: a main host unit 14, a serial advanced technology accessory interface 16, a transmitter module Tx for transmitting information, and a receiver module Rx for receiving information; the storage device 12 includes: a main optical drive Unit 20, Serial Advanced Technology Accessory Interface 18, transmitter module Tx for transmitting information and receiver module Rx for receiving information. Both SATIA 16 and 18 communicate data to each other via SATB 22 disposed therebetween. Each SATIA (16 or 18) includes an internal queue (24 or 26) in which commands are dynamically rearranged or relogged so that SATAI 16 or 18 supports this Native Command Queuing (NCQ) or Native Advanced Technology Attachment Packet Interface Commands, where Native Command Queuing is a command protocol that allows serial Advanced Technology Attachments to be executed within a single optical drive Multiple Outstanding Commands, Native Advanced Technology Attachment Packet Interface is a serial Advanced Technology Attachment command protocol designed to allow outstanding packet commands in a single Serial Advanced Technology Attachment frame information structure.

图2a与2b是依本发明实施例的两种自动电源管理的流程图,应用于图1中的串行高级技术附件兼容装置主机10与存储装置12。如图所示,若其内部队列为空,串行高级技术附件接口被确认为闲置状态。串行高级技术附件的主机10或者串行高级技术附件兼容存储装置12均可各自确认串行高级技术附件接口是否为闲置状态。虽然整合串行高级技术附件接口16的主机10同样可用来说明图2a与2b的操作步骤,但为了简化说明,下文仅以图1中整合串行高级技术附件接口18的存储装置12为例进行说明。在图2a的步骤200中,确认内部队列26是否为空。若是,则串行高级技术附件接口18被认定为闲置状态。接着,如图2a的步骤202所示,存储装置12被切换至操作于省电模式下。上述模式改变可通过将“局部模式请求”或“休眠模式请求”传送至串行高级技术附件总线22来实现。2a and 2b are flowcharts of two types of automatic power management according to an embodiment of the present invention, applied to the SATAC host 10 and the storage device 12 in FIG. 1 . As shown, a SATIA interface is identified as idle if its internal queue is empty. Either the host 10 of the SATTA or the SATTA-compatible storage device 12 can each confirm whether the SATIA interface is in an idle state. Although the host computer 10 integrated with the SATIA interface 16 can also be used to illustrate the operation steps of FIGS. illustrate. In step 200 of Figure 2a, it is determined whether the internal queue 26 is empty. If so, SATIA 18 is assumed to be idle. Next, as shown in step 202 of FIG. 2 a , the storage device 12 is switched to operate in the power saving mode. The mode change described above can be accomplished by transmitting a “partial mode request” or a “sleep mode request” to SATB 22 .

备选地,如图2b所示,可以延迟进入省电模式,直到闲置状态持续一段预设时间。与图2a的步骤200相似,图2b的步骤204用来确认内部队列26是否为空。若是,在步骤206中,初始化计时器,以在内部队列26持续为空时计算闲置状态时间。步骤208与210形成一个循环,以连续地确认串行高级技术附件接口18的闲置状态时间是否达到模式进入时间。若结果为否,在步骤210中选取“否”路径,上述循环返回至步骤208。若闲置状态时间大于或等于模式进入时间,则在步骤210中选取“是”路径,如图2b中步骤212所示,存储装置12进入省电模式。Alternatively, as shown in Figure 2b, entry into the power saving mode may be delayed until the idle state lasts for a preset period of time. Similar to step 200 of FIG. 2a, step 204 of FIG. 2b is used to confirm whether the internal queue 26 is empty. If yes, in step 206, a timer is initialized to count the idle state time when the internal queue 26 is continuously empty. Steps 208 and 210 form a loop to continuously check whether the idle state time of SATIA 18 reaches the mode entry time. If the result is negative, the “No” path is selected in step 210 , and the above loop returns to step 208 . If the idle state time is greater than or equal to the mode entry time, select the "Yes" path in step 210, as shown in step 212 in FIG. 2b, and the storage device 12 enters the power saving mode.

将串行高级技术附件兼容装置切换至省电模式可包括:通过将“局部模式请求”或“休眠模式请求”传送至串行高级技术附件总线22而将串行高级技术附件兼容装置的串行高级技术附件接口16或18切换至省电模式。备选地,也可以包括:将串行高级技术附件兼容装置的主要主机单元14或主要光驱单元20切换至省电模式,例如:降低存储装置12的转动速度或其它类似方法。更进一步,也可以包括:关闭接收器模块,并在操作于省电模式期间,周期性地启动接收器模块,以检查串行高级技术附件兼容装置是否要求返回主动模式。或者,将串行高级技术附件兼容装置切换至省电模式的方法可包括上述方法的任意组合。Switching a SATTA-compatible device to a power save mode may include switching the SATTA-compatible device's serial The advanced technology accessory interface 16 or 18 switches to power saving mode. Alternatively, it may also include: switching the main host unit 14 or the main optical drive unit 20 of the SATA compatible device to a power saving mode, such as reducing the rotation speed of the storage device 12 or other similar methods. Still further, it may also include: turning off the receiver module, and periodically turning on the receiver module during operation in the power saving mode to check whether the SATAC device requests to return to the active mode. Alternatively, the method of switching a Serial Advanced Technology Accessory compatible device into a power saving mode may include any combination of the methods described above.

图3是依本发明另一实施例的系统的方块图。上述系统具有主机30与光驱32,两者通过串行高级技术附件总线22通信。对于具有相同功能的类似元件,图3使用与图1相同的符号。不同于图1的是,串行高级技术附件接口34具有链路层部分38与物理层部分40,串行高级技术附件接口36具有链路层部分44与物理层部分42。物理层部分40耦接于串行高级技术附件总线22,以传送数据至物理层部分42或从物理层部分42接收数据。当执行物理层部分40与链路层部分38的通信时,物理层部分40经由串行高级技术附件总线22执行数据传送或接收。若没有数据传送或接收,物理层部分40处于闲置状态,则传送一个同步信号至串行高级技术附件接口36的物理层部分42,并从物理层部分42接收另一个同步信号。FIG. 3 is a block diagram of a system according to another embodiment of the present invention. The system described above has a host computer 30 and an optical drive 32 communicating via a serial advanced technology accessory bus 22 . Figure 3 uses the same symbols as in Figure 1 for similar elements having the same function. Unlike FIG. 1 , SATIA 34 has a link layer portion 38 and a physical layer portion 40 , and SATIA 36 has a link layer portion 44 and a physical layer portion 42 . The PHY portion 40 is coupled to the SATB 22 for transmitting data to or receiving data from the PHY portion 42 . When performing communication of the physical layer section 40 with the link layer section 38 , the physical layer section 40 performs data transmission or reception via the serial advanced technology attachment bus 22 . If no data is being transmitted or received and the PHY portion 40 is in an idle state, a synchronization signal is sent to the PHY portion 42 of the SATIA interface 36 and another synchronization signal is received from the PHY portion 42 .

若传输层部分与链路层部分38之间没有通信,物理层部分42也处于闲置状态。处于闲置状态的链路层部分与物理层部分或传输层部分之间没有通信,这表明串行高级技术附件接口34或36也处于闲置状态。备选地,当该串行高级技术附件接口34或36接收或传送同步信号时,串行高级技术附件接口也处于闲置状态。If there is no communication between the transport layer part and the link layer part 38, the physical layer part 42 is also in an idle state. There is no communication between the link layer portion in the idle state and the physical layer portion or the transport layer portion, indicating that the SATIA 34 or 36 is also in the idle state. Alternatively, when the SATIA 34 or 36 is receiving or transmitting synchronization signals, the SATAI is also in an idle state.

图4a与4b是依本发明的两种自动电源管理实施例的流程图,应用于图3中串行高级技术附件兼容装置主机30或光驱32。如图4a与4b所示,若物理层部分40或42处于闲置状态,则串行高级技术附件接口34或36被确认为闲置状态。虽然整合串行高级技术附件接口34的主机30同样可用来说明图4a与4b的操作步骤,但为了简化说明,下文仅以图3中整合串行高级技术附件接口36的光驱32为例进行说明。若链路层部分44为闲置状态,或串行高级技术附件接口36接收或传送同步信号,则串行高级技术附件接口36被视为处于闲置状态(步骤300)。随后,如图4a中步骤302所示,光驱32被切换至操作于省电模式下。上述模式改变,可通过将“局部模式请求”或“休眠模式请求”传送至串行高级技术附件总线22来实现。4a and 4b are flowcharts of two automatic power management embodiments according to the present invention, applied to the SATAC host 30 or the optical drive 32 in FIG. 3 . As shown in Figures 4a and 4b, if the physical layer portion 40 or 42 is in the idle state, then the SATIA 34 or 36 is asserted in the idle state. Although the host computer 30 integrated with the SATIA interface 34 can also be used to illustrate the operation steps of FIGS. . If link layer portion 44 is in the idle state, or SATIA 36 receives or transmits a synchronization signal, then SATIA 36 is considered to be in the idle state (step 300). Subsequently, as shown in step 302 in FIG. 4a, the optical drive 32 is switched to operate in the power saving mode. The above-mentioned mode change can be realized by transmitting a "partial mode request" or "sleep mode request" to the serial advanced technology accessory bus 22 .

备选地,如图4b所示,可以延迟进入省电模式,直到闲置状态持续一段预设时间。与图2b类似,图4b中除了确认步骤304、308与图2b中步骤204、208不同外,其它步骤都执行类似的操作。因此,为简化说明,此处不另赘述。如图4b所示,当串行高级技术附件接口的闲置状态时间达到模式进入时间时,串行高级技术附件兼容装置将被切换至操作于省电模式下。Alternatively, as shown in Figure 4b, entry into the power saving mode may be delayed until the idle state lasts for a preset period of time. Similar to FIG. 2b, except that the confirming steps 304 and 308 in FIG. 4b are different from the steps 204 and 208 in FIG. 2b, other steps perform similar operations. Therefore, for simplicity of description, details are not described here. As shown in FIG. 4b, when the idle state time of the SATIA interface reaches the mode entry time, the SATAT compatible device will be switched to operate in the power saving mode.

将串行高级技术附件兼容装置切换至省电模式可包括:通过将“局部模式请求”或“休眠模式请求”传送至串行高级技术附件总线22而将串行高级技术附件兼容装置的串行高级技术附件接口34或36切换至省电模式。备选地,也可以包括:将串行高级技术附件兼容装置的主要主机单元14或主要光驱单元20切换至省电模式,例如:降低存储装置32的转动速度或其它类似方式。更进一步,也可以包括:关闭接收器模块,并在操作于省电模式期间,周期性地启动接收器模块,以检查串行高级技术附件兼容装置是否要求返回主动模式。或者,将串行高级技术附件兼容装置切换至省电模式的方法可包括上述方法的任意组合。Switching a SATTA-compatible device to a power save mode may include switching the SATTA-compatible device's serial The advanced technology accessory interface 34 or 36 switches to power saving mode. Alternatively, it may also include: switching the main host unit 14 or the main optical drive unit 20 of the SATA compatible device to a power saving mode, for example, reducing the rotation speed of the storage device 32 or other similar methods. Still further, it may also include: turning off the receiver module, and periodically turning on the receiver module during operation in the power saving mode to check whether the SATAC device requests to return to the active mode. Alternatively, the method of switching a Serial Advanced Technology Accessory compatible device into a power saving mode may include any combination of the methods described above.

图2b或4b所引入的模式进入时间可以是常数或变量,这取决于串行高级技术附件总线的具体环境。串行高级技术附件兼容装置由非省电模式改变至省电模式时,表明串行高级技术附件兼容装置进入省电模式,反之,串行高级技术附件兼容装置将进入主动模式。因此,模式进入时间是从串行高级技术附件接口被确认为闲置状态,至串行高级技术附件兼容装置进入省电模式的一段时间。电源切断时间,定义为从串行高级技术附件兼容装置进入省电模式,直到返回主动模式的一段时间。当串行高级技术附件兼容装置的电源切断时间相对较短时,串行高级技术附件兼容装置可维持主动模式,以避免由于从省电模式快速返回所造成的频繁返回延迟,因此,可适度增加模式进入时间。相反地,若串行高级技术附件兼容装置的电源切断时间相对较长时,则提早进入省电模式可节省更多电能,因此,应减少模式进入时间。所以,电源切断时间可作为用来修改模式进入时间的一个指标。The mode entry time introduced by Figure 2b or 4b can be constant or variable, depending on the specific circumstances of the Serial Advanced Technology Accessory bus. When the SATAC device changes from the non-power saving mode to the power saving mode, it indicates that the SATAC device enters the power saving mode, otherwise, the SATAC device will enter the active mode. Thus, the mode entry time is the period of time from when the SATIA interface is identified as idle until the SATTA compatible device enters the power saving mode. Power down time, defined as the period of time from when a Serial Advanced Technology Accessory compliant device enters power saving mode until it returns to active mode. When the power-off time of the SATAT-compliant device is relatively short, the SATAT-compliant device can maintain the active mode to avoid frequent return delays due to the rapid return from power-saving mode, so a modest increase in Mode entry time. Conversely, if the power-off time of the SATAT-compliant device is relatively long, entering the power saving mode earlier can save more power, so the mode entry time should be reduced. Therefore, the power-off time can be used as an index for modifying the mode-entry time.

图5是依本发明实施例的串行高级技术附件兼容装置的一种自动电源管理方法的流程图。如步骤500所示,在非省电模式下,确认串行高级技术附件接口是否为闲置状态。若是,在步骤502中启动计时器以计算闲置状态时间。随后,执行步骤504以确认闲置状态时间是否达到模式进入时间。当串行高级技术附件接口返回至数据传送或接收状态,即,在闲置状态时间达到模式进入时间之前返回至主动模式,则停止闲置状态时间的计算并重置计时器,然后返回步骤500(步骤504的“否”路径)。若闲置状态时间超过或等于模式进入时间,则执行步骤506,以将串行高级技术附件兼容装置切换至操作于省电模式,并在步骤508中,启动电源切断时间的计算。随后,在步骤510中,确认串行高级技术附件接口是否为主动模式。当串行高级技术附件接口返回至主动模式,执行步骤512以停止电源切断时间的计算,并确认模式进入时间是否需要修改。在步骤514中,确认电源切断时间是否适当。若是,则模式进入时间不会被修改,且流程返回至步骤500。否则,在步骤516中,修改模式进入时间,然后流程返回至步骤500。FIG. 5 is a flowchart of an automatic power management method for a SATAT compatible device according to an embodiment of the present invention. As shown in step 500, in the non-power-saving mode, it is determined whether the SATIA interface is idle. If yes, start a timer in step 502 to count the idle state time. Subsequently, step 504 is executed to confirm whether the idle state time reaches the mode entry time. When the SATA interface returns to the data transmission or reception state, that is, returns to the active mode before the idle state time reaches the mode entry time, then stop the calculation of the idle state time and reset the timer, then return to step 500 (step 504's "No" path). If the idle state time exceeds or is equal to the mode entry time, then execute step 506 to switch the SATAT compatible device to operate in the power saving mode, and in step 508, start the calculation of the power off time. Then, in step 510, it is determined whether the SATAI is in active mode. When the SATIA interface returns to the active mode, execute step 512 to stop the calculation of the power off time, and check whether the mode entry time needs to be modified. In step 514, it is confirmed whether the power off time is appropriate. If yes, the mode entry time will not be modified, and the process returns to step 500 . Otherwise, in step 516 , the mode entry time is modified and flow returns to step 500 .

图6是用来说明图5中步骤512的范例。在步骤602中,确认电源切断时间是否小于预设的第二阈值。若是(步骤602的“是”路径),如步骤604所示,增加模式进入时间,例如:增加一个预设数值。若电源切断时间大于或等于预设的第二阈值(步骤602的“否”路径),则模式进入时间维持不变。FIG. 6 is an example for illustrating step 512 in FIG. 5 . In step 602, it is confirmed whether the power cut-off time is less than a preset second threshold. If so ("Yes" path of step 602), as shown in step 604, increase the mode entry time, for example: increase a preset value. If the power cut-off time is greater than or equal to the preset second threshold ("No" path of step 602), the mode entry time remains unchanged.

模式进入时间可以被限制,以避免因为模式进入时间的持续增加所导致的非预期影响。相应地,图7是图6的修改版本。在步骤604之后,执行步骤706,以确认模式进入时间是否到达上限。若否,则模式进入时间维持不变。否则,在步骤708中,减少模式进入时间,可随意地减少或减少一个预设数值。因此,可维持模式进入时间小于上限,并且可以避免超过上限的闲置状态时间。The mode entry time can be limited to avoid unintended effects caused by the continuous increase of the mode entry time. Accordingly, FIG. 7 is a modified version of FIG. 6 . After step 604, step 706 is executed to confirm whether the mode entry time reaches the upper limit. If not, the mode entry time remains unchanged. Otherwise, in step 708, the mode entry time is decreased, which can be optionally decreased or decreased by a preset value. Therefore, the mode entry time can be maintained less than the upper limit, and an idle state time exceeding the upper limit can be avoided.

图8也是用来说明图5的步骤512,其中,电源切断时间若小于第二阈值,则被确认为太短。图6与7是说明因电源切断时间太短而触发模式进入时间的增加,与上述两图不同,图8中,模式进入时间可增加或减少,以使模式进入时间保持在上限与下限之间。当修正时,利用倾向变量来指示模式进入时间增加或减少。因此,在步骤802中,确认电源切断时间是否太短,即,电源切断时间是否小于第二阈值。执行步骤804,以确认模式进入时间具有变高或变低的倾向。若模式进入时间具有变高的倾向,在步骤804后执行步骤806,使模式进入时间增加。若模式进入时间具有变低的倾向,在步骤804后执行步骤808,使模式进入时间减少。执行步骤810,以确认改变后的模式进入时间是否达到上限或下限。若是,则对模式进入时间执行反向操作,反转其倾向,以使模式进入时间维持在上限与下限之间。FIG. 8 is also used to illustrate step 512 in FIG. 5 , wherein, if the power-off time is less than the second threshold, it is determined to be too short. Figures 6 and 7 illustrate the increase of the trigger mode entry time due to the short power cut-off time. Unlike the above two figures, in Figure 8, the mode entry time can be increased or decreased to keep the mode entry time between the upper and lower limits . When correcting, a propensity variable is used to indicate that the mode entry time increases or decreases. Therefore, in step 802, it is determined whether the power cut-off time is too short, that is, whether the power cut-off time is smaller than the second threshold. Step 804 is executed to confirm that the mode entry time tends to be higher or lower. If the mode entry time tends to increase, step 806 is executed after step 804 to increase the mode entry time. If the mode entry time tends to decrease, step 808 is executed after step 804 to decrease the mode entry time. Step 810 is executed to confirm whether the changed mode entry time reaches the upper limit or the lower limit. If so, an inverse operation is performed on the mode entry time, reversing its tendency so that the mode entry time remains between the upper and lower bounds.

图9是用来说明图5中步骤512的另一范例,其中,模式进入时间仅可以是一个较高值或一个较低值。若电源切断时间被确认为太短,则模式进入时间将由一个数值被切换至另一数值。在图9的步骤902中,确认电源切断时间是否小于第二阈值。若否,模式进入时间保持不变。否则,执行步骤904,以确认模式进入时间是否为较高值或较低值。随后,在步骤906中,模式进入时间由较高值被切换至较低值,或者,在步骤908中,模式进入时间由较低值被切换至较高值。FIG. 9 is another example for illustrating step 512 in FIG. 5, wherein the mode entry time can only be a higher value or a lower value. If the power off time is determined to be too short, the mode entry time will be switched from one value to another. In step 902 of FIG. 9 , it is determined whether the power cut-off time is less than a second threshold. If not, the mode entry time remains unchanged. Otherwise, step 904 is executed to determine whether the mode entry time is a higher value or a lower value. Then, in step 906, the mode entry time is switched from a higher value to a lower value, or, in step 908, the mode entry time is switched from a lower value to a higher value.

图10是用来说明图5中步骤512的另一例范例。在步骤1002中,确认电源切断时间是否小于第二阈值。若否,模式进入时间维持不变。否则,在步骤1004中,将模式进入时间随机地指定为介于上限与下限间的数值。FIG. 10 is another example for illustrating step 512 in FIG. 5 . In step 1002, it is determined whether the power cut-off time is less than a second threshold. If not, the mode entry time remains unchanged. Otherwise, in step 1004, the mode entry time is randomly assigned as a value between an upper limit and a lower limit.

图11与图6不同之处在于额外的步骤1102,即步骤602中确认为“否”结果后的路径。在步骤1102中,当电源切断时间不小于第二阈值时,减小模式进入时间,这使得串行高级技术附件兼容装置可以被更早切换至省电模式,以节省更多电能。The difference between FIG. 11 and FIG. 6 lies in the extra step 1102 , that is, the path after the result of “no” is confirmed in step 602 . In step 1102, when the power cut-off time is not less than the second threshold, the mode entry time is reduced, so that the SATAT compatible device can be switched to the power saving mode earlier to save more power.

由于不适当的电源切断时间会因偶然事件而单独发生,因此,当电源切断时间被确认为太短或太长时,不能够每次都修改模式进入时间。所以,如图12所示,采用最近收集的电源切断时间的统计结果来作为模式进入时间修改方法的佐证。在步骤1202中,计算最近收集的电源切断时间的统计结果。若统计结果符合第一标准(步骤1204的“是”路径),将在步骤1208中增加模式进入时间。否则,执行步骤1206。若统计结果符合第二标准(步骤1206的“是”路径),将在步骤1210中减少模式进入时间。否则,模式进入时间维持不变。Since an inappropriate power-off time occurs solely by accident, it is not possible to modify the mode-entry time every time when the power-off time is confirmed to be too short or too long. Therefore, as shown in FIG. 12 , the most recently collected statistical results of power cut-off time are used as evidence for the mode entry time modification method. In step 1202, the latest collected statistical results of power cut-off time are calculated. If the statistical result meets the first criterion (“Yes” path of step 1204 ), the mode entry time will be increased in step 1208 . Otherwise, go to step 1206. If the statistical result meets the second criterion (“Yes” path of step 1206 ), the mode entry time will be decreased in step 1210 . Otherwise, the mode entry time remains unchanged.

图12的统计结果,可以是一定数目的最近收集的电源切断时间中,不适当电源切断时间的百分比。或者,也可以是在某一期间内,不适当电源切断时间的数目。例如:若在每20笔最新收集的电源切断时间中,超过80%者被确认为太短,则表明模式进入时间应增加。又例如:若在一个小时内,超过10笔的电源切断时间被确认为太短,也可以表明模式进入时间应增加。其它条件也可能作为模式进入时间应增加的佐证,例如:在一天时间内,所有电源切断时间被确认为太短,或者,在一段预设时间内,超过连续8笔电源切断时间被确认为太短等等。用来证明模式进入时间需要减少的标准可相似或不相似于用来证明模式进入时间需要增加的标准。例如:上述两种标准都可以依据不适当电源切断时间的百分比,或者,一种依据百分比,而另一种则依据不适当电源切断时间的数目。The statistical result in FIG. 12 may be the percentage of inappropriate power-off time among a certain number of recently collected power-off times. Alternatively, it may be the number of inappropriate power-off times within a certain period. Example: If more than 80% of every 20 latest collected power cut times are found to be too short, it indicates that the mode entry time should be increased. Another example: if within one hour, the power cut-off time of more than 10 pens is confirmed to be too short, it may also indicate that the mode entry time should be increased. Other conditions may also be used as evidence that the mode entry time should be increased, for example: all power cut times are determined to be too short within a day, or more than 8 consecutive power cut times are determined to be too short within a predetermined period of time. short wait. The criteria used to justify a required decrease in mode entry time may or may not be similar to the criteria used to justify a required increase in mode entry time. For example: both of the above criteria can be based on the percentage of inappropriate power off time, or one can be based on a percentage and the other can be based on the number of inappropriate power off time.

本发明的实施例是以串行高级技术附件接口为例说明,但并非仅限于此。本发明也可以在使用串行小型计算机系统接口总线的串行小型计算机系统接口上实现。例如:可利用图2a、2b及图5-12所揭露的电源管理方法其中之一,以串行小型计算机系统接口总线及对应的串行小型计算机系统接口取代图1中的串行高级技术附件总线22及串行高级技术附件接口16与18。而图3中的串行高级技术附件总线22与串行高级技术附件接口34与32,可使用串行小型计算机系统接口总线与对应的串行小型计算机系统接口来取代,其可以利用揭露于图4a、4b及图5-12的电源管理方法其中之一。Embodiments of the present invention are illustrated using the Serial Advanced Technology Accessory Interface as an example, but not limited thereto. The present invention can also be implemented on a Serial Small Computer System Interface using the Serial Small Computer System Interface bus. For example: one of the power management methods disclosed in Figures 2a, 2b and Figures 5-12 can be used to replace the serial advanced technology attachment in Figure 1 with the serial small computer system interface bus and the corresponding serial small computer system interface Bus 22 and Serial Advanced Technology Accessory Interfaces 16 and 18. The serial advanced technology accessory bus 22 and the serial advanced technology accessory interface 34 and 32 in FIG. 4a, 4b and one of the power management methods in Fig. 5-12.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (20)

1.一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,其中,该串行总线接口具有内部队列,用来存储未完成的命令,该电源管理方法包括:1. A power management method applied to an electronic device with a serial bus interface to save its power consumption, wherein the serial bus interface has an internal queue for storing unfinished commands, the power management method comprising: 确认该内部队列是否为空;以及confirm that the internal queue is empty; and 若该内部队列为空,将该电子装置切换至省电模式。If the internal queue is empty, switch the electronic device to a power saving mode. 2.如权利要求1所述的电源管理方法,其特征在于:更包括:2. The power management method according to claim 1, further comprising: 当该内部队列为空时,测量闲置状态时间,其中,当该闲置状态时间大于或等于第一阈值时,该电子装置被切换至该省电模式。When the internal queue is empty, the idle state time is measured, wherein, when the idle state time is greater than or equal to a first threshold, the electronic device is switched to the power saving mode. 3.如权利要求1所述的电源管理方法,其特征在于:更包括:3. The power management method according to claim 1, further comprising: 若该内部队列为空,则将该串行总线接口切换至该省电模式。If the internal queue is empty, switch the serial bus interface to the power saving mode. 4.一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,该电源管理方法包括:4. A power management method applied to an electronic device with a serial bus interface to save its power consumption, the power management method comprising: 确认该串行总线接口是否接收或传送同步信号;以及confirming whether the serial bus interface receives or transmits a synchronization signal; and 若该串行总线接口接收或传送该同步信号,将该电子装置切换至省电模式。If the serial bus interface receives or transmits the synchronization signal, the electronic device is switched to a power saving mode. 5.如权利要求4所述的电源管理方法,其特征在于:更包括:5. The power management method according to claim 4, further comprising: 当该串行总线接口接收或传送该同步信号时,测量闲置状态时间,其中,当该闲置状态时间大于或等于第一阈值时,该电子装置被切换至该省电模式。When the serial bus interface receives or transmits the synchronization signal, the idle state time is measured, wherein, when the idle state time is greater than or equal to a first threshold, the electronic device is switched to the power saving mode. 6.如权利要求4所述的电源管理方法,其特征在于:更包括:6. The power management method according to claim 4, further comprising: 若该串行总线接口接收或传送该同步信号,将该串行总线接口切换至该省电模式。If the serial bus interface receives or transmits the synchronization signal, switch the serial bus interface to the power saving mode. 7.一种电源管理方法,应用于具有串行总线接口的电子装置以节省其电能消耗,其中,该串行总线接口包括链路层部分,该电源管理方法包括:7. A power management method applied to an electronic device with a serial bus interface to save its power consumption, wherein the serial bus interface includes a link layer part, the power management method comprising: 确认该链路层部分是否为闲置状态;以及confirm whether the link layer part is idle; and 若该链路层部分为闲置状态,将该串行总线接口切换至省电模式。If the link layer part is in an idle state, switch the serial bus interface to a power saving mode. 8.如权利要求7所述的电源管理方法,其特征在于:更包括:8. The power management method according to claim 7, further comprising: 当该链路层部分为闲置状态时,测量闲置状态时间,其中,当该闲置状态时间大于或等于第一阈值时,该电子装置被切换至该省电模式。When the link layer part is in the idle state, the idle state time is measured, wherein, when the idle state time is greater than or equal to a first threshold, the electronic device is switched to the power saving mode. 9.如权利要求7所述的电源管理方法,其特征在于:更包括:9. The power management method according to claim 7, further comprising: 若该串行总线接口接收或传送同步信号,将该串行总线接口切换至该省电模式。If the serial bus interface receives or transmits a synchronous signal, the serial bus interface is switched to the power saving mode. 10.一种电源管理方法,应用于可操作在非省电模式及省电模式下的电子系统以节省其电能消耗,该电源管理方法包括:10. A power management method applied to an electronic system operable in a non-power-saving mode and a power-saving mode to save its power consumption, the power management method comprising: 在该非省电模式下,当该电子系统为闲置状态时,测量闲置状态时间;In the non-power-saving mode, when the electronic system is in an idle state, measuring the idle state time; 若该闲置状态时间大于或等于第一阈值,将该电子系统切换至该省电模式;if the idle state time is greater than or equal to a first threshold, switching the electronic system to the power saving mode; 当该电子系统处于该省电模式期间,测量电源切断时间;以及measuring power-off time while the electronic system is in the power-saving mode; and 依据该电源切断时间,修改该第一阈值。The first threshold is modified according to the power cut-off time. 11.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:11. The power management method according to claim 10, characterized in that: the modifying step comprises: 当该电源切断时间小于第二阈值时,增加该第一阈值。When the power cut-off time is less than the second threshold, the first threshold is increased. 12.如权利要求11所述的电源管理方法,其特征在于:该修改步骤更包括:12. The power management method according to claim 11, wherein the modifying step further comprises: 当该第一阈值达到上限时,减小该第一阈值。When the first threshold reaches the upper limit, the first threshold is decreased. 13.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:13. The power management method according to claim 10, wherein the modifying step comprises: 当该电源切断时间大于或等于第二阈值时,减小该第一阈值。When the power cut-off time is greater than or equal to the second threshold, the first threshold is decreased. 14.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:14. The power management method according to claim 10, wherein the modifying step comprises: 当该电源切断时间小于第二阈值,且模式进入时间的倾向为变高时,增加该模式进入时间;When the power cut-off time is less than the second threshold and the mode-entry time tends to be higher, increase the mode-entry time; 当该电源切断时间小于该第二阈值,且该模式进入时间的该倾向为变低时,减少该模式进入时间;以及When the power-off time is less than the second threshold and the trend of the mode-entry time is lower, decrease the mode-entry time; and 当该模式进入时间到达上限或下限时,反转该模式进入时间之该倾向。When the mode entry time reaches an upper limit or a lower limit, the tendency of the mode entry time is reversed. 15.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:15. The power management method according to claim 10, wherein the modifying step comprises: 当该电源切断时间小于第二阈值时,将该模式进入时间调整为介于上限与下限之间。When the power cut-off time is less than the second threshold, the mode entry time is adjusted to be between an upper limit and a lower limit. 16.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:16. The power management method according to claim 10, wherein the modifying step comprises: 当多个最近收集的电源切断时间的统计结果符合标准时,减小该第一阈值。The first threshold is decreased when a plurality of recently collected statistical results of power cut-off times meet the criteria. 17.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:17. The power management method according to claim 10, wherein the modifying step comprises: 当多个最近收集的电源切断时间的统计结果符合标准时,增加该第一阈值。The first threshold is increased when a plurality of recently collected statistical results of power cut-off times meet the criteria. 18.如权利要求10所述的电源管理方法,其特征在于:该修改步骤包括:18. The power management method according to claim 10, wherein the modifying step comprises: 计算多个最近收集的电源切断时间的统计结果;Computing statistics for multiple most recently collected power cut times; 当该统计结果符合第一标准时,增加该第一阈值;以及When the statistical result meets the first criterion, increasing the first threshold; and 当该统计结果符合第二标准时,减小该第一阈值。When the statistical result meets the second standard, the first threshold is decreased. 19.如权利要求18所述的电源管理方法,其特征在于:该第一标准与该第二标准其中之一为:19. The power management method according to claim 18, wherein one of the first standard and the second standard is: 该多个最新收集的电源切断时间中被确认为不适当者超过预设百分比值。Among the plurality of newly collected power cut-off times, those confirmed to be inappropriate exceed a preset percentage value. 20.如权利要求18所述的电源管理方法,其特征在于:该第一标准与该第二标准其中之一为:20. The power management method according to claim 18, wherein one of the first standard and the second standard is: 该多个最新收集的电源切断时间中被确认为不适当者大于预设数量。Among the plurality of newly collected power cut-off times, those confirmed as inappropriate are greater than a preset number.
CN200810147030A 2008-08-12 2008-08-12 Power supply management method Pending CN101650591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810147030A CN101650591A (en) 2008-08-12 2008-08-12 Power supply management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810147030A CN101650591A (en) 2008-08-12 2008-08-12 Power supply management method

Publications (1)

Publication Number Publication Date
CN101650591A true CN101650591A (en) 2010-02-17

Family

ID=41672841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810147030A Pending CN101650591A (en) 2008-08-12 2008-08-12 Power supply management method

Country Status (1)

Country Link
CN (1) CN101650591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102218947A (en) * 2010-03-25 2011-10-19 佳能株式会社 Information processing apparatus and control method of information processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102218947A (en) * 2010-03-25 2011-10-19 佳能株式会社 Information processing apparatus and control method of information processing apparatus
US8595530B2 (en) 2010-03-25 2013-11-26 Canon Kabushiki Kaisha Information processing apparatus and control method of information processing apparatus
CN102218947B (en) * 2010-03-25 2014-03-19 佳能株式会社 Information processing apparatus and control method of information processing apparatus

Similar Documents

Publication Publication Date Title
US20090187779A1 (en) Automatic power management method
US10552352B2 (en) Methods and apparatus for synchronizing uplink and downlink transactions on an inter-device communication link
US8839015B2 (en) Systems and methods for reducing power consumption of a communication device
US8208467B2 (en) Method and apparatus for modulating the width of a high-speed link
US7225350B2 (en) Active state link power management
EP1396959B1 (en) System and method for optimizing power consumption in a mobile environment
TWI408557B (en) High speed input/output system and power-saved control method thereof
CN100373299C (en) Method and dual processor device for controlling data communication between two processors
US20100332866A1 (en) Method and system for optimizing power consumption in a mobile environment
CN108713197A (en) Adaptive Fast Peripheral Component Interconnect Link Substate Initiation for Optimal Performance and Power Savings
US20170212579A1 (en) Storage Device With Power Management Throttling
KR20080001660A (en) Supply control of data from feed buffer
WO2013063972A1 (en) Communication method, communication apparatus and electronic device
CN116414212A (en) Core particle and control method for core particle
WO2015018003A1 (en) Ltr/obff design scheme for ethernet adapter application
US10551905B1 (en) Data-transmission-format conversion circuit and control method for data-transmission-format conversions between different high-speed data transmission interfaces
US20050223141A1 (en) Data flow control in a data storage system
CN101650591A (en) Power supply management method
CN118760351A (en) Data transmission method, microcontroller, communication system and readable storage medium
CN116880658B (en) Low-power consumption PCIe (peripheral component interconnect express) repeater chip and design method thereof
CN111813179A (en) Analog-to-digital converter control method and control chip
WO2012167520A1 (en) Automatic control method and system for power consumption
CN102023946B (en) Interface method of USB 1.1 bus and high-speed intelligent unified bus
CN119697738A (en) Chip and control method thereof, and electronic device
CN118012255A (en) Power consumption control method of IO device, IO device and computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CI01 Publication of corrected invention patent application

Correction item: Priority

Correct: [32] 20080118[33] US[31] 12/016272

Number: 07

Volume: 26

CI02 Correction of invention patent application

Correction item: Priority

Correct: [32] 20080118[33] US[31] 12/016272

Number: 07

Page: The title page

Volume: 26

ERR Gazette correction

Free format text: CORRECT: PRIORITY; FROM: NONE TO: 2 0080118; 3 S; 1 2/016,272

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100217