CN104572150B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN104572150B
CN104572150B CN201310495876.3A CN201310495876A CN104572150B CN 104572150 B CN104572150 B CN 104572150B CN 201310495876 A CN201310495876 A CN 201310495876A CN 104572150 B CN104572150 B CN 104572150B
Authority
CN
China
Prior art keywords
application program
historical
central processing
processing unit
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310495876.3A
Other languages
Chinese (zh)
Other versions
CN104572150A (en
Inventor
陈永斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310495876.3A priority Critical patent/CN104572150B/en
Publication of CN104572150A publication Critical patent/CN104572150A/en
Application granted granted Critical
Publication of CN104572150B publication Critical patent/CN104572150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an information processing method and device, when an instruction for starting an application program is detected, a first configuration required for running the application program is determined; acquiring historical average state parameters of the first configuration corresponding to the application program, wherein the historical average state parameters are determined according to the historical state parameters of the first configuration corresponding to the application program in the historical running process of the application program; and starting the application program, and configuring the historical average state parameter as the state parameter of the first configuration. The method and the device can improve the running speed and reliability of the application program.

Description

Information processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to an information processing method and device.
Background
In order to reduce the power consumption of the electronic device, some performance parameters are generally continuously adjusted according to the state of the application program running in the system of the electronic device. For example, the frequency of the CPU is adjusted or the number of cores on which the CPU is turned on is adjusted according to the utilization rate of the CPU during the running of the application program. For another example, the brightness of the screen is adjusted according to the content displayed by the picture browser.
However, when the performance parameters of the current system cannot meet the running state of the application, the corresponding adjustment is started, which may affect the running speed and the running quality of the application.
Disclosure of Invention
In view of the above, the present invention provides an information processing method and apparatus to improve the running speed and the running quality of an application.
In order to achieve the purpose, the invention provides the following technical scheme: an information processing method applied to an electronic device includes:
when an instruction for starting an application program is detected, determining a first configuration required for running the application program;
acquiring historical average state parameters of the first configuration corresponding to the application program, wherein the historical average state parameters are determined according to the historical state parameters of the first configuration corresponding to the application program in the historical running process of the application program;
and starting the application program, and configuring the historical average state parameter as the state parameter of the first configuration.
Preferably, the determining a first configuration required for running the application program includes:
determining a central processing unit corresponding to the running of the application program;
the obtaining of the historical average state parameter of the first configuration corresponding to the application program includes:
acquiring historical average frequency of the central processing unit for running the application program before the current moment, wherein the historical average frequency is determined according to the frequency of the central processing unit in the process of running the application program historically.
Preferably, the historical average frequency of the central processor running the application before the current time is determined by:
acquiring the frequency of the central processing unit after adjustment according to the utilization rate of the central processing unit in the historical running process of the application program before the current moment;
and determining the historical average frequency of the central processing unit according to the adjusted frequency of the central processing unit.
Preferably, after the starting of the application program, the method further includes:
acquiring a first utilization rate of the central processing unit at the current moment in the running process of the application program;
and adjusting the frequency of the central processing unit according to the first utilization rate of the central processing unit.
Preferably, the determining a first configuration required for running the application program when the instruction for starting the application program is detected includes:
when an instruction for starting an application program for displaying an image is detected, determining an image display screen required for running the application program;
the obtaining of the historical average state parameter of the first configuration corresponding to the application program includes:
and acquiring a historical average brightness value of the image display screen before the current moment in the historical process of running the application program.
Preferably, after the starting of the application program, the method further includes:
and adjusting the brightness value of the image display screen according to the content of the image which is controlled and output by the application program or the external ambient light of the electronic equipment at the current moment.
Preferably, after the starting the application program, the method further includes:
and acquiring the state parameter of the first configuration at the current moment in the running process of the application program, and storing the state parameter of the current moment into the historical state parameter.
In another aspect, the present invention further provides an information processing apparatus applied to an electronic device, including:
the device comprises a detection unit, a processing unit and a control unit, wherein the detection unit is used for determining a first configuration required by running an application program when an instruction for starting the application program is detected;
a parameter obtaining unit, configured to obtain a historical average state parameter of the first configuration corresponding to the application program, where the historical average state parameter is determined according to the historical state parameter of the first configuration corresponding to the application program in a historical running process of the application program;
and the configuration unit is used for starting the application program and configuring the historical average state parameter into the state parameter of the first configuration.
Preferably, the detection unit includes:
the device comprises a first detection unit, a second detection unit and a control unit, wherein the first detection unit is used for determining a central processing unit corresponding to an application program to run when an instruction for starting the application program is detected;
the parameter acquiring unit includes:
the first parameter obtaining unit is used for obtaining the historical average frequency of the central processing unit for running the application program before the current time, wherein the historical average frequency is the average value of the frequencies of the central processing unit in the process of running the application program historically by the central processing unit.
Preferably, the historical average frequency acquired by the first parameter acquiring unit is: and obtaining the historical average frequency of the central processing unit according to the frequency of the central processing unit after the adjustment of the utilization rate of the central processing unit and the adjusted frequency of the central processing unit in the historical running process of the application program before the current moment.
Preferably, the method further comprises the following steps:
the utilization rate monitoring unit is used for acquiring a first utilization rate of the central processing unit at the current moment in the running process of the application program;
and the frequency adjusting unit is used for adjusting the frequency of the central processing unit according to the first utilization rate of the central processing unit.
Preferably, the detection unit includes:
the second detection unit is used for determining an image display screen required by running an application program when detecting an instruction for starting the application program for displaying the image;
the parameter acquiring unit includes:
and the second parameter acquisition unit is used for acquiring the historical average brightness value of the image display screen before the current moment in the historical process of running the application program.
Preferably, the method further comprises the following steps:
and the brightness adjusting unit is used for adjusting the brightness value of the image display screen according to the content of the image controlled and output by the application program or the ambient light outside the electronic equipment at the current moment.
Preferably, the method further comprises the following steps:
and the parameter updating unit is used for acquiring the state parameter of the first configuration current time in the running process of the application program and storing the state parameter of the current time into the historical state parameter.
According to the technical scheme, after an instruction for starting the application program is received, the first configuration of the application program is determined, the historical average state parameter of the first configuration in the historical running process of the application program is obtained, and when the application program is started, the state parameter of the first configuration is configured to be the historical average state parameter, so that the running requirement of the application program can be met by the state of the first configuration when the application program runs, the running reliability of the application program is improved, and the running speed of the application program is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of an information processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an information processing method according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating an information processing method according to another embodiment of the present invention;
FIG. 4 is a flow chart illustrating an information processing method according to another embodiment of the present invention;
FIG. 5 is a diagram showing a configuration of an embodiment of an information processing apparatus according to the present invention;
fig. 6 is a schematic structural diagram of another embodiment of an information processing method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses an information processing method, which aims to improve the running quality and the running reliability of an application program.
Referring to fig. 1, a flowchart illustrating an embodiment of an information processing method according to the present invention is shown, where the method of the present embodiment may be applied to an electronic device such as a notebook, a desktop, a mobile phone, and a tablet computer, and at least one application program may run in the electronic device, and the method of the present embodiment includes:
step 101: when an instruction to launch an application is detected, a first configuration required to run the application is determined.
The configuration required by the application program is different according to the application program, and the configuration required by the application program can comprise a processor, a display screen, a display card and the like.
For the sake of distinction, the configuration required to run the application is referred to as the first configuration.
Step 102: and acquiring historical average state parameters of the first configuration corresponding to the application program, wherein the historical average state parameters are determined according to the historical state parameters of the first configuration corresponding to the application program in the historical running process of the application program.
In the running process of the application program, the first configuration required by the application program is configured with corresponding state parameters, and when the state parameters of the first configuration required by the application program cannot meet the running requirements of the application program, the running speed of the application program is too slow, and even running faults occur.
In order to reasonably set the state parameter of the first configuration required by the application program, in the embodiment of the present application, before starting the application program, the historical average parameter of the first configuration required by the application program needs to be acquired. Since the historical average state parameter of the first configuration is determined according to the historical state parameter of the first configuration in the historical running process of the application program, the requirement condition of the first configuration in the running state of the application program can be reflected. In practical applications, the system may store the state parameter of the first configuration during each operation of the application program, so as to obtain the historical operation state parameter of the first configuration.
The historical average state parameter of the first configuration may be determined according to the historical state parameter of the first configuration in various ways, for example, an average value of all the historical state parameters of the first configuration may be directly calculated, and the average value of all the historical state parameters of the first configuration is used as the historical average state parameter.
Considering that the longer the distance between the generation time of the historical state parameter of the first configuration and the current time is recorded, the larger the difference between the historical state parameter and the parameter requirement of the currently running application program for the first configuration is, the different weights may be set for different historical state parameters according to the duration of the current time recorded at the generation time of the historical state parameter. The shorter the time length of the current time recorded at the generation time of the historical state parameter of the first configuration is, the larger the weight corresponding to the historical state parameter of the first configuration is. Accordingly, the historical average state parameter of the first configuration may be a weighted average of the historical state parameters generated at various different times.
For example, when the application program may be upgraded, the historical state parameters of the first configuration acquired during the historical running process of the application program include the historical state parameters of the first configuration of the application program that is run before the application program is upgraded, and when the application program is run after the application program is upgraded, the requirement for the first configuration may be changed accordingly. For another example, the application program may be a game application, and as the usage duration of the user increases, the level of the game played by the user through the game application gradually increases, so that the demand state of the first configuration is different in the process of running the game application at different times. Therefore, by setting the weight of the historical state parameter of the first configuration and performing weighted average on the historical state parameter of the first configuration, the historical average state parameter of the first configuration can more accurately reflect the degree of demand of the currently running application program on the first configuration.
Step 103: the application program is started, and the historical average state parameter is configured to be the state parameter of the first configuration.
The state parameter of the first configuration is the state value of each parameter that needs to be configured in the first configuration.
When an application program is started, the historical average state parameter of the first configuration required by the operation of the application program is acquired before the application program is started, and then when the application program is started, the state parameter of the first configuration is configured as the historical average state parameter, so that the state parameter of the first configuration is in a relatively reasonable state, and the operation requirement of the application program can be met.
In the embodiment of the application, after an instruction for starting an application program is received, a first configuration of the application program is determined, a historical average state parameter of the first configuration in a historical running process of the application program is obtained, and when the application program is started, the state parameter of the first configuration is configured as the historical average state parameter, so that when the application program runs, a running requirement of the application program can be met by a state of the first configuration, running reliability of the application program is improved, and running speed of the application program is guaranteed.
Meanwhile, compared with the method that after the application program is started, the first configuration state is configured according to the state of the application program, the method provided by the embodiment of the application can greatly reduce the problem that the application program is interrupted due to the adjustment of the first configuration state at the initial operation stage of the application program, so that the application program can be operated more smoothly.
Referring to fig. 2, a flowchart illustrating an embodiment of an information processing method according to the present invention is shown, where the method of the present embodiment may be applied to an electronic device such as a notebook computer, a palm computer, a mobile phone, and the like, in which at least one application program can run, and the method of the present embodiment may include:
step 201: and when an instruction for starting the application program is detected, determining to operate the central processing unit corresponding to the application program.
In the embodiment of the present application, the first configuration is taken as an example of a central processing unit. And when an instruction for starting the application program is received, determining a central processing unit which needs to run the application program.
Step 202: and acquiring the historical average frequency of the central processor running the application program before the current time.
Wherein the historical average frequency is determined according to the frequency of the central processing unit during the historical running of the application program by the central processing unit. The frequency of the cpu, i.e., the clock frequency of the cpu, refers to the operating frequency of the cpu.
The manner of determining the historical average frequency of the central processing unit according to the historical frequency of the central processing unit during the running process of the application program may refer to the process of determining the historical average state parameter of the first configuration described in the embodiment of fig. 1. Such as may be the frequency average of the history of the central processor during the historical run of the application. Or, the historical frequency of the central processing unit in the historical running of the application program is weighted and averaged.
Step 203: the application is started and the frequency of the central processor is configured to the historical average frequency.
When the application program is started, the frequency of the central processing unit is set as the historical average frequency so as to meet the running requirement of the application program, and the situation that the running state of the application program is not good due to the fact that the frequency of the central processing unit is set according to the requirement state of the application program when the application program is started is avoided.
Optionally, in this embodiment, the historical average frequency of the central processing unit running the application program before the current time is determined by:
and acquiring the frequency of the central processing unit after adjustment according to the utilization rate of the central processing unit in the historical running process of the application program before the current moment. And determining the historical average frequency of the central processing unit according to the adjusted frequency of the central processing unit.
At present, in the running process of an application program, the frequency of a central processing unit running the application program can be adjusted in real time according to the utilization rate of the central processing unit. In this embodiment, the historical frequency of the central processing unit, which is pre-stored by the system, may be a frequency of the central processing unit that is adjusted according to the usage rate of the central processing unit during the historical operation of the application program. Accordingly, the historical frequency of the central processing unit can be determined according to the obtained adjusted frequency of the central processing unit.
Certainly, in practical applications, in one operation process of an application program, the utilization rate of the central processing unit is different according to different operation states of the application program, and correspondingly, the frequency of the central processing unit may need to be adjusted for many times, so that a plurality of frequency values of the central processing unit can be obtained in any one operation process of the application program; or, for one operation of the application program, the average value of the frequencies of the central processing units may be used as the historical frequency value of the central processing unit corresponding to the current operation of the application program.
Of course, in the embodiment of the present application, after the application is started, the running state of the application may also be changed during the running process of the application, for example, the requirement of the application on the system performance of the electronic device is reduced or increased. In order to maintain the running of the application program on the premise of saving resources, the first utilization rate of the central processing unit at the current moment can be acquired in the running process of the application program, and the frequency of the central processing unit is adjusted according to the first utilization rate of the central processing unit.
In the running process of the application program, the first utilization rate of the central processing unit at the current moment can be obtained in real time, and the obtaining action can be executed at regular intervals. After the utilization rate of the central processing unit is obtained, the process of adjusting the frequency of the central processing unit according to the utilization rate of the central processing unit can adopt any conventional mode of adjusting the frequency of the central processing unit according to the utilization rate of the central processing unit, and is not limited herein.
Referring to fig. 3, a flowchart illustrating an embodiment of an information processing method according to the present invention is shown, where the method of the present embodiment is applied to an electronic device, the electronic device may be a mobile phone, a notebook computer, a tablet computer, and the like, and the electronic device may run at least one application program. The method of the embodiment can comprise the following steps:
step 301: when an instruction to start an application for presenting an image is detected, an image display screen required to run the application is determined.
In the present application, the application to be started is an application for displaying an image, for example, the application may be a browser application or other image display applications. When the application program is started, the image display screen is required to be used for displaying the image to be displayed, and the first configuration required by the application program at least comprises the image display screen.
The image display screen may be a display unit of the electronic device or a display unit having a connection relationship with the electronic device.
Step 302: and acquiring a historical average brightness value of the image display screen before the current moment in the historical process of running the application program.
The state of the image display screen may affect the operation of the application program, and if the display brightness of the image display screen required by the application program does not match the screen brightness required by the application program, the situation of image display failure may be caused.
In this embodiment, the historical average brightness value of the image display screen is also determined according to the historical brightness of the image display screen during the historical operation of the application program. For example, the historical average luminance value may be an average of historical luminance values of the image display screen in a historical run of the application program, or a weighted average of historical luminance values of the image display screen. Reference may be made in particular to the description relating to the embodiment shown in fig. 1.
Step 303: the application program is started, and the brightness value of the image display screen is configured as the historical average brightness value.
When the application program is started, the brightness value of the image display screen is configured to be the historical average brightness value, so that after the application program is started, the brightness value of the image display screen can meet the running requirement of the application program, and the running reliability of the program is improved.
Optionally, in this embodiment, during the running process of the application program, the brightness value of the image display screen may be adjusted according to the content of the image that is controlled and output by the application program. That is to say, in the running process of the application program, a content adaptive brightness control mode is set to adjust the brightness value of the image display screen, so that the brightness value of the image display screen meets the display requirement of the application program on the image content to be displayed currently.
In addition, during the running process of the application program, the brightness value of the image display screen can be adjusted according to the brightness state of the external environment light of the electronic equipment at the current moment. And in the running process of the application program, adjusting the brightness value of the image display screen by adopting an ambient light self-adaptive brightness control mode.
In practical applications, there may be a plurality of first configurations for running the application program, but for any first configuration required for running the application program, the information processing method of the present invention may be adopted to set the state parameters of the first configuration when the application program is started. For example, the first configuration may be implemented by simultaneously configuring the central processing unit and the image display screen, and respectively obtaining historical average status parameters of the central processing unit and the image display screen, so as to perform corresponding parameter configuration according to the respective historical average status parameters of the central processing unit and the image display screen while starting the application program.
Referring to fig. 4, a flowchart illustrating an embodiment of an information processing method according to the present invention is shown, where the method of the present embodiment may be applied to an electronic device such as a mobile phone, a notebook computer, a tablet computer, and the like, and at least one application program may be run on the electronic device. The method of the embodiment may include:
step 401: when an instruction to launch an application is detected, a first configuration required to run the application is determined.
Step 402: and acquiring historical average state parameters of the first configuration corresponding to the application program, wherein the historical average state parameters are determined according to the historical state parameters of the first configuration corresponding to the application program in the historical running process of the application program.
Step 403: the application program is started, and the historical average state parameter is configured to be the state parameter of the first configuration.
The process of steps 401 to 403 may refer to the related description of any one of the foregoing embodiments, and is not limited herein.
Step 404: and acquiring the state parameters of the first configuration at the current moment in the running process of the application program, and storing the state parameters of the current moment into the historical state parameters of the first configuration.
In the current running process of the application program, the electronic device also acquires the state parameter of the first configuration, records the state parameter of the first configuration at the current moment, and stores the acquired state parameter of the first configuration as a historical state parameter.
It is to be understood that, during the running of the application program, the state parameter of the first configuration may also be adjusted according to the running state of the application program in the manner described in the foregoing embodiment, and then the state parameter of the first configuration recorded in this step may be the adjusted state parameter.
Wherein, the state parameter of the first configuration can be obtained in real time in the running process of the application program; or when detecting the change of the state parameter of the first configuration, recording the state parameter; or, periodically acquiring the state parameter of the first configuration according to a preset time interval.
Step 405: and updating the historical average state parameter of the first configuration according to the historical state parameter of the first configuration stored at the current moment.
According to the historical state parameters of the first configuration required by the application program, which are stored in the electronic equipment, the historical average state parameters of the first configuration can be re-determined, so that the determined historical average state parameters can be updated. When an instruction to launch the application is detected again, the updated historical average state parameters for the first configuration may be obtained.
The step 405 may be executed once every preset time during the running of the application program, or may be executed after the running of the application program is finished, where the execution is limited.
In response to an information processing method of the present invention, the present invention further provides an information processing apparatus, referring to fig. 5, which shows a schematic structural diagram of an embodiment of the information processing apparatus of the present invention, where the apparatus of the present embodiment is applied to an electronic device, the electronic device may be a notebook computer, a palm computer, a mobile phone, and the like, and at least one application program may run in the electronic device, and the apparatus of the present embodiment includes:
a detection unit 501, configured to determine, when an instruction to start an application is detected, a first configuration required to run the application;
a parameter obtaining unit 502, configured to obtain a historical average state parameter of the first configuration corresponding to the application, where the historical average state parameter is determined according to the historical state parameter of the first configuration corresponding to the application in a historical running process of the application;
a configuration unit 503, configured to start the application program, and configure the historical average state parameter as the state parameter of the first configuration.
In the device of this embodiment, when the detection unit detects an instruction to start an application program, a first configuration required for running the application program is determined, and the parameter acquisition unit acquires the historical average state parameter of the first configuration corresponding to the application program, and when the configuration unit starts the application program, the historical average state parameter of the first configuration is configured as the state parameter of the first configuration, so that the configuration state of the first configuration meets the running requirement of the application program, thereby ensuring the running reliability of the application program and improving the running speed.
Optionally, the detection unit may include:
the device comprises a first detection unit, a second detection unit and a control unit, wherein the first detection unit is used for determining a central processing unit corresponding to an application program to run when an instruction for starting the application program is detected;
correspondingly, the parameter obtaining unit includes:
the first parameter acquisition unit is used for acquiring the historical average frequency of the central processing unit for running the application program before the current time, wherein the historical average frequency is determined according to the frequency of the central processing unit during the historical running of the application program by the central processing unit.
Further, the historical average frequency acquired by the first parameter acquiring unit is: and obtaining the historical average frequency of the central processing unit according to the frequency of the central processing unit after the adjustment of the utilization rate of the central processing unit and the adjusted frequency of the central processing unit in the historical running process of the application program before the current moment.
On the basis that the detection unit includes the first detection unit and the parameter acquisition unit includes the first parameter acquisition unit, optionally, the apparatus may further include:
the utilization rate monitoring unit is used for acquiring a first utilization rate of the central processing unit at the current moment in the running process of the application program;
and the frequency adjusting unit is used for adjusting the frequency of the central processing unit according to the first utilization rate of the central processing unit.
Optionally, the detection unit may include:
the second detection unit is used for determining an image display screen required by running an application program when detecting an instruction for starting the application program for displaying the image;
the parameter acquiring unit includes:
and the second parameter acquisition unit is used for acquiring the historical average brightness value of the image display screen before the current moment in the historical process of running the application program.
Further, the apparatus may further include:
and the brightness adjusting unit is used for adjusting the brightness value of the image display screen according to the content of the image controlled and output by the application program or the ambient light outside the electronic equipment at the current moment.
Referring to fig. 6, a schematic structural diagram of another embodiment of the information processing apparatus according to the present invention is shown, and the information processing apparatus of the present embodiment may be applied to an electronic device such as a notebook computer, a desktop computer, a mobile phone, and the like, in which at least one application program may run. Unlike the foregoing information processing apparatus, the apparatus of the present embodiment further includes:
a parameter updating unit 504, configured to obtain a state parameter of the first configuration at the current time during the running process of the application program, and store the state parameter of the current time in the historical state parameter.
In the apparatus of the present embodiment, the detection unit 501, the parameter acquisition unit 502, and the configuration unit 503 may be the same as those performed by the corresponding units in the apparatus of any one of the previous embodiments.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information processing method applied to an electronic device, comprising:
when an instruction for starting an application program is detected, determining a first configuration required for running the application program, wherein the first configuration at least comprises a central processing unit and an image display screen, and specifically, when the instruction for starting the application program for displaying an image is detected, determining the image display screen required for running the application program;
acquiring a historical average state parameter of the first configuration corresponding to the application program, specifically, acquiring a historical average brightness value of the image display screen in a historical process of running the application program before the current time, wherein the historical average state parameter is determined according to the historical state parameter of the first configuration corresponding to the application program in the historical running process of the application program;
starting the application program, and configuring the historical average state parameter as the state parameter of the first configuration;
adjusting the brightness value of the image display screen according to the content of the image controlled and output by the application program;
and storing the state parameter of the first configuration in each running process of the application program as the historical running state parameter of the first configuration.
2. The method of claim 1, wherein determining the first configuration required to run the application comprises:
determining a central processing unit corresponding to the running of the application program;
the obtaining of the historical average state parameter of the first configuration corresponding to the application program includes:
acquiring historical average frequency of the central processing unit for running the application program before the current moment, wherein the historical average frequency is determined according to the frequency of the central processing unit in the process of running the application program historically.
3. The method of claim 2, wherein the historical average frequency at which the central processor runs the application before the current time is determined by:
acquiring the frequency of the central processing unit after adjustment according to the utilization rate of the central processing unit in the historical running process of the application program before the current moment;
and determining the historical average frequency of the central processing unit according to the adjusted frequency of the central processing unit.
4. The method of claim 2, wherein after the launching the application, further comprising:
acquiring a first utilization rate of the central processing unit at the current moment in the running process of the application program;
and adjusting the frequency of the central processing unit according to the first utilization rate of the central processing unit.
5. The method according to any one of claims 1 to 4, further comprising, after said launching said application:
and acquiring the state parameter of the first configuration at the current moment in the running process of the application program, and storing the state parameter of the current moment into the historical state parameter.
6. An information processing apparatus applied to an electronic device, comprising:
the detection unit is used for determining a first configuration required by running the application program when an instruction for starting the application program is detected, wherein the first configuration at least comprises a central processing unit and an image display screen;
a parameter obtaining unit, configured to obtain a historical average state parameter of the first configuration corresponding to the application program, where the parameter obtaining unit includes a second parameter obtaining unit, and the second parameter obtaining unit is configured to obtain a historical average brightness value of the image display screen in a historical process of running the application program before a current time, where the historical average state parameter is determined according to the historical state parameter of the first configuration corresponding to the application program in the historical running process of the application program;
the configuration unit is used for starting the application program and configuring the historical average state parameter into the state parameter of the first configuration;
the brightness adjusting unit is used for adjusting the brightness value of the image display screen according to the content of the image controlled and output by the application program or the ambient light outside the electronic equipment at the current moment;
further comprising: and storing the state parameter of the first configuration in each running process of the application program as the historical running state parameter of the first configuration.
7. The apparatus of claim 6, wherein the detection unit comprises:
the device comprises a first detection unit, a second detection unit and a control unit, wherein the first detection unit is used for determining a central processing unit corresponding to an application program to run when an instruction for starting the application program is detected;
the parameter acquiring unit includes:
the first parameter acquisition unit is used for acquiring the historical average frequency of the central processing unit for running the application program before the current time, wherein the historical average frequency is determined according to the frequency of the central processing unit during the historical running of the application program by the central processing unit.
8. The apparatus according to claim 7, wherein the historical average frequency acquired by the first parameter acquiring unit is: and obtaining the historical average frequency of the central processing unit according to the frequency of the central processing unit after the adjustment of the utilization rate of the central processing unit and the adjusted frequency of the central processing unit in the historical running process of the application program before the current moment.
9. The apparatus of claim 7, further comprising:
the utilization rate monitoring unit is used for acquiring a first utilization rate of the central processing unit at the current moment in the running process of the application program;
and the frequency adjusting unit is used for adjusting the frequency of the central processing unit according to the first utilization rate of the central processing unit.
10. The apparatus of any one of claims 6 to 9, further comprising:
and the parameter updating unit is used for acquiring the state parameter of the first configuration current time in the running process of the application program and storing the state parameter of the current time into the historical state parameter.
CN201310495876.3A 2013-10-21 2013-10-21 Information processing method and device Active CN104572150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310495876.3A CN104572150B (en) 2013-10-21 2013-10-21 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495876.3A CN104572150B (en) 2013-10-21 2013-10-21 Information processing method and device

Publications (2)

Publication Number Publication Date
CN104572150A CN104572150A (en) 2015-04-29
CN104572150B true CN104572150B (en) 2021-04-13

Family

ID=53088314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495876.3A Active CN104572150B (en) 2013-10-21 2013-10-21 Information processing method and device

Country Status (1)

Country Link
CN (1) CN104572150B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405427A (en) * 2015-12-04 2016-03-16 小米科技有限责任公司 Facility brightness adjustment method and device
CN105824671B (en) * 2016-03-18 2020-03-24 联想(北京)有限公司 Information processing method and electronic equipment
CN107643919A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 The method for controlling application starting and system of mobile device
CN106357918A (en) * 2016-09-30 2017-01-25 维沃移动通信有限公司 Method for adjusting screen brightness and mobile terminal
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN110737322B (en) * 2019-09-16 2022-07-26 联想(北京)有限公司 Information processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383139A (en) * 2008-06-27 2009-03-11 青岛海信电器股份有限公司 Luminance control method for display screen
CN101778246A (en) * 2010-01-29 2010-07-14 华为终端有限公司 Method and device for processing multipicture video image
US8049925B2 (en) * 2008-01-11 2011-11-01 Quanta Computer Inc. Image processing apparatus and method for adjusting lightness of image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459692A (en) * 2002-05-21 2003-12-03 联想(北京)有限公司 Method of CPU frequency controlling based on the insertion system of computer platform
CN101930719A (en) * 2009-06-18 2010-12-29 辉达公司 Method and system for automatically switching scene mode of display
CN102163145A (en) * 2011-01-30 2011-08-24 上海全景数字技术有限公司 Method of applying 3D and 2D compatibility on set top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8049925B2 (en) * 2008-01-11 2011-11-01 Quanta Computer Inc. Image processing apparatus and method for adjusting lightness of image
CN101383139A (en) * 2008-06-27 2009-03-11 青岛海信电器股份有限公司 Luminance control method for display screen
CN101778246A (en) * 2010-01-29 2010-07-14 华为终端有限公司 Method and device for processing multipicture video image

Also Published As

Publication number Publication date
CN104572150A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572150B (en) Information processing method and device
US11164285B2 (en) Electronic device and method for displaying image on a display to prevent burn-in of the display
US11914446B2 (en) Electronic device control method and apparatus, and electronic device
US11103790B2 (en) Game picture display method and apparatus and computer-readable storage medium
US10304419B2 (en) Screen controlling method and electronic device supporting the same
US10923021B2 (en) Method for displaying time information and electronic device supporting the same
CN112114975B (en) Processor frequency adjusting method and device, storage medium and electronic equipment
US10445104B2 (en) Electronic device, method for controlling electronic device, and program
US10268308B2 (en) Input processing method and device
WO2017107737A1 (en) Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media
WO2015058410A1 (en) Adjustment method and boot method for power-off threshold voltage and electronic device thereof
EP2985675B1 (en) Method of controlling an electronic device according to a communication state of the electronic device
CN114341784A (en) Touch event processing method and device, mobile terminal and storage medium
CN107341094B (en) Method and device for measuring time consumed by starting item
JP2015206931A (en) Data processing method, data processor and program
CN113810773B (en) Video downloading method and device, electronic equipment and storage medium
US20140176451A1 (en) Method for adaptive scan rate for an electronic device
TW201416979A (en) Method for accelerating boot and computer system device
CN107577479B (en) Electronic device and semi-sleep control method thereof
CN113254137B (en) Dynamic image display method and device, storage medium and mobile terminal
CN110471566B (en) Touch detection method, touch detection device and display panel
US20220229620A1 (en) Information processing method, apparatus, electronic device, and storage medium
US20230075103A1 (en) Electronic device and power management method therefor
CN115720251A (en) VSYNC signal processing device and method for regional dimming and electronic equipment
CN116737284A (en) Equipment control method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant