CN108762465B - Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal - Google Patents

Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal Download PDF

Info

Publication number
CN108762465B
CN108762465B CN201810259715.7A CN201810259715A CN108762465B CN 108762465 B CN108762465 B CN 108762465B CN 201810259715 A CN201810259715 A CN 201810259715A CN 108762465 B CN108762465 B CN 108762465B
Authority
CN
China
Prior art keywords
preset
image data
threshold
frame rate
image
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.)
Expired - Fee Related
Application number
CN201810259715.7A
Other languages
Chinese (zh)
Other versions
CN108762465A (en
Inventor
杨海
冷文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810259715.7A priority Critical patent/CN108762465B/en
Publication of CN108762465A publication Critical patent/CN108762465A/en
Application granted granted Critical
Publication of CN108762465B publication Critical patent/CN108762465B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application discloses a frame rate self-adaptive adjusting method, a frame rate self-adaptive adjusting device, a storage medium and an intelligent terminal. The method comprises the following steps: acquiring image data to be drawn; determining a preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal; and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting the frame rate according to the geometric body difference information and the preset threshold value. By adopting the technical scheme, different preset thresholds are selected according to the environment brightness, the preset threshold in a dark environment can be improved, the frame data amount sent to the image processing module for rendering is further reduced, and therefore the effect of reducing the power consumption is achieved.

Description

Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal
Technical Field
The embodiment of the application relates to a power energy saving technology, in particular to a frame rate self-adaptive adjusting method, a frame rate self-adaptive adjusting device, a storage medium and an intelligent terminal.
Background
At present, intelligent terminals such as smart phones or tablet computers gradually become necessities of life, work and entertainment of people due to advantages of processing capacity and functions.
However, as the number of applications installed on the smart terminal increases, power consumption in running the applications becomes an important factor affecting the endurance of the smart terminal. Especially, the power consumption of the game application is usually higher than that of other applications, and in the related art, when the game application is run on the intelligent terminal, the power consumption of the game is often reduced by adopting a mode of reducing special effects, resolution and the like. However, this method has a great influence on the quality of the picture, and improvement is desired.
Disclosure of Invention
The embodiment of the application provides a frame rate self-adaptive adjusting method and device, a storage medium and an intelligent terminal, which can optimize an energy-saving scheme of the intelligent terminal and further effectively reduce the power consumption of the intelligent terminal.
In a first aspect, an embodiment of the present application provides a frame rate adaptive adjustment method, including:
acquiring image data to be drawn, wherein the image data is output by an application program operated by a foreground;
determining a preset threshold value of each dimensionality in the geometric body difference information according to the corresponding environment brightness of the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensionalities: geometric variation, displacement and scaling;
and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting a frame rate according to the geometric body difference information and the preset threshold, wherein the frame rate is the frame rate of the image processing module for executing rendering operation.
In a second aspect, an embodiment of the present application further provides a frame rate adaptive adjustment apparatus, where the apparatus includes:
the data acquisition module is used for acquiring image data to be drawn, wherein the image data is output by an application program operated by a foreground;
the threshold determining module is used for determining a preset threshold of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensions: geometric variation, displacement and scaling;
and a frame rate adjusting module, configured to determine geometry difference information between a current image corresponding to the image data and an adjacent previous image, and adjust a frame rate according to the geometry difference information and the preset threshold, where the frame rate is a frame rate for the image processing module to perform a rendering operation.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the frame rate adaptive adjustment method according to the first aspect.
In a fourth aspect, an embodiment of the present application further provides an intelligent terminal, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the frame rate adaptive adjustment method according to the first aspect.
The embodiment of the application provides a frame rate self-adaptive adjusting scheme, which is characterized in that a preset threshold value of each dimension in geometric body difference information is determined according to the corresponding ambient brightness of an intelligent terminal; and determining the geometric body difference information of the current image corresponding to the image data to be drawn and the adjacent previous frame image, and adjusting the frame rate according to the geometric body difference information and a preset threshold value. By adopting the technical scheme, different preset thresholds are selected according to the environment brightness, the preset threshold in a dark environment can be improved, the frame data amount sent to the image processing module for rendering is further reduced, and therefore the effect of reducing the power consumption is achieved.
Drawings
Fig. 1 is a flowchart of a frame rate adaptive adjustment method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an image drawing process provided in an embodiment of the present application;
fig. 3 is a flowchart of another frame rate adaptive adjustment method provided in an embodiment of the present application;
fig. 4 is a flowchart of another frame rate adaptive adjustment method provided in an embodiment of the present application;
fig. 5 is a block diagram of a frame rate adaptive adjustment apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an intelligent terminal provided in an embodiment of the present application;
fig. 7 is a block diagram of a smart phone according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a frame rate adaptive adjustment method according to an embodiment of the present application, where the method is applicable to a scene in which a frame rate is adaptively adjusted according to a situation that a user's sensitivity to the frame rate changes with an environment, and the method may be executed by a frame rate adaptive adjustment device, where the device may be implemented by software and/or hardware, and may generally be integrated in an intelligent terminal such as a smart phone, a tablet computer, or a handheld game console. As shown in fig. 1, the method includes:
and step 110, acquiring image data to be drawn.
The image data is output by an application running in the foreground. And if the application program running in the foreground prepares a frame of image data to be drawn, sending the frame of image data to the CPU so that the CPU can judge whether to make a drawing decision through the GIFT. The GIFT (Graphics Frame Rate Tuner) determines whether a scene is a static scene or a dynamic scene by determining the amount of change between frames, so that the GPU can adaptively adjust the Frame Rate.
It should be noted that the application running in the foreground may be regarded as an application displayed on the touch screen (i.e., the touch display screen) of the smart terminal. Because the application program is usually frozen when being switched to the background, the image data is not drawn, and the application program running in the background is not considered for the moment.
Note that the image data includes geometric information. The geometry information is stored in the geometry class, and is a set of basic shapes having different dimensions (dim), such as a point (0-dimensional), a line (1-dimensional), a plane (2-dimensional), and a volume (3-dimensional). The geometry class includes two arrays, one storing vertex sequence numbers and the other storing topology boundary sequence numbers. From the geometry information, geometry size, coordinates and shape can be determined.
And step 120, determining a preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal.
The inventor finds that the sensitivity of the user to the frame rate is different in different environments in the process of implementing the application. For example, in a weak light environment, the user is less sensitive to frame rate changes and less demanding. In a bright environment, the user is sensitive to the change of the frame rate, and the requirement on the frame rate is high. Thus, two different sets of preset thresholds may be configured to be adjusted higher in a dark environment, increasing the number of frame data that can be discarded. The problem that when some games drawn by using OpenGL/Vulkan are operated, even if a user does not touch the games or the pictures do not change greatly, the pictures are refreshed at a high frame rate, so that the power consumption is high can be avoided.
It should be noted that the geometry difference information at least includes the following three dimensions: geometric variation, displacement and scaling. The Geometry variation (G-Value) includes variation of Geometry information, such as adding or subtracting vertices, and adding or subtracting topological boundaries. The displacement (Motion), M-Value for short, includes the variation of the geometric coordinate. The zoom Scale (Scale), referred to as S-Value for short, includes the amount of change in the size of the projection of the geometric object on the touch screen.
It should be noted that the preset threshold includes at least the following three dimensions: a geometry change amount threshold, a displacement amount threshold, and a zoom amount threshold. The value of the geometric variation threshold is in a range of 0-1, and the larger the value is, the greater the user acceptance degree of the geometric variation between two adjacent frames is, the more likely the current frame data is to be discarded. The displacement threshold value ranges from 0 to 1, and the larger the value is, the greater the user acceptance of the object movement variation between two adjacent frames is, the more likely the current frame data is to be discarded. For the zoom amount threshold, the value range is 0-1, and the larger the value is, the greater the user's acceptance of the object size variation between two adjacent frames is indicated, and the more likely the current frame data is to be discarded. For example, the geometric variation threshold may be recorded as a preset first threshold, the displacement threshold may be recorded as a preset second threshold, and the zoom threshold may be recorded as a preset third threshold.
The ambient brightness may be detected by an ambient sensor. The environment brightness of the environment where the intelligent terminal is located is collected through an environment sensor and sent to the CPU. And the CPU compares the environment brightness with a preset brightness threshold, if the environment brightness is lower than the preset brightness threshold, the intelligent terminal is determined to be in a dark environment, and the dark environment threshold is selected for GIFT to execute a drawing decision. And the value of at least one dimension in the dark environment threshold is larger than a default preset threshold. That is, default preset thresholds (i.e., normal, e.g., daytime indoor scene, night lighting scene, etc.) are assumed to be the G-Value-c threshold, the M-Value-c threshold, and the S-Value-c threshold. The dark environment threshold may be a G-Value-d threshold, an M-Value-d threshold, and an S-Value-d threshold, and at least one of the following relationships exists:
the G-Value-d threshold is greater than the G-Value-c threshold;
the M-Value-d threshold is larger than the M-Value-c threshold;
the S-Value-d threshold > S-Value-c threshold.
It is understood that at least one set may be set for the preset threshold value in the dark environment. If various dark environment thresholds are set, the environment brightness values in the dark environment are grouped in advance, different brightness value intervals and the dark environment thresholds are stored in an associated mode, the lower the environment brightness value is, the higher the preset dark environment threshold is, the more frame data which can be judged to be discarded is, and the more electricity is saved.
It should be noted that, if it is detected that the intelligent terminal enters a normal brightness environment from a dark environment, the dark environment threshold is switched to a default preset threshold, so that the GIFT performs a drawing decision according to the default preset threshold.
Step 130, determining geometric body difference information between the current image corresponding to the image data and the previous frame image adjacent to the current image, and adjusting the frame rate according to the geometric body difference information and the preset threshold value.
Illustratively, the CPU reads the geometric information included in the acquired image data, and performs normalization processing on the geometric information to obtain a second geometric parameter. It should be noted that, the geometric size, coordinates and shape can be determined according to the geometric information. A preset number of target geometries may be selected from the image data. For example, the geometry corresponding to a player character and a non-player character in the game may be labeled as the target geometry. Thus, the geometric information included in the read image data may be first geometric information corresponding to a player character and second geometric information corresponding to a non-player character in the read image data.
The first geometry information is taken as an example, and a mode of performing normalization processing on the geometry information will be described. And determining the resolution of the geometry corresponding to the player character, namely the number of horizontal and vertical pixels according to the vertex information and the topological boundary information included in the first geometry information. The geometric information G is normalized by dividing the resolution of the geometric object corresponding to the player character by the resolution of the target image corresponding to the image data. Similarly, the resolution of the geometry corresponding to the player character, i.e., the number of horizontal and vertical pixels, is determined according to the vertex information and the topological boundary information included in the first geometry information. And dividing the resolution of the geometric body corresponding to the player character by the resolution of the touch display screen to realize the normalization of the scaling data S. Taking the lower left corner of the touch display screen as the origin of coordinates, marking the farthest point of the display area in the lateral direction as 1 results in the horizontal axis, and marking the farthest point of the display area in the longitudinal direction as 1 results in the vertical axis. And projecting the player character to a coordinate system corresponding to the touch display screen according to the position of the player character corresponding to the first geometric body information in the target image, so that the coordinate value of the geometric body corresponding to the player character is between 0 and 1, and the normalization of the displacement data M is realized. Normalized G, M and S are recorded as the second geometry parameter.
If the geometric object is an irregular figure, the longitudinal average length and the lateral average length are calculated, and the inscribed rectangle of the geometric object of the irregular figure is constructed by taking the longitudinal average length as a long side and the lateral average length as a short side. The resolution of the inscribed rectangle represents the resolution of the corresponding geometry of the game player, and normalization is performed in a similar manner as described above.
And performing difference by adopting the normalization result of the geometric body information in the two adjacent frames of image data to obtain the geometric body variation G-Value. Similarly, the normalization result of the displacement data in the two adjacent frames of image data is used for difference to obtain the displacement amount M-Value. Similarly, the normalization result of the scaling data in the two adjacent frames of image data is used for difference to obtain the scaling quantity S-Value. When the image to be drawn is obtained, the system has already completed the normalization processing of the geometric information contained in the previous frame of picture, so the first geometric parameter corresponding to the previous frame of picture can be obtained from the preset cache. The first geometric body parameter comprises a normalization result of the geometric body information, a normalization result of the displacement data and a normalization result of the scaling data. And calculating the difference value of the second geometric body parameter and the first geometric body parameter as geometric body difference information.
If the numerical value of each dimension of the geometric body difference information is smaller than a preset threshold value, abandoning to call the image processing module to draw the image data to be drawn; and if at least one of the numerical values of all dimensions of the geometric body difference information exceeds a preset threshold value, calling an image processing module to draw the image data to be drawn. The image processing module may be a GPU.
If the geometric body variation is smaller than a preset first threshold, the displacement is smaller than a preset second threshold and the zooming amount is smaller than a preset third threshold, abandoning to call the image processing module to draw the image data; otherwise, calling the image processing module to draw the image data. Therefore, the effect of adjusting the frame rate of the rendering operation executed by the image processing module in real time is achieved. For example, the application program running in the foreground sends image data of GIFT60 frames in the last second, and after a rendering decision is made, the image data for invoking the GPU to render is 50 frames, that is, the frame rate is reduced from 60fps to 50 fps.
Fig. 2 is a schematic diagram of an image drawing process according to an embodiment of the present application. As shown in fig. 2, an application running in the foreground prepares frame data to be drawn, and actively pushes the frame data to the CPU when preparing one frame of the frame data. A GIFT (graphics Frame Rate tuner) module is built in the CPU, or a GIFT module is added between the CPU and the GPU. And the CPU calls the GIFT module to judge whether the geometric volume variation G-Value of the frame data and the adjacent previous frame data is smaller than a preset first threshold Value. If the Frame data is larger than the preset first threshold value, calling a GPU through an OpenGL ES API and EGL to draw a Frame of target image according to the Frame data to be drawn, and sending the target image to a Frame Buffer (Frame Buffer) of the touch display screen by the GPU. If the frame data is smaller than the preset first threshold, further judging whether the displacement M-Value of the frame data and the adjacent previous frame data is smaller than a preset second threshold. If the value is larger than the preset second threshold value, calling a GPU through an OpenGL ES API and EGL to draw a Frame of target image according to Frame data to be drawn, and sending the target image to a Frame Buffer (Frame Buffer) of the touch display screen by the GPU. If the frame data is smaller than the preset second threshold, whether the zoom quantity S-Value of the frame data and the adjacent previous frame data is smaller than a preset third threshold is further judged. If the Frame data is larger than the preset third threshold, calling a GPU through an OpenGL ES API and EGL to draw a Frame of target image according to the Frame data to be drawn, and sending the target image to a Frame Buffer (Frame Buffer) of the touch display screen by the GPU. And if the frame data is smaller than the preset third threshold, abandoning to call the GPU to draw the frame data, namely discarding the frame data, and controlling the time of the GPU sleeping for one frame to wait for the next frame data. The way to sleep for one frame time may be to sleep for one frame time in eglSwapBuffer (i.e. wait for 1 vertical synchronization signal Vsync time). Because the interface implementation of the eglSwapBuffer is that when double buffering is used for Swap, the Front Display and the Back Surface carry out address exchange in the practical sense, and the content of the Front Display is displayed on the touch Display screen when the screen is refreshed next time. The time to sleep for one frame in eglSwapBuffer also means that when one frame of data is discarded, if Vsync is detected, no Swap operation is performed for the moment, and when the next Vsync comes, a Swap operation is performed to exchange addresses of Front Display and Back Surface. The Back Surface is a drawing destination, and may be regarded as a memory block belonging to the Frame Buffer, or may be regarded as a display memory block provided in a local window.
It should be noted that the Android system introduces a synchronous (Vsync) refresh mechanism in the display refresh process. Specifically, the Vsync refresh mechanism is actually to insert a "heartbeat" or a vertical synchronization (Vsync) signal in the whole display flow, and the signal is sent to the CPU by the display controller to generate a Vsync interrupt, so as to control each layer drawing operation and layer composition operation to be completed according to the heartbeat.
According to the technical scheme of the embodiment, the preset threshold value of each dimension in the geometric body difference information is determined according to the corresponding ambient brightness of the intelligent terminal; and determining the geometric body difference information of the current image corresponding to the image data to be drawn and the adjacent previous frame image, and adjusting the frame rate according to the geometric body difference information and a preset threshold value. By adopting the technical scheme, the preset threshold value can be improved in a dark environment by dynamically adjusting the preset threshold value through the ambient brightness, and the frame data quantity sent to the image processing module for rendering is further reduced, so that the effect of reducing the power consumption is achieved.
Fig. 3 is a flowchart of another frame rate adaptive adjustment method according to an embodiment of the present application. As shown in fig. 3, the method includes:
step 301, acquiring an application identifier of an application program operated in a foreground.
The application identifier is a unique identifier that is distinguished from other applications by one application, and for example, the application identifier may be an application package name or a process name.
When the application program is detected to be started and the foreground is operated, the package name or the process name of the application program is obtained.
Step 302, judging whether the application program belongs to a preset white list or not according to the application identifier, if so, executing step 303, otherwise, executing step 311.
It should be noted that the preset white list is used for storing an application program that needs to make a drawing decision through the GIFT, so as to control an application range of reducing power consumption through a frame rate adjustment mode, and avoid generating a large influence on the image display of the intelligent terminal. And if the current started application program belongs to the preset white list, determining whether the frame data output by the application program is discarded or drawn through GIFT, otherwise, calling the GPU to draw the frame data output by the application program. The parameters such as a geometric body variation threshold, a displacement threshold, a zoom threshold, whether to perform touch determination (for example, different identification values T-Value may be preset to indicate whether to perform touch determination) and the like may also be stored through a preset white list.
Illustratively, when the application program is started, the preset white list is queried according to the application identification to determine whether the frame data output by the application program needs to be discarded or drawn through the GIFT.
It can be understood that if the application program does not belong to the preset white list, the image processing module is called to draw the application program at the default frame rate. Wherein the default frame rate can be read from the configuration file of the application program.
It should be noted that the preset white list may be filtered by the manufacturer server according to the historical usage records of the user, and is pushed to the intelligent terminal after the intelligent terminal is networked. The preset white list screening criteria include: the energy-saving ratio of the static scene is more than 10 percent; and, in dynamic scenarios (e.g., touch, scene change, etc.), no stuck condition, etc. For example, the application programs with the preset number in the ranking list (for example, the ranking list obtained by ranking according to the download times) are selected from the application store, the ranking is performed according to the screening criteria, the ranking result is added to the preset white list, and the white list is pushed to the user side on line. If the preset white list is updated, an update notice is pushed to the intelligent terminal to prompt the user to download the updated preset white list. If the updated preset white list is downloaded successfully, the updated preset white list can be used for updating the local preset white list.
Step 303, determining whether the application program needs to be subjected to touch judgment according to the preset white list, if so, executing step 304, otherwise, executing step 306.
Illustratively, when the application program is started, the preset white list is inquired according to the application program identification. And if the application program belongs to the preset white list, reading the identification value of the touch detection identification. If the identification value is a value representing that touch detection is required, step 304 is performed. If the identification value is a value representing that touch detection is not required, a default preset threshold value is selected, and step 306 is executed.
And 304, detecting a touch event, and acquiring the ambient brightness corresponding to the intelligent terminal when the touch event is triggered by the touch screen.
Illustratively, if touch detection is required, when a touch operation is detected and the touch operation is triggered by the touch screen, the ambient brightness in the environment where the intelligent terminal is located is read through the ambient sensor.
It should be noted that, a user inputs a touch operation to the intelligent terminal for an application running in the foreground, and the intelligent terminal triggers a touch event by the detected touch operation. The touch operation includes, but is not limited to, a touch operation applied to a touch screen, and a touch operation detected by a somatosensory technology. Therefore, the touch event can be triggered by the touch screen and also can be triggered by a preset somatosensory detection sensor. In some scenarios, the smart terminal may simulate a touch event to output the simulated touch event to the application program, so as to control the application program to execute an operation corresponding to the simulated touch event. For example, during the playing of a game, the user needs to leave the intelligent terminal temporarily for some reason but does not want to terminate the game, and the on-hook function can be set, that is, a technology of simulating the operation of the user in the game by using a set program.
And if the condition that the touch screen drives to report the key information or the voltage change condition of the touch screen is detected, determining that the touch event is triggered by the touch screen.
Alternatively, a preset identifier may be defined in advance for the subject triggering the touch event. When the touch event is reported by the touch screen, adding a screen trigger identifier for the touch event. And when the touch event is reported by a preset somatosensory detection sensor, adding a somatosensory trigger mark for the touch event. When the touch event is triggered by the simulation event, a simulation trigger identifier is added to the touch event. Thus, by querying the preset identifier, it can be determined whether the touch event is triggered by the touch screen.
And 305, determining a preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal.
And presetting a brightness threshold, and comparing the value of the ambient brightness with the preset brightness threshold after determining the ambient brightness corresponding to the intelligent terminal. And if the value of the environment brightness is smaller than the preset brightness threshold, determining the preset threshold as a dark environment threshold, otherwise, determining the preset threshold as a default preset threshold. For example, the preset luminance threshold may be 100 lux. And if the value of the environment brightness is less than 100lux, taking the dark environment threshold value as a preset threshold value of each dimension in the geometric body difference information. And if the value of the ambient brightness is greater than or equal to 100lux, taking a default preset threshold as a preset threshold of each dimensionality in the geometric body difference information. The default preset threshold may be a threshold specified by an application program, and the threshold may be stored in a preset white list.
It should be noted that, in the embodiment of the present application, the ambient brightness corresponding to the intelligent terminal is detected in real time. And if the ambient brightness is smaller than the preset brightness threshold, selecting a dark ambient threshold for the GIFT to make a drawing decision. Of course, if the ambient brightness is changed from being smaller than the preset brightness threshold to being larger than the preset brightness threshold, the default preset threshold is adopted for the GIFT to make the drawing decision. That is, the preset threshold for the GIFT is dynamically adjusted according to the change of the ambient brightness. In order to avoid frequent switching of the preset threshold, the ambient brightness corresponding to the intelligent terminal within a period of time may be detected, and if the ambient brightness is maintained below the preset brightness threshold, the dark environment threshold is selected. Similarly, if the ambient brightness is higher than the preset brightness threshold within the preset time interval, the preset threshold is switched to the default preset threshold.
Step 306, obtaining image data to be drawn, reading geometric information contained in the image data, and performing normalization processing on the geometric information to obtain a second geometric parameter.
Step 307, obtaining a previous frame of image adjacent to the current image corresponding to the image data, and determining a first geometric parameter corresponding to the previous frame of image.
And 308, calculating a difference value between the second geometric body parameter and the first geometric body parameter as geometric body difference information.
Step 309, judging whether the value of each dimension in the geometric body difference information is smaller than the threshold of the corresponding dimension in the threshold corresponding to the current environment, if so, executing step 310, otherwise, executing step 311.
If the geometric variation is smaller than the geometric variation threshold, the displacement is smaller than the displacement threshold, and the scaling is smaller than the scaling threshold, step 310 is executed.
Step 310, determining whether the previous frame of image data of the image data to be rendered is discarded, if so, performing step 311, otherwise, performing step 312.
And if the image data to be drawn can be discarded after being judged by the GIFT module, correspondingly adding a discarding identifier for the image data to be drawn by the CPU, and storing the image data to be drawn and the discarding identifier in a preset cache in an associated manner. When the CPU detects an image to be drawn of the next frame, the discard flag of the image data to be drawn may be read from the preset buffer to determine whether the adjacent image data of the previous frame is discarded.
And 311, calling the image processing module to execute drawing operation according to the image data to be drawn.
Step 312, discarding the image data to be drawn.
In order to ensure the picture quality of an image, it may be determined whether picture data of a frame immediately preceding the image data to be rendered is discarded before discarding the image data to be rendered. And if the last frame of picture data of the image data to be drawn is discarded, calling the GPU to render the image data to be drawn. And if the previous frame of picture data of the image data to be drawn is not discarded, discarding the image data to be drawn and enabling the GPU to sleep for one frame. By adopting the mode, the influence on the fluency of the picture caused by continuously discarding the multiframes can be avoided. For example, if the adjacent previous frame data is drawn normally, the frame data is discarded; and if the adjacent previous frame data is discarded, calling the GPU to draw the frame data.
According to the technical scheme, the effective range of the drawing decision function is set by adopting the preset white list, and when the image data to be drawn meets the discarding condition in the drawing decision, whether the adjacent previous frame of image data of the image data to be drawn is discarded is judged, so that whether the frame of image data is discarded is determined, and the influence on the display picture in the intelligent terminal can be reduced while the power consumption of the intelligent terminal is reduced.
Fig. 4 is a flowchart of another frame rate adaptive adjustment method provided in an embodiment of the present application. As shown in fig. 4, the method includes:
and step 401, detecting an application program operated in a foreground.
And acquiring the package name or the process name of the application program operated in the foreground.
Step 402, judging whether a preset Application Programming Interface (API) is called when the image data of the application program is rendered, if so, executing step 403, otherwise, executing step 405.
It should be noted that the preset white list may be used to record which application programming interface APIs are used for rendering the image data of the application. Optionally, preset components related to the API generally used for rendering image data may be monitored, and if it is detected that the preset components are called, rendering is determined to be performed by using the corresponding API.
And 403, acquiring the frequency of sending drawing requests by the application program in a preset time interval.
When the API for rendering the image data output by the application program running in the foreground is openGL or Vulkan, starting a timer, recording the preset time length, and counting the times of sending drawing requests by the application program in the preset time length so as to determine the drawing request frequency.
Step 404, determining whether the frequencies all exceed a preset frequency threshold, if yes, executing step 405, otherwise, executing step 414.
For example, assuming that the application requests drawing at a frequency of more than 50 times/s for 10 seconds, the drawing frame rate of the GPU is always more than 50 FPS.
If the preset frequency threshold is 50, if the frequency within 10 seconds is always greater than 50, step 405 is executed.
Step 405, when touch judgment is needed, acquiring image data to be drawn.
And step 406, judging whether the application program needs to be subjected to touch judgment, if so, executing step 407, and otherwise, executing step 409.
For example, the application programs that need to be subjected to touch determination may be stored through a preset white list, and a corresponding relationship between two sets of preset thresholds (one set is a dark environment threshold, and the other set is a default preset threshold) and the ambient brightness may be stored.
And 407, detecting a touch event, and acquiring the ambient brightness corresponding to the intelligent terminal when the touch event is triggered by the touch screen.
And 408, determining a preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal.
A set of preset thresholds matching the ambient brightness may be determined by querying a preset white list.
Step 409, reading geometric information contained in the image data to be drawn, and performing normalization processing on the geometric information to obtain a second geometric parameter.
And step 410, acquiring a previous frame image adjacent to a current image corresponding to the image data, and determining a first geometric parameter corresponding to the previous frame image.
Step 411, calculating a difference between the second geometry parameter and the first geometry parameter as geometry difference information.
Step 412, determining whether the value of each dimension in the geometric difference information is smaller than the threshold of the corresponding dimension in the threshold corresponding to the current environment, if so, executing step 413, otherwise, executing step 414.
If the geometric variation is smaller than the preset first threshold, the displacement is smaller than the preset second threshold, and the zoom amount is smaller than the preset third threshold, step 413 is executed.
Step 413, determining whether the previous frame of image data of the image data to be rendered is discarded, if so, performing step 414, otherwise, performing step 415.
And 414, calling the image processing module to execute drawing operation according to the image data to be drawn.
Step 415, discarding the image data to be rendered.
According to the technical scheme, whether the foreground running application program adopts the preset API to perform rendering operation or not is judged, and when the foreground running application program adopts the preset API to perform rendering operation, the frequency of drawing operation request of the foreground running application program in a preset time interval is monitored, and whether GIFT is adopted to perform drawing decision or not is judged according to the monitoring result. And the preset threshold value can be adaptively selected according to the environment where the user is located, so that the dynamic adjustment of the frame rate is realized. Meanwhile, when the image data to be drawn meets the discarding condition in the drawing decision, whether the image data of the previous frame adjacent to the image data to be drawn is discarded is judged, so that whether the image data of the current frame is discarded is determined, and the influence on a display picture in the intelligent terminal can be reduced while the power consumption of the intelligent terminal is reduced.
Fig. 5 is a block diagram of a frame rate adaptive adjustment apparatus according to an embodiment of the present application. The device can be realized by software and/or hardware, can be integrated in an intelligent terminal such as a smart phone, a tablet computer or a handheld game console, and is used for executing the frame rate self-adaptive adjustment method provided by the embodiment of the application. As shown in fig. 5, the apparatus includes:
a data obtaining module 510, configured to obtain image data to be rendered, where the image data is output by an application program running in a foreground;
a threshold determining module 520, configured to determine a preset threshold of each dimension in the geometry difference information according to the ambient brightness corresponding to the intelligent terminal, where the geometry difference information at least includes the following three dimensions: geometric variation, displacement and scaling;
a frame rate adjusting module 530, configured to determine geometric difference information between a current image corresponding to the image data and an adjacent previous image, and adjust a frame rate according to the geometric difference information and the preset threshold, where the frame rate is a frame rate for the image processing module to perform a rendering operation.
The technical scheme of this embodiment provides a frame rate adaptive adjustment device, which dynamically adjusts a preset threshold value through ambient brightness, so as to improve the preset threshold value in a dark environment, and further reduce the amount of frame data sent to an image processing module for rendering, thereby achieving the effect of reducing power consumption.
Optionally, the method further includes:
the touch detection judging module is used for detecting a touch event if the application program needs to perform touch judgment before determining the preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal, and acquiring the environment brightness corresponding to the intelligent terminal when the touch event is triggered by the touch screen;
and if the application program does not need to perform touch judgment, acquiring a default preset threshold value, and executing the operation of determining the geometric difference information of the current image corresponding to the image data and the adjacent previous frame image.
Optionally, the method further includes:
the application query module is used for acquiring an application identifier of an application program operated in a foreground;
judging whether the application program belongs to a preset white list or not according to the application identifier;
and if so, determining whether the application program needs to be subjected to touch judgment according to the preset white list.
Optionally, the threshold determining module 520 is specifically configured to:
and when the ambient brightness is lower than a preset brightness threshold, acquiring a dark environment threshold, wherein the value of at least one dimension in the dark environment threshold is larger than a default preset threshold.
Optionally, the method further includes:
the frequency judgment module is used for detecting an application program running in a foreground before acquiring image data to be drawn and judging whether a preset Application Programming Interface (API) is called when the image data of the application program is rendered;
if yes, acquiring the frequency of sending drawing requests by the application program in a preset time interval, and judging whether the frequencies exceed a preset frequency threshold value;
and if the frequency exceeds a preset frequency threshold, executing the operation of acquiring the image data to be drawn.
Optionally, the frame rate adjusting module 530 is specifically configured to:
reading geometric information contained in the image data, wherein the geometric information comprises vertex information and topological boundary information;
carrying out normalization processing on the geometric body information to obtain a second geometric body parameter;
acquiring a previous frame of image adjacent to a current image corresponding to the image data, and determining a first geometric parameter corresponding to the previous frame of image;
and calculating the difference value of the second geometric body parameter and the first geometric body parameter as geometric body difference information.
Optionally, the frame rate adjusting module 530 includes:
the frame rate reduction submodule is used for reducing the frame rate of the rendering operation executed by the image processing module if the geometric body variation is smaller than a preset first threshold, the displacement is smaller than a preset second threshold and the zooming amount is smaller than a preset third threshold;
and if at least one of the geometric variation, the displacement and the scaling quantity is greater than a corresponding preset threshold (the geometric variation is compared with a preset second threshold, the displacement is compared with a preset third threshold, and the scaling quantity is compared with a preset third threshold), the image processing module executes rendering operation by adopting a preset frame rate.
Optionally, the frame rate reduction sub-module is specifically configured to:
when the geometric body variation is smaller than a preset threshold, the displacement is smaller than a preset second threshold and the zooming is smaller than a preset third threshold, judging whether the image data of the last frame of the image data to be drawn is discarded or not;
if the previous frame of image data is discarded, calling the image processing module to execute drawing operation according to the image data to be drawn;
and if the image data of the previous frame is not discarded, discarding the image data to be drawn.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a frame rate adaptive adjustment method, including:
acquiring image data to be drawn, wherein the image data is output by an application program operated by a foreground;
determining a preset threshold value of each dimensionality in the geometric body difference information according to the corresponding environment brightness of the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensionalities: geometric variation, displacement and scaling;
and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting a frame rate according to the geometric body difference information and the preset threshold, wherein the frame rate is the frame rate of the image processing module for executing rendering operation.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application and containing the computer-executable instructions is not limited to the frame rate adaptive adjustment operation described above, and may also perform related operations in the frame rate adaptive adjustment method provided in any embodiment of the present application.
The embodiment of the application provides an intelligent terminal, wherein an operating system is arranged in the intelligent terminal, and the intelligent terminal can be integrated with a frame rate self-adaptive adjusting device provided by the embodiment of the application. The intelligent terminal can be a smart phone, a PAD (tablet computer), a handheld game machine and the like. Fig. 6 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present application. As shown in fig. 6, the smart terminal includes a memory 610 and a processor 620. The memory 610 is configured to store a computer program, image data, a preset threshold, geometry difference information, and the like; the processor 620 reads and executes the computer programs stored in the memory 610. The processor 620, when executing the computer program, performs the steps of: acquiring image data to be drawn, wherein the image data is output by an application program operated by a foreground; determining a preset threshold value of each dimensionality in the geometric body difference information according to the corresponding environment brightness of the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensionalities: geometric variation, displacement and scaling; and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting a frame rate according to the geometric body difference information and the preset threshold, wherein the frame rate is the frame rate of the image processing module for executing rendering operation.
Optionally, the processor includes a CPU and a GPU, where the CPU is configured to obtain image data to be drawn; determining a preset threshold value of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal; selecting a preset threshold value of each dimension in the geometric body difference information according to the application program state; and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting a frame rate according to the geometric body difference information and the preset threshold, wherein the frame rate is the frame rate of the image processing module for executing rendering operation. And the GPU is used for executing the operation of drawing the image data according to the call of the CPU to obtain a target image.
The memory and the processor listed in the above examples are all part of components of the intelligent terminal, and the intelligent terminal may further include other components. Taking a smart phone as an example, a possible structure of the smart terminal is described. Fig. 7 is a block diagram of a smart phone according to an embodiment of the present application. As shown in fig. 7, the smart phone may include: memory 701, a Central Processing Unit (CPU) 702 (also known as a processor and hereinafter referred to as a CPU), an image Processing module (such as a Graphics Processing Unit (GPU)) 713, a peripheral interface 703, RF (radio frequency) circuitry 705, audio circuitry 706, speakers 711, a touch screen 712, a power management chip 708, an input/output (I/O) subsystem 709, other input/control devices 710, and an external port 704, which communicate via one or more communication buses or signal lines 707.
It should be understood that the illustrated smartphone 700 is merely one example of a smart terminal, and that the smartphone 700 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may 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 describes in detail a smart phone integrated with a frame rate adaptive adjustment apparatus according to this embodiment.
A memory 701, the memory 701 being accessible by the CPU702, the peripheral interface 703, and the like, the memory 701 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices. The memory 701 stores a computer program, and may also store image data, a preset threshold, geometric body difference information, a preset white list, and the like.
A peripheral interface 703, said peripheral interface 703 may connect input and output peripherals of the device to the CPU702 and the memory 701.
An I/O subsystem 709, which I/O subsystem 709 may connect input and output peripherals on the device, such as a touch screen display 712 and other input/control devices 710, to the peripherals interface 703. The I/O subsystem 709 may include a display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710. Where one or more input controllers 7092 receive electrical signals from or transmit electrical signals to other input/control devices 710, the other input/control devices 710 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 7092 may be connected to any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch display 712, the touch display 712 being an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The GPU713 is configured to obtain, under the call of the CPU702, the graphic data to be drawn from the memory 701, draw a target image according to the image data to be drawn, and send the target image to a Frame Buffer (Frame Buffer) of the touch display 712.
The display controller 7091 in the I/O subsystem 709 receives electrical signals from the touch display screen 712 or transmits electrical signals to the touch display screen 712. The touch display 712 detects a contact on the touch screen, and the display controller 7091 converts the detected contact into an interaction with a user interface object displayed on the touch display 712, that is, implements a human-computer interaction, and the user interface object displayed on the touch display 712 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 705 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 705 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 705 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 705 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 (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electric signal, and transmit the electric signal to the speaker 711.
The speaker 711 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 705 into sound and play the sound to the user.
And a power management chip 708 for supplying power and managing power to the hardware connected to the CPU702, the I/O subsystem, and the peripheral interface.
The intelligent terminal provided by the embodiment of the application can improve the preset threshold value in the dark environment by selecting different preset threshold values according to the ambient brightness, further reduce the frame data volume sent to the image processing module for rendering, and further achieve the effect of reducing the power consumption.
The frame rate adaptive adjusting device, the storage medium and the intelligent terminal provided in the above embodiments can execute the frame rate adaptive adjusting method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a frame rate adaptive adjustment method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (11)

1. A frame rate adaptive adjustment method comprises the following steps: acquiring image data to be drawn, wherein the image data is output by an application program operated by a foreground, and the method is characterized by further comprising the following steps of:
determining a preset threshold value of each dimensionality in the geometric body difference information according to the corresponding environment brightness of the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensionalities: geometric variation, displacement and scaling;
and determining the geometric body difference information of the current image corresponding to the image data and the adjacent previous frame image, and adjusting a frame rate according to the geometric body difference information and the preset threshold, wherein the frame rate is the frame rate of the image processing module for executing rendering operation.
2. The method according to claim 1, before determining the preset threshold of each dimension in the geometry difference information according to the ambient brightness corresponding to the intelligent terminal, further comprising:
if the application program needs touch judgment, detecting a touch event, and acquiring the ambient brightness corresponding to the intelligent terminal when the touch event is triggered by the touch screen;
and if the application program does not need to perform touch judgment, acquiring a default preset threshold value, and executing the operation of determining the geometric difference information of the current image corresponding to the image data and the adjacent previous frame image.
3. The method of claim 2, further comprising:
acquiring an application identifier of an application program running in a foreground;
judging whether the application program belongs to a preset white list or not according to the application identifier;
and if so, determining whether the application program needs to be subjected to touch judgment according to the preset white list.
4. The method according to claim 1, wherein determining the preset threshold value of each dimension in the geometry difference information according to the ambient brightness corresponding to the intelligent terminal comprises:
and when the ambient brightness is lower than a preset brightness threshold, acquiring a dark environment threshold, wherein the value of at least one dimension in the dark environment threshold is larger than a default preset threshold.
5. The method of claim 1, further comprising, prior to acquiring image data to be rendered:
detecting an application program running in a foreground, and judging whether a preset Application Programming Interface (API) is called when the image data of the application program is rendered;
if yes, acquiring the frequency of sending drawing requests by the application program in a preset time interval, and judging whether the frequencies exceed a preset frequency threshold value;
and if the frequency exceeds a preset frequency threshold, executing the operation of acquiring the image data to be drawn.
6. The method of claim 1, wherein determining the geometry difference information between the current image and the previous frame of image comprises:
reading geometric information contained in the image data, wherein the geometric information comprises vertex information and topological boundary information;
carrying out normalization processing on the geometric body information to obtain a second geometric body parameter;
acquiring a previous frame of image adjacent to a current image corresponding to the image data, and determining a first geometric parameter corresponding to the previous frame of image;
and calculating the difference value of the second geometric body parameter and the first geometric body parameter as geometric body difference information.
7. The method according to any one of claims 1 to 6, wherein adjusting a frame rate according to the geometry difference information and the preset threshold comprises:
if the geometric body variation is smaller than a preset first threshold, the displacement is smaller than a preset second threshold and the zooming amount is smaller than a preset third threshold, reducing the frame rate of the rendering operation executed by the image processing module;
otherwise, the image processing module executes the rendering operation by adopting a preset frame rate.
8. The method of claim 7, wherein reducing a frame rate at which an image processing module performs rendering operations comprises:
when the geometric body variation is smaller than a preset threshold, the displacement is smaller than a preset second threshold and the zooming is smaller than a preset third threshold, judging whether the image data of the last frame of the image data to be drawn is discarded or not;
if the previous frame of image data is discarded, calling the image processing module to execute drawing operation according to the image data to be drawn;
and if the image data of the previous frame is not discarded, discarding the image data to be drawn.
9. A frame rate adaptive adjustment apparatus, comprising: the data acquisition module is used for acquiring image data to be drawn, wherein the image data is output by an application program operated in a foreground, and the data acquisition module is characterized by further comprising:
the threshold determining module is used for determining a preset threshold of each dimension in the geometric body difference information according to the environment brightness corresponding to the intelligent terminal, wherein the geometric body difference information at least comprises the following three dimensions: geometric variation, displacement and scaling;
and a frame rate adjusting module, configured to determine geometry difference information between a current image corresponding to the image data and an adjacent previous image, and adjust a frame rate according to the geometry difference information and the preset threshold, where the frame rate is a frame rate for the image processing module to perform a rendering operation.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the frame rate adaptive adjustment method according to any one of claims 1 to 8.
11. An intelligent terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the frame rate adaptive adjustment method according to any one of claims 1 to 8 when executing the computer program.
CN201810259715.7A 2018-03-27 2018-03-27 Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal Expired - Fee Related CN108762465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810259715.7A CN108762465B (en) 2018-03-27 2018-03-27 Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810259715.7A CN108762465B (en) 2018-03-27 2018-03-27 Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal

Publications (2)

Publication Number Publication Date
CN108762465A CN108762465A (en) 2018-11-06
CN108762465B true CN108762465B (en) 2020-06-30

Family

ID=63980410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810259715.7A Expired - Fee Related CN108762465B (en) 2018-03-27 2018-03-27 Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal

Country Status (1)

Country Link
CN (1) CN108762465B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385484B (en) * 2018-12-28 2021-06-25 北京字节跳动网络技术有限公司 Information processing method and device
CN112516590A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Frame rate identification method and electronic equipment
CN111246084B (en) * 2020-01-09 2023-08-01 西安万像电子科技有限公司 Method and device for controlling frame rate
US11457173B2 (en) * 2020-02-21 2022-09-27 Mediatek Inc. Dynamic frame rate adjustment mechanism

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631199A (en) * 2009-07-13 2010-01-20 中兴通讯股份有限公司 Mobile terminal, mobile terminal camera device and method for realizing camera
CN103347152A (en) * 2013-07-08 2013-10-09 华为终端有限公司 Method, device and terminal for picture processing
CN104811821A (en) * 2015-04-02 2015-07-29 小米科技有限责任公司 Drawing display frame rate adjusting method and device
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
CN105917290A (en) * 2014-01-17 2016-08-31 三星电子株式会社 Frame rate control method and electronic device thereof
CN106919401A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of method of dynamic regulation resolution ratio, device and mobile terminal
CN106919358A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of display control method of mobile terminal, device and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631199A (en) * 2009-07-13 2010-01-20 中兴通讯股份有限公司 Mobile terminal, mobile terminal camera device and method for realizing camera
CN103347152A (en) * 2013-07-08 2013-10-09 华为终端有限公司 Method, device and terminal for picture processing
CN105917290A (en) * 2014-01-17 2016-08-31 三星电子株式会社 Frame rate control method and electronic device thereof
CN104811821A (en) * 2015-04-02 2015-07-29 小米科技有限责任公司 Drawing display frame rate adjusting method and device
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
CN106919401A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of method of dynamic regulation resolution ratio, device and mobile terminal
CN106919358A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of display control method of mobile terminal, device and mobile terminal

Also Published As

Publication number Publication date
CN108762465A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108646906B (en) Frame rate adjusting method and device, storage medium and intelligent terminal
CN108648259B (en) Image drawing method and device, storage medium and intelligent terminal
CN108733193B (en) Method and device for intelligently adjusting frame rate, storage medium and intelligent terminal
CN108762652B (en) Display control method and device of intelligent terminal, storage medium and intelligent terminal
CN108762465B (en) Frame rate self-adaptive adjusting method and device, storage medium and intelligent terminal
CN106919358B (en) Display control method and device of mobile terminal and mobile terminal
CN106933587B (en) Layer drawing control method and device and mobile terminal
CN106919401B (en) Method and device for dynamically adjusting resolution and mobile terminal
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
CN108710478B (en) Display screen control method and device, storage medium and intelligent terminal
US10952146B2 (en) Method for dynamically adjusting energy-saving grade of terminal, non-transitory computer-readable storage medium, and terminal
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN112445315A (en) Control method and device for screen refresh frame rate and storage medium
CN109064538B (en) View rendering method and device, storage medium and intelligent terminal
CN108765531A (en) Image rendering method, device, storage medium and intelligent terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN106896900B (en) Display control method and device of mobile terminal and mobile terminal
CN109157839A (en) Frame per second regulates and controls method, apparatus, storage medium and terminal
CN108811055B (en) Frame rate adjusting method and device, terminal equipment and storage medium
CN108628429B (en) Frame rate adjusting method and device, terminal equipment and storage medium
EP3828832A1 (en) Display control method, display control device and computer-readable storage medium
CN108693948B (en) Frame rate adjusting method and device, terminal equipment and storage medium
CN107479700B (en) Black screen gesture control method and device, storage medium and mobile terminal
CN106937371B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN108594982B (en) Frame rate adjusting method and device, terminal equipment 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: 20200630

CF01 Termination of patent right due to non-payment of annual fee