Power saving processing method, mobile device and computer-readable storage medium

文档序号:739803 发布日期:2021-04-20 浏览:4次 中文

阅读说明:本技术 省电处理方法、移动设备和计算机可读存储介质 (Power saving processing method, mobile device and computer-readable storage medium ) 是由 王立中 于 2018-11-12 设计创作,主要内容包括:一种省电处理方法,包括:获取移动设备当前的第一状态属性值;将所述第一状态属性值与状态属性集合中的第二状态属性值比较,所述状态属性集合用于记录对所述移动设备省电操作的历史状态属性值;及当所述第一状态属性值与所述第二状态属性值相匹配时,对所述移动设备执行省电处理。(A power saving processing method comprises the following steps: acquiring a current first state attribute value of the mobile equipment; comparing the first state attribute value to a second state attribute value in a set of state attributes, the set of state attributes being used to record historical state attribute values for power saving operation of the mobile device; and when the first state attribute value is matched with the second state attribute value, performing power saving processing on the mobile equipment.)

A power saving processing method is characterized by comprising the following steps:

acquiring a current first state attribute value of the mobile equipment;

comparing the first state attribute value to a second state attribute value in a set of state attributes, the set of state attributes being used to record historical state attribute values for power saving operation of the mobile device; and

when the first state attribute value matches the second state attribute value, performing power saving processing on the mobile device.

The method of claim 1, wherein comparing the first state attribute value to the second state attribute value comprises:

comparing a first associated attribute value of the first state attribute values to a corresponding first associated attribute value of the second state attribute values;

comparing a second associated attribute value of the first state attribute values to a corresponding second associated attribute value of the second state attribute values; and

when the first associated attribute values all match and at least one of the second associated attribute values match, indicating that the first state attribute value matches the second state attribute value;

and the correlation strength corresponding to the first correlation attribute value is greater than the correlation strength corresponding to the second correlation attribute value.

The method of claim 2, further comprising:

when the absolute value of the difference between a first associated attribute value in the first state attribute values and a corresponding first associated attribute value in the second state attribute values is smaller than a first threshold value, the first associated attribute values are matched;

and when the absolute value of the difference between a second associated attribute value in the first state attribute values and a corresponding second associated attribute value in the second state attribute values is smaller than a second threshold value, the second associated attribute values are matched.

The method of claim 1, wherein performing power saving processing on the mobile device when the first state attribute value matches the second state attribute value comprises:

when the first state attribute value is matched with the second state attribute value, acquiring a power saving operation mode corresponding to the second state attribute value;

and executing power saving processing on the mobile equipment according to the power saving operation mode.

The method of claim 4, wherein obtaining a power saving mode of operation corresponding to the second state attribute value when the first state attribute value matches the second state attribute value comprises:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest matching degree.

The method of claim 4, wherein obtaining a power saving mode of operation corresponding to the second state attribute value when the first state attribute value matches the second state attribute value comprises:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest power saving processing use frequency.

The method of claim 1, wherein performing power saving processing on the mobile device when the first state attribute value matches the second state attribute value comprises:

and when the first state attribute value is matched with the second state attribute value after the continuous preset times, executing power saving processing on the mobile equipment.

The method of claim 1, wherein obtaining the current first state attribute value of the mobile device comprises:

when the mobile device is detected to be in an idle state, the current first state attribute value of the mobile device is obtained.

The method of claim 1, further comprising:

and acquiring a user identifier, and acquiring a corresponding state attribute set according to the user identifier.

A mobile device comprising a memory and a processor, the memory having a computer readable program stored therein, the computer readable program, when executed by the processor, causing the processor to perform the steps of:

acquiring a current first state attribute value of the mobile equipment;

comparing the first state attribute value to a second state attribute value in a set of state attributes, the set of state attributes being used to record historical state attribute values for power saving operation of the mobile device; and

when the first state attribute value matches the second state attribute value, performing power saving processing on the mobile device.

The mobile device of claim 10, wherein comparing the first state attribute value to the second state attribute value comprises:

comparing a first associated attribute value of the first state attribute values to a corresponding first associated attribute value of the second state attribute values;

comparing a second associated attribute value of the first state attribute values to a corresponding second associated attribute value of the second state attribute values; and

when the first associated attribute values all match and at least one of the second associated attribute values match, indicating that the first state attribute value matches the second state attribute value;

and the correlation strength corresponding to the first correlation attribute value is greater than the correlation strength corresponding to the second correlation attribute value.

The mobile device of claim 11, wherein the processor performs the steps of:

when the absolute value of the difference between a first associated attribute value in the first state attribute values and a corresponding first associated attribute value in the second state attribute values is smaller than a first threshold value, the first associated attribute values are matched;

and when the absolute value of the difference between a second associated attribute value in the first state attribute values and a corresponding second associated attribute value in the second state attribute values is smaller than a second threshold value, the second associated attribute values are matched.

The mobile device of claim 10, wherein the processor performs the steps of:

when the first state attribute value is matched with the second state attribute value, acquiring a power saving operation mode corresponding to the second state attribute value;

and executing power saving processing on the mobile equipment according to the power saving operation mode.

The mobile device of claim 13, wherein the processor performs the steps of:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest matching degree.

The mobile device of claim 13, wherein the processor performs the steps of:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest power saving processing use frequency.

The mobile device of claim 10, wherein the processor performs the steps of:

and when the first state attribute value is matched with the second state attribute value after the continuous preset times, executing power saving processing on the mobile equipment.

The mobile device of claim 10, wherein the processor performs the steps of:

when the mobile device is detected to be in an idle state, the current first state attribute value of the mobile device is obtained.

The mobile device of claim 10, wherein the processor performs the steps of:

and acquiring a user identifier, and acquiring a corresponding state attribute set according to the user identifier.

A non-transitory computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of:

acquiring a current first state attribute value of the mobile equipment;

comparing the first state attribute value to a second state attribute value in a set of state attributes, the set of state attributes being used to record historical state attribute values for power saving operation of the mobile device; and

and when the first state attribute value is matched with the second state attribute value, performing power saving processing on the mobile equipment.

The computer-readable storage medium of claim 19, wherein comparing the first state attribute value to the second state attribute value comprises:

comparing a first associated attribute value of the first state attribute values to a corresponding first associated attribute value of the second state attribute values;

comparing a second associated attribute value of the first state attribute values to a corresponding second associated attribute value of the second state attribute values; and

when the first associated attribute values all match and at least one of the second associated attribute values match, indicating that the first state attribute value matches the second state attribute value;

and the correlation strength corresponding to the first correlation attribute value is greater than the correlation strength corresponding to the second correlation attribute value.

The computer-readable storage medium according to claim 20, wherein the program is executed by a processor to:

when the absolute value of the difference between a first associated attribute value in the first state attribute values and a corresponding first associated attribute value in the second state attribute values is smaller than a first threshold value, the first associated attribute values are matched;

and when the absolute value of the difference between a second associated attribute value in the first state attribute values and a corresponding second associated attribute value in the second state attribute values is smaller than a second threshold value, the second associated attribute values are matched.

The computer-readable storage medium of claim 19, wherein performing power saving processing on the mobile device when the first state attribute value matches the second state attribute value comprises:

when the first state attribute value is matched with the second state attribute value, acquiring a power saving operation mode corresponding to the second state attribute value;

and executing power saving processing on the mobile equipment according to the power saving operation mode.

The computer-readable storage medium of claim 22, wherein obtaining a power-saving mode of operation corresponding to the second state attribute value when the first state attribute value matches the second state attribute value comprises:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest matching degree.

The computer-readable storage medium of claim 22, wherein obtaining a power-saving mode of operation corresponding to the second state attribute value when the first state attribute value matches the second state attribute value comprises:

and when a plurality of second state attribute values are matched with the first state attribute value in the state attribute set, acquiring a power saving operation mode corresponding to the second state attribute value with the highest power saving processing use frequency.

The computer-readable storage medium of claim 19, wherein performing power saving processing on the mobile device when the first state attribute value matches the second state attribute value comprises:

and when the first state attribute value is matched with the second state attribute value after the continuous preset times, executing power saving processing on the mobile equipment.

The computer-readable storage medium of claim 19, wherein obtaining a current first state attribute value of a mobile device comprises:

when the mobile device is detected to be in an idle state, the current first state attribute value of the mobile device is obtained.

The computer-readable storage medium of claim 19, wherein the processor is further configured to:

and acquiring a user identifier, and acquiring a corresponding state attribute set according to the user identifier.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:在无线通信系统中的无线通信网络

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!