[go: up one dir, main page]

CN100492224C - Power management method for electronic equipment - Google Patents

Power management method for electronic equipment Download PDF

Info

Publication number
CN100492224C
CN100492224C CNB200510026730XA CN200510026730A CN100492224C CN 100492224 C CN100492224 C CN 100492224C CN B200510026730X A CNB200510026730X A CN B200510026730XA CN 200510026730 A CN200510026730 A CN 200510026730A CN 100492224 C CN100492224 C CN 100492224C
Authority
CN
China
Prior art keywords
equipment
user
fuzzy
time
value
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.)
Expired - Fee Related
Application number
CNB200510026730XA
Other languages
Chinese (zh)
Other versions
CN1696847A (en
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CNB200510026730XA priority Critical patent/CN100492224C/en
Publication of CN1696847A publication Critical patent/CN1696847A/en
Application granted granted Critical
Publication of CN100492224C publication Critical patent/CN100492224C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A power management method of electronic appliance includes using Bayes estimation network to predict user's operation state, using operation system obtain percentage number of cell power, inputting operation state probability number and cell power percentage number into fuzzy controller for calculating out wait close time of each electronic appliance, accumulating user's continuous unresponse time and cutting power off for saving energy if said unresponse time is over the waiting close time calculated out by fuzzy controller.

Description

电子设备的电源管理方法 Power management method for electronic equipment

技术领域 technical field

本发明涉及一种电子设备的电源管理方法,更具体的说是涉及一种用于节能的电子设备电源管理方法。The present invention relates to a power management method of electronic equipment, more specifically to a power management method of electronic equipment for energy saving.

背景技术 Background technique

电源节能管理是电子设备进行节能控制的一种有效手段。现有的电子设备电源管理仅依据用户设定各个用电设备等待关闭时间值来制定电源管理方案,以达到节能省电的目的。实际使用中,由用户根据电源模式预设选项进行设定,如用户在电源模式中选择便携式电脑、等待15分钟进入省电状态等等。现有的电子设备电源管理方法节能效果并不明显,存在如下的不足:一、现有的电源管理方法是凭用户设定各个用电设备等待关闭时间值来制定电源管理方案,而没有考虑用户使用设备的工作状态过程中的实际情况。二、电源管理方法机械、单一,不能适应用户变化着的工作状态。三、用户在使用过程中通常不会关心电源管理的运作,无法根据需要及时调整电源方案,使初始设定的多种电源管理模式不能发挥其作用,达不到节能的效果。四、若用户所设定的时间较长,那么在用户使用设备频率较低的情况下,设备空闲等待时间过长,造成无谓的电能浪费。五、若用户所设定的时间较短,当用户处于一个较高的设备使用频率中时,设备被频繁的重复启动,增加了电能的消耗,也容易引起设备的损坏。Energy-saving management of power supply is an effective means for energy-saving control of electronic equipment. Existing electronic equipment power management only formulates power management schemes based on user-set waiting time values for each electrical equipment, so as to achieve the purpose of energy saving. In actual use, it is up to the user to set according to the power mode preset options, for example, the user selects a laptop computer in the power mode, waits for 15 minutes to enter the power saving state, and so on. The energy-saving effect of the existing electronic equipment power management method is not obvious, and there are the following deficiencies: 1. The existing power management method is to formulate a power management plan based on the user's setting of the waiting time value for each electric device, without considering the user The actual situation during the working state of the equipment. 2. The power management method is mechanical and single, and cannot adapt to the changing working state of the user. 3. Users usually do not care about the operation of power management during use, and cannot adjust the power scheme in time according to needs, so that the various power management modes initially set cannot play their role, and the effect of energy saving cannot be achieved. 4. If the time set by the user is longer, then when the frequency of use of the device by the user is low, the idle waiting time of the device is too long, resulting in unnecessary waste of electric energy. 5. If the time set by the user is short, when the user is in a high frequency of equipment use, the equipment will be restarted frequently, which will increase the consumption of electric energy and easily cause damage to the equipment.

发明内容 Contents of the invention

本发明所要解决的技术问题是提供一种新型的电子设备电源管理方法,采用智能技术中的动态贝叶斯网络概率推理技术和模糊控制技术,由系统结合用户当前的工作状态和当前设备的电池电量,预测并自动地根据用户所设定的时间范围调整设备的等待关闭时间,尽可能减少用户在不经意间所造成的电能浪费,从而达到节能,和电池条件下延长电子设备工作时间的目的。The technical problem to be solved by the present invention is to provide a new type of electronic equipment power management method, which adopts the dynamic Bayesian network probabilistic reasoning technology and fuzzy control technology in the intelligent technology, and combines the current working state of the user and the battery of the current equipment by the system. Power, predict and automatically adjust the waiting time of the device according to the time range set by the user, and minimize the waste of electric energy caused by the user inadvertently, so as to achieve the purpose of saving energy and extending the working time of electronic devices under battery conditions.

本发明采用的技术方案:一种电子设备的电源管理方法,包括下列步骤:The technical solution adopted in the present invention: a power management method for electronic equipment, comprising the following steps:

第一步,运用动态贝叶斯网络概率推理技术推测用户使用设备的工作状态,总算式为:The first step is to use the dynamic Bayesian network probabilistic reasoning technology to infer the working status of the user's equipment. The final calculation formula is:

P ( W t | r 1 : t ) = αP ( r t | W t ) Σ w t - 1 P ( W t | w t - 1 ) P ( w t - 1 | r 1 : t - 1 )      (算式1) P ( W t | r 1 : t ) = αP ( r t | W t ) Σ w t - 1 P ( W t | w t - 1 ) P ( w t - 1 | r 1 : t - 1 ) (Equation 1)

所述P(Wt|r1:r)为所要计算的反映当前时刻用户使用设备的工作状态的概率数值、所述P(rt|Wt)为传感器数学计算模型、所述P(Wt|wt-1)为转移数学计算模型、所述P(wt-1|r1:t-1)为前一时刻的用户使用设备的工作状态概率数值、所述α为将转移数学计算模型、传感器数学计算模型和前一时刻的用户使用设备的工作状态概率数值计算所得的结果折算到0-1范围内的归一化常数、所述1:t表示从1到t的整数序列,包含1和t,S型曲线函数算式为:The P(W t |r 1:r ) is the probability value to be calculated to reflect the working state of the device used by the user at the current moment, the P(r t |W t ) is the mathematical calculation model of the sensor, and the P(W t |w t-1 ) is the transfer mathematical calculation model, the P(w t-1 |r 1: t-1 ) is the probability value of the working state of the device used by the user at the previous moment, and the α is the transfer mathematical calculation model. Calculation model, sensor mathematical calculation model and the results obtained from the calculation of the probability value of the user's working state of the device at the previous moment are converted to a normalization constant in the range of 0-1, and the 1:t represents an integer sequence from 1 to t , including 1 and t, the formula of the S-curve function is:

f ( t ) = b - a 1 + e - ln ( b - a - ρ ρ ) * ( t - μ ) / μ + a               (算式2) f ( t ) = b - a 1 + e - ln ( b - a - ρ ρ ) * ( t - μ ) / μ + a (Equation 2)

S型曲线函数的变量为t、曲线下限为a、曲线上限为b、中心值为μ、误差为ρ,转移数学计算模型和传感器数学计算模型的数值在一定的范围内调节以拟合用户使用设备的工作状态;The variable of the S-shaped curve function is t, the lower limit of the curve is a, the upper limit of the curve is b, the center value is μ, and the error is ρ. The values of the transfer mathematical calculation model and the sensor mathematical calculation model are adjusted within a certain range to fit the user's use The working status of the equipment;

第二步,调用电子设备操作系统底层函数,监测设备的电池电量百分比数值;The second step is to call the underlying function of the operating system of the electronic device to monitor the battery power percentage value of the device;

第三步,运用模糊控制将步骤一、二获得的用户使用设备的工作状态和设备的电池电量百分比数值相结合制定设备的等待关闭时间,所述模糊控制由模糊器数学计算模型,模糊推理机数学计算模型,模糊规则库和解模糊器数学计算模型四部分所构成:所述模糊器数学计算模型采用四边形模糊器来构造隶属度函数μ(x)来计算两个语言变量,即用户使用设备的工作状态的概率数值和设备的电池电量百分比数值的模糊值,所述模糊推理机数学计算模型中模糊推理机使用乘积推理机作为计算方式,首先建立所述模糊规则库,其规则形式为:If S=s1 and B=b1 Then W=w1,If部分称为规则的前件,Then部分称为后件,S,B,W都是模糊量,模糊规则库中的规则数量取决于所述两个语言变量所分别对应的语言值数量的乘积,然后将用户使用设备的工作状态的概率数值和设备的电池电量百分比数值的模糊值依据构造的模糊规则库对应求出相应的关于设备等待关闭时间的模糊值,所述解模糊器计算模型采用中心平均解模糊的计算方法在所构造的论域范围内将多个模糊值加权平均,求出其唯一的一个设备等待关闭时间值,加权平均算式为:The third step is to use fuzzy control to combine the working status of the user's equipment obtained in steps 1 and 2 and the battery power percentage value of the equipment to formulate the waiting time for closing the equipment. The fuzzy control is composed of a fuzzy mathematical calculation model and a fuzzy inference engine The mathematical calculation model consists of four parts: the fuzzy rule library and the mathematical calculation model of the defuzzer: the mathematical calculation model of the fuzzer uses a quadrilateral fuzzer to construct a membership function μ(x) to calculate two language variables, that is, the The probability value of the working state and the fuzzy value of the battery power percentage value of the device. In the mathematical calculation model of the fuzzy inference machine, the fuzzy inference machine uses the product inference machine as a calculation method. First, the fuzzy rule base is established, and its rule form is: If S=s1 and B=b1 Then W=w1, the If part is called the antecedent of the rule, and the Then part is called the latter, S, B, W are all fuzzy quantities, and the number of rules in the fuzzy rule base depends on the two The product of the number of language values corresponding to each language variable, and then use the probability value of the user's working state of the device and the fuzzy value of the battery power percentage value of the device to obtain the corresponding waiting time for the device to be turned off according to the fuzzy rule base constructed. The fuzzy value of the fuzzy value, the calculation model of the defuzzifier adopts the calculation method of the center average defuzzification to weight the multiple fuzzy values within the scope of the domain constructed, and obtain the only value of the waiting time for the device to be closed, and the weighted average formula for:

y = Σ l = 1 M y l ‾ w l Σ l = 1 M w l               (算式3) the y = Σ l = 1 m the y l ‾ w l Σ l = 1 m w l (Equation 3)

加权平均算式中,yl为第L个模糊集的中心值,wt为设备等待关闭时间值所对应的一个模糊值;In the weighted average formula, y l is the central value of the L fuzzy set, and w t is a fuzzy value corresponding to the equipment waiting time value for closing;

第四步,电源管理的执行:每经过一个转移时间间隔所设定的时间,就重复第一步和第二步并根据用户使用设备的工作状态刷新前一时刻所保存的各个设备等待关闭时间数据,将当前时刻计算所得的数据作为新的判断标准,与此同时统计用户最后一次响应设备至今的时间,即未响应时间,当未响应时间超过了系统所求得的设备等待关闭时间时,则启动对于该设备的节能管理,通过电路关闭该设备的电源实施节能,直至用户再次响应电子设备,通过电路打开设备电源,恢复到用户使用设备的工作状态。The fourth step is the execution of power management: after the time set by a transfer time interval, repeat the first and second steps and refresh the waiting time of each device saved at the previous moment according to the working status of the device used by the user Data, the data calculated at the current moment is used as the new judgment standard, and at the same time, the time since the user's last response to the device is counted, that is, the non-response time. When the non-response time exceeds the waiting time for the device to be closed, the Then start the energy saving management for the device, turn off the power of the device through the circuit to implement energy saving, until the user responds to the electronic device again, turn on the power of the device through the circuit, and return to the working state of the device used by the user.

本发明的有益效果:本发明运用智能技术中的动态贝叶斯网络的概率推理技术和模糊控制技术结合用户当前对于设备的工作状态和当前设备的电池电量,预测并自动地调整各设备的等待关闭时间。本发明参考当前电量情况,当设备处于持续使用状态时,适时地延长设备的等待时间;当用户工作频率较低时就自动缩短挂起时间。这样,即消除了在使用频率较低时设备等待关闭时间过长而造成浪费电能的现象,节约了设备电能,又解决了在过短的时间设定情况下,可能导致设备被多次启动的问题,提高了设备的使用寿命。本发明能够在现代化的电子设备的电源管理中被广泛应用,尤其是针对便携式计算机的电池电源管理应用本发明可以大大提高设备的节能程度和使用性能。具体的说,在高工作状态和高电量下,本发明始终将电源方案设置在一个较高的等待挂起时间内,偶尔的空闲间隔并不会影响系统判断用户仍在工作,不会出现高频率地关闭和开启用电设备的现象,达到了较好的使用性能;在高工作状态和较低的电量水平下,相比前一种情况,本发明所配置的等待挂起时间就较为适中,这是因为电池电量的因素成为了本发明评价的一个重要指标,以尽可能地将时间缩短,从而节约电能。与此相对应的是,在较低工作状态和高电量下,本发明在多数时间将电源方案配置在一个中等偏下的时间范围内,即等待挂起时间较短,这样,就做到了在空闲状态下避免不必要的电能浪费,起到电源管理的功效;和第二种情况相似,当本发明探测到低工作状态和低电量时,系统自然而然的会将设备等待挂起时间缩短到最短,使电能的浪费程度降低到最低,以延长电池的使用时间。可以看出,通过本发明的电子设备电源自动管理,将电源节能控制适应于用户的工作变化情况和设备的电池电量,兼顾了设备节能和使用性能。Beneficial effects of the present invention: the present invention uses the probabilistic reasoning technology and fuzzy control technology of the dynamic Bayesian network in the intelligent technology to predict and automatically adjust the waiting time of each device in combination with the user's current working status of the device and the battery power of the current device. Closing time. The present invention refers to the current power condition, and when the device is in continuous use, prolongs the waiting time of the device in a timely manner; when the user's working frequency is low, the suspension time is automatically shortened. In this way, it eliminates the phenomenon of wasting power caused by the device waiting for too long to shut down when the frequency of use is low, saves the power of the device, and solves the problem that the device may be started multiple times when the time setting is too short problems and increase the service life of the equipment. The present invention can be widely used in the power management of modern electronic equipment, especially for the battery power management of portable computers, the present invention can greatly improve the energy saving degree and performance of the equipment. Specifically, in the high working state and high power, the present invention always sets the power scheme at a higher waiting and suspending time, and the occasional idle interval will not affect the system to judge that the user is still working, and there will be no high The phenomenon of frequently turning off and turning on electrical equipment achieves better performance; under high working conditions and lower power levels, compared with the previous situation, the waiting and suspending time configured by the present invention is more moderate , this is because the battery power factor has become an important indicator of the present invention's evaluation, so as to shorten the time as much as possible, thereby saving electric energy. Correspondingly, in a low working state and high power, the present invention configures the power supply scheme in a middle-lower time range most of the time, that is, the waiting and suspending time is shorter. Avoid unnecessary waste of electric energy in the idle state, and play the effect of power management; similar to the second case, when the present invention detects a low working state and low battery, the system will naturally shorten the waiting time of the device to the minimum , so that the waste of electric energy is reduced to a minimum to extend the battery life. It can be seen that through the automatic power supply management of electronic equipment in the present invention, the power supply energy saving control is adapted to the user's work changes and the battery power of the equipment, taking into account both equipment energy saving and performance.

附图说明 Description of drawings

图1是转移数学计算模型数值变化范围所对应的S型函数曲线图;Fig. 1 is the sigmoid function curve diagram corresponding to the numerical variation range of the transfer mathematical calculation model;

图2是传感器数学计算模型数值变化范围所对应的S型函数曲线图;Fig. 2 is the S-type function curve diagram corresponding to the numerical variation range of the sensor mathematical calculation model;

图3是所述模糊器中用户使用设备的工作状态概率数值所对应的各语言值范围折线图(隶属度函数图);Fig. 3 is the line graph (membership degree function graph) of each language value range corresponding to the working status probability value of the user's equipment in the described fuzzer;

图4是所述模糊器中电池电量百分比数值所对应的各语言值范围折线图(隶属度函数图);Fig. 4 is the line diagram (membership function diagram) of each language value range corresponding to the percentage value of battery power in the fuzzer;

图5是所述解模糊器中设备等待关闭时间(短)所对应的各语言值范围折线图(隶属度函数图);Fig. 5 is a line diagram (membership function diagram) corresponding to each language value range corresponding to the device waiting for closing time (short) in the defuzzifier;

图6是所述解模糊器中设备等待关闭时间(较短)所对应的各语言值范围折线图(隶属度函数图);Fig. 6 is a line diagram (membership function diagram) corresponding to each language value range corresponding to the device waiting for closing time (shorter) in the defuzzifier;

图7是所述解模糊器中设备等待关闭时间(一般)所对应的各语言值范围折线图(隶属度函数图);Fig. 7 is the broken line diagram (membership function diagram) corresponding to each language value range corresponding to the device waiting shutdown time (general) in the defuzzifier;

图8是所述解模糊器中设备等待关闭时间(较长)所对应的各语言值范围折线图(隶属度函数图);Fig. 8 is a broken line diagram (membership degree function diagram) corresponding to each language value range corresponding to the device waiting for closing time (longer) in the defuzzifier;

图9是所述解模糊器中设备等待关闭时间(长)所对应的各语言值范围折线图(隶属度函数图);Fig. 9 is a broken line diagram (membership degree function diagram) corresponding to each language value range corresponding to the device waiting for closing time (long) in the defuzzifier;

图10是本发明流程图;Fig. 10 is a flowchart of the present invention;

图11是动态贝叶斯网络概率推理结构图;Fig. 11 is a structural diagram of dynamic Bayesian network probabilistic reasoning;

图12模糊控制过程图。Figure 12 Fuzzy control process diagram.

图13是基于本发明的电源管理软件的工作界面图一;Fig. 13 is a work interface diagram 1 based on the power management software of the present invention;

图14是基于本发明的电源管理软件的工作界面图二。Fig. 14 is the working interface drawing 2 of the power management software based on the present invention.

具体实施方式 Detailed ways

下面通过附图对本发明进一步详细描述:Below by accompanying drawing the present invention is described in further detail:

第一步,运用动态贝叶斯网络的概率推理技术来推测用户使用设备的工作状态。The first step is to use the probabilistic reasoning technology of the dynamic Bayesian network to infer the working status of the user's equipment.

(1)用户使用状态的推测方法(1) Estimation method of user usage status

动态贝叶斯网络的概率推理就是利用用户在过去一阶段的活动情况(即用户对于电子设备的响应),动态地预测用户当前处于工作状态的可能性程度,并用概率数值表示,由转移数学计算模型,传感器数学计算模型和转移时间间隔值组成整个计算过程。The probabilistic reasoning of the dynamic Bayesian network is to use the user's activities in the past stage (that is, the user's response to the electronic device) to dynamically predict the possibility of the user's current working state, and express it with a probability value, which is calculated by the transfer mathematics Model, sensor mathematical calculation model and transfer time interval value constitute the whole calculation process.

计算公式:Calculation formula:

P ( W t | r 1 : t ) = αP ( r t | W t ) Σ w t - 1 P ( W t | w t - 1 ) P ( w t - 1 | r 1 : t - 1 )        (式1) P ( W t | r 1 : t ) = αP ( r t | W t ) Σ w t - 1 P ( W t | w t - 1 ) P ( w t - 1 | r 1 : t - 1 ) (Formula 1)

(式1)中P(Wt|r1:t)为所要计算的反映当前时刻用户使用设备的工作状态的概率数值;P(rt|Wt)为传感器数学计算模型;P(Wt|wt-1)为转移数学计算模型;P(wt-1|r1:t-1)为前一时刻的用户使用设备的工作状态概率数值。α为归一化常数,即将转移数学计算模型、传感器数学计算模型和前一时刻的用户使用设备的工作状态概率数值计算所得的结果折算到0-1范围内的概率数值;1:t表示从1到t的整数序列,包含1和t,即从第一次计算至今的所有数列。(式1)为转移数学计算模型,传感器数学计算模型和前一时刻计算结果的条件概率分布所共同组成的一个递归计算过程,系统每间隔相同的转移时间间隔计算一次用户的使用状态,并将这个计算结果作为下一次计算的一个计算因子,这样就能利用(式1)形成一个实时的、检测并计算用户使用状态的概率推理过程。In (Formula 1), P(W t |r 1:t ) is the probability value to be calculated to reflect the working state of the device used by the user at the current moment; P(r t |W t ) is the mathematical calculation model of the sensor; P(W t |w t-1 ) is the transition mathematical calculation model; P(w t-1 |r 1: t-1 ) is the probability value of the working state of the user's equipment at the previous moment. α is a normalization constant, which converts the results obtained from the calculation of the transfer mathematical calculation model, the sensor mathematical calculation model, and the probability value of the working state of the device used by the user at the previous moment to a probability value in the range of 0-1; 1: t means from An integer sequence from 1 to t, including 1 and t, that is, all sequences from the first calculation to the present. (Formula 1) is a recursive calculation process composed of the transfer mathematical calculation model, the sensor mathematical calculation model and the conditional probability distribution of the calculation results at the previous moment. The system calculates the user's usage status at the same transfer time interval, and This calculation result is used as a calculation factor for the next calculation, so that (Formula 1) can be used to form a real-time probabilistic reasoning process that detects and calculates the user's usage status.

(2)转移数学计算模型、传感器数学计算模型、转移时间间隔值的确定。(2) Determination of transfer mathematical calculation model, sensor mathematical calculation model and transfer time interval value.

(式1)中的转移数学计算模型和传感器数学计算模型是两个关键的数据项,会直接影响着最终的推理结果。因此,根据模型所在环境的实际情况来构造这两个模型,将有助于概率推理更符合实际情况,达到能反映真实使用状态的预测效果。在本发明中,采用了一种S型曲线数学模型,根据计算的要求经过变形来构造一个关于时间t的S型函数曲线作为一个软阀值,见(式2),使得转移数学计算模型和传感器数学计算模型的数值能在一定的范围内调节,以拟合用户在使用设备时的情况。The transfer mathematical calculation model and the sensor mathematical calculation model in (Formula 1) are two key data items, which will directly affect the final reasoning result. Therefore, constructing these two models according to the actual situation of the environment in which the model is located will help the probabilistic reasoning to be more in line with the actual situation and achieve a prediction effect that can reflect the real usage state. In the present invention, adopt a kind of S-type curve mathematical model, construct a S-type function curve about time t as a soft threshold value through deformation according to the requirement of calculation, see (formula 2), make transfer mathematical calculation model and The value of the sensor mathematical calculation model can be adjusted within a certain range to fit the user's situation when using the device.

f ( t ) = b - a 1 + e - ln ( b - a - ρ ρ ) * ( t - μ ) / μ + a        (式2) f ( t ) = b - a 1 + e - ln ( b - a - ρ ρ ) * ( t - μ ) / μ + a (Formula 2)

S型函数:变量t;曲线下限a;曲线上限b;中心值μ;误差ρSigmoid function: variable t; curve lower limit a; curve upper limit b; central value μ; error ρ

1).转移数学计算模型:1). Transfer mathematical calculation model:

转移数学计算模型是描述用户使用设备的工作状态如何随时间演化的规律,即用户在前一个状态是否工作的情况下,当前状态存在工作的可能性。如果前一状态用户响应了设备,那么当前时刻用户会继续响应以表明在工作的可能性就比较高,反之亦然。随着工作时间的演化,系统会逐步认为用户在较长时间使用的情况下,再继续维持这个状态的可能性会有所降低,即较高的概率数值会有所降低。相反,在较长时间不使用的情况下,以后使用设备的概率会渐渐地提高,即较低的概率数值会有所提高,见表1。The transfer mathematical calculation model is a law that describes how the working state of the user's equipment evolves over time, that is, when the user is working in the previous state, there is a possibility of working in the current state. If the user responded to the device in the previous state, there is a higher probability that the user will continue to respond to indicate work at the current moment, and vice versa. As the working time evolves, the system will gradually think that the possibility of the user continuing to maintain this state will decrease when the user uses it for a long time, that is, the higher probability value will decrease. On the contrary, in the case of not using it for a long time, the probability of using the device in the future will gradually increase, that is, the lower probability value will increase, see Table 1.

表1.转移数学计算模型数值变化表Table 1. Numerical change table of the transfer mathematical calculation model

  W<sub>t-1</sub> P(W<sub>t</sub>=t) P(W<sub>t</sub>=f) t 0.9-0.7 0.1-0.3 f 0.1-0.3 0.9-0.7 W<sub>t-1</sub> P(W<sub>t</sub>=t) P(W<sub>t</sub>=f) t 0.9-0.7 0.1-0.3 f 0.1-0.3 0.9-0.7

整个过程可以用一个S型曲线表示数值变化的情况,见图1。每次执行关闭设备电源后,转移模型数值将被恢复,以表明用户这一阶段工作的结束,进入了一个休息的时间段。有了这样一个关于使用总时间的函数因子的作用下,对于预测用户的使用状态会较为精确。The whole process can be represented by an S-shaped curve, as shown in Figure 1. After each execution of turning off the power of the device, the value of the transfer model will be restored to indicate the end of the user's work at this stage and enter a period of rest. With such a functional factor about the total time of use, it is more accurate to predict the user's use status.

2)传感器数学计算模型:2) Sensor mathematical calculation model:

传感器数学计算模型是描述用户响应设备的情况如何受到用户使用设备的工作状态的影响,即用户对于设备的响应可以视为用户使用设备的工作状态的一种表现。当系统检测到用户持续的一种响应状态(用户一直在响应设备或用户一直没有响应设备)变为另一种状态时,系统对于该变化所获得的传感器模型数值的置信度是较低的,随着这个状态的延续,即相同的状态持续几次出现,则系统会逐步提升这种信度,认为传感器模型所得到的值是较正确的,所以相应的概率也会渐渐提升,见表2。The sensor mathematical calculation model describes how the user's response to the device is affected by the user's working state of the device, that is, the user's response to the device can be regarded as a performance of the user's working state of the device. When the system detects that the user's continuous response state (the user has been responding to the device or the user has not responded to the device) changes to another state, the system's confidence in the value of the sensor model obtained by the change is low. With the continuation of this state, that is, the same state continues to appear several times, the system will gradually increase the reliability, thinking that the value obtained by the sensor model is relatively correct, so the corresponding probability will gradually increase, see Table 2 .

表2.传感器数学计算模型数值变化Table 2. Numerical changes of the sensor mathematical calculation model

  W<sub>t</sub> P(R<sub>t</sub>=t) P(R<sub>t</sub>=f) t 0.6-0.9 0.4-0.1 f 0.4-0.1 0.6-0.9 W<sub>t</sub> P(R<sub>t</sub>=t) P(R<sub>t</sub>=f) t 0.6-0.9 0.4-0.1 f 0.4-0.1 0.6-0.9

整个过程也用一个S型曲线表示数值变化情况,见图2。这样做可以更好的符合用户真实的使用情况,排除一些偶然的因素所带来的干扰,提高对于用户使用设备的工作状态预测的准确率。The whole process also uses an S-shaped curve to represent the numerical change, as shown in Figure 2. Doing so can better conform to the real usage situation of the user, eliminate the interference caused by some accidental factors, and improve the accuracy of predicting the working status of the device used by the user.

3)转移时间间隔值3) Transfer time interval value

转移时间间隔值是表示系统每两次对于用户使用设备的工作状态进行判断之间的时间间隔,由于各电子设备使用特性的不同,所取值也可以不同,一般在一个较短的时间内。The transfer time interval value means the time interval between the system's two judgments on the working status of the user's equipment. Due to the different characteristics of each electronic equipment, the value can also be different, generally within a short period of time.

第二步,调用电子设备操作系统底层函数,监测设备的电池电量百分比数值;The second step is to call the underlying function of the operating system of the electronic device to monitor the battery power percentage value of the device;

第三步,运用模糊控制技术将用户使用设备的工作状态和设备电池电量信息结合,制定出设备的等待关闭时间。模糊控制是一种基于规则的控制系统,用于处理用户使用状态、设备电池电量与设备等待关闭时间之间非线性的关系。模糊控制由模糊器数学计算模型,模糊推理机数学计算模型,模糊规则库和解模糊器数学计算模型四部分所构成。由于系统是结合用户使用状态和设备电池电量来计算决定设备的等待关闭时间值,所以对于用户使用状态的概率数值和设备电池电量的百分比都需要进行模糊计算才能得出相应的设备等待关闭时间。The third step is to use fuzzy control technology to combine the working status of the user's equipment with the battery power information of the equipment to formulate the waiting time for the equipment to be turned off. Fuzzy control is a rule-based control system used to deal with the nonlinear relationship between user usage status, device battery power and device waiting time to turn off. Fuzzy control is composed of four parts: fuzzer mathematical calculation model, fuzzy inference machine mathematical calculation model, fuzzy rule library and defuzzifier mathematical calculation model. Since the system calculates and determines the waiting time value of the device by combining the user's usage status and the device's battery power, fuzzy calculations are required for the probability value of the user's usage status and the percentage of the device's battery power to obtain the corresponding device waiting time for shutdown.

1)模糊器的计算:1) Calculation of the fuzzer:

模糊器系统采用四边形模糊器来构造隶属度函数μ(x),其优点是四边形模糊器能够克服输入变量中包含的噪声,同时也能简化计算过程,见图3、图4,用户使用状态概率数值所对应的模糊语言变量,共有7个语言值,由这7个语言值构成一组四边形隶属度函数,模糊语言变量和语言值的数值范围,称为论域。同样,电池电量百分比数值也对应着5个语言值。模糊器的整个计算过程就是将用户使用状态的概率数值和设备的电池电量百分比数值,分别对应于所构造的语言变量中各个语言值的隶属程度,即根据输入变量的隶属度函数,求出精确的输入值对应于输入变量各语言值的隶属度,则整个模糊计算中模糊化的过程也就完成了,两个语言变量(用户使用状态的概率数值和设备的电池电量百分比数值)的模糊值被模糊器求出。The fuzzer system uses a quadrilateral fuzzer to construct the membership function μ(x). The advantage is that the quadrilateral fuzzer can overcome the noise contained in the input variables, and it can also simplify the calculation process. See Figure 3 and Figure 4. The user uses the state probability The fuzzy linguistic variables corresponding to the values have 7 linguistic values in total, and these 7 linguistic values constitute a set of quadrilateral membership functions. The numerical range of fuzzy linguistic variables and linguistic values is called the domain of discourse. Similarly, the battery percentage value also corresponds to 5 language values. The entire calculation process of the fuzzer is to use the probability value of the user's use state and the battery power percentage value of the device to correspond to the degree of membership of each language value in the constructed language variable, that is, according to the membership function of the input variable, find the exact The input value of the input value corresponds to the membership degree of each language value of the input variable, and the fuzzification process in the entire fuzzy calculation is completed. is obtained by the fuzzer.

2)模糊推理机的计算:2) Calculation of fuzzy inference engine:

首先要根据实际情况,凭借专家的经验和知识建立起模糊规则库。它是模糊计算的核心,其一条规则的形式为:If S=s1 and B=b1 Then W=w1其中If部分称为规则的前件,Then部分称为后件,S,B,W都是模糊量。规则库中的规则数量取决于各输入变量所含语言值的数量,即用户使用状态概率数值和设备电池电量百分比数值所分别对应的语言变量中语言值数量的乘积,见表3。First of all, according to the actual situation, rely on the experience and knowledge of experts to establish a fuzzy rule base. It is the core of fuzzy calculation, and the form of a rule is: If S=s1 and B=b1 Then W=w1, where the If part is called the antecedent of the rule, and the Then part is called the latter, and S, B, and W are all Amount of blur. The number of rules in the rule base depends on the number of language values contained in each input variable, that is, the product of the number of language values in the language variables corresponding to the user's use state probability value and the device battery power percentage value, see Table 3.

表3.模糊规则库Table 3. Fuzzy rule base

Figure C200510026730D00121
Figure C200510026730D00121

然后,将前一步所求得的用户使用状态的概率数值和设备的电池电量百分比数值的模糊值,依据构造的模糊规则库对应求出相应的关于设备等待关闭时间的模糊值。模糊推理机使用乘积推理机作为计算方式,即分别将每条规则的两个前件部分的模糊值相乘,所得的数值作为规则库中各条规则的强度,再将具有相同后件的规则取其强度的最大值作为该种后件的模糊值。这样,根据有效规则中后件数的不同,即输出语言变量的语言值的不同,模糊推理机将输出关于设备等待关闭时间的多个模糊值,完成通过模糊规则库来反映的用户使用设备的工作状态概率数值与设备电池电量数值和设备等待关闭时间的对应关系。Then, the probability value of the user's use state obtained in the previous step and the fuzzy value of the battery power percentage value of the device are used to obtain the corresponding fuzzy value of the waiting time for the device to be turned off according to the constructed fuzzy rule base. The fuzzy inference machine uses the product inference machine as the calculation method, that is, the fuzzy values of the two antecedents of each rule are multiplied, and the resulting value is used as the strength of each rule in the rule base, and then the rules with the same consequent Take the maximum value of its intensity as the fuzzy value of this kind of consequent. In this way, according to the difference in the number of successors in the effective rules, that is, the difference in the language value of the output language variable, the fuzzy inference engine will output multiple fuzzy values about the waiting time for the device to be turned off, and complete the work of the user using the device reflected by the fuzzy rule base The corresponding relationship between the state probability value and the battery power value of the device and the waiting time for the device to be turned off.

3)解模糊器的计算:3) Calculation of the defuzzifier:

解模糊计算采用中心平均解模糊的计算方法。由于在模糊推理机中所获得的关于设备等待关闭时间的模糊输出值有多个模糊值,因此需利用中心平均解模糊,在所构造的论域范围内将多个模糊值加权平均,求出其唯一的一个设备等待关闭时间值,见图5、图6、图7、图8、图9,设备等待关闭时间所对应的各语言值范围(隶属度函数),共5种设备等待关闭时间范围,短、较短、一般、较长、长。The defuzzification calculation adopts the calculation method of center average defuzzification. Since there are multiple fuzzy values in the fuzzy output value about the waiting time of the equipment in the fuzzy reasoning machine, it is necessary to use the center average to defuzzify, and to weight the average of multiple fuzzy values within the constructed universe to obtain Its only one device wait time value, see Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, the range of each language value corresponding to the device wait time (membership function), a total of 5 kinds of device wait time Range, Short, Shorter, Normal, Longer, Long.

加权平均公式为:The weighted average formula is:

y = &Sigma; l = 1 M y l &OverBar; w l &Sigma; l = 1 M w l      (式3) the y = &Sigma; l = 1 m the y l &OverBar; w l &Sigma; l = 1 m w l (Formula 3)

(式3)中,yl为第L个模糊集的中心值,wt为设备等待关闭时间值所对应的一个模糊值。通过解模糊器计算求出根据用户使用状态的概率数值和设备的电池电量百分比数值所对应设备等待关闭时间值之后,整个模糊计算过程也就完成,即电子设备的电源管理方案就能被自动地制定出来。In (Formula 3), y l is the central value of the L fuzzy set, and w t is a fuzzy value corresponding to the waiting time value of the device. After calculating the probability value based on the user's usage status and the battery power percentage value of the device through the defuzzifier to calculate the waiting time value of the device, the entire fuzzy calculation process is completed, that is, the power management scheme of the electronic device can be automatically determined. work out.

第四步,电源管理的执行:系统每经过一个转移时间间隔所设定的时间,就重复第一、第二、第三步的预测用户使用设备的工作状态和在所设定的等待关闭时间范围内制定设备等待关闭时间的过程,根据用户的响应情况刷新前一时刻所保存的各个设备等待关闭时间数据,将当前时刻计算所得的数据作为新的判断标准。当用户在转移时间间隔所设定的时间内响应了设备,系统中所保存的设备等待关闭时间就会被不断更新,以符合用户当前状态所对应的电源管理方案。若用户在该时间内没有响应设备,则系统中所保存的设备等待关闭时间就不会被替换,现有的数据即为用户最后一次响应时的状态所对应的电源管理方案,是用于判断用户持续未响应时间是否超过设备等待关闭时间的依据。与此同时,系统统计用户最后一次响应设备至今的时间,即未响应时间。当所持续的未响应时间超过了系统所求得的设备等待关闭时间时,则启动对于该设备的节能管理,通过电路关闭该设备的电源,实施节能。直至用户再次响应电子设备,唤醒设备,通过电路打开设备电源,恢复工作状态。The fourth step is the execution of power management: the system repeats the first, second, and third steps of predicting the working status of the user's equipment and waiting for the set waiting time to be turned off every time the system passes through the time set by the transfer time interval. The process of formulating the waiting time for the device to be closed within the scope, refresh the data of the waiting time for each device saved at the previous moment according to the user's response, and use the data calculated at the current time as the new judgment standard. When the user responds to the device within the time set by the transfer time interval, the waiting time of the device stored in the system will be continuously updated to conform to the power management scheme corresponding to the current state of the user. If the user does not respond to the device within this time, the device waiting time saved in the system will not be replaced, and the existing data is the power management scheme corresponding to the state of the user's last response, which is used to judge The basis for whether the user's continuous non-response time exceeds the device's waiting time for shutdown. At the same time, the system counts the time since the last time the user responded to the device, that is, the unresponsive time. When the continuous non-response time exceeds the waiting shutdown time of the device obtained by the system, the energy saving management for the device is started, and the power supply of the device is turned off through the circuit to implement energy saving. Until the user responds to the electronic device again, wakes up the device, turns on the power of the device through the circuit, and resumes the working state.

实施例:Example:

本发明已经能够应用于移动计算机和台式计算机的电源管理软件中。由于采用了动态贝叶斯网络概率推理技术和模糊控制技术,使得电源管理原本较单一和机械的管理模式变为了较智能化和人性化的灵活管理方式,尤其突出的是其节能程度和使用性能都比传统的电源管理要有所提高,使得如今在移动电子设备较高电池电量需求的形势中,通过电源管理的手段,在不失设备的使用性能情况下,将电源节能控制适应于用户的工作变化情况和设备的电池电量,尽可能减少用户在不经意间所造成的电能浪费,从而提高电池的供电效率,延长设备的工作时间。针对移动计算机和台式计算机的使用特定,应用本发明制作出智能化电源管理软件,通过电源管理软件来进行计算机设备的节能控制。启动电源管理软件,在转移时间间隔内(本实例设定的时间值为1分钟)由软件获得用户是否有响应设备的信息,即为用户移动鼠标或敲击键盘等输入设备,然后由软件根据传感器数学计算模型选择一个能够表示这种响应情况的计算数值作为整个预测的一个计算因子,即根据用户一种设备响应所持续的时间,利用S型曲线函数所求出对应的概率数值,见表2、图2。同时,随着用户使用设备时间的增加,软件在转移数学计算模型中也选择一个能够表示当前用户使用情况变化的数值作为整个预测的另一个计算因子,即根据用户使用设备的工作状态所持续的时间,利用S型曲线函数所求出对应的概率数值,见表1、图1。最后,软件将所确定的转移模型数值和传感器模型数值同前一时刻的概率推理值相乘,得出当前时刻用于量化预测用户使用设备的工作状态这一状态的概率值,见图11,图11是动态贝叶斯网络概率推理结构图,1.用户使用设备的工作状态随着时间的演化而变化的过程。2.转移数学计算模型,描述用户使用设备的工作状态如何随时间演化的规律。3.用户对于输入设备的响应情况。4.传感器数学计算模型,描述用户响应设备的情况如何受用户工作情况的影响。当软件通过动态贝叶斯网络的概率推理获得了当前时刻用户使用设备的工作状态的概率值之后,由软件监测移动计算机当前的电池电量,并获得相应的电池电量百分比数值。将用户使用设备的工作状态的概率值与计算机电池电量百分比数值输入到模糊计算模型中去,作为两个精确的输入量,经过模糊器计算模型(所设定的隶属度函数见图3、图4),模糊推理机计算模型(所设定的模糊规则库见表3)和解模糊器计算模型(所设定的隶属度函数和5种设备等待关闭时间范围见图5、图6、图7、图8、图9),最终得出计算机某一设备的等待关闭时间值,如显示器、硬盘等。为了提高软件的适用性,增强用户的选择余地,软件针对各种用电设备预设5种不同的设备等待关闭时间范围可供用户选择,即软件在计算过程中根据用户所选择的设备等待关闭时间范围,将模糊推理机所求出的模糊值输入到解模糊器数学计算模型,求得用户所选范围内的设备等待关闭时间,并将所得数据保存,见图12。图12是模糊控制过程图,1.由动态贝叶斯网络概率推理和侦测设备电池电量所获得的关于用户使用设备的工作状态概率数值和设备电池电量数值。2.模糊器,将所输入的精确量通过四边形函数模糊化,输出相应的模糊值作为推理机计算的数据。3.模糊推理机,采用乘积推理机计算模糊规则。4.模糊规则库,反映用户使用设备的工作状态概率数值与设备电池电量数值所相对应的设备等待关闭时间。5.解模糊器,根据四边形函数解模糊,求解出设备等待关闭时间。6.依据用户所设定的等待关闭时间范围,确定各设备的等待关闭时间,配置电源管理方案。软件统计用户最后一次响应设备至今的时间,即未响应时间。当所持续的未响应时间超过了模糊控制计算模型所求得的设备等待关闭时间时,则软件启动对于该设备的节能管理,通过电路关闭该设备的电源,实施节能。直至用户再次响应电子设备,唤醒设备,软件通过电路打开设备电源,恢复工作状态,见图10。图10是基于智能技术的电源管理软件结构图,1.使用智能技术中动态贝叶斯网络的概率推理来预测用户的工作状态。2.通过操作系统来获得关于计算机的电池电量信息。3.将所得到的用户使用设备的工作状态概率数值和计算机电池电量数值输入到模糊控制器中,经过计算得出各用电设备的等待关闭时间。4.由软件累计用户持续未响应时间,当所持续的未响应时间超过了模糊控制器所求得的设备等待关闭时间时,则软件关闭该设备电源,实施设备节能。本发明作为一个通用的电源管理方法,对系统硬件的要求较低。由于只依赖于获知用户对于设备的响应信息和设备的电池电量,即能实现动态的状态预测和电源管理,因此只需对模型中的几个关键项参数,转移时间间隔、传感器模型、转移模型、模糊量和模糊规则库,作适当修改便能应用在如掌上电脑、智能手机等其它移动电子设备中,实现该项电源管理技术的推广与应用,具有较高的商用开发利用价值。图13是基于本发明的电源管理软件的工作界面图一,图14是基于本发明的电源管理软件的工作界面图二。The invention has been applied to power management software for mobile computers and desktop computers. Due to the adoption of dynamic Bayesian network probabilistic inference technology and fuzzy control technology, the original single and mechanical management mode of power management has become a more intelligent and humanized flexible management mode, especially its energy-saving degree and performance Both are improved compared to traditional power management, so that in the current situation of high battery power requirements for mobile electronic devices, through power management methods, the power saving control is adapted to the user's needs without losing the performance of the device. Work changes and the battery power of the device can minimize the waste of power caused by the user inadvertently, thereby improving the power supply efficiency of the battery and extending the working time of the device. Aiming at the specific use of mobile computers and desktop computers, the invention is applied to produce intelligent power management software, and energy-saving control of computer equipment is carried out through the power management software. Start the power management software, and within the transfer time interval (the time value set in this example is 1 minute), the software will obtain the information of whether the user has a response device, that is, the user moves the mouse or taps the keyboard and other input devices, and then the software according to The mathematical calculation model of the sensor selects a calculation value that can represent this response situation as a calculation factor for the entire prediction, that is, according to the duration of the user's equipment response, the corresponding probability value is obtained by using the S-curve function, see Table 2. Figure 2. At the same time, as the user's use of the device increases, the software also selects a numerical value that can represent the change of the current user's usage in the transfer mathematical calculation model as another calculation factor for the entire prediction, that is, according to the continuous working state of the user's use of the device Time, using the S-shaped curve function to obtain the corresponding probability value, see Table 1 and Figure 1. Finally, the software multiplies the determined transfer model value and sensor model value with the probability reasoning value at the previous moment to obtain the probability value for quantifying and predicting the working state of the user's device at the current moment, as shown in Figure 11. Figure 11 is a structural diagram of the dynamic Bayesian network probabilistic inference, 1. The process of changing the working status of the user's equipment with the evolution of time. 2. Transfer the mathematical calculation model to describe how the working status of the user's equipment evolves over time. 3. The user's response to the input device. 4. A mathematical computational model of the sensor that describes how the user's response to the device is affected by the user's work situation. After the software obtains the probability value of the working state of the user's device at the current moment through the probabilistic reasoning of the dynamic Bayesian network, the software monitors the current battery power of the mobile computer and obtains the corresponding battery power percentage value. The probability value of the working state of the user using the device and the percentage value of the computer battery power are input into the fuzzy calculation model, as two precise input quantities, through the fuzzy device calculation model (the set membership function is shown in Fig. 3, Fig. 4), the fuzzy inference computer calculation model (see Table 3 for the set fuzzy rule base) and the defuzzifier calculation model (see Figure 5, Figure 6, and Figure 7 for the set membership function and the waiting time range of five kinds of equipment , Fig. 8, Fig. 9), and finally obtain the waiting time value of a certain device of the computer, such as a monitor, a hard disk, etc. In order to improve the applicability of the software and enhance the user's choice, the software presets 5 different equipment waiting time ranges for the user to choose from various electrical equipment, that is, the software waits to be shut down according to the equipment selected by the user during the calculation process. For the time range, input the fuzzy value obtained by the fuzzy inference engine into the mathematical calculation model of the defuzzifier, obtain the waiting time for the equipment within the range selected by the user, and save the obtained data, as shown in Figure 12. 12 is a diagram of the fuzzy control process, 1. The probability value of the working state of the device used by the user and the value of the battery power of the device obtained by the dynamic Bayesian network probabilistic reasoning and detection of the battery power of the device. 2. The fuzzer, which fuzzifies the input precise quantity through the quadrilateral function, and outputs the corresponding fuzzy value as the data calculated by the inference engine. 3. Fuzzy inference engine, using product inference engine to calculate fuzzy rules. 4. The fuzzy rule base reflects the waiting time for the device to be turned off corresponding to the probability value of the working state of the device used by the user and the value of the battery power of the device. 5. The defuzzifier, which defuzzifies according to the quadrilateral function, and calculates the waiting time for the device to be turned off. 6. According to the waiting time range set by the user, determine the waiting time of each device and configure the power management scheme. The software counts the time since the last time the user responded to the device, that is, the unresponsive time. When the continuous non-response time exceeds the waiting time for the device to be shut down obtained by the fuzzy control calculation model, the software starts the energy-saving management of the device, and the power of the device is turned off through the circuit to implement energy-saving. Until the user responds to the electronic device again and wakes up the device, the software turns on the power of the device through the circuit and resumes the working state, as shown in Figure 10. Figure 10 is a structural diagram of power management software based on intelligent technology, 1. Use the probabilistic reasoning of dynamic Bayesian network in intelligent technology to predict the user's working status. 2. Obtain information about the battery level of the computer through the operating system. 3. Input the obtained working state probability value of the equipment used by the user and the electric quantity value of the computer battery into the fuzzy controller, and calculate the waiting shutdown time of each electric equipment. 4. The software accumulates the user's continuous non-response time. When the continuous non-response time exceeds the waiting time for the device to be turned off obtained by the fuzzy controller, the software turns off the power of the device to implement energy saving for the device. As a general power management method, the present invention has lower requirements on system hardware. Since only relying on the user's response information to the device and the battery power of the device, dynamic state prediction and power management can be realized, so only a few key parameters in the model, transfer time interval, sensor model, transfer model , fuzzy quantity and fuzzy rule library can be applied in other mobile electronic devices such as handheld computers and smart phones after proper modification to realize the promotion and application of this power management technology, which has high commercial development and utilization value. FIG. 13 is the working interface diagram 1 of the power management software based on the present invention, and FIG. 14 is the working interface diagram 2 of the power management software based on the present invention.

以上所述内容仅为本发明构思下的基本说明,而依据本发明的技术方案所作的任何等效变换,均应属于本发明的保护范围。The above content is only a basic description of the concept of the present invention, and any equivalent transformation made according to the technical solution of the present invention shall fall within the scope of protection of the present invention.

Claims (1)

1. the method for managing power supply of an electronic equipment comprises the following steps:
The first step, utilization dynamic bayesian network probability inference technology infers that the user uses the duty of equipment, total formula is:
P ( W t | r 1 : t ) = &alpha;P ( r t | W t ) &Sigma; w t - 1 P ( W t | w t - 1 ) P ( w t - 1 | r 1 : t - 1 ) (formula 1)
Described P (W t| r 1:t) be that the reflection current time user that will calculate uses the probability numbers of the duty of equipment, described P (r t| W t) be sensor mathematics computing model, described P (W t| W T-1) for shifting mathematics computing model, described P (w T-1-r 1:t-1) result of the duty probability numbers calculating gained of equipment converts the normaliztion constant in the 0-1 scope, described 1:t represents from 1 to t integer sequence for the user that will shift mathematics computing model, sensor mathematics computing model and previous moment uses for the user of previous moment uses the duty probability numbers of equipment, described α, comprise 1 and t, S type curvilinear function formula is:
f ( t ) = b - a 1 + e - ln ( b - a - &rho; &rho; ) * ( t - &mu; ) / &mu; + a (formula 2)
The variable of S type curvilinear function be limited under t, the curve be limited to b on a, the curve, central value is that μ, error are ρ, shift the numerical value of mathematics computing model and sensor mathematics computing model and in certain scope, regulate the duty of using equipment with the match user;
In second step, call electronic equipment operating system bottom function, the battery electric quantity percentages of monitoring equipment;
The 3rd step, the utilization fuzzy control is with step 1, two users that obtain use the battery electric quantity percentages of the duty of equipment and equipment to combine wait shut-in time of formulation equipment, described fuzzy control is by the fuzzy device mathematics computing model, the indistinct logic computer mathematics computing model, fuzzy rule base is conciliate fuzzy device mathematics computing model four parts and constituted: described fuzzy device mathematics computing model adopts the quadrilateral fuzzy device to construct membership function μ (x) and calculates two linguistic variables, it is the fuzzy value of the battery electric quantity percentages of the probability numbers of user's duty of using equipment and equipment, indistinct logic computer uses the product inference machine as account form in the described indistinct logic computer mathematics computing model, at first set up described fuzzy rule base, its rule format is: If S=s1 and B=b1Then W=w1, If partly is called the former piece of rule, Then partly is called consequent, S, B, W is a fuzzy quantity, regular quantity in the fuzzy rule base depends on that described two linguistic variables distinguish the product of corresponding language value quantity, then the user is used the fuzzy value of the battery electric quantity percentages of the probability numbers of duty of equipment and equipment to obtain the fuzzy value of waiting for the shut-in time accordingly about equipment according to the fuzzy rule base correspondence of structure, the computing method that described ambiguity solution device computation model adopts the average ambiguity solution in center in the domain scope of being constructed with a plurality of fuzzy value weighted means, obtain its unique equipment and wait for the shut-in time value, the weighted mean formula is:
y = &Sigma; l = 1 M y l &OverBar; w l &Sigma; l = 1 M w l (formula 3)
In the weighted mean formula, y lBe the central value of L fuzzy set, w lWait for the shut-in time for equipment and be worth a pairing fuzzy value;
The 4th step, the execution of power management: every through a time that sets at interval transfer time, just repeat the first step and second step and use the duty of equipment to refresh each equipment wait shut-in time data that previous moment is preserved according to the user, the data of current time being calculated gained are as new criterion, meanwhile add up the last response apparatus of the user time so far, i.e. response time not, when response time has not surpassed equipment that system tries to achieve and has waited for the shut-in time, then start administration of energy conservation for this equipment, closing the power supply of this equipment by circuit implements energy-conservation, respond electronic equipment once more until the user, open device power supply (DPS) by circuit, return to the duty that the user uses equipment.
CNB200510026730XA 2005-06-14 2005-06-14 Power management method for electronic equipment Expired - Fee Related CN100492224C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510026730XA CN100492224C (en) 2005-06-14 2005-06-14 Power management method for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510026730XA CN100492224C (en) 2005-06-14 2005-06-14 Power management method for electronic equipment

Publications (2)

Publication Number Publication Date
CN1696847A CN1696847A (en) 2005-11-16
CN100492224C true CN100492224C (en) 2009-05-27

Family

ID=35349602

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510026730XA Expired - Fee Related CN100492224C (en) 2005-06-14 2005-06-14 Power management method for electronic equipment

Country Status (1)

Country Link
CN (1) CN100492224C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415623B2 (en) * 2006-07-31 2008-08-19 Motorola, Inc. System for managing the power source life between multiple individually powered devices in a wired system and method of using same
US7962441B2 (en) 2006-09-22 2011-06-14 Denso Corporation Air conditioner for vehicle and controlling method thereof
CN101067645B (en) * 2007-04-20 2010-11-24 杭州高特电子设备有限公司 Method for analysing valve control type lead-acid accumulator battery performance
CN101552453B (en) * 2008-03-31 2012-01-11 华硕电脑股份有限公司 Portable electronic device and its intelligent battery protection circuit and method
US20130103348A1 (en) * 2010-06-30 2013-04-25 Nokia Corporation Methods and apparatuses for controlling invocation of a sensor
WO2013063778A1 (en) 2011-11-02 2013-05-10 Nokia Corporation Method and apparatus for context sensing inference
CN102662325B (en) * 2012-05-04 2014-10-15 重庆邮电大学 Improved adaptive learning tree power supply management method
CN103024205B (en) * 2012-12-14 2014-07-09 华为终端有限公司 Method, device and terminal for controlling power
CN104503565B (en) * 2015-01-04 2017-12-22 华为技术有限公司 Power consumption management method, device and the mobile device of mobile device
CN107145215B (en) * 2017-05-06 2019-09-27 维沃移动通信有限公司 Background application cleaning method and mobile terminal
CN109657907B (en) * 2018-11-13 2020-03-17 香港理工大学深圳研究院 Quality control method and device for geographical national condition monitoring data and terminal equipment
CN110286333B (en) * 2019-06-18 2021-09-24 哈尔滨理工大学 A kind of fault diagnosis method of lithium power battery system
CN112506334B (en) * 2020-11-06 2023-08-01 霸州嘉明扬科技有限公司 System power consumption optimization lightweight system with autonomous learning function and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH113102A (en) 1997-06-10 1999-01-06 Nec Corp Remote control system with operation guide function and control method therefor
CN1641963A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Power soure management and control method and device for power source supply device
CN1673913A (en) * 2004-03-22 2005-09-28 联想(北京)有限公司 Electric power management system and method for electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH113102A (en) 1997-06-10 1999-01-06 Nec Corp Remote control system with operation guide function and control method therefor
CN1641963A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Power soure management and control method and device for power source supply device
CN1673913A (en) * 2004-03-22 2005-09-28 联想(北京)有限公司 Electric power management system and method for electronic equipment

Also Published As

Publication number Publication date
CN1696847A (en) 2005-11-16

Similar Documents

Publication Publication Date Title
CN100492224C (en) Power management method for electronic equipment
US8583291B2 (en) Methods and apparatus for energy demand management
CN117057553A (en) Deep reinforcement learning-based household energy demand response optimization method and system
US20210373641A1 (en) Terminal and method for managing the same
Imamguluyev et al. Unlocking energy efficiency: harnessing fuzzy logic control for lighting systems
CN116963461A (en) Energy saving method and device for machine room air conditioner
Yousri et al. A power-aware task scheduler for energy harvesting-based wearable biomedical systems using snake optimizer
CN110320813B (en) Power management method and device for Internet of Things equipment
Triki et al. Reinforcement learning-based dynamic power management of a battery-powered system supplying multiple active modes
CN117726133B (en) A distributed energy real-time scheduling method and system based on reinforcement learning
Gupta et al. Multi-objective reinforcement learning based approach for user-centric power optimization in smart home environments
CN102662325B (en) Improved adaptive learning tree power supply management method
CN116934050B (en) Electric power intelligent scheduling system based on reinforcement learning
CN118612872A (en) Method, device, equipment and medium for optimizing resource allocation of IoT property base stations
CN118717166A (en) A medical probe intelligent power management method based on pressure sensor
Chaoming Hsu et al. Reinforcement learning-based dynamic power management for energy harvesting wireless sensor network
CN117833316A (en) Method for dynamically optimizing operation of energy storage at user side
CN116755965A (en) A low-power monitoring system and method for embedded systems based on reinforcement learning
Chen et al. TODO: Task offloading decision optimizer for the efficient provision of offloading schemes
CN109492802A (en) A kind of year-end level of multi-year regulating storage reservoir for timed position preferred method based on expert system
CN116933453A (en) Base station energy saving model training method and device, base station energy saving method and device
CN116040713B (en) Aeration method, device, equipment and storage medium in sewage treatment
Xin et al. Genetic based fuzzy Q-learning energy management for smart grid
CN113946428A (en) A kind of processor dynamic control method, electronic device and storage medium
CN118153783B (en) Intelligent water-saving pipeline cleaning optimization system based on artificial intelligence

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527

Termination date: 20120614