Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for dynamically monitoring a screen in view of the above prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a screen dynamic monitoring method is used for monitoring and controlling screen power consumption of a mobile terminal, and is characterized by comprising the following steps 1 to 11:
step 1, presetting a preset monitoring time period of the mobile terminal aiming at the power consumption of a screen of the mobile terminal, and acquiring the illumination intensity of the current surrounding environment of the mobile terminal in the preset monitoring time period by the mobile terminal to obtain an illumination intensity database of the current surrounding environment of the mobile terminal;
the preset monitoring time period is marked as T, the total number of the illumination intensity data in the illumination intensity database of the current surrounding environment where the mobile terminal is located obtained in the preset monitoring time period T is W, and the W-th illumination intensity data in the illumination intensity database is marked as Lightw;1≤w≤W;
Step 2, the mobile terminal obtains an illumination intensity gradient index of the current surrounding environment of the mobile terminal according to the obtained illumination intensity database of the current surrounding environment of the mobile terminal and a preset monitoring time period;
wherein, the gradual change index of the illumination intensity of the current surrounding environment where the mobile terminal is located is marked as delta:
step 3, the mobile terminal starts program self-checking work to monitor the application software in the running state in the mobile terminal, obtains the software name in the running state and the corresponding sampling power consumption value of each application software in the running state in the preset monitoring time period, and respectively constructs a power consumption monitoring database aiming at each application software in the running state;
the total number of the application Software monitored by the mobile terminal in the running state is marked as M, and the mth application Software in the running state is marked as Software
mSoftware
mThe power consumption monitoring database mark in the preset monitoring time period T is E
m,
Software for representing applications
mThe ith sampled power consumption value of (1); i is more than or equal to 1 and less than or equal to I, and I represents a power consumption monitoring database E
mNumber of sampled power consumption values within; m is more than or equal to 1 and less than or equal to M;
step 4, the mobile terminal obtains power consumption fluctuation indexes aiming at the application software in the running state according to the illumination intensity gradient index of the current surrounding environment where the mobile terminal is located and the obtained power consumption monitoring database of the application software in the running state;
wherein, the power consumption fluctuation index of the mark aiming at each application software in the running state is epsilon:
wherein, δ is an illumination intensity gradient index of the surrounding environment where the mobile terminal is located; i denotes a power consumption monitoring database EmThe number of the sampled power consumption values in the mobile terminal is W, and W is the total number of the illumination intensity data in the illumination intensity database of the current surrounding environment where the mobile terminal is located;
step 5, the mobile terminal obtains the environmental temperature data of the current surrounding environment and the terminal temperature data of the mobile terminal in a preset monitoring time period to obtain an environmental temperature database of the surrounding environment of the mobile terminal and a terminal temperature database of the mobile terminal, and obtains a temperature control influence factor of the power consumption of the screen of the mobile terminal according to the environmental temperature database and the terminal temperature database;
the total number of the environment temperature data in the environment temperature database marking the current surrounding environment of the mobile terminal is R, and the R-th environment temperature data in the environment temperature database is marked as TEMrR is more than or equal to 1 and less than or equal to R; marking the total number of terminal temperature data in a terminal self temperature database of the mobile terminal as Y, and marking the terminal temperature data of the yth terminal in the terminal self temperature database as temyY is more than or equal to 1 and less than or equal to Y; the temperature control influence factor of the mobile terminal screen power consumption is marked as kappa:
step 6, the mobile terminal obtains fog concentration data of the current surrounding environment of the mobile terminal in a preset monitoring time period to obtain a fog concentration database of the current surrounding environment of the mobile terminal, and obtains a fog influence factor of fog in the current surrounding environment on a screen of the mobile terminal;
wherein the total number of the Mist concentration data in the Mist concentration database marking the current surrounding environment where the mobile terminal is located is X, and the xth Mist concentration data in the Mist concentration database is marked as MistxX is more than or equal to 1 and less than or equal to X; the fog influence factor of fog on the screen of the mobile terminal in the current surrounding environment is marked as zeta:
step 7, the mobile terminal acquires pressure data of operator touch pressure applied to a screen of the mobile terminal and corresponding finger skin temperature data when the operator applies each touch pressure within a preset monitoring time period, and acquires a touch pressure database and a finger skin touch temperature database when the mobile terminal is influenced by the operator touch pressure, and acquires a touch influence index of the current operator on the screen of the mobile terminal;
wherein, the total number of the touch Pressure data marked in the touch Pressure database is G, and the G-th touch Pressure data marked in the touch Pressure database is Pressure
gG is more than or equal to 1 and less than or equal to G; marking the total number of the finger skin temperature data in the finger skin touch temperature database as U, and marking the U-th finger skin touch temperature data in the finger skin touch temperature database as tem'
uU is more than or equal to 1 and less than or equal to U; the touch influence index of the current operator on the screen of the mobile terminal is marked as
Among them, PressureMaxRepresenting a maximum value, Pressure, of touch Pressure data within said touch Pressure databaseMinRepresenting a minimum of touch pressure data within the touch pressure database; tem's'MaxRepresenting a maximum value, tem ', of finger skin touch temperature data within the finger skin touch temperature database'MinRepresenting a minimum value of finger skin touch temperature data in the finger skin touch temperature database;
step 8, the mobile terminal acquires humidity data of the screen surface within a preset monitoring time period to obtain a screen humidity database aiming at the mobile terminal screen, and calculates a screen display humidity influence factor of the screen surface humidity on the screen display of the mobile terminal;
marking the total quantity of humidity data in the screen humidity database to be J, and marking the jth humidity data in the screen humidity database to be Lixj,1≤J is less than or equal to J; the screen displays a humidity impact factor labeled θ:
step 9, the mobile terminal monitors the times of touch pressure borne by the screen of the mobile terminal in real time within the preset monitoring time period to obtain the touch frequency of the touch pressure borne by the screen of the mobile terminal, and the mobile terminal obtains the adjusted refresh frequency of the screen of the mobile terminal according to the obtained touch frequency and the preset refresh frequency of the screen of the mobile terminal;
marking the number of times of touch pressure on the screen of the mobile terminal as C, the touch frequency of the screen of the mobile terminal as f, and presetting a refresh frequency mark on the screen of the mobile terminal as f0The refresh frequency of the mobile terminal screen after adjustment is marked as f1:
Step 10, the mobile terminal obtains a self-adaptive screen power consumption adjusting value of the mobile terminal for the screen power consumption according to the obtained illumination intensity gradient index, the power consumption fluctuation index, the temperature control influence factor, the fog influence factor, the touch control influence index of the current operator on the screen of the mobile terminal, the obtained screen display humidity influence factor and the adjusted refreshing frequency of the screen of the mobile terminal;
the self-adaptive screen power consumption adjusting value of the mobile terminal is marked as x:
wherein min (| κ - θ |, | ζ - θ |) represents the minimum of the value | κ - θ | and the value | ζ - θ |;
step 11, the mobile terminal obtains the power consumption value of the screen at the current moment, adjusts the power consumption value of the screen of the mobile terminal at the next moment of the current moment by using the self-adaptive power consumption adjustment value of the screen, and executes screen display response according to the power consumption value of the screen at the next moment;
wherein the current time mark is t
1The current time t
1Is marked by t at the next moment
2The screen of the mobile terminal is at the current moment t
1Is marked as a screen power consumption value
The screen of the mobile terminal is at the next moment t
2Has a screen power consumption value of
Optionally, in the screen dynamic monitoring method, the mobile terminal is a smart phone or a tablet computer.
Further, the screen of the mobile terminal is preset with a refresh frequency f0=120Hz。
In an improved manner, in the screen dynamic monitoring method, the preset monitoring time period T is 13 min.
Compared with the prior art, the invention has the advantages that:
firstly, aiming at the problem of power consumption adjustment of a screen of a mobile terminal, the invention obtains the illumination intensity gradient index aiming at representing the current surrounding environment according to the illumination intensity in the surrounding environment obtained by the mobile terminal, so that the mobile terminal can realize the balance among the power consumption of the screen, the screen display and the illumination intensity of the surrounding environment through self adjustment of the mobile terminal after considering the obtained illumination intensity gradient index of the current environment, and the utilization rate of the energy consumption of the mobile terminal is improved;
secondly, acquiring the name of each started application software in the mobile terminal and the power consumption situation corresponding to the started application software, and then acquiring the power consumption corresponding to each application software, and then acquiring the power consumption fluctuation index which is fused with ambient lighting factors and aims at each application software in a running state, so that the mobile terminal can adjust the power consumption of the mobile terminal by using the power consumption fluctuation index, the power consumption of unnecessary application software is reduced, and the power consumption of the mobile terminal during screen display is enhanced;
thirdly, obtaining a temperature control influence factor of the power consumption of the screen of the mobile terminal by utilizing the obtained temperature data of the surrounding environment of the mobile terminal and the temperature data of the mobile terminal; obtaining a fog influence factor of fog in the current surrounding environment on a screen of the mobile terminal by using the obtained fog concentration data of the surrounding environment of the mobile terminal; calculating to obtain a touch influence index of the current operator on the screen of the mobile terminal by obtaining the skin temperature of fingers touching the screen of the mobile terminal by the operator and the touch pressure condition of the screen of the mobile terminal; obtaining a screen display humidity influence factor of the humidity on the screen surface of the mobile terminal by utilizing the obtained humidity data on the screen surface of the mobile terminal; the mobile terminal obtains the adjusted refreshing frequency of the screen of the mobile terminal according to the obtained touch frequency and the preset refreshing frequency of the screen of the mobile terminal, so that when the power consumption of the screen of the mobile terminal is adjusted, the mobile terminal can correspondingly adjust the power consumption of the screen of the mobile terminal according to the obtained temperature control influence factor, fog influence factor, touch control influence index and screen display humidity influence factor;
and finally, the main factors influencing screen display, such as the gradual change index of the illumination intensity, the power consumption fluctuation index, the temperature control influence factor, the fog influence factor, the touch control influence index of the current operator on the screen of the mobile terminal, the obtained screen display humidity influence factor, the adjusted refreshing frequency of the screen of the mobile terminal and the like are fully blended to obtain the self-adaptive screen power consumption adjustment value of the mobile terminal aiming at the screen power consumption, so that the real situation of the screen of the mobile terminal after power consumption adjustment is influenced by various factors is more accurately reflected, the power consumption value of the screen of the mobile terminal can be more accurately adjusted, and the monitoring and control of the power consumption of the screen of the mobile terminal are realized.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
As shown in fig. 1, the screen dynamic monitoring method in this embodiment is used for monitoring and controlling the screen power consumption of the mobile terminal, and the screen dynamic monitoring method includes the following steps 1 to 11:
step 1, presetting a preset monitoring time period of the mobile terminal aiming at the power consumption of a screen of the mobile terminal, and acquiring the illumination intensity of the current surrounding environment of the mobile terminal in the preset monitoring time period by the mobile terminal to obtain an illumination intensity database of the current surrounding environment of the mobile terminal; the preset monitoring time period is marked as T, and the preset monitoring time period T in the embodiment is set to be 13 min; the total number of the illumination intensity data in the illumination intensity database of the current surrounding environment where the mobile terminal is located obtained in the preset monitoring time period T is W, and the W-th illumination intensity data in the illumination intensity database is marked as Lightw(ii) a W is more than or equal to 1 and less than or equal to W; the mobile terminal can be a smart phone or a tablet computer, and the mobile terminal in the embodiment adopts the smart phone;
step 2, the mobile terminal obtains an illumination intensity gradient index of the current surrounding environment of the mobile terminal according to the obtained illumination intensity database of the current surrounding environment of the mobile terminal and a preset monitoring time period; the illumination intensity gradient index of the current surrounding environment where the mobile terminal is located is marked as delta:
because the display of the screen of the mobile terminal is influenced by the illumination of the surrounding environment, in the embodiment, the illumination intensity gradient index for representing the current surrounding environment is obtained according to the illumination intensity in the surrounding environment obtained by the mobile terminal, so that the mobile terminal can know the illumination change condition of the surrounding environment, and further, after the obtained illumination intensity gradient index of the current environment is considered, the balance among the power consumption of the screen, the screen display and the illumination intensity of the surrounding environment is realized through the self adjustment of the mobile terminal, and the utilization rate of the energy consumption of the mobile terminal is improved;
step 3, the mobile terminal starts program self-checking work to monitor the application software in the running state in the mobile terminal, obtains the software name in the running state and the corresponding sampling power consumption value of each application software in the running state within a preset monitoring time period T, and respectively constructs a power consumption monitoring database aiming at each application software in the running state;
the total number of the application Software monitored by the mobile terminal in the running state is marked as M, and the mth application Software in the running state is marked as Software
mSoftware
mThe power consumption monitoring database mark in the preset monitoring time period T is E
m,
Software for representing applications
mThe ith sampled power consumption value of (1); i is more than or equal to 1 and less than or equal to I, and I represents a power consumption monitoring database E
mNumber of sampled power consumption values within; m is more than or equal to 1 and less than or equal to M;
step 4, the mobile terminal obtains power consumption fluctuation indexes aiming at the application software in the running state according to the illumination intensity gradient index of the current surrounding environment where the mobile terminal is located and the obtained power consumption monitoring database of the application software in the running state; wherein, the power consumption fluctuation index of the mark aiming at each application software in the running state is epsilon:
wherein, δ is an illumination intensity gradient index of the surrounding environment where the mobile terminal is located; i denotes a power consumption monitoring database EmInternal miningThe number of the sample power consumption values, W is the total number of the illumination intensity data in the illumination intensity database of the current surrounding environment where the mobile terminal is located;
based on that, each application software in the mobile terminal consumes the energy of the mobile terminal after being started, in the step 3, by acquiring the name of each started application software in the mobile terminal and the power consumption situation corresponding to the started application software, after the power consumption corresponding to each application software is obtained, the power consumption fluctuation index which is fused with the ambient light factor and is specific to each application software in the running state is obtained, so that the mobile terminal can adjust the power consumption of the mobile terminal by using the power consumption fluctuation index, reduce the power consumption of unnecessary application software, and enhance the power consumption of the mobile terminal when a screen is displayed;
step 5, the mobile terminal obtains the environmental temperature data of the current surrounding environment and the terminal temperature data of the mobile terminal in a preset monitoring time period to obtain an environmental temperature database of the surrounding environment of the mobile terminal and a terminal temperature database of the mobile terminal, and obtains a temperature control influence factor of the power consumption of the screen of the mobile terminal according to the environmental temperature database and the terminal temperature database; wherein, the total number of the environment temperature data in the environment temperature database marking the current surrounding environment of the mobile terminal is R, and the R-th environment temperature data in the environment temperature database is marked as TEMr,1≤r≤R;
The total number of the terminal temperature data in the terminal self temperature database of the mobile terminal is marked as Y, and the terminal temperature data at the Y th position in the terminal self temperature database is marked as temyY is more than or equal to 1 and less than or equal to Y; the temperature control influence factor of the mobile terminal screen power consumption is marked as k:
because the power consumption of the mobile terminal during working is not only influenced by the temperature in the surrounding environment, but also influenced by the temperature of the mobile terminal, in the embodiment, the temperature control influence factor of the power consumption of the screen of the mobile terminal is obtained by utilizing the obtained temperature data of the surrounding environment of the mobile terminal and the temperature data of the mobile terminal, and the internal and external environment temperature conditions of the mobile terminal are considered simultaneously due to the calculation and acquisition of the temperature control influence factor, so that the power consumption of the screen of the mobile terminal is adjusted, the power consumption output special for the screen can be increased or reduced by the mobile terminal according to the size of the temperature control influence factor, and the self-adaptive adjustment of the mobile terminal for the power consumption of the screen is realized;
step 6, the mobile terminal obtains fog concentration data of the current surrounding environment of the mobile terminal in a preset monitoring time period to obtain a fog concentration database of the current surrounding environment of the mobile terminal, and obtains a fog influence factor of fog in the current surrounding environment on a screen of the mobile terminal; wherein, the total number of the fog concentration data in the fog concentration database marking the current surrounding environment of the mobile terminal is X, and the xth fog concentration data in the fog concentration database is marked as MistxX is more than or equal to 1 and less than or equal to X; the fog influence factor of fog on the screen of the mobile terminal in the current surrounding environment is marked as zeta:
because the power consumption of the mobile terminal during working is influenced by the fog factors in the surrounding environment, the fog can increase the power consumption of the screen of the mobile terminal to a certain extent and can also cause the display effect of the screen of the mobile terminal to be fuzzy; therefore, in the embodiment, the mist concentration data of the surrounding environment of the mobile terminal is used to obtain the mist influence factor of the mist in the current surrounding environment on the screen of the mobile terminal, so that when the power consumption of the screen of the mobile terminal is adjusted, the mobile terminal can increase or reduce the power consumption output specially for the screen by additionally considering the size of the mist influence factor, and the self-adaptive adjustment of the mobile terminal for the power consumption of the screen is further realized;
step 7, the mobile terminal acquires pressure data of operator touch pressure applied to a screen of the mobile terminal and corresponding finger skin temperature data when the operator applies each touch pressure within a preset monitoring time period, and acquires a touch pressure database and a finger skin touch temperature database when the mobile terminal is influenced by the operator touch pressure, and acquires a touch influence index of the current operator on the screen of the mobile terminal;
wherein, the total number of the touch Pressure data in the touch Pressure database is marked as G, and the G-th touch Pressure data in the touch Pressure database is marked as Pressure
gG is more than or equal to 1 and less than or equal to G; marking the total number of the finger skin temperature data in the finger skin touch temperature database as U, and marking the U-th finger skin touch temperature data in the finger skin touch temperature database as tem'
uU is more than or equal to 1 and less than or equal to U; touch influence index mark of current operator on mobile terminal screen
Among them, PressureMaxRepresenting the maximum value of the touch Pressure data in the touch Pressure database, PressureMinRepresenting a minimum value of the touch pressure data in the touch pressure database; tem's'MaxRepresents the maximum value of finger skin touch temperature data in the finger skin touch temperature database, tem'MinRepresenting the minimum value of the finger skin touch temperature data in the finger skin touch temperature database;
in the touch control use process of an operator for a mobile terminal screen, the skin temperature of the fingers of the operator can affect the power consumption of the mobile terminal screen, for example, when the skin temperature of the fingers is too low, the mobile terminal is required to increase the power consumption for the screen display of the mobile terminal, and when the skin temperature of the fingers is too high, the mobile terminal is required to reduce the power consumption for the screen display of the mobile terminal; therefore, the touch influence index of the current operator on the screen of the mobile terminal is calculated by acquiring the skin temperature of the finger touching the screen of the mobile terminal by the operator and the touch pressure condition on the screen of the mobile terminal, so that the mobile terminal can automatically adjust the power consumption output aiming at the screen of the mobile terminal according to the obtained touch influence index, and the mobile terminal is prevented from consuming unnecessary energy;
step 8, the mobile terminal acquires humidity data of the screen surface within a preset monitoring time period to obtain a screen humidity database aiming at the mobile terminal screen, and calculates a screen display humidity influence factor of the screen surface humidity on the screen display of the mobile terminal; wherein, the total quantity of the humidity data in the marked screen humidity database is J, and the jth humidity data in the marked screen humidity database is LixjJ is more than or equal to 1 and less than or equal to J; the screen displays the humidity impact factor labeled θ:
because the power consumption of the mobile terminal during working is influenced by the humidity factor on the surface of the screen of the mobile terminal, the humidity factor can increase the power consumption of the screen of the mobile terminal to a great extent and can also cause the display effect of the screen of the mobile terminal to be fuzzy; therefore, in the embodiment, the influence factor of the humidity on the screen display humidity of the screen of the mobile terminal due to the humidity on the screen surface of the mobile terminal is obtained by using the obtained humidity data on the screen surface of the mobile terminal, so that when the power consumption of the screen of the mobile terminal is adjusted, the mobile terminal can adaptively adjust the power consumption output aiming at the screen by additionally considering the influence factor of the screen display humidity, and the mobile terminal can adaptively adjust the power consumption aiming at the screen;
step 9, the mobile terminal monitors the times of touch pressure borne by the screen of the mobile terminal in real time within a preset monitoring time period to obtain the touch frequency of the touch pressure borne by the screen of the mobile terminal, and the mobile terminal obtains the adjusted refresh frequency of the screen of the mobile terminal according to the obtained touch frequency and the preset refresh frequency of the screen of the mobile terminal; wherein the touch received by the screen of the mobile terminal is markedThe pressure control frequency is C, the touch frequency of the screen of the mobile terminal is f, and the preset refreshing frequency mark of the screen of the mobile terminal is f0The refresh frequency of the mobile terminal screen after adjustment is marked as f1:
In this embodiment, the preset refresh frequency f of the screen of the mobile terminal is set0=120Hz;
In the actual display process of the mobile terminal screen, the refreshing frequency of the mobile terminal screen not only influences the visual effect of an operator on the screen, but also influences the power consumption of the mobile terminal screen by judging whether the refreshing frequency is suitable for various internal and external or external factors influencing the screen; based on such consideration, in this embodiment, the adjusted refresh frequency of the screen of the mobile terminal is obtained through the mobile terminal according to the obtained touch frequency and the preset refresh frequency of the screen of the mobile terminal, and is used as the input quantity for calculating the adaptive screen power consumption adjustment value of the mobile terminal for the screen power consumption in the subsequent step 10, so that the obtained adaptive screen power consumption adjustment value fully considers various factors that may affect the screen power consumption of the mobile terminal, and the power consumption utilization rate of the mobile terminal is effectively improved;
step 10, the mobile terminal obtains a self-adaptive screen power consumption adjusting value of the mobile terminal for the screen power consumption according to the obtained illumination intensity gradient index, the power consumption fluctuation index, the temperature control influence factor, the fog influence factor, the current touch control influence index of an operator on the screen of the mobile terminal, the obtained screen display humidity influence factor and the adjusted refreshing frequency of the screen of the mobile terminal; the self-adaptive screen power consumption adjusting value of the mobile terminal is marked as x:
wherein min (| κ - θ |, | ζ - θ |) represents the minimum of the value | κ - θ | and the value | ζ - θ |;
the self-adaptive screen power consumption adjusting value of the mobile terminal for the screen power consumption obtained in the embodiment sufficiently incorporates screen display main factors such as an illumination intensity gradient index, a power consumption fluctuation index, a temperature control influence factor, a fog influence factor, a touch control influence index of a current operator on a screen of the mobile terminal, an obtained screen display humidity influence factor and a refresh frequency of the screen of the mobile terminal after adjustment, so that the obtained self-adaptive screen power consumption adjusting value more accurately reflects the real condition of the screen of the mobile terminal after power consumption adjustment after influence of various factors, and the mobile terminal can more accurately adjust the power consumption value of the screen;
step 11, the mobile terminal obtains the power consumption value of the screen at the current moment, adjusts the power consumption value of the screen of the mobile terminal at the next moment of the current moment by using the self-adaptive power consumption adjustment value of the screen, and executes screen display response according to the power consumption value of the screen at the next moment; wherein the current time is marked as t
1At the current time t
1Is marked by t at the next moment
2The mobile terminal screen is at the current time t
1Is marked as a screen power consumption value
The screen of the mobile terminal is at the next moment t
2Has a screen power consumption value of
Although preferred embodiments of the present invention have been described in detail hereinabove, it should be clearly understood that modifications and variations of the present invention are possible to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.