CN106896896B - Power saving method, device and electronic device - Google Patents
Power saving method, device and electronic device Download PDFInfo
- Publication number
- CN106896896B CN106896896B CN201710063294.6A CN201710063294A CN106896896B CN 106896896 B CN106896896 B CN 106896896B CN 201710063294 A CN201710063294 A CN 201710063294A CN 106896896 B CN106896896 B CN 106896896B
- Authority
- CN
- China
- Prior art keywords
- sensor
- threshold values
- proximity
- parameter
- power dissipation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,特别是涉及省电方法、装置及电子设备。The present invention relates to the field of computer technology, and in particular, to a power saving method, device and electronic device.
背景技术Background technique
作为一种工作、学习和娱乐的工具,电子设备只有在供电的情况下才能使用。外接电源可以对电子设备进行供电,在无外接电源的情况下,也可以通过电池存储的电量进行供电。通常用户在外出的时候,无法对电子设备提供外接电源,只能通过电池进行供电。然而,电池存储的电量是有限的,这样在低电量情况下使用可能会导致电子设备的突然中断,影响用户使用。As a tool for work, study and play, electronic devices can only be used when they are powered. The external power supply can supply power to the electronic device, and in the case of no external power supply, it can also be powered by the power stored in the battery. Usually, when users go out, they cannot provide external power to electronic devices, and can only supply power through batteries. However, batteries can store a limited amount of power, so use in low-power situations may cause sudden interruptions in electronic devices, affecting user usage.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种省电方法、装置及电子设备,可以减低电子设备的功耗,节省电量。Embodiments of the present invention provide a power saving method, apparatus and electronic device, which can reduce the power consumption of the electronic device and save power.
一种省电方法,包括:A method of saving power, including:
获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;If it is detected that the power consumption parameter of the device is within the specified parameter range, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor refers to the threshold value for determining the distance of the object;
停止更新所述接近传感器阀值。Stop updating the proximity sensor threshold.
一种省电装置,包括:A power saving device, comprising:
参数获取模块,用于获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;a parameter acquisition module, configured to acquire a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
阀值设置模块,用于检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;The threshold setting module is used to detect that the power consumption parameter of the device is within the specified parameter range, and then set the proximity sensor threshold as the sensor fixed threshold, and the proximity sensor threshold refers to the threshold for determining the distance of the object;
停止更新模块,用于停止更新所述接近传感器阀值。A stop updating module is used to stop updating the proximity sensor threshold.
一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:An electronic device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, the processor implements the following steps when executing the program:
获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;If it is detected that the power consumption parameter of the device is within the specified parameter range, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor refers to the threshold value for determining the distance of the object;
停止更新所述接近传感器阀值。Stop updating the proximity sensor threshold.
上述实施例提供的省电方法、装置及电子设备,节省了大量更新传感器阀值时消耗的电量,大大地降低了设备的功耗,节省了电量。The power saving method, device and electronic device provided by the above embodiments save a lot of power consumed when updating the sensor threshold, greatly reduce the power consumption of the device, and save power.
附图说明Description of drawings
图1为一个实施例中终端的内部结构示意图;1 is a schematic diagram of the internal structure of a terminal in one embodiment;
图2为一个实施例中省电方法的流程图;2 is a flowchart of a power saving method in one embodiment;
图3为另一个实施例中省电方法的流程图;3 is a flowchart of a power saving method in another embodiment;
图4为一个实施例中省电装置的结构示意图;4 is a schematic structural diagram of a power saving device in an embodiment;
图5为另一个实施例中省电装置的结构示意图;5 is a schematic structural diagram of a power saving device in another embodiment;
图6为与本发明实施例提供的计算机设备相关的移动终端的部分结构的框图。FIG. 6 is a block diagram of a partial structure of a mobile terminal related to a computer device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second", etc., as used herein, may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first client could be referred to as a second client, and similarly, a second client could be referred to as a first client, without departing from the scope of this disclosure. Both the first client and the second client are clients, but they are not the same client.
图1为一个实施例中终端的内部结构示意图。如图1所示,该终端包括通过系统总线连接的处理器、非易失性存储介质、内存储器、网络接口、显示屏和输入装置。其中,终端的非易失性存储介质存储有操作系统,还包括一种省电装置,该省电装置用于实现一种省电方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。终端中的内存储器为非易失性存储介质中的省电装置的运行提供环境,该内存储器中可储存有计算机可读指令,该计算机可读指令被所述处理器执行时,可使得所述处理器执行一种省电方法。网络接口用于与服务器进行网络通信。终端的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该终端可以是手机、平板电脑、个人数字助理或穿戴式设备等。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 1 is a schematic diagram of an internal structure of a terminal in an embodiment. As shown in FIG. 1 , the terminal includes a processor, a non-volatile storage medium, an internal memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the non-volatile storage medium of the terminal stores an operating system, and further includes a power saving device for implementing a power saving method. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. The internal memory in the terminal provides an environment for the operation of the power saving device in the non-volatile storage medium, and the internal memory can store computer-readable instructions, which, when executed by the processor, can cause all The processor performs a power saving method. The network interface is used for network communication with the server. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, etc., and the input device can be a touch layer covered on the display screen, a button, a trackball or a touchpad set on the terminal shell, or an external device. Keyboard, trackpad or mouse, etc. The terminal may be a mobile phone, a tablet computer, a personal digital assistant, or a wearable device. Those skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. More or fewer components are shown in the figures, either in combination or with different arrangements of components.
图2为一个实施例中省电方法的流程图。如图2所示,该省电方法包括步骤S202至步骤206。其中:FIG. 2 is a flowchart of a power saving method in one embodiment. As shown in FIG. 2 , the power saving method includes steps S202 to 206 . in:
步骤S202,获取设备功耗参数,设备功耗参数是指反映设备当前功耗的参数值。Step S202: Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device.
在一个实施例中,设备功耗参数是指反映设备当前功耗的参数值。例如,设备功耗参数可以是设备的当前电量值、当前处理器占有率中的一种或两种。其中,设备是指安装了接近传感器的电子设备,例如设备可以是个人电脑、移动终端、个人数字助理、可穿戴电子设备等。In one embodiment, the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device. For example, the device power consumption parameter may be one or both of the current power value of the device and the current processor occupancy. The device refers to an electronic device installed with a proximity sensor, for example, the device may be a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, and the like.
步骤S204,检测设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值。In step S204, the power consumption parameter of the detection device is within the specified parameter range, and the proximity sensor threshold is set as the sensor fixed threshold.
在一个实施例中,指定参数范围是指预先设定的设备功耗参数的参数范围,当设备功耗参数在该指定参数范围内时,认为设备处于能量趋于耗尽的状态。例如,设备功耗参数在指定参数范围内可以是设备当前电量值低于20%,或者设备当前处理器占有率高于80%。In one embodiment, the specified parameter range refers to a preset parameter range of a device power consumption parameter. When the device power consumption parameter is within the specified parameter range, it is considered that the device is in a state where energy tends to be exhausted. For example, within the specified parameter range, the power consumption parameter of the device may be that the current power value of the device is lower than 20%, or the current processor occupancy rate of the device is higher than 80%.
在一个实施例中,设备通过接近传感器按照预设的周期扫描周围的物体,并确定设备与物体之间的接近值,该接近值反映了物体到设备的距离。In one embodiment, the device scans the surrounding objects according to a preset period through the proximity sensor, and determines a proximity value between the device and the object, where the proximity value reflects the distance from the object to the device.
在一个实施例中,接近传感器阀值是指判定物体距离远近的阀值,包括接近阀值和远离阀值。当接近值小于远离阀值时,判定设备处于远离物体的状态;当接近值大于接近阀值时,判定设备处于接近物体的状态。In one embodiment, the proximity sensor threshold refers to a threshold for determining the distance of an object, including a proximity threshold and a distance threshold. When the proximity value is less than the distance threshold, it is determined that the device is in a state of being away from the object; when the proximity value is greater than the proximity threshold, it is determined that the device is in a state of being close to the object.
在一个实施例中,传感器固定阀值是指预先设定的固定不变的接近传感器阀值,当检测到设备功耗参数在指定参数范围内时,则将接近传感器阀值设置为传感器固定阀值。In one embodiment, the sensor fixed threshold refers to a preset fixed and constant proximity sensor threshold. When it is detected that the power consumption parameter of the device is within the specified parameter range, the proximity sensor threshold is set as the sensor fixed threshold. value.
步骤S206,停止更新接近传感器阀值。Step S206, stop updating the proximity sensor threshold.
在一个实施例中,设备周期性地检测与周围物体的接近值,并根据每次采集的接近值动态的更新接近传感器阀值,当前采集到的接近值与上一次更新的接近传感器阀值进行比较,从而判断当前物体的远近状态。当检测设备功耗参数在指定参数范围内时,那么认为设备当前处于能量趋于耗尽的状态,则停止动态地更新接近传感器阀值,而将接近传感器阀值设置为传感器固定阀值。In one embodiment, the device periodically detects the proximity value to surrounding objects, and dynamically updates the proximity sensor threshold value according to the proximity value collected each time, and the currently collected proximity value is compared with the last updated proximity sensor threshold value. Compare, so as to judge the current state of the object's far and near. When it is detected that the power consumption parameter of the device is within the specified parameter range, it is considered that the device is currently in a state of energy exhaustion, and the dynamic update of the proximity sensor threshold is stopped, and the proximity sensor threshold is set as the sensor fixed threshold.
本发明实施例提供的省电方法,将接近传感器阀值设置为传感器固定阀值,不再更新接近传感器阀值,节省了大量更新传感器阀值时消耗的电量,大大地降低了设备的功耗,节省了电量。In the power saving method provided by the embodiment of the present invention, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor is no longer updated, which saves a lot of power consumption when updating the threshold value of the sensor, and greatly reduces the power consumption of the device. , saving power.
图3为另一个实施例中省电方法的流程图。如图3所示,该省电方法包括步骤S302至步骤310。其中:FIG. 3 is a flowchart of a power saving method in another embodiment. As shown in FIG. 3 , the power saving method includes steps S302 to 310 . in:
步骤S302,获取设备功耗参数,设备功耗参数是指反映设备当前功耗的参数值。Step S302: Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device.
在一个实施例中,设备功耗参数是指反映设备当前功耗的参数值。例如,设备功耗参数可以是设备的当前电量值、当前处理器占有率中的一种或两种。其中,设备是指安装了接近传感器的电子设备,例如设备可以是个人电脑、移动终端、个人数字助理、可穿戴电子设备等。In one embodiment, the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device. For example, the device power consumption parameter may be one or both of the current power value of the device and the current processor occupancy. The device refers to an electronic device installed with a proximity sensor, for example, the device may be a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, and the like.
可以理解的是,设备的当前电量值是指反映设备当前电量的值,设备的当前处理器占有率是指反映设备当前运行的程序在处理器中的资源使用率的值。当前电量值越低、当前处理器占有率越高,则设备当前功率消耗越高。It can be understood that the current power value of the device refers to a value that reflects the current power of the device, and the current processor occupancy rate of the device refers to a value that reflects the resource usage rate of the program currently running on the device in the processor. The lower the current power value and the higher the current processor occupancy rate, the higher the current power consumption of the device.
步骤S304,检测设备功耗参数超出指定参数范围,则获取接近传感器采集的接近值。In step S304, the power consumption parameter of the detection device exceeds the specified parameter range, and the proximity value collected by the proximity sensor is acquired.
在一个实施例中,指定参数范围是指预先设定的设备功耗参数的参数范围,当设备功耗参数在该指定参数范围内时,则认为设备处于能量趋于耗尽的状态;当设备功耗参数超出该指定参数范围时,则认为设备处于能量充足的状态。In one embodiment, the specified parameter range refers to the preset parameter range of the power consumption parameter of the device. When the power consumption parameter of the device is within the specified parameter range, the device is considered to be in a state where energy tends to be exhausted; When the power consumption parameter exceeds the specified parameter range, the device is considered to be in a state of sufficient energy.
在一个实施例中,设备通过接近传感器按照预设的周期扫描周围的物体,并确定设备与物体之间的接近值,该接近值反映了物体到设备的距离。接近传感器阀值是指判定物体距离远近状态的阀值,包括接近阀值和远离阀值。当接近值小于远离阀值时,判定设备处于远离物体的状态;当接近值大于接近阀值时,判定设备处于接近物体的状态。In one embodiment, the device scans the surrounding objects according to a preset period through the proximity sensor, and determines a proximity value between the device and the object, where the proximity value reflects the distance from the object to the device. The proximity sensor threshold refers to the threshold for determining the distance of the object, including the proximity threshold and the distance threshold. When the proximity value is less than the distance threshold, it is determined that the device is in a state of being away from the object; when the proximity value is greater than the proximity threshold, it is determined that the device is in a state of being close to the object.
步骤S306,根据接近值确定传感器动态阀值,并根据传感器动态阀值获取传感器固定阀值。In step S306, the sensor dynamic threshold is determined according to the proximity value, and the sensor fixed threshold is obtained according to the sensor dynamic threshold.
在一个实施例中,设备周期性地检测与周围物体的接近值,当检测设备功耗参数超出指定参数范围时,认为设备处于能量充足的状态。根据每次采集的接近值动态地更新接近传感器阀值,该更新的接近传感器阀值即为传感器动态阀值,同时记录每次更新的传感器动态阀值。将当前采集到的接近值与上一次更新的传感器动态阀值进行比较,从而判断当前物体的远近状态。In one embodiment, the device periodically detects the proximity value to surrounding objects, and when the detected device power consumption parameter exceeds the specified parameter range, the device is considered to be in a state of sufficient energy. The proximity sensor threshold value is dynamically updated according to the proximity value collected each time, and the updated proximity sensor threshold value is the sensor dynamic threshold value, and the sensor dynamic threshold value updated each time is recorded at the same time. The current collected proximity value is compared with the last updated sensor dynamic threshold value, so as to judge the current status of the object.
在一个实施例中,传感器固定阀值是指预先设定的固定不变的接近传感器阀值。根据传感器动态阀值获取指定传感器动态阀值,并根据该指定传感器动态阀值和限制阀值获取传感器固定阀值。其中,指定传感器动态阀值是指在记录的每次更新的传感器动态阀值中预先指定的传感器动态阀值。例如,指定传感器动态阀值可以是最大传感器动态阀值、最小传感器动态阀值或平均传感器动态阀值等。限制阀值是指限制传感器固定阀值需要满足的条件阀值,例如限制传感器固定阀值不能大于限制阀值或者不能小于限制阀值。In one embodiment, the sensor fixed threshold refers to a preset and fixed proximity sensor threshold. The specified sensor dynamic threshold value is obtained according to the sensor dynamic threshold value, and the sensor fixed threshold value is obtained according to the specified sensor dynamic threshold value and the limit threshold value. Wherein, the specified sensor dynamic threshold refers to a pre-specified sensor dynamic threshold in the recorded sensor dynamic threshold for each update. For example, the specified sensor dynamic threshold may be a maximum sensor dynamic threshold, a minimum sensor dynamic threshold, or an average sensor dynamic threshold, and the like. The limit threshold refers to the conditional threshold that the fixed threshold of the limit sensor needs to meet, for example, the fixed threshold of the limit sensor cannot be greater than the limit threshold or less than the limit threshold.
在一个实施例中,获取设备在远离状态下,并在预设时间段内差值小于预设差值的若干组传感器动态阀值,并从该若干组传感器动态阀值中取最大值作为指定传感器动态阀值。In one embodiment, a plurality of sets of sensor dynamic thresholds whose difference is less than a preset difference within a preset time period when the device is in a far-away state are acquired, and a maximum value is taken from the set of sensor dynamic thresholds as the specified value. Sensor dynamic threshold.
在一个实施例中,获取传感器动态阀值中的最大传感器动态阀值,检测所述最大传感器动态阀值小于限制阀值,则将最大传感器动态阀值作为传感器固定阀值,否则将限制阀值作为传感器固定阀值。In one embodiment, the maximum sensor dynamic threshold value among the sensor dynamic threshold values is obtained, and it is detected that the maximum sensor dynamic threshold value is smaller than the limit threshold value, and the maximum sensor dynamic threshold value is used as the sensor fixed threshold value, otherwise, the limit threshold value is used. As a sensor fixed threshold.
在一个实施例中,也可以是获取传感器动态阀值中的最小传感器动态阀值,检测所述最大传感器动态阀值大于限制阀值,则将最小传感器动态阀值作为传感器固定阀值,否则将限制阀值作为传感器固定阀值。In one embodiment, the minimum sensor dynamic threshold value among the sensor dynamic threshold values may also be obtained, and it is detected that the maximum sensor dynamic threshold value is greater than the limit threshold value, and the minimum sensor dynamic threshold value is used as the sensor fixed threshold value, otherwise the Limit threshold as sensor fixed threshold.
步骤S308,检测设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值。In step S308, the power consumption parameter of the detection device is within the specified parameter range, and the proximity sensor threshold is set as the sensor fixed threshold.
在一个实施例中,检测设备功耗参数在指定参数范围内,则认为设备处于能量趋于耗尽的状态。则将接近传感器阀值设置为传感器固定阀值。该传感器固定阀值即为步骤S306中获取的传感器固定阀值。In one embodiment, if the power consumption parameter of the device is detected to be within the specified parameter range, it is considered that the device is in a state where the energy tends to be exhausted. Then set the proximity sensor threshold to the sensor fixed threshold. The sensor fixed threshold is the sensor fixed threshold obtained in step S306.
步骤S310,停止更新接近传感器阀值。Step S310, stop updating the proximity sensor threshold.
在一个实施例中,当设备功耗参数在指定参数范围内时,认为设备当前处于能量趋于耗尽的状态,设备停止动态地更新接近传感器阀值,而采用传感器固定阀值。当再次检测到设备功耗参数超出指定参数范围时,可以重新进行动态地更新接近传感器阀值。In one embodiment, when the power consumption parameter of the device is within the specified parameter range, it is considered that the device is currently in a state where energy tends to be exhausted, the device stops dynamically updating the proximity sensor threshold, and adopts the sensor fixed threshold. When it is detected again that the power consumption parameter of the device exceeds the specified parameter range, the threshold value of the proximity sensor can be dynamically updated again.
本发明实施例提供的省电方法,在检测到设备功耗参数在指定参数范围内时,判定该设备处于能量趋于耗尽的状态,将接近传感器阀值设置为传感器固定阀值,不再更新接近传感器阀值。节省了大量更新传感器阀值时消耗的电量,大大地降低了设备的功耗,节省了电量,延长了电量的使用时间。In the power saving method provided by the embodiment of the present invention, when it is detected that the power consumption parameter of the device is within the specified parameter range, it is determined that the device is in a state where the energy tends to be exhausted, and the threshold value of the proximity sensor is set to the fixed threshold value of the sensor, and no longer Update the proximity sensor threshold. It saves a lot of power consumption when updating the sensor threshold value, greatly reduces the power consumption of the device, saves the power, and prolongs the use time of the power.
图4为一个实施例中省电装置的结构示意图。如图4所示,该省电装置包括参数获取模块402、阀值设置模块404和停止更新模块406。其中:FIG. 4 is a schematic structural diagram of a power saving device in an embodiment. As shown in FIG. 4 , the power saving device includes a parameter acquisition module 402 , a threshold value setting module 404 and a stop updating module 406 . in:
参数获取模块402,用于获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值。The parameter acquisition module 402 is configured to acquire a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device.
阀值设置模块404,用于检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值。The threshold setting module 404 is configured to detect that the power consumption parameter of the device is within the specified parameter range, and then set the proximity sensor threshold to a fixed sensor threshold, where the proximity sensor threshold refers to a threshold for determining the distance of an object.
停止更新模块406,用于停止更新所述接近传感器阀值。Stop updating module 406, configured to stop updating the proximity sensor threshold.
图5为另一个实施例中省电装置的结构示意图。如图5所示,该省电装置包括参数获取模块502、接近值采集模块504、阀值获取模块506、阀值设置模块508和停止更新模块510。其中:FIG. 5 is a schematic structural diagram of a power saving device in another embodiment. As shown in FIG. 5 , the power saving device includes a parameter acquisition module 502 , a proximity value acquisition module 504 , a threshold value acquisition module 506 , a threshold value setting module 508 and a stop updating module 510 . in:
参数获取模块502,用于获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值。The parameter acquisition module 502 is configured to acquire a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device.
接近值采集模块504,用于检测所述设备功耗参数超出指定参数范围,则获取所述接近传感器采集的接近值。The proximity value acquisition module 504 is configured to detect that the power consumption parameter of the device exceeds the specified parameter range, and acquire the proximity value acquired by the proximity sensor.
阀值获取模块506,用于根据所述接近值确定传感器动态阀值,并根据所述传感器动态阀值获取传感器固定阀值。The threshold value obtaining module 506 is configured to determine the sensor dynamic threshold value according to the proximity value, and obtain the sensor fixed threshold value according to the sensor dynamic threshold value.
阀值设置模块508,用于检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值。The threshold setting module 508 is configured to detect that the power consumption parameter of the device is within the specified parameter range, and then set the proximity sensor threshold as a fixed sensor threshold, where the proximity sensor threshold refers to a threshold for determining the distance of an object.
停止更新模块510,用于停止更新所述接近传感器阀值。Stop updating module 510, configured to stop updating the proximity sensor threshold.
本发明实施例提供的省电装置,将接近传感器阀值设置为传感器固定阀值,不再更新接近传感器阀值,节省了大量更新传感器阀值时消耗的电量,大大地降低了设备的功耗,节省了电量。In the power saving device provided by the embodiment of the present invention, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor is no longer updated, which saves a lot of power consumption when updating the threshold value of the sensor, and greatly reduces the power consumption of the device. , saving power.
参数获取模块502还用于获取当前电量值;以及获取当前处理器占有率中的一种或两种。The parameter obtaining module 502 is further configured to obtain the current power value; and obtain one or both of the current processor occupancy rates.
阀值获取模块506还用于根据所述传感器动态阀值获取指定传感器动态阀值,并根据所述指定传感器动态阀值和限制阀值获取传感器固定阀值。The threshold value obtaining module 506 is further configured to obtain a specified sensor dynamic threshold value according to the sensor dynamic threshold value, and obtain a sensor fixed threshold value according to the specified sensor dynamic threshold value and the limit threshold value.
阀值获取模块506还用于获取所述传感器动态阀值中的最大传感器动态阀值,检测所述最大传感器动态阀值小于限制阀值,则将所述最大传感器动态阀值作为传感器固定阀值。The threshold value obtaining module 506 is further configured to obtain the maximum sensor dynamic threshold value in the sensor dynamic threshold value, and detect that the maximum sensor dynamic threshold value is less than the limit threshold value, then use the maximum sensor dynamic threshold value as the sensor fixed threshold value .
上述省电装置中各个模块的划分仅用于举例说明,在其他实施例中,可将省电装置按照需要划分为不同的模块,以完成上述省电装置的全部或部分功能。The division of each module in the above-mentioned power-saving device is only used for illustration. In other embodiments, the power-saving device can be divided into different modules as required to complete all or part of the functions of the above-mentioned power-saving device.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;If it is detected that the power consumption parameter of the device is within the specified parameter range, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor refers to the threshold value for determining the distance of the object;
停止更新所述接近传感器阀值。Stop updating the proximity sensor threshold.
一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序(指令),所述处理器执行所述程序时实现以下步骤:An electronic device, comprising a memory, a processor and a computer program (instruction) stored in the memory and running on the processor, the processor implements the following steps when executing the program:
获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;If it is detected that the power consumption parameter of the device is within the specified parameter range, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor refers to the threshold value for determining the distance of the object;
停止更新所述接近传感器阀值。Stop updating the proximity sensor threshold.
本发明实施例还提供了一种计算机设备。如图6所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该计算机设备可以为包括移动终端、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以计算机设备为移动终端为例:The embodiment of the present invention also provides a computer device. As shown in FIG. 6 , for the convenience of description, only the part related to the embodiment of the present invention is shown, and the specific technical details are not disclosed, please refer to the method part of the embodiment of the present invention. The computer equipment can be any terminal equipment including a mobile terminal, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, etc. The computer equipment is a mobile terminal For example:
图6为与本发明实施例提供的计算机设备相关的移动终端的部分结构的框图。参考图6,移动终端600包括:射频(Radio Frequency,RF)电路610、存储器620、输入单元630、显示单元640、传感器650、音频电路660、无线保真(wireless fidelity,WiFi)模块670、处理器680、以及电源690等部件。本领域技术人员可以理解,图6所示的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 6 is a block diagram of a partial structure of a mobile terminal related to a computer device provided by an embodiment of the present invention. 6 , the mobile terminal 600 includes: a radio frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a sensor 650, an audio circuit 660, a wireless fidelity (WiFi) module 670, a processing 680, and the power supply 690 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 6 does not constitute a limitation on the mobile terminal, and may include more or less components than shown, or combine some components, or arrange different components.
其中,RF电路610可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器680处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 610 can be used for receiving and sending signals during transmission and reception of information or during a call. After receiving the downlink information of the base station, it can be processed by the processor 680; it can also send uplink data to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 610 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), email, Short Messaging Service (Short Messaging Service, SMS) and the like.
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行移动终端的各种功能应用以及数据处理。存储器620可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据移动终端的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 620 may be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 620 . The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc.; The data storage area may store data (such as audio data, address book, etc.) created according to the use of the mobile terminal, and the like. Additionally, memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元630可用于接收输入的数字或字符信息,以及产生与移动终端600的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括触控面板631以及其他输入设备632。触控面板631,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上或在触控面板631附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器680,并能接收处理器680发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除了触控面板631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 630 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal 600 . Specifically, the input unit 630 may include a touch panel 631 and other input devices 632 . The touch panel 631 , also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, a stylus, etc., any suitable object or accessory on or near the touch panel 631 ) operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 680, and can receive the commands sent by the processor 680 and execute them. In addition, the touch panel 631 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. Besides the touch panel 631 , the input unit 630 may further include other input devices 632 . Specifically, other input devices 632 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种菜单。显示单元640可包括显示面板641。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板641。在一个实施例中,触控面板631可覆盖显示面板641,当触控面板631检测到在其上或附近的触摸操作后,传送给处理器680以确定触摸事件的类型,随后处理器680根据触摸事件的类型在显示面板641上提供相应的视觉输出。虽然在图6中,触控面板631与显示面板641是作为两个独立的部件来实现移动终端的输入和输入功能,但是在某些实施例中,可以将触控面板631与显示面板641集成而实现移动终端的输入和输出功能。The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile terminal. The display unit 640 may include a display panel 641 . In one embodiment, the display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 631 may cover the display panel 641, and when the touch panel 631 detects a touch operation on or near it, the touch panel 631 transmits it to the processor 680 to determine the type of the touch event, and then the processor 680 determines the type of the touch event according to the The type of touch event provides a corresponding visual output on display panel 641 . Although in FIG. 6 , the touch panel 631 and the display panel 641 are used as two independent components to realize the input and input functions of the mobile terminal, but in some embodiments, the touch panel 631 and the display panel 641 may be integrated And realize the input and output functions of the mobile terminal.
移动终端600还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板641和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The mobile terminal 600 may also include at least one sensor 650, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 641 and the display panel 641 when the mobile terminal is moved to the ear. / or backlight. The motion sensor can include an acceleration sensor. The acceleration sensor can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when it is stationary. It can be used for applications that recognize the posture of mobile terminals (such as horizontal and vertical screen switching), vibration recognition related functions ( For example, a pedometer, tapping), etc.; in addition, the mobile terminal can also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.
音频电路660、扬声器661和传声器662可提供用户与移动终端之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610可以发送给另一移动终端,或者将音频数据输出至存储器620以便后续处理。The audio circuit 660, the speaker 661 and the microphone 662 may provide an audio interface between the user and the mobile terminal. The audio circuit 660 can transmit the received audio data converted electrical signal to the speaker 661, and the speaker 661 converts it into a sound signal for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 660 After being received, the audio data is converted into audio data, and after being processed by the output processor 680, the audio data can be sent to another mobile terminal via the RF circuit 610, or the audio data can be output to the memory 620 for subsequent processing.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于移动终端600的必须构成,可以根据需要而省略。WiFi is a short-distance wireless transmission technology. The mobile terminal can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 670, it can be understood that it is not a necessary component of the mobile terminal 600 and can be omitted as required.
处理器680是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。在一个实施例中,处理器680可包括一个或多个处理单元。在一个实施例中,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。The processor 680 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 620, and calls the data stored in the memory 620. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. In one embodiment, the processor 680 may include one or more processing units. In one embodiment, the processor 680 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface and application programs, etc.; the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 680 .
移动终端600还包括给各个部件供电的电池690,优选的,电池可以通过电池管理系统与处理器680逻辑相连,从而通过电池管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 600 also includes a battery 690 for supplying power to various components. Preferably, the battery can be logically connected to the processor 680 through a battery management system, so as to manage charging, discharging, and power consumption management functions through the battery management system.
在一个实施例中,移动终端600还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile terminal 600 may further include a camera, a Bluetooth module, and the like.
在本发明实施例中,该移动终端600所包括的处理器680还具有以下功能:In this embodiment of the present invention, the processor 680 included in the mobile terminal 600 also has the following functions:
获取设备功耗参数,所述设备功耗参数是指反映设备当前功耗的参数值;Obtain a device power consumption parameter, where the device power consumption parameter refers to a parameter value reflecting the current power consumption of the device;
检测所述设备功耗参数在指定参数范围内,则将接近传感器阀值设置为传感器固定阀值,所述接近传感器阀值是指判定物体距离远近的阀值;If it is detected that the power consumption parameter of the device is within the specified parameter range, the threshold value of the proximity sensor is set as the fixed threshold value of the sensor, and the threshold value of the proximity sensor refers to the threshold value for determining the distance of the object;
停止更新所述接近传感器阀值。Stop updating the proximity sensor threshold.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or the like.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710063294.6A CN106896896B (en) | 2017-02-03 | 2017-02-03 | Power saving method, device and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710063294.6A CN106896896B (en) | 2017-02-03 | 2017-02-03 | Power saving method, device and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106896896A CN106896896A (en) | 2017-06-27 |
| CN106896896B true CN106896896B (en) | 2019-10-25 |
Family
ID=59198486
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710063294.6A Expired - Fee Related CN106896896B (en) | 2017-02-03 | 2017-02-03 | Power saving method, device and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106896896B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI739338B (en) * | 2020-03-11 | 2021-09-11 | 崑山科技大學 | Environment-aware wisdom triggers power-saving methods |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103902010A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Method for reducing power consumption and electronic equipment |
| CN104570144A (en) * | 2013-10-24 | 2015-04-29 | 展讯通信(上海)有限公司 | Self-adaptive induction threshold adjusting system and method for proximity sensor |
| CN104683598A (en) * | 2015-03-25 | 2015-06-03 | 深圳市欧珀通信软件有限公司 | Proximity sensor threshold adjustment method, device and intelligent device |
| CN105629184A (en) * | 2014-11-20 | 2016-06-01 | 苹果公司 | Electronic device and mixed magnetometer sensor suite used for same |
| CN106055076A (en) * | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Method and device for closing sensors |
| CN106095078A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A sensor threshold setting method and mobile terminal |
-
2017
- 2017-02-03 CN CN201710063294.6A patent/CN106896896B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103902010A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Method for reducing power consumption and electronic equipment |
| CN104570144A (en) * | 2013-10-24 | 2015-04-29 | 展讯通信(上海)有限公司 | Self-adaptive induction threshold adjusting system and method for proximity sensor |
| CN105629184A (en) * | 2014-11-20 | 2016-06-01 | 苹果公司 | Electronic device and mixed magnetometer sensor suite used for same |
| CN104683598A (en) * | 2015-03-25 | 2015-06-03 | 深圳市欧珀通信软件有限公司 | Proximity sensor threshold adjustment method, device and intelligent device |
| CN106055076A (en) * | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Method and device for closing sensors |
| CN106095078A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A sensor threshold setting method and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106896896A (en) | 2017-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106786962B (en) | Charging control method and device and terminal | |
| CN106131345B (en) | Control method and device of proximity sensor and mobile terminal | |
| US11138041B2 (en) | Method for automatically releasing resource occupied by process in background of terminal, storage medium and terminal | |
| CN106340925A (en) | A charging control method, device and terminal | |
| CN106357897A (en) | Method and device for obtaining drop information | |
| CN106982097A (en) | Radio frequency interference elimination method, device, storage medium and terminal | |
| CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
| CN106936516B (en) | Display state control method, storage medium and terminal | |
| CN105933944A (en) | Optimized use method, device and mobile terminal of 4G network | |
| CN106066769B (en) | Mobile terminal processing method and mobile terminal | |
| CN107528958A (en) | Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal | |
| CN106254673A (en) | Terminal fall detection method and device | |
| CN106227337A (en) | Method, device and terminal for adjusting screen brightness | |
| CN106648205B (en) | Sleep control method, device and terminal | |
| CN110022600B (en) | Driving current adjusting method and device, storage medium and mobile terminal | |
| CN106896896B (en) | Power saving method, device and electronic device | |
| CN106454953A (en) | Flow control method, device and terminal | |
| CN109151154B (en) | Power consumption control method and mobile terminal | |
| CN112114988A (en) | Client startup method, device, terminal and storage medium | |
| CN112433694B (en) | Light intensity adjusting method and device, storage medium and mobile terminal | |
| CN112261634B (en) | Bluetooth transmission control method and device, terminal equipment and storage medium | |
| CN108900361A (en) | Cloud resource, which configures, determines method, apparatus and electronic equipment | |
| CN110995324B (en) | Bluetooth communication method, device, storage medium and terminal equipment | |
| US11259222B2 (en) | Mobile terminal and method and system for switching and controlling call link of mobile terminal | |
| CN106354250B (en) | A kind of method, apparatus and terminal that meter step parameter is set |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191025 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |