WO2018161572A1 - 移动终端帧率的控制方法、装置、存储介质及电子设备 - Google Patents

移动终端帧率的控制方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2018161572A1
WO2018161572A1 PCT/CN2017/106602 CN2017106602W WO2018161572A1 WO 2018161572 A1 WO2018161572 A1 WO 2018161572A1 CN 2017106602 W CN2017106602 W CN 2017106602W WO 2018161572 A1 WO2018161572 A1 WO 2018161572A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame rate
current frame
set value
intermediate frame
difference
Prior art date
Application number
PCT/CN2017/106602
Other languages
English (en)
French (fr)
Inventor
彭德良
易永鹏
苟生俊
袁晓日
甘高亭
郑志勇
杨海
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161572A1 publication Critical patent/WO2018161572A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for controlling a frame rate of a mobile terminal.
  • the terminal usually displays various pictures on the display screen through display frames, and in the frame rate adjustment process, the frame rate adjustment in the prior art is flawed.
  • the embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for controlling a frame rate of a mobile terminal, which can reasonably adjust a frame rate of the mobile terminal.
  • an embodiment of the present application provides a method for controlling a frame rate of a mobile terminal, including:
  • an embodiment of the present application provides a device for controlling a frame rate of a mobile terminal, including:
  • a frame rate acquisition module configured to acquire a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate;
  • An intermediate frame rate obtaining module configured to acquire at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy
  • a frame rate adjustment module configured to gradually adjust a frame rate of the mobile terminal from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps when executing the computer program :
  • an embodiment of the present application provides a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform a control method of a mobile terminal frame rate as described above in whole or in part.
  • the embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for controlling a frame rate of a mobile terminal, which can reasonably adjust a frame rate of the mobile terminal.
  • FIG. 1 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a display process provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a frame rate adjustment smoothing curve provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a device for controlling a frame rate of a mobile terminal according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the mobile terminal presents various display screens at different times by continuously refreshing the display screen.
  • a screen drawing operation a screen synthesis operation, and a display operation are mainly included.
  • Each application such as a desktop or video, performs a Render operation to draw respective images; after all the applications complete the Render operation, the system performs a Compose operation to combine the images drawn by each application into one display. Frame; output the display frame to the screen for final display.
  • the application provides a scheme for frame rate control of a mobile terminal, which is specifically as follows:
  • a method for controlling a frame rate of a mobile terminal comprising:
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy includes:
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy comprises:
  • the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene
  • the setting prediction parameters include attributes of a currently running application, frequency information of a central processing unit, load information of a central processing unit, frequency information of an image processor, and load information of an image processor. At least one.
  • the smoothing adjustment policy corresponding to the scene type acquires at least between the first frame rate and the second frame rate.
  • An intermediate frame rate includes:
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • the frame rate includes a rendering frame rate of an application of the mobile terminal, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • FIG. 1 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present disclosure.
  • the method in this embodiment may be implemented by a frame rate control device of a mobile terminal.
  • the device may be disposed inside the electronic device as part of an electronic device, such as the electronic device including a mobile terminal, the device may be disposed inside the mobile terminal as part of the mobile terminal.
  • a method for controlling a frame rate of a mobile terminal includes the following steps:
  • Step 101 Obtain a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate.
  • FIG. 2 is a schematic diagram of a display process according to an embodiment of the present application.
  • each application (hereinafter referred to as an application or APP) performs an image rendering operation separately according to its own application design (generally determined by the corresponding installation package APK). After the processing is completed, each application sends all the drawn images to the synthesis module that performs the image synthesis operation (Surface) Flinger).
  • the system has three frame buffers (Frame Buffer, FB), three FBs can be recycled.
  • Surface The flinger finds an idle FB from the three FBs, and on the free FB, according to the application configuration information, for example, which image should be bottomed, which image should be topped, which image adopts the bottom effect, etc., by composing (Compose) Operation, superimposing a plurality of images respectively drawn by each application to obtain a final display frame (to be displayed).
  • the display to be displayed can be processed by the mobile terminal (Mobile Display)
  • the Process, MDP) module is transmitted to the display hardware (including the display controller and the display screen, so that the screen to be displayed is finally displayed on the display screen.
  • the type of the display screen is not limited here, for example, it can be a liquid crystal display (Liquid) Crystal Display, LCD).
  • FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application.
  • the Vsync refresh mechanism actually inserts a "heartbeat" or system synchronization (Vsync) signal throughout the display process, and is sent by the display controller to the CPU for generating a Vsync interrupt to control each Render operation and Compose operation. It needs to be done according to the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync.
  • the Vsync signal frequency is currently commonly 60 Hz.
  • the CPU control synthesis module forwards the first Vsync signal Vsync1 to each application, and each application responds to The user performs a Render operation by a touch slide operation on the display screen, and obtains a plurality of images drawn by each application after each application completes the Render operation.
  • the CPU controls the display controller to forward the second Vsync signal Vsync2 to the synthesizing module, and the synthesizing module starts performing an image synthesizing operation, and synthesizes the plurality of images drawn by each application to generate a to-be-displayed image. Picture.
  • the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh and finally displays the to-be-displayed screen on the display.
  • drawing frame rate drawing frame rate
  • composite frame rate composite frame rate
  • refresh rate refresh frame rate
  • the drawing frame rate is a frame rate that is triggered by the application module after the image is drawn by the application, and can be understood as the number of times the image is drawn by the application unit time (for example, 1 second).
  • the composite frame rate is a frame rate at which the drawn images of the respective applications are combined into one picture to be displayed.
  • the refresh rate is the frame rate at which the screen display of the mobile terminal is refreshed.
  • the frame rate described in the step 101 may be a drawing frame rate, a composite frame rate, or a refresh rate.
  • the frame rate may be directly set to a high frame rate, but for a high frame. If the rate is adjusted to a low frame rate, if the direct frame rate is lowered to a low frame rate, the display screen will not be displayed naturally and smoothly, and the user experience is very bad.
  • the step is used to obtain a current first frame rate and a second frame rate to be adjusted, wherein the first frame rate is greater than the second frame rate.
  • the first frame rate is 60 Hz and the second frame rate is 50 Hz.
  • Step 102 Acquire at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy.
  • the step is configured to obtain at least one intermediate frame rate between the first frame rate and the second frame rate according to a preset smoothing adjustment strategy.
  • the at least one intermediate frame rate may be obtained according to the first frame rate and the second frame rate according to a set function correspondence relationship between the first frame rate and the second frame rate and each intermediate frame rate; or combined with moving
  • the current running scenario of the terminal is to obtain the at least one intermediate frame rate according to the first frame rate and the second frame rate.
  • Step 103 Gradually adjust a frame rate of the mobile terminal from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • the frame rate of the mobile terminal is sequentially adjusted from the first frame rate to each intermediate frame rate until the second frame rate is adjusted, thereby achieving smooth adjustment of the frame rate of the mobile terminal, thereby avoiding direct adjustment from the first frame rate to the first frame rate.
  • the picture caused by the two frame rate is not smooth.
  • the method for controlling the frame rate of the mobile terminal is: obtaining the current first frame rate of the mobile terminal and the second frame rate to be adjusted, where the first frame rate is greater than the second frame rate, according to the setting Smoothing an adjustment strategy, acquiring at least one intermediate frame rate between the first frame rate and the second frame rate, and based on the at least one intermediate frame rate, using a frame rate of the mobile terminal by the first
  • the frame rate is gradually adjusted to the second frame rate, and the frame rate of the mobile terminal can be reasonably adjusted.
  • the embodiment of the present application provides a specific frame rate setting correspondence.
  • FIG. 4 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present application. As shown in FIG. 4, the method provided in this embodiment includes the following steps:
  • Step 201 Obtain a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate.
  • step 201 For the step 201, refer to step 101 above, and details are not described herein again.
  • Step 202 The first frame rate is used as the current frame rate, and the first intermediate frame rate corresponding to the current frame rate is obtained based on the corresponding relationship between the current frame rate and the intermediate frame rate.
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • is 180°
  • the K value can be 180°.
  • the setting relationship between the current frame rate and the intermediate frame rate may also be a linear relationship, an exponential relationship or a logarithmic relationship, which is not limited in this embodiment.
  • Step 203 The first intermediate frame rate is used as a new current frame rate, and the next intermediate frame rate corresponding to the new current frame rate is obtained, according to the set correspondence relationship, until the current frame rate and the second frame rate.
  • the difference in frame rate is within the set range.
  • the first intermediate frame rate 59 is used as the new current frame rate, and the next intermediate frame rate (second intermediate frame rate) corresponding to the new current frame rate is acquired based on the set correspondence relationship.
  • the setting range may be set to 0-1, that is, if the difference between the current frame rate and the second set value is less than or equal to 1, the execution of the new current frame based on the setting correspondence is stopped.
  • the rate corresponds to the operation of the next intermediate frame rate. For example, if the current intermediate frame rate has a value of 51, the next intermediate frame rate is no longer acquired.
  • Step 204 The frame rate of the mobile terminal is gradually adjusted from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • the frame rate is gradually adjusted from the first frame rate to the second frame rate, that is, the smoothing adjustment sequence from the first frame rate 60HZ to the second frame rate 50HZ is as follows (Unit HZ) (60, 59, 59, 59, 59, 59, 59, 59, 59, 58, 58, 57, 56, 55, 54, 52, 51).
  • the smoothness is higher at the beginning stage, and the smoothness is gradually reduced in the future, which can achieve the technical effect of high picture fluency and fast frame rate reduction.
  • the method provided in this embodiment obtains the current first frame rate of the mobile terminal and the second frame rate to be adjusted, where the first frame rate is greater than the second frame rate, and the first frame rate is used as the current a frame rate, based on a setting relationship between the current frame rate and the intermediate frame rate, acquiring a first intermediate frame rate corresponding to the current frame rate, and using the first intermediate frame rate as a new current frame rate, based on the setting Determining a correspondence, acquiring a next intermediate frame rate corresponding to the new current frame rate, until a difference between the current frame rate and the second frame rate is within a set range, and based on the at least one intermediate frame rate,
  • the frame rate of the mobile terminal is gradually adjusted from the first frame rate to the second frame rate, so that the frame rate of the mobile terminal can be smoothly adjusted.
  • the embodiment of the present application is described in conjunction with a specific application scenario.
  • FIG. 6 is a flowchart of a method for controlling a frame rate of a mobile terminal according to an embodiment of the present application. As shown in FIG. 6, the method for controlling a frame rate of a mobile terminal provided by this embodiment includes the following steps:
  • Step 301 Obtain a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate.
  • the step 301 can refer to the foregoing step 101, and details are not described herein again.
  • Step 302 Predict a scene type in which the mobile terminal is located in the process of adjusting the first frame rate to the second frame rate according to the set prediction parameter, where the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic Picture scene.
  • the setting prediction parameter includes an attribute of a currently running application, and a central processing unit (Central Processing) Unit, CPU) frequency information, CPU load information, image processor (Graphic Processing) At least one of frequency information of the unit, GPU, and load information of the image processor.
  • the properties of the application include the identity or type of the application.
  • the scenario type of the mobile terminal in the prediction adjustment process is a static picture scenario; if the currently running application is a WeChat, QQ, or reader type application, The type of the scene in which the mobile terminal is located in the prediction adjustment process is a low dynamic picture scene; if the type of the currently running application is a video or a game, the mobile terminal is in a high dynamic picture scene during the prediction adjustment process.
  • the load and/or frequency of the central processor may be divided into three levels, the load and/or frequency being at the first level, ie, the load and/or frequency is zero or a smaller operational scenario predictive adjustment
  • the mobile terminal is in a static picture scenario during the process; the mobile terminal is in a low dynamic picture scenario during the prediction adjustment process in the operation scenario where the load and/or frequency is in the second level; and the mobile terminal is in the prediction adjustment process under the operation scenario in which the load and/or frequency is in the third level In a high dynamic scene.
  • the load and/or frequency of the image processor can also be divided into three levels, and the type of the scene in which the mobile terminal is located during the adjustment process is predicted according to the level of load and/or frequency of the image processor. It will be appreciated that the type of scene in which the mobile terminal is located during the adjustment process can also be predicted in conjunction with the level of load and/or frequency of the central processor and the level of load and/or frequency of the image processor.
  • Step 303 Acquire at least one intermediate frame rate between the first frame rate and the second frame rate according to a smoothing adjustment policy corresponding to the scenario type.
  • Obtaining at least one intermediate frame rate between the first frame rate and the second frame rate according to the smoothing adjustment policy corresponding to the scene type includes: Using the first frame rate as a current frame rate, using a difference between the current frame rate and the first set value as a first intermediate frame rate; using the first intermediate frame rate as a new current frame rate, The difference between the new current frame rate and the first set value is taken as the next intermediate frame rate until the difference between the current frame rate and the second frame rate is less than or equal to the first set value.
  • the first frame rate is 60 Hz
  • the second frame rate is 50 Hz
  • the first set value is 3.
  • the difference 54HZ is used as the second intermediate frame rate until the difference between the current frame rate and the second frame rate is less than or equal to the first set value.
  • the intermediate frame rate sequence (unit HZ) is (57, 54, 51).
  • the first frame rate is 60 Hz
  • the second frame rate is 50 Hz
  • the second set value is 2. Comparing the difference 58HZ between the first frame rate and the second set value as the first intermediate frame rate; using the first intermediate frame rate as the new current frame rate, and the new current frame rate and the second set value
  • the difference 56HZ is taken as the second intermediate frame rate until the difference between the current frame rate and the second frame rate is less than or equal to the second set value.
  • the intermediate frame rate sequence (unit HZ) is (58, 56, 54, 52).
  • the first frame rate is 60 Hz
  • the second frame rate is 50 Hz
  • the third set value is 1. Comparing the difference 59HZ between the first frame rate and the third set value as the first intermediate frame rate; using the first intermediate frame rate as the new current frame rate, and the new current frame rate and the third set value
  • the difference 58 is used as the second intermediate frame rate until the difference between the current frame rate and the second frame rate is less than or equal to the third set value.
  • the intermediate frame rate sequence (unit HZ) is (59, 58, 57, 56, 55, 54, 53, 52, 51).
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • Step 304 The frame rate of the mobile terminal is gradually adjusted from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • the method provided in this embodiment obtains a current first frame rate of the mobile terminal and a second frame rate to be adjusted, and predicts a process from the first frame rate to the second frame rate according to the set prediction parameter. Acquiring at least one intermediate frame rate between the first frame rate and the second frame rate based on the at least one intermediate frame rate, according to a smoothing adjustment policy corresponding to the scenario type, The frame rate of the mobile terminal is gradually adjusted from the first frame rate to the second frame rate, and the frame rate of the mobile terminal can be smoothly adjusted according to the type of the scene in which the mobile terminal is located.
  • the embodiment of the present application further provides an apparatus for controlling the frame rate of the mobile terminal.
  • the meaning of the noun is the same as that of the above-mentioned mobile terminal frame rate control method.
  • a device for controlling a frame rate of a mobile terminal comprising:
  • a frame rate acquisition module configured to acquire a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate;
  • An intermediate frame rate obtaining module configured to acquire at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy
  • a frame rate adjustment module configured to gradually adjust a frame rate of the mobile terminal from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • the intermediate frame rate acquisition module is configured to:
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the intermediate frame rate acquisition module is configured to:
  • the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene
  • the setting prediction parameters include attributes of a currently running application, frequency information of a central processing unit, load information of a central processing unit, frequency information of an image processor, and load information of an image processor. At least one.
  • the intermediate frame rate acquisition module is configured to:
  • the intermediate frame rate acquisition module is configured to:
  • the intermediate frame rate acquisition module is configured to:
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • the frame rate includes a rendering frame rate of an application of the mobile terminal, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • FIG. 7 is a schematic structural diagram of a device for controlling a frame rate of a mobile terminal according to an embodiment of the present disclosure.
  • the device may be implemented by software and/or hardware and integrated in a mobile terminal.
  • the apparatus includes a frame rate acquisition module 41, an intermediate frame rate acquisition module 42, and a frame rate adjustment module 43.
  • the frame rate obtaining module 41 is configured to obtain a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate.
  • the intermediate frame rate obtaining module 42 is configured to acquire at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy.
  • the frame rate adjustment module 43 is configured to gradually adjust a frame rate of the mobile terminal from the first frame rate to the second frame rate based on the at least one intermediate frame rate.
  • the intermediate frame rate obtaining module is configured to: use the first frame rate as a current frame rate, and obtain a first corresponding to a current frame rate based on a corresponding relationship between a current frame rate and an intermediate frame rate. And an intermediate frame rate; the first intermediate frame rate is used as a new current frame rate, and the next intermediate frame rate corresponding to the new current frame rate is obtained, according to the set correspondence relationship, until the current frame rate is The difference of the second frame rate is within the set range.
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the intermediate frame rate acquisition module is configured to: predict, according to the set prediction parameter, a scene type in which the mobile terminal is located during the adjustment from the first frame rate to the second frame rate, where the scenario The type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene.
  • the at least one intermediate frame rate between the first frame rate and the second frame rate is obtained according to a smooth adjustment policy corresponding to the scene type.
  • the setting prediction parameters include a category attribute of a currently running application, frequency information of a central processing unit, load information of a central processing unit, frequency information of an image processor, and load information of an image processor. At least one of them.
  • the intermediate frame rate acquisition module is configured to: use the first frame rate as a current frame rate, and set a current frame rate and a first setting.
  • the difference value is used as the first intermediate frame rate; the first intermediate frame rate is taken as the new current frame rate, and the difference between the new current frame rate and the first set value is taken as the next intermediate frame rate, Until the difference between the current frame rate and the second frame rate is less than the first set value is less than or equal to the first set value;
  • the intermediate frame rate acquisition module is used to : using the first frame rate as a current frame rate, using a difference between a current frame rate and a second set value as a first intermediate frame rate; using the first intermediate frame rate as a new current frame rate, Taking the difference between the new current frame rate and the second set value as the next intermediate frame rate until the difference between the current frame rate and the second
  • the intermediate frame rate obtaining module is configured to: use the first frame rate as a current frame rate, and use a difference between a current frame rate and a third set value as a first intermediate frame rate; An intermediate frame rate is used as a new current frame rate, and the difference between the new current frame rate and the third set value is taken as the next intermediate frame rate until the difference between the current frame rate and the second frame rate is smaller than the third setting.
  • the fixed value is less than or equal to the third set value; wherein the first set value, the second set value, and the third set value are sequentially decreased.
  • the frame rate includes a rendering frame rate of an application of the mobile terminal, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • the apparatus provided in this embodiment obtains a current first frame rate of the mobile terminal and a second frame rate to be adjusted, where the first frame rate is greater than the second frame rate, and the smoothing adjustment policy is set according to the setting Determining at least one intermediate frame rate between the first frame rate and the second frame rate, and gradually adjusting a frame rate of the mobile terminal from the first frame rate to the at least one intermediate frame rate
  • the second frame rate can reasonably adjust the frame rate of the mobile terminal.
  • An electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps:
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy includes:
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy comprises:
  • the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene
  • the setting prediction parameters include attributes of a currently running application, frequency information of a central processing unit, load information of a central processing unit, frequency information of an image processor, and load information of an image processor. At least one.
  • the smoothing adjustment policy corresponding to the scene type is obtained between the first frame rate and the second frame rate.
  • At least one intermediate frame rate includes:
  • Obtaining at least one intermediate frame rate between the first frame rate and the second frame rate according to a smooth adjustment policy corresponding to the scene type, if the electronic device is in a low dynamic picture scenario during the adjustment process include:
  • Obtaining at least one intermediate frame rate between the first frame rate and the second frame rate according to a smoothing adjustment policy corresponding to the scene type, if the electronic device is in a high dynamic picture scenario during the adjustment process include:
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • the frame rate includes a rendering frame rate of an application of the electronic device, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the electronic device may include a frame rate control apparatus according to any embodiment of the present application.
  • FIG. Can include: memory 501 and central processing unit (Central Processing Unit, CPU, also known as processor, hereinafter referred to as CPU) 502.
  • CPU Central Processing Unit
  • FIG. 8 does not constitute a limitation on the electronic device.
  • Electronic devices may include more or fewer components than illustrated, or some components may be combined, or different component arrangements. It should be noted that the electronic device may be a mobile terminal, a tablet computer, or the like.
  • the memory 501 can be used to store applications and data.
  • the application stored in the memory 501 contains executable program code.
  • Applications can form various functional modules.
  • the processor 502 executes various functional applications and data processing by running an application stored in the memory 501.
  • the processor 502 is a control center of the electronic device 500.
  • the processor 502 connects various portions of the entire electronic device 500 using various interfaces and lines, performs various functions of the electronic device 500 by running or executing an application stored in the memory 501, and calling data stored in the memory 501.
  • the data is processed to provide overall monitoring of the electronic device 500.
  • the processor 502 loads the executable file corresponding to one or more program processes into the memory 501 according to the following instructions, and executes the program stored in the memory 501 by the processor 502, thereby implementing various functions. .
  • the processor 502 runs a program corresponding to the executable program code by reading executable program code stored in the memory 501 for performing: acquiring a current first frame rate of the electronic device And the second frame rate to be adjusted, the first frame rate is greater than the second frame rate; and at least one of the first frame rate and the second frame rate is obtained according to a set smoothing adjustment policy An intermediate frame rate; based on the at least one intermediate frame rate, gradually adjusting a frame rate of the electronic device from the first frame rate to the second frame rate.
  • the processor 502 is further configured to: acquire the at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy, including:
  • the processor 502 is further configured to: the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the processor 502 is further configured to: obtain the at least one intermediate frame rate between the first frame rate and the second frame rate according to a set smoothing adjustment policy, including:
  • the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene
  • the processor 502 is further configured to: the setting prediction parameters include an attribute of a currently running application, frequency information of a central processing unit, load information of a central processing unit, and frequency of an image processor. At least one of information and load information of the image processor.
  • the processor 502 is further configured to: if the electronic device is in a static picture scenario during the adjustment process, obtain the first frame rate according to the smooth adjustment policy corresponding to the scene type. At least one intermediate frame rate between the second frame rate and the second frame rate includes:
  • Obtaining at least one intermediate frame rate between the first frame rate and the second frame rate according to a smooth adjustment policy corresponding to the scene type, if the electronic device is in a low dynamic picture scenario during the adjustment process include:
  • Obtaining at least one intermediate frame rate between the first frame rate and the second frame rate according to a smoothing adjustment policy corresponding to the scene type, if the electronic device is in a high dynamic picture scenario during the adjustment process include:
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • the processor 502 is further configured to: the frame rate includes a drawing frame rate of an application of the electronic device, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • the illustrated electronic device 500 is merely one example of an electronic device, and that the electronic device 500 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the following is a detailed description of an electronic device for controlling a frame rate provided by this embodiment.
  • the electronic device takes a mobile phone as an example.
  • FIG. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device 500 further includes: a peripheral interface 503, RF (Radio) Frequency, RF circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, these components are passed through one or A plurality of communication buses or signal lines 507 are in communication.
  • the memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc., and the memory 501 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 503 which can connect the input and output peripherals of the device to CPU 502 and memory 501.
  • the I/O subsystem 509 which can connect input and output peripherals on the device, such as touch screen 512 and other input/control devices 510, to peripheral interface 503.
  • the I/O subsystem 509 can include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510.
  • one or more input controllers 5092 receive electrical signals from other input/control devices 510 or transmit electrical signals to other input/control devices 510, and other input/control devices 510 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 512 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or transmits electrical signals to touch screen 512.
  • the touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be operated.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 505 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 505 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 505 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
  • CODEC COder-DECoder, codec
  • the audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 511.
  • the speaker 511 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
  • the power management chip 508 is used for power supply and power management of the hardware connected to the CPU 502, the I/O subsystem, and the peripheral interface 503.
  • the electronic device may be configured to provide a method according to any embodiment of the present application, and have a function module corresponding to the execution method.
  • the first frame rate is greater than the current first frame rate of the electronic device and the second frame rate to be adjusted.
  • the frame rate of the electronic device is gradually adjusted from the first frame rate to the second frame rate, and the frame rate of the electronic device can be reasonably adjusted.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • a storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the following steps:
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy includes:
  • the setting relationship between the current frame rate and the intermediate frame rate includes:
  • F(n) is the intermediate frame rate
  • Fs is the current frame rate
  • K is the set value
  • n is the initial value of 1
  • the added value is the variable of the set interval value
  • the current frame rate is the first frame.
  • the rate n is the initial value of 1.
  • the acquiring the at least one intermediate frame rate between the first frame rate and the second frame rate according to the setting smoothing adjustment policy comprises:
  • the scene type includes a static picture scene, a low dynamic picture scene, and a high dynamic picture scene
  • the setting prediction parameters include attributes of a currently running application, frequency information of a central processing unit, load information of a central processing unit, frequency information of an image processor, and load information of an image processor. At least one.
  • the smoothing adjustment policy corresponding to the scene type acquires at least between the first frame rate and the second frame rate.
  • An intermediate frame rate includes:
  • the first set value, the second set value, and the third set value are sequentially decreased.
  • the frame rate includes a rendering frame rate of an application of the mobile terminal, a composite frame rate of a synthesis module for synthesizing the picture, or a refresh rate of the display screen.
  • ROM Read Only Memory
  • RAM random access memory
  • disk optical disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种移动终端帧率的控制方法、装置、存储介质及电子设备,所述方法包括:获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。本申请实施例提供的技术方案,可以合理的调节移动终端的帧率。

Description

移动终端帧率的控制方法、装置、存储介质及电子设备
本申请要求于2017年03月10日提交中国专利局、申请号为201710142551.5、申请名称为“一种移动终端帧率的控制方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别涉及一种移动终端帧率的控制方法、装置、存储介质及电子设备。
背景技术
随着终端的发展,终端能够兼容的功能越来越多,不仅丰富用户的生活,还给用户带来便利。终端通常通过显示帧在显示屏显示各种画面,而在帧率调节过程中,现有技术中帧率调节存在缺陷。
技术问题
本申请实施例提供一种移动终端帧率的控制方法、装置、存储介质及电子设备,可以合理的调节移动终端的帧率。
技术解决方案
在第一方面,本申请实施例提供了一种移动终端帧率的控制方法,包括:
获取移动终端当前的第一帧率 和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在第二方面,本申请实施例提供了一种移动终端帧率的控制装置,包括:
帧率获取模块,用于获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
中间帧率获取模块,用于按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
帧率调节模块,用于基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在第三方面,本申请实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
获取电子设备当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
基于所述至少一个中间帧率,将所述电子设备的帧率由所述第一帧率逐渐调节至所述第二帧率。
在第四方面,本申请实施例提供了一种存储介质,其存储有多条指令,所述指令适于由处理器加载并执行如上述全部或部分的移动终端帧率的控制方法。
有益效果
本申请实施例提供一种移动终端帧率的控制方法、装置、存储介质及电子设备,可以合理的调节移动终端的帧率。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实施例提供的一种移动终端帧率的控制方法的流程图;
图2是本申请一个实施例提供的一种显示过程的示意图;
图3是本申请一个实施例提供的Vsync显示刷新机制的示意图;
图4是本申请一个实施例提供的一种移动终端帧率的控制方法的流程图;
图5是本申请一个实施例提供的帧率调节平滑曲线的示意图;
图6是本申请一个实施例提供的一种移动终端帧率的控制方法的流程图;
图7是本申请一个实施例提供的一种移动终端帧率的控制装置的结构示意图;
图8是本申请一个实施例提供的一种电子设备的结构示意图。
图9是本申请一个实施例提供的一种电子设备的另一结构示意图。
本发明的最佳实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
可以理解的是,在安装有操作系统的移动终端中,移动终端通过不断刷新显示画面来呈现不同时刻下的各种显示画面。在手机等移动终端中的显示刷新流程中主要包括画面绘制操作、画面合成操作和显示操作。各应用如桌面或视频等,执行绘图(Render)操作,以分别绘制各自的图像;待所有应用完成Render操作后,系统执行合成(Compose)操作,以将各应用所绘制的图像合成为一个显示帧;将该显示帧输出到屏幕上进行最终显示。
本申请提供一种移动终端帧率控制的方案,具体的如下:
一种移动终端帧率的控制方法,其包括:
获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中,若预测到调节过程中移动终端处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
若预测到调节过程中移动终端处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
若预测到调节过程中移动终端处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
请参考图1,图1给出了本申请一个实施例提供的一种移动终端帧率的控制方法的流程图,本实施例的方法可以由移动终端帧率的控制装置来执行,该装置可通过硬件和/或软件的方式实现,所述装置可作为电子设备一部分设置在所述电子设备的内部,如电子设备包括移动终端,该装置可以作为移动终端一部分设置在所述移动终端的内部。
如图1所示,本实施例提供的一种移动终端帧率的控制方法包括以下步骤:
步骤101、获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率。
为了便于理解,下面以Android系统为例,对Android系统中显示画面从生成到显示的过程进行简单的说明。图2为本申请一个实施例提供的一种显示过程的示意图。
首先,在应用(Application)层,每个应用程序(以下简称应用或APP)按照自己的应用设计情况(一般由对应的安装包APK决定)各自单独执行图像绘制(Render)操作,并在绘制操作处理完成后,各应用将所绘制的所有图像发送给执行图像合成操作的合成模块(Surface flinger)。
然后,在应用框架(Framework)层,系统有三个帧缓冲器(Frame Buffer,FB),三个FB可以循环使用。Surface flinger从三个FB中找出一个空闲的FB,并在该空闲的FB上,根据应用配置信息,例如哪个图像应该置底、哪个图像应该置顶、哪个图像采用透底效果等,通过合成(Compose)操作,将各个应用分别绘制的多个图像叠加在一起,得到最终显示的显示帧(待显示画面)。
最后,在内核(Kernel)层,可以将待显示画面通过移动终端显示处理(Mobile Display Process,MDP)模块传输给显示硬件(包括显示控制器和显示屏,使待显示画面最终显示在显示屏上。这里对显示屏的类型不做限定,例如可以是液晶显示器(Liquid Crystal Display,LCD)。
另外,Android系统在显示刷新的过程中,引入了同步(Vsync)刷新机制。图3给出了本申请一个实施例提供的Vsync显示刷新机制的示意图。具体地,Vsync刷新机制其实就是在整个显示流程中,插入“心跳”即系统同步(Vsync)信号,由显示控制器发送给CPU,用于产生Vsync中断,以控制每次Render操作和Compose操作都需要按照心跳来完成,从而将整个显示过程中的关键步骤都纳入到Vsync的统一管理机制。Vsync信号频率目前常见为60Hz。
如图3所示,假设Vsync信号周期为T,不考虑信号的传输延迟,第一个Vsync信号Vsync1到达CPU后,CPU控制合成模块向各应用转发该第一个Vsync信号Vsync1,各应用响应于用户在显示屏上的触摸滑动等操作,开始执行Render操作;并在各应用完成Render操作后,得到各应用所绘制的多个图像。第二个Vsync信号Vsync2到达CPU后,CPU控制显示控制器向合成模块转发该第二个Vsync信号Vsync2,合成模块开始执行图像合成操作,将各应用所绘制的多个图像进行合成,生成待显示画面。第三个Vsync信号Vsync3到达CPU后,系统开始执行显示刷新,并将该待显示画面最终显示在显示屏上。
在移动终端图像绘制、合成和刷新显示的流程中,存在3种帧率:绘制帧率、合成帧率和刷新率(刷新帧率)。
其中,绘制帧率为应用程序在图像绘制完成后,触发合成模块合成的帧率,可以理解为应用程序单位时间(例如,1秒钟)绘制图像的次数。
合成帧率为把各个应用程序的绘制图像合成为一个待显示画面的帧率。
刷新率为移动终端的显示屏显示画面刷新的帧率。
该步骤101中所述的帧率可以为绘制帧率、合成帧率或者刷新率。
在移动终端的运行场景中可能存在一些需要调整移动终端帧率的应用场景,对于从低帧率调到高帧率的应用场景,可以直接将帧率设置为高帧率,但是对于从高帧率调节为低帧率的应用场景,若直接由高帧率降低设置为低帧率,将会造成显示屏画面显示不够自然和流畅的问题,用户体验非常不好。
该步骤用于获取当前的第一帧率和待调节后的第二帧率,其中所述第一帧率大于所述第二帧率。例如,第一帧率为60HZ,第二帧率为50HZ。
步骤102、按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
该步骤用于按照预先设定的平滑调节策略,获取第一帧率和第二帧率之间的至少一个中间帧率。具体可以根据第一帧率和第二帧率与各个中间帧率之间的设定函数对应关系来根据所述第一帧率和第二帧率获取所述至少一个中间帧率;或者结合移动终端当前的运行场景来根据所述第一帧率和第二帧率获取所述至少一个中间帧率。
步骤103、基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
将移动终端的帧率由第一帧率依次调节至各个中间帧率,直至调节至所述第二帧率,实现了移动终端帧率的平滑调节,避免了由第一帧率直接调整至第二帧率造成的画面显示不流畅的问题。
本实施例提供的移动终端帧率的控制方法,通过获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率,按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率,并基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率,可以合理的调节移动终端的帧率。
为便于更好的实施本申请实施例提供的移动终端帧率的控制方法,本申请实施例以具体的帧率设定对应关系进行举例说明。
请参阅图4,图4给出了本申请一个实施例提供的一种移动终端帧率的控制方法的流程图。如图4所示,本实施例提供的方法包括以下步骤:
步骤201、获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率。
其中,步骤201可以参阅以上步骤101,在此不再赘述。
步骤202、将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率。
其中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。其中π为180°,所述K值可以取值为180°。
可以理解的是,所述当前帧率与中间帧率的设定关系也可以为线性关系、指数关系或者对数关系,本实施例对此并不进行限制。示例性的,所述设定关系还可以为:F(n)=Fs-1,其中F(n)为中间帧率,Fs为当前帧率,n为初始值为1,增加值为设定间隔值的变量,例如设定间隔值为1,即n=n+1,在当前帧率为所述第一帧率时n为所述初始值1。
下面以设定关系为F(n)=Fs*cos((nπ)/K)进行举例说明:
若K取值180°,当前的第一帧率为60,第二帧率为50,那么根据设定关系可得到第一个中间帧率F(1)=60*cos(π/K)=60*cos1=59.99,在一个具体的实施方式中可通过取整函数INT(x),得到F^'(n)=INT(F(n)),即可将F^'(1)=59作为第一个中间帧率。
步骤203、将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
如上述示例,将第一个中间帧率59作为新的当前帧率,基于上述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率(第二个中间帧率)F^'(2),由F(2)=59.99*cos(2π/K)=59.95,可知F^'(2)=59,将第二个中间帧率F^'(2)=59作为当前帧率,基于上述对应关系,获取当前帧率对应的下一个中间帧率(第三个中间帧率)F^'(3)=59,以此类推,直至当前帧率与第二帧率50的差值在设定范围内。其中,所述设定范围可以设置为0-1,即若当前帧率与第二设定值的差值小于等于1,则停止执行基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率的操作。例如,若当前中间帧率的值为51,则不再获取下一个中间帧率。
最终可得到如下的中间帧率序列(单位HZ)(59,59,59,59,59,59,58,58,57,56,55,54,52,51)。
步骤204、基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
如上述示例,基于获取的中间帧率序列,将帧率由第一帧率逐渐调节至所述第二帧率,即由第一帧率60HZ平滑调节至第二帧率50HZ的平滑调节序列如下(单位HZ)(60,59,59,59,59,59,59,58,58,57,56,55,54,52,51)。
如图5所示,根据F(n)=Fs*cos((nπ)/K)设定关系得到的中间帧率有一个缓慢过渡的过程,例如前6个中间帧率都是59,往后2个中间帧率是58,再往后是57,56,55,54,52,51,相比于线性设定关系能够更加平滑的调整帧率,且在从第一帧率降低到第二帧率的过程中,开始阶段平滑度较高,往后平滑度慢慢降低,可以达到画面流畅度高,并且帧率降低速度快的技术效果。
本实施例提供的方法,通过获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率,将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率,将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内,并基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率,可以实现平滑的调节移动终端的帧率。
为便于更好的实施本申请实施例提供的移动终端帧率的控制方法,本申请实施例结合具体的应用场景进行举例说明。
图6给出了本申请一个实施例提供的一种移动终端帧率的控制方法的流程图。如图6所示,本实施例提供的移动终端帧率的控制方法包括以下步骤:
步骤301、获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率。
其中,步骤301可以参阅以上步骤101,在此不再赘述。
步骤302、根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景。
其中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器(Central Processing Unit,CPU)的频率信息、中央处理器的负载信息、图像处理器(Graphic Processing Unit,GPU)的频率信息和图像处理器的负载信息中的至少一项。所述应用程序的属性包括应用程序的标识或者类型。
在一些实施例中,若当前运行的应用程序为桌面,则预测调节过程中移动终端所处的场景类型为静态画面场景;若当前运行的应用程序为微信、QQ或者阅读器类型的应用程序,则预测调节过程中移动终端所处的场景类型为低动态画面场景;若当前运行的应用程序的类型为视频或者游戏,则预测调节过程中移动终端处于高动态画面场景。
在一些实施例中,可将中央处理器的负载和/或频率分为3个等级,负载和/或频率处于第1等级即负载和/或频率为0的或者较小的运行场景下预测调节过程中移动终端处于静态画面场景;负载和/或频率处于第2等级的运行场景下预测调节过程中移动终端处于低动态画面场景;负载和/或频率处于第3等级的运行场景下预测调节过程中移动终端处于高动态画面场景。同理,也可将图像处理器的负载和/或频率分为3个等级,根据图像处理器的负载和/或频率的等级预测调节过程中移动终端所处的场景类型。可以理解的是,也可以结合中央处理器的负载和/或频率的等级以及图像处理器的负载和/或频率的等级预测调节过程中移动终端所处的场景类型。
步骤303、按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
若预测到调节过程中移动终端处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值。
在一些实施例中,第一帧率为60HZ,第二帧率为50HZ,第一设定值为3。将第一帧率与第一设定值的差值57HZ作为第一个中间帧率;将第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值54HZ作为第二个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值。即可得到中间帧率序列(单位HZ)为(57,54,51)。
若预测到调节过程中移动终端处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值。
在一些实施例中,第一帧率为60HZ,第二帧率为50HZ,第二设定值为2。将第一帧率与第二设定值的差值58HZ作为第一个中间帧率;将第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值56HZ作为第二个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值。即可得到中间帧率序列(单位HZ)为(58,56,54,52)。
若预测到调节过程中移动终端处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值。
在一些实施例中,第一帧率为60HZ,第二帧率为50HZ,第三设定值为1。将第一帧率与第三设定值的差值59HZ作为第一个中间帧率;将第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值58作为第二个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值。即可得到中间帧率序列(单位HZ)为(59,58,57,56,55,54,53,52,51)。
其中,所述第一设定值、第二设定值和第三设定值依次减小。
步骤304、基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
本实施例提供的方法,通过获取移动终端当前的第一帧率和待调节后的第二帧率,根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率,可以结合移动终端所处的场景类型,平滑的调节移动终端的帧率。
为便于更好的实施本申请实施例提供的移动终端帧率的控制方法,本申请实施例还提供一种基于上述移动终端帧率的控制方法的装置。其中名词的含义与上述移动终端帧率的控制方法中相同,具体实现细节可以参考方法实施例中的说明。
一种移动终端帧率的控制装置,其包括:
帧率获取模块,用于获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
中间帧率获取模块,用于按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
帧率调节模块,用于基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述中间帧率获取模块用于:
将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述中间帧率获取模块用于:
根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中:若预测到调节过程中移动终端处于静态画面场景,则所述中间帧率获取模块用于:
将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
若预测到调节过程中移动终端处于低动态画面场景,则所述中间帧率获取模块用于:
将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
若预测到调节过程中移动终端处于高动态画面场景,则所述中间帧率获取模块用于:
将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
请参阅图7,图7为本申请一个实施例提供的一种移动终端帧率的控制装置的结构示意图,该装置可由软件和/或硬件实现,集成在移动终端中。如图7所示,该装置包括帧率获取模块41、中间帧率获取模块42和帧率调节模块43。
其中,所述帧率获取模块41,用于获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率。
其中,所述中间帧率获取模块42,用于按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
其中,所述帧率调节模块43,用于基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述中间帧率获取模块用于:将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,F(n)=Fs*sin((nπ)/K+π/2)。其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述中间帧率获取模块用于:根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述设定预测参数包括当前运行的应用程序的种类属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中,若预测到调节过程中移动终端处于静态画面场景,则所述中间帧率获取模块用于:将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于第一设定值小于或者等于第一设定值;若预测到调节过程中移动终端处于低动态画面场景,则所述中间帧率获取模块用于:将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于第二设定值小于或者等于第二设定值;若预测到调节过程中移动终端处于高动态画面场景,则所述中间帧率获取模块用于:将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于第三设定值小于或者等于第三设定值;其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
本实施例提供的装置,通过获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率,按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率,并基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率,可以合理的调节移动终端的帧率。
一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
获取电子设备当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
基于所述至少一个中间帧率,将所述电子设备的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,电子设备所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中,若预测到调节过程中电子设备处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
若预测到调节过程中电子设备处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
若预测到调节过程中电子设备处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述帧率包括电子设备的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
请参阅图8,图8为本申请一个实施例提供的一种电子设备的结构示意图,该电子设备可以包括本申请任意实施例提供的帧率的控制装置,如图8所示,该电子设备可以包括:存储器501和中央处理器(Central Processing Unit,CPU,又称处理器,以下简称CPU)502。本领域技术人员可以理解,图8中示出的电子设备的结构并不构成对电子设备的限定。电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。需要说明的是,电子设备可以为移动终端、平板电脑等。
其中,所述存储器501,存储器501可用于存储应用程序和数据。存储器501存储的应用程序中包含有可执行程序代码。应用程序可以组成各种功能模块。处理器502通过运行存储在存储器501的应用程序,从而执行各种功能应用以及数据处理。
其中,处理器502是电子设备500的控制中心。处理器502利用各种接口和线路连接整个电子设备500的各个部分,通过运行或执行存储在存储器501内的应用程序,以及调用存储在存储器501内的数据,执行电子设备500的各种功能和处理数据,从而对电子设备500进行整体监控。
其中,处理器502会按照如下的指令,将一个或一个以上的程序进程对应的可执行文件加载到存储器501中,并由处理器502来运行存储在存储器501中的程序,从而实现各种功能。所述处理器502通过读取所述存储器501中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:获取电子设备当前的第一帧率 和待调节后的第二帧率,所述第一帧率大于所述第二帧率;按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;基于所述至少一个中间帧率,将所述电子设备的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述处理器502还可以用于,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述处理器502还可以用于,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述处理器502还可以用于,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,电子设备所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述处理器502还可以用于,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中,所述处理器502还可以用于,若预测到调节过程中电子设备处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
若预测到调节过程中电子设备处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
若预测到调节过程中电子设备处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述处理器502还可以用于,所述帧率包括电子设备的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
应该理解的是,图示电子设备500仅仅是电子设备的一个范例,并且电子设备500可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面就本实施例提供的用于控制帧率的电子设备进行详细的描述,该电子设备以手机为例。
请参阅图9,图9为本申请一个实施例提供的一种电子设备的另一结构示意图。所述电子设备500还包括:外设接口503、RF(Radio Frequency,射频)电路505、音频电路506、扬声器511、电源管理芯片508、输入/输出(I/O)子系统509、触摸屏512、其他输入/控制设备510以及外部端口504,这些部件通过一个或多个通信总线或信号线507来通信。
存储器501,所述存储器501可以被CPU502、外设接口503等访问,所述存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口503,所述外设接口503可以将设备的输入和输出外设连接到CPU502和存储器501。
I/O子系统509,所述I/O子系统509可以将设备上的输入输出外设,例如触摸屏512和其他输入/控制设备510,连接到外设接口503。I/O子系统509可以包括显示控制器5091和用于控制其他输入/控制设备510的一个或多个输入控制器5092。其中,一个或多个输入控制器5092从其他输入/控制设备510接收电信号或者向其他输入/控制设备510发送电信号,其他输入/控制设备510可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器5092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
触摸屏512,所述触摸屏512是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。
I/O子系统509中的显示控制器5091从触摸屏512接收电信号或者向触摸屏512发送电信号。触摸屏512检测触摸屏上的接触,显示控制器5091将检测到的接触转换为与显示在触摸屏512上的用户界面对象的交互,即实现人机交互,显示在触摸屏512上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路505,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路505接收并发送RF信号,RF信号也称为电磁信号,RF电路505将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路505可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。
音频电路506,主要用于从外设接口503接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器511。
扬声器511,用于将手机通过RF电路505从无线网络接收的语音信号,还原为声音并向用户播放该声音。
电源管理芯片508,用于为CPU502、I/O子系统及外设接口503所连接的硬件进行供电及电源管理。
上述电子设备可执行本申请任意实施例所提供的方法,具备执行方法相应的功能模块,通过获取电子设备当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率,按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率,并基于所述至少一个中间帧率,将所述电子设备的帧率由所述第一帧率逐渐调节至所述第二帧率,可以合理的调节电子设备的帧率。
尽管图8和图9中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。
一种存储介质,其存储有多条指令,所述指令适于由处理器加载,以执行以下步骤:
获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
在一些实施例中,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
在一些实施例中,所述当前帧率与中间帧率的设定关系包括:
F(n)=Fs*cos((nπ)/K);或者,
F(n)=Fs*sin((nπ)/K+π/2)
其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
在一些实施例中,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
在一些实施例中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
在一些实施例中,若预测到调节过程中移动终端处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
若预测到调节过程中移动终端处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
若预测到调节过程中移动终端处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
其中,所述第一设定值、第二设定值和第三设定值依次减小。
在一些实施例中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读介质中 ,如存储在电子设备的存储器中,并由电子设备内的至少一个处理器进行加载和执行。其中,介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。

Claims (20)

  1. 一种移动终端帧率的控制方法,其包括:
    获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
    按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
    基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
  2. 根据权利要求1所述的方法,其中,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
  3. 根据权利要求2所述的方法,其中,所述当前帧率与中间帧率的设定关系包括:
    F(n)=Fs*cos((nπ)/K);或者,
    F(n)=Fs*sin((nπ)/K+π/2)
    其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
  4. 根据权利要求1所述的方法,其中,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
    按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
  5. 根据权利要求4所述的方法,其中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
  6. 根据权利要求4所述的方法,其中:
    若预测到调节过程中移动终端处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
    若预测到调节过程中移动终端处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
    若预测到调节过程中移动终端处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
    其中,所述第一设定值、第二设定值和第三设定值依次减小。
  7. 根据权利要求1所述的方法,其中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
  8. 一种移动终端帧率的控制装置,其包括:
    帧率获取模块,用于获取移动终端当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
    中间帧率获取模块,用于按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
    帧率调节模块,用于基于所述至少一个中间帧率,将所述移动终端的帧率由所述第一帧率逐渐调节至所述第二帧率。
  9. 根据权利要求8所述的装置,其中,所述中间帧率获取模块用于:
    将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
  10. 根据权利要求9所述的装置,其中,所述当前帧率与中间帧率的设定关系包括:
    F(n)=Fs*cos((nπ)/K);或者,
    F(n)=Fs*sin((nπ)/K+π/2)
    其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
  11. 根据权利要求8所述的装置,其中,所述中间帧率获取模块用于:
    根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,移动终端所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
    按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
  12. 根据权利要求11所述的装置,其中,所述设定预测参数包括当前运行的应用程序的属性、中央处理器的频率信息、中央处理器的负载信息、图像处理器的频率信息和图像处理器的负载信息中的至少一项。
  13. 根据权利要求11所述的装置,其中:
    若预测到调节过程中移动终端处于静态画面场景,则所述中间帧率获取模块用于:
    将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
    若预测到调节过程中移动终端处于低动态画面场景,则所述中间帧率获取模块用于:
    将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
    若预测到调节过程中移动终端处于高动态画面场景,则所述中间帧率获取模块用于:
    将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
    其中,所述第一设定值、第二设定值和第三设定值依次减小。
  14. 根据权利要求8所述的装置,其中,所述帧率包括移动终端的应用程序的绘制帧率、用于合成画面的合成模块的合成帧率或者显示屏的刷新率。
  15. 一种存储介质,其存储有多条指令,所述指令适于由处理器加载,以执行如权利要求1至7任一项所述的移动终端帧率的控制方法。
  16. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
    获取电子设备当前的第一帧率和待调节后的第二帧率,所述第一帧率大于所述第二帧率;
    按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率;
    基于所述至少一个中间帧率,将所述电子设备的帧率由所述第一帧率逐渐调节至所述第二帧率。
  17. 根据权利要求16所述的电子设备,其中,所述按照设定平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,基于当前帧率与中间帧率的设定对应关系,获取当前帧率对应的第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,基于所述设定对应关系,获取所述新的当前帧率对应的下一个中间帧率,直至当前帧率与第二帧率的差值在设定范围内。
  18. 根据权利要求17所述的电子设备,其中,所述当前帧率与中间帧率的设定关系包括:
    F(n)=Fs*cos((nπ)/K);或者,
    F(n)=Fs*sin((nπ)/K+π/2)
    其中,F(n)为中间帧率,Fs为当前帧率,K为设定值,n为初始值为1,增加值为设定间隔值的变量,在当前帧率为所述第一帧率时n为所述初始值1。
  19. 根据权利要求16所述的电子设备,其中,所述按照设定平滑调节策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    根据设定预测参数预测从所述第一帧率到第二帧率的调节过程中,电子设备所处的场景类型,所述场景类型包括静态画面场景、低动态画面场景和高动态画面场景;
    按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率。
  20. 根据权利要求19所述的电子设备,其中:
    若预测到调节过程中电子设备处于静态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第一设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第一设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第一设定值;
    若预测到调节过程中电子设备处于低动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第二设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第二设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第二设定值;
    若预测到调节过程中电子设备处于高动态画面场景,则所述按照所述场景类型对应的平滑调整策略,获取所述第一帧率和所述第二帧率之间的至少一个中间帧率包括:
    将所述第一帧率作为当前帧率,将当前帧率与第三设定值的差值作为第一个中间帧率;
    将所述第一个中间帧率作为新的当前帧率,将新的当前帧率与第三设定值的差值作为下一个中间帧率,直至当前帧率与第二帧率的差值小于或者等于第三设定值;
    其中,所述第一设定值、第二设定值和第三设定值依次减小。
PCT/CN2017/106602 2017-03-10 2017-10-17 移动终端帧率的控制方法、装置、存储介质及电子设备 WO2018161572A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142551.5A CN106657680A (zh) 2017-03-10 2017-03-10 一种移动终端帧率的控制方法、装置及移动终端
CN201710142551.5 2017-03-10

Publications (1)

Publication Number Publication Date
WO2018161572A1 true WO2018161572A1 (zh) 2018-09-13

Family

ID=58848362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106602 WO2018161572A1 (zh) 2017-03-10 2017-10-17 移动终端帧率的控制方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN106657680A (zh)
WO (1) WO2018161572A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230758A (zh) * 2020-11-09 2021-01-15 腾讯科技(深圳)有限公司 帧率调整方法、装置、设备及计算机可读存储介质
CN112702649A (zh) * 2019-10-22 2021-04-23 高新兴科技集团股份有限公司 一种移动端的直播视频播放流畅度优化方法、存储介质及电子设备
CN114510140A (zh) * 2020-11-16 2022-05-17 深圳市万普拉斯科技有限公司 一种调频方法、装置及电子设备
CN116700653A (zh) * 2022-02-28 2023-09-05 荣耀终端有限公司 帧率切换方法及相关装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657680A (zh) * 2017-03-10 2017-05-10 广东欧珀移动通信有限公司 一种移动终端帧率的控制方法、装置及移动终端
CN110798738B (zh) * 2018-08-01 2022-01-28 Oppo广东移动通信有限公司 帧率控制方法、装置、终端及存储介质
CN111966557B (zh) * 2019-05-20 2023-07-14 北京车和家信息技术有限公司 监测浏览器帧率的方法及装置
CN110531951B (zh) * 2019-08-30 2022-03-25 腾讯科技(深圳)有限公司 画面输出模式调整方法、装置、设备、系统及存储介质
CN111752368A (zh) * 2020-06-22 2020-10-09 无锡睿勤科技有限公司 一种显示流畅度的调节方法、系统、终端及存储介质
CN113630572B (zh) * 2021-07-09 2022-10-14 荣耀终端有限公司 帧率切换方法和相关装置
EP4236301A4 (en) * 2021-12-29 2024-02-28 Honor Device Co Ltd METHOD AND DEVICE FOR IMAGE FREQUENCY SWITCHING

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005236520A (ja) * 2004-02-18 2005-09-02 Sanyo Electric Co Ltd ディスプレイ装置
CN104269155A (zh) * 2014-09-24 2015-01-07 广东欧珀移动通信有限公司 一种调整屏幕刷新频率的方法及装置
CN104282286A (zh) * 2014-10-30 2015-01-14 广东欧珀移动通信有限公司 根据应用场景调整智能移动终端显示刷新率的方法及系统
CN104509119A (zh) * 2012-04-24 2015-04-08 Vid拓展公司 用于mpeg/3gpp-dash中平滑流切换的方法和装置
CN106250085A (zh) * 2016-07-29 2016-12-21 北京小米移动软件有限公司 刷新率调整方法及装置
CN106375772A (zh) * 2016-08-29 2017-02-01 北京小米移动软件有限公司 视频播放方法及装置
CN106657680A (zh) * 2017-03-10 2017-05-10 广东欧珀移动通信有限公司 一种移动终端帧率的控制方法、装置及移动终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5234119B2 (ja) * 2011-01-20 2013-07-10 カシオ計算機株式会社 撮像装置、撮像処理方法及びプログラム
CN102930852B (zh) * 2012-11-08 2014-05-14 山东大学 通过动态调节屏幕刷新率来提高移动终端系统性能的方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005236520A (ja) * 2004-02-18 2005-09-02 Sanyo Electric Co Ltd ディスプレイ装置
CN104509119A (zh) * 2012-04-24 2015-04-08 Vid拓展公司 用于mpeg/3gpp-dash中平滑流切换的方法和装置
CN104269155A (zh) * 2014-09-24 2015-01-07 广东欧珀移动通信有限公司 一种调整屏幕刷新频率的方法及装置
CN104282286A (zh) * 2014-10-30 2015-01-14 广东欧珀移动通信有限公司 根据应用场景调整智能移动终端显示刷新率的方法及系统
CN106250085A (zh) * 2016-07-29 2016-12-21 北京小米移动软件有限公司 刷新率调整方法及装置
CN106375772A (zh) * 2016-08-29 2017-02-01 北京小米移动软件有限公司 视频播放方法及装置
CN106657680A (zh) * 2017-03-10 2017-05-10 广东欧珀移动通信有限公司 一种移动终端帧率的控制方法、装置及移动终端

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702649A (zh) * 2019-10-22 2021-04-23 高新兴科技集团股份有限公司 一种移动端的直播视频播放流畅度优化方法、存储介质及电子设备
CN112230758A (zh) * 2020-11-09 2021-01-15 腾讯科技(深圳)有限公司 帧率调整方法、装置、设备及计算机可读存储介质
CN112230758B (zh) * 2020-11-09 2023-11-17 腾讯科技(深圳)有限公司 帧率调整方法、装置、设备及计算机可读存储介质
US11922906B2 (en) 2020-11-09 2024-03-05 Tencent Technology (Shenzhen) Company Limited Frame rate adjustment method, apparatus and device, computer-readable storage medium and computer program product
CN114510140A (zh) * 2020-11-16 2022-05-17 深圳市万普拉斯科技有限公司 一种调频方法、装置及电子设备
CN114510140B (zh) * 2020-11-16 2024-04-16 深圳市万普拉斯科技有限公司 一种调频方法、装置及电子设备
CN116700653A (zh) * 2022-02-28 2023-09-05 荣耀终端有限公司 帧率切换方法及相关装置
CN116700653B (zh) * 2022-02-28 2024-03-19 荣耀终端有限公司 帧率切换方法及相关装置

Also Published As

Publication number Publication date
CN106657680A (zh) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2018161572A1 (zh) 移动终端帧率的控制方法、装置、存储介质及电子设备
WO2018161578A1 (zh) 动态调节屏幕刷新率的方法、装置、存储介质及电子设备
WO2018161602A1 (zh) 电子设备帧率的控制方法、装置、存储介质及电子设备
WO2018161571A1 (zh) 动态调节终端的节能等级的方法、装置、介质及电子设备
WO2018161604A1 (zh) 移动终端的播放控制方法、装置、存储介质及电子设备
WO2017155326A1 (en) Electronic device and method for driving display thereof
WO2015178698A1 (en) Display apparatus, electronic device including the same, and method of operating the same
WO2016129784A1 (en) Image display apparatus and method
WO2018161586A1 (zh) 移动终端的显示场景识别方法、装置、存储介质及电子设备
WO2018161585A1 (zh) 电子设备帧率的控制方法、装置、存储介质及电子设备
WO2017074078A1 (en) Method for operating electronic device and electronic device for supporting the same
WO2018076866A1 (zh) 数据处理方法、装置、存储介质、电子设备及服务器
WO2017105015A1 (en) Electronic device and method of operating the same
WO2018161603A1 (zh) 移动终端图像绘制的控制方法、装置、介质及电子设备
WO2015180013A1 (zh) 一种终端的触摸操作方法及装置
WO2015026058A1 (en) Method, terminal, and system for reproducing content
WO2021066293A1 (en) Electronic device for synchronizing modification among screens and operation method thereof
WO2016111464A1 (en) Image display apparatus and method
WO2014035113A1 (en) Method of controlling touch function and an electronic device thereof
WO2018090822A1 (zh) 基于智能手表的移动终端相机控制方法及控制系统
WO2018101655A1 (ko) 디스플레이장치 및 그 제어방법
WO2022098125A1 (en) Electronic device and screen control method thereof
WO2016111455A1 (en) Image display apparatus and method
WO2017206865A1 (zh) 一种应用程序的关闭方法、装置、存储介质及电子设备
WO2021054784A1 (en) Electronic device and method for changing user interface according to user input

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900113

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900113

Country of ref document: EP

Kind code of ref document: A1