CN114402280A - Screen parameter adjusting method and device and terminal equipment - Google Patents

Screen parameter adjusting method and device and terminal equipment Download PDF

Info

Publication number
CN114402280A
CN114402280A CN201980100478.2A CN201980100478A CN114402280A CN 114402280 A CN114402280 A CN 114402280A CN 201980100478 A CN201980100478 A CN 201980100478A CN 114402280 A CN114402280 A CN 114402280A
Authority
CN
China
Prior art keywords
screen
screen parameter
application program
parameter
load
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.)
Pending
Application number
CN201980100478.2A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN114402280A publication Critical patent/CN114402280A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A screen parameter adjusting method, a screen parameter adjusting device and terminal equipment are suitable for the technical field of terminals. The method comprises the following steps: detecting screen parameters after a screen start operation (S101); detecting a system load when the screen parameter is greater than a minimum screen parameter threshold (S102); when the system load is greater than the load threshold, the screen parameter is decreased to decrease the system load (S103). According to the method, the device and the terminal equipment, after the screen is started, under the condition that the screen parameter is greater than the minimum screen parameter threshold value and the system load is greater than the load threshold value, the system load can be reduced by reducing the screen parameter, and therefore the fluency of the operating system in operation is improved.

Description

Screen parameter adjusting method and device and terminal equipment Technical Field
The application belongs to the technical field of terminals, and particularly relates to a screen parameter adjusting method and device and terminal equipment.
Background
With the continuous development of terminal technology, terminal devices such as mobile phones, tablet computers, personal digital assistants and the like are in endless, which brings great convenience to daily production and life of people. These terminal devices are usually provided with various types of screens such as a touch screen, a display screen, or a touch display screen, and a user can realize human-computer interaction with the terminal device through the screen of the terminal device.
In the case that the operating system (operating system) resources of the terminal device are insufficient, the screen parameters are too high, which may cause the operating system to be stuck.
Disclosure of Invention
A first aspect of an embodiment of the present application provides a method for adjusting screen parameters, including:
detecting screen parameters after the screen starts to work;
detecting a system load when the screen parameter is greater than a minimum screen parameter threshold;
and when the system load is larger than the load threshold value, reducing the screen parameter to reduce the system load.
A second aspect of the embodiments of the present application provides a screen parameter adjusting apparatus, including:
the first detection module is used for detecting screen parameters after the screen starts to work;
the second detection module is used for detecting the system load when the screen parameter is larger than the minimum screen parameter threshold value;
and the adjusting module is used for reducing the screen parameters to reduce the system load when the system load is greater than the load threshold value.
A third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the screen parameter adjusting method according to the first aspect of the embodiments of the present application when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the screen parameter adjusting method according to the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a screen parameter adjustment method according to an embodiment of the present application;
fig. 2 is a second flowchart of a screen parameter adjustment method according to an embodiment of the present application;
FIG. 3 is a table of correspondence between system load increments and screen parameters provided in an embodiment of the present application;
FIG. 4 is a third flowchart illustrating a method for adjusting screen parameters according to an embodiment of the present application;
FIG. 5 is a fourth flowchart illustrating a method for adjusting screen parameters according to an embodiment of the present application;
fig. 6 is a fifth flowchart illustrating a screen parameter adjusting method according to an embodiment of the present application;
fig. 7 is a table of correspondence between application programs and screen parameters required by the application programs provided in the embodiment of the present application;
fig. 8 is a sixth flowchart illustrating a screen parameter adjusting method according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a screen parameter adjusting apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all 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 terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
The embodiment of the application provides a screen parameter adjusting method, which is applied to desktop computers, notebook computers, mobile phones, tablet computers and personal digital assistants comprising screens, or terminal devices such as computer hosts, cloud servers and the like which can be in communication connection with the screens. The screen parameter adjustment method may be executed by a processor of the terminal device when running a corresponding computer program. The screen parameter adjusting method is used for reducing the system load (load average) of the operating system by reducing the screen parameters after the screen starts to work and when the system load is larger than the load threshold value, so that the smoothness of the operating system during operation is improved, and the phenomenon of the operating system blocking is reduced or avoided.
In Application, the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In an application, the screen parameter includes at least one of a touch screen click rate and a display screen refresh frequency. The screen parameters may include only the touch screen touch point rate, or may include both the touch screen touch point rate and the display screen refresh rate. When the screen parameters only include the touch screen click rate, the screen may only include the touch screen or the touch display screen, or may include both the touch screen and the display screen. When the screen parameters include both the touch screen click rate and the display screen refresh rate, the screen may include only the touch display screen, or both the touch screen and the display screen. The touch screen point reporting rate refers to the number of times of reporting to the processor coordinates within a unit time when the touch screen senses a touch operation, the unit time can be set according to actual needs (for example, 1S), and the coordinates refer to the coordinates of the sensing points on the touch screen sensing the touch operation in the sensing plane of the touch screen. The Screen refresh rate (Screen refresh rate) is the number of times a Screen displayed on the Screen is refreshed in a unit time, and the unit time can be set according to actual needs (for example, 1S).
As shown in fig. 1, a method for adjusting screen parameters provided in an embodiment of the present application includes:
step S101, after the screen starts to work, screen parameters are detected.
In application, when the screen does not start to work, the screen cannot display a picture and cannot sense touch operation, occupied system resources are 0, and at the moment, screen parameters cannot generate any substantial influence on system load. After the screen starts to work, the system resources occupied by the screen during working are positively correlated with the screen parameters, at the moment, the screen parameters can be detected, and the system resource occupancy rate of the screen during working can be calculated according to the size of the screen parameters.
And S102, detecting the system load when the screen parameter is larger than the minimum screen parameter threshold value.
In application, the adjustment range of the screen parameters is determined by the hardware performance of the screen. For example, the adjustment range of the touch screen reporting rate is determined by the resolution of the touch screen or the touch display screen and the response speed of the sensor, and the adjustment range of the display screen refresh rate is determined by the resolution of the display screen or the touch display screen and the scanning speed. The minimum screen parameter threshold is the lower limit value of the adjustment range of the screen parameter. When the screen works, the screen parameter is necessarily larger than or equal to the minimum screen parameter threshold value. When the screen parameter is equal to the minimum screen parameter threshold, the system load cannot be reduced by reducing the screen parameter, and only when the screen parameter is greater than the minimum screen parameter threshold, the system load can be reduced by reducing the screen parameter.
In application, the system load is equal to the occupancy rate of system resources, the occupancy rate of the system resources is positively correlated with the occupancy rate of the resources of a processor and/or the occupancy rate of a memory of the terminal equipment, and the system load can be obtained by detecting the occupancy rate of the resources of the processor and/or the occupancy rate of the memory.
In one embodiment, in step S102, detecting a system load includes:
detecting the resource occupancy rate of a processor and/or the occupancy rate of a memory;
and obtaining the system load according to the resource occupancy rate of the processor and/or the occupancy rate of the memory.
And step S103, when the system load is greater than the load threshold value, reducing the screen parameters to reduce the system load.
In application, the load threshold is the maximum system load that ensures smooth operation of the operating system, and can be set according to actual needs. For example, when the processor is a single-core processor, the load threshold may be set to any value between 0.7 and 1.0, and when the processor is an N-core processor, the load threshold may be set to any value between 0.7N (0.7 times N) and N.0; wherein N is an integer of not less than 1. For a single-core processor, when the average load is 0, the processor is completely idle, and the system load is 0 at the moment; when the average load is 1, it indicates that the processor is in a full load state, and the system load is 1.
As shown in fig. 2, in one embodiment, step S103 includes:
step S201, detecting the system load when the operating system runs at the minimum screen parameter threshold value.
In the application, under the condition that the running state of other system processes which are not related to the screen parameters is not changed, the system load when the current screen parameters are adjusted to the minimum screen parameter threshold value is detected.
Step S202, when the system load when the operating system operates at the minimum screen parameter threshold is less than or equal to the load threshold, acquiring a target screen parameter which enables the system load to be less than or equal to the load threshold;
in an application, when the system load when the operating system operates at the minimum screen parameter threshold is less than the load threshold, the system load may be reduced by reducing the current screen parameter to be greater than or equal to the minimum screen parameter threshold, in which case the minimum screen parameter threshold is less than or equal to the target screen parameter < the screen parameter at which the system load is greater than the load threshold. When the system load of the operating system running at the minimum screen parameter threshold is equal to the load threshold, the system load may be reduced by reducing the current screen parameter to be equal to the minimum screen parameter threshold, in which case the target screen parameter is the minimum screen parameter threshold.
In application, when an operating system runs according to target screen parameters, the system load is less than or equal to a load threshold value, smooth running can be realized, and the pause phenomenon can not occur.
And step S203, adjusting the screen parameters to the target screen parameters.
In the application, after the screen parameters are adjusted to the target screen parameters, the operating system runs with the target screen parameters.
In application, under the condition that the running state of other system processes not associated with the screen parameter is not changed, the system load increment of the operating system running under different screen parameters can be detected in advance, then the corresponding relation between the screen parameter and the system load increment is established, and then the corresponding relation is recorded in the form of a corresponding relation table or a corresponding relation curve, wherein the corresponding relation table can be a look-up table (LUT) or other data table with the same function or a Random Access Memory (RAM) type storage medium. The system load increment is defined as: when the screen parameter is adjusted within the adjustment range of the screen parameter, the difference between the system load when the operating system operates with the adjusted screen parameter and the system load when the operating system operates with the minimum screen parameter threshold value, that is, the system load increment is the system load when the operating system operates with the adjusted screen parameter — the system load when the operating system operates with the minimum screen parameter threshold value.
As shown in fig. 3, an exemplary table of the correspondence between the system load increment and the screen parameter is shown; the system load increment 1, the system load increments 2 and … and the system load increment n respectively correspond to the screen parameter 1, the screen parameters 2 and … and the screen parameter n; wherein n is an integer not less than 1.
In application, the system load increment 1 may be 0, and the corresponding screen parameter 1 may be a minimum screen parameter threshold; the screen parameter n may be a maximum screen parameter threshold, that is, the screen parameter n may be an upper limit value of an adjustment range of the screen parameter.
In one embodiment, before step S101, the method includes:
under the condition that the running states of other system processes which are not related to the screen parameters are not changed, the system load of an operating system running with different screen parameters is obtained;
calculating the difference value between the system load when the operating system runs with different screen parameters and the system load when the operating system runs with the minimum screen parameter threshold value to obtain the system load increment when the operating system runs with different screen parameters;
and establishing a corresponding relation between the screen parameters and the system load increment.
As shown in fig. 4, in an embodiment, after step S101, the method further includes:
step S401, when the system load is less than or equal to the load threshold, comparing the screen parameter with the size of the screen parameter required by the running application program.
In an application, the running application may include an application running in the foreground, and may also include an application running in the background. Applications that are running in the foreground are typically those that directly impact the user experience, and thus running applications may be specifically targeted for those that are running in the foreground. The screen parameters required by the Application include a touch screen click rate that enables the touch screen to normally recognize a user's touch operation on an Application Program Interface (API) without a stuck phenomenon, and a display screen refresh rate that enables the display screen to normally display the Application Interface without picture shaking or flickering. By comparing the current screen parameter with the size of the screen parameter required by the application program, whether the current screen parameter meets the requirement of the running application program can be known, and if the current screen parameter does not meet the requirement of the running application program, the size of the screen parameter needs to be adjusted so that the screen parameter meets the requirement of the running application program.
In application, step S401 may be implemented by a comparator in a processor, a software program module with equivalent functions, or other logic devices.
Step S402, when the screen parameter is smaller than the screen parameter required by the running application program, detecting the system load when the operating system runs with the screen parameter required by the running application program.
In the application, if the screen parameter is smaller than the screen parameter required by the running application program, it indicates that the current screen parameter does not meet the requirement of the running application program, and the operating system runs with the current screen parameter, so that the touch screen cannot normally recognize the click phenomenon caused by the touch operation of the user on the application program interface. When the screen parameters include a display screen refresh rate, the operating system operates with the current screen parameters, and the display screen cannot normally display an application program interface, and image jitter or flickering occurs. Therefore, when the screen parameter is smaller than the screen parameter required by the running application, the screen parameter needs to be adjusted in size so that the screen parameter meets the requirements of the running application. Before the screen parameters are adjusted in size, the system load of the operating system when the operating system runs with the screen parameters required by the running application needs to be detected so as to determine whether the operating system can run smoothly after the screen parameters are adjusted in size.
In the application, according to a correspondence between a screen parameter and a system load established in advance, the screen parameter required by the running application program is used as a search basis, and the system load corresponding to the screen parameter required by the running application program is searched in the correspondence, so that the system load when the operating system runs according to the screen parameter required by the running application program is obtained.
And S403, when the system load when the operating system runs with the screen parameters required by the running application program is less than or equal to the load threshold value, adjusting the screen parameters to the screen parameters required by the running application program.
In the application, the system load when the operating system runs with the screen parameters required by the running application program is less than or equal to the load threshold, which indicates that the operating system can run smoothly after the size of the screen parameters is adjusted, and at this time, the screen parameters can be adjusted to the screen parameters required by the running application program, so that the fluency of the operating system is not affected.
As shown in fig. 5, in an embodiment, after step S402, the method further includes:
step S501, when the system load when the operating system runs with the screen parameters required by the running application program is larger than the load threshold, acquiring the target screen parameters of which the system load is smaller than or equal to the load threshold, and then entering step S203.
In the application, the system load when the operating system runs with the screen parameters required by the running application program is greater than the load threshold, which indicates that the operating system cannot run smoothly after the screen parameters are adjusted to the screen parameters required by the running application program, and a stuck phenomenon occurs, at this time, by acquiring the target screen parameters which enable the system load to be less than or equal to the load threshold, and then executing step S203, the screen parameters are adjusted to the target screen parameters, which can ensure that the operating system can run smoothly.
In one embodiment, step S501 includes:
when the system load when the operating system runs with the screen parameters required by the running application program is greater than the load threshold, the target screen parameters for making the system load equal to the load threshold are acquired, and then the process proceeds to step S203.
In the application, by acquiring the target screen parameter for making the system load equal to the load threshold, and then executing step S203, the screen parameter is adjusted to the target screen parameter, and the screen parameter can be improved as much as possible under the condition that the operating system can smoothly run, so as to improve the use experience of the running application program for the user.
In one embodiment, the screen parameters include touch screen click rate;
after step S402, the method includes:
when the system load when the operating system runs according to the screen parameters required by the running application program is greater than the load threshold value, prompting a user to switch a man-machine interaction mode;
and when a human-computer interaction mode switching instruction of a user is received, switching to a non-contact human-computer interaction mode.
In application, in order to ensure that an operating system can smoothly run, a user can be prompted to switch a human-computer interaction mode, a contact control mode realized based on a touch screen is switched to a non-contact human-computer interaction mode, and the non-contact human-computer interaction mode comprises a voice interaction mode realized based on voice devices such as a microphone, a loudspeaker and a voice chip, a visual perception control mode realized based on a camera, or a gesture control mode realized based on the camera or an infrared sensor. The prompting mode of the user can comprise one or more of pop-up window prompting realized based on a display screen or a touch display screen, voice prompting realized based on a voice device, vibration prompting realized based on a vibration motor and light prompting realized based on a flash lamp.
As shown in fig. 6, in one embodiment, before step S401, the method includes:
step S601, setting screen parameters required by each application program for different application programs.
In an application, the screen parameters required by different applications are not exactly the same, for example, the display refresh rate and touch screen click rate required by a game application are both greater than those of a browser application. Therefore, the screen parameters required by each application program can be set in advance for different application programs, so that the screen parameters after adjustment can meet the requirements of the running application program as much as possible.
In one embodiment, step S601 includes:
setting a first screen parameter required by the game application program aiming at the game application program;
setting a second screen parameter required by the non-game application program aiming at the non-game application program; wherein the first screen parameter is greater than the second screen parameter.
In one embodiment, the screen parameters include a display screen refresh rate and a touch screen click rate;
step S601, including:
setting a display screen refresh rate required by each game application program aiming at different game application programs;
and setting the touch screen click rate required by each game application program according to the display screen refresh rate required by each game application program.
In application, for game applications, the display screen refresh rate required by each game application is not exactly the same, the same or different display screen refresh rates may be set for different game applications, the display screen refresh rate required by each game application is usually positively correlated with the touch screen click rate required by each game application, and the display screen refresh rate required by each game application may be the same as the touch screen click rate required by each game application.
In application, the game application program in this embodiment refers to any application program with a higher display screen refresh rate and touch screen click rate in normal operation, the non-game application program refers to any application program with a lower display screen refresh rate and touch screen click rate in normal operation, the game application program with a lower display screen refresh rate or touch screen click rate in normal operation does not belong to the game application program in this embodiment, and the non-game application program with a higher display screen refresh rate or touch screen click rate in normal operation does not belong to the non-game application program in this embodiment.
As shown in fig. 6, in one embodiment, after step S601, the method includes:
step S602, establishing a corresponding relation between each application program and screen parameters required by each application program.
In the application, a corresponding relationship between each application program and a screen parameter required by each application program may be established in advance, and then the corresponding relationship is recorded in the form of a corresponding relationship table or a corresponding relationship curve, where the corresponding relationship table may be a look-up table (LUT), or may be another data table with the same function or a Random Access Memory (RAM) type storage medium.
As shown in fig. 7, an exemplary correspondence table between an application program and screen parameters required by the application program is shown; wherein, the application program 1, the application program 2, the application program … and the application program m respectively correspond to the screen parameter 1, the screen parameter 2, the screen parameter … and the screen parameter m; wherein m is an integer greater than or equal to 1.
As shown in fig. 8, in one embodiment, step S601 includes:
step S801, setting screen parameters required by each application program according to the usage habit of the user when the operating system runs each application program for different application programs.
In an application, the usage habit of a user refers to the user's requirement for screen parameters of an application program running on an operating system. The different users' needs for the screen parameters of the same application are different. For example, the touch operation of the touch screen by the elderly and the children is slow, the touch screen reporting rate of the application program is low and does not affect the use experience of the elderly and the children, and the touch screen reporting rate of the application program is high for the young people with the fast touch operation of the touch screen, and the screen parameter required by the application program needs to be set to a high value to meet the requirement. Therefore, for different users, the user can set the screen parameters required by each application program by himself through the man-machine interaction mode supported by the terminal equipment. The using habit of the user can also be analyzed by the operating system according to the personalized information of the user, such as age, sex, occupation, personality and the like.
In one embodiment, step S801 includes:
detecting the touch frequency of a user on a touch screen when an operating system runs each application program aiming at different application programs;
and setting screen parameters required by each application program according to the touch frequency of the user on the touch screen when the operating system runs each application program.
In the application, the use habits of the user comprise the touch frequency of the user to the touch screen, and the touch frequency is positively correlated with the touch screen reporting rate, so that the requirement of the user on the screen parameters of each application program can be determined by detecting the touch frequency of the user to the touch screen when the operating system runs each application program.
In one embodiment, after step S401, the method further includes:
when the screen parameter is greater than or equal to the screen parameter required by the running application, the screen parameter is maintained and the process returns to step S101.
In the application, if the screen parameter is greater than or equal to the screen parameter required by the running application program, it indicates that the current screen parameter meets the requirement of the running application program, and when the operating system runs with the current screen parameter, the touch screen can normally identify the touch operation of the user on the application program interface. When the screen parameters comprise the refresh rate of the display screen, the display screen can normally display an application program interface, and picture jitter or flickering cannot occur. Therefore, when the screen parameter is greater than or equal to the screen parameter required by the running application program, the size of the screen parameter does not need to be adjusted, the operating system and the application program can run smoothly, at this time, the screen parameter can be kept unchanged, and the step S101 is returned to, the system load is continuously detected, and the screen parameter adjusting method is repeatedly executed, so that the operating system can run smoothly all the time.
According to the embodiment of the application, the screen parameters are detected after the screen is started to work; detecting a system load when the screen parameter is greater than a minimum screen parameter threshold; when the system load is greater than the load threshold, the screen parameters are reduced to reduce the system load, and after the screen starts to work, under the condition that the screen parameters are greater than the minimum screen parameter threshold and the system load is greater than the load threshold, the system load is reduced by reducing the screen parameters, so that the smoothness of the operating system during operation is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
As shown in fig. 9, an embodiment of the present application provides a screen parameter adjusting apparatus 9 for performing the screen parameter adjusting method in the foregoing embodiment. The screen parameter adjusting device 9 may be a terminal device, or may be a virtual appliance (virtual application) in a processor of the terminal device. The screen parameter adjusting device 9 includes:
the first detection module 91 is used for detecting screen parameters after the screen starts to work;
a second detection module 92, configured to detect a system load when the screen parameter is greater than the minimum screen parameter threshold;
and an adjusting module 93, configured to decrease the screen parameter to decrease the system load when the system load is greater than the load threshold.
In one embodiment, the screen parameter adjusting apparatus further includes:
the first acquisition module is used for acquiring the system load when the operating system operates with different screen parameters under the condition that the operating state of other system processes which are not associated with the screen parameters is not changed;
the calculation module is used for calculating the difference value between the system load when the operating system runs with different screen parameters and the system load when the operating system runs with the minimum screen parameter threshold value to obtain the system load increment when the operating system runs with different screen parameters;
and the establishing module is used for establishing the corresponding relation between the screen parameters and the system load increment.
In one embodiment, the screen parameter adjusting apparatus further includes:
the comparison module is used for comparing the screen parameter with the size of the screen parameter required by the running application program when the system load is less than or equal to a load threshold value;
the second detection module is further used for detecting the system load when the operating system runs with the screen parameters required by the running application program when the screen parameters are smaller than the screen parameters required by the running application program;
the adjusting module is further used for adjusting the screen parameters to the screen parameters required by the running application program when the system load when the operating system runs with the screen parameters required by the running application program is less than or equal to the load threshold value.
In an application, the comparison module may be a comparator.
In one embodiment, the adjusting module is further configured to, when a system load when the operating system runs with the screen parameters required by the running application is greater than a load threshold, obtain a target screen parameter that makes the system load less than or equal to the load threshold, and adjust the screen parameter to the target screen parameter.
In one embodiment, the screen parameter adjusting apparatus further includes:
the prompting module is used for prompting a user to switch a man-machine interaction mode when the system load when the operating system runs according to the screen parameters required by the running application program is greater than a load threshold value;
and the switching module is used for switching to a non-contact human-computer interaction mode when receiving a human-computer interaction mode switching instruction of a user.
In an application, the prompting module may include at least one of a display screen, a touch display screen, a voice device, a vibration motor, and a flash.
In one embodiment, the screen parameter adjusting apparatus further includes:
and the setting module is used for setting screen parameters required by each application program aiming at different application programs.
In one embodiment, the establishing module is further configured to establish a correspondence between each application program and screen parameters required by each application program.
In one embodiment, the screen parameter adjusting apparatus further includes:
and the returning module is used for maintaining the screen parameters unchanged and returning to the first detection module when the screen parameters are greater than or equal to the screen parameters required by the running application program.
In application, each module in the screen parameter adjusting apparatus may be a software program module in a processor of the terminal device, or may be implemented by different processors, or may be implemented by different logic circuit structures in the processors.
According to the embodiment of the application, the screen parameters are detected after the screen is started to work; detecting a system load when the screen parameter is greater than a minimum screen parameter threshold; when the system load is greater than the load threshold, the screen parameters are reduced to reduce the system load, and the system load can be reduced by reducing the screen parameters under the condition that the screen parameters are greater than the minimum screen parameter threshold and the system load is greater than the load threshold after the screen is started to work, so that the smoothness of the operation system during operation is improved.
As shown in fig. 10, an embodiment of the present application provides a terminal device 10 including: a processor 100, a memory 101 and a computer program 102, such as a screen parameter adjustment program, stored in said memory 101 and executable on said processor 100. The processor 100 executes the computer program 102 to implement the steps in the above-mentioned various screen parameter adjustment method embodiments, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 100, when executing the computer program 102, implements the functions of the modules in the above device embodiments, such as the functions of the modules 91 to 93 shown in fig. 9.
Illustratively, the computer program 102 may be partitioned into one or more modules that are stored in the memory 101 and executed by the processor 100 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 102 in the terminal device 10. For example, the computer program 102 may be divided into a detection module, an acquisition module, and an adjustment module, and each module specifically functions as follows:
the first detection module is used for detecting screen parameters after the screen starts to work;
the second detection module is used for detecting the system load when the screen parameter is larger than the minimum screen parameter threshold value;
and the adjusting module is used for reducing the screen parameters to reduce the system load when the system load is greater than the load threshold value.
The terminal device 10 may be a desktop computer, a notebook computer, a mobile phone, a tablet computer, a personal digital assistant, or a computer host, a cloud server, etc. capable of being connected to a screen in a communication manner. The terminal device 10 may include, but is not limited to, a processor 100, a memory 101. Those skilled in the art will appreciate that fig. 10 is merely an example of a terminal device 10 and does not constitute a limitation of terminal device 10 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The storage 101 may be an internal storage unit of the terminal device 10, such as a hard disk or a memory of the terminal device 10. The memory 101 may also be an external storage device of the terminal device 10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 10. Further, the memory 101 may also include both an internal storage unit and an external storage device of the terminal device 10. The memory 101 is used for storing the computer program and other programs and data required by the terminal device. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (13)

  1. A screen parameter adjusting method is characterized by comprising the following steps:
    detecting screen parameters after the screen starts to work;
    detecting a system load when the screen parameter is greater than a minimum screen parameter threshold;
    and when the system load is larger than the load threshold value, reducing the screen parameter to reduce the system load.
  2. The screen parameter adjustment method of claim 1, wherein reducing the screen parameter to reduce the system load when the system load is greater than the load threshold comprises:
    detecting a system load when an operating system runs at a minimum screen parameter threshold;
    when the system load when the operating system runs at the minimum screen parameter threshold is less than or equal to the load threshold, acquiring a target screen parameter which enables the system load to be less than or equal to the load threshold;
    and adjusting the screen parameters to the target screen parameters.
  3. The screen parameter adjustment method of claim 1 or 2, wherein when the screen parameter is greater than the minimum screen parameter threshold, after detecting the system load, further comprising:
    when the system load is less than or equal to the load threshold value, comparing the screen parameter with the size of the screen parameter required by the running application program;
    when the screen parameters are smaller than the screen parameters required by the running application program, detecting the system load when the operating system runs with the screen parameters required by the running application program;
    when the system load when the operating system runs with the screen parameters required by the running application program is less than or equal to the load threshold value, the screen parameters are adjusted to the screen parameters required by the running application program.
  4. The screen parameter adjustment method of claim 3, wherein when the screen parameter is smaller than a screen parameter required by the running application, after detecting a system load when the operating system runs with the screen parameter required by the running application, further comprising:
    when the system load when the operating system runs with the screen parameters required by the running application program is greater than the load threshold, acquiring target screen parameters which enable the system load to be less than or equal to the load threshold;
    and adjusting the screen parameters to the target screen parameters.
  5. The screen parameter adjustment method of claim 3, wherein comparing the screen parameter to a size of the screen parameter required by the running application before the system load is less than or equal to a load threshold comprises:
    the screen parameters required by each application are set for different applications.
  6. The screen parameter adjustment method of claim 5, wherein the screen parameters include a display screen refresh rate and a touch screen click rate;
    setting screen parameters required by each application program aiming at different application programs, wherein the screen parameters comprise:
    setting a display screen refresh rate required by each game application program aiming at different game application programs;
    and setting the touch screen click rate required by each game application program according to the display screen refresh rate required by each game application program.
  7. The screen parameter adjustment method of claim 5, wherein setting screen parameters required for each application program for different application programs comprises:
    setting a first screen parameter required by the game application program aiming at the game application program;
    setting a second screen parameter required by the non-game application program aiming at the non-game application program; wherein the first screen parameter is greater than the second screen parameter.
  8. The screen parameter adjustment method of claim 5, wherein setting screen parameters required for each application program for different application programs comprises:
    and setting screen parameters required by each application program according to the use habit of a user when the operating system runs each application program aiming at different application programs.
  9. The screen parameter adjustment method of claim 8, wherein setting screen parameters required for each application program according to a usage habit of a user when the operating system runs each application program for different application programs comprises:
    detecting the touch frequency of a user on a touch screen when an operating system runs each application program aiming at different application programs;
    and setting screen parameters required by each application program according to the touch frequency of the user on the touch screen when the operating system runs each application program.
  10. The screen parameter adjustment method of claim 3, wherein the screen parameter comprises a touch screen click rate;
    when the screen parameter is smaller than the screen parameter required by the running application program, after detecting the system load when the operating system runs with the screen parameter required by the running application program, the method further comprises the following steps:
    when the system load when the operating system runs according to the screen parameters required by the running application program is greater than the load threshold value, prompting a user to switch a man-machine interaction mode;
    and when a human-computer interaction mode switching instruction of a user is received, switching to a non-contact human-computer interaction mode.
  11. The screen parameter adjustment method of claim 3, wherein when the system load is less than or equal to the load threshold, after comparing the screen parameter with the size of the screen parameter required by the running application, further comprising:
    and when the screen parameter is larger than or equal to the screen parameter required by the running application program, maintaining the screen parameter unchanged and returning to detect the screen parameter.
  12. A screen parameter adjustment apparatus, comprising:
    the first detection module is used for detecting screen parameters after the screen starts to work;
    the second detection module is used for detecting the system load when the screen parameter is larger than the minimum screen parameter threshold value;
    and the adjusting module is used for reducing the screen parameters to reduce the system load when the system load is greater than the load threshold value.
  13. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the screen parameter adjustment method according to any one of claims 1 to 11 when executing the computer program.
CN201980100478.2A 2019-11-13 2019-11-13 Screen parameter adjusting method and device and terminal equipment Pending CN114402280A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/118108 WO2021092806A1 (en) 2019-11-13 2019-11-13 Screen parameter adjustment method and apparatus, and terminal device

Publications (1)

Publication Number Publication Date
CN114402280A true CN114402280A (en) 2022-04-26

Family

ID=75911337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980100478.2A Pending CN114402280A (en) 2019-11-13 2019-11-13 Screen parameter adjusting method and device and terminal equipment

Country Status (2)

Country Link
CN (1) CN114402280A (en)
WO (1) WO2021092806A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661403A (en) * 2022-03-29 2022-06-24 联想(北京)有限公司 Processing method, system and electronic equipment
CN114913827A (en) * 2022-05-17 2022-08-16 广西世纪创新显示电子有限公司 Energy-saving display control method, device, terminal and storage medium of electronic contest display

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930852A (en) * 2012-11-08 2013-02-13 山东大学 Method of improving mobile terminal system performance by dynamically regulating of screen refresh rate
US20140047256A1 (en) * 2012-07-17 2014-02-13 Tencent Technology (Shenzhen) Co., Ltd. Terminal device and method for operating the same
CN103699320A (en) * 2012-09-27 2014-04-02 华为终端有限公司 Method and device for setting touch screen parameter value
WO2014205933A1 (en) * 2013-06-27 2014-12-31 中兴通讯股份有限公司 Method and device for processing point reporting rate of touchscreen
CN104679336A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Method and device for adjusting touch screen parameters
CN104991673A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for self-matching data reporting rate of touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293047B (en) * 2015-06-26 2020-01-10 微软技术许可有限责任公司 Reducing power consumption of mobile devices by dynamic resolution scaling
CN110399087A (en) * 2019-07-29 2019-11-01 深圳传音控股股份有限公司 Control method, terminal device and the computer readable storage medium of screen touch-control

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047256A1 (en) * 2012-07-17 2014-02-13 Tencent Technology (Shenzhen) Co., Ltd. Terminal device and method for operating the same
CN103699320A (en) * 2012-09-27 2014-04-02 华为终端有限公司 Method and device for setting touch screen parameter value
CN102930852A (en) * 2012-11-08 2013-02-13 山东大学 Method of improving mobile terminal system performance by dynamically regulating of screen refresh rate
WO2014205933A1 (en) * 2013-06-27 2014-12-31 中兴通讯股份有限公司 Method and device for processing point reporting rate of touchscreen
CN104679336A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Method and device for adjusting touch screen parameters
CN104991673A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for self-matching data reporting rate of touch screen

Also Published As

Publication number Publication date
WO2021092806A1 (en) 2021-05-20

Similar Documents

Publication Publication Date Title
US10475413B2 (en) Method and apparatus for adjusting backlight brightness of screen, and mobile terminal
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US10761722B2 (en) Black screen gesture detection method and device, storage medium, and mobile terminal
WO2019120027A1 (en) Screen brightness adjustment method and apparatus, storage medium and mobile terminal
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
CN107181858B (en) Method and terminal for displaying notification message
CN110362225B (en) Touch screen sampling frequency control method and device, medium and electronic equipment
US20210149534A1 (en) Display Control Method and Terminal
CN107390976B (en) Icon display processing method and electronic equipment
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
WO2019007248A1 (en) Recommendation method and apparatus, device, and storage medium
CN107402712B (en) Touch operation response method and device, storage medium and terminal
CN113765873B (en) Method and device for detecting abnormal access traffic
CN107148776B (en) Method, device and system for acquiring video data and computer readable storage medium
WO2012131607A2 (en) Methods and apparatuses for dynamically scaling a touch display user interface
CN114341784A (en) Touch event processing method and device, mobile terminal and storage medium
US20200004374A1 (en) Method for adjustment touch screen, touch chip, and electronic terminal
CN114402280A (en) Screen parameter adjusting method and device and terminal equipment
CN107153546A (en) A kind of video broadcasting method and mobile device
CN110221765B (en) Video file playing method and device, storage medium and terminal
WO2015085874A1 (en) Method and device for identifying gesture
JP6742385B2 (en) Electronic device for measuring water content using display and method of operating electronic device
US11656761B2 (en) Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN109885201B (en) Touch area detection method for touch screen, electronic device 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