CN105869560B - A kind of display screen refreshes frame per second method of adjustment and device - Google Patents
A kind of display screen refreshes frame per second method of adjustment and device Download PDFInfo
- Publication number
- CN105869560B CN105869560B CN201610206345.1A CN201610206345A CN105869560B CN 105869560 B CN105869560 B CN 105869560B CN 201610206345 A CN201610206345 A CN 201610206345A CN 105869560 B CN105869560 B CN 105869560B
- Authority
- CN
- China
- Prior art keywords
- rate value
- frame rate
- display screen
- terminal
- refreshing
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2018—Display of intermediate tones by time modulation using two or more time intervals
- G09G3/2022—Display of intermediate tones by time modulation using two or more time intervals using sub-frames
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The embodiment of the invention discloses a kind of display screens to refresh frame per second method of adjustment, which comprises obtains the minimum frame rate value that terminal display screen is supported;Judge whether the display data of the terminal interface do not change in preset duration;If the display data do not change in preset duration, the minimum frame rate value is set by the refreshing frame rate value of the terminal display screen.Refresh frame per second the embodiment of the invention also discloses a kind of display screen and adjusts device.Using the present invention, to reduce the power consumption of terminal device, the cruise duration of equipment can be extended with the refreshing frame per second of dynamic regulation display screen.
Description
Technical field
The present invention relates to fields of communication technology more particularly to a kind of display screen to refresh frame per second method of adjustment and device.
Background technique
The display screen of mobile device includes different mode, such as VIDEO mode (video mode) and CMD mode (order mould
Formula).Wherein the display screen of VIDEO mode then needs to handle due to itself not having random access memory and refresh control circuit
Device refreshes the data or picture that show on screen.And usually processor is ceaselessly refreshed according to fixed frame per second, when
When processor is always with very high frame per second to display screen refresh data, it will cause the power consumption of terminal device to greatly increase, thus
Reduce the cruise duration of equipment.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of display screen refreshes frame per second method of adjustment and dress
It sets, it can be with the refreshing frame per second of dynamic regulation display screen, so that the power consumption of terminal device is reduced, when extending the continuation of the journey of equipment
Between.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of display screens to refresh frame per second method of adjustment, institute
The method of stating includes:
Obtain the minimum frame rate value that terminal display screen is supported;
Judge whether the display data of the terminal interface do not change in preset duration;
If the display data do not change in preset duration, the refreshing frame rate value of the terminal display screen is set
It is set to the minimum frame rate value.
Correspondingly, refresh frame per second the embodiment of the invention also provides a kind of display screen and adjust device, described device includes:
Minimum frame rate value obtains module, for obtaining the minimum frame rate value of terminal display screen support;
Data interpretation module is shown, for judging whether the display data of the terminal interface do not occur in preset duration
Variation;
Setup module, for when the display data do not change in preset duration, by the terminal display screen
Refreshing frame rate value be set as the minimum frame rate value.
The implementation of the embodiments of the present invention has the following beneficial effects: if the display data of terminal interface in preset duration not
It changes, then sets the minimum frame rate value for the refreshing frame rate value of the terminal display screen;If the display data exist
It changes in preset duration, and terminal does not play video, then sets described for the refreshing frame rate value of the terminal display screen
Maximum frame rate value;If the display data change in preset duration, and terminal plays video, in the frame rate value of video source
When greater than the minimum frame rate value and being less than the maximum frame rate value, institute is set by the refreshing frame rate value of the terminal display screen
The frame rate value for stating video source, when the frame rate value of the video source is less than the minimum frame rate value, by the terminal display screen
Refresh frame rate value and is set as the minimum frame rate value, it, will when the frame rate value of the video source is greater than preset maximum frame rate value
The refreshing frame rate value of the terminal display screen is set as the maximum frame rate value.Processor is always with fixed frame in the prior art
Rate gives display screen refresh data, when the fixed frame per second value is larger, it will and cause the power consumption of terminal device to greatly increase, with
The prior art is compared, and the present invention, to reduce the power consumption of terminal device, can be extended with the refreshing frame per second of dynamic regulation display screen
Cruise duration of equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram that one of embodiment of the present invention display screen refreshes frame per second method of adjustment;
Fig. 2 is the flow diagram of the display screen refreshing frame per second method of adjustment in another embodiment of the present invention;
Fig. 3 is the structural schematic diagram that one of embodiment of the present invention display screen refreshes frame per second adjustment device;
Fig. 4 is the structure for the serial interface clock adjustment module that display screen refreshes frame per second adjustment device in the embodiment of the present invention
Schematic diagram;
Fig. 5 is a kind of frame for executing above-mentioned display screen and refreshing the computer system of frame per second method of adjustment in the embodiment of the present invention
Composition.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Term " includes " in description and claims of this specification and above-mentioned attached drawing and " having " and they appoint
What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process, method, system, production of a series of steps or units
Product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or
Optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
The execution that display screen as mentioned in the embodiments of the present invention refreshes frame per second method of adjustment depends on computer program, can transport
Row is on the computer system of Feng Ruoyiman system.The computer program can integrate in the application, also can be used as independent work
Has class application operation.The computer system can be PC, tablet computer, laptop, smart phone etc. and be provided with
The terminal device of display screen.
It is described in detail separately below.
Fig. 1 is a kind of flow diagram of display screen refreshing frame per second method of adjustment, institute as shown in the figure in the embodiment of the present invention
The method of stating includes at least:
Step S101 obtains the minimum frame rate value that terminal display screen is supported.
Specifically, terminal device can be compatible with the display screen of different model, and the display screen of different model support it is different
Refresh frame rate value, highest frame rate value and minimum frame rate value can also be different, and the general frame rate value value that refreshes is 30fps~60fps
(fps:Frames per Second).According to the model of the display screen, the minimum frame rate value that the display screen is supported is determined.
Step S102, judges whether the display data of the terminal interface do not change in preset duration.
Specifically, terminal creates a timer, according to the preset duration of user setting, at default often interior acquisition interface
Display data, judge whether the display data of the acquisition all identical in preset duration, if the data are all identical, recognize
It does not change for display data described in preset duration, if the display data that any time obtains in preset duration are different from
The display data that previous moment obtains, then it is assumed that the display data change in preset duration, become in the display data
Change moment resetting timer.
For example, taking default is often 5s, primary display data are obtained every 1s, if display data acquired in 5s are all
Do not change, then it is assumed that it is constant in the display data of preset duration inner boundary, if 2s in 5s or any one when
It carves display data to change, then resets timer at the variation moment.
Step S103, if the display data do not change in preset duration, by the brush of the terminal display screen
New frame rate value is set as the minimum frame rate value.
Specifically, if the display data of terminal interface value in preset duration is all identical, by aforementioned determination
The minimum frame rate value refreshing frame rate value current as the terminal display screen.
Step S104, according to the refreshing frame rate value of the terminal display screen after setting, when adjusting display screen serial line interface
Clock.
Specifically, obtain first every frame mobile industry processor interface (MIPI) data total height vsync_period and
The expansible data channel of the pixel byte number bpp, the display screen that include of overall width hsync_period, display screen
The quantity lans and current refreshing frame rate value frame_rate, then according to the parameter and calculation formula clock_
Rate=vsync_period*hsync_period*frame_rate*bpp*8/lanes calculates the display by display driving
Shield the clock value clock_rate of serial line interface, and is deposited according to the clock value by display processing unit (MDP) refresh clock
Device, to realize the dynamic refresh of frame per second.
Wherein, total line number between the total height vsync_period of the MIPI data i.e. two frame data, can be according to public affairs
Formula vsync_period=yres+v_back_porch+v_front_porch+v_pulse_wid th, which is calculated, to be obtained accordingly
Value, the yres indicate the height of the valid data of a frame image, for example, for display screen that resolution ratio is 1920*1080 and
Speech, yres value are 1920;V_back_porch is vertical back porch, when indicating that vertical synchronizing signal starts to a frame image later
Invalid line number;V_front_porch is vertical narthex, is indicated pervious to vertical synchronizing signal after a frame image
Invalid line number;V_pulse_width is the width of vertical sync pulse signal.The bpp is regarded as constant, general value
It is 3;The lans is determined by the resolution ratio of display screen, such as the display screen that resolution ratio is 1080*1920 generally has 4 lans.
If the display data of terminal interface do not change in preset duration in the embodiment of the present invention, by the terminal
The refreshing frame rate value of display screen is set as the minimum frame rate value;If the display data change in preset duration, and
Terminal does not play video, then sets the maximum frame rate value for the refreshing frame rate value of the terminal display screen;If the display
Data change in preset duration, and terminal plays video, the frame rate value of video source be greater than the minimum frame rate value and
When less than the maximum frame rate value, it sets the refreshing frame rate value of the terminal display screen to the frame rate value of the video source,
When the frame rate value of the video source is less than the minimum frame rate value, set described for the refreshing frame rate value of the terminal display screen
Minimum frame rate value, when the frame rate value of the video source is greater than preset maximum frame rate value, by the refreshing of the terminal display screen
Frame rate value is set as the maximum frame rate value.Processor gives display screen refresh data always with fixed frame per second in the prior art,
When the fixed frame per second value is larger, it will cause the power consumption of terminal device to greatly increase, compared with prior art, the present invention
, to reduce the power consumption of terminal device, the cruise duration of equipment can be extended with the refreshing frame per second of dynamic regulation display screen.
Fig. 2 be another embodiment of the present invention provides display screen refresh frame per second method of adjustment flow diagram, such as figure institute
Show that the method includes at least:
Step S201 obtains the minimum frame rate value that terminal display screen is supported.
Specifically, terminal device can be compatible with the display screen of different model, and the display screen of different model support it is different
Refresh frame rate value, highest frame rate value and minimum frame rate value can also be different, and the general frame rate value value that refreshes is 30fps~60fps
(fps:frames per second).According to the model of the display screen, the minimum frame rate value that the display screen is supported is determined.
Step S202, judges whether the display data of the terminal interface do not change in preset duration.
Specifically, terminal creates a timer, according to the preset duration of user setting, at default often interior acquisition interface
Display data, judge whether the display data of the acquisition all identical in preset duration, if the data are all identical, recognize
It does not change for display data described in preset duration, if the display data that any time obtains in preset duration are different from
The display data that previous moment obtains, then it is assumed that the display data change in preset duration, become in the display data
Change moment resetting timer.
For example, taking default is often 5s, primary display data are obtained every 1s, if display data acquired in 5s are all
Do not change, then it is assumed that it is constant in the display data of preset duration inner boundary, if 2s in 5s or any one when
It carves display data to change, then resets timer at the variation moment.
Step S203, if the display data do not change in preset duration, by the brush of the terminal display screen
New frame rate value is set as the minimum frame rate value.
Specifically, if the display data of terminal interface value in preset duration is all identical, by aforementioned determination
The minimum frame rate value refreshing frame rate value current as the terminal display screen.
Step S204 is compiled according to the video of the terminal and is solved if the display data change in preset duration
The state of code device, judges whether the terminal is currently playing video.
Specifically, resetting the timer if the display data are changed in preset duration.It obtains simultaneously
The terminal codec judges terminal according to the mode bit for identifying the mode bit whether terminal is playing video
Currently whether it is playing video.
Step S205 obtains the maximum frame rate value that the terminal display screen is supported if the terminal does not play video currently.
Specifically, terminal device can be compatible with the display screen of different model, and the display screen of different model support it is different
Refresh frame rate value, highest frame rate value and minimum frame rate value can also be different, and the general frame rate value value that refreshes is 30fps~60fps
(fps:frames per second).According to the model of the display screen, the maximum frame rate value that the display screen is supported is determined.
The refreshing frame rate value of the terminal display screen is set the maximum frame rate value by step S206.
Step S207 obtains the frame rate value of video source if video is currently played in the terminal.
The refreshing frame rate value of the terminal display screen is arranged according to the frame rate value of the video source by step S208.
Specifically, when the frame rate value of the video source is greater than the minimum frame rate value and is less than the maximum frame rate value,
Set the refreshing frame rate value of the terminal display screen to the frame rate value of the video source;It is less than in the frame rate value of the video source
When the minimum frame rate value, the minimum frame rate value is set by the refreshing frame rate value of the terminal display screen;In the video
When the frame rate value in source is greater than preset maximum frame rate value, the largest frames are set by the refreshing frame rate value of the terminal display screen
Rate value.
For example, minimum frame rate value is 30fps, when the frame per second of the video source of acquisition if the maximum frame rate value obtained is 60fps
When value 50fps, belong to 30fps~60fps range, then set 50fps for the current refreshing frame rate value of display screen at this time, when obtaining
When the frame rate value of the video source taken is 20fps, belong to the range less than 30fps, then at this time by the current refreshing frame per second of display screen
Value is set as 30fps, when the frame rate value of the video source of acquisition is 80fps, belongs to the range greater than 60fps, then will show at this time
The current refreshing frame rate value of display screen is set as 60fps.
Step S209, according to the refreshing frame rate value of the terminal display screen after setting, when adjusting display screen serial line interface
Clock.
Specifically, obtain first the total height vsync_period and overall width hsync_period of every frame MIPI data,
The quantity lans of the expansible data channel of byte number bpp, the display screen that one pixel of display screen includes and described work as
Preceding refreshing frame rate value frame_rate, then according to the parameter and calculation formula clock_rate=vsync_period*
Hsync_period*frame_rate*bpp*8/lanes is calculated the clock value of the display screen serial line interface by display driving
Clock_rate, and according to the clock value by display processing unit (MDP) refresh clock register, to realize the dynamic of frame per second
State refreshes.
Wherein, total line number between the total height vsync_period of the MIPI data i.e. two frame data, can be according to public affairs
Formula vsync_period=yres+v_back_porch+v_front_porch+v_pulse_wid th, which is calculated, to be obtained accordingly
Value, the yres indicate the height of the valid data of a frame image, for example, for display screen that resolution ratio is 1920*1080 and
Speech, yres value are 1920;V_back_porch is vertical back porch, when indicating that vertical synchronizing signal starts to a frame image later
Invalid line number;V_front_porch is vertical narthex, is indicated pervious to vertical synchronizing signal after a frame image
Invalid line number;V_pulse_width is the width of vertical sync pulse signal.The bpp is regarded as constant, general value
It is 3;The lans is determined by the resolution ratio of display screen, such as the display screen that resolution ratio is 1080*1920 generally has 4 lans.
If the display data of terminal interface do not change in preset duration in the embodiment of the present invention, by the terminal
The refreshing frame rate value of display screen is set as the minimum frame rate value;If the display data change in preset duration, and
Terminal does not play video, then sets the maximum frame rate value for the refreshing frame rate value of the terminal display screen;If the display
Data change in preset duration, and terminal plays video, the frame rate value of video source be greater than the minimum frame rate value and
When less than the maximum frame rate value, it sets the refreshing frame rate value of the terminal display screen to the frame rate value of the video source,
When the frame rate value of the video source is less than the minimum frame rate value, set described for the refreshing frame rate value of the terminal display screen
Minimum frame rate value, when the frame rate value of the video source is greater than preset maximum frame rate value, by the refreshing of the terminal display screen
Frame rate value is set as the maximum frame rate value.Processor gives display screen refresh data always with fixed frame per second in the prior art,
When the fixed frame per second value is larger, it will cause the power consumption of terminal device to greatly increase, compared with prior art, the present invention
, to reduce the power consumption of terminal device, the cruise duration of equipment can be extended with the refreshing frame per second of dynamic regulation display screen.
Fig. 3 is the composed structure schematic diagram that a kind of display screen provided in an embodiment of the present invention refreshes frame per second adjustment device, such as
Scheming shown described device includes:
Minimum frame rate value obtains module 310, for obtaining the minimum frame rate value of terminal display screen support.
Specifically, terminal device can be compatible with the display screen of different model, and the display screen of different model support it is different
Refresh frame rate value, highest frame rate value and minimum frame rate value can also be different, and the general frame rate value value that refreshes is 30fps~60fps
(fps:frames per second).According to the model of the display screen, the minimum frame rate value that the display screen is supported is determined.
Show data judgment module 320, for judge the terminal interface display data whether in preset duration not
It changes.
Specifically, terminal creates a timer, according to the preset duration of user setting, at default often interior acquisition interface
Display data, judge whether the display data of the acquisition all identical in preset duration, if the data are all identical, recognize
It does not change for display data described in preset duration, if the display data that any time obtains in preset duration are different from
The display data that previous moment obtains, then it is assumed that the display data change in preset duration, become in the display data
Change moment resetting timer.
For example, taking default is often 5s, primary display data are obtained every 1s, if display data acquired in 5s are all
Do not change, then it is assumed that it is constant in the display data of preset duration inner boundary, if 2s in 5s or any one when
It carves display data to change, then resets timer at the variation moment.
Setup module 330, for when the display data do not change in preset duration, the terminal to be shown
The refreshing frame rate value of screen is set as the minimum frame rate value.
Specifically, if the display data of terminal interface value in preset duration is all identical, by aforementioned determination
The minimum frame rate value refreshing frame rate value current as the terminal display screen.
Optionally, described device further include:
Video playing judgment module 340, for when the display data change in preset duration, according to described
The state of the Video Codec of terminal, judges whether the terminal is currently playing video.
Specifically, resetting the timer if the display data are changed in preset duration.It obtains simultaneously
The terminal codec judges terminal according to the mode bit for identifying the mode bit whether terminal is playing video
Currently whether it is playing video.
Maximum frame rate value obtains module 350, for obtaining the terminal and showing when the terminal does not currently play video
Shield the maximum frame rate value supported.
Specifically, terminal device can be compatible with the display screen of different model, and the display screen of different model support it is different
Refresh frame rate value, highest frame rate value and minimum frame rate value can also be different, and the general frame rate value value that refreshes is 30fps~60fps
(fps:frames per second).According to the model of the display screen, the maximum frame rate value that the display screen is supported is determined.
The setup module 330 is also used to set the refreshing frame rate value of the terminal display screen to the maximum frame per second
Value.
The setup module 330 is also used to be arranged according to the frame rate value of the video source refreshing of the terminal display screen
Frame rate value.
Specifically, the setup module 330 is specifically used for:
When the frame rate value of the video source is greater than the minimum frame rate value and is less than the maximum frame rate value, by the end
The refreshing frame rate value of end display screen is set as the frame rate value of the video source;
When the frame rate value of the video source is less than the minimum frame rate value, by the refreshing frame rate value of the terminal display screen
It is set as the minimum frame rate value;
When the frame rate value of the video source is greater than preset maximum frame rate value, by the refreshing frame per second of the terminal display screen
Value is set as the maximum frame rate value.
For example, minimum frame rate value is 30fps, when the frame per second of the video source of acquisition if the maximum frame rate value obtained is 60fps
When value 50fps, belong to 30fps~60fps range, then set 50fps for the current refreshing frame rate value of display screen at this time, when obtaining
When the frame rate value of the video source taken is 20fps, belong to the range less than 30fps, then at this time by the current refreshing frame per second of display screen
Value is set as 30fps, when the frame rate value of the video source of acquisition is 80fps, belongs to the range greater than 60fps, then will show at this time
The current refreshing frame rate value of display screen is set as 60fps.
Optionally, described device further includes that video source frame rate value obtains module 360, for currently broadcasting in the terminal
When putting video, the frame rate value of video source is obtained.
Optionally, described device further includes serial interface clock adjustment module 370, for according to the terminal after setting
The refreshing frame rate value of display screen adjusts display screen serial interface clock.
Optionally, as shown in figure 4, serial interface clock adjustment module 370 includes:
Serial interface clock computing unit 371, for according to the total heights of every frame mobile industry processor interface data and
The quantity of the expansible data channel of the pixel byte number, the display screen that include of overall width, display screen and described work as
Preceding refreshing frame rate value calculates the clock value of the display screen serial line interface;
Serial interface clock adjustment unit 372, for according to the clock value of the display screen serial line interface being calculated,
Adjust the display screen serial interface clock.
Optionally, the serial interface clock adjustment module 370 is used for the brush according to the terminal display screen after setting
New frame rate value, the display screen serial interface clock of refresh clock register storage.
Specifically, obtain first the total height vsync_period and overall width hsync_period of every frame MIPI data,
The quantity lans of the expansible data channel of byte number bpp, the display screen that one pixel of display screen includes and described work as
Preceding refreshing frame rate value frame_rate, then according to the parameter and calculation formula clock_rate=vsync_period*
Hsync_period*frame_rate*bpp*8/lanes is calculated the clock value of the display screen serial line interface by display driving
Clock_rate, and according to the clock value by display processing unit (MDP) refresh clock register, to realize the dynamic of frame per second
State refreshes.
Wherein, total line number between the total height vsync_period of the MIPI data i.e. two frame data, can be according to public affairs
Formula vsync_period=yres+v_back_porch+v_front_porch+v_pulse_wid th, which is calculated, to be obtained accordingly
Value, the yres indicate the height of the valid data of a frame image, for example, for display screen that resolution ratio is 1920*1080 and
Speech, yres value are 1920;V_back_porch is vertical back porch, when indicating that vertical synchronizing signal starts to a frame image later
Invalid line number;V_front_porch is vertical narthex, is indicated pervious to vertical synchronizing signal after a frame image
Invalid line number;V_pulse_width is the width of vertical sync pulse signal.The bpp is regarded as constant, general value
It is 3;The lans is determined by the resolution ratio of display screen, such as the display screen that resolution ratio is 1080*1920 generally has 4 lans.
If the display data of terminal interface do not change in preset duration in the embodiment of the present invention, by the terminal
The refreshing frame rate value of display screen is set as the minimum frame rate value;If the display data change in preset duration, and
Terminal does not play video, then sets the maximum frame rate value for the refreshing frame rate value of the terminal display screen;If the display
Data change in preset duration, and terminal plays video, the frame rate value of video source be greater than the minimum frame rate value and
When less than the maximum frame rate value, it sets the refreshing frame rate value of the terminal display screen to the frame rate value of the video source,
When the frame rate value of the video source is less than the minimum frame rate value, set described for the refreshing frame rate value of the terminal display screen
Minimum frame rate value, when the frame rate value of the video source is greater than preset maximum frame rate value, by the refreshing of the terminal display screen
Frame rate value is set as the maximum frame rate value.Processor gives display screen refresh data always with fixed frame per second in the prior art,
When the fixed frame per second value is larger, it will cause the power consumption of terminal device to greatly increase, compared with prior art, the present invention
, to reduce the power consumption of terminal device, the cruise duration of equipment can be extended with the refreshing frame per second of dynamic regulation display screen.
Fig. 5 illustrates a kind of computer based on von Neumann system for running above-mentioned display screen and refreshing frame per second method of adjustment
System 10.The computer system 10 can be smart phone, tablet computer, palm PC, laptop or PC etc.
Terminal device.Specifically, may include outer input interface 1001, the processor 1002, memory connected by system bus
1003 and output interface 1004.Wherein, outer input interface 1001 may include touch screen 10016, optionally can also include net
Network interface 10018.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage
10034.Output interface 1004 may include the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in
In the external memory 10032 of the aforementioned computer system 10 based on von Neumann system, it is loaded into built-in storage at runtime
It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system
Computer system 10 in form minimum frame rate value in logic and obtain module 310, display data interpretation module 320, setting mould
Block 330, video playing judgment module 340, maximum frame rate value obtain module 350, video source frame rate value obtains module 360, serial
Interface clock adjusts module 370.And refresh in frame per second method of adjustment implementation procedure in above-mentioned display screen, the parameter of input passes through
Outer input interface 1001 receives, and is transferred in memory 1003 and caches, and is then input in processor 1002 and is handled,
The result data of processing or be cached in memory 1003 is subsequently handled, or be passed to output interface 1004 carry out it is defeated
Out.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (14)
1. a kind of display screen refreshes frame per second method of adjustment characterized by comprising
Obtain the minimum frame rate value that terminal display screen is supported;
Judge whether the display data of the terminal interface are all identical in preset duration;
If the display data are all identical in preset duration, set described for the refreshing frame rate value of the terminal display screen
Minimum frame rate value;
If the display data that any time obtains in preset duration are different from the display data that previous moment obtains, described
It shows that the data variation moment resets timer, and the state of the Video Codec according to the terminal, judges that the terminal is worked as
It is preceding whether to be playing video;
If the terminal does not play video currently, the maximum frame rate value that the terminal display screen is supported is obtained;
The maximum frame rate value is set by the refreshing frame rate value of the terminal display screen.
2. the method as described in claim 1, which is characterized in that the method also includes:
If video is currently played in the terminal, the frame rate value of video source is obtained;
The refreshing frame rate value of the terminal display screen is set according to the frame rate value of the video source.
3. method according to claim 2, which is characterized in that described that the terminal is arranged according to the frame rate value of the video source
The refreshing frame rate value of display screen includes:
When the frame rate value of the video source is greater than the minimum frame rate value and is less than the maximum frame rate value, the terminal is shown
The refreshing frame rate value of display screen is set as the frame rate value of the video source;
When the frame rate value of the video source is less than the minimum frame rate value, the refreshing frame rate value of the terminal display screen is arranged
For the minimum frame rate value;
When the frame rate value of the video source is greater than preset maximum frame rate value, the refreshing frame rate value of the terminal display screen is set
It is set to the maximum frame rate value.
4. the method as described in claim 1, which is characterized in that described to set the refreshing frame rate value of the terminal display screen to
After the minimum frame rate value further include:
According to the refreshing frame rate value of the terminal display screen after setting, display screen serial interface clock is adjusted.
5. method as claimed in claim 4, which is characterized in that the refresh frame according to the terminal display screen after setting
Rate value, adjustment display screen serial interface clock include:
The word that a pixel according to the total height of every frame mobile industry processor interface data and overall width, display screen includes
The quantity of the expansible data channel of joint number, display screen and the refreshing frame rate value of the terminal display screen after the setting,
Calculate the clock value of the display screen serial line interface;
According to the clock value for the display screen serial line interface being calculated, the display screen serial interface clock is adjusted.
6. method as claimed in claim 4, which is characterized in that the refresh frame according to the terminal display screen after setting
Rate value, adjustment display screen serial interface clock include:
According to the refreshing frame rate value of the terminal display screen after setting, the display screen serial line interface of refresh clock register storage
Clock.
7. a kind of display screen, which refreshes frame per second, adjusts device characterized by comprising
Minimum frame rate value obtains module, for obtaining the minimum frame rate value of terminal display screen support;
Show data judgment module, for judge the terminal interface display data whether in preset duration it is all identical;
Setup module is used for when the display data are all identical in preset duration, by the refresh frame of the terminal display screen
Rate value is set as the minimum frame rate value;
Video playing judgment module, the display data for obtaining in preset duration any time are different from what previous moment obtained
When showing data, then timer is reset at the display data variation moment, and according to the Video Codec of the terminal
State, judges whether the terminal is currently playing video;
Maximum frame rate value obtains module, supports for when the terminal does not currently play video, obtaining the terminal display screen
Maximum frame rate value;
The setup module is also used to set the refreshing frame rate value of the terminal display screen to the maximum frame rate value.
8. device as claimed in claim 7, which is characterized in that described device further include:
Video source frame rate value obtains module, for obtaining the frame rate value of video source when video is currently played in the terminal;
The setup module is also used to be arranged according to the frame rate value of the video source refreshing frame rate value of the terminal display screen.
9. device as claimed in claim 8, which is characterized in that the setup module is specifically used for:
When the frame rate value of the video source is greater than the minimum frame rate value and is less than the maximum frame rate value, the terminal is shown
The refreshing frame rate value of display screen is set as the frame rate value of the video source;
When the frame rate value of the video source is less than the minimum frame rate value, the refreshing frame rate value of the terminal display screen is arranged
For the minimum frame rate value;
When the frame rate value of the video source is greater than preset maximum frame rate value, the refreshing frame rate value of the terminal display screen is set
It is set to the maximum frame rate value.
10. device as claimed in claim 7, which is characterized in that described device further include:
Serial interface clock adjusts module, for the refreshing frame rate value according to the terminal display screen after setting, adjustment display
Shield serial interface clock.
11. device as claimed in claim 10, which is characterized in that the serial interface clock adjusts module and includes:
Serial interface clock computing unit, for according to the total height and overall width of every frame mobile industry processor interface data,
The quantity of the expansible data channel of byte number, the display screen that one pixel of display screen includes and the institute after the setting
The refreshing frame rate value for stating terminal display screen calculates the clock value of the display screen serial line interface;
Serial interface clock adjustment unit adjusts institute for the clock value according to the display screen serial line interface being calculated
State display screen serial interface clock.
12. device as claimed in claim 10, which is characterized in that the serial interface clock adjustment module is used for:
According to the refreshing frame rate value of the terminal display screen after setting, the display screen serial line interface of refresh clock register storage
Clock.
13. a kind of computer-readable storage medium, which is characterized in that the computer-readable storage medium stores computer
Program, the computer program is for instructing relevant hardware, to complete method described in claim 1 to 6 any one.
14. a kind of computer system characterized by comprising by system bus connect outer input interface, processor,
Memory and output interface;Wherein, the processor is for executing the memory storage computer program, to realize that right is wanted
Seek method described in 1 to 6 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206345.1A CN105869560B (en) | 2016-04-01 | 2016-04-01 | A kind of display screen refreshes frame per second method of adjustment and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206345.1A CN105869560B (en) | 2016-04-01 | 2016-04-01 | A kind of display screen refreshes frame per second method of adjustment and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105869560A CN105869560A (en) | 2016-08-17 |
CN105869560B true CN105869560B (en) | 2019-04-26 |
Family
ID=56627867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610206345.1A Active CN105869560B (en) | 2016-04-01 | 2016-04-01 | A kind of display screen refreshes frame per second method of adjustment and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105869560B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108206018B (en) * | 2016-12-19 | 2020-07-24 | 联发科技(新加坡)私人有限公司 | Adaptive picture refresh rate adjustment method and device |
US10380968B2 (en) | 2016-12-19 | 2019-08-13 | Mediatek Singapore Pte. Ltd. | Method for adjusting the adaptive screen-refresh rate and device thereof |
CN106657681B (en) * | 2017-03-10 | 2019-07-05 | Oppo广东移动通信有限公司 | A kind of control method, device and the mobile terminal of mobile terminal refresh rate |
CN106936995B (en) | 2017-03-10 | 2019-04-16 | Oppo广东移动通信有限公司 | A kind of control method, device and the mobile terminal of mobile terminal frame per second |
CN107247508B (en) * | 2017-06-02 | 2020-10-30 | 维沃移动通信有限公司 | Data source processing method and terminal equipment |
CN108922466B (en) * | 2018-06-25 | 2021-11-30 | 深圳市沃特沃德信息有限公司 | Screen frame rate setting method and device |
CN110875978A (en) * | 2018-08-31 | 2020-03-10 | 努比亚技术有限公司 | Terminal display control method, terminal and computer readable storage medium |
TWI704553B (en) * | 2019-04-23 | 2020-09-11 | 大陸商北京集創北方科技股份有限公司 | Display driving circuit, frame rate adjusting method and display device |
CN112445315A (en) * | 2019-08-28 | 2021-03-05 | 北京小米移动软件有限公司 | Control method and device for screen refresh frame rate and storage medium |
CN111324235A (en) * | 2020-02-26 | 2020-06-23 | 维沃移动通信有限公司 | Screen refreshing frequency adjusting method and electronic equipment |
CN112198954B (en) * | 2020-10-23 | 2022-10-21 | Tcl通讯(宁波)有限公司 | Frame rate setting method and device, storage medium and mobile terminal |
CN112835544A (en) * | 2021-02-04 | 2021-05-25 | Oppo广东移动通信有限公司 | Display method, display device, electronic device, and storage medium |
CN113438552B (en) * | 2021-05-19 | 2022-04-19 | 荣耀终端有限公司 | Refresh rate adjusting method and electronic equipment |
CN115083357B (en) * | 2022-06-14 | 2023-03-14 | 惠科股份有限公司 | Backlight module brightness refreshing method and display device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101496089A (en) * | 2006-07-31 | 2009-07-29 | 夏普株式会社 | Display controller, display device, display system, and control method for display device |
CN101681614A (en) * | 2007-06-18 | 2010-03-24 | 索尼爱立信移动通讯股份有限公司 | Display device having adaptive refresh rate selection |
CN102592555A (en) * | 2012-02-03 | 2012-07-18 | 福州瑞芯微电子有限公司 | Regulating circuit and regulating method capable of reducing power consumption of screen |
CN104269155A (en) * | 2014-09-24 | 2015-01-07 | 广东欧珀移动通信有限公司 | Method and device for adjusting refreshing rate of screen |
CN104282286A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | Method and system for adjusting display refresh rate of smart mobile terminal according to application scene |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080055318A1 (en) * | 2006-08-31 | 2008-03-06 | Glen David I J | Dynamic frame rate adjustment |
US20140002730A1 (en) * | 2012-06-28 | 2014-01-02 | Qualcomm Incorporated | Adaptive frame rate control |
-
2016
- 2016-04-01 CN CN201610206345.1A patent/CN105869560B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101496089A (en) * | 2006-07-31 | 2009-07-29 | 夏普株式会社 | Display controller, display device, display system, and control method for display device |
CN101681614A (en) * | 2007-06-18 | 2010-03-24 | 索尼爱立信移动通讯股份有限公司 | Display device having adaptive refresh rate selection |
CN102592555A (en) * | 2012-02-03 | 2012-07-18 | 福州瑞芯微电子有限公司 | Regulating circuit and regulating method capable of reducing power consumption of screen |
CN104269155A (en) * | 2014-09-24 | 2015-01-07 | 广东欧珀移动通信有限公司 | Method and device for adjusting refreshing rate of screen |
CN104282286A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | Method and system for adjusting display refresh rate of smart mobile terminal according to application scene |
Also Published As
Publication number | Publication date |
---|---|
CN105869560A (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105869560B (en) | A kind of display screen refreshes frame per second method of adjustment and device | |
CN109992232B (en) | Image updating method, device, terminal and storage medium | |
CN110018874B (en) | Vertical synchronization method, device, terminal and storage medium | |
JP6422946B2 (en) | Apparatus and method for displaying video data | |
US20170193971A1 (en) | Variable Refresh Rate Display Synchronization | |
US9830880B1 (en) | Method and system for adjusting the refresh rate of a display device based on a video content rate | |
US9319617B2 (en) | Method and device for displaying video on mobile terminal | |
CN109819232B (en) | Image processing method, image processing device and display device | |
WO2013029493A1 (en) | Display refresh rate control method and device | |
CN101025882A (en) | Display timing parameter adaptive adjusting method for display control device | |
CN108449566A (en) | Video frame rate compensation is carried out by adjusting vertical blanking | |
KR20190117635A (en) | Method and apparatus for improving image fluency | |
CN105760132B (en) | Realize the method, apparatus and mobile device of frame per second dynamic refresh | |
JP2011191775A (en) | System, method and computer program product for adjusting refresh rate of display for power saving | |
CN113766324B (en) | Video playing control method and device, computer equipment and storage medium | |
CN102117595A (en) | Techniques for aligning frame data | |
CN115552916B (en) | Refresh rate adjusting method and electronic equipment | |
CN112130790A (en) | Picture refreshing method and device and computer readable storage medium | |
CN104703036A (en) | Method, device and system for synchronizing playing course of media file | |
CN105573603A (en) | Method and device for adjusting screen darkening time of terminal | |
TW201824239A (en) | Method for adjusting the adaptive screen-refresh rate and device thereof | |
CN112905134A (en) | Method and device for refreshing display and electronic equipment | |
US20150189126A1 (en) | Controlling content frame rate based on refresh rate of a display | |
WO2024104081A1 (en) | Wallpaper display method and apparatus, and electronic device | |
CN113286100A (en) | Configuration method and device of video output interface and video output equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |