[go: up one dir, main page]

CN109157839B - Frame rate regulation and control method, device, storage medium and terminal - Google Patents

Frame rate regulation and control method, device, storage medium and terminal Download PDF

Info

Publication number
CN109157839B
CN109157839B CN201811201767.5A CN201811201767A CN109157839B CN 109157839 B CN109157839 B CN 109157839B CN 201811201767 A CN201811201767 A CN 201811201767A CN 109157839 B CN109157839 B CN 109157839B
Authority
CN
China
Prior art keywords
frame rate
frame
target application
standard deviation
interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811201767.5A
Other languages
Chinese (zh)
Other versions
CN109157839A (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 CN201811201767.5A priority Critical patent/CN109157839B/en
Publication of CN109157839A publication Critical patent/CN109157839A/en
Application granted granted Critical
Publication of CN109157839B publication Critical patent/CN109157839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a frame rate regulation and control method, a frame rate regulation and control device, a storage medium and a terminal. The method comprises the steps of detecting that a frame rate regulation event is triggered; acquiring an average frame rate and a frame interval standard deviation of a target application in target sampling time; and when the frame interval standard deviation meets a preset condition, adjusting the system frame rate to the average frame rate. By adopting the technical scheme, the average frame rate and the frame interval standard deviation of the target application in the target sampling time can be calculated in advance, whether the system frame rate is adjusted to the average frame rate of the target application is judged based on the frame interval standard deviation, the adjustment of the system frame rate based on historical frame rate information is realized to provide a personalized frame rate adjusting and controlling scheme, the use habit of a user is effectively adapted, and the method and the device are easy to popularize to other intelligent terminals.

Description

帧率调控方法、装置、存储介质及终端Frame rate control method, device, storage medium and terminal

技术领域technical field

本申请实施例涉及终端技术领域,尤其涉及一种帧率调控方法、装置、存储介质及终端。The embodiments of the present application relate to the technical field of terminals, and in particular, to a frame rate control method, apparatus, storage medium, and terminal.

背景技术Background technique

随着技术的发展,智能终端在处理能力以及功能上都有了很大的提高,成为人们生活、工作以及娱乐的必需品。在安装有操作系统的智能终端中,智能终端通过不断刷新显示画面来呈现不同时刻下的各种显示画面。With the development of technology, the processing capability and function of smart terminals have been greatly improved, and they have become a necessity for people's life, work and entertainment. In an intelligent terminal installed with an operating system, the intelligent terminal presents various display images at different times by constantly refreshing the display images.

在手机等智能终端中的显示刷新流程中主要包括画面绘制操作、画面合成操作和显示操作。以游戏或视频等应用为例,基于同步(Vsync)刷新机制,系统执行绘图(Render)操作,以分别绘制各自的图像;待所有应用完成Render操作后,系统执行合成(Compose)操作,以将各应用所绘制的图像合成为一个显示帧;然后,将显示帧输出到屏幕上进行最终显示。然而,相关技术中的智能终端在帧率调控方面存在缺陷。如,采用白名单的形式动态调整帧率,对于每一个应用,其调控策略被固定,通用性不强。The display refresh process in a smart terminal such as a mobile phone mainly includes a screen drawing operation, a screen synthesis operation and a display operation. Taking applications such as games or videos as an example, based on the synchronous (Vsync) refresh mechanism, the system performs a Render operation to draw their respective images; after all applications complete the Render operation, the system performs a Compose operation to The images drawn by each application are combined into a display frame; then, the display frame is output to the screen for final display. However, the intelligent terminal in the related art has defects in frame rate regulation. For example, the frame rate is dynamically adjusted in the form of a whitelist. For each application, the control strategy is fixed and the versatility is not strong.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种帧率调控方法、装置、存储介质及终端,可以优化相关技术中的帧率调控方案。The embodiments of the present application provide a frame rate control method, device, storage medium and terminal, which can optimize the frame rate control scheme in the related art.

第一方面,本申请实施例提供了一种帧率调控方法,包括:In a first aspect, an embodiment of the present application provides a frame rate control method, including:

检测到帧率调控事件被触发;It is detected that the frame rate control event is triggered;

获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;Obtain the average frame rate and frame interval standard deviation of the target application within the target sampling time;

在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。When the standard deviation of the frame interval satisfies a preset condition, the system frame rate is adjusted to the average frame rate.

第二方面,本申请实施例还提供了一种帧率调控装置,该装置包括:In a second aspect, an embodiment of the present application also provides a frame rate control device, the device comprising:

事件检测模块,用于检测到帧率调控事件被触发;The event detection module is used to detect that the frame rate control event is triggered;

平均帧率获取模块,用于获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;The average frame rate acquisition module is used to acquire the average frame rate and frame interval standard deviation of the target application within the target sampling time;

系统帧率调整模块,用于在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。A system frame rate adjustment module, configured to adjust the system frame rate to the average frame rate when the standard deviation of the frame interval satisfies a preset condition.

第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例所述的帧率调控方法。In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the frame rate control method described in the embodiment of the present application.

第四方面,本申请实施例提供了一种终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的帧率调控方法。In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and the processor executes the computer program to achieve the same implementation as the embodiment of the present application. The frame rate control method.

本申请实施例提供一种帧率调控方案,若检测到帧率调控事件被触发,则获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;在该帧间隔标准差满足预设条件时,将系统帧率调整为上述平均帧率。通过采用上述技术方案,可以预先计算目标应用在目标采样时间内的平均帧率及帧间隔标准差,基于该帧间隔标准差判断是否将系统帧率调整为该目标应用的平均帧率,实现基于历史帧率信息对系统帧率进行调整以提供个性化的帧率调控方案,有效地适应用户的使用习惯,并且易于推广至其它智能终端。The embodiment of the present application provides a frame rate control scheme. If it is detected that a frame rate control event is triggered, the average frame rate and frame interval standard deviation of the target application within the target sampling time are obtained; when the frame interval standard deviation satisfies a preset When conditions are met, adjust the system frame rate to the above average frame rate. By adopting the above technical solution, the average frame rate and frame interval standard deviation of the target application within the target sampling time can be pre-calculated, and based on the frame interval standard deviation, it is judged whether to adjust the system frame rate to the average frame rate of the target application. The historical frame rate information adjusts the system frame rate to provide a personalized frame rate control scheme, which effectively adapts to the user's usage habits and is easy to extend to other smart terminals.

附图说明Description of drawings

图1为本申请实施例提供的一种帧率调控方法的流程图;1 is a flowchart of a frame rate control method provided by an embodiment of the present application;

图2a为本发明实施例提供的一种显示过程示意图;2a is a schematic diagram of a display process provided by an embodiment of the present invention;

图2b为本发明实施例提供的Vsync显示刷新机制的示意图FIG. 2b is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present invention

图3为本申请实施例提供的另一种帧率调控方法的流程图;3 is a flowchart of another frame rate control method provided by an embodiment of the present application;

图4为本申请实施例提供的一种帧率调控装置的结构框图;4 is a structural block diagram of a frame rate control device provided by an embodiment of the present application;

图5为本申请实施例提供的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application;

图6为本申请实施例提供的一种智能手机的结构框图。FIG. 6 is a structural block diagram of a smart phone according to an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all the structures related to the present application.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the steps as a sequential process, many of the steps may be performed in parallel, concurrently, or concurrently. Furthermore, the order of the steps can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.

图1为本申请实施例提供的一种帧率调控方法的流程图,该方法可以由帧率调控装置来执行,其中,该装置可由软件和/或硬件实现,一般可集成在终端中。如图1所示,该方法包括:FIG. 1 is a flowchart of a frame rate control method provided by an embodiment of the present application. The method may be executed by a frame rate control apparatus, wherein the apparatus may be implemented by software and/or hardware, and may generally be integrated in a terminal. As shown in Figure 1, the method includes:

步骤110、检测到帧率调控事件被触发。Step 110, it is detected that the frame rate control event is triggered.

示例性的,本申请实施例中的终端可包括手机、平板电脑、笔记本电脑、计算机、掌上游戏机以及智能家电等设置安装有操作系统的设备。本申请实施例中对操作系统的类型不做限定,例如可包括安卓(Android)操作系统、窗口(Windows)操作系统以及苹果(ios)操作系统等等。Exemplarily, the terminal in this embodiment of the present application may include a mobile phone, a tablet computer, a notebook computer, a computer, a handheld game console, a smart home appliance, and other devices that are provided with an operating system. The type of the operating system is not limited in the embodiments of the present application, and may include, for example, an Android (Android) operating system, a Windows (Windows) operating system, and an Apple (ios) operating system, and so on.

需要说明的是,目标应用开启或结束均会向操作系统的后台服务发送设定信息,在检测到该设定信息时,触发帧率调控事件。目标应用可以是终端当前启动并运行的应用程序。可以理解的是,该目标应用可以是安装于该终端上的任一应用。例如,目标应用可以是终端中安装的第三方游戏应用,第三方游戏接入后台服务后,在游戏开始或结束时,均会下发对应的场景ID。其中,场景ID是用于表示游戏开始或游戏结束的唯一标识,可以是数字,也可以是字母与数字的结合等字符。游戏应用被开启和游戏应用被结束对应不同的场景ID,即对应不同的字符。It should be noted that, when the target application starts or ends, setting information will be sent to the background service of the operating system, and when the setting information is detected, a frame rate control event will be triggered. The target application may be an application currently started and running on the terminal. It can be understood that the target application may be any application installed on the terminal. For example, the target application may be a third-party game application installed in the terminal. After the third-party game is connected to the background service, the corresponding scene ID will be issued when the game starts or ends. The scene ID is a unique identifier used to indicate the start or end of the game, which may be a number or a combination of letters and numbers. The opening of the game application and the closing of the game application correspond to different scene IDs, that is, corresponding to different characters.

后台服务可以是终端厂商预置于终端内用于优化性能/功耗的后台守护进程,可以是Daemon程序等。Daemon()程序是一直运行的服务端程序,又称为守护进程。通常在系统后台运行,没有控制终端,不与前台交互,Daemon程序一般作为系统服务使用。The background service may be a background daemon process preset in the terminal by the terminal manufacturer to optimize performance/power consumption, and may be a Daemon program or the like. The Daemon() program is a server-side program that runs all the time, also known as a daemon process. It usually runs in the background of the system, without a controlling terminal, and does not interact with the foreground. The Daemon program is generally used as a system service.

以游戏应用为例,在检测到游戏应用开始时下发的场景ID时,触发帧率调控事件。如可以获取对应于应用程序的场景ID,将该场景ID与该应用程序对应的ID标准字符进行比对。若该场景ID是该应用程序下表示应用开始的ID标准字符,则确定检测到游戏应用开始时下发的场景ID,相应的,触发帧率调控事件,以指示终端执行系统帧率调整相关操作。Taking a game application as an example, when the scene ID issued when the game application starts is detected, a frame rate control event is triggered. If the scene ID corresponding to the application can be obtained, the scene ID is compared with the ID standard characters corresponding to the application. If the scene ID is an ID standard character under the application program that indicates the start of the application, it is determined that the scene ID issued when the game application starts is detected, and accordingly, a frame rate adjustment event is triggered to instruct the terminal to perform an operation related to system frame rate adjustment.

在本申请实施例中,还可以首先统计预设局游戏的游戏信息构成样本空间,用于计算平均帧率及帧间隔标准差,此后每次检测到游戏应用开始时下发的场景ID,触发帧率调控事件。其中,游戏由加载结束至游戏结束返回游戏大厅可以称为一局,统计得到的预设局游戏的游戏信息可以构成样本空间。可以理解的是,对于样本空间对应的游戏应用,即使检测到游戏应用开始时下发的场景ID也并不触发帧率调控事件,而是计算当局游戏的帧率相关参数,如参考平均帧率及帧间隔参考标准差。In the embodiment of the present application, it is also possible to first count the game information of the preset game to form a sample space, which is used to calculate the average frame rate and the standard deviation of the frame interval. rate control events. Among them, the game from the end of loading to the end of the game returning to the game lobby can be called a round, and the game information of the preset round game obtained by statistics can constitute a sample space. It is understandable that for the game application corresponding to the sample space, even if the scene ID issued at the start of the game application is detected, the frame rate control event will not be triggered, but the frame rate related parameters of the official game are calculated, such as the reference average frame rate and Frame interval reference standard deviation.

需要说明的是,对于不同的第三方游戏,一局游戏的定义可能不同,与第三方游戏的定义相关联。如,对于王者荣耀或刺激战场等游戏,一局游戏的起止可以是由加载结束至游戏结束返回游戏大厅。It should be noted that, for different third-party games, the definition of a game may be different, which is related to the definition of the third-party game. For example, for games such as the glory of the king or the exciting battlefield, the start and end of a game can be from the end of loading to the end of the game and returning to the game lobby.

需要说明的是,触发帧率调控事件的方式有很多种,本申请实施例不作具体限定。例如,在该场景标识是预设的开启标识时,后台服务端通知Surface Flinger启动平均帧率及帧间隔标准差的计算操作。可以由后台服务端向Surface Flinger发送的通知触发帧率调控事件。又如,在游戏运行的局数超过预设阈值时,若再次检测到游戏接入后台服务时下发的场景ID,则触发帧率调控事件等等。It should be noted that there are many ways to trigger the frame rate control event, which are not specifically limited in the embodiment of the present application. For example, when the scene identifier is a preset open identifier, the background server notifies Surface Flinger to start the calculation operation of the average frame rate and the standard deviation of the frame interval. Frame rate control events can be triggered by notifications sent by the background server to Surface Flinger. For another example, when the number of running games of the game exceeds the preset threshold, if the scene ID issued when the game is connected to the background service is detected again, a frame rate adjustment event is triggered, and so on.

步骤120、获取目标应用在目标采样时间内的平均帧率及帧间隔标准差。Step 120: Obtain the average frame rate and frame interval standard deviation of the target application within the target sampling time.

其中,目标采样时间可以是预设时间段,也可以是预设次数的目标应用的启动及结束对应的时间区间的集合。例如,目标采样时间是50小时。又如,目标采样时间是统计每次目标应用由启动至结束的时间区间,将预设次数的上述时间区间的集合作为目标采样时间,或者将上述时间区间的加和作为目标采样时间。The target sampling time may be a preset time period, or may be a set of time intervals corresponding to the start and end of the target application for a preset number of times. For example, the target sampling time is 50 hours. For another example, the target sampling time is the time interval from start to end of each target application, and a set of the above-mentioned time intervals of a preset number of times is taken as the target sampling time, or the sum of the above-mentioned time intervals is taken as the target sampling time.

可选的,目标采样时间也可以是该目标应用中某一功能的开启时刻与该功能的关闭时刻之间的时间段,还可以是该目标应用开启状态下任一段时间的时间段,当然,该目标运行时间段也可以是该目标应用在运行某个脚本或是某个副本的开始时刻与结束时刻之间的时间段,本发明实施例对此不作具体限定。Optionally, the target sampling time can also be the time period between the time when a certain function in the target application is turned on and the time when the function is turned off, or the time period for any period of time when the target application is turned on. Of course, The target running time period may also be a time period between the start time and the end time of the target application running a certain script or a certain copy, which is not specifically limited in this embodiment of the present invention.

以游戏应用为例,平均帧率可以根据目标采样时间内该目标应用各次开启至关闭对应的时间区间内的帧数与时间区间确定。其中,帧数是指帧生成数量,也即是一段时间内处理并显示的帧的数量,帧可以是指静止的图像。例如,统计目标采样时间内各局游戏对应的时间区间内的帧数,根据该帧数与时间区间的比值确定各局游戏的参考平均帧率。再根据目标采样时间对应的游戏的局数,根据参考平均帧率与局数确定平均帧率。根据平均帧率基于标准差公式计算帧间隔标准差。例如,平均帧率是50,该目标采样时间区间内每一帧的帧率(可以将每一帧由绘制、合成到显示的时间的导数作为该帧的帧率)分别为50、52、50、50、53、50、52、49、50、50、49和45,帧间隔标准差的计算公式如下:Taking a game application as an example, the average frame rate can be determined according to the number of frames and the time interval in the time interval corresponding to each opening to closing of the target application within the target sampling time. The number of frames refers to the number of frames generated, that is, the number of frames processed and displayed within a period of time, and a frame may refer to a still image. For example, the number of frames in the time interval corresponding to each game in the target sampling time is counted, and the reference average frame rate of each game is determined according to the ratio of the number of frames to the time interval. Then, according to the number of rounds of the game corresponding to the target sampling time, the average frame rate is determined according to the reference average frame rate and the number of rounds. Calculate the frame interval standard deviation based on the standard deviation formula based on the average frame rate. For example, the average frame rate is 50, and the frame rate of each frame in the target sampling time interval (the derivative of the time from drawing, compositing and displaying each frame can be used as the frame rate of the frame) is 50, 52, and 50 respectively. , 50, 53, 50, 52, 49, 50, 50, 49 and 45, the formula for the standard deviation of the frame interval is as follows:

Figure BDA0001830177010000051
Figure BDA0001830177010000051

示例性的,在目标采样时间之外,在每次目标应用程序启动时,获取该目标应用在目标采样时间内平均帧率及帧间隔标准差。以游戏为例,目标采样时间可以是10局游戏的时间,即样本空间内的样本数据为10组。在检测到游戏应用开启时下发的场景ID和结束时下发的场景ID时,认为检测到一局游戏,获取该局游戏时间区间内的帧数,将该局游戏对应的帧数及时间区间作为样本空间内的样本,根据该帧数及时间区间计算参考平均帧率及帧间隔参考标准差。根据每局游戏的参考平均帧率和帧间隔参考标准差计算10局游戏的平均帧率及帧间隔标准差,进行保存。若再次检测到游戏应用开启时下发的场景ID,则由平均帧率及帧间隔标准差的存储位置获取上述游戏信息(包括平均帧率及帧间隔标准差)。Exemplarily, outside the target sampling time, each time the target application is started, the average frame rate and frame interval standard deviation of the target application within the target sampling time are acquired. Taking a game as an example, the target sampling time may be the time of 10 games, that is, the sample data in the sample space is 10 groups. When the scene ID issued when the game application is opened and the scene ID issued at the end of the game application are detected, it is considered that a game has been detected, the number of frames in the game time interval of the game is obtained, and the frame number and time interval corresponding to the game are used as For samples in the sample space, the reference average frame rate and frame interval reference standard deviation are calculated according to the frame number and time interval. Calculate the average frame rate and frame interval standard deviation of 10 games based on the reference average frame rate and frame interval reference standard deviation of each game, and save them. If the scene ID issued when the game application is started is detected again, the above game information (including the average frame rate and frame interval standard deviation) is obtained from the storage location of the average frame rate and frame interval standard deviation.

步骤130、在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。Step 130: When the standard deviation of the frame interval satisfies a preset condition, adjust the system frame rate to the average frame rate.

需要说明的是,若帧间隔标准差是各次目标应用程序启动及结束的时间区间内的帧间隔参考标准差的均值,则在帧间隔标准差超过预设阈值时,确定该帧间隔标准差满足预设条件。若帧间隔标准差是各次目标应用程序启动及结束的时间区间内的帧间隔参考标准差的集合,则在至少一个帧间隔标准差超过预设阈值时,确定帧间隔标准差满足预设条件,可以根据实际需要规定帧间隔标准差超过预设阈值的数量,以作为判定是否满足预设条件的阈值。It should be noted that, if the standard deviation of the frame interval is the average value of the reference standard deviation of the frame interval in the time interval when the target application is started and ended, then when the standard deviation of the frame interval exceeds the preset threshold, the standard deviation of the frame interval is determined. meet the preset conditions. If the frame interval standard deviation is the set of frame interval reference standard deviations in the time intervals when the target application is started and terminated, then when at least one frame interval standard deviation exceeds the preset threshold, it is determined that the frame interval standard deviation satisfies the preset condition , the amount by which the standard deviation of the frame interval exceeds the preset threshold may be specified according to actual needs, as the threshold for determining whether the preset condition is met.

需要说明的是,系统帧率,也可以称为Surface Flinger(图层合成模块)的帧率。It should be noted that the system frame rate can also be called the frame rate of Surface Flinger (layer synthesis module).

为了便于理解,下面以Android系统为例,对Android系统中显示画面从生成到显示的过程进行简单的说明。图2a为本发明实施例提供的一种显示过程示意图。For ease of understanding, the following takes the Android system as an example to briefly describe the process from generation to display of a display screen in the Android system. FIG. 2a is a schematic diagram of a display process provided by an embodiment of the present invention.

首先,在应用(Application)层,每个应用程序(以下简称应用或APP)包含1个或多个图层,各个应用APP1、APP2…APPN按照自己的应用设计情况(一般由对应的安装包APK决定)各自单独执行图层绘制(Render)操作(即绘制图层上的图像),并在绘制操作处理完成后,各应用将所绘制的所有图层发送给执行图层合成操作的图层合成模块(SurfaceFlinger)。First of all, in the application layer, each application (hereinafter referred to as application or APP) contains one or more layers, and each application APP1, APP2...APPN is designed according to its own application (generally by the corresponding installation package APK) decision) to perform the layer rendering (Render) operation (that is, to draw the image on the layer) separately, and after the rendering operation processing is completed, each application sends all the drawn layers to the layer composition that performs the layer composition operation. Module (SurfaceFlinger).

然后,在应用框架(Framework)层,所有图层(包括可见图层和不可见图层)组成一个图层列表,定义为ListAll。图层合成模块从ListAll中挑选出可见图层组成可见图层列表,定义为DisplayList。随后,图层合成模块从系统中三个可循环使用的帧缓冲器(FrameBuffer,简称BF或buffer)中,找出一个空闲的FB,并在该空闲的FB上,根据应用配置信息,例如哪个图层应该置底、哪个图层应该置顶、哪个区域为可见区以及哪个区域为透明区等等,通过合成(Compose)操作,将DisplayList中包含的图层叠加在一起,得到最终的待显示画面。Then, in the application framework (Framework) layer, all layers (including visible layers and invisible layers) form a layer list, which is defined as ListAll. The layer synthesis module selects the visible layers from ListAll to form a visible layer list, which is defined as DisplayList. Then, the layer synthesis module finds an idle FB from the three recyclable frame buffers (FrameBuffer, BF or buffer for short) in the system, and on the idle FB, according to the application configuration information, such as which The layer should be bottomed, which layer should be topped, which area is the visible area, which area is the transparent area, etc. Through the Compose operation, the layers contained in the DisplayList are superimposed together to get the final image to be displayed. .

最后,在内核(Kernel)层,可以将待显示画面传输给显示硬件(包括显示控制器和显示屏,使待显示画面最终显示在显示屏上。这里对显示屏的类型不做限定,例如可以是液晶显示器(Liquid Crystal Display,LCD)。Finally, at the Kernel layer, the picture to be displayed can be transmitted to the display hardware (including the display controller and the display screen, so that the picture to be displayed is finally displayed on the display screen. The type of the display screen is not limited here, for example, it can be It is a Liquid Crystal Display (LCD).

另外,Android系统在显示刷新的过程中引入了同步(Vsync)刷新机制。图2b为本发明实施例提供的Vsync显示刷新机制的示意图。具体地,Vsync刷新机制其实就是在整个显示流程中,插入“心跳”即系统同步(Vsync)信号,由显示控制器发送给CPU,用于产生Vsync中断,以控制每次图层绘制操作和图层合成操作都需要按照心跳来完成,从而将整个显示过程中的关键步骤都纳入到Vsync的统一管理机制。Vsync信号的频率目前常见为60Hz。如图2b所示,假设Vsync信号周期为T,不考虑信号的传输延迟,第一个Vsync信号Vsync1到达CPU后,CPU向各应用转发该第一个Vsync信号Vsync1,各应用响应用户在显示屏上的触摸滑动等操作,开始执行绘制操作;在各应用完成绘制操作后,得到各应用所绘制的多个图层。第二个Vsync信号Vsync2到达CPU后,CPU向图层合成模块转发该第二个Vsync信号Vsync2,图层合成模块开始执行图层合成操作,将各应用所绘制的多个图层进行合成,生成待显示画面。第三个Vsync信号Vsync3到达CPU后,系统开始执行显示刷新,并将该待显示画面最终显示在显示屏上。由上述描述可知,应用程序、图层合成模块和显示屏接收到的Vsync信号的频率是一致的,且是预先设置好的固定值。In addition, the Android system introduces a synchronous (Vsync) refresh mechanism in the display refresh process. FIG. 2b is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present invention. Specifically, the Vsync refresh mechanism is actually to insert a "heartbeat", that is, a system synchronization (Vsync) signal, in the entire display process, which is sent by the display controller to the CPU to generate a Vsync interrupt to control each layer drawing operation and graphics. Layer synthesis operations 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 60Hz. As shown in Figure 2b, assuming that the Vsync signal period is T, regardless of the transmission delay of the signal, after the first Vsync signal Vsync1 reaches the CPU, the CPU forwards the first Vsync signal Vsync1 to each application, and each application responds to the user's display on the display screen. After each application completes the drawing operation, multiple layers drawn by each application are obtained. After the second Vsync signal Vsync2 reaches the CPU, the CPU forwards the second Vsync signal Vsync2 to the layer compositing module, and the layer compositing module starts to perform the layer compositing operation, synthesizing multiple layers drawn by each application to generate screen to be displayed. After the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh, and finally displays the to-be-displayed picture on the display screen. It can be seen from the above description that the frequency of the Vsync signal received by the application program, the layer synthesis module and the display screen is the same, and is a preset fixed value.

示例性的,若帧间隔标准差满足预设条件,则通过后台服务通知Surface Flinger调整系统的Vsync信号,实现将系统帧率固定为该平均帧率。Exemplarily, if the standard deviation of the frame interval satisfies the preset condition, the background service is used to notify Surface Flinger to adjust the Vsync signal of the system, so that the system frame rate is fixed to the average frame rate.

本申请实施例的技术方案,若检测到帧率调控事件被触发,则获取该目标应用在目标采样时间内的平均帧率及帧间隔标准差;在该帧间隔标准差满足预设条件时,将系统帧率调整为上述平均帧率。通过采用上述技术方案,可以预先计算目标应用在目标采样时间内的平均帧率及帧间隔标准差,基于该帧间隔标准差判断是否将系统帧率调整为该目标应用的平均帧率,实现基于历史帧率信息对系统帧率进行调整以提供个性化的帧率调控方案,有效地适应用户的使用习惯,并且易于推广至其它智能终端。In the technical solutions of the embodiments of the present application, if it is detected that a frame rate control event is triggered, the average frame rate and frame interval standard deviation of the target application within the target sampling time are obtained; when the frame interval standard deviation satisfies a preset condition, Adjust the system frame rate to the above average frame rate. By adopting the above technical solution, the average frame rate and frame interval standard deviation of the target application within the target sampling time can be pre-calculated, and based on the frame interval standard deviation, it is judged whether to adjust the system frame rate to the average frame rate of the target application. The historical frame rate information adjusts the system frame rate to provide a personalized frame rate control scheme, which effectively adapts to the user's usage habits and is easy to extend to other smart terminals.

在一些示例中,检测到帧率调控事件被触发可以采用如下步骤执行,即检测目标应用对应的场景标识;判断该场景标识是否为预设的开启标识,若是,则触发帧率调控事件。采用上述技术方案,可以在目标应用启动时触发帧率调控事件,避免在游戏运行的过程中调整系统帧率,而出现帧率不稳定的情况。如,游戏应用包括高、中和低三档帧率可供选择,若用户选择了高帧率,则系统帧率以该帧率进行画面绘制及显示。在运行一段时间后,再调整系统帧率为平均帧率,则会在发生切换时导致帧率不稳定而影响游戏流畅性。In some examples, detecting that a frame rate adjustment event is triggered may be performed by the following steps, that is, detecting a scene identifier corresponding to the target application; judging whether the scene identifier is a preset open identifier, and if so, triggering a frame rate adjustment event. By adopting the above technical solution, a frame rate control event can be triggered when the target application is started, so as to avoid the situation that the frame rate is unstable due to the adjustment of the system frame rate during the running of the game. For example, a game application includes high, medium and low frame rates to choose from. If the user selects a high frame rate, the system frame rate will be used to draw and display the picture at the frame rate. After running for a period of time, adjusting the system frame rate to the average frame rate will cause the frame rate to be unstable when switching occurs and affect the smoothness of the game.

在又一些示例中,在触发帧率调控事件之前,还包括:记录所述目标应用开启的次数;在所述次数小于预设的采样次数时,确定每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差;在所述次数等于预设的采样次数时,根据所述参考平均帧率确定所述平均帧率,以及根据所述帧间隔参考标准差确定所述帧间隔标准差。采用上述技术方案,可以预先考察目标时间内目标应用的运行数据,并基于该运行数据计算各次目标应用运行时的参考帧率及帧间隔标准差,再基于此,计算出目标时间区间内的平均帧率及帧间隔标准差。基于目标时间区间内的帧间隔标准差确定是否对目标应用的后续运行时的系统帧率进行调控,可以实现帧率的动态调整更加适应用户的使用习惯。In still other examples, before triggering a frame rate control event, the method further includes: recording the number of times the target application is opened; when the number of times is less than a preset sampling number, determining the corresponding number of times each time the target application is opened to end the reference average frame rate and frame interval reference standard deviation in the time interval; when the number of times is equal to the preset sampling times, the average frame rate is determined according to the reference average frame rate, and the reference standard deviation is based on the frame interval The frame interval standard deviation is determined. By adopting the above technical solution, the running data of the target application in the target time can be inspected in advance, and the reference frame rate and frame interval standard deviation of each target application running time can be calculated based on the running data, and then based on this, the running data in the target time interval can be calculated. Average frame rate and frame interval standard deviation. Based on the standard deviation of the frame interval in the target time interval, it is determined whether to adjust the system frame rate of the subsequent running of the target application, so that the dynamic adjustment of the frame rate can be more adapted to the user's usage habits.

在另一些示例中,在将系统帧率调整为所述平均帧率之后,还包括:In other examples, after adjusting the system frame rate to the average frame rate, the method further includes:

若检测到所述目标应用对应的场景标识为预设的结束标识,则通过调整帧同步信息的方式将系统帧率调整为默认帧率,实现在目标应用运行的过程中,采用该目标应用对应的平均帧率作为系统帧率,但是,在目标应用结束后,该系统帧率并不一定对其它应用适用,需要将系统帧率恢复至帧率调整之前的值。采用上述技术方案,实现在目标应用运行期间将系统帧率调整为该目标应用对应的平均帧率,在其结束运行后,将系统帧率恢复为终端默认的系统帧率,可以避免运行其它应用时出现帧率不匹配而影响显示质量的情况,使显示更加顺畅。If it is detected that the scene identifier corresponding to the target application is the preset end identifier, the system frame rate is adjusted to the default frame rate by adjusting the frame synchronization information, so that during the running process of the target application, the corresponding However, after the target application ends, the system frame rate is not necessarily applicable to other applications, and the system frame rate needs to be restored to the value before the frame rate adjustment. By adopting the above technical solution, the system frame rate can be adjusted to the average frame rate corresponding to the target application during the running of the target application, and the system frame rate can be restored to the default system frame rate of the terminal after the running of the target application, so as to avoid running other applications. When the frame rate does not match and the display quality is affected, the display is smoother.

图3为本申请实施例提供的另一种帧率调控方法的流程图,如图3所示,该方法包括:FIG. 3 is a flowchart of another frame rate control method provided by an embodiment of the present application. As shown in FIG. 3 , the method includes:

步骤301、检测目标应用对应的场景标识。Step 301: Detect the scene identifier corresponding to the target application.

需要说明的是,场景标识,即场景ID,用于表示游戏开始或游戏结束的唯一标识。目标应用可以是系统默认的应用程序,如某些游戏应用(可以通过对历史使用数据进行分析确定),还可以是用户根据实际需要自行选择的应用程序。如,用户在安装第三方应用时,将该应用程序标记为目标应用,可以通过白名单存储目标应用。It should be noted that the scene identifier, that is, the scene ID, is used to represent the unique identifier of the game start or the end of the game. The target application can be a system default application, such as some game applications (which can be determined by analyzing historical usage data), or an application selected by the user according to actual needs. For example, when a user installs a third-party application, the application is marked as a target application, and the target application can be stored through a whitelist.

示例性的,在检测到目标应用运行时,后台服务端(如守护进程)获取该目标应用下发的场景标识。Exemplarily, when detecting that the target application is running, a background server (eg, a daemon process) acquires the scene identifier issued by the target application.

步骤302、在所述场景标识是预设的开启标识时,获取目标应用开启的次数。Step 302: When the scene identifier is a preset opening identifier, obtain the number of times the target application is opened.

需要说明的是,在每次检测到目标应用的场景标识是对应的开启标识时,目标应用的开启次数加1,得到目标应用的最新开启次数,将该最新开启次数作为目标应用开启的次数。It should be noted that each time it is detected that the scene identifier of the target application is the corresponding opening identifier, the number of times of opening the target application is increased by 1 to obtain the latest opening times of the target application, and the latest opening times are regarded as the opening times of the target application.

步骤303、判断该次数是否小于预设的采样次数,若是,则执行步骤304,否则,执行步骤305。Step 303 , judging whether the number of times is less than the preset number of sampling times, if so, go to step 304 , otherwise, go to step 305 .

需要说明的是,预设的采样次数由系统默认,也可以是由用户根据实际需要设置。It should be noted that the preset sampling times are defaulted by the system, or can be set by the user according to actual needs.

步骤304、确定每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差。Step 304: Determine the reference average frame rate and frame interval reference standard deviation within the time interval corresponding to each time the target application is started to end.

示例性的,在先后检测到游戏应用开始时下发的第一场景ID及游戏应用结束时下发的第二场景ID时,判定检测到一次游戏应用开启至结束,将检测到第一场景ID至检测到第二场景ID的时间段记为该次游戏应用开启至结束对应的时间区间。获取游戏应用每次开启至结束对应的时间区间内的帧数。可以根据每次开启至结束对应的时间区间内的帧数及时间段构成样本空间。根据该帧数和对应的时间区间,确定每次目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差。Exemplarily, when the first scene ID issued when the game application starts and the second scene ID issued when the game application ends, it is determined that the game application is detected from the start to the end, and the first scene ID is detected until the detection is completed. The time period to the second scene ID is recorded as the time period corresponding to the start of the game application to the end of the game application. Get the number of frames in the time interval corresponding to each time the game application is opened to the end. The sample space can be formed according to the number of frames and the time period in the time interval corresponding to each opening to the end. According to the number of frames and the corresponding time interval, the reference average frame rate and the reference standard deviation of the frame interval in the time interval corresponding to each target application starting to ending are determined.

步骤305、判断该次数是否等于预设的采样次数,若是,则执行步骤306,否则执行步骤307。Step 305 , determine whether the number of times is equal to the preset number of sampling times, if so, go to step 306 , otherwise go to step 307 .

步骤306、根据所述参考平均帧率确定所述平均帧率,以及根据所述帧间隔参考标准差确定所述帧间隔标准差。Step 306: Determine the average frame rate according to the reference average frame rate, and determine the frame interval standard deviation according to the frame interval reference standard deviation.

示例性的,若游戏应用首次安装,则在游戏应用接入后台服务端后,记录游戏应用运行10局的游戏信息,得到10个参考平均帧率和10个帧间隔参考标准差。计算10个参考平均帧率的均值作为平均帧率。此外,计算10个帧间隔参考标准差的均值作为帧间隔标准差。Exemplarily, if the game application is installed for the first time, after the game application is connected to the background server, the game information of 10 rounds of the game application is recorded, and 10 reference average frame rates and 10 frame interval reference standard deviations are obtained. Calculate the average of 10 reference average frame rates as the average frame rate. In addition, the average of the 10 frame interval reference standard deviations is calculated as the frame interval standard deviation.

步骤307、确定该次数大于预设的采样次数,触发帧率调控事件。Step 307: It is determined that the number of times is greater than the preset number of sampling times, and a frame rate regulation event is triggered.

步骤308、判断帧间隔标准差是否超过预设阈值,若是,则执行步骤309,否则,执行步骤311。Step 308: Determine whether the standard deviation of the frame interval exceeds a preset threshold, if yes, go to Step 309, otherwise, go to Step 311.

步骤309、通过调整帧同步信息的方式将系统帧率调整为所述平均帧率。Step 309: Adjust the system frame rate to the average frame rate by adjusting the frame synchronization information.

需要说明的是,帧同步信息包括Vsync信号,相应的,通过调整帧同步信息可以是调整Vsync信号,进而,实现调整绘制帧率、合成帧率及刷新率等与帧画面显示相关的参数。It should be noted that the frame synchronization information includes the Vsync signal. Accordingly, adjusting the frame synchronization information may be the adjustment of the Vsync signal, thereby realizing the adjustment of parameters related to frame display, such as the drawing frame rate, the composite frame rate, and the refresh rate.

在帧间隔标准差超过预设阈值时,后台服务算通知Surface Flinger切换系统的VSYNC模型,以使Surface Flinger接收不同频率的Vsync信号。When the standard deviation of the frame interval exceeds the preset threshold, the background service operator informs Surface Flinger to switch the VSYNC model of the system, so that Surface Flinger receives Vsync signals of different frequencies.

步骤310、若检测到所述目标应用对应的场景标识为预设的结束标识,则通过调整帧同步信息的方式将系统帧率调整为默认帧率。Step 310: If it is detected that the scene identifier corresponding to the target application is a preset end identifier, adjust the system frame rate to the default frame rate by adjusting the frame synchronization information.

需要说明的是,默认帧率可以理解为将系统帧率切换为平均帧率之前的帧率取值。It should be noted that the default frame rate can be understood as the value of the frame rate before switching the system frame rate to the average frame rate.

在本申请实施例中,若将系统帧率固定为游戏应用的平均帧率,则在游戏应用退出后,将系统帧率恢复为该终端的默认帧率,即系统帧率调整之前的帧率,或者认为是该游戏应用运行之前的帧率。In the embodiment of the present application, if the system frame rate is fixed as the average frame rate of the game application, after the game application exits, the system frame rate is restored to the default frame rate of the terminal, that is, the frame rate before the system frame rate adjustment , or think of it as the frame rate before the game app was run.

步骤311、保持系统帧率不变。Step 311: Keep the system frame rate unchanged.

需要说明的是,保持系统帧率不变可以是保持系统帧率为该默认帧率不变。It should be noted that keeping the system frame rate unchanged may mean keeping the system frame rate unchanged at the default frame rate.

本实施例的技术方案,基于样本空间内每次游戏应用运行时间区间内的帧数及时间确定每次游戏应用运行时的参考平均帧率及帧间隔参考标准差,进而确定采样时间内该目标应用的平均帧率及帧间隔标准差。根据帧间隔标准差与预设阈值的比较结果判断是否需要固定系统帧率,若需要,则通过后台服务通知Surface Flinger切换系统帧率,实现系统级的帧率调控,可以有效地适应用户的使用习惯,较相关技术中基于白名单式的动态帧率调控方案,具有更高的智能性,并且易于推广至其它智能终端。The technical solution of this embodiment determines the reference average frame rate and frame interval reference standard deviation of each game application running time based on the number of frames and the time in the running time interval of each game application in the sample space, and then determines the target during the sampling time. The average frame rate and frame interval standard deviation of the application. Determine whether the system frame rate needs to be fixed according to the comparison result between the standard deviation of the frame interval and the preset threshold. If necessary, the background service will notify Surface Flinger to switch the system frame rate to realize system-level frame rate control, which can effectively adapt to the user's use. Compared with the whitelist-based dynamic frame rate control scheme in the related art, it has higher intelligence and is easy to be extended to other intelligent terminals.

图4为本申请实施例提供的一种帧率调控装置的结构框图,该装置可由软件和/或硬件实现,一般集成在终端中,可通过执行帧率调控方法在系统运行时动态地对系统帧率进行调控。如图4所示,该装置包括:FIG. 4 is a structural block diagram of a frame rate control device provided by an embodiment of the present application. The device can be implemented by software and/or hardware, and is generally integrated in a terminal. The frame rate control method can be executed to dynamically control the system when the system is running. Frame rate control. As shown in Figure 4, the device includes:

事件检测模块410,用于检测到帧率调控事件被触发;an event detection module 410, configured to detect that a frame rate regulation event is triggered;

平均帧率获取模块420,用于获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;an average frame rate obtaining module 420, configured to obtain the average frame rate and frame interval standard deviation of the target application within the target sampling time;

系统帧率调整模块430,用于在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。The system frame rate adjustment module 430 is configured to adjust the system frame rate to the average frame rate when the frame interval standard deviation satisfies a preset condition.

本申请实施例提供一种帧率调控装置,若检测到帧率调控事件被触发,则获取该目标应用在目标采样时间内的平均帧率及帧间隔标准差;在该帧间隔标准差满足预设条件时,将系统帧率调整为上述平均帧率。通过采用上述技术方案,可以预先计算目标应用在目标采样时间内的平均帧率及帧间隔标准差构成样本空间,基于样本空间内的帧间隔标准差判断是否将系统帧率调整为该目标应用的平均帧率,实现基于历史帧率信息对系统帧率进行调整以提供个性化的帧率调控方案,有效地适应用户的使用习惯,并且易于推广至其它智能终端。An embodiment of the present application provides a frame rate control device. If it is detected that a frame rate control event is triggered, the average frame rate and frame interval standard deviation of the target application within the target sampling time are obtained; When setting conditions, adjust the system frame rate to the above average frame rate. By adopting the above technical solution, the average frame rate and frame interval standard deviation of the target application in the target sampling time can be pre-calculated to form a sample space, and based on the frame interval standard deviation in the sample space, it is judged whether to adjust the system frame rate to the target application's standard deviation. The average frame rate, which adjusts the system frame rate based on the historical frame rate information to provide a personalized frame rate control scheme, effectively adapts to the user's usage habits, and is easy to extend to other smart terminals.

可选的,事件检测模块410具体用于:Optionally, the event detection module 410 is specifically used for:

检测目标应用对应的场景标识;Detect the scene identifier corresponding to the target application;

在所述场景标识是预设的开启标识时,触发帧率调控事件。When the scene identifier is a preset open identifier, a frame rate regulation event is triggered.

可选的,所述目标采样时间包括目标应用开启至结束对应的时间区间。Optionally, the target sampling time includes a time interval corresponding to the target application starting to ending.

可选的,还包括:Optionally, also include:

次数记录模块,用于在触发帧率调控事件之前,记录所述目标应用开启的次数;A number of times recording module, used to record the number of times the target application is opened before triggering a frame rate control event;

参考帧率计算模块,用于在所述次数小于预设的采样次数时,确定每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差;a reference frame rate calculation module, configured to determine the reference average frame rate and frame interval reference standard deviation within the time interval corresponding to each time the target application is started to end when the number of times is less than the preset sampling times;

帧率计算模块,用于在所述次数等于预设的采样次数时,根据所述参考平均帧率确定所述平均帧率,以及根据所述帧间隔参考标准差确定所述帧间隔标准差。A frame rate calculation module, configured to determine the average frame rate according to the reference average frame rate when the number of times is equal to a preset sampling number, and determine the frame interval standard deviation according to the frame interval reference standard deviation.

可选的,帧率计算模块,具体用于:Optional, frame rate calculation module, specifically used for:

获取所述目标应用每次开启至结束对应的时间区间内的帧数;Acquire the number of frames in the time interval corresponding to each time the target application is opened to end;

根据所述帧数和所述时间区间,确定在每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差。According to the frame number and the time interval, a reference average frame rate and a frame interval reference standard deviation in a time interval corresponding to each time the target application is started to end is determined.

可选的,系统帧率调整模块430具体用于:Optionally, the system frame rate adjustment module 430 is specifically used for:

若目标采样时间内的所述帧间隔标准差超过预设阈值,则通过调整帧同步信息的方式将系统帧率调整为所述平均帧率。If the standard deviation of the frame interval within the target sampling time exceeds a preset threshold, the system frame rate is adjusted to the average frame rate by adjusting frame synchronization information.

可选的,还包括:Optionally, also include:

帧率恢复模块,用于在将系统帧率调整为所述平均帧率之后,若检测到所述目标应用对应的场景标识为预设的结束标识,则通过调整帧同步信息的方式将系统帧率调整为默认帧率。The frame rate recovery module is used to adjust the system frame rate to the average frame rate, if it is detected that the scene identifier corresponding to the target application is a preset end identifier, then the system frame rate is adjusted by adjusting the frame synchronization information. The frame rate is adjusted to the default frame rate.

本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行帧率调控方法,该方法包括:Embodiments of the present application also provide a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a frame rate control method when executed by a computer processor, and the method includes:

检测到帧率调控事件被触发;It is detected that the frame rate control event is triggered;

获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;Obtain the average frame rate and frame interval standard deviation of the target application within the target sampling time;

在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。When the standard deviation of the frame interval satisfies a preset condition, the system frame rate is adjusted to the average frame rate.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg 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 the first computer system in which the program is executed, or may be located in a second, different 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 (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的帧率调控操作,还可以执行本申请任意实施例所提供的帧率调控方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the frame rate control operations described above, and can also perform frame rate control provided by any embodiment of the present application. related operations in the method.

本申请实施例提供了一种终端,该终端内具有操作系统,该终端中可集成本申请实施例提供的帧率调控装置。其中,终端可以为智能手机、PAD(平板电脑)、掌上游戏机及智能电视等。图5为本申请实施例提供的一种终端的结构示意图。如图5所示,该终端包括存储器510及处理器520。所述存储器510,用于存储计算机程序、目标应用对应的平均帧率及帧间隔标准差等;所述处理器520读取并执行所述存储器510中存储的计算机程序。所述处理器520在执行所述计算机程序时实现以下步骤:检测到帧率调控事件被触发;获取目标应用在目标采样时间内的平均帧率及帧间隔标准差;在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率。The embodiment of the present application provides a terminal, the terminal has an operating system, and the frame rate control apparatus provided by the embodiment of the present application can be integrated in the terminal. The terminal may be a smart phone, a PAD (tablet computer), a handheld game console, a smart TV, or the like. FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in FIG. 5 , the terminal includes a memory 510 and a processor 520 . The memory 510 is used to store the computer program, the average frame rate and frame interval standard deviation corresponding to the target application, etc.; the processor 520 reads and executes the computer program stored in the memory 510 . The processor 520 implements the following steps when executing the computer program: detecting that a frame rate regulation event is triggered; acquiring the average frame rate and frame interval standard deviation of the target application within the target sampling time; When the preset conditions are met, the system frame rate is adjusted to the average frame rate.

上述示例中列举的存储器及处理器均为终端的部分元器件,所述终端还可以包括其它元器件。以智能手机为例,说明上述终端可能的结构。图6为本申请实施例提供的一种智能手机的结构框图。如图6所示,该智能手机可以包括:存储器601、中央处理器(CentralProcessing Unit,CPU)602(又称处理器,以下简称CPU)、外设接口603、RF(RadioFrequency,射频)电路605、音频电路606、扬声器611、触摸屏612、电源管理芯片608、输入/输出(I/O)子系统609、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The memories and processors listed in the above examples are all parts of the terminal, and the terminal may also include other components. Taking a smart phone as an example, the possible structure of the above-mentioned terminal will be described. FIG. 6 is a structural block diagram of a smart phone according to an embodiment of the present application. As shown in FIG. 6 , the smart phone may include: a memory 601, a central processing unit (CPU) 602 (also known as a processor, hereinafter referred to as CPU), a peripheral interface 603, an RF (RadioFrequency, radio frequency) circuit 605, Audio circuitry 606, speakers 611, touch screen 612, power management chip 608, input/output (I/O) subsystem 609, other input/control devices 610, and external ports 604 through one or more communication buses or signal lines 607 to communicate.

应该理解的是,图示智能手机600仅仅是终端的一个范例,并且智能手机600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated smartphone 600 is merely an example of a terminal, and that the smartphone 600 may have more or fewer components than those shown, two or more components may be combined, or Different component configurations are possible. 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 is a detailed description of the smartphone integrated with the frame rate control device provided in this embodiment.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在存储器601中存储计算机程序,还可以存储预设文件及预设白名单等。Memory 601, which can be accessed by CPU 602, peripheral interface 603, etc., said memory 601 can include high-speed random access memory, and can also include non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices. A computer program is stored in the memory 601, and a preset file, a preset whitelist, and the like can also be stored.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。A peripheral interface 603 that can connect the input and output peripherals of the device to the CPU 602 and the memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 609 , which can connect input and output peripherals on the device, such as touch screen 612 and other input/control devices 610 , to peripherals interface 603 . The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Wherein, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc. ), dial pad, slide switch, joystick, click wheel. Notably, the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 612, which is an input interface and an output interface between the user terminal and the user, displays visual output to the user, and the visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 6091 in I/O subsystem 609 receives electrical signals from touch screen 612 or sends electrical signals to touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into interaction with the user interface object displayed on the touch screen 612, that is, to realize human-computer interaction, and the user interface object displayed on the touch screen 612 can be run. Icons for games, icons for connecting to the corresponding network, etc. It is worth noting that the device may also include a light mouse, which is a touch-sensitive surface that does not display visual output, or an extension of the touch-sensitive surface formed by a touch screen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish the communication between the mobile phone and the wireless network (ie, the network side), and realize the data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving text messages, e-mails, etc. Specifically, the RF circuit 605 receives and transmits RF signals, also known as electromagnetic signals, the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, CODECs ( COder-DECoder, codec) chip set, subscriber identity module (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used for receiving audio data from the peripheral interface 603 , converting the audio data into an electrical signal, and sending the electrical signal to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 to sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602, the I/O subsystem and the peripheral interface.

本申请实施例提供的终端,可以预先计算目标应用在目标采样时间内的平均帧率及帧间隔标准差,基于该帧间隔标准差判断是否将系统帧率调整为该目标应用的平均帧率,实现基于历史帧率信息对系统帧率进行调整以提供个性化的帧率调控方案,有效地适应用户的使用习惯,并且易于推广至其它智能终端。The terminal provided by the embodiment of the present application can pre-calculate the average frame rate and frame interval standard deviation of the target application within the target sampling time, and determine whether to adjust the system frame rate to the average frame rate of the target application based on the frame interval standard deviation, The system frame rate is adjusted based on the historical frame rate information to provide a personalized frame rate control scheme, which effectively adapts to the user's usage habits and is easy to be extended to other smart terminals.

上述实施例中提供的帧率调控装置、存储介质及终端可执行本申请任意实施例所提供的帧率调控方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的帧率调控方法。The frame rate control device, storage medium and terminal provided in the above embodiments can execute the frame rate control method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in the foregoing embodiments, reference may be made to the frame rate control method provided by any embodiment of the present application.

注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present application and applied technical principles. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application. The scope is determined by the scope of the appended claims.

Claims (9)

1.一种帧率调控方法,其特征在于,包括:1. a frame rate control method, is characterized in that, comprises: 检测到帧率调控事件被触发;It is detected that the frame rate control event is triggered; 获取目标应用在目标采样时间内的平均帧率及帧间隔标准差,所述目标应用是终端当前启动并运行的应用程序;Obtain the average frame rate and frame interval standard deviation of the target application within the target sampling time, where the target application is the application currently started and run by the terminal; 在每次所述目标应用程序启动时,获取该目标应用在所述目标采样时间内平均帧率及帧间隔标准差,在检测到所述目标应用开启时下发的场景标识和结束时下发的场景标识时,获取所述目标应用采样时间区间内的帧数,将所述采样时间区间内对应的帧数及时间区间作为样本空间内的样本,根据该帧数及时间区间计算参考平均帧率及帧间隔参考标准差,根据参考平均帧率和帧间隔参考标准差计算预设采样次数的平均帧率及帧间隔标准差,进行保存,若再次检测到应用开启时下发的场景标识,则由平均帧率及帧间隔标准差的存储位置获取上述采样信息;Each time the target application is started, the average frame rate and frame interval standard deviation of the target application within the target sampling time are obtained, the scene identifier issued when it is detected that the target application is started, and the scene issued at the end When identifying, the number of frames in the sampling time interval of the target application is obtained, the corresponding frame number and time interval in the sampling time interval are taken as samples in the sample space, and the reference average frame rate and the time interval are calculated according to the frame number and time interval. Frame interval reference standard deviation, calculate the average frame rate and frame interval standard deviation of the preset sampling times according to the reference average frame rate and frame interval reference standard deviation, and save them. The storage location of frame rate and frame interval standard deviation obtains the above sampling information; 在每次检测到所述目标应用的场景标识是对应的开启标识时,所述目标应用的开启次数加1,得到目标应用的最新开启次数,将该最新开启次数作为目标应用开启的次数,该次数大于所述预设采样次数,则触发帧率调控事件;Each time it is detected that the scene identifier of the target application is the corresponding opening identifier, the number of opening times of the target application is increased by 1 to obtain the latest opening times of the target application, and the latest opening times are regarded as the opening times of the target application. If the number of times is greater than the preset number of sampling times, a frame rate adjustment event is triggered; 在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率;When the frame interval standard deviation satisfies a preset condition, adjusting the system frame rate to the average frame rate; 所述目标采样时间包括目标应用开启至结束对应的时间区间。The target sampling time includes a time interval corresponding to the target application starting to ending. 2.根据权利要求1所述的方法,其特征在于,检测到帧率调控事件被触发,包括:2. The method according to claim 1, wherein detecting that a frame rate control event is triggered, comprising: 检测目标应用对应的场景标识;Detect the scene identifier corresponding to the target application; 在所述场景标识是预设的开启标识时,触发帧率调控事件。When the scene identifier is a preset open identifier, a frame rate regulation event is triggered. 3.根据权利要求1所述的方法,其特征在于,在触发帧率调控事件之前,还包括:3. method according to claim 1, is characterized in that, before triggering frame rate regulation event, also comprises: 记录所述目标应用开启的次数;Record the number of times the target application is opened; 在所述次数小于预设的采样次数时,确定每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差;When the number of times is less than the preset number of sampling times, determine the reference average frame rate and frame interval reference standard deviation within the time interval corresponding to each time the target application is started to end; 在所述次数等于预设的采样次数时,根据所述参考平均帧率确定所述平均帧率,以及根据所述帧间隔参考标准差确定所述帧间隔标准差。When the number of times is equal to a preset number of sampling times, the average frame rate is determined according to the reference average frame rate, and the frame interval standard deviation is determined according to the frame interval reference standard deviation. 4.根据权利要求3所述的方法,其特征在于,确定每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差,包括:4. The method according to claim 3, wherein determining the reference average frame rate and frame interval reference standard deviation in the time interval corresponding to each time the target application is started to end, comprising: 获取所述目标应用每次开启至结束对应的时间区间内的帧数;Acquire the number of frames in the time interval corresponding to each time the target application is opened to end; 根据所述帧数和所述时间区间,确定在每次所述目标应用开启至结束对应的时间区间内的参考平均帧率及帧间隔参考标准差。According to the frame number and the time interval, a reference average frame rate and a frame interval reference standard deviation in a time interval corresponding to each time the target application is started to end is determined. 5.根据权利要求3所述的方法,其特征在于,在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率,包括:5. The method according to claim 3, wherein when the frame interval standard deviation satisfies a preset condition, adjusting the system frame rate to the average frame rate, comprising: 若目标采样时间内的所述帧间隔标准差超过预设阈值,则通过调整帧同步信息的方式将系统帧率调整为所述平均帧率。If the standard deviation of the frame interval within the target sampling time exceeds a preset threshold, the system frame rate is adjusted to the average frame rate by adjusting frame synchronization information. 6.根据权利要求1至5中任一项所述的方法,其特征在于,在将系统帧率调整为所述平均帧率之后,还包括:6. The method according to any one of claims 1 to 5, wherein after adjusting the system frame rate to the average frame rate, the method further comprises: 若检测到所述目标应用对应的场景标识为预设的结束标识,则通过调整帧同步信息的方式将系统帧率调整为默认帧率。If it is detected that the scene identifier corresponding to the target application is the preset end identifier, the system frame rate is adjusted to the default frame rate by adjusting the frame synchronization information. 7.一种帧率调控装置,其特征在于,包括:7. A frame rate control device, characterized in that, comprising: 事件检测模块,用于检测到帧率调控事件被触发;The event detection module is used to detect that the frame rate control event is triggered; 平均帧率获取模块,用于获取目标应用在目标采样时间内的平均帧率及帧间隔标准差,所述目标应用是终端当前启动并运行的应用程序;an average frame rate acquisition module, used for acquiring the average frame rate and frame interval standard deviation of the target application within the target sampling time, where the target application is an application program currently started and running by the terminal; 系统帧率调整模块,用于在所述帧间隔标准差满足预设条件时,将系统帧率调整为所述平均帧率;a system frame rate adjustment module, configured to adjust the system frame rate to the average frame rate when the standard deviation of the frame interval meets a preset condition; 在每次所述目标应用程序启动时,获取该目标应用在所述目标采样时间内平均帧率及帧间隔标准差,在检测到所述目标应用开启时下发的场景标识和结束时下发的场景标识时,获取所述目标应用采样时间区间内的帧数,将所述采样时间区间内对应的帧数及时间区间作为样本空间内的样本,根据该帧数及时间区间计算参考平均帧率及帧间隔参考标准差,根据参考平均帧率和帧间隔参考标准差计算预设采样次数的平均帧率及帧间隔标准差,进行保存,若再次检测到应用开启时下发的场景标识,则由平均帧率及帧间隔标准差的存储位置获取上述采样信息;Each time the target application is started, the average frame rate and frame interval standard deviation of the target application within the target sampling time are obtained, the scene identifier issued when it is detected that the target application is started, and the scene issued at the end When identifying, the number of frames in the sampling time interval of the target application is obtained, the corresponding frame number and time interval in the sampling time interval are taken as samples in the sample space, and the reference average frame rate and the time interval are calculated according to the frame number and time interval. Frame interval reference standard deviation, calculate the average frame rate and frame interval standard deviation of the preset sampling times according to the reference average frame rate and frame interval reference standard deviation, and save them. The storage location of frame rate and frame interval standard deviation obtains the above sampling information; 在每次检测到所述目标应用的场景标识是对应的开启标识时,所述目标应用的开启次数加1,得到目标应用的最新开启次数,将该最新开启次数作为目标应用开启的次数,该次数大于所述预设采样次数,则触发帧率调控事件;Each time it is detected that the scene identifier of the target application is the corresponding opening identifier, the number of opening times of the target application is increased by 1 to obtain the latest opening times of the target application, and the latest opening times are regarded as the opening times of the target application. If the number of times is greater than the preset number of sampling times, a frame rate adjustment event is triggered; 所述目标采样时间包括目标应用开启至结束对应的时间区间。The target sampling time includes a time interval corresponding to the target application starting to ending. 8.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一所述的帧率调控方法。8. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the frame rate control method according to any one of claims 1-6 is implemented. 9.一种终端,其特征在于,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-6任一所述的帧率调控方法。9. A terminal, characterized in that, comprising a memory, a processor and a computer program stored on the memory and running on the processor, and when the processor executes the computer program, any one of claims 1-6 is realized. The frame rate control method described above.
CN201811201767.5A 2018-10-16 2018-10-16 Frame rate regulation and control method, device, storage medium and terminal Active CN109157839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811201767.5A CN109157839B (en) 2018-10-16 2018-10-16 Frame rate regulation and control method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811201767.5A CN109157839B (en) 2018-10-16 2018-10-16 Frame rate regulation and control method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN109157839A CN109157839A (en) 2019-01-08
CN109157839B true CN109157839B (en) 2022-10-11

Family

ID=64878216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811201767.5A Active CN109157839B (en) 2018-10-16 2018-10-16 Frame rate regulation and control method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109157839B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131423B (en) * 2019-06-25 2024-08-27 杭州海康威视数字技术股份有限公司 Picture acquisition method, device and system
CN110366035B (en) * 2019-07-19 2021-08-24 广州酷狗计算机科技有限公司 Frame rate control method, apparatus, computer device and computer-readable storage medium
CN110647366B (en) * 2019-09-19 2023-08-22 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for dealing with stuck
CN110659136B (en) * 2019-09-19 2022-07-15 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for limiting frame rate
CN110860086B (en) * 2019-11-08 2023-08-15 武汉微派网络科技有限公司 Data processing method, readable storage medium, and electronic device
CN111084985B (en) * 2019-12-23 2023-05-26 上海米哈游天命科技有限公司 Parameter adjusting method and device of input equipment, terminal equipment and medium
CN112637680B (en) * 2020-12-18 2023-03-24 努比亚技术有限公司 Display frame rate processing control method, device and computer readable storage medium
CN114632329B (en) * 2022-05-16 2022-10-25 荣耀终端有限公司 Terminal equipment performance adjusting method and related device
CN117940989A (en) * 2022-08-26 2024-04-26 京东方科技集团股份有限公司 Image processing method and device
CN119559920A (en) * 2023-09-04 2025-03-04 Oppo广东移动通信有限公司 Frame rate switching method, device, electronic device, storage medium, and product
CN117806474B (en) * 2024-02-21 2024-06-14 深圳尚睿博科技有限公司 Electronic contest mouse with self-adaptive refresh rate and response control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080022276A (en) * 2006-09-06 2008-03-11 엘지전자 주식회사 Screen control device and method of image display device
CN105100675A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Terminal video communication quality adjusting method and system
CN107800989A (en) * 2017-10-16 2018-03-13 深圳市天视通电子科技有限公司 Image display method, system and Network Personal Video Recorder based on the detection of dynamic frame per second
CN108427630A (en) * 2018-03-15 2018-08-21 腾讯科技(深圳)有限公司 Performance information acquisition methods, device, terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080022276A (en) * 2006-09-06 2008-03-11 엘지전자 주식회사 Screen control device and method of image display device
CN105100675A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Terminal video communication quality adjusting method and system
CN107800989A (en) * 2017-10-16 2018-03-13 深圳市天视通电子科技有限公司 Image display method, system and Network Personal Video Recorder based on the detection of dynamic frame per second
CN108427630A (en) * 2018-03-15 2018-08-21 腾讯科技(深圳)有限公司 Performance information acquisition methods, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109157839A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109157839B (en) Frame rate regulation and control method, device, storage medium and terminal
US10863213B2 (en) Method and device for controlling frame rate of electronic device, storage medium, and electronic device
US10460643B2 (en) Method, device and non-transitory computer-readable storage medium for controlling frame rate of mobile terminal
US10475413B2 (en) Method and apparatus for adjusting backlight brightness of screen, and mobile terminal
US10565965B2 (en) Method and device for controlling refresh rate of mobile terminal and mobile terminal
CN106919243B (en) Mobile terminal control method and device and mobile terminal
CN106919401B (en) A method, device and mobile terminal for dynamically adjusting resolution
CN106686257B (en) Mobile terminal control method and device and mobile terminal
US11145238B2 (en) Method for controlling image graphing of terminal, nontransitory computer-readable storage medium, and terminal
CN109460364B (en) Application program detection method and device, storage medium and mobile terminal
CN106951054B (en) Application control method and device and mobile terminal
US10504466B2 (en) Method, device and non-transitory computer-readable medium for control of refresh frequency of display unit
EP3584676A1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
CN106791212A (en) A kind of control method of mobile terminal refresh rate, device and mobile terminal
CN106933327B (en) Method and device for controlling frame rate of mobile terminal and mobile terminal
CN106658691B (en) Display control method and device and mobile terminal
CN107483721A (en) Black screen gesture-based control method, device, storage medium and mobile terminal
CN106710535B (en) Screen backlight adjusting method and device and mobile terminal
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN106657680A (en) Method and device for controlling frame rate of mobile terminal and mobile terminal
CN108648259A (en) image drawing method, device, storage medium and intelligent terminal
CN106941621B (en) Mobile terminal control method and device and mobile terminal
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
CN108693948B (en) Frame rate adjustment method, device, terminal device and storage medium
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
GR01 Patent grant
GR01 Patent grant