CN108811056A - Frame per second method of adjustment, device, terminal device and storage medium - Google Patents
Frame per second method of adjustment, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN108811056A CN108811056A CN201810259716.1A CN201810259716A CN108811056A CN 108811056 A CN108811056 A CN 108811056A CN 201810259716 A CN201810259716 A CN 201810259716A CN 108811056 A CN108811056 A CN 108811056A
- Authority
- CN
- China
- Prior art keywords
- image
- current frame
- frame image
- threshold value
- change amount
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000008859 change Effects 0.000 claims abstract description 124
- 239000007787 solid Substances 0.000 claims abstract description 104
- 238000013507 mapping Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims 1
- 238000006073 displacement reaction Methods 0.000 description 34
- 238000012545 processing Methods 0.000 description 16
- 238000009877 rendering Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000012512 characterization method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000003068 static effect Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 238000013112 stability test Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0267—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
- H04W52/027—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Environmental & Geological Engineering (AREA)
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the present application discloses a kind of frame per second method of adjustment, device, terminal device and storage medium, this method includes obtaining the current frame image and historical frames image of application program push, determine the image change amount of the current frame image and the historical frames image, according to the solid quantity and the determining image change amount threshold value of distribution in the current frame image, described image variable quantity and described image variable quantity threshold value are compared, if meeting preset condition, it then abandons the current frame image or shows the current frame image according to update frame per second, the update frame per second is less than the original frame per second of the current frame image, thus, significantly reduce the power consumption of terminal device, the operational efficiency and function for not influencing terminal device simultaneously use.
Description
Technical field
The invention relates to computer technology more particularly to a kind of frame per second method of adjustment, device, terminal device and deposit
Storage media.
Background technology
With the raising of terminal device popularity, more and more users' using terminal equipment executes various work(
It can such as rely on powerful hardware processing capability to meet self-demand and unobstructed network environment carry out Entertainment.With
Gradually becoming strong for terminal function, it is too fast that user also results in terminal device power consumption when using these functions so that
User needs frequently to charge to terminal device.
In the prior art, terminal device can be by reducing screen intensity, data processing speed to reduce electric quantity consumption, still
Such mode sacrifices the partial properties of terminal device so that terminal device operational efficiency reduces, and existing defects need to improve.
Invention content
The present invention provides a kind of frame per second method of adjustment, device, terminal device and storage mediums, significantly reduce terminal and set
Standby power consumption, while operational efficiency and the function use of terminal device are not influenced.
In a first aspect, the embodiment of the present application provides a kind of frame per second method of adjustment, including:
The current frame image and historical frames image for obtaining application program push, determine the current frame image and described go through
The image change amount of history frame image;
According to the solid quantity and the determining image change amount threshold value of distribution in the current frame image;
Described image variable quantity and described image variable quantity threshold value are compared, if meeting preset condition, abandoned
The current frame image shows the current frame image according to update frame per second, and the update frame per second is less than described current
The original frame per second of frame image.
Second aspect, the embodiment of the present application also provides a kind of frame per second adjusting apparatus, including:
Image collection module, current frame image and historical frames image for obtaining application program push;
Variable quantity determining module, the image change amount for determining the current frame image and the historical frames image;
Threshold determination module, for according to the solid quantity and the determining image change of distribution in the current frame image
Measure threshold value;
Frame per second adjusts module, for described image variable quantity and described image variable quantity threshold value to be compared, if full
Sufficient preset condition, then abandon the current frame image or by the current frame image according to update frame per second show, it is described more
New frame per second is less than the original frame per second of the current frame image.
The third aspect, the embodiment of the present application also provides a kind of terminal devices, including:Processor, memory and storage
On a memory and the computer program that can run on a processor, the processor are realized such as when executing the computer program
Frame per second method of adjustment described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application also provides a kind of storage medium including terminal device executable instruction, institutes
Terminal device executable instruction is stated when being executed by terminal device processor for executing the frame per second tune described in the embodiment of the present application
Adjusting method.
In the present solution, current frame image and historical frames image by obtaining application program push, determine described current
The image change amount of frame image and the historical frames image, according in the current frame image solid quantity and distribution it is true
Determine image change amount threshold value, described image variable quantity and described image variable quantity threshold value are compared, item is preset if met
Part then abandons the current frame image or the current frame image is shown that the update frame per second is small according to update frame per second
In the original frame per second of the current frame image, the power consumption of terminal device is significantly reduced as a result, while not influencing terminal device
Operational efficiency and function use.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of frame per second method of adjustment provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of image change amount threshold value determined provided by the embodiments of the present application;
Fig. 3 is the flow chart of another frame per second method of adjustment provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another frame per second method of adjustment provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application;
Fig. 6 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application;
Fig. 7 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application;
Fig. 8 is a kind of structure diagram of frame per second adjusting apparatus provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is for explaining the present invention rather than limitation of the invention.It also should be noted that for the ease of retouching
It states, only the parts related to the present invention are shown in attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow chart of frame per second method of adjustment provided by the embodiments of the present application, is applicable to transport terminal device
The display image frame per second of capable application program carries out refreshing adjustment, and this method can be by terminal device provided by the embodiments of the present application
It executes, software can be used for the frame per second adjusting apparatus of the terminal device and/or the mode of hardware is realized, as shown in Figure 1, this implementation
The concrete scheme that example provides is as follows:
Step S101, the current frame image and historical frames image for obtaining application program push, determine the present frame figure
The image change amount of picture and the historical frames image.
Wherein, application program is the application installed in terminal device, can be game class application program, live streaming class application journey
Sequence other shows image more demanding application program.Frame image is a static image frame, and frame is image animation
The single image picture of middle least unit.Current frame image is the frame image that terminal device display unit will be shown, historical frames
Image is that terminal device display unit shows the frame image finished.In terminal device operational process, such as game class application journey
At runtime, the refreshing that can carry out image with higher frame per second (such as 60Fps) always is shown sequence, is not needed in some cases
It maintains such high frame per second to carry out refreshing to show, brings higher resource consumption.
Application program prepares frame data to be drawn, pushed to after ready CPU (Central Processing Unit,
Central processing unit) carry out control process after by GPU (Graphics Processing Unit, graphics processor) carry out image wash with watercolours
Dye is drawn and is shown eventually by the display screen of terminal device.In the application, before carrying out Image Rendering by GPU,
The frame per second of current frame image is adjusted.
In one embodiment, the current frame image of application program push is obtained, and draws the historical frames that display finishes
Image, the data that wherein the historical frames image can be pushed by terminal device display unit are obtained, can also be gone through by having
The application program of history image store function obtains, and current frame image can also be obtained from storage data pool.
In one embodiment, image change amount characterizes the variation journey of current frame image and the historical frames image shown
Degree, can be the parameter obtained after being normalized, ranging from the 0 to 1 of parameter value.Optionally, which can be
At least one of solid variable quantity, displacement variable and scaling variable quantity, correspondingly, solid variable quantity, change in displacement
Amount and scaling variable quantity are the parameter obtained after normalizing.Wherein, basic unit of the solid as composition image frame,
Include vertex and topology boundary in the current frame image of acquisition and the image data of historical frames image, thus can determine solid
Coordinate and size, and then normalized obtain solid variable quantity (characterization frame image in solid size, quantity change
Change);When displacement variable determines, the coordinate system for being horizontally and vertically demarcated as 0 to 1 respectively of display screen exists according to solid
Position in frame image frame is mapped in the coordinate system, the solid that this makes it possible to obtain apex coordinates between 0 to 1, in turn
The displacement variable (variation of the displacement of solid in characterization frame image) of computational geometry body;It, can root when scaling variable quantity determines
Determine the corresponding resolution ratio of solid according to the vertex and topology boundary of solid in frame image, by the resolution ratio again with entire frame
The resolution ratio of image is mutually sentenced to obtain scaling variable quantity (the scaling variation of solid in characterization frame image).
In one embodiment, the image of current frame image and historical frames image is obtained by image normalization Processing Algorithm
Variable quantity can be specifically:
Step S102, according to the solid quantity and the determining image change amount threshold value of distribution in the current frame image.
In one embodiment, the solid quantity of the frame image is determined according to the image data of the current frame image of acquisition
And corresponding distribution, it illustratively, can be by the coordinate and size for the solid for including in current frame image data with determination
The quantity of solid and distribution, wherein the distribution of solid may include that solid is distributed in the center and edge of image
Position, optionally, center refer to using the center of frame image as origin, the area that 1/2 frame picture traverse is covered by the circle of radius
Domain, correspondingly, the region other than overlay area is defined as marginal position.
In one embodiment, when determining image change amount threshold value by solid quantity and distribution, if present frame
Solid quantity in image is less than or equal to preset quantity and is distributed in image edge location, it is determined that image change amount threshold value is
First predetermined threshold value;If the solid quantity in current frame image is more than preset quantity or is distributed in image center location,
Determine that described image variable quantity threshold value is the second predetermined threshold value;Wherein, first predetermined threshold value is more than the described second default threshold
Value, preset quantity can be 5,10,30 or 50 etc., and the first predetermined threshold value and the second predetermined threshold value can respectively include Geometrical change amount
At least one of threshold value, displacement variable threshold value and amount of zoom threshold value, illustratively, the first predetermined threshold value and the second default threshold
Value, which includes Geometrical change amount threshold value, displacement variable threshold value and three kinds of amount of zoom threshold value, corresponding threshold value, to be:0.5,
0.32,0.48;0.4,0.22,0.38.
In another embodiment, according to the solid quantity and the determining image change of distribution in the current frame image
Measuring threshold value includes:Corresponding image is determined according to solid quantity, distribution and the default mapping table in the current frame image
Variable quantity threshold value.Illustratively, by taking image change amount threshold value is solid variable quantity threshold value as an example, mapping table such as following table institute is preset
Show:
Solid quantity | Solid is distributed | Solid variable quantity threshold value |
5 | Edge | 0.6 |
5 | Center | 0.45 |
10 | Edge | 0.53 |
Step S103, described image variable quantity and described image variable quantity threshold value are compared, item is preset if met
Part then abandons the current frame image or shows the current frame image according to update frame per second.
In one embodiment, the preset condition that image change amount meets can be that image change amount is less than the figure determined
As variable quantity threshold value, wherein the image change amount threshold value can be also further finely adjusted, specifically after step S102 is determined
, it can be carried out after being determined as the first predetermined threshold value or the second predetermined threshold value according to the image display property of different application
It floats up and down, for example, if step S102 determines that image change amount threshold value is the second predetermined threshold value, for image change
Frequently, the more application program of scene switching can further reduce (such as the second predetermined threshold value on the basis of the second predetermined threshold value
0.2 is subtracted as the image change amount threshold value eventually for comparison), infrequently for image change, i.e., static scene is in the majority
Application program can increase fixed numbers (such as 0.2) on the basis of the second predetermined threshold value.
In one embodiment, image change amount includes in solid variable quantity, displacement variable and scaling variable quantity
At least one, (such as solid variable quantity, displacement variable and scaling variation when the image change amount is only a kind of variable parameter
Any one in amount), only calculate whether the variable parameter is less than the image change amount threshold value determined;If the image change
Amount all includes then meeting preset condition to be respectively less than respective determine for every class variable parameter including wherein arbitrary two or three
Image change amount threshold value (image change amount threshold value and image change amount are corresponding, as image change amount be solid variable quantity
And displacement variable, then the image change amount threshold value that corresponding step S102 is determined also include solid variable quantity threshold value and position
Move variable quantity threshold value).Illustratively, as shown in Fig. 2, Fig. 2 is a kind of image change determined provided by the embodiments of the present application
The schematic diagram of threshold value is measured, image change amount includes solid variable quantity, displacement variable and scales three kinds of variable quantity, correspondingly,
The image change amount threshold value determined according to solid quantity and distribution is respectively 0.5,0.32 and 0.48, when that determines works as
The solid variable quantity of prior image frame and historical frames image is less than 0.5, and displacement variable is less than 0.32, and to scale variable quantity small simultaneously
When 0.48, execute:It abandons current frame image or shows current frame image according to update frame per second.
Wherein, which is less than the original frame per second of current frame image, if the original frame per second of present frame is 60Fps
The update frame per second can be 30Fps.Illustratively, when taking current frame image to be shown according to update frame per second, can will work as
The original frame per second of prior image frame is multiplied by a fixed coefficient (such as 0.3,0.5 or 0.8) and obtains update frame per second, according to the update frame per second
To current frame image refreshing is carried out to show, can also be by the original frame per second of current frame image subtract fixed value (such as -20,30 or
50 etc.) mode obtains update frame per second.Wherein, it abandons current frame image do not render current frame image, draw, directly
It is skipped, obtain next frame image and carries out similar adjustment processing accordingly.
Optionally, Fig. 3 is the flow chart of another frame per second method of adjustment provided in an embodiment of the present invention, when image change amount
When including solid variable quantity, displacement variable and scaling variable quantity, correspondingly, current frame image and historical frames image are carried out
When comparing determining solid variable quantity, displacement variable and scaling variable quantity respectively, wherein if detecting any one variation
Amount is unsatisfactory for condition (being greater than or equal to the corresponding image change amount threshold value determined), it is determined that be currently unsatisfactory for frame per second
Regularization condition, adjusts without frame per second, remaining variable quantity does not need to determine and is made whether to meet the judgement of condition.Specifically:
Step S1011, the current frame image and historical frames image of application program push are obtained.
Step S1012, according to the solid quantity and the determining image change amount threshold value of distribution in the current frame image.
Illustratively, which includes:Geometrical change amount threshold value 0.5,0.32 and of displacement variable threshold value
Scale variable quantity threshold value 0.48.
Step S1013, the Geometrical change amount of the current frame image and the historical frames image is determined;
Step S1014, judge whether that (wherein the first preset condition can be the first preset condition of satisfaction:Geometrical change amount
Less than 0.5), if so, S1015 is thened follow the steps, if not, thening follow the steps S1020;
Step S1015, the displacement variable of current frame image and historical frames image is determined;
Step S1016, judge whether that (wherein the second preset condition can be the second preset condition of satisfaction:Displacement variable
Less than 0.32), if so, S1017 is thened follow the steps, if not, thening follow the steps S1020;
Step S1017, the scaling variable quantity of current frame image and historical frames image is determined;
Step S1018, judge whether to meet third preset condition that (wherein third preset condition can be:Scale variable quantity
Less than 0.48), if so, S1019 is thened follow the steps, if not, thening follow the steps S1020;
Step S1019, it abandons the current frame image or shows the current frame image according to update frame per second.
Step S1020, Image Rendering is carried out according to the original frame per second of the current frame image.
As shown in the above, in the frame image provided application program carries out drawing process, according to current frame image
Middle solid quantity and distribution determine corresponding image change amount threshold value, when solid quantity is more or is centrally located position
Lower image change amount threshold value is set accordingly, and when solid negligible amounts and higher figure is arranged in while being distributed in marginal position
As variable quantity threshold value saves the power consumption of terminal device under the premise of not influencing user experience and application program capacity.
Fig. 4 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application, optionally, described in the determination
The image change amount of current frame image and the historical frames image includes:Judge whether the application program is in default list
Application program, or judge whether the display image of the application program is rendered by openGL, if it is, described in determining
The image change amount of current frame image and the historical frames image.As shown in figure 4, technical solution is specific as follows:
Step S201, the current frame image and historical frames image of application program push are obtained.
Step S202, judge whether the application program is the application program preset in list, if so, thening follow the steps
S203, if not, thening follow the steps S205.
Wherein, the configuration mode of the default list includes being locally configured and pushing two ways online, and storage is locally configured
In/system/etc/arc.ini catalogues in the following, Configuration Online be stored in/data/system/arc.ini catalogues are in the following, preferential
The list of Configuration Online catalogue is read, is not present if presetting list in Configuration Online catalogue, reading is locally configured under catalogue
Default list can directly execute step S203 or step S205 if local default list has exception.
In one embodiment, which is determined by, specifically, the Application testing in default list
Content includes performance test, power consumption test and stability test.Wherein, performance test is included in the frame per second tune for executing this programme
When adjusting method, ensure application program operation without interim card, included associated application can normal operation not by this frame per second method of adjustment
Influence;Power consumption test includes ensuring that terminal device continues a journey, is standby unaffected, and the application program in default list was run
In real-time this frame per second method of adjustment it is that amount of electricity saving is apparent (such as in journey:Application program commemorates paddy upright stone tablet in the frame per second tune for executing the application
When perfect square case, maximum saves 88mA electricity, 31%) economize on electricity ratio is;Stability test includes nothing in application program operational process
Sudden strain of a muscle moves back, restarts phenomenon.Optionally, presetting application program in list can will announce in application store in preliminary screening
Top200 applications are individually tested, and to determine default list, can consider the static scene of application program in screening process simultaneously
With dynamic scene ratio, the application program for static scene ratio more than 10% can for example be preset in list.
Step S203, judge whether the display image of the application program is rendered by openGL, if it is, holding
Row step S204, thens follow the steps S205 if not.
Wherein, it can also be and judge whether to carry out figure by Vulkan (cross-platform 2D and 3D drawing applications routine interface)
As color applying drawing thens follow the steps S205 if not if so, thening follow the steps S204.
Step S204, the image change amount for determining the current frame image and the historical frames image, according to described current
Solid quantity and distribution in frame image determine image change amount threshold value, and described image variable quantity and described image are changed
Amount threshold value is compared, if meeting preset condition, abandons the current frame image or by the current frame image according to more
New frame per second is shown.
Step S205, Image Rendering is carried out according to the original frame per second of the current frame image.
It can be seen from the above, to presetting the application program in list or being performed image display by specific color applying drawing mode
Application program carries out frame per second adjustment, wherein the application program in default list is selected by stringent test, is ensureing application program
Under the premise of normal operation does not influence user experience, the power consumption of terminal device is saved to the greatest extent.
Fig. 5 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application, optionally, described in the determination
The image change amount of current frame image and the historical frames image includes:Judge the Image Rendering frame per second in the historical frames image
Whether frame per second threshold value is more than, if it is, determining the image change amount of the current frame image and the historical frames image.Such as figure
Shown in 5, technical solution is specific as follows:
Step S301, the history display frame image of preset time period is obtained.
Wherein, which can be 1 second, 2 seconds or 3 seconds etc..
Step S302, judge whether the Image Rendering frame per second in the history display frame image is more than frame per second threshold value, if
It is to then follow the steps S303, thens follow the steps S305 if not.
Optionally, if the frame per second of the history display frame image of the display is all higher than frame per second threshold value (such as 60Fps), assert
It needs to be adjusted by frame per second to save energy consumption, and then executes step S303.
Step S303, the current frame image and historical frames image for obtaining application program push, determine the present frame figure
The image change amount of picture and the historical frames image.
Step S304, according in the current frame image solid quantity and distribution determine image change amount threshold value,
Described image variable quantity and described image variable quantity threshold value are compared, if meeting preset condition, abandoned described current
Frame image shows the current frame image according to update frame per second.
Step S305, Image Rendering is carried out according to the original frame per second of the current frame image.
It can be seen from the above, the application program continuously shown using high frame per second is shown that image carries out frame per second adjustment, to abandon
The frame or the mode for reducing the frame frame per second save the power consumption of terminal device.
Fig. 6 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application, optionally, described in the discarding
Current frame image or by the current frame image according to preset frame rate carry out display include:If detecting the current frame image
Previous frame image be not adjusted, then abandon the current frame image or show the current frame image according to preset frame rate
Show.As shown in fig. 6, technical solution is specific as follows:
Step S401, the current frame image and historical frames image for obtaining application program push, determine the present frame figure
The image change amount of picture and the historical frames image.
Step S402, according to the solid quantity and the determining image change amount threshold value of distribution in the current frame image.
Step S403, described image variable quantity and described image variable quantity threshold value are compared, judge that described image becomes
Whether change amount meets preset condition, if so, S404 is thened follow the steps, if not, thening follow the steps S406.
Step S404, judge whether the frame per second of the previous frame image of the current frame image is adjusted, if it is not, then
Step S405 is executed, if so, thening follow the steps S406.
Wherein, judge whether the frame per second of previous frame image has carried out adjustment and included whether previous frame image abandons or reduce frame
Rate has carried out Image Rendering and has shown, if it find that corresponding frame rate reduction processing has been carried out in previous frame image, then not to present frame
The frame per second of image is adjusted, that is, executes step S406.
Step S405, it abandons the current frame image or shows the current frame image according to update frame per second.
Step S406, Image Rendering is carried out according to the original frame per second of the current frame image.
It can be seen from the above, during carrying out image frame per second adjustment, if the former frame of current frame image has been carried out
The processing for reducing frame per second, then in order to ensure that the usage experience of user, current frame image are drawn according to normal frame rate, if preceding
One frame image not pass through frame rate reduction processing, then current frame image carry out frame per second reduce adjustment, ensure that user experience, using journey
The power consumption of terminal device is reduced while sequence energy.
Fig. 7 is the flow chart of another frame per second method of adjustment provided by the embodiments of the present application, optionally, the acquisition application
Program push current frame image and historical frames image include:It obtains the current frame image of application program push and described works as
The image data of the former frame of prior image frame;Correspondingly, the figure of the determination current frame image and the historical frames image
As variable quantity includes:Determine the image change of the image data of the former frame of the current frame image and the current frame image
Amount.As shown in fig. 7, technical solution is specific as follows:
Step S501, the current frame image of application program push and the image of the former frame of the current frame image are obtained
Data determine the image change amount of the image data of the former frame of the current frame image and the current frame image.
It optionally, can be by the upper of the current frame image in current frame image and historical frames image when determining image change amount
Determining image change amount is compared in one frame image, can also be the continuous N that will be closed in current frame image and historical frames image
Frame image is compared respectively, and wherein N can be 2,3,5 etc., and it is default to judge whether it meets after comparison result is averaged
Condition.
Step S502, according to the solid quantity and the determining image change amount threshold value of distribution in the current frame image.
Step S503, described image variable quantity and described image variable quantity threshold value are compared, judge that described image becomes
Whether change amount meets preset condition, if so, S504 is thened follow the steps, if not, thening follow the steps S505.
Step S504, it abandons the current frame image or shows the current frame image according to update frame per second.
Step S505, Image Rendering is carried out according to the original frame per second of the current frame image.
It can be seen from the above, during current frame image and historical frames image carry out image change amount calculating, counted to improve
Efficiency is calculated, current frame image and previous frame image can be compared quickly to determine the need for carrying out frame rate adjustment, if
The continuous a few frame images closed in current frame image and historical frames image can be then compared respectively to improve regulating effect
To be determined more accurately whether current frame image needs to carry out frame rate adjustment, frame per second method of adjustment has been advanced optimized.
Fig. 8 is a kind of structure diagram of frame per second adjusting apparatus provided by the embodiments of the present application, and the device is above-mentioned for executing
The frame per second method of adjustment that embodiment provides, has the corresponding function module of execution method and advantageous effect.As shown in figure 8, the dress
It sets and specifically includes:Image collection module 101, variable quantity determining module 102, threshold determination module 103 and frame per second adjust module
104, wherein
Image collection module 101, current frame image and historical frames image for obtaining application program push.
Application program prepares frame data to be drawn, pushed to after ready CPU (Central Processing Unit,
Central processing unit) carry out control process after by GPU (Graphics Processing Unit, graphics processor) carry out image wash with watercolours
Dye is drawn and is shown eventually by the display screen of terminal device.In the application, before carrying out Image Rendering by GPU,
The frame per second of current frame image is adjusted.
In one embodiment, the current frame image of application program push is obtained, and draws the historical frames that display finishes
Image, the data that wherein the historical frames image can be pushed by terminal device display unit are obtained, can also be gone through by having
The application program of history image store function obtains, and current frame image can also be obtained from storage data pool.
Variable quantity determining module 102, the image change amount for determining the current frame image and the historical frames image.
In one embodiment, image change amount characterizes the variation journey of current frame image and the historical frames image shown
Degree, can be the parameter obtained after being normalized, ranging from the 0 to 1 of parameter value.Optionally, which can be
At least one of solid variable quantity, displacement variable and scaling variable quantity, correspondingly, solid variable quantity, change in displacement
Amount and scaling variable quantity are the parameter obtained after normalizing.Wherein, basic unit of the solid as composition image frame,
Include vertex and topology boundary in the current frame image of acquisition and the image data of historical frames image, thus can determine solid
Coordinate and size, and then normalized obtain solid variable quantity (characterization frame image in solid size, quantity change
Change);When displacement variable determines, the coordinate system for being horizontally and vertically demarcated as 0 to 1 respectively of display screen exists according to solid
Position in frame image frame is mapped in the coordinate system, the solid that this makes it possible to obtain apex coordinates between 0 to 1, in turn
The displacement variable (variation of the displacement of solid in characterization frame image) of computational geometry body;It, can root when scaling variable quantity determines
Determine the corresponding resolution ratio of solid according to the vertex and topology boundary of solid in frame image, by the resolution ratio again with entire frame
The resolution ratio of image is mutually sentenced to obtain scaling variable quantity (the scaling variation of solid in characterization frame image).
Threshold determination module 103, according to the solid quantity and the determining image change of distribution in the current frame image
Measure threshold value.
In one embodiment, the solid quantity of the frame image is determined according to the image data of the current frame image of acquisition
And corresponding distribution, it illustratively, can be by the coordinate and size for the solid for including in current frame image data with determination
The quantity of solid and distribution, wherein the distribution of solid may include that solid is distributed in the center and edge of image
Position, optionally, center refer to using the center of frame image as origin, the area that 1/2 frame picture traverse is covered by the circle of radius
Domain, correspondingly, the region other than overlay area is defined as marginal position.
In one embodiment, when determining image change amount threshold value by solid quantity and distribution, if present frame
Solid quantity in image is less than or equal to preset quantity and is distributed in image edge location, it is determined that image change amount threshold value is
First predetermined threshold value;If the solid quantity in current frame image is more than preset quantity or is distributed in image center location,
Determine that described image variable quantity threshold value is the second predetermined threshold value;Wherein, first predetermined threshold value is more than the described second default threshold
Value, preset quantity can be 5,10,30 or 50 etc., and the first predetermined threshold value and the second predetermined threshold value can respectively include Geometrical change amount
At least one of threshold value, displacement variable threshold value and amount of zoom threshold value, illustratively, the first predetermined threshold value and the second default threshold
Value, which includes Geometrical change amount threshold value, displacement variable threshold value and three kinds of amount of zoom threshold value, corresponding threshold value, to be:0.5,
0.32,0.48;0.4,0.22,0.38.
In another embodiment, according to the solid quantity and the determining image change of distribution in the current frame image
Measuring threshold value includes:Corresponding image is determined according to solid quantity, distribution and the default mapping table in the current frame image
Variable quantity threshold value.Illustratively, by taking image change amount threshold value is solid variable quantity threshold value as an example, mapping table such as following table institute is preset
Show:
Solid quantity | Solid is distributed | Solid variable quantity threshold value |
5 | Edge | 0.6 |
5 | Center | 0.45 |
10 | Edge | 0.53 |
Frame per second adjusts module 104, for described image variable quantity and described image variable quantity threshold value to be compared, if
Meet preset condition, then abandon the current frame image or shows the current frame image according to update frame per second, it is described
Update the original frame per second that frame per second is less than the current frame image.
In one embodiment, the preset condition that image change amount meets can be that image change amount is less than the figure determined
As variable quantity threshold value, wherein after the image change amount threshold value is determined according to threshold determination module 103, can also further carry out
Fine tuning, specifically, the first predetermined threshold value or second default can be determined as according to the image display property of different application
It floats up and down after threshold value, it is for example, right if step S102 determines that image change amount threshold value is the second predetermined threshold value
Application program frequent in image change, scene switching is more can further reduce (such as on the basis of the second predetermined threshold value
Two predetermined threshold values subtract 0.2 as the image change amount threshold value eventually for comparison), it is infrequently for image change, i.e., static
Scene application program in the majority can increase fixed numbers (such as 0.2) on the basis of the second predetermined threshold value.
In one embodiment, image change amount includes in solid variable quantity, displacement variable and scaling variable quantity
At least one, (such as solid variable quantity, displacement variable and scaling variation when the image change amount is only a kind of variable parameter
Any one in amount), only calculate whether the variable parameter is less than the image change amount threshold value determined;If the image change
Amount all includes then meeting preset condition to be respectively less than respective determine for every class variable parameter including wherein arbitrary two or three
Image change amount threshold value (image change amount threshold value and image change amount are corresponding, as image change amount be solid variable quantity
And displacement variable, then the image change amount threshold value that corresponding threshold determination module 103 is determined also include solid variable quantity
Threshold value and displacement variable threshold value).
Wherein, which is less than the original frame per second of current frame image, if the original frame per second of present frame is 60Fps
The update frame per second can be 30Fps.Illustratively, when taking current frame image to be shown according to update frame per second, can will work as
The original frame per second of prior image frame is multiplied by a fixed coefficient (such as 0.3,0.5 or 0.8) and obtains update frame per second, according to the update frame per second
To current frame image refreshing is carried out to show, can also be by the original frame per second of current frame image subtract fixed value (such as -20,30 or
50 etc.) mode obtains update frame per second.Wherein, it abandons current frame image do not render current frame image, draw, directly
It is skipped, obtain next frame image and carries out similar adjustment processing accordingly.
As shown in the above, in the frame image provided application program carries out drawing process, according to current frame image
Middle solid quantity and distribution determine corresponding image change amount threshold value, when solid quantity is more or is centrally located position
Lower image change amount threshold value is set accordingly, and when solid negligible amounts and higher figure is arranged in while being distributed in marginal position
As variable quantity threshold value saves the power consumption of terminal device under the premise of not influencing user experience and application program capacity.
In a possible embodiment, the threshold determination module 103 is specifically used for:
If the solid quantity in current frame image is less than or equal to preset quantity and is distributed in image edge location, really
It is the first predetermined threshold value to determine image change amount threshold value;
If the solid quantity in current frame image is more than preset quantity or is distributed in image center location, it is determined that institute
It is the second predetermined threshold value to state image change amount threshold value;Wherein, first predetermined threshold value is more than second predetermined threshold value.
In a possible embodiment, the threshold determination module 103 is specifically used for:
Corresponding image change is determined according to solid quantity, distribution and the default mapping table in the current frame image
Measure threshold value.
In a possible embodiment, the variable quantity determining module 102 is specifically used for:
Judge whether the application program is the application program preset in list, or judges the display figure of the application program
Seem it is no rendered by openGL, if it is, determining that the image of the current frame image and the historical frames image becomes
Change amount.
In a possible embodiment, the variable quantity determining module 102 is specifically used for:
Judge whether the Image Rendering frame per second in the historical frames image is more than frame per second threshold value, if it is, described in determining
The image change amount of current frame image and the historical frames image.
In a possible embodiment, described image variable quantity includes solid variable quantity, displacement variable and scaling
Variable quantity, described image variable quantity threshold value include solid variable quantity threshold value, displacement variable threshold value and scaling variable quantity threshold value,
The preset condition that meets includes:
The solid variable quantity, the displacement variable and the scaling variable quantity are respectively less than or are equal to respective variation
Measure threshold value.
In a possible embodiment, the frame per second adjustment module 104 is specifically used for:
If detecting that the previous frame image of the current frame image is not adjusted, abandons the current frame image or incite somebody to action
The current frame image is shown according to preset frame rate.
In a possible embodiment, described image acquisition module 101 is specifically used for:
Obtain the image data of the current frame image of application program push and the former frame of the current frame image;It is described
Variable quantity determining module 102 is specifically used for:
Determine the image change amount of the image data of the former frame of the current frame image and the current frame image.
In a possible embodiment, the frame per second adjustment module 104 is specifically used for:
The frame per second of the current frame image is adjusted to the half of original frame per second;
Current frame image is drawn according to the frame per second after adjustment.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 9 is that the embodiment of the present application carries
The structural schematic diagram of a kind of terminal device supplied, as shown in figure 9, the terminal device 200 includes:Memory 201, processor
(Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205,
Voicefrequency circuit 206, loud speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, Wifi
Module 213, other input/control devicess 210 and outside port 204, these components by one or more communication bus or
Signal wire 207 communicates.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200
Can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device of the rights management provided in this embodiment for more opening application is described in detail below, should
Terminal device is by taking smart mobile phone as an example.
Memory 201, the memory 201 can be by access such as CPU202, Peripheral Interfaces 203, and the memory 201 can
Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203
Reservoir 201.
I/O subsystems 209, the I/O subsystems 209 can be by the input/output peripherals in equipment, such as touch screen 212
With other input/control devicess 210, it is connected to Peripheral Interface 203.I/O subsystems 209 may include 2091 He of display controller
One or more input controllers 2092 for controlling other input/control devicess 210.Wherein, one or more input controls
Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210,
Other input/control devicess 210 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 2092 can with it is following any one connect:Keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 212, the touch screen 212 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 2091 in I/O subsystems 209 receives electric signal from touch screen 212 or is sent out to touch screen 212
Electric signals.Touch screen 212 detects the contact on touch screen, and the contact detected is converted to and is shown by display controller 2091
The interaction of user interface object on touch screen 212, that is, realize human-computer interaction, the user interface being shown on touch screen 212
Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuits 205 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 205 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 205 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 205 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206 is mainly used for receiving audio data from Peripheral Interface 203, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 211.
Loud speaker 211, the voice signal for receiving mobile phone from wireless network by RF circuits 205, is reduced to sound
And play the sound to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered
And power management.
The executable present invention of the frame per second adjusting apparatus and terminal device of the terminal device provided in above-described embodiment is arbitrary real
The frame per second method of adjustment for applying the terminal device that example is provided has and executes the corresponding function module of this method and advantageous effect.Not
The technical detail of detailed description in the above-described embodiments, reference can be made to the frame per second for the terminal device that any embodiment of the present invention is provided
Method of adjustment.
The embodiment of the present application also provides a kind of storage medium including terminal device executable instruction, and the terminal device can
It executes instruction when being executed by terminal device processor for executing a kind of frame per second method of adjustment, this method includes:
The current frame image and historical frames image for obtaining application program push, determine the current frame image and described go through
The image change amount of history frame image;
According to the solid quantity and the determining image change amount threshold value of distribution in the current frame image;
Described image variable quantity and described image variable quantity threshold value are compared, if meeting preset condition, abandoned
The current frame image shows the current frame image according to update frame per second, and the update frame per second is less than described current
The original frame per second of frame image.
In a possible embodiment, the solid quantity and distribution according in the current frame image determines
Image change amount threshold value includes:
If the solid quantity in current frame image is less than or equal to preset quantity and is distributed in image edge location, really
It is the first predetermined threshold value to determine image change amount threshold value;
If the solid quantity in current frame image is more than preset quantity or is distributed in image center location, it is determined that institute
It is the second predetermined threshold value to state image change amount threshold value;Wherein, first predetermined threshold value is more than second predetermined threshold value.
In a possible embodiment, the solid quantity and distribution according in the current frame image determines
Image change amount threshold value includes:
Corresponding image change is determined according to solid quantity, distribution and the default mapping table in the current frame image
Measure threshold value.
In a possible embodiment, the image change of the determination current frame image and the historical frames image
Amount includes:
Judge whether the application program is the application program preset in list, or judges the display figure of the application program
Seem it is no rendered by openGL, if it is, determining that the image of the current frame image and the historical frames image becomes
Change amount.
In a possible embodiment, the image change of the determination current frame image and the historical frames image
Amount includes:
Judge whether the Image Rendering frame per second in the historical frames image is more than frame per second threshold value, if it is, described in determining
The image change amount of current frame image and the historical frames image.
In a possible embodiment, described image variable quantity includes solid variable quantity, displacement variable and scaling
Variable quantity, described image variable quantity threshold value include solid variable quantity threshold value, displacement variable threshold value and scaling variable quantity threshold value,
The preset condition that meets includes:
The solid variable quantity, the displacement variable and the scaling variable quantity are respectively less than or are equal to respective variation
Measure threshold value.
In a possible embodiment, it is described abandon the current frame image or by the current frame image according to default
Frame per second carries out display:
If detecting that the previous frame image of the current frame image is not adjusted, abandons the current frame image or incite somebody to action
The current frame image is shown according to preset frame rate.
In a possible embodiment, the current frame image and historical frames image packet for obtaining application program push
It includes:
Obtain the image data of the current frame image of application program push and the former frame of the current frame image;Accordingly
, the image change amount of the determination current frame image and the historical frames image includes:
Determine the image change amount of the image data of the former frame of the current frame image and the current frame image.
In a possible embodiment, it is described by the current frame image according to update frame per second carry out display include:
The frame per second of the current frame image is adjusted to the half of original frame per second;
Current frame image is drawn according to the frame per second after adjustment.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the program instruction that can be executed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer
The frame per second method of adjustment operation that executable instruction is not limited to the described above, can also be performed what any embodiment of the present invention was provided
Relevant operation in frame per second method of adjustment.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. frame per second method of adjustment, which is characterized in that including:
The current frame image and historical frames image for obtaining application program push, determine the current frame image and the historical frames
The image change amount of image;
According to the solid quantity and the determining image change amount threshold value of distribution in the current frame image;
Described image variable quantity and described image variable quantity threshold value are compared, if meeting preset condition, described in discarding
The current frame image is shown that the update frame per second is less than the present frame figure by current frame image according to update frame per second
The original frame per second of picture.
2. according to the method described in claim 1, it is characterized in that, the solid quantity according in the current frame image
And distribution determines that image change amount threshold value includes:
If the solid quantity in current frame image is less than or equal to preset quantity and is distributed in image edge location, it is determined that figure
As variable quantity threshold value is the first predetermined threshold value;
If the solid quantity in current frame image is more than preset quantity or is distributed in image center location, it is determined that the figure
As variable quantity threshold value is the second predetermined threshold value;Wherein, first predetermined threshold value is more than second predetermined threshold value.
3. according to the method described in claim 1, it is characterized in that, the solid quantity according in the current frame image
And distribution determines that image change amount threshold value includes:
Corresponding image change amount threshold is determined according to solid quantity, distribution and the default mapping table in the current frame image
Value.
4. method according to any one of claim 1-3, which is characterized in that the preset condition that meets includes:
Described image body variable quantity is less than or equal to described image variable quantity threshold value.
5. the method according to claim 4, which is characterized in that it is described abandon the current frame image or will it is described currently
Frame image carries out display according to preset frame rate:
If detecting that the previous frame image of the current frame image is not adjusted, the current frame image is abandoned or will be described
Current frame image is shown according to preset frame rate.
6. according to the method described in claim 4, it is characterized in that, it is described obtain application program push current frame image and
Historical frames image includes:
Obtain the image data of the current frame image of application program push and the former frame of the current frame image;Correspondingly,
The image change amount of the determination current frame image and the historical frames image includes:
Determine the image change amount of the image data of the former frame of the current frame image and the current frame image.
7. according to the method described in claim 4, it is characterized in that, described carry out the current frame image according to update frame per second
Display includes:
The frame per second of the current frame image is adjusted to the half of original frame per second;
Current frame image is drawn according to the frame per second after adjustment.
8. frame per second adjusting apparatus, which is characterized in that including:
Image collection module, current frame image and historical frames image for obtaining application program push;
Variable quantity determining module, the image change amount for determining the current frame image and the historical frames image;
Threshold determination module, for according to the solid quantity and the determining image change amount threshold of distribution in the current frame image
Value;
Frame per second adjusts module, for described image variable quantity and described image variable quantity threshold value to be compared, if met pre-
If condition, then abandons the current frame image or show the current frame image according to update frame per second, the more new frame
Rate is less than the original frame per second of the current frame image.
9. a kind of terminal device, including:Processor, memory and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor is realized when executing the computer program such as any one of claim 1-7 institutes
The frame per second method of adjustment stated.
10. a kind of storage medium including terminal device executable instruction, which is characterized in that the terminal device executable instruction
When being executed by terminal device processor for executing the frame per second method of adjustment as described in any one of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810259716.1A CN108811056B (en) | 2018-03-27 | 2018-03-27 | Frame rate adjusting method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810259716.1A CN108811056B (en) | 2018-03-27 | 2018-03-27 | Frame rate adjusting method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108811056A true CN108811056A (en) | 2018-11-13 |
CN108811056B CN108811056B (en) | 2021-08-06 |
Family
ID=64095375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810259716.1A Expired - Fee Related CN108811056B (en) | 2018-03-27 | 2018-03-27 | Frame rate adjusting method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108811056B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246084A (en) * | 2020-01-09 | 2020-06-05 | 西安万像电子科技有限公司 | Method and device for controlling frame rate |
CN112306212A (en) * | 2020-10-29 | 2021-02-02 | 西安万像电子科技有限公司 | Terminal control method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014005047A1 (en) * | 2012-06-28 | 2014-01-03 | Qualcomm Incorporated | Adaptive frame rate control |
CN106686451A (en) * | 2016-12-28 | 2017-05-17 | 努比亚技术有限公司 | Terminal and video playing control method |
CN106919401A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | A kind of method of dynamic regulation resolution ratio, device and mobile terminal |
WO2017160606A1 (en) * | 2016-03-18 | 2017-09-21 | Microsoft Technology Licensing, Llc | Opportunistic frame dropping for variable-frame-rate encoding |
-
2018
- 2018-03-27 CN CN201810259716.1A patent/CN108811056B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014005047A1 (en) * | 2012-06-28 | 2014-01-03 | Qualcomm Incorporated | Adaptive frame rate control |
WO2017160606A1 (en) * | 2016-03-18 | 2017-09-21 | Microsoft Technology Licensing, Llc | Opportunistic frame dropping for variable-frame-rate encoding |
CN106686451A (en) * | 2016-12-28 | 2017-05-17 | 努比亚技术有限公司 | Terminal and video playing control method |
CN106919401A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | A kind of method of dynamic regulation resolution ratio, device and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246084A (en) * | 2020-01-09 | 2020-06-05 | 西安万像电子科技有限公司 | Method and device for controlling frame rate |
CN111246084B (en) * | 2020-01-09 | 2023-08-01 | 西安万像电子科技有限公司 | Method and device for controlling frame rate |
CN112306212A (en) * | 2020-10-29 | 2021-02-02 | 西安万像电子科技有限公司 | Terminal control method and device |
CN112306212B (en) * | 2020-10-29 | 2024-02-23 | 西安万像电子科技有限公司 | Terminal control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108811056B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI634420B (en) | Terminal device and operating method thereof | |
CN108811055A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN108628429A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN108519808A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN106919401B (en) | Method and device for dynamically adjusting resolution and mobile terminal | |
CN108646906A (en) | Frame per second method of adjustment, device, storage medium and intelligent terminal | |
CN108765531A (en) | Image rendering method, device, storage medium and intelligent terminal | |
CN106133641B (en) | Devices, systems, and methods for the dynamic power management between the heterogeneous processor in shared power domain | |
JP5792337B2 (en) | Reducing power consumption while rendering graphics | |
CN106657681A (en) | Mobile terminal refresh rate control method and device and mobile terminal | |
CN106095052B (en) | Control the method and device of CPU power consumption | |
CN106817753B (en) | Method and device for saving electricity by switching background gray scales and mobile terminal | |
CN111158455A (en) | Power consumption control method and device, storage medium and terminal | |
CN108594982A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN109157839A (en) | Frame per second regulates and controls method, apparatus, storage medium and terminal | |
CN108693948A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN108377421B (en) | Video playing method, display device and computer readable storage medium | |
CN109460364A (en) | Application program detection method, device, storage medium and mobile terminal | |
US20170212581A1 (en) | Systems and methods for providing power efficiency via memory latency control | |
CN108733193A (en) | Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second | |
CN108811056A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN106896900A (en) | A kind of display control method of mobile terminal, device and mobile terminal | |
CN108712556A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN107070670A (en) | Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message | |
CN108287605A (en) | charge control method, device, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210806 |
|
CF01 | Termination of patent right due to non-payment of annual fee |