WO2018161957A1 - 图层绘制控制方法、装置及移动终端 - Google Patents

图层绘制控制方法、装置及移动终端 Download PDF

Info

Publication number
WO2018161957A1
WO2018161957A1 PCT/CN2018/078564 CN2018078564W WO2018161957A1 WO 2018161957 A1 WO2018161957 A1 WO 2018161957A1 CN 2018078564 W CN2018078564 W CN 2018078564W WO 2018161957 A1 WO2018161957 A1 WO 2018161957A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
area
frame rate
screen
drawing frame
Prior art date
Application number
PCT/CN2018/078564
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 广东欧珀移动通信有限公司
Priority to EP18764104.8A priority Critical patent/EP3588284B1/en
Publication of WO2018161957A1 publication Critical patent/WO2018161957A1/zh
Priority to US16/566,000 priority patent/US11100901B2/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/377Details of the operation on graphic patterns for mixing or overlaying two or more graphic patterns
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • G09G2340/125Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels wherein one of the images is motion video

Definitions

  • the embodiments of the present application relate to the field of display technologies, for example, to a layer drawing control method, apparatus, and mobile terminal.
  • the display screen size of the mobile terminal is getting larger and larger, the loaded application and the functions that can be implemented are more and more abundant, and the user spends a lot of time every day to use the mobile terminal, so the display efficiency and power consumption of the mobile terminal are Etc. has become an important indicator to consider the performance of mobile terminals.
  • Display screens in mobile terminals are usually displayed in units of frames, and each display screen often contains multiple layers.
  • the general process of displaying the screen from generation to display is as follows. After the application draws the layer, the layer composition module synthesizes the layer drawn by the application into a display screen to be displayed, and then sends the display screen to the display screen. display. In the above process, the time and resources consumed are affected by various factors, which in turn affects the display efficiency and power consumption of the mobile terminal.
  • the embodiment of the present application provides a layer drawing control method, device, and mobile terminal, which can optimize a layer drawing control scheme in a mobile terminal.
  • the embodiment of the present application provides a layer drawing control method, including:
  • the embodiment of the present application provides a layer drawing control apparatus, including:
  • a layer attribute obtaining module configured to obtain layer attribute information of a current layer of a preset type drawn by the application
  • a drawing frame rate determining module configured to determine a corresponding target drawing frame rate according to the layer attribute information of the current layer
  • a layer drawing control module configured to control the application to draw the preset type of the layer to be drawn according to the target drawing frame rate.
  • an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor implements the following steps:
  • the embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for performing any of the above methods.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform any of the above methods.
  • the embodiment of the present application provides a layer drawing control method, device, and mobile terminal, which acquires layer attribute information of a current layer of a preset type drawn by an application, and determines a corresponding target drawing frame according to layer attribute information of the current layer. Rate, the control application draws the preset type of the layer to be drawn according to the target drawing frame rate.
  • the drawing frame rate of the preset type of the layer to be drawn can be determined according to the layer attribute of the preset type of the drawn layer, and the drawing of the layer can be reasonably controlled.
  • FIG. 1 is a schematic flow chart of a layer drawing control method provided by an embodiment.
  • FIG. 2 is a schematic diagram of a display process provided by an embodiment.
  • FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment.
  • FIG. 4 is a schematic flow chart of another layer drawing control method provided by an embodiment.
  • FIG. 5 is a schematic diagram of layer overlay provided by an embodiment.
  • FIG. 6 is a structural block diagram of a layer drawing control apparatus according to an embodiment.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment.
  • FIG. 1 is a schematic flowchart diagram of a layer drawing control method provided by an embodiment, which may be performed by a layer drawing control device, wherein the device may be implemented by software and/or hardware, and may be integrated into a mobile terminal. As shown in Figure 1, the method includes:
  • Step 101 Acquire layer attribute information of a current layer of a preset type drawn by an application.
  • the mobile terminal in the embodiment of the present application may be a device including a display screen, such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, or a digital multimedia player.
  • a display screen such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, or a digital multimedia player.
  • display screens are typically displayed in units of frames, each of which often contains multiple layers.
  • the application draws the layer, it can receive multiple layers drawn by the application through the relevant modules used to composite the layer.
  • the embodiment of the present application does not limit the operating system loaded in the mobile terminal, and may be an Android system, a Windows Phone (WP) operating system, or an Apple IOS system.
  • an Android system may be an Android system, a Windows Phone (WP) operating system, or an Apple IOS system.
  • WP Windows Phone
  • Apple IOS an Apple IOS system.
  • the embodiments of the present application are described in the following with a common Android system.
  • 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) contains one or more layers, and multiple applications APP1, APP2...APPN are designed according to their own applications (generally by the corresponding installation package).
  • the APK determines that each of the layers performs a render operation separately, and after the drawing operation is completed, each application sends all the layers drawn to the layer flinger that performs the layer composition operation.
  • all layers form a list of layers, defined as ListAll.
  • the layer composition module selects the visible layer from ListAll to form a visible layer list, which is defined as DisplayList.
  • the layer synthesis module finds an idle FB from three recyclable frame buffers (FBs) in the system, and on the idle FB, according to application configuration information, for example, which figure The layer should be bottomed, which layer should be topped, which area is visible, and which area is transparent.
  • FBs recyclable frame buffers
  • the picture to be displayed can be transferred to the display hardware (including the display controller and display) so that the picture to be displayed is finally displayed on the display.
  • the type of the display screen is not limited, and may be, for example, a 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, which is sent by the display controller to the CPU for generating a Vsync interrupt to control each layer drawing operation and layer composition operation. All need to be completed according to the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync.
  • the frequency of the Vsync signal is currently commonly 60 Hz. As shown in FIG.
  • the CPU forwards the first Vsync signal Vsync1 to each application, and each of the above applications responds to the user.
  • the touch operation is started on the display screen, and the drawing operation is started; after each of the above applications completes the drawing operation, multiple layers drawn by each application are obtained.
  • the CPU forwards the second Vsync signal Vsync2 to the layer synthesis module, and the layer synthesis module starts performing a layer synthesis operation to synthesize multiple layers drawn by each application.
  • the system starts to perform display refresh and finally displays the to-be-displayed screen on the display.
  • the frequency of the Vsync signal received by the application, the layer synthesis module, and the display screen is consistent, and is a fixed value set in advance.
  • drawing frame rate drawing frame rate
  • composite frame rate refresh rate
  • the drawing frame rate is a frame rate that triggers the layer synthesis module to perform layer composition after the drawing of the layer is completed, and can be understood as the number of layer frames drawn per unit time (for example, 1 second).
  • the drawing frame rate includes a drawing frame rate of the application and a drawing frame rate of the layer.
  • a video playback application generally includes three layers: a layer that displays video content, which can be defined as U1; Layers of the SurfaceView type, one for displaying the contents of the barrage, which can be defined as U2, and the other for displaying user interface (UI) controls (such as playback progress bar, volume control bar, and various control buttons) And advertising, can be defined as U3.
  • UI user interface
  • the drawing frame rate of the application is the number of times the drawing operation is performed in the application unit time, wherein at least one layer may be drawn when performing a drawing operation.
  • the drawing frame rate of the layer is the number of times the layer is triggered to be drawn in the unit time of the same number or name (such as U1, U2, or U3 in the previous section).
  • the drawing frame rate of the layer is optimized.
  • the composite frame rate is a frame rate in which a layer drawn by a plurality of applications is combined into one picture to be displayed, which can be understood as the number of picture frames synthesized per unit time.
  • the refresh rate is the frame rate at which the display screen of the mobile terminal is refreshed. In general, the display will refresh at a 60Hz refresh rate.
  • the “type” in the preset type in the embodiment of the present application may refer to an identifier (such as a number or a name) of the layer.
  • U1, U2, and U3 described above represent three types of layers.
  • the number of layers included in the application and the type and usage of each layer are set in the development stage, which can be determined by the setting of the APK.
  • the preset type in the embodiment of the present application may be based on a specific application. Specified.
  • the preset type can include some or all of the layer types included in the application.
  • the layer attribute information includes whether the cached data is empty, the horizontal or vertical screen mode, the attribute of the visible area, the attribute of the transparent area, whether the update area exists, the attribute of the update area, and at least the image information.
  • the corresponding cache data is stored in the buffer area corresponding to the layer. If the cache data is all 0, the cache data is empty, and the layer can be understood as a blank layer.
  • the display mode of the mobile terminal generally includes a horizontal screen mode and a vertical screen mode.
  • the layer also distinguishes between the horizontal screen and the vertical screen mode when drawing, and can determine a map according to a preset horizontal screen or vertical screen matching rule. Whether the horizontal or vertical mode of the layer matches other layers.
  • the application draws at a certain drawing frame rate.
  • the current layer can be compared with the previously drawn layer (which can be received within the preset duration). The layer is compared (for example, whether the gray value corresponding to each coordinate position is changed) to determine whether there is an update area in the current layer.
  • the specific value of the preset duration is not limited in the embodiment of the present application.
  • the attribute of the visible area includes at least one of the following: whether the visible area is empty (after the application draws a layer, the cached data corresponding to the layer includes coordinate information of the visible area in the layer.
  • the visible area is a rectangle. When the coordinates of the four vertices of the rectangle are the same, the visible area is considered to be empty, and the number, shape, size, and position of the visible area are included;
  • the attributes of the transparent area include at least the following: One: the number, shape, size, location, and relative position of the transparent area relative to the visible area of the other layer;
  • the attributes of the updated area include at least one of the following: the number, location, shape, size, and area of the updated area A ratio of screen areas;
  • the image information includes at least one of the following: whether the image is a solid color (including color data being all zeros), color gradation, grayscale, hue, contrast, brightness, saturation, transparency, and blur.
  • layer attributes are listed above. When used to determine the target drawing frame rate, it can be determined according to at least one of them. Of course, other layer attributes can be combined with the above listed items.
  • the layer attribute information of the current layer is obtained by the layer drawing module, and the layer attribute information of the current layer is obtained from the buffer buffer corresponding to the current layer.
  • Step 102 Determine a corresponding target drawing frame rate according to layer attribute information of the current layer.
  • the mapping between the layer attribute information of the preset type of the layer and the drawing frame rate may be pre-established, and the preset frame rate corresponding to the preset type is queried according to the layer attribute information of the current layer. Relationship, get the target drawing frame rate. For example, when it is determined that the layer content is not important according to the layer attribute information, the lower drawing frame rate may be corresponding; when the layer content is determined to be important according to the layer attribute information, the higher drawing frame rate may be corresponding.
  • the preset type is the U3, and the layer attribute information of the current layer of the U3 drawn by the application is obtained by querying the preset frame rate correspondence corresponding to U3, and the target drawing frame rate is 55 Hz.
  • Step 103 The control application draws a preset type of the layer to be drawn according to the target drawing frame rate.
  • the layer to be drawn is the layer behind the current layer that needs to continue to be drawn.
  • the target rendering frame rate can be the maximum rendering frame rate when the application draws the layer.
  • the control application draws a preset type of the layer to be drawn according to the target drawing frame rate, and may change the frequency of the reference signal (such as the Vsync signal sent to the application described above) sent to the application to the target drawing frame rate. You can also change the response mechanism of the application's layer drawing operation to the reference signal to limit the maximum drawing frame rate when the application draws the layer to within the target rendering frame rate.
  • the received 2n+1th signal response the received 2nth signal does not respond; for example, a set of n (such as 5) signals, the first type of preset number in each group ( For signals such as 1, 2, 4, 5), the signal of the second type of preset number (such as 4) does not respond.
  • n such as 5
  • the first type of preset number in each group For signals such as 1, 2, 4, 5
  • the signal of the second type of preset number (such as 4) does not respond.
  • the target drawing frame rate is 50 Hz
  • the next to-be-drawn layer of U3 is drawn at a drawing frame rate of 50 Hz. It can be implemented in two ways: first, change the frequency of the Vsync signal sent to the application to 50Hz; second, assume that the frequency of the Vsync signal is 60Hz, and control the application response in groups of six signals.
  • the signals of the five first-class preset numbers (such as 1, 2, 3, 4, and 5) in each group are used to draw the layer to be drawn of U3, and do not respond to a second type of preset number (such as 6). signal.
  • the layer drawing control method provided by the embodiment of the present application obtains the layer attribute information of the current layer of the preset type drawn by the application, determines the corresponding target drawing frame rate according to the layer attribute information of the current layer, and controls the application. Drawing the preset type of the layer to be drawn according to the target drawing frame rate.
  • the drawing frame rate of the preset type of the layer to be drawn can be determined according to the layer attribute of the preset type of the drawn layer, and the drawing of the layer can be reasonably controlled.
  • FIG. 4 is a schematic flowchart of another layer drawing control method provided by an embodiment, which is applicable to a situation in which system power consumption is saved by reducing a drawing frame rate, and the method includes the following steps:
  • Step 401 Acquire layer attribute information of a current layer of a preset type drawn by an application.
  • the preset type in the embodiment of the present application may be a layer type that is less important in display content included in the application.
  • the application is a video playback application, and the preset type can be U2 or U3.
  • Step 402 Determine whether the layer attribute information of the current layer meets the preset condition.
  • step 403 is performed; the layer attribute information of the current layer does not meet the preset.
  • step 405 is performed.
  • the preset condition may be determined according to the content or use of the preset type of layer for display. Taking the application as a video playback application as an example, the preset condition may include: 1. the cache data is empty; 2. the visible area is empty; 3. the video picture layer is a horizontal screen full screen mode and the current layer is a vertical screen. Mode; 4, the video picture layer is the vertical screen full screen mode and the current layer is the horizontal screen mode; 5, the video picture layer is the full screen mode and the visible or transparent area of the current layer is an arbitrary side length and the length of the screen side a rectangular shape; 6. The transparent area includes a visible area of the video picture layer; 7. At least one of the update areas does not exist in the current layer.
  • the video screen layer is U1, which is a layer for displaying videos such as movies, TV shows or programs that are being played by the video playing application.
  • the first type when U2 or U3 triggers the layer update, the APP will draw the corresponding layer, but the result may be that the cached data is all 0, that is, U2 or U3 does not actually contain the content to be displayed, which is blank.
  • the layer at this time reduces the drawing frame rate.
  • the second type when the visible area in the U2 or U3 layer is empty, it can be said that the coordinate information corresponding to the visible area corresponds to one point, not one area, and therefore does not include the content to be displayed, and the drawing frame rate is lowered at this time.
  • the horizontal or vertical screen mode of U2 and U3 should be the same as U1. If they are not the same but still display, the display will be disordered, and the viewing direction of the barrage, advertisement or UI control will be The viewing direction of the main video screen is inconsistent. At this time, the drawing frame rate is lowered, so that the application can process the abnormality in time.
  • the visible or transparent area of U2 or U3 is a rectangle whose arbitrarily side length is equal to the length of the side of the screen, where one is opposite to the other, and only one visible area or one transparent is included. Area, this setting is to exclude the UI control, because the UI control that needs to be displayed during video playback usually consists of multiple visible areas, the UI control needs to be retained, and the advertisement or barrage is usually a single rectangle, when this rectangle When the length or width is equal to the length or width of the screen, it will cause a large area of occlusion on the main video frame. At this time, the drawing frame rate is lowered, so that the application can process the exception in time.
  • FIG. 5 is a schematic diagram of layer overlay provided by an embodiment.
  • the first layer 501 (all visible regions) is superimposed with a second layer 502, and the second layer 502 includes a visible region 503. And the transparent area 504, and the transparent area 504 reveals part of the content in the first layer 501. If the first layer 501 is U1 and the second layer 502 is U2 or U3, when the transparent area of U2 or U3 contains the visible area of U1, the superposition method is generally unreasonable, and the drawing frame rate is lowered. To enable applications to handle exceptions in a timely manner.
  • the seventh type when U2 or U3 does not exist in the preset time period (such as 16ms), the content contained in U2 or U3 does not change, and the user may not need to view the content in U2 or U3 again. rate.
  • Step 403 Determine a corresponding target drawing frame rate according to layer attribute information of the current layer.
  • the target drawing frame rate is lower than the current drawing frame rate corresponding to the current layer.
  • the layer attribute information of the current layer of U2 or U3 satisfies the above preset condition, it may indicate that the layer contributes less to the final display picture, thereby reducing the drawing frame rate and reducing the drawing speed of the layer.
  • Step 404 The control application draws the preset type of the layer to be drawn according to the target drawing frame rate.
  • Step 405 The control application draws a preset type of the layer to be drawn according to the current drawing frame rate corresponding to the current layer.
  • the layer drawing control method provided by the embodiment of the present application may determine that the layer attribute of the preset type of the drawn layer satisfies the preset condition, and may determine that the frame rate is lower than the current drawing frame rate according to the layer attribute information of the layer.
  • the target draws the frame rate, and draws the preset type of the layer to be drawn with the target drawing frame rate, which can more reasonably control the drawing of the layer, thereby achieving the effect of improving display efficiency and saving power consumption of the mobile terminal.
  • the preset type may be used for displaying advertisement content and other content, that is, equivalent to U3 described above.
  • the preset condition may further include: the video screen layer is a horizontal screen display, the update area is a preset shape, and a ratio of an area of the update area of the current layer to a screen area is less than a preset ratio.
  • the preset ratio may be set according to actual conditions, for example, may be 1/3. One of them is opposite to multiple, meaning that the update area is only one.
  • the preset shape is generally a rectangle. According to preset conditions, it is possible to identify whether the current layer contains only advertisements, and when only the advertisements are included, reduce the drawing frame rate, thereby improving display efficiency and saving power consumption of the mobile terminal.
  • the method may further include: reducing the screen brightness, reducing the screen refresh rate, and reducing the to-be-drawn layer. Save system power by reducing resolution or reducing playback volume.
  • the brightness of the screen can be lowered by lowering the brightness value of the display, including setting the brightness of the display to a minimum (equivalent to turning off the screen).
  • the screen refresh rate can be reduced by reducing the frequency of the reference signal (such as the Vsync signal) used for screen refreshing; the screen refresh rate can also be reduced by changing the response mechanism of the screen refresh operation to the reference signal.
  • the resolution can be reduced in the process of drawing the layer to be drawn, and the resolution can be reduced by image processing related means.
  • FIG. 6 is a structural block diagram of a layer drawing control apparatus according to an embodiment of the present disclosure.
  • the device may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform layer drawing by performing a layer drawing control method. Take control.
  • the device includes:
  • the layer attribute obtaining module 601 is configured to obtain layer attribute information of a current layer of a preset type drawn by the application;
  • the drawing frame rate determining module 602 is configured to determine a corresponding target drawing frame rate according to the layer attribute information of the current layer;
  • the layer drawing control module 603 is configured to control the application to draw the preset type of the layer to be drawn according to the target drawing frame rate.
  • the layer drawing control device provided by the embodiment of the present application can determine the drawing frame rate of the preset type of the layer to be drawn according to the layer attribute of the preset type of the drawn layer, and can reasonably control the drawing of the layer. .
  • the layer attribute information includes whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of the update area, and at least an image information.
  • the attributes of the visible area include at least one of the following:
  • the visible area is empty, the number, shape, size and position of the visible area;
  • the attributes of the transparent area include at least one of the following:
  • the attributes of the update area include at least one of the following:
  • the image information includes at least one of the following:
  • the image is solid, gradation, grayscale, hue, contrast, brightness, saturation, transparency, and blur.
  • the drawing frame rate determining module is set to:
  • the application includes a video playing application
  • the preset conditions include:
  • the cached data is empty, the visible area is empty, the video screen layer is horizontal screen full screen mode, the current layer is vertical screen mode, the video picture layer is vertical screen full screen mode, and the current layer is horizontal screen mode, video picture layer
  • the full-screen mode and the visible or transparent area of the current layer are a rectangle having an arbitrary side length equal to the side length of the screen, the transparent area containing at least one of the visible area of the video picture layer, and the current layer having no update area.
  • the preset type is used for displaying advertisement content and other content
  • the preset condition further includes: the video screen layer is a horizontal screen display, the update area is a preset shape, and a ratio of an area of the update area of the current layer to a screen area is less than a preset ratio.
  • the device further includes:
  • control module configured to reduce the screen brightness, reduce the screen refresh rate, and reduce the resolution of the layer to be drawn while controlling the application to draw the preset type of the layer to be drawn according to the target drawing frame rate Rate or decrease the playback volume.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment.
  • the mobile terminal may include: a casing (not shown), a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), and a circuit board ( Not shown in the drawing) and power supply circuit (not shown).
  • CPU central processing unit
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment.
  • the mobile terminal may include: a casing (not shown), a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), and a circuit board ( Not shown in the drawing) and power supply circuit (not shown).
  • CPU central processing unit
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 702 and the memory 701 are disposed on the circuit board; and the power circuit is configured as a plurality of circuits or devices of the mobile terminal
  • the memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps :
  • the mobile terminal may further include: a peripheral interface 703, a radio frequency (RF) circuit 705, an audio circuit 706, a speaker 711, a power management chip 708, an input/output (I/O) subsystem 709, a touch screen 712, Other input/control devices 710 and external ports 704 are communicated via at least one communication bus or signal line 707.
  • RF radio frequency
  • I/O input/output
  • the illustrated mobile terminal 700 is merely one example of a mobile terminal, and that the mobile terminal 700 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 at least one signal processing and/or application specific integrated circuit.
  • the mobile terminal for layer drawing control provided by this embodiment is described below.
  • the mobile terminal takes a mobile phone as an example.
  • the memory 701 can be accessed by the CPU 702, the peripheral interface 703, etc., and the memory 701 can include a high speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or Other volatile solid-state storage devices.
  • a non-volatile memory such as at least one disk storage device, a flash memory device, or Other volatile solid-state storage devices.
  • Peripheral interface 703, which can connect the input and output peripherals of the device to CPU 702 and memory 701.
  • I/O subsystem 709 which can connect input and output peripherals on the device, such as touch screen 712 and other input/control devices 710, to peripheral interface 703.
  • I/O subsystem 709 can include display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710.
  • one or more input controllers 7092 receive electrical signals from other input/control devices 710 or transmit electrical signals to other input/control devices 710, and other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 7092 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 712 is an input interface and an output interface between the user mobile 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 7091 in I/O subsystem 709 receives an electrical signal from touch screen 712 or an electrical signal to touch screen 712.
  • Touch screen 712 detects contact on the touch screen, display controller 7091 converts the detected contact into interaction with a user interface object displayed on touch screen 712, ie, implements human-computer interaction, and the user interface object displayed on touch screen 712 can be operational
  • 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 705 is configured to establish communication between the mobile phone and the wireless network (ie, the network side) to implement data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like.
  • the RF circuit 705 receives and transmits an RF signal, also referred to as an electromagnetic signal, which converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal and communicates with the communication network and other devices through the electromagnetic signal.
  • 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 CODER-DECoder (CODEC) chipset, Subscriber Identity Module (SIM), etc.
  • CDDEC codec CODER-DECoder
  • the audio circuit 706 is arranged to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.
  • the speaker 711 is arranged to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.
  • the power management chip 708 is configured to supply power and power management to the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
  • the mobile terminal provided by the embodiment of the present application can determine the drawing frame rate of the preset type of the layer to be drawn according to the layer attribute of the preset type of the drawn layer, and can reasonably control the drawing of the layer.
  • the layer drawing control device and the mobile terminal provided in the foregoing embodiments may perform the layer drawing control method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for performing the method.
  • the layer drawing control method provided by any embodiment of the present application may perform the layer drawing control method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for performing the method.
  • An embodiment provides a computer readable storage medium storing computer executable instructions for performing any of the layer drawing control methods described above.
  • An embodiment provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform any of the above layer drawing control methods.
  • the present application provides a layer drawing control method and device, and a mobile terminal, which can determine a drawing frame rate of a preset type of a layer to be drawn according to a layer property of a preset type of the drawn layer, and can reasonably control the drawing. Drawing of layers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Generation (AREA)

Abstract

一种图层绘制控制方法、装置及移动终端,该方法包括:获取应用程序绘制的预设类型的当前图层的图层属性信息(101,401);根据当前图层的图层属性信息确定相应的目标绘制帧率(102,403);控制应用程序按照所述目标绘制帧率绘制预设类型的待绘制图层(103,404)。

Description

图层绘制控制方法、装置及移动终端 技术领域
本申请实施例涉及显示技术领域,例如涉及一种图层绘制控制方法、装置及移动终端。
背景技术
移动终端的显示屏幕尺寸越来越大,所装载的应用程序以及所能够实现的功能也越来越丰富,用户每天会花费大量的时间来使用移动终端,所以移动终端的显示效率以及耗电情况等成为考量移动终端工作性能的重要指标。
移动终端中的显示画面通常以帧为单位进行显示,每个显示画面往往包含多个图层。显示画面从生成到显示的大致过程如下,当应用程序绘制完图层后,由图层合成模块将应用程序所绘制的图层合成为待显示的显示画面,再将显示画面送至显示屏进行显示。在上述过程中,所消耗的时间及资源会受到多种因素的影响,进而影响到移动终端的显示效率及功耗。
发明内容
本申请实施例提供一种图层绘制控制方法、装置及移动终端,可以优化移动终端中的图层绘制控制方案。
第一方面,本申请实施例提供了一种图层绘制控制方法,包括:
获取应用程序绘制的预设类型的当前图层的图层属性信息;
根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
第二方面,本申请实施例提供了一种图层绘制控制装置,包括:
图层属性获取模块,设置为获取应用程序绘制的预设类型的当前图层的图层属性信息;
绘制帧率确定模块,设置为根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
图层绘制控制模块,设置为控制所述应用程序按照所述目标绘制帧率绘制 所述预设类型的待绘制图层。
第三方面,本申请实施例提供了一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
获取应用程序绘制的预设类型的当前图层的图层属性信息;
根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一方法。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。
本申请实施例提供了图层绘制控制方法、装置及移动终端,获取应用程序绘制的预设类型的当前图层的图层属性信息,根据当前图层的图层属性信息确定相应的目标绘制帧率,控制应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。通过采用上述技术方案,可根据预设类型的已绘制图层的图层属性来确定该预设类型的待绘制图层的绘制帧率,能够合理地控制图层的绘制。
附图说明
图1为一实施例提供的一种图层绘制控制方法的流程示意图。
图2为一实施例提供的一种显示过程示意图。
图3为一实施例提供的Vsync显示刷新机制的示意图。
图4为一实施例提供的另一种图层绘制控制方法的流程示意图。
图5为一实施例提供的一种图层叠加示意图。
图6为一实施例提供的一种图层绘制控制装置的结构框图。
图7为一实施例提供的一种移动终端的结构示意图。
具体实施方式
下面结合附图并通过具体实施方式来说明本申请的技术方案。可以理解的 是,此处所描述的实施例仅用于解释本申请,而非对本申请的限定。为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将多个步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,每个步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
图1为申请一实施例提供的一种图层绘制控制方法的流程示意图,该方法可以由图层绘制控制装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:
步骤101、获取应用程序绘制的预设类型的当前图层的图层属性信息。
示例性的,本申请实施例中的移动终端可为手机、智能手表、平板电脑、游戏机、个人数字助理或者数字多媒体播放器等包含显示屏的设备。
示例性的,显示画面通常以帧为单位进行显示,每个显示画面往往包含多个图层。当应用程序绘制完图层后,可通过用于对图层进行合成的相关模块来接收应用程序绘制的多个图层。
本申请实施例对移动终端中装载的操作系统不做限定,可以是安卓(Android)系统、手机窗口(Windows Phone,WP)操作系统或苹果公司IOS系统等等。示例性的,为了便于说明,本申请实施例以常见的Android系统进行后续的说明。
下面对Android系统中显示画面从生成到显示的过程进行简单的说明。图2为本申请实施例提供的一种显示过程示意图。
首先,在应用(Application)层,每个应用程序(以下简称应用或APP)包含1个或多个图层,多个应用APP1、APP2…APPN按照自己的应用设计情况(一般由对应的安装包APK决定)各自单独执行图层绘制(Render)操作,并在绘制操作处理完成后,每个应用将所绘制的所有图层发送给执行图层合成操作的 图层合成模块(Surface flinger)。
其次,在应用框架(Framework)层,所有图层(包括可见图层和不可见图层)组成一个图层列表,定义为ListAll。图层合成模块从ListAll中挑选出可见图层组成可见图层列表,定义为DisplayList。随后,图层合成模块从系统中三个可循环使用的帧缓冲器(Frame Buffer,简称FB)中,找出一个空闲的FB,并在该空闲的FB上,根据应用配置信息,例如哪个图层应该置底、哪个图层应该置顶、哪个区域为可见区以及哪个区域为透明区等等,通过合成(Compose)操作,将DisplayList中包含的图层叠加在一起,得到最终的待显示画面。
最后,在内核(Kernel)层,可以将待显示画面传输给显示硬件(包括显示控制器和显示屏),使待显示画面最终显示在显示屏上。这里对显示屏的类型不做限定,例如可以是液晶显示器(Liquid Crystal Display,LCD)。
另外,Android系统在显示刷新的过程中引入了同步(Vsync)刷新机制。图3为本申请实施例提供的Vsync显示刷新机制的示意图。Vsync刷新机制其实就是在整个显示流程中,插入“心跳”即系统同步(Vsync)信号,由显示控制器发送给CPU,用于产生Vsync中断,以控制每次图层绘制操作和图层合成操作都需要按照心跳来完成,从而将整个显示过程中的关键步骤都纳入到Vsync的统一管理机制。Vsync信号的频率目前常见为60Hz。如图3所示,假设Vsync信号周期为T,不考虑信号的传输延迟,第一个Vsync信号Vsync1到达CPU后,CPU向每个应用转发该第一个Vsync信号Vsync1,上述每个应用响应用户在显示屏上的触摸滑动等操作,开始执行绘制操作;在上述每个应用完成绘制操作后,得到每个应用所绘制的多个图层。第二个Vsync信号Vsync2到达CPU后,CPU向图层合成模块转发该第二个Vsync信号Vsync2,图层合成模块开始执行图层合成操作,将每个应用所绘制的多个图层进行合成,生成待显示画面。第三个Vsync信号Vsync3到达CPU后,系统开始执行显示刷新,并将该待显示画面最终显示在显示屏上。由上述描述可知,应用程序、图层合成模块和显示屏接收到的Vsync信号的频率是一致的,且是预先设置好的固定值。
在移动终端图层绘制、合成和刷新显示的流程中,存在3种帧率:绘制帧 率、合成帧率和刷新率。
其中,绘制帧率为图层绘制完成后,触发图层合成模块进行图层合成的帧率,可以理解为单位时间(例如,1秒钟)绘制的图层帧数。所述绘制帧率包括应用程序的绘制帧率和图层的绘制帧率。系统中运行的应用程序可能有多个,每个应用程序可能包括多个图层,例如,视频播放应用程序下一般包括三个图层:一个显示视频内容的图层,可定义为U1;两个SurfaceView类型的图层,一个用于显示弹幕内容,可定义为U2,另一个用于显示用户界面(User Interface,UI)控件(如播放进度条、音量控制条以及多种控制按钮等)和广告,可定义为U3。所述应用程序的绘制帧率为应用程序单位时间内执行绘制操作的次数,其中,执行一次绘制操作时可能绘制了至少一个图层。所述图层的绘制帧率为同一编号或名称(如前面的U1、U2或U3)的图层单位时间内被触发绘制的次数。本申请实施例中针对图层的绘制帧率进行优化。
合成帧率为把多个应用程序绘制的图层合成为一个待显示画面的帧率,可以理解为单位时间合成的画面帧数。
刷新率为移动终端显示屏画面刷新的帧率。一般的,显示屏会以60Hz的刷新率刷新。
示例性的,本申请实施例中的预设类型中的“类型”可以指图层的标识(如编号或名称),例如,前面所述的U1、U2及U3代表三个类型的图层。一般的,应用程序包含的图层的数量以及每个图层的类型及用途在开发阶段已设定好,可由APK的设置决定,本申请实施例中的预设类型可以根据具体的应用程序来指定。预设类型可包括应用程序中包含的部分或全部的图层类型。
示例性的,所述图层属性信息包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域以及更新区域的属性、以及图像信息中的至少一个。对于一个图层来说,其对应的缓存数据存储在该图层对应的缓存区域内,若缓存数据为全0,则表示缓存数据为空,此时该图层可理解为一个空白的图层。移动终端的显示模式一般包括横屏模式和竖屏模式,相应的,图层在绘制时也会进行横屏和竖屏模式的区分,可按照预设的横屏或竖屏匹配规则确定一个图层的横屏或竖屏模式是否与其他图层匹配,例如,该 图层为竖屏模式,而其他大多数图层或者某个重要程度较高的图层为横屏模式,则确定不匹配。对于同一名称或编号的图层,应用程序会以一定的绘制帧率进行绘制,对于接收到的当前图层,可将当前图层与之前绘制的图层(可以是预设时长内接收到的图层)进行比较(例如比较每个坐标位置对应的灰度值是否发生变化)来判断当前图层是否存在更新区域,本申请实施例对预设时长的具体数值不做限定。
可选的,所述可见区域的属性包括以下至少一项:可见区域是否为空(应用程序在绘制完一个图层后,该图层对应的缓存数据中包括图层中的可见区域的坐标信息,一般可见区域为一个矩形,当这个矩形的四个顶点的坐标均相同时,则可认为可见区域为空),可见区域的数量、形状、尺寸和位置;所述透明区域的属性包括以下至少一项:透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;所述更新区域的属性包括以下至少一项:更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;所述图像信息包括以下至少一项:图像是否为纯色(包括颜色数据为全0)、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度。
以上列举了很多种图层属性,在用于确定目标绘制帧率时,可根据其中的至少一种来确定,当然,还可以有其他图层属性与上述列举的项目进行组合。
可选的,可通过图层绘制模块获取所述当前图层的图层属性信息,也可从所述当前图层对应的缓冲器buffer中获取所述当前图层的图层属性信息。
步骤102、根据当前图层的图层属性信息确定相应的目标绘制帧率。
示例性的,可预先建立所述预设类型的图层的图层属性信息和绘制帧率的对应关系,根据当前图层的图层属性信息查询所述预设类型对应的预设帧率对应关系,得到目标绘制帧率。例如,当根据图层属性信息确定图层内容不重要时,可对应较低的绘制帧率;当根据图层属性信息确定图层内容比较重要时,可对应较高的绘制帧率。
例如,所述预设类型为上述U3,应用程序绘制的U3的当前图层的图层属性信息经查询U3对应的预设帧率对应关系后,得到目标绘制帧率为55Hz。
步骤103、控制应用程序按照目标绘制帧率绘制预设类型的待绘制图层。
其中,待绘制图层即当前图层后面的需要继续绘制的图层。示例性的,目标绘制帧率可以是应用程序绘制图层时的最大绘制帧率。控制应用程序按照目标绘制帧率绘制预设类型的待绘制图层可以是将发送至应用程序的参考信号(如上文所述的发送给应用程序的Vsync信号)的频率更改为目标绘制帧率,也可变更应用程序的图层绘制操作对参考信号的响应机制来将应用程序绘制图层时的最大绘制帧率限制在目标绘制帧率以内。例如,接收到的第2n+1个信号响应,接收到的第2n个信号不响应;又如,以n个(如5个)信号为一组,每组中的第一类预设编号(如1,2,4,5)的信号响应,第二类预设编号(如4)的信号不响应。
示例性的,如上述举例,目标绘制帧率为50Hz,则以50Hz的绘制帧率来绘制U3的接下来的待绘制图层。可通过以下两种方式实现:第一种,将发送至应用程序的Vsync信号的频率更改为50Hz;第二种,假设Vsync信号的频率为60Hz,以6个信号为一组,控制应用程序响应每组中的5个第一类预设编号(如1,2,3,4和5)的信号来绘制U3的待绘制图层,不响应1个第二类预设编号(如6)的信号。
本申请实施例提供的图层绘制控制方法,获取应用程序绘制的预设类型的当前图层的图层属性信息,根据当前图层的图层属性信息确定相应的目标绘制帧率,控制应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。通过采用上述技术方案,可根据预设类型的已绘制图层的图层属性来确定该预设类型的待绘制图层的绘制帧率,能够合理地控制图层的绘制。
图4为一实施例提供的另一种图层绘制控制方法的流程示意图,适用于通过降低绘制帧率来节省系统功耗的情况,该方法包括如下步骤:
步骤401、获取应用程序绘制的预设类型的当前图层的图层属性信息。
示例性的,本申请实施例中的预设类型可以是应用程序中包含的显示内容重要性较低的图层类型。例如,应用程序为视频播放应用,预设类型可以是U2或U3。
步骤402、判断当前图层的图层属性信息是否符合预设条件,在当前图层的图层属性信息符合预设条件时,执行步骤403;在当前图层的图层属性信息不符 合预设条件时,执行步骤405。
示例性的,预设条件可以根据预设类型的图层用于显示的内容或者用途来确定。以应用程序为视频播放应用为例,所述预设条件可包括:1、缓存数据为空;2、可见区域为空;3、视频画面图层为横屏全屏模式且当前图层为竖屏模式;4、视频画面图层为竖屏全屏模式且当前图层为横屏模式;5、视频画面图层为全屏模式且当前图层的可见区域或透明区域为一个任意边长与屏幕边长相等的矩形;6、透明区域包含视频画面图层的可见区域;7、当前图层不存在更新区域中的至少一个。
其中,视频画面图层为U1,是用来显示视频播放应用正在播放的电影、电视剧或节目等视频的图层。
下面对几种预设条件进行说明。
第1种,当U2或U3触发图层更新时,APP会进行相应的图层绘制,但可能绘制结果是缓存数据为全0,即U2或U3中实际并未包含需要显示的内容,是空白的图层,此时降低绘制帧率。
第2种,当U2或U3图层中可见区域为空时,可说明可见区域对应的坐标信息对应一个点,而不是一个区域,因此也未包含需要显示的内容,此时降低绘制帧率。
对于第3种和第4种,U2及U3的横屏或竖屏模式应该与U1相同,若不相同但仍然进行显示,会使显示画面出现错乱,弹幕、广告或UI控件的观看方向与主视频画面的观看方向不一致,此时降低绘制帧率,使应用程序能够及时处理异常。
第5种,当U1为全屏模式,U2或U3的可见区域或透明区域为一个任意边长与屏幕边长相等的矩形时,这里的一个与多个相对,指仅包含一个可见区域或一个透明区域,这样设置是为了将UI控件排除,因为在视频播放过程中需要显示的UI控件通常由多个可见区域组成,需要将UI控件保留,而广告或者弹幕通常为一个单一矩形,当这个矩形的长或宽等于屏幕的长或宽时,将对主视频画面造成较大面积的遮挡,此时降低绘制帧率,使应用程序能够及时处理异常。
第6种,图5为一实施例提供的一种图层叠加示意图,第一图层501(全部为可见区域)的上面叠加了第二图层502,第二图层502包含了可见区域503和透明区域504,而透明区域504内透出了第一图层501中的部分内容。若第一图层501为U1,第二图层502为U2或U3,那么U2或U3的透明区域包含了U1的可见区域时,这种叠加方式一般是不合理的,此时降低绘制帧率,使应用程序能够及时处理异常。
第7种,当U2或U3在预设时长内(如16ms)不存在更新区域时,U2或U3包含的内容未发生变化,可能用户无需再查看U2或U3中的内容,此时降低绘制帧率。
步骤403、根据当前图层的图层属性信息确定相应的目标绘制帧率。
其中,所述目标绘制帧率低于所述当前图层对应的当前绘制帧率。
当U2或U3的当前图层的图层属性信息满足上述预设条件时,可说明该图层对最终的显示画面的贡献较小,因此可降低绘制帧率,达到降低图层绘制速度的目的,同时,还能够减少图层合成模块需要合成的图层数量,实现提升显示效率并节省移动终端的功耗的效果。
步骤404、控制应用程序按照目标绘制帧率绘制所述预设类型的待绘制图层。
步骤405、控制应用程序按照当前图层对应的当前绘制帧率绘制预设类型的待绘制图层。
本申请实施例提供的图层绘制控制方法,当预设类型的已绘制图层的图层属性满足预设条件时,可根据该图层的图层属性信息来确定比当前绘制帧率更低的目标绘制帧率,并以该目标绘制帧率来绘制预设类型的待绘制图层,能够更加合理地控制图层的绘制,实现提升显示效率并节省移动终端的功耗的效果。
在上述技术方案的基础上,所述预设类型可以为用于显示广告内容和其他内容,即相当于上述的U3。所述预设条件还可以包括:视频画面图层为横屏显示、更新区域为预设形状且所述当前图层的更新区域的面积与屏幕面积的比值小于预设比值。示例性的,所述预设比值可根据实际情况进行设定,例如可以是1/3。其中的一个与多个相对,指更新区域仅为一个。所述预设形状一般为矩 形。可根据预设条件识别出当前图层中是否仅包含广告,当仅包含广告时,降低绘制帧率,进而提升显示效率并节省移动终端的功耗。
在上述技术方案的基础上,在控制应用程序按照目标绘制帧率绘制预设类型的待绘制图层的同时,还可以包括:降低屏幕亮度、降低屏幕刷新率、降低所述待绘制图层的分辨率或减小播放音量,可节省系统功耗。
示例性的,可通过调低显示屏的亮度值来降低屏幕亮度,包括将显示屏的亮度值调到最低(相当于熄灭屏幕)。可通过降低用于屏幕刷新的参考信号(如Vsync信号)的频率来实现降低屏幕刷新率;也可通过变更屏幕刷新操作对参考信号的响应机制来实现降低屏幕刷新率。可在绘制待绘制图层的过程中降低分辨率,调低分辨率可通过图像处理相关手段实现。
图6为本申请实施例提供的一种图层绘制控制装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行图层绘制控制方法来对图层绘制进行控制。如图6所示,该装置包括:
图层属性获取模块601,设置为获取应用程序绘制的预设类型的当前图层的图层属性信息;
绘制帧率确定模块602,设置为根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
图层绘制控制模块603,设置为控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
本申请实施例提供的图层绘制控制装置,可根据预设类型的已绘制图层的图层属性来确定该预设类型的待绘制图层的绘制帧率,能够合理地控制图层的绘制。
可选的,所述图层属性信息包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域以及更新区域的属性、以及图像信息中的至少一个。
可选的,所述可见区域的属性包括以下至少一项:
可见区域是否为空,可见区域的数量、形状、尺寸和位置;
所述透明区域的属性包括以下至少一项:
透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;
所述更新区域的属性包括以下至少一项:
更新区域的数量、位置、形状、尺寸以及更新区域的面积与屏幕面积的比值;
所述图像信息包括以下至少一项:
图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度。
可选的,所述绘制帧率确定模块是设置为:
当所述当前图层的图层属性信息符合预设条件时,确定相应的目标绘制帧率,其中,所述目标绘制帧率低于所述当前图层对应的当前绘制帧率。
可选的,所述应用程序包括视频播放应用,所述预设条件包括:
缓存数据为空、可见区域为空、视频画面图层为横屏全屏模式且当前图层为竖屏模式、视频画面图层为竖屏全屏模式且当前图层为横屏模式、视频画面图层为全屏模式且当前图层的可见区域或透明区域为一个任意边长与屏幕边长相等的矩形、透明区域包含视频画面图层的可见区域以及当前图层不存在更新区域中的至少一个。
可选的,所述预设类型为用于显示广告内容和其他内容;
所述预设条件还包括:视频画面图层为横屏显示、更新区域为预设形状且所述当前图层的更新区域的面积与屏幕面积的比值小于预设比值。
可选的,所述装置还包括:
控制模块,设置为在控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层的同时,降低屏幕亮度、降低屏幕刷新率、降低所述待绘制图层的分辨率或减小播放音量。
本申请实施例提供了一种移动终端,该移动终端中可集成本申请实施例提供的图层绘制控制装置。图7为一实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端可以包括:壳体(图中未示出)、存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电 路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,设置为为所述移动终端的多个电路或器件供电;所述存储器701,设置为存储可执行程序代码;所述CPU702通过读取所述存储器701中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:
获取应用程序绘制的预设类型的当前图层的图层属性信息;
根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
所述移动终端还可以包括:外设接口703、射频(Radio Frequency,RF)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、触摸屏712、其他输入/控制设备710以及外部端口704,这些部件通过至少一个通信总线或信号线707来通信。
应该理解的是,图示移动终端700仅仅是移动终端的一个范例,并且移动终端700可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的多种部件可以在包括至少一个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面就本实施例提供的用于图层绘制控制的移动终端进行描述,该移动终端以手机为例。
存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口703,所述外设接口703可以将设备的输入和输出外设连接到CPU702和存储器701。
I/O子系统709,所述I/O子系统709可以将设备上的输入输出外设,例如触摸屏712和其他输入/控制设备710,连接到外设接口703。I/O子系统709可以包括显示控制器7091和用于控制其他输入/控制设备710的一个或多个输入 控制器7092。其中,一个或多个输入控制器7092从其他输入/控制设备710接收电信号或者向其他输入/控制设备710发送电信号,其他输入/控制设备710可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器7092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
触摸屏712,所述触摸屏712是用户移动终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。
I/O子系统709中的显示控制器7091从触摸屏712接收电信号或者向触摸屏712发送电信号。触摸屏712检测触摸屏上的接触,显示控制器7091将检测到的接触转换为与显示在触摸屏712上的用户界面对象的交互,即实现人机交互,显示在触摸屏712上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路705,设置为建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。RF电路705接收并发送RF信号,RF信号也称为电磁信号,RF电路705将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路705可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编译码器(COder-DECoder,CODEC)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。
音频电路706,设置为从外设接口703接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器711。
扬声器711,设置为将手机通过RF电路705从无线网络接收的语音信号,还原为声音并向用户播放该声音。
电源管理芯片708,设置为CPU702、I/O子系统及外设接口所连接的硬件进行供电及电源管理。
本申请实施例提供的移动终端,可根据预设类型的已绘制图层的图层属性 来确定该预设类型的待绘制图层的绘制帧率,能够合理地控制图层的绘制。
上述实施例中提供的图层绘制控制装置及移动终端可执行本申请任意实施例所提供的图层绘制控制方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的图层绘制控制方法。
一实施例提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一图层绘制控制方法。
一实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种图层绘制控制方法。
工业实用性
本申请提供了图层绘制控制方法、装置及移动终端,可根据预设类型的已绘制图层的图层属性来确定该预设类型的待绘制图层的绘制帧率,能够合理地控制图层的绘制。

Claims (16)

  1. 一种图层绘制控制方法,包括:
    获取应用程序绘制的预设类型的当前图层的图层属性信息;
    根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
    控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
  2. 根据权利要求1所述的方法,其中,所述图层属性信息包括:缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域以及更新区域的属性、以及图像信息中的至少一个。
  3. 根据权利要求2所述的方法,其中,所述可见区域的属性包括以下至少一项:
    可见区域是否为空,可见区域的数量、形状、尺寸和位置;
    所述透明区域的属性包括以下至少一项:
    透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;
    所述更新区域的属性包括以下至少一项:
    更新区域的数量、位置、形状、尺寸以及更新区域的面积与屏幕面积的比值;
    所述图像信息包括以下至少一项:
    图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度。
  4. 根据权利要求1所述的方法,其中,所述根据所述当前图层的图层属性信息确定相应的目标绘制帧率,包括:
    当所述当前图层的图层属性信息符合预设条件时,确定相应的目标绘制帧率,其中,所述目标绘制帧率低于所述当前图层对应的当前绘制帧率。
  5. 根据权利要求4所述的方法,其中,所述应用程序包括视频播放应用,所述预设条件包括:
    缓存数据为空、可见区域为空、视频画面图层为横屏全屏模式且当前图层为竖屏模式、视频画面图层为竖屏全屏模式且当前图层为横屏模式、视频画面图层为全屏模式且当前图层的可见区域或透明区域为一个任意边长与屏幕边长相等的矩形、透明区域包含视频画面图层的可见区域、以及当前图层不存在更新区域中的至少一个。
  6. 根据权利要求5所述的方法,其中,所述预设类型为用于显示广告内容和其他内容;
    所述预设条件还包括:视频画面图层为横屏显示、更新区域为预设形状且所述当前图层的更新区域的面积与屏幕面积的比值小于预设比值。
  7. 根据权利要求4-6任一所述的方法,其中,在控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层的同时,还包括:
    降低屏幕亮度、降低屏幕刷新率、降低所述待绘制图层的分辨率或减小播放音量。
  8. 一种图层绘制控制装置,包括:
    图层属性获取模块,设置为获取应用程序绘制的预设类型的当前图层的图层属性信息;
    绘制帧率确定模块,设置为根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
    图层绘制控制模块,设置为控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
  9. 根据权利要求8所述的装置,其中,所述图层属性信息包括:缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域以及更新区域的属性、以及图像信息中的至少一个。
  10. 根据权利要求9所述的装置,其中,所述可见区域的属性包括以下至少一项:
    可见区域是否为空,可见区域的数量、形状、尺寸和位置;
    所述透明区域的属性包括以下至少一项:
    透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;
    所述更新区域的属性包括以下至少一项:
    更新区域的数量、位置、形状、尺寸以及更新区域的面积与屏幕面积的比值;
    所述图像信息包括以下至少一项:
    图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度。
  11. 根据权利要求8所述的装置,其中,所述绘制帧率确定模块是设置为:
    当所述当前图层的图层属性信息符合预设条件时,确定相应的目标绘制帧率,其中,所述目标绘制帧率低于所述当前图层对应的当前绘制帧率。
  12. 根据权利要求11所述的装置,其中,所述应用程序包括视频播放应用,所述预设条件包括:
    缓存数据为空、可见区域为空、视频画面图层为横屏全屏模式且当前图层为竖屏模式、视频画面图层为竖屏全屏模式且当前图层为横屏模式、视频画面图层为全屏模式且当前图层的可见区域或透明区域为一个任意边长与屏幕边长相等的矩形、透明区域包含视频画面图层的可见区域以及当前图层不存在更新区域中的至少一个。
  13. 根据权利要求12所述的装置,其中,所述预设类型为用于显示广告内容和其他内容;
    所述预设条件还包括:视频画面图层为横屏显示、更新区域为预设形状且所述当前图层的更新区域的面积与屏幕面积的比值小于预设比值。
  14. 根据权利要求11-13任一所述的装置,其中,还包括:
    控制模块,设置为在控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层的同时,低屏幕亮度、降低屏幕刷新率、降低所述待绘制图层的分辨率或减小播放音量。
  15. 一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
    获取应用程序绘制的预设类型的当前图层的图层属性信息;
    根据所述当前图层的图层属性信息确定相应的目标绘制帧率;
    控制所述应用程序按照所述目标绘制帧率绘制所述预设类型的待绘制图层。
  16. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-7中任一项的方法。
PCT/CN2018/078564 2017-03-10 2018-03-09 图层绘制控制方法、装置及移动终端 WO2018161957A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18764104.8A EP3588284B1 (en) 2017-03-10 2018-03-09 Method and device for layer drawing control, and mobile terminal
US16/566,000 US11100901B2 (en) 2017-03-10 2019-09-10 Method for controlling rendering of layers, terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142488.5 2017-03-10
CN201710142488.5A CN106933587B (zh) 2017-03-10 2017-03-10 一种图层绘制控制方法、装置及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/566,000 Continuation US11100901B2 (en) 2017-03-10 2019-09-10 Method for controlling rendering of layers, terminal, and storage medium

Publications (1)

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

Family

ID=59433082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078564 WO2018161957A1 (zh) 2017-03-10 2018-03-09 图层绘制控制方法、装置及移动终端

Country Status (4)

Country Link
US (1) US11100901B2 (zh)
EP (1) EP3588284B1 (zh)
CN (1) CN106933587B (zh)
WO (1) WO2018161957A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3971715A4 (en) * 2019-07-03 2022-07-06 Huawei Technologies Co., Ltd. IMAGE PROCESSING METHOD BASED ON VERTICAL SYNCHRONIZATION SIGNALS, AND ELECTRONIC EQUIPMENT
WO2023109184A1 (zh) * 2021-12-16 2023-06-22 荣耀终端有限公司 刷新率的设置方法及相关设备

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933587B (zh) * 2017-03-10 2019-12-31 Oppo广东移动通信有限公司 一种图层绘制控制方法、装置及移动终端
CN108549663B (zh) * 2018-03-20 2021-12-14 厦门星罗网络科技有限公司 视频相册的绘制方法及装置
CN109905614B (zh) * 2019-01-23 2021-03-02 深圳市奥拓电子股份有限公司 视频控制器及其带载控制方法、显示系统和存储介质
CN109992348A (zh) * 2019-04-10 2019-07-09 Oppo广东移动通信有限公司 界面显示方法、装置、终端及存储介质
CN110209451A (zh) * 2019-05-28 2019-09-06 南京南方电讯有限公司 一种基于不同显示引擎叠加的跑马灯显示系统和方法
CN110493456B (zh) * 2019-07-29 2020-10-30 创新先进技术有限公司 一种动画播放方法、装置、终端设备及服务器
CN112351326B (zh) * 2019-08-09 2022-08-19 荣耀终端有限公司 一种基于垂直同步信号的图像处理方法及电子设备
CN113766324B (zh) * 2020-06-02 2022-11-04 深圳市万普拉斯科技有限公司 视频播放的控制方法、装置、计算机设备和存储介质
CN111796825B (zh) * 2020-06-30 2024-02-09 北京字节跳动网络技术有限公司 一种弹幕的绘制方法、装置、设备和存储介质
CN113805983B (zh) * 2020-09-08 2022-12-02 荣耀终端有限公司 调整窗口刷新率的方法及电子设备
CN114943791A (zh) * 2021-02-08 2022-08-26 北京小米移动软件有限公司 动画播放方法、装置、设备及存储介质
CN112954459A (zh) * 2021-03-04 2021-06-11 网易(杭州)网络有限公司 一种视频数据的处理方法和装置
CN116560771A (zh) * 2021-03-24 2023-08-08 华为技术有限公司 一种应用执行绘制操作的方法及电子设备
CN115904303A (zh) * 2021-05-21 2023-04-04 荣耀终端有限公司 一种播放声音的方法及设备
CN113610699A (zh) * 2021-07-19 2021-11-05 广州致远电子有限公司 一种硬件图层渲染调度方法、装置、设备及储存介质
CN113805760A (zh) * 2021-09-24 2021-12-17 维沃移动通信有限公司 界面显示方法及装置
CN116077940B (zh) * 2022-05-18 2023-10-20 荣耀终端有限公司 游戏应用中的绘图处理方法和相关装置
CN116095382B (zh) * 2022-06-02 2023-10-31 荣耀终端有限公司 弹幕识别方法和相关装置
CN116048907A (zh) * 2022-06-24 2023-05-02 荣耀终端有限公司 后台绘制的检测方法、电子设备及计算机可读存储介质
CN117991940A (zh) * 2022-11-04 2024-05-07 荣耀终端有限公司 一种图像绘制方法及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2507482A (en) * 2012-10-25 2014-05-07 Canon Kk Progressive Transmission of Still Images to a Video Display System
CN104731543A (zh) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 一种屏幕刷新率的显示方法和装置
CN105338410A (zh) * 2014-07-07 2016-02-17 乐视网信息技术(北京)股份有限公司 视频的弹幕显示方法及装置
CN105739670A (zh) * 2016-02-01 2016-07-06 广东欧珀移动通信有限公司 用于移动终端的显示方法、装置和移动终端
CN106327540A (zh) * 2015-07-03 2017-01-11 高德软件有限公司 基于OpenGL View的控制方法、装置及终端
CN106933587A (zh) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 一种图层绘制控制方法、装置及移动终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156999B (zh) * 2010-02-11 2015-06-10 腾讯科技(深圳)有限公司 一种用户界面的生成方法和装置
CN101980154B (zh) * 2010-11-02 2014-01-08 深圳市融创天下科技股份有限公司 一种界面控件树的创建和绘制的方法、系统及移动终端
CN105094272A (zh) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 一种终端的硬件刷新率的调节方法及装置
US9813654B2 (en) * 2014-08-19 2017-11-07 Sony Corporation Method and system for transmitting data
CN104822077B (zh) * 2014-12-04 2019-01-08 腾讯科技(北京)有限公司 客户端的运行方法及客户端
US9591254B2 (en) * 2015-03-26 2017-03-07 Qualcomm Incorporated Device and method for processing video data
US9704270B1 (en) * 2015-07-30 2017-07-11 Teradici Corporation Method and apparatus for rasterizing and encoding vector graphics
US20170200315A1 (en) * 2016-01-07 2017-07-13 Brendan Lockhart Live stereoscopic panoramic virtual reality streaming system
CN106027942A (zh) * 2016-05-20 2016-10-12 广东欧珀移动通信有限公司 一种帧率控制方法及装置
CN106210853B (zh) 2016-07-08 2019-04-09 上海幻电信息科技有限公司 弹幕显示系统及其cpu消耗控制方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2507482A (en) * 2012-10-25 2014-05-07 Canon Kk Progressive Transmission of Still Images to a Video Display System
CN105338410A (zh) * 2014-07-07 2016-02-17 乐视网信息技术(北京)股份有限公司 视频的弹幕显示方法及装置
CN104731543A (zh) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 一种屏幕刷新率的显示方法和装置
CN106327540A (zh) * 2015-07-03 2017-01-11 高德软件有限公司 基于OpenGL View的控制方法、装置及终端
CN105739670A (zh) * 2016-02-01 2016-07-06 广东欧珀移动通信有限公司 用于移动终端的显示方法、装置和移动终端
CN106933587A (zh) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 一种图层绘制控制方法、装置及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3588284A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3971715A4 (en) * 2019-07-03 2022-07-06 Huawei Technologies Co., Ltd. IMAGE PROCESSING METHOD BASED ON VERTICAL SYNCHRONIZATION SIGNALS, AND ELECTRONIC EQUIPMENT
US11887557B2 (en) 2019-07-03 2024-01-30 Huawei Technologies Co., Ltd. Method for image processing based on vertical synchronization signals and electronic device
WO2023109184A1 (zh) * 2021-12-16 2023-06-22 荣耀终端有限公司 刷新率的设置方法及相关设备

Also Published As

Publication number Publication date
US11100901B2 (en) 2021-08-24
US20200005736A1 (en) 2020-01-02
EP3588284A4 (en) 2020-03-25
EP3588284B1 (en) 2022-11-30
EP3588284A1 (en) 2020-01-01
CN106933587B (zh) 2019-12-31
CN106933587A (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
WO2018161957A1 (zh) 图层绘制控制方法、装置及移动终端
US10564837B2 (en) Mobile terminal and method and device for controlling to display in the same
CN106941563B (zh) 一种移动终端刷新率的控制方法、装置及移动终端
US10460643B2 (en) Method, device and non-transitory computer-readable storage medium for controlling frame rate of mobile terminal
CN106919358B (zh) 一种移动终端的显示控制方法、装置及移动终端
US10863213B2 (en) Method and device for controlling frame rate of electronic device, storage medium, and electronic device
CN106791212B (zh) 一种移动终端刷新率的控制方法、装置及移动终端
CN106919401B (zh) 一种动态调节分辨率的方法、装置及移动终端
US10952146B2 (en) Method for dynamically adjusting energy-saving grade of terminal, non-transitory computer-readable storage medium, and terminal
WO2018161958A1 (zh) 移动终端的控制方法、装置及移动终端
KR101713177B1 (ko) 가상 디스플레이들에 대한 시스템 및 방법
CN106933327B (zh) 一种移动终端帧率的控制方法、装置及移动终端
CN106658691B (zh) 一种显示控制方法、装置及移动终端
US11145238B2 (en) Method for controlling image graphing of terminal, nontransitory computer-readable storage medium, and terminal
WO2018119575A1 (zh) 一种显示方法及电子设备
US10649711B2 (en) Method of switching display of a terminal and a terminal
WO2022171054A1 (zh) 一种刷新显示的方法、装置和电子设备
KR20150081765A (ko) 영상 데이터 출력 제어 방법 및 이를 지원하는 장치
CN115100993A (zh) 显示帧率的调整方法、装置、应用处理器及电子设备
CN117492893A (zh) 悬浮窗功能的实现方法、装置和计算机设备

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: 18764104

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018764104

Country of ref document: EP

Effective date: 20190923