CN112954439A - Processing method and electronic equipment - Google Patents
Processing method and electronic equipment Download PDFInfo
- Publication number
- CN112954439A CN112954439A CN202110175031.0A CN202110175031A CN112954439A CN 112954439 A CN112954439 A CN 112954439A CN 202110175031 A CN202110175031 A CN 202110175031A CN 112954439 A CN112954439 A CN 112954439A
- Authority
- CN
- China
- Prior art keywords
- display unit
- refresh rate
- rate
- determining
- played
- 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
Links
- 238000003672 processing method Methods 0.000 title abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000011217 control strategy Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 14
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000011160 research Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application provides a processing method and electronic equipment, wherein the method comprises the following steps: determining a frame rate of the content to be played; determining a target refresh rate of a display unit of the electronic device based on the frame rate; the current refresh rate of the display unit is adjusted to the target refresh rate, so that the content to be played is output at the target refresh rate, and the display effect of the content to be played is improved through the method and the device.
Description
Technical Field
The invention relates to the technical field of display, in particular to a processing method and electronic equipment.
Background
At present, in the process of playing contents to be played, the electronic device often has the situation of display screen flashing.
Therefore, how to improve the display effect of the display becomes a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, the present invention provides a processing method and an electronic device to improve the display effect of a display.
In order to achieve the purpose, the invention provides the following technical scheme:
a method of processing, comprising:
determining a frame rate of the content to be played;
determining a target refresh rate of a display unit of the electronic device based on the frame rate;
and adjusting the current refresh rate of the display unit to the target refresh rate so as to output the content to be played at the target refresh rate.
Optionally, the determining a target refresh rate of a display unit of an electronic device based on the frame rate includes:
determining that a target refresh rate of a display unit of the electronic device is N times of the frame rate; wherein N is a positive integer.
Optionally, the determining that the target refresh rate of the display unit of the electronic device is N times of the frame rate includes:
obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
and determining that the target refresh rate of the display unit is N times of the frame rate in a refresh range formed by the lowest refresh rate and the highest refresh rate.
Optionally, the method further includes:
determining a current working mode of the display unit;
correspondingly, the determining that the target refresh rate of the display unit is N times of the frame rate within the refresh range formed by the lowest refresh rate and the highest refresh rate includes:
if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate;
if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate;
wherein the target refresh rate is within a refresh range formed by the lowest refresh rate and the highest refresh rate, and the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode.
Optionally, the determining the current operating mode of the display unit includes:
determining a power control strategy for the electronic device;
and determining that the display unit is currently in a first working mode or a second working mode based on the electric quantity control strategy.
Optionally, the method further includes:
acquiring the type of the content to be played;
if the type accords with a preset type, entering the step of determining the frame rate of the content to be played so as to realize the adjustment of the current refresh rate of the display unit;
and if the type does not accord with the preset type, directly controlling the display unit to output the content to be played at the current refresh rate.
An electronic device, comprising:
a memory for storing a program;
a display;
the processor is used for determining a frame rate of the content to be played, determining a target refresh rate of the display based on the frame rate, and adjusting the current refresh rate of the display to the target refresh rate so as to output the content to be played at the target refresh rate.
Optionally, the determining, by the processor, a target refresh rate of a display unit of the electronic device based on the frame rate includes:
determining that a target refresh rate of a display unit of the electronic device is N times of the frame rate; wherein N is a positive integer.
Optionally, the determining, by the processor, that a target refresh rate of a display unit of the electronic device is N times of the frame rate includes:
obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
and determining that the target refresh rate of the display unit is N times of the frame rate in a refresh range formed by the lowest refresh rate and the highest refresh rate.
Optionally, the processor is further configured to determine a current operating mode of the display unit;
correspondingly, the determining, by the processor, that the target refresh rate of the display unit is N times of the frame rate within the refresh range formed by the lowest refresh rate and the highest refresh rate includes:
if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate;
if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate;
wherein the target refresh rate is within a refresh range formed by the lowest refresh rate and the highest refresh rate, and the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode.
According to the technical scheme, the frame rate of the content to be played is determined, the target refresh rate of the display unit of the electronic device is determined based on the frame rate, so that the current refresh rate of the display unit is adjusted to the target refresh rate, the content to be played is output at the target refresh rate, and therefore the current refresh rate of the display unit can be adjusted based on the frame rate of the content to be played, the refresh rate of the display unit can be matched with the frame rate of the content to be played, and the display effect of the content to be played is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a processing method provided by an embodiment of the present application;
FIG. 2a is a diagram illustrating an example of a mismatch between a refresh period of a display unit and a transmission period of a content to be played according to an embodiment of the present invention;
fig. 2b is a schematic diagram illustrating an example of matching between a refresh period of a display unit and a transmission period of a content to be played in an embodiment of the method of the present application;
FIG. 3 is a schematic flow chart of a processing method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a processing method according to yet another exemplary method of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a processing method according to yet another exemplary method of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
One method embodiment of the present application provides a processing method, as shown in fig. 1, including the steps of:
step 101: determining a frame rate of the content to be played;
step 102: determining a target refresh rate of a display unit of the electronic device based on the frame rate;
in the present application, the frame rate of the content to be played and the refresh rate of the display unit are different from each other, the frame rate of the content to be played refers to the number of frames transmitted per second for the picture of the content to be played, and the refresh rate of the display unit refers to the number of frames refreshed per second for the screen.
The frame rate of the content to be played can be obtained from the attribute information of the content to be played, so that the target refresh rate of the display unit of the electronic device is determined based on the frame rate of the content to be played.
Step 103: and adjusting the current refresh rate of the display unit to the target refresh rate so as to output the content to be played at the target refresh rate.
Therefore, in the application, by determining the frame rate of the content to be played and determining the target refresh rate of the display unit of the electronic device based on the frame rate, the current refresh rate of the display unit is adjusted to the target refresh rate, so that the content to be played is output at the target refresh rate; through the embodiment, the current refresh rate of the display unit can be adjusted based on the frame rate of the content to be played, so that the refresh rate of the display unit can be matched with the frame rate of the content to be played, and the display effect of the content to be played is improved.
In practical applications, research shows that in the case that the refresh rate of the display unit does not match the frame rate of the content to be played, a flash jump occurs when the display unit outputs the content to be played. For example, if the refresh rate of the display unit is 60 frames/second and the frame rate of the content to be played is 24 frames/second, it can be determined that the refresh period of the display unit is 16.6 milliseconds, i.e., every 16.6 milliseconds, and the transmission period of the content to be played is 41.66 milliseconds, i.e., every 41.66 milliseconds, a frame is transmitted.
As shown in fig. 2a, 16.6 ms is required for one refresh of the display unit, and 41.66 ms is required for one frame of the content to be played, which results in that the first frame J1 of the content to be played is not yet transmitted when the second refresh of the display unit is finished, the first frame J1 of the content to be played is completely transmitted and the second frame J2 starts to be transmitted during the third refresh of the display unit, and since one refresh of the display unit is not finished when the second frame J2 starts to be transmitted, the second frame J2 cannot be updated at this time, and the second frame J2 of the content to be displayed can be updated only when the display unit is refreshed for the fourth time, so that the phenomenon of flash skipping occurs.
In the present application, the target refresh rate of the display unit of the electronic device is determined based on the frame rate of the display unit, so as to improve the display effect, specifically, the target refresh rate of the display unit of the electronic device is determined to be N times of the frame rate of the content to be displayed; wherein N is a positive integer.
In this embodiment, the refresh rate of the display unit is adjusted to be N times of the frame rate of the content to be displayed, so that the refresh start time of the display unit for one time is consistent with the transmission start time of one frame of the content to be displayed, thereby solving the problem of the flash jump of the display unit and improving the display effect.
For example, the frame rate of the content to be played is 24 frames/second, and the refresh rate of the display unit is set to 24 × 3 frames/second, then it can be determined that when the third refresh of the display unit is finished, the first frame of the content to be played is completely transmitted, and the fourth refresh start time of the display unit is consistent with the transfer start time of the second frame of the content to be played, as shown in fig. 2b, so as to solve the problem of flash skipping. In fig. 2b, T1 is a refresh period of the display unit, T1 is a transmission period of the content to be displayed, J1 is a first frame of the content to be displayed, J2 is a second frame of the content to be displayed, …, and so on.
Another embodiment of the present application provides a processing method, as shown in fig. 3, the method includes the following steps:
step 301: determining a frame rate of the content to be played;
step 302: obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
in this embodiment, in order to ensure that the target refresh rate adjusted for the display unit meets the requirement, the target refresh rate needs to be located between the lowest refresh rate and the highest refresh rate of the display unit, and therefore the lowest refresh rate and the highest refresh rate of the display unit are obtained first.
Specifically, the lowest refresh rate and the highest refresh rate of the display unit preset in the system may be obtained.
Step 303: determining that the target refresh rate of the display unit is N times of the frame rate within a refresh range formed by the lowest refresh rate and the highest refresh rate;
and in a refresh range formed by the lowest refresh rate and the highest refresh rate, determining that the target refresh rate of the display unit is N times of the frame rate, so that the target refresh rate is not lower than the lowest refresh rate of the display unit and not higher than the highest refresh rate of the display unit.
Step 304: and adjusting the current refresh rate of the display unit to the target refresh rate so as to output the content to be played at the target refresh rate.
Through the above embodiment, the present application can adjust the current refresh rate of the display unit based on the frame rate of the content to be played, specifically, in the refresh range formed by the lowest refresh rate and the highest refresh rate, it is determined that the target refresh rate of the display unit is N times of the frame rate, so as to adjust the current refresh rate of the display unit to the target refresh rate, and under the condition that it is determined that the target refresh rate meets the performance requirement of the display unit, the refresh rate of the display unit is matched with the frame rate of the content to be played, thereby improving the display effect for the content to be played.
Yet another method embodiment of the present application provides a processing method, as shown in fig. 4, the method including the steps of:
step 401: determining a frame rate of the content to be played;
step 402: obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
step 403: determining a current working mode of the display unit;
step 404: if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate;
step 405: and if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate.
In this embodiment, whether the target refresh rate is closest to the highest refresh rate or the lowest refresh rate is determined based on the different current operating modes of the display unit. Specifically, the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode, and when the display unit is in the first operating mode, the target refresh rate of the display unit which is N times of the frame rate is determined to be closest to the highest refresh rate, and when the display unit is in the second operating mode, the target refresh rate of the display unit which is N times of the frame rate is determined to be closest to the lowest refresh rate.
It is noted that the target refresh rate, whether near the highest refresh rate or the lowest refresh rate, is uniformly within the refresh range consisting of the lowest refresh rate and the highest refresh rate.
It can be understood that the power consumption of the display unit in the first operating mode is higher than the power consumption of the display unit in the second operating mode, which indicates that the electric quantity of the electronic device of the display unit in the first operating mode is more than the electric quantity of the electronic device of the display unit in the second operating mode, so that the target refresh rate is set to be higher in the first operating mode to improve the display performance, and the target refresh rate is set to be lower in the second operating mode to save the electric quantity.
Optionally, determining the current operating mode of the display unit may include the following processes:
(1) determining a power control strategy for the electronic device;
(2) and determining that the display unit is currently in a first working mode or a second working mode based on the electric quantity control strategy.
Specifically, the electric quantity control policy of the electronic device is an electric quantity control manner for the electronic device, specifically, when the electric quantity of the electronic device is in different states, the electric quantity control policy is different, if the electric quantity of the electronic device is sufficient, the electric quantity control policy mainly improves the performance of the electronic device, and then it can be determined that the display unit is currently in the first working mode, and if the electric quantity of the electronic device is insufficient, the electric quantity control policy mainly saves energy, and then it can be determined that the display unit is currently in the second working mode.
Specifically, it may be determined whether the display unit is currently in the first operating mode or the second operating mode based on whether the electronic device is currently in a charging state, where the display unit is determined to be in the first operating mode if the electronic device is currently in the charging state, and the display unit is determined to be in the second operating mode if the electronic device is not currently in the charging state.
Yet another method embodiment of the present application provides a processing method, as shown in fig. 5, the method including the steps of:
step 501: acquiring the type of the content to be played;
step 502: if the type accords with the preset type, determining the frame rate of the content to be played;
the preset type is a preset type, specifically a video, and the preset type is met if the content to be played is a video, and if the content to be played is not a video, for example, the content to be played is a plurality of images which can be displayed independently and need to be played continuously, such as a plurality of images in an automatic album playing scene, or a document which can be displayed statically and needs to be played automatically, such as a PPT, which does not meet the preset type.
Step 503: determining a target refresh rate of a display unit of the electronic device based on the frame rate;
step 504: adjusting the current refresh rate of the display unit to the target refresh rate, so as to output the content to be played at the target refresh rate;
step 505: and if the type does not accord with the preset type, controlling the display unit to output the content to be played at the current refresh rate.
Research shows that the current refresh rate of the display unit only affects the display effect of part types of contents to be played, so that the type of the contents to be played can be obtained first to judge whether the contents to be played conform to the preset type, and if so, the frame rate of the contents to be played is determined to realize the adjustment of the current refresh rate of the display unit; and if the current refresh rate is not met, directly controlling the display unit to output the content to be played at the current refresh rate.
Corresponding to the above processing method, an embodiment of the present application further provides an electronic device, as shown in fig. 6, where the electronic device includes: memory 610, display 620, and processor 630; wherein:
a memory 610 for storing programs;
the processor 620 is configured to determine a frame rate of the content to be played, determine a target refresh rate of the display 620 based on the frame rate, adjust a current refresh rate of the display 620 to the target refresh rate, and output the content to be played at the target refresh rate.
In the present application, the frame rate of the content to be played and the refresh rate of the display unit are not the same, the frame rate of the content to be played refers to the number of frames transmitted per second for the picture of the content to be played, and the refresh rate of the display unit refers to the number of times of refreshing the screen per second.
The frame rate of the content to be played can be obtained from the attribute information of the content to be played, so that the target refresh rate of the display unit of the electronic device is determined based on the frame rate of the content to be played.
Therefore, in the application, by determining the frame rate of the content to be played and determining the target refresh rate of the display unit of the electronic device based on the frame rate, the current refresh rate of the display unit is adjusted to the target refresh rate, so that the content to be played is output at the target refresh rate; through the embodiment, the current refresh rate of the display unit can be adjusted based on the frame rate of the content to be played, so that the refresh rate of the display unit can be matched with the frame rate of the content to be played, and the display effect of the content to be played is improved.
In practical applications, research shows that in the case that the refresh rate of the display unit does not match the frame rate of the content to be played, a flash jump occurs when the display unit outputs the content to be played. In the present application, the target refresh rate of the display unit of the electronic device is determined based on the frame rate of the display unit, so as to improve the display effect, specifically, the processor may determine that the target refresh rate of the display unit of the electronic device is N times of the frame rate of the content to be displayed; wherein N is a positive integer.
In this embodiment, the refresh rate of the display unit is adjusted to be N times of the frame rate of the content to be displayed, so that the refresh start time of the display unit for one time is consistent with the transmission start time of one frame of the content to be displayed, thereby solving the problem of the flash jump of the display unit and improving the display effect.
In another embodiment of the present application, the processor determining that a target refresh rate of a display unit of the electronic device is N times the frame rate comprises: obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device; and determining that the target refresh rate of the display unit is N times of the frame rate in a refresh range formed by the lowest refresh rate and the highest refresh rate.
In this embodiment, in order to ensure that the target refresh rate adjusted for the display unit meets the requirement, the target refresh rate needs to be located between the lowest refresh rate and the highest refresh rate of the display unit, and therefore the lowest refresh rate and the highest refresh rate of the display unit are obtained first.
And in a refresh range formed by the lowest refresh rate and the highest refresh rate, determining that the target refresh rate of the display unit is N times of the frame rate, so that the target refresh rate is not lower than the lowest refresh rate of the display unit and not higher than the highest refresh rate of the display unit.
Therefore, through the above embodiment, the current refresh rate of the display unit can be adjusted based on the frame rate of the content to be played, specifically, in the refresh range formed by the lowest refresh rate and the highest refresh rate, the target refresh rate of the display unit is determined to be N times of the frame rate, so that the current refresh rate of the display unit is adjusted to be the target refresh rate, and under the condition that the target refresh rate is determined to meet the performance requirement of the display unit, the refresh rate of the display unit is matched with the frame rate of the content to be played, so that the display effect for the content to be played is improved.
In yet another embodiment of the present application, the processor is further configured to determine a current operating mode of the display unit; correspondingly, the determining, by the processor, that the target refresh rate of the display unit is N times of the frame rate within the refresh range formed by the lowest refresh rate and the highest refresh rate includes: if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate; if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate;
wherein the target refresh rate is within a refresh range formed by the lowest refresh rate and the highest refresh rate, and the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode.
In this embodiment, whether the target refresh rate is closest to the highest refresh rate or the lowest refresh rate is determined based on the different current operating modes of the display unit. Specifically, the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode, and when the display unit is in the first operating mode, the target refresh rate of the display unit which is N times of the frame rate is determined to be closest to the highest refresh rate, and when the display unit is in the second operating mode, the target refresh rate of the display unit which is N times of the frame rate is determined to be closest to the lowest refresh rate.
It is noted that the target refresh rate, whether near the highest refresh rate or the lowest refresh rate, is uniformly within the refresh range consisting of the lowest refresh rate and the highest refresh rate.
It can be understood that the power consumption of the display unit in the first operating mode is higher than the power consumption of the display unit in the second operating mode, which indicates that the electric quantity of the electronic device of the display unit in the first operating mode is more than the electric quantity of the electronic device of the display unit in the second operating mode, so that the target refresh rate is set to be higher in the first operating mode to improve the display performance, and the target refresh rate is set to be lower in the second operating mode to save the electric quantity.
Optionally, the processor determines the current operating mode of the display unit, which may include determining a power control policy for the electronic device; and determining that the display unit is currently in a first working mode or a second working mode based on the electric quantity control strategy.
Specifically, the electric quantity control policy of the electronic device is an electric quantity control manner for the electronic device, specifically, when the electric quantity of the electronic device is in different states, the electric quantity control policy is different, if the electric quantity of the electronic device is sufficient, the electric quantity control policy mainly improves the performance of the electronic device, and then it can be determined that the display unit is currently in the first working mode, and if the electric quantity of the electronic device is insufficient, the electric quantity control policy mainly saves energy, and then it can be determined that the display unit is currently in the second working mode.
Specifically, it may be determined whether the display unit is currently in the first operating mode or the second operating mode based on whether the electronic device is currently in a charging state, where the display unit is determined to be in the first operating mode if the electronic device is currently in the charging state, and the display unit is determined to be in the second operating mode if the electronic device is not currently in the charging state.
In another embodiment of the present application, the processing is further configured to obtain a type of the content to be played; if the type accords with a preset type, entering the step of determining the frame rate of the content to be played so as to realize the adjustment of the current refresh rate of the display unit; and if the type does not accord with the preset type, directly controlling the display unit to output the content to be played at the current refresh rate.
The preset type is a preset type, specifically a video, and the preset type is met if the content to be played is a video, and if the content to be played is not a video, for example, the content to be played is a plurality of images which can be displayed independently and need to be played continuously, such as a plurality of images in an automatic album playing scene, or a document which can be displayed statically and needs to be played automatically, such as a PPT, which does not meet the preset type.
Research shows that the current refresh rate of the display unit only affects the display effect of part types of contents to be played, so that the type of the contents to be played can be obtained first to judge whether the contents to be played conform to the preset type, and if so, the frame rate of the contents to be played is determined to realize the adjustment of the current refresh rate of the display unit; and if the current refresh rate is not met, directly controlling the display unit to output the content to be played at the current refresh rate.
Features described in the embodiments in the present specification may be replaced with or combined with each other, each embodiment is described with a focus on differences from other embodiments, and the same and similar portions among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method of processing, comprising:
determining a frame rate of the content to be played;
determining a target refresh rate of a display unit of the electronic device based on the frame rate;
and adjusting the current refresh rate of the display unit to the target refresh rate so as to output the content to be played at the target refresh rate.
2. The method of claim 1, the determining a target refresh rate for a display unit of an electronic device based on the frame rate, comprising:
determining that a target refresh rate of a display unit of the electronic device is N times of the frame rate; wherein N is a positive integer.
3. The method of claim 2, the determining that a target refresh rate of a display unit of an electronic device is N times the frame rate, comprising:
obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
and determining that the target refresh rate of the display unit is N times of the frame rate in a refresh range formed by the lowest refresh rate and the highest refresh rate.
4. The method of claim 3, further comprising:
determining a current working mode of the display unit;
correspondingly, the determining that the target refresh rate of the display unit is N times of the frame rate within the refresh range formed by the lowest refresh rate and the highest refresh rate includes:
if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate;
if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate;
wherein the target refresh rate is within a refresh range formed by the lowest refresh rate and the highest refresh rate, and the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode.
5. The method of claim 4, the determining a current operating mode of the display unit, comprising:
determining a power control strategy for the electronic device;
and determining that the display unit is currently in a first working mode or a second working mode based on the electric quantity control strategy.
6. The method of claim 1, further comprising:
acquiring the type of the content to be played;
if the type accords with a preset type, entering the step of determining the frame rate of the content to be played so as to realize the adjustment of the current refresh rate of the display unit;
and if the type does not accord with the preset type, directly controlling the display unit to output the content to be played at the current refresh rate.
7. An electronic device, comprising:
a memory for storing a program;
a display;
the processor is used for determining a frame rate of the content to be played, determining a target refresh rate of the display based on the frame rate, and adjusting the current refresh rate of the display to the target refresh rate so as to output the content to be played at the target refresh rate.
8. The electronic device of claim 7, the processor to determine a target refresh rate for a display unit of the electronic device based on the frame rate, comprising:
determining that a target refresh rate of a display unit of the electronic device is N times of the frame rate; wherein N is a positive integer.
9. The electronic device of claim 8, the processor to determine a target refresh rate of a display unit of the electronic device to be N times the frame rate, comprising:
obtaining a lowest refresh rate and a highest refresh rate of a display unit of the electronic device;
and determining that the target refresh rate of the display unit is N times of the frame rate in a refresh range formed by the lowest refresh rate and the highest refresh rate.
10. The electronic device of claim 9, the processor further configured to determine a current operating mode of the display unit;
correspondingly, the determining, by the processor, that the target refresh rate of the display unit is N times of the frame rate within the refresh range formed by the lowest refresh rate and the highest refresh rate includes:
if the display unit is in a first working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the highest refresh rate;
if the display unit is in a second working mode, determining that the target refresh rate of the display unit which is N times of the frame rate is closest to the lowest refresh rate;
wherein the target refresh rate is within a refresh range formed by the lowest refresh rate and the highest refresh rate, and the power consumption of the display unit in the first operating mode is greater than the power consumption of the display unit in the second operating mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110175031.0A CN112954439A (en) | 2021-02-07 | 2021-02-07 | Processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110175031.0A CN112954439A (en) | 2021-02-07 | 2021-02-07 | Processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112954439A true CN112954439A (en) | 2021-06-11 |
Family
ID=76244359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110175031.0A Pending CN112954439A (en) | 2021-02-07 | 2021-02-07 | Processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112954439A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542221B1 (en) * | 2009-06-25 | 2013-09-24 | Nvidia Corporation | Method and system for optimizing display power reduction through a continuously variable refresh rate adjustment |
CN105007443A (en) * | 2015-07-08 | 2015-10-28 | 福州瑞芯微电子股份有限公司 | Video frequency conversion playing method and device |
CN105427785A (en) * | 2014-09-17 | 2016-03-23 | 联发科技股份有限公司 | Processor for use in dynamic refresh rate switching and related electronic device and method |
CN109688461A (en) * | 2019-01-16 | 2019-04-26 | 京东方科技集团股份有限公司 | Video broadcasting method and device |
CN112083988A (en) * | 2020-08-03 | 2020-12-15 | 深圳传音控股股份有限公司 | Screen refresh rate control method, mobile terminal and computer readable storage medium |
-
2021
- 2021-02-07 CN CN202110175031.0A patent/CN112954439A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542221B1 (en) * | 2009-06-25 | 2013-09-24 | Nvidia Corporation | Method and system for optimizing display power reduction through a continuously variable refresh rate adjustment |
CN105427785A (en) * | 2014-09-17 | 2016-03-23 | 联发科技股份有限公司 | Processor for use in dynamic refresh rate switching and related electronic device and method |
CN105007443A (en) * | 2015-07-08 | 2015-10-28 | 福州瑞芯微电子股份有限公司 | Video frequency conversion playing method and device |
CN109688461A (en) * | 2019-01-16 | 2019-04-26 | 京东方科技集团股份有限公司 | Video broadcasting method and device |
CN112083988A (en) * | 2020-08-03 | 2020-12-15 | 深圳传音控股股份有限公司 | Screen refresh rate control method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200228696A1 (en) | Method for obtaining exposure compensation values of high dynamic range image, terminal device and non-transitory computer-readable storage medium | |
US10713767B2 (en) | Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest | |
CN113055742B (en) | Video display method, device, terminal and storage medium | |
WO2014187043A1 (en) | Application display processing method and apparatus | |
CN103905740B (en) | Method and device for improving automatic exposure effect realized through manual adjustment | |
CN103516984A (en) | Method and device for intelligently switching to HDR mode of camera | |
WO2021047379A1 (en) | Television and backlight control method therefor, control device, and readable storage medium | |
WO2017049939A1 (en) | Picture display method, device, and terminal | |
CN111131720A (en) | Television control method, television and storage medium | |
CN104836912A (en) | Information processing method and mobile terminal | |
CN113781968A (en) | Backlight adjusting method, device, equipment and storage medium | |
CN112449115B (en) | Shooting method and device and electronic equipment | |
CN110610688B (en) | Method and device for adapting dynamic bandwidth of display layer | |
CN112954439A (en) | Processing method and electronic equipment | |
CN107578753B (en) | Mobile terminal, display screen brightness adjusting method and storage medium | |
CN111263079B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN107809585A (en) | Video capture method, terminal and computer-readable recording medium | |
JP5611500B2 (en) | Image display device and control method thereof | |
CN112118492A (en) | Processing method and device for switching television image and sound modes through software | |
US20210327034A1 (en) | A method and device for enhancing video image quality | |
CN111711748B (en) | Control method and device for screen refresh rate, electronic equipment and readable storage medium | |
CN114911537B (en) | Parameter configuration method and system and storage medium | |
CN114398019B (en) | Screen update request processing method and device and electronic ink screen equipment | |
CN114222084A (en) | Control method and device and electronic equipment | |
CN113038094B (en) | Image acquisition method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210611 |
|
RJ01 | Rejection of invention patent application after publication |