CN109831585B - Operation parameter adjusting method and mobile terminal - Google Patents

Operation parameter adjusting method and mobile terminal Download PDF

Info

Publication number
CN109831585B
CN109831585B CN201910134039.5A CN201910134039A CN109831585B CN 109831585 B CN109831585 B CN 109831585B CN 201910134039 A CN201910134039 A CN 201910134039A CN 109831585 B CN109831585 B CN 109831585B
Authority
CN
China
Prior art keywords
application program
preset
mobile terminal
adjusting
load value
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
CN201910134039.5A
Other languages
Chinese (zh)
Other versions
CN109831585A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910134039.5A priority Critical patent/CN109831585B/en
Publication of CN109831585A publication Critical patent/CN109831585A/en
Application granted granted Critical
Publication of CN109831585B publication Critical patent/CN109831585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides an operation parameter adjusting method and a mobile terminal, wherein the method comprises the following steps: determining each operation parameter of the mobile terminal in the operation process of a preset application program; and under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, adjusting the operation parameters. The method can optimize the operation parameters of the application program of the sports game, so that the application program of the sports game is promoted to operate in an optimal environment, the application program of the sports game can use system resources to the maximum extent, and smooth experience of a user when playing the application program of the sports game is guaranteed.

Description

Operation parameter adjusting method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an operation parameter adjusting method and a mobile terminal.
Background
At present, sports games are used as an application program, and high requirements are put forward on various performance indexes of a mobile terminal.
The mobile terminal processes the sports game according to a general strategy when the sports game runs at present, so that the phenomenon of game jamming or frame dropping can often occur when the mobile terminal runs a sports game program, the game experience is poor, and the use experience of a user is influenced.
Disclosure of Invention
The embodiment of the invention provides an operation parameter adjusting method and a mobile terminal, and aims to solve the problems of jamming and frame dropping when the mobile terminal operates a sports game program in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an operation parameter adjustment method, where the method includes: and under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, adjusting the operation parameters.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the determining module is used for determining each operation parameter of the mobile terminal in the operation process of a preset application program; and the first adjusting module is used for adjusting the operation parameters under the condition that any one of the operation parameters does not meet the operation conditions of the preset application program.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method for adjusting the operating parameters.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the operating parameter adjusting method.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore the user can have smoother experience when playing the application program of the sports game.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for adjusting operating parameters according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for adjusting operating parameters according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for adjusting operating parameters according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of another mobile terminal according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a mobile terminal according to a sixth 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 some, not all, embodiments of the present invention. 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for adjusting an operating parameter according to a first embodiment of the present invention is shown.
The operation parameter adjusting method provided by the embodiment of the invention comprises the following steps:
step 101: and in the running process of the preset application program, the mobile terminal determines each running parameter.
The preset application program can be an application program of a sports game, the preset application program can be 'royal glory', 'stimulating battlefield', and the like, and the preset application program is a hand game application program.
When the preset application program is started, whether the preset application program is the preset application program or not can be judged through the name of the data packet, if the preset application program runs, the subsequent steps are executed, and if the running application program is not the preset application program, the subsequent steps are not executed.
When the foreground runs the preset application program, determining various running parameters of the mobile terminal, wherein the running parameters include but are not limited to the following parameters, load values of a GPU and a CPU, a touch screen detection period, a touch screen moving grid, a network signal, a mainboard temperature and the like.
Step 102: and under the condition that any one operation parameter does not meet the operation condition of the preset application program, the mobile terminal adjusts the operation parameter.
When any operating parameter is not satisfied with the operating conditions of the preset application program, for example: and determining that the operation parameters do not meet the operation conditions of the preset application program under the conditions that the load values of the GPU and the CPU are smaller than the preset load value, the touch screen detection period is larger than the preset period, the touch screen movement progress is larger than the preset progress and the like. At this time, the operation parameters which are not satisfied with the operation conditions of the preset application program need to be optimized, so that the preset application program can operate in an optimal environment, and the phenomena of pause and frame drop are avoided.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
Example two
Referring to fig. 2, a flowchart illustrating steps of a method for adjusting operating parameters according to a second embodiment of the present invention is shown.
The operation parameter adjusting method provided by the embodiment of the invention comprises the following steps:
step 201: and in the running process of the preset application program, the mobile terminal determines each running parameter.
The preset application program can be an application program of a sports game, the preset application program can be 'royal glory', 'stimulating battlefield', and the like, and the preset application program is a hand game application program.
When the preset application program is started, whether the preset application program is the preset application program or not can be judged through the name of the data packet, if the preset application program runs, the subsequent steps are executed, and if the running application program is not the preset application program, the subsequent steps are not executed.
When the foreground runs the preset application program, determining various running parameters of the mobile terminal, wherein the running parameters include but are not limited to the following parameters, load values of a GPU and a CPU, a touch screen detection period, a touch screen moving grid, a network signal, a mainboard temperature and the like.
Step 202: and when the CPU load value is larger than the first preset load value, the mobile terminal adjusts the CPU load value to a second preset load value.
And the second preset load value is smaller than the first preset load value.
When the operation parameter includes a CPU load value, determining a load value of a CPU of the mobile terminal, comparing the CPU load value with a first preset load value, and when the CPU load value is smaller than the first preset load value, adjusting the CPU load value to a second preset load value, for example: the CPU load value is 70, the first preset load value is 80, the CPU load value is adjusted to 70 or 60, namely when the CPU load value is 70 or 60, the CPU carries out frequency increasing, the running speed of the CPU is improved, and the running of the preset application program is smooth.
And when the GPU load value is larger than the third preset load value, adjusting the GPU load value to a fourth preset load value, wherein the fourth preset load value is smaller than the third preset load value.
The adjustment method for the GPU load value is similar to that of the CPU load value, and is not described herein again.
The operation parameters comprise a touch screen detection period and a touch screen movement grid, and when the touch screen detection period is larger than a preset period, the detection period is adjusted to be a target detection period. And the target detection period is less than the preset period.
And/or when the touch screen moving grid is larger than the preset moving grid, adjusting the touch screen moving grid to be the target moving grid, wherein the touch screen moving grid is the number of pixels moved when the screen is slid/the number of pixels covered when the screen is slid. The target movement progress is smaller than the preset movement progress.
It should be noted that, a person skilled in the art may set the preset period and the preset movement grid according to an actual situation, where the preset period may be 3s, 4s, 5s, and the like, and the preset grid may be 6, 7, 8, and the like, and the preset period and the preset movement grid are not specifically limited in the embodiment of the present invention.
The embodiment of the invention can adjust the load value of the CPU and the load value of the GPU, and can also limit the scanning of the network channel, under the general condition, when a new wifi connection point appears, the mobile terminal can automatically scan the network channel to connect the connection point with better signal for network communication, but when the network channel is scanned, the operation of the preset application program is unstable, the phenomena of frame dropping, blocking and the like appear, at the moment, the scanning of the network channel is forbidden, and the smooth operation of the preset application program is ensured.
Step 203: the mobile terminal detects whether a frame drop occurs on a display interface of a preset application program according to a first detection period.
It should be noted that, a person skilled in the art may set the first detection period according to actual situations, and the first detection period is set at 1 s/time, 2 s/time, 3 s/time, and the like, and the embodiment of the present invention is not limited in this respect. And judging whether the frame drop occurs or not according to the judgment condition that the current frame rate is detected and whether the current frame rate is low or not and the preset frame rate, and if so, judging that the frame drop occurs on the display interface of the preset application program.
It should be noted that the preset frame rate may be 2 frames, 3 frames, and the like, and this is not particularly limited in the embodiment of the present invention.
Step 204: and under the condition that the frame drop of the display interface of the preset application program is detected, the mobile terminal adjusts the frequency of the main CPU to be the target frequency.
And when the condition that the frame drop occurs on the display interface of the preset application program is detected, actively increasing the frequency of the CPU, wherein the increasing time is 1s, 2s, 3s and the like, so as to optimize the environment for running the preset application program.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating a method for adjusting an operating parameter according to a third embodiment of the present invention is shown.
The operation parameter adjusting method provided by the embodiment of the invention comprises the following steps:
step 301: the mobile terminal determines whether it is in a charging state.
Step 302: and if so, the mobile terminal acquires the temperature value of the mobile terminal.
Since the temperature of the main board of the mobile terminal is easy to rise in the charging process of the mobile terminal, the temperature value of the mobile terminal in the charging process is detected, and the temperature value is compared with the preset temperature value, it should be noted that a person skilled in the art can set the preset temperature value according to an actual situation, wherein the preset temperature value can be set to 30 degrees, 35 degrees, 40 degrees and the like, and the embodiment of the present invention does not specifically limit the preset temperature value.
Step 303: and under the condition that the temperature value is greater than the preset temperature value, the mobile terminal determines each operation parameter in the operation process of the preset application program.
Step 304: and when the current input value is larger than the preset current input value, the mobile terminal adjusts the current input value to be the target current input value.
The target current input value is smaller than the preset current input value, and the target current input value meets the condition that the charging speed is not smaller than the power consumption speed.
When the mobile terminal is not in a charging state, detecting a temperature value of the mobile terminal, and when the temperature value is greater than a preset temperature value, a common processing method is to reduce the frequency of the CPU to achieve the purpose of cooling.
The operation parameters further comprise synchronous locks of all the application programs, and a first synchronous lock of a preset application program and a second synchronous lock of the application programs installed on the mobile terminal and except the preset application program are determined; judging whether the application program corresponding to the first synchronous lock is the same as the application program corresponding to the second synchronous lock; if so, the second synchronization lock is removed.
Some game applications, such as royal glowing, frequently call some interfaces of the framework during the game process, the interfaces hold synchronous locks in the framework, and when the applications except the preset application also need to call the same synchronous locks, a competition relationship is generated, so that the preset application is blocked due to waiting for the synchronous locks. At this time, the synchronous lock is removed or the position of the synchronous lock is adjusted, so that the phenomenon that the preset application program is blocked in the running process is avoided.
Step 305: and the mobile terminal detects the occupation ratio of each application program of the main CPU according to a second detection period.
It should be noted that, a person skilled in the art may set the second detection period according to actual situations, where the second detection period may be set to 10s, 20s, 30s, and so on, and this is not limited in this embodiment of the present invention.
Step 306: and aiming at each ratio, the mobile terminal acquires each target application program corresponding to the ratio larger than the preset ratio.
Step 307: and aiming at each target application program, the mobile terminal judges whether the priority of the target application program is high priority or not.
The target application program and the preset application program are different application programs.
Step 308: and if so, the mobile terminal switches the target application program from the main CPU to the slave CPU for running.
Step 309: if not, the mobile terminal closes the target application program.
When there is an application program occupying more than 30% of the main CPU, for determining whether the target application process is running in the foreground, for example: and judging whether the audio is played, judging whether network downloading exists or not, and the like, if so, switching the target application program from the main CPU to the slave CPU to run so as to avoid occupying the resources of the main CPU, and if so, closing the target application program when the priority of the application program is lower, namely the application program runs at the background.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 401, configured to determine, in a preset application program operation process, each operation parameter of the mobile terminal; a first adjusting module 402, configured to adjust the operation parameter when any of the operation parameters does not satisfy the operation condition of the preset application.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
EXAMPLE five
Referring to fig. 5, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 501, configured to determine each operating parameter of the mobile terminal in an operating process of a preset application; a first adjusting module 502, configured to adjust the operation parameter when any of the operation parameters does not meet the operation condition of the preset application.
Preferably, the operation parameters include a CPU load value and a GPU load value, and the first adjusting module 502 includes: the first adjusting submodule 5021 is configured to adjust the CPU load value to a second preset load value when the CPU load value is smaller than a first preset load value, where the second preset load value is smaller than the first preset load value; or the second adjusting submodule 5022 is configured to adjust the GPU load value to a fourth preset load value when the GPU load value is smaller than a third preset load value, where the fourth preset load value is smaller than the third preset load value.
Preferably, the operation parameters include a touch screen detection period and a touch screen movement grid, and the first adjusting module 502 includes: the third adjusting submodule 5023 is used for adjusting the detection period to be a target detection period when the touch screen detection period is larger than a preset period; and/or the fourth adjusting submodule 5024 is used for adjusting the touch screen moving grid to be the target moving grid when the touch screen moving grid is larger than the preset moving grid, wherein the touch screen moving grid is the number of pixels moved when the screen is slid/the number of pixels covered when the screen is slid.
Preferably, the mobile terminal further includes: a second determining module 503, configured to determine whether the mobile terminal is in a charging state before the first determining module 501 determines each operating parameter of the mobile terminal in a preset application program operating process; a first obtaining module 504, configured to obtain a temperature value of the mobile terminal if the temperature value is positive; an executing module 505, configured to execute the step of determining each operating parameter of the mobile terminal when the temperature value is greater than a preset temperature value; the operating parameter comprises a current input value, and the first adjusting module 502 comprises: the fifth adjusting submodule 5025 is used for adjusting the current input value to a target current input value when the current input value is greater than a preset current input value.
Preferably, the operation parameter includes a synchronization lock of each application, and the first adjusting module 502 includes: a determining submodule 5026, configured to determine a first synchronization lock of the preset application program and a second synchronization lock of an application program installed in the mobile terminal, the application program being other than the preset application program; the judging submodule 5027 is configured to judge whether the application program corresponding to the first synchronization lock is the same as the application program corresponding to the second synchronization lock; the removing submodule 5028 is used for removing the second synchronous lock if the judgment results of the judging submodules are the same.
Preferably, the CPU includes a master CPU and a slave CPU, and the mobile terminal further includes: a first detecting module 506, configured to detect whether a frame drop occurs on a display interface of the preset application program according to a first detection period after the first adjusting module 502 adjusts any one of the operation parameters when the operation parameter does not meet the operation condition of the preset application program; a second adjusting module 507, configured to adjust the frequency of the main CPU to a target frequency when it is detected that a frame drop occurs on a display interface of the preset application program; or a second detecting module 508, configured to detect the occupation ratio of each application program of the main CPU according to a second detection period; a second obtaining module 509, configured to obtain, for each of the occupation ratios, each target application program corresponding to the occupation ratio that is greater than a preset occupation ratio; a determining module 510, configured to determine, for each target application, whether a priority of the target application is a high priority, where the target application and the preset application are different applications; a switching module 511, configured to switch the target application program from the master CPU to the slave CPU for running if the determination result of the determining module is yes; a closing module 512, configured to close the target application program if the determination result of the determining module is negative.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
EXAMPLE six
Referring to fig. 6, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 610, configured to determine each operating parameter of the mobile terminal in an operating process of a preset application; and under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, adjusting the operation parameters.
In the embodiment of the invention, each operation parameter of the mobile terminal is determined in the operation process of the preset application program; under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, the operation parameters are adjusted, the operation parameters can be optimized for the application program of the sports game, the application program of the sports game is promoted to operate in the optimal environment, the application program of the sports game can be ensured to use system resources to the maximum extent, and therefore smooth experience of a user can be guaranteed when the user plays the application program of the sports game.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned operation parameter adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned operation parameter adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An operation parameter adjustment method is applied to a mobile terminal, and is characterized by comprising the following steps:
determining each operation parameter of the mobile terminal in the operation process of a preset application program;
under the condition that any one of the operation parameters does not meet the operation condition of the preset application program, adjusting the operation parameters;
before the step of determining each operation parameter of the mobile terminal in the operation process of the preset application program, the method further includes:
determining whether the mobile terminal is in a charging state;
if so, acquiring a temperature value of the mobile terminal;
under the condition that the temperature value is larger than a preset temperature value, executing the step of determining each operation parameter of the mobile terminal in the operation process of a preset application program;
the operating parameters include a current input value, and the steps include, in the case where the temperature value is greater than a preset temperature value:
when the current input value is larger than a preset current input value, adjusting the current input value to be a target current input value;
the operation parameters comprise a touch screen detection period and a touch screen movement grid, and the step of adjusting the operation parameters under the condition that any one of the operation parameters does not meet the operation condition of the preset application program comprises the following steps:
when the detection period of the touch screen is greater than a preset period, adjusting the detection period to be a target detection period;
and/or
And when the touch screen moving grid is larger than a preset moving grid, adjusting the touch screen moving grid to be a target moving grid, wherein the touch screen moving grid is the number of pixels moved when a screen is slid/the number of pixels covered when the screen is slid.
2. The method according to claim 1, wherein the operation parameters include a CPU load value and a GPU load value, and the step of adjusting the operation parameters when any one of the operation parameters does not satisfy the operation condition of the preset application program includes:
when the CPU load value is larger than a first preset load value, adjusting the CPU load value to a second preset load value, wherein the second preset load value is smaller than the first preset load value;
or
And when the GPU load value is larger than a third preset load value, adjusting the GPU load value to a fourth preset load value, wherein the fourth preset load value is smaller than the third preset load value.
3. The method according to claim 1, wherein the operation parameters include synchronization locks of the applications, and the step of adjusting the operation parameters in the case that any one of the operation parameters does not satisfy the operation conditions of the preset application includes:
determining a first synchronous lock of the preset application program and a second synchronous lock of the application programs installed on the mobile terminal except for the preset application program;
judging whether the application program corresponding to the first synchronous lock is the same as the application program corresponding to the second synchronous lock;
and if the two synchronization locks are the same, removing the second synchronization lock.
4. The method according to claim 1, wherein the CPU comprises a master CPU and a slave CPU, and the method further comprises, after the step of adjusting the operation parameter in the case that any one of the operation parameters does not satisfy the operation condition of the preset application program:
detecting whether a frame drop occurs to a display interface of the preset application program according to a first detection period;
under the condition that the frame dropping of the display interface of the preset application program is detected, adjusting the frequency of the main CPU to be a target frequency;
or
Detecting the occupation ratio of each application program of the main CPU according to a second detection period;
aiming at each occupation ratio, acquiring each target application program corresponding to the occupation ratio larger than a preset occupation ratio;
judging whether the priority of the target application program is high or not aiming at each target application program, wherein the target application program and the preset application program are different application programs;
if yes, switching the target application program from the main CPU to the slave CPU to run;
if not, closing the target application program.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the first determining module is used for determining each operation parameter of the mobile terminal in the operation process of a preset application program;
the first adjusting module is used for adjusting the operation parameters under the condition that any one of the operation parameters does not meet the operation conditions of the preset application program;
the mobile terminal further includes:
the second determining module is used for determining whether the mobile terminal is in a charging state or not before the first determining module determines each operation parameter of the mobile terminal in the operation process of a preset application program;
the first obtaining module is used for obtaining the temperature value of the mobile terminal if the temperature value is positive;
the execution module is used for executing the step of determining each operation parameter of the mobile terminal under the condition that the temperature value is greater than a preset temperature value;
the operating parameter comprises a current input value, and the first adjustment module comprises:
the fifth adjusting submodule is used for adjusting the current input value to a target current input value when the current input value is larger than a preset current input value;
the operation parameters comprise a touch screen detection period and a touch screen moving grid, and the first adjusting module comprises:
the third adjusting submodule is used for adjusting the detection period to be a target detection period when the touch screen detection period is larger than a preset period;
and/or
And the fourth adjusting submodule is used for adjusting the touch screen moving grid to be the target moving grid when the touch screen moving grid is larger than the preset moving grid, wherein the touch screen moving grid is the number of pixels moved when the screen is slid/the number of pixels covered when the screen is slid.
6. The mobile terminal of claim 5, wherein the operating parameters include a CPU load value and a GPU load value, and wherein the first adjusting module comprises:
the first adjusting submodule is used for adjusting the CPU load value to a second preset load value when the CPU load value is larger than a first preset load value, wherein the second preset load value is smaller than the first preset load value;
or
And the second adjusting submodule is used for adjusting the GPU load value to a fourth preset load value when the GPU load value is larger than a third preset load value, wherein the fourth preset load value is smaller than the third preset load value.
7. The mobile terminal of claim 5, wherein the operation parameters include a synchronization lock of each application, and wherein the first adjusting module comprises:
the determining submodule is used for determining a first synchronous lock of the preset application program and a second synchronous lock of the application programs installed on the mobile terminal except the preset application program;
the judging submodule is used for judging whether the application program corresponding to the first synchronous lock is the same as the application program corresponding to the second synchronous lock;
and the removing submodule is used for removing the second synchronous lock if the judgment results of the judging submodules are the same.
8. The mobile terminal of claim 5, wherein the CPU comprises a master CPU and a slave CPU, the mobile terminal further comprising:
the first detection module is used for detecting whether a frame drop occurs on a display interface of the preset application program according to a first detection period after the first adjustment module adjusts the operation parameters under the condition that any one of the operation parameters does not meet the operation conditions of the preset application program;
the second adjusting module is used for adjusting the frequency of the main CPU to a target frequency under the condition that the frame drop of the display interface of the preset application program is detected;
or
The second detection module is used for detecting the occupation ratio of each application program of the main CPU according to a second detection period;
the second acquisition module is used for acquiring each target application program corresponding to the occupation ratio which is greater than the preset occupation ratio aiming at each occupation ratio;
the judging module is used for judging whether the priority of the target application program is high or not aiming at each target application program, wherein the target application program and the preset application program are different application programs;
the switching module is used for switching the target application program from the main CPU to the slave CPU to run if the judgment result of the judgment module is positive;
and the closing module is used for closing the target application program if the judgment result of the judgment module is negative.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the operating parameter adjusting method according to any one of claims 1 to 4.
CN201910134039.5A 2019-02-22 2019-02-22 Operation parameter adjusting method and mobile terminal Active CN109831585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910134039.5A CN109831585B (en) 2019-02-22 2019-02-22 Operation parameter adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910134039.5A CN109831585B (en) 2019-02-22 2019-02-22 Operation parameter adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109831585A CN109831585A (en) 2019-05-31
CN109831585B true CN109831585B (en) 2021-06-25

Family

ID=66864173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910134039.5A Active CN109831585B (en) 2019-02-22 2019-02-22 Operation parameter adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109831585B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2583001B (en) 2019-09-30 2021-08-11 Imagination Tech Ltd Periodic reset
CN110737323A (en) * 2019-10-21 2020-01-31 Oppo(重庆)智能科技有限公司 Screen display method, device, storage medium and terminal
CN111176758B (en) * 2019-12-31 2021-06-22 腾讯科技(深圳)有限公司 Configuration parameter recommendation method and device, terminal and storage medium
CN111338838A (en) * 2020-03-23 2020-06-26 Oppo广东移动通信有限公司 Method for controlling frequency of central processing unit and related device
CN111966149B (en) * 2020-10-27 2021-03-09 成都万创科技股份有限公司 Temperature control method and device for tablet computer
CN114647521A (en) * 2020-12-21 2022-06-21 深圳市万普拉斯科技有限公司 Drawing pipeline adjusting method and device, computer equipment and storage medium
CN114020352B (en) * 2021-10-27 2023-09-15 郑州云海信息技术有限公司 Cloud platform configuration method, device, equipment and storage medium
CN118585056A (en) * 2023-03-03 2024-09-03 华为技术有限公司 Frequency control method of processor and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120250586A1 (en) * 2011-04-01 2012-10-04 Kalle Ilmari Ahmavaara Methods and apparatus for managing data connectivity
JP6320685B2 (en) * 2013-04-30 2018-05-09 任天堂株式会社 Information processing program, information processing apparatus, information processing system, and information processing method
GB2529899B (en) * 2014-09-08 2021-06-23 Advanced Risc Mach Ltd Shared Resources in a Data Processing Apparatus for Executing a Plurality of Threads
CN106161783A (en) * 2016-06-27 2016-11-23 努比亚技术有限公司 A kind of battery charge controller and method
CN108334440A (en) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 A kind of processing method and processing device, client obtaining application performance test result
CN107479894A (en) * 2017-08-21 2017-12-15 奇酷互联网络科技(深圳)有限公司 Application program accelerating method, system, mobile terminal and readable storage medium storing program for executing
CN107832141A (en) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 Application program progress control method and equipment
CN108762834A (en) * 2018-05-17 2018-11-06 努比亚技术有限公司 A kind of application acceleration method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109831585A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN109831585B (en) Operation parameter adjusting method and mobile terminal
CN108182043B (en) Information display method and mobile terminal
CN107908383B (en) Screen color adjusting method and device and mobile terminal
CN109067418B (en) Antenna control method and mobile terminal
CN108089767B (en) Fingerprint identification area dividing method and mobile terminal
CN108182019A (en) A kind of suspension control display processing method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN110399000B (en) Mobile terminal and temperature control method thereof
CN109558046B (en) Information display method and terminal equipment
CN109739300B (en) Antenna control method and terminal
CN109195191B (en) Cell reselection control method and terminal
CN110636225B (en) Photographing method and electronic equipment
CN108768838A (en) One kind putting out screen information sharing method, transmitting terminal and receiving terminal
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN109151741B (en) Multimedia message receiving method and terminal
CN111343710A (en) Power adjustment method and electronic equipment
CN108366171B (en) Temperature rise control method and mobile terminal
CN108512616B (en) Signal intensity display method, mobile terminal and computer readable storage medium
CN108646966B (en) Screen-off time adjusting method and device
CN108089935B (en) Application program management method and mobile terminal
CN110740265B (en) Image processing method and terminal equipment
CN111026263B (en) Audio playing method and electronic equipment
CN110213437B (en) Editing method and mobile terminal
CN109327605B (en) Display control method and device and mobile terminal
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium

Legal Events

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