[go: up one dir, main page]

CN111816139B - Screen refresh rate switching method and electronic device - Google Patents

Screen refresh rate switching method and electronic device Download PDF

Info

Publication number
CN111816139B
CN111816139B CN202010555914.XA CN202010555914A CN111816139B CN 111816139 B CN111816139 B CN 111816139B CN 202010555914 A CN202010555914 A CN 202010555914A CN 111816139 B CN111816139 B CN 111816139B
Authority
CN
China
Prior art keywords
refresh rate
screen
screen refresh
display
display screen
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
CN202010555914.XA
Other languages
Chinese (zh)
Other versions
CN111816139A (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 CN202010555914.XA priority Critical patent/CN111816139B/en
Publication of CN111816139A publication Critical patent/CN111816139A/en
Application granted granted Critical
Publication of CN111816139B publication Critical patent/CN111816139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a screen refresh rate switching method, which belongs to the technical field of electronics and comprises the following steps: acquiring the picture display size of a display screen; under the condition that the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, so that the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate; wherein the first screen refresh rate is greater than the second screen refresh rate. The display effect can be guaranteed, and meanwhile the purposes of saving electric quantity and reducing power consumption of the electronic equipment are achieved.

Description

Screen refresh rate switching method and electronic equipment
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a screen refresh rate switching method and electronic equipment.
Background
The screen refresh rate refers to the number of times that an image on a screen is repeatedly scanned from top to bottom, and the higher the refresh rate is, the smoother the displayed picture is.
At present, with the application of a 90hz refresh rate to a mobile phone, a screen with a high refresh rate becomes a next hot spot for electronic equipment manufacturers to pursue.
However, the high refresh rate may cause the power consumption of the electronic device to be large, and how to reduce the power consumption of the electronic device while ensuring the smoothness of the electronic device is a pain point.
Disclosure of Invention
The embodiment of the application aims to provide a screen refresh rate switching method, which can solve the problem that the power consumption of electronic equipment is large due to a high refresh rate.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a screen refresh rate switching method, where the method includes:
acquiring the picture display size of a display screen;
under the condition that the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is a first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to a second screen refresh rate;
wherein the first screen refresh rate is greater than the second screen refresh rate.
In a second aspect, an embodiment of the present application provides a screen refresh rate switching apparatus, where the apparatus includes:
the first acquisition module is used for acquiring the picture display size of the display screen;
the first switching module is used for switching the screen refresh rate of the display screen from a first screen refresh rate to a second screen refresh rate under the condition that the picture display size is smaller than or equal to a threshold size and the current screen refresh rate of the display screen is the first screen refresh rate;
wherein the first screen refresh rate is greater than the second screen refresh rate.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, by obtaining the picture display size of the display screen, when the picture display size is smaller than or equal to the threshold size, and the current screen refresh rate of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easily seen by human eyes, therefore, under such a condition, the electronic device can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate (the first screen refresh rate is greater than the second screen refresh rate), the purpose of saving electric quantity can be achieved while ensuring the display effect, and further, the power consumption of the electronic device can be reduced.
Drawings
Fig. 1 is a flowchart illustrating a method for switching a screen refresh rate according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating another method for switching screen refresh rates according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a screen refresh rate switching according to an embodiment of the present application;
FIG. 4 is a block diagram illustrating a screen refresh rate switching apparatus according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of another screen refresh rate switching apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application to implement various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen refresh rate switching method and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a screen refresh rate switching method, as shown in fig. 1, the screen refresh rate switching method includes:
step 101, acquiring the picture display size of a display screen.
In the embodiment of the application, the picture display size of the display screen of the electronic device can be acquired through the electronic device.
The electronic device is a device that needs to perform screen refresh rate switching, and in this embodiment, the electronic device may be a mobile electronic device, such as a mobile phone, a tablet computer, and the like.
The screen display size refers to an actual size of the play screen displayed on the screen of the electronic device, and for example, when the play screen is displayed on the screen in a full screen, the screen size may be set as the screen display size. When the play picture is displayed on a partial screen on the screen, the size of the partial screen may be taken as the picture display size.
In this embodiment, the screen display size of the display screen may be acquired by a central processing unit of the electronic device.
After acquiring the picture display size of the display screen, step 102 is performed.
And 102, under the condition that the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate.
The threshold size refers to a size preset by a service person for comparison with a screen display size of a display screen, and a specific numerical value of the threshold size may be determined according to a service requirement, which is not limited in this embodiment.
The screen refresh rate represents the vertical update rate of the visual information on the screen, and for most display screens, the refresh rate is typically 60 times per second, i.e. 60 frames of pictures are generated in one second, so the screen refresh rate is 60 hz. There are also a screen refresh rate of 90 hz/s and a screen refresh rate of 120 hz/s, and the higher the screen refresh rate is, the more frames of pictures are generated in one second by the display screen, so that the animation displayed by the electronic device is smoother and smoother, and the fatigue of human eyes is lower.
In the present embodiment, the first screen refresh rate is greater than the second screen refresh rate, for example, when the second screen refresh rate is 60 hz, the first screen refresh rate may be 90hz or 120 hz.
After the picture display size of the display screen is obtained, the size relationship between the picture display size and the threshold size can be compared, and the current refresh rate of the display screen can be obtained.
Under the condition that the picture display size is smaller than or equal to the threshold size and the current screen of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, therefore, under the condition, the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate, the purpose of saving electric quantity can be achieved while the display effect is guaranteed, and the power consumption of the electronic equipment can be further reduced.
According to the screen refresh rate switching method provided by the embodiment of the application, by obtaining the picture display size of the display screen, when the picture display size is smaller than or equal to the threshold size, and the current screen refresh rate of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easily seen by human eyes, therefore, under the condition, the electronic device can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate (the first screen refresh rate is greater than the second screen refresh rate), the purpose of saving electric quantity can be achieved while the display effect is ensured, and further the power consumption of the electronic device can be reduced.
Referring to fig. 2, another embodiment of the present application provides a screen refresh rate switching method, as shown in fig. 2, the screen refresh rate switching method includes:
step 201, acquiring the picture display size of the display screen.
In the embodiment of the application, the picture display size of the display screen of the electronic device can be acquired through the electronic device.
The electronic device is an electronic device that needs to perform screen refresh rate switching, and in this embodiment, the electronic device may be a mobile electronic device, such as a mobile phone and a tablet computer. Or may be a PC (Personal Computer) terminal, such as a desktop Computer, a notebook Computer, etc.
The screen display size refers to an actual size of the play screen displayed on the screen of the electronic device, and for example, when the play screen is displayed on the screen in a full screen, the screen size may be set as the screen display size. When the play picture is displayed on a partial screen on the screen, the size of the partial screen may be taken as the picture display size.
Fig. 3 is a schematic diagram illustrating a screen refresh rate switching according to an embodiment of the present application, and as shown in fig. 3, the main modules may include: the device comprises a power management unit chip 01, an infrared detection module 02, a central processing unit 03, an ambient light detection module 04 and a display screen 05 which are connected with one another. The central processing unit 03 can control the system of the whole electronic device; the infrared detection module can detect whether an object approaches the electronic equipment or not through infrared light; the ambient light detection module can detect the intensity of ambient light; the power management unit chip can supply power to the whole electronic equipment; the display screen can display certain electronic files on the screen through a specific transmission device and reflect the electronic files to human eyes.
In this embodiment, the screen display size of the display screen may be acquired by a central processing unit of the electronic device.
After acquiring the screen display size of the display screen, step 202 is executed, or step 203 is executed, or step 204 is executed.
Step 202, under the condition that the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate.
The threshold size may be a size preset by a service person for comparison with a picture display size of a display screen, and a specific numerical value of the threshold size may be determined according to a service requirement, which is not limited in this embodiment, and may be, for example, a half area of the screen size of a mobile phone. Under the condition that the picture display size is smaller than or equal to the threshold size and the current screen of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, therefore, under the condition, the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate, the purpose of saving electric quantity can be achieved while the display effect is guaranteed, and the power consumption of the electronic equipment can be further reduced.
The screen refresh rate represents the vertical update rate of the visual information on the screen, and for most display screens, the refresh rate is typically 60 times per second, i.e. 60 frames of pictures are generated in one second, so the screen refresh rate is 60 hz. There are a screen refresh rate of 90 hz/s and a screen refresh rate of 120 hz/s, and the higher the screen refresh rate is, the more frames of pictures are generated in one second by the display screen, so that the animation displayed by the electronic device can be smoother and smoother, and the degree of fatigue of human eyes is lower.
In the present embodiment, the first screen refresh rate is greater than the second screen refresh rate, for example, when the second screen refresh rate is 60 hz, the first screen refresh rate may be 90hz or 120 hz.
After the picture display size of the display screen is obtained, the size relationship between the picture display size and the threshold size can be compared, and the current refresh rate of the display screen can be obtained.
Step 203, under the condition that the picture display size is larger than the threshold size and the current screen refresh rate of the display screen is the second screen refresh rate, switching the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate.
Under the condition that the picture display size is larger than the threshold size and the current screen refresh rate of the display screen is the second screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate can be easily seen by human eyes, so that the electronic equipment can switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate, namely to a higher screen refresh rate, so as to ensure the display effect.
And 204, acquiring the spacing distance between the user and the display screen under the condition that the picture display size is larger than the threshold size.
The separation distance refers to the distance between the user and the display screen. When the screen display size is larger than the threshold size, the present embodiment may increase the determination condition of the separation distance, and specifically, the following description may be referred to.
As shown in fig. 3, an infrared detection module is preset in the electronic device, and when the size of the displayed image is larger than a threshold size, the infrared detection module may acquire a distance between the user and the display screen.
Of course, not limited thereto, other manners that can acquire the separation distance between the user and the display screen may also be applied to the present embodiment, such as ultrasonic ranging, and the present embodiment does not impose any limitation on the specific separation distance acquisition manner.
After acquiring the separation distance between the user and the display screen, step 205 is executed, or step 206 is executed.
Step 205, under the condition that the spacing distance is greater than or equal to the threshold distance and the current screen refresh rate of the display screen is the first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate.
The threshold distance may be a preset limit value of a separation distance between the user and the display screen, and a specific numerical value of the threshold distance may be determined according to a service requirement, which is not limited in this embodiment.
Under the condition that the spacing distance is greater than or equal to the threshold distance and the current screen refresh rate of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, therefore, under the condition, the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate, the purpose of saving electric quantity can be achieved while the display effect is guaranteed, and the power consumption of the electronic equipment can be further reduced.
And step 206, under the condition that the spacing distance is smaller than the threshold distance and the current screen refresh rate of the display screen is the second screen refresh rate, switching the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate.
Under the condition that the spacing distance is smaller than the threshold distance and the current screen refresh rate of the display screen is the second screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate can be easily seen by human eyes, therefore, under the condition, the electronic equipment can switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate, namely to a higher screen refresh rate, and the display effect is ensured.
Step 207, acquiring the ambient light intensity of the environment where the display screen is located under the condition that the spacing distance is smaller than the threshold distance.
As shown in fig. 3, an ambient light detection module is preset in the electronic device, and when the screen display size is larger than the threshold size, the ambient light intensity of the environment in which the display screen is located can be acquired by the ambient light detection module.
Of course, the present embodiment is not limited to this, and other manners capable of acquiring the ambient light intensity may also be applied to the present embodiment, and the present embodiment does not limit the specific manner of acquiring the ambient light intensity.
And step 208, under the condition that the ambient light intensity is greater than or equal to the threshold light intensity and the current screen refresh rate of the display screen is the first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate.
The threshold light intensity may be a preset threshold value of the ambient light intensity, and a specific value of the threshold light intensity may be determined according to a service requirement, which is not limited in this embodiment.
Under the condition that the ambient light intensity is greater than or equal to the threshold light intensity and the current screen refresh rate of the display screen is the first screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, therefore, under the condition, the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate, and the purposes of saving electric quantity and reducing the power consumption of the electronic equipment can be achieved while the display effect is ensured.
Step 209, under the condition that the ambient light intensity is less than the threshold light intensity and the current screen refresh rate of the display screen is the second screen refresh rate, switching the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate.
Under the condition that the ambient light intensity is less than the threshold light intensity and the current screen refresh rate of the display screen is the second screen refresh rate, the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate can be easily seen by human eyes, so that the screen refresh rate of the display screen can be switched from the second screen refresh rate to the first screen refresh rate, namely to a higher screen refresh rate, and the display effect is ensured.
Step 210, obtaining the battery remaining amount of the electronic device corresponding to the display screen.
The remaining battery capacity refers to the current remaining capacity of the electronic device.
The remaining battery capacity may be obtained by: and acquiring the residual amount of the battery of the electronic equipment corresponding to the display screen through a power management unit chip built in the electronic equipment. Of course, in a specific implementation, the remaining battery capacity of the electronic device may also be obtained in other manners, and specifically, the remaining battery capacity may be determined according to a business requirement, which is not limited in this embodiment.
And step 211, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate under the condition that the battery residual quantity is less than or equal to the threshold electric quantity.
The threshold electric quantity may be a preset critical electric quantity value of the battery electric quantity, and a specific value of the threshold electric quantity may be determined according to a service requirement, which is not limited in this embodiment.
Under the condition that the residual quantity of the battery is smaller than or equal to the threshold electric quantity, at the moment, the electric quantity of the electronic equipment is small, so that the screen refresh rate of the display screen can be switched from the first screen refresh rate to the second screen refresh rate, namely, the screen refresh rate is adjusted to be lower, and the purposes of saving the electric quantity and reducing the power consumption of the electronic equipment can be achieved.
Step 212, acquiring a target application corresponding to a display frame on the display screen.
The electronic device may further obtain a target application corresponding to the display screen on the display screen, where the specific target application may be determined according to a service requirement, and this embodiment is not limited thereto.
And step 213, in the case that the target application is an application program in the application white list, switching the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate.
When the target application corresponds to the application white list program, the electronic device may switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate, that is, adjust the screen refresh rate to a higher screen refresh rate.
The screen refresh rate switching method provided by the embodiment of the application has the advantages that the method can judge whether the screen refresh rate is switched or not in multiple modes, so that the purposes of saving electric quantity and reducing power consumption of electronic equipment can be further achieved on the basis of ensuring the watching requirements of users.
It should be noted that, in the screen refresh rate switching method provided in the embodiment of the present application, the execution subject may be a screen refresh rate switching device, or a control module in the screen refresh rate switching device, configured to execute the method for loading the screen refresh rate switching. In the embodiment of the present application, a method for performing loaded screen refresh rate switching by using a screen refresh rate switching device is taken as an example, and the method for performing loaded screen refresh rate switching provided in the embodiment of the present application is described.
Fig. 4 is a block diagram illustrating a structure of a screen refresh rate switching apparatus according to an embodiment of the present application, and as shown in fig. 4, the screen refresh rate switching apparatus 300 includes:
a first obtaining module 301, configured to obtain a picture display size of a display screen;
a first switching module 302, configured to switch the screen refresh rate of the display screen from a first screen refresh rate to a second screen refresh rate when the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate;
wherein the first screen refresh rate is greater than the second screen refresh rate;
a second obtaining module 303, configured to obtain a separation distance between the user and the display screen when the picture display size is larger than the threshold size;
the second switching module 304 is configured to switch the screen refresh rate of the display screen from the first screen refresh rate to a second screen refresh rate when the separation distance is greater than or equal to the threshold distance and the current screen refresh rate of the display screen is the first screen refresh rate;
a third obtaining module 305, configured to obtain an ambient light intensity of an environment where the display screen is located when the distance is smaller than the threshold distance;
a third switching module 306, configured to switch the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate when the ambient light intensity is greater than or equal to the threshold light intensity and the current screen refresh rate of the display screen is the first screen refresh rate;
a fourth switching module 307, configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the picture display size is larger than the threshold size and the current screen refresh rate of the display screen is the second screen refresh rate;
a fifth switching module 308, configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the separation distance is smaller than the threshold distance and the current screen refresh rate of the display screen is the second screen refresh rate;
a sixth switching module 309, configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the ambient light intensity is less than the threshold light intensity and the current screen refresh rate of the display screen is the second screen refresh rate;
a fourth obtaining module 310, configured to obtain a remaining battery amount of the electronic device corresponding to the display screen;
a seventh switching module 311, configured to switch the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate when the remaining amount of the battery is less than or equal to the threshold electric quantity;
a fifth obtaining module 312, configured to obtain a target application corresponding to a display frame on a display screen;
and an eighth switching module 313, configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate if the target application is an application program in the application white list.
The screen refresh rate switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screen refresh rate switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The screen refresh rate switching device provided in the embodiment of the present application can implement each process implemented by the screen refresh rate switching device in the method embodiments of fig. 1 to fig. 3, and for avoiding repetition, details are not repeated here.
The screen refresh rate switching device provided by the embodiment of the application acquires the picture display size of the display screen through the first acquisition module, and then the first switching module is used for judging the difference between the animation fluency and the smoothness of the first screen refresh rate and the second screen refresh rate by human eyes when the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 410, a memory 409, and a program or an instruction stored in the memory 409 and executable on the processor 410, where the program or the instruction is executed by the processor 410 to implement each process of the above-mentioned screen refresh rate switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is configured to obtain a picture display size of a display screen; under the condition that the picture display size is smaller than or equal to the threshold size and the current screen refresh rate of the display screen is a first screen refresh rate, switching the screen refresh rate of the display screen from the first screen refresh rate to a second screen refresh rate; wherein the first screen refresh rate is greater than the second screen refresh rate.
The electronic equipment can be under the condition that the picture display size is less than or equal to the threshold size, and the current screen refresh rate of the display screen is the first screen refresh rate, the difference of animation fluency and smoothness of the first screen refresh rate and the second screen refresh rate is not easy to see by human eyes, therefore, under the condition, the electronic equipment can reduce the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate, and the purposes of saving electric quantity and reducing power consumption of the electronic equipment can be achieved while the display effect is ensured.
Optionally, the processor 410 is further configured to, when the screen display size is larger than the threshold size, obtain a separation distance between a user and the display screen; and switching the screen refresh rate of the display screen from the first screen refresh rate to a second screen refresh rate under the condition that the spacing distance is greater than or equal to a threshold distance and the current screen refresh rate of the display screen is the first screen refresh rate.
Optionally, the processor 410 is further configured to, when the separation distance is smaller than the threshold distance, obtain an ambient light intensity of an environment where the display screen is located; and switching the screen refresh rate of the display screen from the first screen refresh rate to a second screen refresh rate under the condition that the ambient light intensity is greater than or equal to a threshold light intensity and the current screen refresh rate of the display screen is the first screen refresh rate.
Optionally, the processor 410 is further configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the picture display size is larger than the threshold size and the current screen refresh rate of the display screen is the second screen refresh rate.
Optionally, the processor 410 is further configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the separation distance is smaller than the threshold distance and the current screen refresh rate of the display screen is the second screen refresh rate.
Optionally, the processor 410 is further configured to switch the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the ambient light intensity is smaller than the threshold light intensity and the current screen refresh rate of the display screen is the second screen refresh rate.
Optionally, the processor 410 is further configured to obtain a remaining battery amount of the electronic device corresponding to the display screen; and under the condition that the battery residual quantity is smaller than or equal to a threshold electric quantity, switching the screen refresh rate of the display screen from the first screen refresh rate to the second screen refresh rate.
Optionally, the processor 410 is further configured to obtain a target application corresponding to a display frame on the display screen; and switching the screen refresh rate of the display screen from the second screen refresh rate to the first screen refresh rate when the target application is an application program in an application white list.
In the embodiment, multiple modes can be added to judge whether the screen refresh rate is switched, so that the purposes of saving electric quantity and reducing the power consumption of the electronic equipment can be further achieved on the basis of ensuring the watching requirement of a user.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the screen refresh rate switching method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing screen refresh rate switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1.一种屏幕刷新率切换方法,其特征在于,所述方法包括:1. A screen refresh rate switching method, wherein the method comprises: 获取显示屏幕的画面显示尺寸;Get the screen display size of the display screen; 在所述画面显示尺寸小于或者等于阈值尺寸,且所述显示屏幕的当前屏幕刷新率为第一屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至第二屏幕刷新率;When the screen display size is less than or equal to the threshold size, and the current screen refresh rate of the display screen is the first screen refresh rate, the screen refresh rate of the display screen is switched from the first screen refresh rate to the second screen refresh rate; 其中,所述第一屏幕刷新率大于所述第二屏幕刷新率;Wherein, the first screen refresh rate is greater than the second screen refresh rate; 在所述获取显示屏幕的画面显示尺寸之后,还包括:After the acquiring the picture display size of the display screen, the method further includes: 在所述画面显示尺寸大于所述阈值尺寸的情况下,获取用户与所述显示屏幕之间的间隔距离;In the case that the display size of the screen is larger than the threshold size, obtain the separation distance between the user and the display screen; 在所述间隔距离大于或者等于阈值距离,且所述显示屏幕的当前屏幕刷新率为所述第一屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至第二屏幕刷新率。When the interval distance is greater than or equal to the threshold distance, and the current screen refresh rate of the display screen is the first screen refresh rate, the screen refresh rate of the display screen is changed from the first screen refresh rate Switch to the second screen refresh rate. 2.根据权利要求1所述的方法,其特征在于,在所述获取用户与所述显示屏幕之间的间隔距离之后,还包括:2. The method according to claim 1, characterized in that, after acquiring the separation distance between the user and the display screen, the method further comprises: 在所述间隔距离小于所述阈值距离的情况下,获取所述显示屏幕所处环境的环境光强度;In the case that the separation distance is less than the threshold distance, obtain the ambient light intensity of the environment where the display screen is located; 在所述环境光强度大于或者等于阈值光强度,且所述显示屏幕的当前屏幕刷新率为所述第一屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至第二屏幕刷新率。When the ambient light intensity is greater than or equal to the threshold light intensity, and the current screen refresh rate of the display screen is the first screen refresh rate, the screen refresh rate of the display screen is changed from the first screen refresh rate to the first screen refresh rate. The refresh rate switches to the second screen refresh rate. 3.根据权利要求1所述的方法,其特征在于,在所述获取显示屏幕的画面显示尺寸之后,还包括:3. The method according to claim 1, characterized in that after acquiring the picture display size of the display screen, the method further comprises: 在所述画面显示尺寸大于所述阈值尺寸,且所述显示屏幕的当前屏幕刷新率为所述第二屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第二屏幕刷新率切换至所述第一屏幕刷新率。When the screen display size is larger than the threshold size and the current screen refresh rate of the display screen is the second screen refresh rate, the screen refresh rate of the display screen is refreshed by the second screen to switch to the first screen refresh rate. 4.根据权利要求1所述的方法,其特征在于,在所述获取用户与所述显示屏幕之间的间隔距离之后,还包括:4. The method according to claim 1, characterized in that, after acquiring the separation distance between the user and the display screen, the method further comprises: 在所述间隔距离小于所述阈值距离,且所述显示屏幕的当前屏幕刷新率为所述第二屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第二屏幕刷新率切换至所述第一屏幕刷新率。When the separation distance is less than the threshold distance and the current screen refresh rate of the display screen is the second screen refresh rate, the screen refresh rate of the display screen is changed from the second screen refresh rate Switch to the first screen refresh rate. 5.根据权利要求2所述的方法,其特征在于,在所述获取所述显示屏幕所处环境的环境光强度之后,还包括:5. The method according to claim 2, wherein after acquiring the ambient light intensity of the environment where the display screen is located, the method further comprises: 在所述环境光强度小于所述阈值光强度,且所述显示屏幕的当前屏幕刷新率为所述第二屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第二屏幕刷新率切换至所述第一屏幕刷新率。When the ambient light intensity is less than the threshold light intensity and the current screen refresh rate of the display screen is the second screen refresh rate, the screen refresh rate of the display screen is changed from the second screen refresh rate to the second screen refresh rate. The refresh rate is switched to the first screen refresh rate. 6.根据权利要求3或4或5所述的方法,其特征在于,在所述将所述显示屏幕的屏幕刷新率由所述第二屏幕刷新率切换至所述第一屏幕刷新率之后,还包括:6. The method according to claim 3, 4 or 5, wherein after the screen refresh rate of the display screen is switched from the second screen refresh rate to the first screen refresh rate, Also includes: 获取所述显示屏幕对应的电子设备的电池剩余量;obtaining the remaining battery capacity of the electronic device corresponding to the display screen; 在所述电池剩余量小于或者等于阈值电量的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至所述第二屏幕刷新率。The screen refresh rate of the display screen is switched from the first screen refresh rate to the second screen refresh rate when the remaining battery power is less than or equal to the threshold power. 7.一种屏幕刷新率切换装置,其特征在于,所述装置包括:7. A screen refresh rate switching device, wherein the device comprises: 第一获取模块,用于获取显示屏幕的画面显示尺寸;a first obtaining module, used for obtaining the screen display size of the display screen; 第一切换模块,用于在所述画面显示尺寸小于或者等于阈值尺寸,且所述显示屏幕的当前屏幕刷新率为第一屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至第二屏幕刷新率;The first switching module is configured to change the screen refresh rate of the display screen from the selected screen refresh rate to the first screen refresh rate when the screen display size is less than or equal to the threshold size and the current screen refresh rate of the display screen is the first screen refresh rate. The first screen refresh rate is switched to the second screen refresh rate; 其中,所述第一屏幕刷新率大于所述第二屏幕刷新率;Wherein, the first screen refresh rate is greater than the second screen refresh rate; 在所述画面显示尺寸大于所述阈值尺寸的情况下,获取用户与所述显示屏幕之间的间隔距离;In the case that the display size of the screen is larger than the threshold size, obtain the separation distance between the user and the display screen; 在所述间隔距离大于或者等于阈值距离,且所述显示屏幕的当前屏幕刷新率为所述第一屏幕刷新率的情况下,将所述显示屏幕的屏幕刷新率由所述第一屏幕刷新率切换至第二屏幕刷新率。When the interval distance is greater than or equal to the threshold distance, and the current screen refresh rate of the display screen is the first screen refresh rate, the screen refresh rate of the display screen is changed from the first screen refresh rate Switch to the second screen refresh rate. 8.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项 所述的屏幕刷新率切换方法的步骤。8. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction that is stored on the memory and can be run on the processor, and is implemented when the program or instruction is executed by the processor The steps of the screen refresh rate switching method according to any one of claims 1-6. 9.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项 所述的屏幕刷新率切换方法的步骤。9. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the screen refresh according to any one of claims 1-6 is realized Steps of the rate switching method.
CN202010555914.XA 2020-06-17 2020-06-17 Screen refresh rate switching method and electronic device Active CN111816139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010555914.XA CN111816139B (en) 2020-06-17 2020-06-17 Screen refresh rate switching method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010555914.XA CN111816139B (en) 2020-06-17 2020-06-17 Screen refresh rate switching method and electronic device

Publications (2)

Publication Number Publication Date
CN111816139A CN111816139A (en) 2020-10-23
CN111816139B true CN111816139B (en) 2022-05-17

Family

ID=72845801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010555914.XA Active CN111816139B (en) 2020-06-17 2020-06-17 Screen refresh rate switching method and electronic device

Country Status (1)

Country Link
CN (1) CN111816139B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162927B (en) * 2021-04-19 2023-04-18 维沃移动通信有限公司 Data transmission method, sending terminal, receiving terminal and electronic equipment
JP2022172980A (en) * 2021-05-07 2022-11-17 シャープ株式会社 Display control device, electronic equipment, control program, and display control method
CN113625860B (en) * 2021-07-23 2023-01-31 荣耀终端有限公司 Mode switching method, device, electronic device and chip system
CN115705231B (en) 2021-08-10 2023-10-20 荣耀终端有限公司 Screen display method and terminal equipment
CN113721755B (en) * 2021-09-13 2023-11-21 三星电子(中国)研发中心 Screen power saving method and device
CN113961160A (en) * 2021-10-14 2022-01-21 维沃移动通信有限公司 Screen adjusting method and device
CN116661724A (en) 2022-02-21 2023-08-29 荣耀终端有限公司 Screen refresh rate switching method, electronic device, and computer-readable storage medium
CN114913827A (en) * 2022-05-17 2022-08-16 广西世纪创新显示电子有限公司 Energy-saving display control method, device, terminal and storage medium of electronic contest display
CN117676003A (en) * 2022-06-23 2024-03-08 荣耀终端有限公司 Power consumption control method and electronic equipment
CN118331524B (en) * 2024-03-18 2025-03-21 荣耀终端股份有限公司 Screen refresh rate setting method and electronic device
WO2025245864A1 (en) * 2024-05-31 2025-12-04 荣耀终端股份有限公司 Refresh rate switching method, and electronic device, chip system and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079972A (en) * 2006-05-24 2007-11-28 松下电器产业株式会社 Control method, control device and image system
CN101536077A (en) * 2006-11-09 2009-09-16 索尼爱立信移动通讯股份有限公司 Adjusting display brightness and/or refresh rates based on eye tracking
CN102929382A (en) * 2012-10-24 2013-02-13 惠州Tcl移动通信有限公司 Method for reducing power consumption of electronic equipment and electronic equipment
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN109147714A (en) * 2017-06-16 2019-01-04 北京小米移动软件有限公司 The refresh rate method of adjustment and device of screen, computer readable storage medium
CN110136634A (en) * 2019-06-28 2019-08-16 上海天马有机发光显示技术有限公司 Display panel and driving method, display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160180762A1 (en) * 2014-12-22 2016-06-23 Elwha Llc Systems, methods, and devices for controlling screen refresh rates
CN106933361A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 Display control method and device of a mobile terminal and mobile terminal
CN108227895A (en) * 2017-07-26 2018-06-29 珠海市魅族科技有限公司 One kind puts out screen display methods and terminal, computer installation and readable storage medium storing program for executing
CN107484231B (en) * 2017-07-28 2020-09-15 Oppo广东移动通信有限公司 Screen parameter adjusting method, device, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079972A (en) * 2006-05-24 2007-11-28 松下电器产业株式会社 Control method, control device and image system
CN101536077A (en) * 2006-11-09 2009-09-16 索尼爱立信移动通讯股份有限公司 Adjusting display brightness and/or refresh rates based on eye tracking
CN102929382A (en) * 2012-10-24 2013-02-13 惠州Tcl移动通信有限公司 Method for reducing power consumption of electronic equipment and electronic equipment
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN109147714A (en) * 2017-06-16 2019-01-04 北京小米移动软件有限公司 The refresh rate method of adjustment and device of screen, computer readable storage medium
CN110136634A (en) * 2019-06-28 2019-08-16 上海天马有机发光显示技术有限公司 Display panel and driving method, display device

Also Published As

Publication number Publication date
CN111816139A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN111816139B (en) Screen refresh rate switching method and electronic device
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
US12388952B2 (en) Video frame insertion method and apparatus, and electronic device
WO2022156667A1 (en) Application control method and apparatus, and electronic device
US20160070421A1 (en) Information Processing Method And Electronic Apparatus
US9639113B2 (en) Display method and electronic device
CN112905134A (en) Method and device for refreshing display and electronic equipment
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111885408A (en) Bullet screen display method and device and electronic equipment
CN105678688B (en) Picture processing method and device
CN114242023A (en) Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN116225356A (en) Screen update method, device, electronic device and readable storage medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
US12498847B2 (en) Display method and apparatus
CN118569205B (en) Augmented reality display method and device, storage medium and terminal
CN114217754A (en) Screen projection control method and device, electronic equipment and storage medium
CN113806000A (en) Display method and device and electronic equipment
CN112905091A (en) Application program starting method and device and electronic equipment
WO2024222606A1 (en) Cache resource adjustment method and apparatus, and electronic device and readable storage medium
CN114339410B (en) Frame insertion method, device and electronic equipment
CN117648144A (en) Image processing method, device, electronic equipment and readable storage medium
CN111949325B (en) Display method and device and electronic equipment
CN115718581A (en) Information display method, device, electronic device and 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