[go: up one dir, main page]

CN111352555A - A performance optimization method and device for list sliding - Google Patents

A performance optimization method and device for list sliding Download PDF

Info

Publication number
CN111352555A
CN111352555A CN201811585416.9A CN201811585416A CN111352555A CN 111352555 A CN111352555 A CN 111352555A CN 201811585416 A CN201811585416 A CN 201811585416A CN 111352555 A CN111352555 A CN 111352555A
Authority
CN
China
Prior art keywords
sliding
list
performance optimization
terminal device
rate value
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.)
Pending
Application number
CN201811585416.9A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811585416.9A priority Critical patent/CN111352555A/en
Priority to PCT/CN2019/127830 priority patent/WO2020135399A1/en
Publication of CN111352555A publication Critical patent/CN111352555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种列表滑动的性能优化方法及装置,获取终端设备上列表的滑动距离以及滑动帧率,依据滑动距离以及滑动帧率,确定终端设备上列表的最大滑动速率值,并在确定终端设备上的列表滑动速率值大于最大滑动速率值,采用第一性能优化策略进行性能优化,通过确定不同终端对应的最大滑动速率值,使得能够针对不同终端的性能进行优化,提升用户体验。

Figure 201811585416

The invention discloses a performance optimization method and device for list sliding, which obtains the sliding distance and sliding frame rate of the list on the terminal device, determines the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate, and determines the maximum sliding rate value of the list on the terminal device. If the list sliding rate value on the terminal device is greater than the maximum sliding rate value, the first performance optimization strategy is used to optimize the performance. By determining the maximum sliding rate value corresponding to different terminals, the performance of different terminals can be optimized and user experience can be improved.

Figure 201811585416

Description

一种列表滑动的性能优化方法及装置A performance optimization method and device for list sliding

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种列表滑动的性能优化方法及装置。The present invention relates to the field of communication technologies, and in particular, to a performance optimization method and device for list sliding.

背景技术Background technique

随着移动终端的不断普及,移动终端中各类应用界面的显示效果也越来越逼真,所能显示的数据也越来越多,所显示数据的结构也越来越复杂。在信息内容较多或信息内容比较复杂时通常都会采用列表的形式呈现。With the continuous popularization of mobile terminals, the display effects of various application interfaces in the mobile terminals are becoming more and more realistic, and more and more data can be displayed, and the structure of the displayed data is also more and more complicated. When the information content is more or the information content is more complex, it is usually presented in the form of a list.

如果信息内容设计的比较复杂,在性能比较差的终端上就可能会出现卡顿的现象,因此出现了一些性能优化的方法,例如,使用较少的视图层级,即原来可能用附图、文字以及表格等呈现内容,在优化时可能减少表格的呈现方式;也可以通过停止异步数据加载来优化,例如,在检测到滑动时就停止异步数据加载等。If the design of the information content is more complex, the phenomenon of lag may occur on the terminal with poor performance, so there are some performance optimization methods. As well as presentation content such as tables, the presentation method of tables may be reduced during optimization; it can also be optimized by stopping asynchronous data loading, for example, stopping asynchronous data loading when sliding is detected.

目前的这些优化方法适用的场景都比较固定,并且仅是对于性能较差的终端优化效果可能会明显一些。The currently applicable scenarios of these optimization methods are relatively fixed, and the optimization effect may be obvious only for terminals with poor performance.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种列表滑动的性能优化方法及装置,以提高列表滑动的性能优化质量,并且能够适用于不同性能的终端。The purpose of the present invention is to provide a performance optimization method and device for list sliding, so as to improve the performance optimization quality of list sliding, and it can be applied to terminals with different performances.

本发明的目的是通过以下技术方案实现的:The purpose of this invention is to realize through the following technical solutions:

第一方面,本发明提供一种列表滑动的性能优化方法,包括:In a first aspect, the present invention provides a performance optimization method for list sliding, including:

获取终端设备上列表的滑动距离以及滑动帧率,所述滑动距离为所述列表连续刷新两次时列表的移动距离,所述滑动帧率为所述列表连续刷新两次的时间间隔的倒数;Obtain the sliding distance and sliding frame rate of the list on the terminal device, where the sliding distance is the moving distance of the list when the list is refreshed twice in a row, and the sliding frame rate is the reciprocal of the time interval when the list is refreshed twice in a row;

依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值;Determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate;

若确定终端设备上的列表滑动速率值大于所述最大滑动速率值,则采用第一性能优化策略进行性能优化;所述第一性能优化策略包括如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。If it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value, a first performance optimization strategy is used for performance optimization; the first performance optimization strategy includes at least one of the following processing tasks: stopping time-consuming calculation processing, Stop asynchronous thread loading and stop timing calculation logic.

可选的,所述方法还包括:Optionally, the method further includes:

若确定所述终端设备上的列表滑动速率值小于所述最大滑动速率值,则采用第二性能优化策略进行性能优化;所述第二性能优化策略包括如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。If it is determined that the list sliding rate value on the terminal device is less than the maximum sliding rate value, a second performance optimization strategy is used to perform performance optimization; the second performance optimization strategy includes at least one of the following processing tasks: time-consuming calculation processing , Asynchronous thread loading, timing calculation logic.

可选的,依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值,包括:Optionally, according to the sliding distance and the sliding frame rate, determine the maximum sliding rate value of the list on the terminal device, including:

依据所述列表的滑动距离与滑动帧率的乘积,确定所述终端设备上列表的最大滑动速率值。The maximum sliding rate value of the list on the terminal device is determined according to the product of the sliding distance of the list and the sliding frame rate.

可选的,获取终端设备上列表的滑动距离,包括:Optionally, obtain the sliding distance of the list on the terminal device, including:

利用滑动探测器获取列表的滑动距离;Use the sliding detector to obtain the sliding distance of the list;

所述列表连续刷新两次的时间间隔利用如下方式得到:The time interval between two consecutive refreshes of the list is obtained in the following manner:

利用定时器获取所述列表连续刷新两次的时间间隔。A timer is used to obtain the time interval between two consecutive refreshes of the list.

第二方面,本发明提供一种列表滑动的性能优化装置,包括:In a second aspect, the present invention provides a performance optimization device for list sliding, including:

获取单元,用于获取终端设备上列表的滑动距离以及滑动帧率,所述滑动距离为所述列表连续刷新两次时列表的移动距离,所述滑动帧率为所述列表连续刷新两次的时间间隔的倒数;The obtaining unit is used to obtain the sliding distance and sliding frame rate of the list on the terminal device, the sliding distance is the moving distance of the list when the list is refreshed twice in a row, and the sliding frame rate is the time when the list is refreshed twice in a row. the inverse of the time interval;

确定单元,用于依据所述获取单元获取的滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值;a determining unit, configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate acquired by the acquiring unit;

处理单元,用于在确定终端设备上的列表滑动速率值大于所述最大滑动速率值时,采用第一性能优化策略进行性能优化;所述第一性能优化策略包括如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。a processing unit, configured to use a first performance optimization strategy to perform performance optimization when it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value; the first performance optimization strategy includes at least one of the following processing tasks: stop Time-consuming calculation processing, stop asynchronous thread loading, stop timing calculation logic.

可选的,所述处理单元还用于:Optionally, the processing unit is also used for:

在确定所述终端设备上的列表滑动速率值小于所述最大滑动速率值时,采用第二性能优化策略进行性能优化;所述第二性能优化策略包括如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。When it is determined that the list sliding rate value on the terminal device is less than the maximum sliding rate value, a second performance optimization strategy is used to perform performance optimization; the second performance optimization strategy includes at least one of the following processing tasks: time-consuming calculation processing , Asynchronous thread loading, timing calculation logic.

可选的,所述确定单元具体用于按如下方式依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值:Optionally, the determining unit is specifically configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate as follows:

依据所述列表的滑动距离与滑动帧率的乘积,确定所述终端设备上列表的最大滑动速率值。The maximum sliding rate value of the list on the terminal device is determined according to the product of the sliding distance of the list and the sliding frame rate.

可选的,获取单元具体用于按如下方式获取终端设备上列表的滑动距离:Optionally, the obtaining unit is specifically configured to obtain the sliding distance of the list on the terminal device as follows:

利用滑动探测器获取列表的滑动距离;Use the sliding detector to obtain the sliding distance of the list;

所述列表连续刷新两次的时间间隔利用如下方式得到:The time interval between two consecutive refreshes of the list is obtained in the following manner:

利用定时器获取所述列表连续刷新两次的时间间隔。A timer is used to obtain the time interval between two consecutive refreshes of the list.

第三方面,本发明提供一种列表滑动的性能优化装置,包括:In a third aspect, the present invention provides a performance optimization device for list sliding, including:

存储器,用于存储程序指令;memory for storing program instructions;

处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行如第一方面所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method described in the first aspect according to the obtained program.

第四方面,本发明提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行第一方面所述的方法。In a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, which, when executed on a computer, cause the computer to execute the method described in the first aspect.

本发明提供一种列表滑动的性能优化方法及装置,获取终端设备上列表的滑动距离以及滑动帧率,依据滑动距离以及滑动帧率,确定终端设备上列表的最大滑动速率值,并在确定终端设备上的列表滑动速率值大于最大滑动速率值,采用第一性能优化策略进行性能优化,通过确定不同终端对应的最大滑动速率值,使得能够针对不同终端的性能进行优化,提高列表滑动的性能优化质量,进而提升用户体验。The present invention provides a performance optimization method and device for list sliding, which obtains the sliding distance and sliding frame rate of the list on the terminal device, determines the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate, and determines the maximum sliding rate value of the list on the terminal device. If the list sliding rate value on the device is greater than the maximum sliding rate value, the first performance optimization strategy is used to optimize the performance. By determining the maximum sliding rate value corresponding to different terminals, it is possible to optimize the performance of different terminals and improve the performance optimization of list sliding. quality, thereby improving the user experience.

附图说明Description of drawings

图1为本申请实施例提供一种列表滑动的性能优化方法流程图;1 provides a flowchart of a performance optimization method for list sliding according to an embodiment of the present application;

图2为本申请实施例提供一种速率与帧率的数据曲线图;FIG. 2 provides a data graph of a rate and a frame rate for an embodiment of the present application;

图3为本申请实施例提供一种列表滑动的性能优化装置的结构框图;FIG. 3 provides a structural block diagram of a performance optimization device for list sliding according to an embodiment of the present application;

图4为本申请实施例提供另一种列表滑动的性能优化装置的示意图。FIG. 4 is a schematic diagram of another performance optimization apparatus for list sliding according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,并不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

目前,针对列表滑动性能的优化方法适用的场景都比较固定,不能根据不同的业务场景进行动态调整,更不能中根据不同终端的性能进行动态调整。At present, the applicable scenarios of the optimization method for list sliding performance are relatively fixed, and cannot be dynamically adjusted according to different business scenarios, nor can it be dynamically adjusted according to the performance of different terminals.

有鉴于此,本申请实施例提供一种列表滑动的性能优化方法及装置,通过确定不同终端对应的最大滑动速率值,并在滑动速率值大于最大滑动速率值时,进行性能优化,从而能够针对不同终端的性能进行优化,提高性能优化的质量。In view of this, the embodiments of the present application provide a performance optimization method and device for list sliding, by determining the maximum sliding rate values corresponding to different terminals, and performing performance optimization when the sliding rate value is greater than the maximum sliding rate value, so as to The performance of different terminals is optimized to improve the quality of performance optimization.

其中,需要理解的是,在下文的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。Among them, it should be understood that in the following description, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implied order.

如图1所示为本申请实施例提供的一种列表滑动的性能优化方法流程图,参阅图1所示,该方法包括:FIG. 1 shows a flowchart of a performance optimization method for list sliding provided by an embodiment of the present application. Referring to FIG. 1 , the method includes:

S101:获取终端设备上列表的滑动距离以及滑动帧率。S101: Obtain the sliding distance and the sliding frame rate of the list on the terminal device.

具体的,滑动距离(distance)为终端设备上列表连续刷新两次时列表的移动距离,帧率(FPs)为列表连续刷新两次的时间间隔(ΔT)的倒数。Specifically, the sliding distance (distance) is the moving distance of the list when the list is refreshed twice in a row on the terminal device, and the frame rate (FPs) is the reciprocal of the time interval (ΔT) between the two consecutive refreshes of the list.

S102:依据滑动距离以及滑动帧率,确定终端设备上列表的最大滑动速率值。S102: Determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate.

本申请实施例中,可根据列表的滑动距离(distance)以及滑动的帧率(FPs)确定列表的最大滑动速率值VmaxIn this embodiment of the present application, the maximum sliding rate value V max of the list may be determined according to the sliding distance (distance) of the list and the sliding frame rate (FPs).

具体的,滑动速率帧率

Figure BDA0001918965850000052
Specifically, the sliding rate frame rate
Figure BDA0001918965850000052

因此,由上面两个公式可知:Vmax=distance×FPs。Therefore, it can be known from the above two formulas: V max =distance×FPs.

按照上述公式可计算出速率以及帧率,如表1所示为不同速率以及帧率的数据记录,参照表1所示。The rate and frame rate can be calculated according to the above formula. As shown in Table 1, the data records of different rates and frame rates are shown in Table 1.

表1速率以及帧率数据记录表Table 1 Rate and frame rate data record table

Figure BDA0001918965850000053
Figure BDA0001918965850000053

由表1可知:在帧率大于55帧时,用户使用感知比较流畅,在帧率小于55帧时,用户使用感知比较卡顿,因此,本申请实施例中可将帧率为55帧的速率值定义为最大滑动速率值。It can be seen from Table 1 that when the frame rate is greater than 55 frames, the user's perception of use is relatively smooth, and when the frame rate is less than 55 frames, the user's perception of use is relatively stuck. The value is defined as the maximum slip rate value.

也就是说,对于不同性能的终端而言,所对应的最大滑动速率值均不同。That is to say, for terminals with different performances, the corresponding maximum sliding rate values are all different.

当FPs=55,即:Vmax=55×distance。When FPs=55, that is: V max =55×distance.

将表1转换为曲线图,可清晰的确定最大滑动速率值所对应的帧率,如图2所示为本申请实施例提供的一种最大滑动速率值的曲线图,参阅图2所示。By converting Table 1 into a graph, the frame rate corresponding to the maximum sliding rate value can be clearly determined. FIG. 2 shows a graph of a maximum sliding rate value provided by the embodiment of the present application.

由图2可知:最大滑动速率Vmax=1.5pix/ms,可理解为一秒滑动一屏幕的数据。It can be seen from FIG. 2 that the maximum sliding rate V max =1.5pix/ms, which can be understood as the data of sliding one screen per second.

在本申请实施例中,可将屏幕(列表)连续刷新两次的频率设置为60次/秒,即T=1/60。In this embodiment of the present application, the frequency at which the screen (list) is refreshed twice in a row can be set to 60 times/second, that is, T=1/60.

需要理解的是,本申请实施例中的最大滑动速率Vmax可作为速率阈值。It should be understood that the maximum sliding rate V max in the embodiment of the present application may be used as the rate threshold.

S103:判断列表的滑动速率值是否大于最大滑动速率值,若大于则执行步骤S104,若小于则执行步骤S105。S103: Determine whether the sliding rate value of the list is greater than the maximum sliding rate value, and if it is greater than the maximum sliding rate value, perform step S104, and if it is less than the maximum sliding rate value, perform step S105.

S104:若确定终端设备上的列表滑动速率值大于最大滑动速率值,则采用第一性能优化策略进行性能优化。S104: If it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value, use the first performance optimization strategy to perform performance optimization.

具体的,第一性能优化策略如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。Specifically, the first performance optimization strategy includes at least one of the following processing tasks: stopping time-consuming calculation processing, stopping asynchronous thread loading, and stopping timing calculation logic.

本申请实施例中,当列表滑动的速率值大于阈值(即最大滑动速率值)时,可停止耗时计算处理、停止异步线程加载、停止定时计算逻辑等任务。In this embodiment of the present application, when the list sliding rate value is greater than the threshold (ie, the maximum sliding rate value), tasks such as time-consuming calculation processing, asynchronous thread loading, and timing calculation logic can be stopped.

S105:若确定终端设备上的列表滑动速率值小于最大滑动速率值,则采用第二性能优化策略进行性能优化。S105: If it is determined that the list sliding rate value on the terminal device is smaller than the maximum sliding rate value, use the second performance optimization strategy to perform performance optimization.

具体的,第二性能优化策略如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。Specifically, the second performance optimization strategy includes at least one processing task as follows: time-consuming computing processing, asynchronous thread loading, and timing computing logic.

需要理解的是,第一性能优化策略与第二性能优化策略为相对的策略。It should be understood that the first performance optimization strategy and the second performance optimization strategy are relative strategies.

本申请实施例中,当列表滑动的速率值小于阈值(即最大滑动速率值)时,可恢复耗时计算处理、异步线程加载、定时计算逻辑等。In this embodiment of the present application, when the list sliding rate value is less than the threshold (ie, the maximum sliding rate value), time-consuming calculation processing, asynchronous thread loading, timing calculation logic, and the like can be restored.

以下将对上述所列举的“耗时计算处理”、“异步线程加载”、“定时计算逻辑”进行详细说明。The "time-consuming calculation processing", "asynchronous thread loading", and "timed calculation logic" listed above will be described in detail below.

(1)、耗时计算处理包括:时间格式转化,图片绘制以及一些其他的特殊的复杂计算。(1) Time-consuming calculation processing includes: time format conversion, picture drawing and some other special complex calculations.

例如,将时间戳数据1532342550000转换为具体的日期“2018-07-2318:42:30”,或是转换为“一分钟前”、“一周前”等的相对时间格式。For example, convert the timestamp data 1532342550000 to a specific date "2018-07-2318:42:30", or convert it to a relative time format such as "a minute ago", "a week ago", etc.

图片绘制指的是把读取图片文件并渲染到屏幕上展示的过程,该过程包括图片的解码、缩放、绘制三个步骤,对于一张大图片耗时是非常长的。Picture drawing refers to the process of reading a picture file and rendering it to the screen for display. This process includes three steps of picture decoding, scaling, and drawing. It takes a long time for a large picture.

针对这些耗时较多的计算,当滑动速率大于Vmax时可以选择停止计算,直接使用缓存或是默认展位图展示,因为用户在快速滑动时本身就看不清这些信息,所在滑动速度较快时可不加载耗时信息来提升滑动性能。For these time-consuming calculations, when the sliding rate is greater than V max , you can choose to stop the calculation and directly use the cache or the default booth map display, because the user cannot see the information when sliding quickly, and the sliding speed is faster. Time-consuming information may not be loaded to improve sliding performance.

并且在滑动速率慢下来,也就是用户真正关心数据时,再恢复当前可见屏幕内的数据计算,即恢复停止的处理任务。And when the sliding rate slows down, that is, when the user really cares about the data, the data calculation in the currently visible screen is resumed, that is, the stopped processing task is resumed.

(2)、异步线程加载:主要指图片、音视频数据,由于这些数据都比较大,为了不阻塞主线程都会采用异步线程加载,但是大量的数据下载也会消耗中央处理器(CentralProcessing Unit,CPU),从而导致滑动帧率下降。(2) Asynchronous thread loading: mainly refers to picture, audio and video data. Since these data are relatively large, asynchronous thread loading will be used in order not to block the main thread, but a large amount of data download will also consume the central processing unit (Central Processing Unit, CPU) ), resulting in a drop in sliding frame rate.

针对该场景,当滑动速率大于Vmax时可以停止异步线程加载,减少CPU的消耗,当滑动速率慢下来时,再恢复当前可见屏幕内的数据异步加载。For this scenario, when the sliding rate is greater than V max , the asynchronous thread loading can be stopped to reduce CPU consumption. When the sliding rate slows down, the asynchronous loading of the data in the currently visible screen can be resumed.

(3)、定时计算逻辑:主要指的是一些通过定时器实现轮播的组件样式。当滑动速率大于Vmax时可以停止定时器轮播,减少CPU、图形处理器(Graphics Processing Unit,GPU)的消耗,当滑动速率慢下来时,再恢复定时器。(3) Timing calculation logic: mainly refers to some component styles that implement carousel through timers. When the sliding rate is greater than V max , the timer rotation can be stopped to reduce the consumption of CPU and Graphics Processing Unit (GPU), and when the sliding rate is slowed down, the timer can be resumed.

进一步的,本申请实施例中依据滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值,包括:Further, in the embodiment of the present application, according to the sliding distance and the sliding frame rate, the maximum sliding rate value of the list on the terminal device is determined, including:

依据列表的滑动距离与滑动帧率的乘积,确定终端设备上列表的最大滑动速率值。Determine the maximum sliding rate value of the list on the terminal device according to the product of the sliding distance of the list and the sliding frame rate.

具体的,在确定最大滑动速率值时,滑动帧率为55帧,即用户感知流畅的帧率。Specifically, when determining the maximum sliding rate value, the sliding frame rate is 55 frames, that is, the user perceives a smooth frame rate.

更进一步的,获取终端设备上列表的滑动距离,可包括:利用滑动探测器获取列表的滑动距离。Further, acquiring the sliding distance of the list on the terminal device may include: using a sliding detector to acquire the sliding distance of the list.

列表连续刷新两次的时间间隔利用如下方式得到:利用定时器获取列表连续刷新两次的时间间隔。The time interval between two consecutive refreshes of the list is obtained by using the following method: using a timer to obtain the time interval between two consecutive refreshes of the list.

具体的,本申请实施例中可通过列表滑动探测器,检测列表滑动的方向以及滑动的距离。Specifically, in this embodiment of the present application, the list sliding detector may be used to detect the sliding direction and sliding distance of the list.

并且可通过定时器检测时间间隔,进而得到滑动帧率。定时器的频率可与屏幕刷新的频率一致,即60次/秒。And the time interval can be detected by the timer, and then the sliding frame rate can be obtained. The frequency of the timer can be consistent with the frequency of screen refresh, that is, 60 times/second.

可以理解的是,速率V即为滑动距离(像素个数)除以两次定时器回调的时间间隔,两次定时器回调的时间间隔即为列表连续刷新两次的时间间隔。It can be understood that the rate V is the sliding distance (number of pixels) divided by the time interval between two timer callbacks, and the time interval between two timer callbacks is the time interval between two consecutive refreshes of the list.

帧率FPs即为1除以两次定时器回调的时间间隔。The frame rate FPs is 1 divided by the time interval between two timer callbacks.

本申请实施例所提供的列表滑动的性能优化方法相对于目前的性能优化方法,可通过监测滑动速率即帧率数据,根据监测结果计算出最大滑动速率值,并将该最大滑动速率值作为阈值与当前滑动速率进行比较,判断是否停止耗时计算处理、是否停止异步线程加载、是否定时计算逻辑,从而能够根据不同终端对滑动性能进行优化,提升用户体验。Compared with the current performance optimization method, the performance optimization method for list sliding provided by the embodiment of the present application can monitor the sliding rate, that is, the frame rate data, calculate the maximum sliding rate value according to the monitoring result, and use the maximum sliding rate value as the threshold value Compared with the current sliding rate, it is judged whether to stop the time-consuming calculation processing, whether to stop the asynchronous thread loading, and whether to time the calculation logic, so that the sliding performance can be optimized according to different terminals, and the user experience can be improved.

基于与上述一种列表滑动的性能优化方法实施例相同的构思,本发明实施例还提供一种列表滑动的性能优化装置。图3所示为本发明实施例提供的一种列表滑动的性能优化装置的结构框图,包括:获取单元101、确定单元102、处理单元103。Based on the same concept as the above-mentioned embodiment of the performance optimization method for list sliding, the embodiment of the present invention further provides a performance optimization device for list sliding. FIG. 3 is a structural block diagram of a performance optimization apparatus for list sliding provided by an embodiment of the present invention, including: an acquisition unit 101 , a determination unit 102 , and a processing unit 103 .

获取单元101,用于获取终端设备上列表的滑动距离以及滑动帧率,滑动距离为列表连续刷新两次时列表的移动距离,滑动帧率为列表连续刷新两次的时间间隔的倒数。The obtaining unit 101 is configured to obtain the sliding distance and sliding frame rate of the list on the terminal device, where the sliding distance is the moving distance of the list when the list is refreshed twice in a row, and the sliding frame rate is the reciprocal of the time interval when the list is refreshed twice in a row.

确定单元102,用于依据获取单元101获取的滑动距离以及滑动帧率,确定终端设备上列表的最大滑动速率值。The determining unit 102 is configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate acquired by the acquiring unit 101 .

处理单元103,用于在确定终端设备上的列表滑动速率值大于最大滑动速率值时,采用第一性能优化策略进行性能优化。The processing unit 103 is configured to use the first performance optimization strategy to perform performance optimization when it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value.

第一性能优化策略包括如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。The first performance optimization strategy includes at least one of the following processing tasks: stopping time-consuming calculation processing, stopping asynchronous thread loading, and stopping timing calculation logic.

进一步的,处理单元103还用于:Further, the processing unit 103 is also used for:

在确定终端设备上的列表滑动速率值小于最大滑动速率值时,采用第二性能优化策略进行性能优化。When it is determined that the list sliding rate value on the terminal device is less than the maximum sliding rate value, the second performance optimization strategy is used to perform performance optimization.

第二性能优化策略包括如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。The second performance optimization strategy includes at least one of the following processing tasks: time-consuming computing processing, asynchronous thread loading, and timing computing logic.

具体的,确定单元102具体用于按如下方式依据滑动距离以及滑动帧率,确定终端设备上列表的最大滑动速率值:Specifically, the determining unit 102 is specifically configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate as follows:

依据列表的滑动距离与滑动帧率的乘积,确定终端设备上列表的最大滑动速率值。Determine the maximum sliding rate value of the list on the terminal device according to the product of the sliding distance of the list and the sliding frame rate.

更进一步的,获取单元101具体用于按如下方式获取终端设备上列表的滑动距离:Further, the obtaining unit 101 is specifically configured to obtain the sliding distance of the list on the terminal device as follows:

利用滑动探测器获取列表的滑动距离。Use the sliding detector to get the sliding distance of the list.

并且,列表连续刷新两次的时间间隔利用如下方式得到:利用定时器获取列表连续刷新两次的时间间隔。In addition, the time interval between two consecutive refreshes of the list is obtained in the following manner: the time interval between two consecutive refreshes of the list is obtained by using a timer.

需要说明的是,本发明实施例中上述涉及的列表滑动的性能优化装置中各个单元的功能实现可以进一步参照相关方法实施例的描述,在此不再赘述。It should be noted that, for the function implementation of each unit in the above-mentioned performance optimization apparatus for list sliding in the embodiments of the present invention, further reference may be made to the description of the related method embodiments, and details are not repeated here.

本申请实施例还提供另外一种列表滑动的性能优化装置,如图4所示,该装置包括:The embodiment of the present application also provides another performance optimization device for list sliding, as shown in FIG. 4 , the device includes:

存储器202,用于存储程序指令。Memory 202 for storing program instructions.

收发机201,用于接收和发送的列表滑动的性能优化指令。The transceiver 201 is used for receiving and sending performance optimization instructions for list sliding.

处理器200,用于调用所述存储器中存储的程序指令,根据收发机201接收到的指令按照获得的程序执行本申请实施例所述的任一方法流程。处理器200用于实现图3所示的确定单元(102)、处理单元(103)所执行的方法。The processor 200 is configured to call the program instructions stored in the memory, and execute any method process described in the embodiments of the present application according to the instructions received by the transceiver 201 and according to the obtained program. The processor 200 is configured to implement the method performed by the determining unit (102) and the processing unit (103) shown in FIG. 3 .

其中,在图4中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器200代表的一个或多个处理器和存储器202代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。4, the bus architecture may include any number of interconnected buses and bridges, specifically, one or more processors represented by processor 200 and various circuits of memory represented by memory 202 are linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. The bus interface provides the interface.

收发机201可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。Transceiver 201 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other devices over a transmission medium.

处理器200负责管理总线架构和通常的处理,存储器202可以存储处理器200在执行操作时所使用的数据。The processor 200 is responsible for managing the bus architecture and general processing, and the memory 202 may store data used by the processor 200 in performing operations.

处理器200可以是中央处理器(CPU)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)。The processor 200 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or a complex programmable logic device (CPLD) ).

本申请实施例还提供了一种计算机存储介质,用于储存为上述本申请实施例中所述的任一装置所用的计算机程序指令,其包含用于执行上述本申请实施例提供的任一方法的程序。The embodiments of the present application further provide a computer storage medium for storing computer program instructions used by any of the apparatuses described in the above embodiments of the present application, including instructions for executing any of the methods provided by the above embodiments of the present application program of.

所述计算机存储介质可以是计算机能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。The computer storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (eg, floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (eg CD, DVD, BD, HVD, etc.), and semiconductor memory (eg, ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state disk (SSD)), and the like.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (10)

1.一种列表滑动的性能优化方法,其特征在于,包括:1. a performance optimization method of list sliding, is characterized in that, comprises: 获取终端设备上列表的滑动距离以及滑动帧率,所述滑动距离为所述列表连续刷新两次时列表的移动距离,所述滑动帧率为所述列表连续刷新两次的时间间隔的倒数;Obtain the sliding distance and sliding frame rate of the list on the terminal device, where the sliding distance is the moving distance of the list when the list is refreshed twice in a row, and the sliding frame rate is the reciprocal of the time interval when the list is refreshed twice in a row; 依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值;Determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate; 若确定终端设备上的列表滑动速率值大于所述最大滑动速率值,则采用第一性能优化策略进行性能优化;所述第一性能优化策略包括如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。If it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value, a first performance optimization strategy is used for performance optimization; the first performance optimization strategy includes at least one of the following processing tasks: stopping time-consuming calculation processing, Stop asynchronous thread loading and stop timing calculation logic. 2.如权利要求1所述的方法,其特征在于,所述方法还包括:2. The method of claim 1, wherein the method further comprises: 若确定所述终端设备上的列表滑动速率值小于所述最大滑动速率值,则采用第二性能优化策略进行性能优化;所述第二性能优化策略包括如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。If it is determined that the list sliding rate value on the terminal device is less than the maximum sliding rate value, a second performance optimization strategy is used to perform performance optimization; the second performance optimization strategy includes at least one of the following processing tasks: time-consuming calculation processing , Asynchronous thread loading, timing calculation logic. 3.如权利要求1所述的方法,其特征在于,依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值,包括:3. The method of claim 1, wherein determining the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate, comprising: 依据所述列表的滑动距离与滑动帧率的乘积,确定所述终端设备上列表的最大滑动速率值。The maximum sliding rate value of the list on the terminal device is determined according to the product of the sliding distance of the list and the sliding frame rate. 4.如权利要求1所述的方法,其特征在于,获取终端设备上列表的滑动距离,包括:4. The method of claim 1, wherein acquiring the sliding distance of the list on the terminal device comprises: 利用滑动探测器获取列表的滑动距离;Use the sliding detector to obtain the sliding distance of the list; 所述列表连续刷新两次的时间间隔利用如下方式得到:The time interval between two consecutive refreshes of the list is obtained in the following manner: 利用定时器获取所述列表连续刷新两次的时间间隔。A timer is used to obtain the time interval between two consecutive refreshes of the list. 5.一种列表滑动的性能优化装置,其特征在于,包括:5. A performance optimization device for list sliding, characterized in that, comprising: 获取单元,用于获取终端设备上列表的滑动距离以及滑动帧率,所述滑动距离为所述列表连续刷新两次时列表的移动距离,所述滑动帧率为所述列表连续刷新两次的时间间隔的倒数;The obtaining unit is used to obtain the sliding distance and sliding frame rate of the list on the terminal device, the sliding distance is the moving distance of the list when the list is refreshed twice in a row, and the sliding frame rate is the time when the list is refreshed twice in a row. the inverse of the time interval; 确定单元,用于依据所述获取单元获取的滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值;a determining unit, configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate acquired by the acquiring unit; 处理单元,用于在确定终端设备上的列表滑动速率值大于所述最大滑动速率值时,采用第一性能优化策略进行性能优化;所述第一性能优化策略包括如下至少一项处理任务:停止耗时计算处理、停止异步线程加载、停止定时计算逻辑。a processing unit, configured to use a first performance optimization strategy to perform performance optimization when it is determined that the list sliding rate value on the terminal device is greater than the maximum sliding rate value; the first performance optimization strategy includes at least one of the following processing tasks: stop Time-consuming calculation processing, stop asynchronous thread loading, stop timing calculation logic. 6.如权利要求5所述的装置,其特征在于,所述处理单元还用于:6. The apparatus of claim 5, wherein the processing unit is further configured to: 在确定所述终端设备上的列表滑动速率值小于所述最大滑动速率值时,采用第二性能优化策略进行性能优化;所述第二性能优化策略包括如下至少一项处理任务:耗时计算处理、异步线程加载、定时计算逻辑。When it is determined that the list sliding rate value on the terminal device is less than the maximum sliding rate value, a second performance optimization strategy is used to perform performance optimization; the second performance optimization strategy includes at least one of the following processing tasks: time-consuming calculation processing , Asynchronous thread loading, timing calculation logic. 7.如权利要求5所述的装置,其特征在于,所述确定单元具体用于按如下方式依据所述滑动距离以及所述滑动帧率,确定终端设备上列表的最大滑动速率值:7. The apparatus according to claim 5, wherein the determining unit is specifically configured to determine the maximum sliding rate value of the list on the terminal device according to the sliding distance and the sliding frame rate as follows: 依据所述列表的滑动距离与滑动帧率的乘积,确定所述终端设备上列表的最大滑动速率值。The maximum sliding rate value of the list on the terminal device is determined according to the product of the sliding distance of the list and the sliding frame rate. 8.如权利要求5所述的装置,其特征在于,获取单元具体用于按如下方式获取终端设备上列表的滑动距离:8. The apparatus according to claim 5, wherein the obtaining unit is specifically configured to obtain the sliding distance of the list on the terminal device as follows: 利用滑动探测器获取列表的滑动距离;Use the sliding detector to obtain the sliding distance of the list; 所述列表连续刷新两次的时间间隔利用如下方式得到:The time interval between two consecutive refreshes of the list is obtained in the following manner: 利用定时器获取所述列表连续刷新两次的时间间隔。A timer is used to obtain the time interval between two consecutive refreshes of the list. 9.一种列表滑动的性能优化装置,其特征在于,包括:9. A performance optimization device for list sliding, characterized in that, comprising: 存储器,用于存储程序指令;memory for storing program instructions; 处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1~4任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 4 according to the obtained program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行权利要求1~4任一项所述的方法。10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, which, when the computer instructions are executed on a computer, cause the computer to execute any one of claims 1 to 4. Methods.
CN201811585416.9A 2018-12-24 2018-12-24 A performance optimization method and device for list sliding Pending CN111352555A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811585416.9A CN111352555A (en) 2018-12-24 2018-12-24 A performance optimization method and device for list sliding
PCT/CN2019/127830 WO2020135399A1 (en) 2018-12-24 2019-12-24 List sliding performance optimization method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811585416.9A CN111352555A (en) 2018-12-24 2018-12-24 A performance optimization method and device for list sliding

Publications (1)

Publication Number Publication Date
CN111352555A true CN111352555A (en) 2020-06-30

Family

ID=71126896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811585416.9A Pending CN111352555A (en) 2018-12-24 2018-12-24 A performance optimization method and device for list sliding

Country Status (2)

Country Link
CN (1) CN111352555A (en)
WO (1) WO2020135399A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327194A (en) * 2021-12-30 2022-04-12 展讯通信(上海)有限公司 Control method and device for list sliding and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542583A (en) * 2010-12-24 2012-07-04 北京金山软件有限公司 Method and device for displaying ambient effect in two-dimensional image
CN103455355A (en) * 2013-09-05 2013-12-18 南京朗睿软件科技有限公司 Android equipment, and asynchronous data uploading method and device for AdapterView of Android equipment
CN104035668A (en) * 2014-06-24 2014-09-10 广州金山网络科技有限公司 Method and system for optimization of sliding performance of asynchronously loaded data and mobile terminal
CN105892831A (en) * 2016-04-29 2016-08-24 青岛海信移动通信技术股份有限公司 Sliding display method and sliding display device of list data of mobile terminal
EP3100665A4 (en) * 2014-01-29 2018-01-10 Olympus Corporation Scanning endoscopic device and control method therefor
CN108710464A (en) * 2018-06-04 2018-10-26 Oppo(重庆)智能科技有限公司 Mobile terminal, control method and its storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070132789A1 (en) * 2005-12-08 2007-06-14 Bas Ording List scrolling in response to moving contact over list of index symbols
CN104021067B (en) * 2014-05-28 2017-11-14 广东欧珀移动通信有限公司 Sliding capability detection method, device and the mobile terminal of mobile terminal
CN104881221B (en) * 2015-05-27 2018-11-06 上海与德通讯技术有限公司 A kind of control method by sliding and touch control terminal
CN106227445A (en) * 2016-07-14 2016-12-14 乐视控股(北京)有限公司 display control method, device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542583A (en) * 2010-12-24 2012-07-04 北京金山软件有限公司 Method and device for displaying ambient effect in two-dimensional image
CN103455355A (en) * 2013-09-05 2013-12-18 南京朗睿软件科技有限公司 Android equipment, and asynchronous data uploading method and device for AdapterView of Android equipment
EP3100665A4 (en) * 2014-01-29 2018-01-10 Olympus Corporation Scanning endoscopic device and control method therefor
CN104035668A (en) * 2014-06-24 2014-09-10 广州金山网络科技有限公司 Method and system for optimization of sliding performance of asynchronously loaded data and mobile terminal
CN105892831A (en) * 2016-04-29 2016-08-24 青岛海信移动通信技术股份有限公司 Sliding display method and sliding display device of list data of mobile terminal
CN108710464A (en) * 2018-06-04 2018-10-26 Oppo(重庆)智能科技有限公司 Mobile terminal, control method and its storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327194A (en) * 2021-12-30 2022-04-12 展讯通信(上海)有限公司 Control method and device for list sliding and terminal

Also Published As

Publication number Publication date
WO2020135399A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
WO2015180444A1 (en) Method for adjusting screen refresh rate, terminal and computer storage medium
JP6314217B2 (en) Transition management of adaptive display rate for various video playback scenarios
TWI622015B (en) Frame based clock rate adjustment for processing unit
US9251552B2 (en) Method and apparatus for managing image data for presentation on a display
US9390447B1 (en) Insertion of media recommendations
WO2019144743A1 (en) Information display method and apparatus
CN111583886A (en) Screen refresh rate adjusting method, device, equipment and medium
US8947420B2 (en) Processing image content for content motion or touch input
CN112004086A (en) Video data processing method and device
US20170262955A1 (en) Scene-Aware Power Manager For GPU
TW201816713A (en) Method and device for animatedly displaying images on mobile equipment
US9564108B2 (en) Video frame processing on a mobile operating system
US20140092109A1 (en) Computer system and method for gpu driver-generated interpolated frames
JP6708734B2 (en) Navigation image drawing method, device and storage medium
US9123088B2 (en) Partial tile rendering
WO2017202175A1 (en) Method and device for video compression and electronic device
WO2022222721A1 (en) Computational resource scheduling method and apparatus
WO2022001027A1 (en) Projection screen picture self-adaption method and apparatus in network teaching
US9612880B1 (en) Media device temperature management
CN104244100A (en) Progress bar control method and device
US9715265B1 (en) Conditional power management activities
CN111352555A (en) A performance optimization method and device for list sliding
TWI602431B (en) Method and device for transmitting information
WO2021151228A1 (en) Methods and apparatus for adaptive frame headroom
WO2021000220A1 (en) Methods and apparatus for dynamic jank reduction

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication