WO2018095106A1 - Method, apparatus and mobile terminal for controlling power-saving settings - Google Patents

Method, apparatus and mobile terminal for controlling power-saving settings Download PDF

Info

Publication number
WO2018095106A1
WO2018095106A1 PCT/CN2017/100319 CN2017100319W WO2018095106A1 WO 2018095106 A1 WO2018095106 A1 WO 2018095106A1 CN 2017100319 W CN2017100319 W CN 2017100319W WO 2018095106 A1 WO2018095106 A1 WO 2018095106A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshots
display interface
similar
power saving
preset time
Prior art date
Application number
PCT/CN2017/100319
Other languages
French (fr)
Chinese (zh)
Inventor
葛清华
胡博
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018095106A1 publication Critical patent/WO2018095106A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Definitions

  • the present disclosure relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a mobile terminal for controlling power saving.
  • the system uses the unoperated time to judge whether the user is using the terminal.
  • the system reduces the brightness of the system and allows the system to sleep to save power.
  • the disadvantage of making a corresponding judgment by the non-operation time is that for some applications, the user may not operate for a long time during use. In this case, the method cannot accurately determine whether the user is using the terminal, and cannot accurately determine the control. The timing of the power saving setting.
  • the present disclosure provides a method, apparatus, and terminal for controlling power saving settings to at least solve the related problems in the related art that the timing of controlling the power saving setting cannot be accurately determined.
  • a method for controlling power saving setting includes: collecting at least two display interface screenshots in a first preset time; determining that the display interface screenshots are similar or identical; when the displaying Controls the power saving settings when the screen shots are determined to be similar or identical.
  • a control power saving setting apparatus including:
  • a screenshot module collects at least two display interface screenshots in a first preset time; the determination module compares the display interface screenshots collected by the display interface screenshot module, and determines the display interface screenshot Similar or identical between the two; when the display interface screenshots are determined to be similar or identical, the power saving module controls the power saving setting.
  • a mobile terminal including: a processor; a display screen; the processor is connected to a display screen; and the processor is configured to collect the display screen in a first preset time At least two display interface screenshots are determined; determining that the display interface screenshots are similar or identical; and when the display interface screenshots are determined to be similar or identical, the power saving settings are controlled.
  • a storage medium configured to store program code for performing the method of any of the above.
  • FIG. 1 is a flow chart of controlling power saving settings in accordance with an embodiment of the present disclosure
  • FIG. 2 is a flow chart of another method for controlling power saving setting according to an embodiment of the present disclosure
  • FIG. 3 illustrates an apparatus for controlling a power saving setting in accordance with an embodiment of the present disclosure
  • FIG. 1 is a flowchart of controlling power saving settings according to an embodiment of the present disclosure. As shown in FIG. 1 , the process includes the following steps:
  • S102 Collect at least two display interface screenshots in the first preset time
  • S106 Control the power saving setting when the display interface screenshots are determined to be similar or identical.
  • determining whether the display interface screenshots are similar includes: calculating similar values between the display interface screenshots, when similar values between the display interface screenshots are at a first preset The reference value range determines whether the display interface screenshots are similar or identical.
  • a numerical value can be obtained to evaluate the degree of similarity between the images.
  • the similarity value is in the first preset reference value range, it can be conveniently determined that the screenshots are similar, thereby helping to accurately determine the timing of the power-saving mode.
  • the calculating the similarity value between the screenshots of the display interface includes: calculating a screenshot taken during the first preset time and each other screenshot collected in the first preset time
  • the individual similarity value, the similarity value between the display interface screenshots is equal to the average of a plurality of the individual similarity values.
  • the determining that the display interface screenshots are similar or identical includes: determining that the first screenshot captured during the first preset time is similar to the other screenshots collected during the first preset time Or the same.
  • the collecting, by the method, the at least two display interface screenshots in the first preset time including: collecting at least two displays in the first preset time when the preset condition is met a screenshot of the interface; wherein the preset condition includes at least one of the following: the current display interface is a third-party application interface; and the non-operation time is greater than the second preset time.
  • the unoperated time By combining the unoperated time, it is possible to more accurately determine whether the user is using the terminal. If it is determined whether the current interface is a third-party user interface, the user usually does not use the system interface for a long time without performing an operation, and thus the method does not need to be judged.
  • the two methods have their own characteristics, which can be considered combined or used separately to achieve accurate judgment of the power saving setting on time.
  • the power saving setting in the method includes at least one of: reducing or extinguishing a current application brightness; decreasing or turning off a current application volume.
  • the power saving settings under the current application can be realized without changing the related settings of the system.
  • the power saving setting does not affect the normal use of the user, thereby better realizing the timing of controlling the power saving setting.
  • the controlling power saving setting includes: indicating a degree of similarity between the screenshots by the similarity between the screenshots of the display interface; controlling the power saving setting according to the degree of similarity.
  • the current application brightness can be lowered.
  • the possibility that the user is using the device is low, and by lowering the current application brightness, the balance between the user's use and the judgment control power saving setting can be achieved.
  • the present disclosure also provides another embodiment based on the same inventive concept.
  • a method of controlling power saving setting is provided in this embodiment.
  • 2 is a flow chart of another method of controlling power saving setting according to the embodiment. The process includes:
  • S201 Calling the frame control interface to implement screen monitoring and physical button monitoring, and using a timer to obtain a response time of the user not operating. It is determined whether the response time of the user not operating satisfies the second preset time T2.
  • the accuracy of judging the user's usage status by content is enhanced by monitoring the user's inoperative time.
  • S202 Acquire a current user interface attribute, and determine whether the current interface is a third-party application interface. For example, in the Android system, use the ActivityManager to obtain the current RunningTasks (running tasks), and use the PackageName of the topActivity in the RunningTasks to obtain and determine the current interface properties of the system.
  • a screenshot showing the change of the application user interface during the time period can be obtained for subsequent analysis processing.
  • the third preset time it is possible to effectively increase the sample that judges the degree of interface change in the first time, prevent the error caused by the sample being too small, or reduce the sample of the degree of interface change in the first time, and reduce the calculation of whether the calculation is similar. the amount.
  • the calculation amount of calculating the similarity can be reduced.
  • the first screenshot is compared with other screenshots, which can effectively judge whether the user interface is in a relatively small change state within the first preset time. If further adjustment of the judgment period is needed to achieve calibration accuracy, the adjustment can be directly adjusted. Preset the first time to achieve.
  • the user interface changes relatively little, the user is considered to be in a state in which the user is not using the application in the case where the user has not operated for a long time, so the power saving mode is started.
  • different power saving settings can be used to accurately determine the balance between the node setting and the user's use, and better realize the timing of judging and controlling the power saving setting.
  • FIG. 3 is a block diagram of a control power saving setting device according to an embodiment of the present disclosure. As shown in Figure 3, the device includes the following:
  • the screenshot module 11; the judging module 12; the power saving module 13; the screenshot module 11 collects at least two display interface screenshots in a first preset time; the judging module 12 compares the display interface screenshots collected by the display interface screenshot module 11 Determining that the display interface screenshots are similar or identical; when the display interface screenshots are determined to be similar or identical, the determining module 12 sends a determination signal to the power saving module 13, and the power saving module 13 controls power saving. Settings.
  • the apparatus further includes: a decision module; and when the determining module detects that the preset condition is met, notifying the display interface screenshot module to start an acquisition operation.
  • the preset condition includes at least one of the following: the current display interface is a third-party application display interface; and the non-operation time is greater than the second preset time.
  • the unoperated time it is possible to more accurately determine whether the user is using the terminal. If it is determined whether the current interface is a third-party user interface, the user usually does not use the system interface for a long time without performing an operation, and thus the method does not need to be judged.
  • the two methods have their own characteristics, which can be considered in combination or separately, to accurately determine the timing of the power-saving mode.
  • FIG. 4 is a diagram of a mobile terminal module according to an embodiment of the present disclosure.
  • the terminal includes: a processor 21; a display screen 22; the processor 21 is connected to the display screen 22; the processor 21 is configured to collect the display screen 22 within a first preset time. At least two display interface screenshots; determining that the display interface screenshots are similar or identical; when the display interface screenshots are determined to be similar or identical, the control Power saving settings.
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
  • the method for controlling the power saving setting provided by the embodiment of the present disclosure can accurately determine the timing of enabling the control power saving setting by acquiring a plurality of display interface screenshots in a preset time period, comparing the similarity between the screenshots of the display interface, and combining the user operation conditions. It saves device power, reduces the impact on users' normal use, and enhances user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method, apparatus and mobile terminal for controlling power-saving settings, wherein said method for controlling power-saving settings comprises: capturing at least two display interface screenshots within a first preset time (S102); determining similarity or identicalness between said screenshots (S104); controlling a power-saving setting when said screenshots are determined to be similar or identical therebetween (S106). The present method may accurately determine the timing of power-saving settings.

Description

一种控制节电设置方法、装置及移动终端Method, device and mobile terminal for controlling power saving setting 技术领域Technical field
本公开涉及移动通信技术领域,特别涉及一种控制节电设置方法、装置及移动终端。The present disclosure relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a mobile terminal for controlling power saving.
背景技术Background technique
通常系统采用未操作时间来判断用户是否正在使用终端,当用户一段时间未使用终端时,采用调低系统亮度,让系统休眠等方式来节省电量。Usually, the system uses the unoperated time to judge whether the user is using the terminal. When the user does not use the terminal for a period of time, the system reduces the brightness of the system and allows the system to sleep to save power.
通过未操作时间进行相应判断的缺点在于,对于部分应用,用户在使用过程中可能较长时间并不进行操作,在这种情况下,该方法不能准确判断用户是否正在使用终端,无法准确判断控制节电设置的时机。The disadvantage of making a corresponding judgment by the non-operation time is that for some applications, the user may not operate for a long time during use. In this case, the method cannot accurately determine whether the user is using the terminal, and cannot accurately determine the control. The timing of the power saving setting.
发明内容Summary of the invention
本公开提供一种控制节电设置方法、装置及终端,以至少解决相关技术中无法准确判断控制节电设置的时机的相关问题。The present disclosure provides a method, apparatus, and terminal for controlling power saving settings to at least solve the related problems in the related art that the timing of controlling the power saving setting cannot be accurately determined.
根据本公开的一个实施例,提供一种控制节电设置方法,包括:在第一预设时间内采集至少两张显示界面截图;确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,控制节电设置。According to an embodiment of the present disclosure, a method for controlling power saving setting includes: collecting at least two display interface screenshots in a first preset time; determining that the display interface screenshots are similar or identical; when the displaying Controls the power saving settings when the screen shots are determined to be similar or identical.
根据本公开的一个实施例,提供一种控制节电设置装置,包括:According to an embodiment of the present disclosure, a control power saving setting apparatus is provided, including:
截图模块;判断模块;节电模块;截图模块在第一预设时间内采集至少两张显示界面截图;判断模块比较所述显示界面截图模块采集的所述显示界面截图,确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,所述节电模块控制节电设置。a screenshot module; a determination module; a power saving module; the screenshot module collects at least two display interface screenshots in a first preset time; the determination module compares the display interface screenshots collected by the display interface screenshot module, and determines the display interface screenshot Similar or identical between the two; when the display interface screenshots are determined to be similar or identical, the power saving module controls the power saving setting.
根据本公开的一个实施例,提供一种移动终端,包括:处理器;显示屏;所述处理器与显示屏相连接;所述处理器设置为在第一预设时间内采集所述显示屏上的至少两张显示界面截图;确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,控制节电设置。According to an embodiment of the present disclosure, a mobile terminal is provided, including: a processor; a display screen; the processor is connected to a display screen; and the processor is configured to collect the display screen in a first preset time At least two display interface screenshots are determined; determining that the display interface screenshots are similar or identical; and when the display interface screenshots are determined to be similar or identical, the power saving settings are controlled.
根据本公开的一个实施例,提供一种存储介质,设置为存储程序代码,所述程序代码用于执行如上任一项所述的方法。According to an embodiment of the present disclosure, a storage medium is provided, configured to store program code for performing the method of any of the above.
通过本公开,可以根据屏幕显示内容,准确判断用户是否正在使用终端,从而准确判断控制节电模式的时机。Through the present disclosure, it is possible to accurately determine whether the user is using the terminal according to the screen display content, thereby accurately determining the timing of controlling the power saving mode.
附图说明DRAWINGS
图1根据本公开实施例的控制节电设置的流程图;1 is a flow chart of controlling power saving settings in accordance with an embodiment of the present disclosure;
图2根据本公开实施例的另一种控制节电设置方法流程图; 2 is a flow chart of another method for controlling power saving setting according to an embodiment of the present disclosure;
图3根据本公开的实施例应用一种控制节电设置的装置;3 illustrates an apparatus for controlling a power saving setting in accordance with an embodiment of the present disclosure;
图4根据本公开的实施例应用一种移动终端。4 applies a mobile terminal in accordance with an embodiment of the present disclosure.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种控制节电设置,图1是根据本公开实施例的控制节电设置的流程图,如图1所示,该流程包括如下步骤:In the embodiment, a control power saving setting is provided. FIG. 1 is a flowchart of controlling power saving settings according to an embodiment of the present disclosure. As shown in FIG. 1 , the process includes the following steps:
S102:在第一预设时间内采集至少两张显示界面截图;S102: Collect at least two display interface screenshots in the first preset time;
S104:确定所述显示界面截图之间相似或相同;S104: determining that the display interface screenshots are similar or identical;
S106:当所述显示界面截图之间确定为相似或相同时,控制节电设置。S106: Control the power saving setting when the display interface screenshots are determined to be similar or identical.
通过在第一预设时间内采集至少两张显示界面截图,并确定截图之间相似或相同,可以较为准确的判断当前用户并未积极使用终端,因此可准确判断控制节电设置的时机。By collecting at least two display interface screenshots in the first preset time, and determining that the screenshots are similar or identical, it can be relatively accurately determined that the current user does not actively use the terminal, so the timing of controlling the power saving setting can be accurately determined.
在一个示例性实施例中,所述判断所述显示界面截图之间是否相似包括:计算所述显示界面截图之间的相似值,当所述显示界面截图之间的相似值处于第一预设参考值范围,确定所述显示界面截图之间相似或相同。In an exemplary embodiment, determining whether the display interface screenshots are similar includes: calculating similar values between the display interface screenshots, when similar values between the display interface screenshots are at a first preset The reference value range determines whether the display interface screenshots are similar or identical.
通过计算所述显示界面截图之间的相似值,例如采用感知哈希算法等方式进行计算,可以得到数值来评价图片之间的相似程度。当相似值处于第一预设参考值范围时,能够方便的认定截图之间相似,从而有助于准确判断节电模式开启时机。By calculating the similarity values between the screenshots of the display interface, for example, using a perceptual hash algorithm or the like, a numerical value can be obtained to evaluate the degree of similarity between the images. When the similarity value is in the first preset reference value range, it can be conveniently determined that the screenshots are similar, thereby helping to accurately determine the timing of the power-saving mode.
在一个示例性实施例中,所述计算所述显示界面截图之间的相似值包括:计算第一预设时间内采集的一张截图与第一预设时间内采集的其他每张截图之间的个体相似值,所述显示界面截图之间的相似值等于多个所述个体相似值的平均值。In an exemplary embodiment, the calculating the similarity value between the screenshots of the display interface includes: calculating a screenshot taken during the first preset time and each other screenshot collected in the first preset time The individual similarity value, the similarity value between the display interface screenshots is equal to the average of a plurality of the individual similarity values.
对于采集到两张以上的显示界面截图,特别是多张显示界面截图的情形下,通过计算一张截图与其他每张截图之间的个体相似值,并使用这些相似值的平均值来判断这些截图之间是否相似,可以以较少的计算量实现截图相似或相同的判断,从而有助于准确判断控制节电设置时机。For the capture of more than two screenshots of the display interface, especially for multiple screenshots of the display interface, calculate the individual similarity values between a screenshot and each of the other screenshots, and use these average values to determine these Whether the screenshots are similar or not, the similar or the same judgment of the screenshot can be realized with less calculation amount, thereby helping to accurately determine the timing of controlling the power saving setting.
在一个示例性实施例中,所述确定所述显示界面截图之间相似或相同包括:确定第一预设时间内采集的第一张截图与第一预设时间内采集的其他截图之间相似或相同。In an exemplary embodiment, the determining that the display interface screenshots are similar or identical includes: determining that the first screenshot captured during the first preset time is similar to the other screenshots collected during the first preset time Or the same.
通过第一张截图与其他截图进行比较,来确定所述显示界面截图之间相似或相同,可以更好的评价第一预设时间内,截图变化的整体情况,即在第一预设时间内,界面变化没有达到用户高度可能使用的情形。从而有助于准确判断控制节电设置的时机。Comparing the first screenshot with other screenshots to determine whether the display interface screenshots are similar or identical, and can better evaluate the overall situation of the screenshot change in the first preset time, that is, in the first preset time The interface changes did not reach the level that the user might use. This helps to accurately determine the timing of controlling the power saving settings.
在一个示例性实施例中,所述方法中所述在第一预设时间内采集至少两张显示界面截图,包括:当满足预设条件时,在第一预设时间内采集至少两张显示界面截图;其中,所述预设条件包括下列至少之一:当前显示界面为第三方应用界面;未操作时间大于第二预设时间。 In an exemplary embodiment, the collecting, by the method, the at least two display interface screenshots in the first preset time, including: collecting at least two displays in the first preset time when the preset condition is met a screenshot of the interface; wherein the preset condition includes at least one of the following: the current display interface is a third-party application interface; and the non-operation time is greater than the second preset time.
通过结合未操作时间,能够更加准确的判断用户是否正在使用终端。而判断当前界面是否为第三方用户界面,则针对于用户通常不会在系统界面中长时间使用而不进行操作,因此不需要通过该方法来进行判断。两种方法各有特点,可以考虑结合使用,也可以分别使用,来实现准确判断节电设置开启时机。By combining the unoperated time, it is possible to more accurately determine whether the user is using the terminal. If it is determined whether the current interface is a third-party user interface, the user usually does not use the system interface for a long time without performing an operation, and thus the method does not need to be judged. The two methods have their own characteristics, which can be considered combined or used separately to achieve accurate judgment of the power saving setting on time.
在一个示例性实施例中,所述方法中所述节电设置包括下列至少之一:降低或熄灭当前应用亮度;降低或关闭当前应用音量。In an exemplary embodiment, the power saving setting in the method includes at least one of: reducing or extinguishing a current application brightness; decreasing or turning off a current application volume.
通过改变当前应用亮度以及应用音量,能够实现在当前应用下的节电设置,而不改变系统的相关设置。当用户不使用当前应用时,节电设置不影响用户正常使用,从而更好的实现了控制节电设置时机。By changing the current application brightness and the application volume, the power saving settings under the current application can be realized without changing the related settings of the system. When the user does not use the current application, the power saving setting does not affect the normal use of the user, thereby better realizing the timing of controlling the power saving setting.
在一个示例性实施例中,所述控制节电设置包括:通过所述显示界面截图之间相似度表示所述在截图之间相似程度;根据所述相似程度,控制节电设置。In an exemplary embodiment, the controlling power saving setting includes: indicating a degree of similarity between the screenshots by the similarity between the screenshots of the display interface; controlling the power saving setting according to the degree of similarity.
当判断当前截图之间处于相似但程度不高,例如通过感知哈希算法计算出指纹在大于等于6,小于10的区间时,可以降低当前应用亮度。此时用户正在使用设备的可能性较低,通过降低当前应用亮度可以在满足用户使用与判断控制节电设置中间取得平衡的效果。When it is judged that the current screenshots are similar but the degree is not high, for example, when the fingerprint is calculated by the perceptual hash algorithm in the interval of 6 or more and less than 10, the current application brightness can be lowered. At this time, the possibility that the user is using the device is low, and by lowering the current application brightness, the balance between the user's use and the judgment control power saving setting can be achieved.
当判断到截图之间具有较高的相似程度,例如通过感知哈希算法计算出指纹在大于等于3,小于6的区间时,可以判断此时用户使用界面处于较为静态的场景,通常没有使用音频输出,因此可以减低或关闭当前应用音量。在这种场景下,用户使用的可能性进一步下降,因此进一步降低当前应用亮度。两种方法各有特点,可以考虑结合使用,也可以分别使用,来准确判断节电模式设置时机。When it is judged that there is a high degree of similarity between the screenshots, for example, when the fingerprint is calculated to be greater than or equal to 3 and less than 6 by the perceptual hash algorithm, it can be judged that the user interface is in a relatively static scene at this time, and usually no audio is used. Output, so the current application volume can be reduced or turned off. In this scenario, the likelihood of user usage is further reduced, thus further reducing the current application brightness. Each of the two methods has its own characteristics, which can be considered in combination or separately, to accurately determine the timing of setting the power saving mode.
当判断所述显示界面截图之间高度相似或相同,例如通过感知哈希算法计算出指纹在小于3的区间时,通常能够判定用户已经未使用终端,因此熄灭所述当前应用亮度。能够进一步准确判断控制节电设置时机。When it is judged that the display interface screenshots are highly similar or identical, for example, when the fingerprint is calculated to be less than 3 by the perceptual hash algorithm, it is generally determined that the user has not used the terminal, and thus the current application brightness is extinguished. It is possible to further accurately determine the timing of controlling the power saving setting.
基于相同的发明构思,本公开还提供另一个实施例。The present disclosure also provides another embodiment based on the same inventive concept.
在本实施例中提供了一种控制节电设置方法。图2为根据本实施例的另一种控制节电设置方法流程图。该流程包括:A method of controlling power saving setting is provided in this embodiment. 2 is a flow chart of another method of controlling power saving setting according to the embodiment. The process includes:
S201:调用框架控件接口实现屏幕监听以及物理按键监听,使用计时器来获取用户未操作响应时间。判断用户未操作响应时间是否满足第二预设时间T2。S201: Calling the frame control interface to implement screen monitoring and physical button monitoring, and using a timer to obtain a response time of the user not operating. It is determined whether the response time of the user not operating satisfies the second preset time T2.
通过监听用户未操作时间,来加强通过内容判断用户使用状态的准确性。The accuracy of judging the user's usage status by content is enhanced by monitoring the user's inoperative time.
S202:获取当前用户界面属性,并判断当前界面是否是第三方应用界面。例如在安卓系统中使用ActivityManager获取当前RunningTasks(运行中任务),通过RunningTasks中topActivity的PackageName来获取并判断系统当前界面属性。S202: Acquire a current user interface attribute, and determine whether the current interface is a third-party application interface. For example, in the Android system, use the ActivityManager to obtain the current RunningTasks (running tasks), and use the PackageName of the topActivity in the RunningTasks to obtain and determine the current interface properties of the system.
对于系统应用界面,通常没有长时间使用的需求,也没有会长期输出声音的情况,因此可以不针对系统应用进行监听。For the system application interface, there is usually no need for long-term use, and there is no long-term output of sound, so it is not possible to monitor for system applications.
S203:当累计持续的未操作响应时间达到第二设定时间T2,且当前系统界面为第三方界面时,将会发送系统截图广播,在连续第一时间T1内间隔第三预设时间T3进行显 示界面截图操作,并临时存储这些照片。S203: When the accumulated continuous inoperative response time reaches the second set time T2, and the current system interface is a third-party interface, the system screenshot broadcast is sent, and the third preset time T3 is performed within the consecutive first time T1. Display Screenshots of the interface are displayed and these photos are temporarily stored.
通过对连续第一预设时间内,间隔T3时间进行截图,可以获得在该时间段内,表征应用用户界面的变化情况的截图,以便后续分析处理。通过调整第三预设时间,可以有效增加判断第一时间内界面变化程度的样本,防止因为样本过小带来的误差;或者减少第一时间内界面变化程度的样本,降低计算是否相似的计算量。By taking a screenshot of the interval T3 time for the first consecutive preset time, a screenshot showing the change of the application user interface during the time period can be obtained for subsequent analysis processing. By adjusting the third preset time, it is possible to effectively increase the sample that judges the degree of interface change in the first time, prevent the error caused by the sample being too small, or reduce the sample of the degree of interface change in the first time, and reduce the calculation of whether the calculation is similar. the amount.
(4)采用感知哈希算法获取这些截图之间的相似度,并计算这些截图之间相似度的平均值。(4) Use the perceptual hash algorithm to obtain the similarity between these screenshots, and calculate the average of the similarities between these screenshots.
例如通过计算预设第一时间内获取的第一张截图与第一时间内获取的其他每张截图之间的相似度,可以降低计算相似度的运算量。同时采取第一张截图与其他截图进行比对,可以有效判断第一预设时间内用户界面是否处于变化相对不大的状态,如果需要进一步调整判断周期来实现校准准确度,则可以直接通过调整预设第一时间来实现。For example, by calculating the similarity between the first screenshot acquired in the first time and the other screenshots acquired in the first time, the calculation amount of calculating the similarity can be reduced. At the same time, the first screenshot is compared with other screenshots, which can effectively judge whether the user interface is in a relatively small change state within the first preset time. If further adjustment of the judgment period is needed to achieve calibration accuracy, the adjustment can be directly adjusted. Preset the first time to achieve.
(5)将获取的相似度的平均值与设定值进行比较,满足条件则启动节电模式,进而达到节电的要求。(5) The average value of the acquired similarity is compared with the set value, and when the condition is satisfied, the power saving mode is started, thereby achieving the power saving requirement.
当用户界面变化相对不大时,则结合用户长时间未操作的情况,认为该情景下用户已经处于不使用该应用的状态,故启动节电模式。同时根据相似度的不同,采用不同的节电设置,能达到准确判断节点设置与用户使用的平衡,更好的实现判断控制节电设置的时机。When the user interface changes relatively little, the user is considered to be in a state in which the user is not using the application in the case where the user has not operated for a long time, so the power saving mode is started. At the same time, according to the similarity degree, different power saving settings can be used to accurately determine the balance between the node setting and the user's use, and better realize the timing of judging and controlling the power saving setting.
在本实施例中提供了一种控制节电设置装置,图3是根据本公开实施例的控制节电设置装置模块图。如图3所示,该装置包括如下:In the present embodiment, a control power saving setting device is provided, and FIG. 3 is a block diagram of a control power saving setting device according to an embodiment of the present disclosure. As shown in Figure 3, the device includes the following:
截图模块11;判断模块12;节电模块13;截图模块11在第一预设时间内采集至少两张显示界面截图;判断模块12比较所述显示界面截图模块11采集的所述显示界面截图,确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,所述判断模块12发送确定信号至节电模块13,所述节电模块13控制节电设置。The screenshot module 11; the judging module 12; the power saving module 13; the screenshot module 11 collects at least two display interface screenshots in a first preset time; the judging module 12 compares the display interface screenshots collected by the display interface screenshot module 11 Determining that the display interface screenshots are similar or identical; when the display interface screenshots are determined to be similar or identical, the determining module 12 sends a determination signal to the power saving module 13, and the power saving module 13 controls power saving. Settings.
通过在第一预设时间内采集至少两张显示界面截图,并确定截图之间相似或相同,可以较为准确的判断当前用户并未积极使用终端,因此可实现准确判断控制节电设置的时机。By collecting at least two display interface screenshots in the first preset time, and determining that the screenshots are similar or identical, it can be relatively accurately determined that the current user does not actively use the terminal, so that the timing of accurately controlling the power saving setting can be realized.
在一个示例性实施例中,所述装置,还包括:决策模块;所述决策模块检测到满足预设条件时,通知所述显示界面截图模块开始进行采集操作。所述预设条件包括下列至少之一:当前显示界面为第三方应用显示界面;未操作时间大于第二预设时间。In an exemplary embodiment, the apparatus further includes: a decision module; and when the determining module detects that the preset condition is met, notifying the display interface screenshot module to start an acquisition operation. The preset condition includes at least one of the following: the current display interface is a third-party application display interface; and the non-operation time is greater than the second preset time.
通过结合未操作时间,能够更加准确的判断用户是否正在使用终端。而判断当前界面是否为第三方用户界面,则针对于用户通常不会在系统界面中长时间使用而不进行操作,因此不需要通过该方法来进行判断。两种方法各有特点,可以考虑结合使用,也可以分别使用,来准确判断节电模式开启时机。By combining the unoperated time, it is possible to more accurately determine whether the user is using the terminal. If it is determined whether the current interface is a third-party user interface, the user usually does not use the system interface for a long time without performing an operation, and thus the method does not need to be judged. The two methods have their own characteristics, which can be considered in combination or separately, to accurately determine the timing of the power-saving mode.
在本实施例中提供了一种移动终端,图4是根据本公开实施例的移动终端模块图。如图4所示,该终端包括:处理器21;显示屏22;所述处理器21与显示屏22相连接;所述处理器21设置为在第一预设时间内采集所述显示屏22上的至少两张显示界面截图;确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,控 制节电设置。In the embodiment, a mobile terminal is provided, and FIG. 4 is a diagram of a mobile terminal module according to an embodiment of the present disclosure. As shown in FIG. 4, the terminal includes: a processor 21; a display screen 22; the processor 21 is connected to the display screen 22; the processor 21 is configured to collect the display screen 22 within a first preset time. At least two display interface screenshots; determining that the display interface screenshots are similar or identical; when the display interface screenshots are determined to be similar or identical, the control Power saving settings.
通过在第一预设时间内采集至少两张显示界面截图,并确定截图之间相似或相同,可以较为准确的判断当前用户并未积极使用终端,因此可实现准确判断控制节电设置的时机。By collecting at least two display interface screenshots in the first preset time, and determining that the screenshots are similar or identical, it can be relatively accurately determined that the current user does not actively use the terminal, so that the timing of accurately controlling the power saving setting can be realized.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present disclosure are intended to be included within the scope of the present disclosure.
工业实用性Industrial applicability
本公开实施例提供的控制节电设置方法,通过在预设时段内获取多个显示界面截图,对比显示界面截图之间的相似度,结合用户操作情况,可以准确判断启用控制节电设置的时机,节省装置电力,减少对用户正常使用的影响,提升用户体验。 The method for controlling the power saving setting provided by the embodiment of the present disclosure can accurately determine the timing of enabling the control power saving setting by acquiring a plurality of display interface screenshots in a preset time period, comparing the similarity between the screenshots of the display interface, and combining the user operation conditions. It saves device power, reduces the impact on users' normal use, and enhances user experience.

Claims (11)

  1. 一种控制节电设置方法,其中,包括:A method for controlling power saving setting, comprising:
    在第一预设时间内采集至少两张显示界面截图;Collecting at least two display interface screenshots in the first preset time;
    确定所述显示界面截图之间相似或相同;Determining that the display interface screenshots are similar or identical;
    当所述显示界面截图之间确定为相似或相同时,控制节电设置。The power saving setting is controlled when the display interface screenshots are determined to be similar or identical.
  2. 如权利要求1所述方法,其中,所述确定所述显示界面截图之间相似或相同包括:The method of claim 1 wherein said determining said display interface screenshots to be similar or identical comprises:
    计算所述显示界面截图之间的相似值,当所述相似值处于第一预设参考值范围,确定所述显示界面截图之间相似或相同。Calculating a similarity value between the screenshots of the display interface. When the similarity value is in the first preset reference value range, determining that the display interface screenshots are similar or identical.
  3. 如权利要求2所述方法,其中,所述计算所述显示界面截图之间的相似值包括:The method of claim 2 wherein said calculating said similar values between said screenshots of said display interface comprises:
    计算所述第一预设时间内采集的一张显示界面截图与所述第一预设时间内采集的其他每张显示界面截图之间的个体相似值,所述显示界面截图之间的相似值等于多个所述个体相似值的平均值。Calculating an individual similarity value between a screenshot of a display interface acquired in the first preset time period and another screenshot of each of the display interfaces collected in the first preset time, and a similar value between the screenshots of the display interface Equal to the average of a plurality of said individual similar values.
  4. 如权利要求1所述方法,其中,所述确定所述显示界面截图之间相似或相同,包括:The method of claim 1 wherein said determining said display interface screenshots are similar or identical, comprising:
    确定所述第一预设时间内采集的第一张截图与所述第一预设时间内采集的其他截图之间相似或相同。Determining that the first screenshot captured during the first preset time is similar or identical to the other screenshots collected during the first preset time.
  5. 如权利要求1至4任一项所述方法,所述在第一预设时间内采集至少两张显示界面截图,包括:The method of any one of claims 1 to 4, wherein the capturing at least two display interface screenshots in the first preset time comprises:
    当满足预设条件时,在第一预设时间内采集至少两张显示界面截图;When the preset condition is met, at least two display interface screenshots are collected in the first preset time;
    其中,所述预设条件包括下列至少之一:The preset condition includes at least one of the following:
    当前显示界面为第三方应用界面;The current display interface is a third-party application interface;
    未操作时间大于第二预设时间。The no operation time is greater than the second preset time.
  6. 如权利要求1至4任一项所述方法,所述节电设置包括下列至少之一:The method according to any one of claims 1 to 4, wherein said power saving setting comprises at least one of the following:
    降低或熄灭当前应用亮度;Decrease or extinguish the current application brightness;
    降低或关闭当前应用音量。Decrease or turn off the current application volume.
  7. 如权利要求2或3所述方法,所述控制节电设置包括:The method of claim 2 or 3, wherein the controlling power saving setting comprises:
    通过所述显示界面截图之间的相似度表示所述显示界面截图截图之间的相似程度;The degree of similarity between the screenshots of the display interface is represented by the similarity between the screenshots of the display interface;
    根据所述相似程度,控制节电设置。The power saving setting is controlled according to the degree of similarity.
  8. 一种控制节电设置装置,其中,包括:A control power saving setting device, comprising:
    截图模块;Screenshot module;
    判断模块;Judgment module
    节电模块;Power saving module
    截图模块在第一预设时间内采集至少两张显示界面截图;The screenshot module collects at least two display interface screenshots in the first preset time;
    判断模块比较所述截图模块采集的所述显示界面截图,确定所述显示界面截图之间相似或相同; The determining module compares the screenshots of the display interface collected by the screenshot module, and determines that the screenshots of the display interface are similar or identical;
    当所述显示界面截图之间确定为相似或相同时,所述节电模块控制节电设置。The power saving module controls the power saving setting when the display interface screenshots are determined to be similar or identical.
  9. 如权利要求8所述装置,其中,还包括:The apparatus of claim 8 further comprising:
    决策模块;Decision module
    所述决策模块检测到满足预设条件时,通知所述截图模块开始进行采集操作;When the determining module detects that the preset condition is met, notifying the screenshot module to start the collecting operation;
    所述预设条件包括下列至少之一:The preset condition includes at least one of the following:
    当前显示界面为第三方应用显示界面;The current display interface is a third-party application display interface;
    未操作时间大于第二预设时间。The no operation time is greater than the second preset time.
  10. 一种移动终端,其中,包括:A mobile terminal, comprising:
    处理器;processor;
    显示屏;Display screen
    所述处理器与显示屏相连接;The processor is connected to a display screen;
    所述处理器设置为在第一预设时间内采集所述显示屏上的至少两张显示界面截图;确定所述显示界面截图之间相似或相同;当所述显示界面截图之间确定为相似或相同时,控制节电设置。The processor is configured to collect at least two display interface screenshots on the display screen in a first preset time; determine that the display interface screenshots are similar or identical; when the display interface screenshots are determined to be similar Or the same, control the power saving settings.
  11. 一种存储介质,设置为存储程序代码,所述程序代码用于执行权利要求1至7中任一项所述的方法。 A storage medium arranged to store program code for performing the method of any one of claims 1 to 7.
PCT/CN2017/100319 2016-11-22 2017-09-04 Method, apparatus and mobile terminal for controlling power-saving settings WO2018095106A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611043519.3 2016-11-22
CN201611043519.3A CN108089688A (en) 2016-11-22 2016-11-22 A kind of control economize on electricity setting method, device and mobile terminal

Publications (1)

Publication Number Publication Date
WO2018095106A1 true WO2018095106A1 (en) 2018-05-31

Family

ID=62171656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100319 WO2018095106A1 (en) 2016-11-22 2017-09-04 Method, apparatus and mobile terminal for controlling power-saving settings

Country Status (2)

Country Link
CN (1) CN108089688A (en)
WO (1) WO2018095106A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408384B (en) * 2018-10-16 2022-07-29 网易(杭州)网络有限公司 Software application testing method and device, processor and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762947A (en) * 2008-12-24 2010-06-30 华晶科技股份有限公司 Electricity-saving warning method
CN103810980A (en) * 2014-01-23 2014-05-21 华南理工大学 Image occurrence frequency based liquid crystal display power consumption reducing method
CN105282346A (en) * 2015-11-11 2016-01-27 北京金山安全软件有限公司 Screen power saving method and device and mobile terminal
US20160034019A1 (en) * 2014-07-30 2016-02-04 Samsung Electronics Co., Ltd. Display apparatus and control method for controlling power consumption thereof
CN105448225A (en) * 2016-01-05 2016-03-30 京东方科技集团股份有限公司 Method and apparatus for adjusting screen refreshing frequency, and display

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140002730A1 (en) * 2012-06-28 2014-01-02 Qualcomm Incorporated Adaptive frame rate control
CN104092841B (en) * 2014-07-24 2017-01-25 福州瑞芯微电子股份有限公司 Device, apparatus and method capable of reducing power consumption in reading scene
KR102254679B1 (en) * 2014-08-01 2021-05-21 삼성전자주식회사 Image processing method and image processing apparatus
CN104331146B (en) * 2014-12-02 2018-04-06 上海斐讯数据通信技术有限公司 Electricity-saving control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762947A (en) * 2008-12-24 2010-06-30 华晶科技股份有限公司 Electricity-saving warning method
CN103810980A (en) * 2014-01-23 2014-05-21 华南理工大学 Image occurrence frequency based liquid crystal display power consumption reducing method
US20160034019A1 (en) * 2014-07-30 2016-02-04 Samsung Electronics Co., Ltd. Display apparatus and control method for controlling power consumption thereof
CN105282346A (en) * 2015-11-11 2016-01-27 北京金山安全软件有限公司 Screen power saving method and device and mobile terminal
CN105448225A (en) * 2016-01-05 2016-03-30 京东方科技集团股份有限公司 Method and apparatus for adjusting screen refreshing frequency, and display

Also Published As

Publication number Publication date
CN108089688A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
WO2019120027A1 (en) Screen brightness adjustment method and apparatus, storage medium and mobile terminal
US9418665B2 (en) Method for controlling device and device control system
JP6054507B2 (en) Screen lock time adjusting method, apparatus and electronic terminal
CN107943677B (en) Application performance monitoring method and device, readable storage medium and electronic equipment
CN106713734B (en) Automatic focusing method and device
JP2012520051A (en) Method and apparatus for controlling the state of a communication system
CN106510720B (en) User state prompting method and device
US20130155217A1 (en) Audio player and control method thereof
WO2016134572A1 (en) Screen adjusting method and apparatus, and terminal
CN108510964B (en) Screen brightness adjusting range adjusting method and device, terminal and storage medium
WO2018193934A1 (en) Evaluation apparatus, evaluation method, and program therefor
CN104301484A (en) Method for showing mobile phone program change process
CN107943570B (en) Application management method and device, storage medium and electronic equipment
CN107422703B (en) Equipment control method and device
WO2022001475A1 (en) Application access processing method and apparatus, terminal, and storage medium
WO2018095106A1 (en) Method, apparatus and mobile terminal for controlling power-saving settings
CN106375809B (en) Volume adjusting method and device and storage medium
CN106126179B (en) Information processing method and electronic equipment
CN112445358A (en) Adjusting method, terminal and computer storage medium
CN105376351A (en) Screen display method and device, and screen
TWI557629B (en) System and method for automatically adjusting display ratio of user interface
CN111637975B (en) Wrist temperature measuring method and device, wearable device and storage medium
CN106095637B (en) Intelligent terminal control method and device and intelligent terminal
US9952189B1 (en) Identifying inaccuracy in air quality detection
CN108449560B (en) Video recording method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17873052

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17873052

Country of ref document: EP

Kind code of ref document: A1