A method, device, electronic device and storage medium for determining terminal fluency

By obtaining and analyzing the rendering data of the terminal and calculating the frame loss rate and frame rate, the problem of being unable to accurately measure the terminal fluency in the existing technology is solved, and the accurate measurement of the terminal fluency is achieved.

CN113176909BActive Publication Date: 2024-10-25BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110476804.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2024-10-25
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

The existing technology cannot truly measure the fluency of different terminals when drawing data frames of the same application within a preset time period, resulting in large errors in statistical data and the inability to accurately reflect the fluency.

Method used

By obtaining the rendering data of each terminal within the preset time period, including rendering frame data and frame time, calculate the frame loss rate, slow frame rate and frozen frame rate, determine the smoothness of the terminal within the preset time period, and then accurately Measure fluency.

Benefits of technology

It achieves accurate fluency measurement of different terminals drawing data frames of the same application within a preset time period, solves the problem of large errors in the existing technology, and provides a more realistic fluency reflection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113176909B_ABST
    Figure CN113176909B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, electronic device and storage medium for determining terminal fluency, and relates to the field of display technology, in order to at least solve the problem in the related technology that it is impossible to truly measure the fluency of different terminals when drawing data frames of the same application within the preset time period. The method comprises: obtaining rendering data of each terminal in at least one terminal that meets the preset conditions within the preset time period; wherein the rendering data comprises at least one of rendering frame data and frame time of each frame; and determining the fluency of the terminal that meets the preset conditions within the preset time period according to the obtained rendering data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display technology, and in particular to a method, device, electronic device and storage medium for determining terminal fluency. Background Art

[0002] When an application is used on a terminal, the application usually needs to continuously draw data frames of the application on the display screen of the terminal to show the display content of the application to the user. When the same application draws data frames of the application on different types of terminals, due to the difference in actual configuration information of each terminal, different terminals have different fluency when drawing data frames of the application.

[0003] To this end, a common practice in the prior art is to measure the fluency of different terminals when drawing data frames of the same application by frame rate. The frame rate mentioned here refers to the number of data frames drawn per second when the terminal draws the data frames of the application. When the frame rate is used to measure the fluency of different terminals when drawing data frames of the same application within a preset time period, if the application page is not updated, the frame rate measurement method in the prior art will also count the frame rate in the static state, which will result in a large error judgment in the statistical data, and thus cannot truly measure the fluency of different terminals when drawing data frames of the same application within the preset time period. Summary of the invention

[0004] The present disclosure provides a method, device, electronic device and storage medium for determining terminal fluency, so as to at least solve the problem in the related art that it is impossible to truly measure the fluency of different terminals when drawing data frames of the same application within a preset time period.

[0005] The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a method for determining terminal fluency is provided, comprising: obtaining rendering data of each terminal among at least one terminal that meets preset conditions within a preset time period; wherein the rendering data includes at least one of rendering frame data and frame time of each frame; and determining the fluency of the terminal that meets the preset conditions within a preset time period based on the obtained rendering data.

[0007] In one implementable manner, the rendering frame data includes a rated rendering frame number and an actual rendering frame number; in this case, the above-mentioned "determining the fluency of the terminal that meets the preset conditions within a preset time period based on the acquired rendering data" can be specifically implemented in the following manner: determining the frame loss rate of each terminal in at least one terminal based on the acquired rated rendering frame number and the actual rendering frame number; determining the fluency of the terminal that meets the preset conditions within a preset time period based on the frame loss rate of each terminal in at least one terminal.

[0008] In one implementable manner, the above-mentioned "determining the fluency of the terminals that meet the preset conditions within a preset time period based on the frame loss rate of each terminal in at least one terminal" can be specifically implemented in the following manner: determining the actual frame loss rate based on the frame loss rate of each terminal in at least one terminal; determining the fluency of the terminals that meet the preset conditions within the preset time period based on the actual frame loss rate.

[0009] In one implementable manner, the above-mentioned "determining the fluency of a terminal that meets the preset conditions within a preset time period based on the acquired rendering data" can be specifically implemented in the following manner: determining a slow frame rate and a frozen frame rate based on the frame time of each frame, the slow frame rate being used to indicate the ratio of the total number of frames whose frame time is greater than a first time threshold to the actual number of rendered frames, and the frozen frame rate being used to indicate the ratio of the total number of frames whose frame time is greater than a second time threshold to the actual number of rendered frames; determining the fluency of a terminal that meets the preset conditions within a preset time period based on the slow frame rate and the frozen frame rate.

[0010] In one implementable manner, the rendering frame data includes the actual number of rendered frames; in this case, the above-mentioned "determining the fluency of the terminal that meets the preset conditions within a preset time period based on the acquired rendering data" can be specifically implemented in the following manner: according to the acquired frame consumption of each frame, determine the total number of frames corresponding to each frame consumption, the maximum total number of frames and the frame consumption corresponding to the maximum total number of frames; based on the maximum total number of frames and the frame consumption corresponding to the maximum total number of frames, determine the time consumption interval; if the time consumption probability corresponding to the time consumption interval exceeds a predetermined threshold, determine the time consumption interval as the target time consumption interval; wherein the time consumption probability of the time consumption interval is the ratio of the sum of the total number of frames corresponding to each frame consumption contained in the time consumption interval to the actual number of rendered frames.

[0011] In an implementable manner, the preset condition includes at least one of the following: the target application program is installed, the same brand and model, the same configuration information, or the same system program.

[0012] According to a second aspect of an embodiment of the present disclosure, a device for determining terminal fluency is provided, characterized in that it includes an acquisition unit and a processing unit; the acquisition unit is configured to acquire rendering data of each terminal in at least one terminal that meets a preset condition within a preset time period; wherein the rendering data includes at least one of rendering frame data and frame time of each frame; the processing unit is configured to determine the fluency of the terminal that meets the preset condition within a preset time period based on the rendering data acquired by the acquisition unit.

[0013] In one implementable manner, the rendering frame data includes a rated rendering frame number and an actual rendering frame number; in this case, the processing unit is specifically configured to determine the frame loss rate of each terminal in at least one terminal based on the rated rendering frame number obtained by the acquisition unit and the actual rendering frame number obtained by the acquisition unit; the processing unit is specifically configured to determine the fluency of the terminal that meets the preset conditions within a preset time period based on the frame loss rate of each terminal in at least one terminal.

[0014] In one practicable manner, the processing unit is specifically configured to determine an actual frame loss rate based on a frame loss rate of each terminal in at least one terminal; the processing unit is specifically configured to determine a fluency of a terminal that meets a preset condition within a preset time period based on the actual frame loss rate.

[0015] In one implementable manner, the processing unit is specifically configured to determine a slow frame rate and a frozen frame rate based on the frame consumption of each frame acquired by the acquisition unit, the slow frame rate being used to indicate the ratio of the total number of frames whose frame consumption is greater than a first time consumption threshold to the actual number of rendered frames, and the frozen frame rate being used to indicate the ratio of the total number of frames whose frame consumption is greater than a second time consumption threshold to the actual number of rendered frames; the processing unit is specifically configured to determine the fluency of a terminal that meets preset conditions within a preset time period based on the slow frame rate and the frozen frame rate.

[0016] In one implementable manner, the rendering frame data includes the actual number of rendered frames; in this case, the processing unit is specifically configured to determine the total number of frames corresponding to each frame consumption, the maximum total number of frames and the frame consumption corresponding to the maximum total number of frames based on the frame consumption of each frame acquired by the acquisition unit; the processing unit is specifically configured to determine the time consumption interval based on the maximum total number of frames and the frame consumption corresponding to the maximum total number of frames; the processing unit is specifically configured to determine the time consumption interval as the target time consumption interval if the time consumption probability corresponding to the time consumption interval exceeds a predetermined threshold; wherein the time consumption probability of the time consumption interval is the ratio of the sum of the total number of frames corresponding to each frame consumption contained in the time consumption interval to the actual number of rendered frames.

[0017] In an implementable manner, the preset condition includes at least one of the following: the target application program is installed, the same brand and model, the same configuration information, or the same system program.

[0018] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0019] A processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method for determining fluency provided in the first aspect.

[0020] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of the electronic device provided by the third aspect, the electronic device is enabled to execute the method for determining fluency provided by the first aspect.

[0021] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising, when the computer program product is run on a computer, enabling the computer to execute a method for determining the fluency of a design method as in the first aspect.

[0022] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0023] From the above, it can be seen that when the preset condition is that the target application is installed, the terminal fluency determination method provided by the embodiment of the present disclosure obtains the rendering data of each terminal in at least one terminal that has the target application installed within a preset time period, and determines the fluency of the terminal that meets the preset condition within the preset time period based on the rendering data of each terminal, thereby accurately reflecting the fluency of different terminals when drawing data frames of the same application within the preset time period, thereby solving the problem in the related art that it is impossible to truly measure the fluency of different terminals when drawing data frames of the same application within the preset time period.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0026] Figure 1 is an architectural diagram of an implementation environment according to an exemplary embodiment;

[0027] Figure 2 is one of the flowcharts of a method for determining terminal fluency according to an exemplary embodiment;

[0028] Figure 3 is a second flowchart of a method for determining terminal fluency according to an exemplary embodiment;

[0029] Figure 4 is a third flowchart of a method for determining terminal fluency according to an exemplary embodiment;

[0030] Figure 5 is a fourth flowchart of a method for determining terminal fluency according to an exemplary embodiment;

[0031] Figure 6 is a fifth flowchart of a method for determining terminal fluency according to an exemplary embodiment;

[0032] Figure 7 is a schematic diagram of frame time and frame number of a method for determining terminal fluency according to an exemplary embodiment;

[0033] Figure 8 This is one of the structural schematic diagrams of a device for determining terminal fluency according to an exemplary embodiment;

[0034] Fig. 9 This is a second structural diagram of a device for determining terminal fluency according to an exemplary embodiment. DETAILED DESCRIPTION

[0035] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0037] Figure 1 is an architecture diagram of an implementation environment according to an exemplary embodiment. Figure 1As shown, the following method for determining the terminal fluency can be applied in the implementation environment. The implementation environment includes at least one electronic device 01 and a server 02. The server 02 is used to obtain the rendering data of each terminal in at least one terminal that meets the preset conditions within a preset time period; the electronic device 01 includes at least a memory 101, a processor 102, a display 103 and a power supply 104. Among them, the memory 101 can be used to store software programs and various data. The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function (such as a sound playback function, an image playback function, etc.). When the software program in the memory 101 is started, the processor 102 controls the display 103 to display the display content of the software program according to the data frame of the software program. The power supply 104 (such as a battery) can be used to power various components. Optionally, the power supply 104 can be logically connected to the processor 102 through a power management system, so as to realize the management of charging, discharging, and power consumption management through the power management system.

[0038] In one practicable manner, the electronic device 01 is used to provide voice and / or data connectivity services to the user. The electronic device 01 may have different names, such as user equipment (UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, vehicle user equipment, terminal agent or terminal device, etc. Optionally, the client 02 may be various handheld devices, vehicle-mounted devices, wearable devices, and computers with communication functions, and the embodiments of the present disclosure do not impose any restrictions on this. For example, the handheld device may be a smart phone. The vehicle-mounted device may be a vehicle-mounted navigation system. The wearable device may be a smart bracelet. The computer may be a personal digital assistant (PDA), a tablet computer, and a laptop computer.

[0039] The data involved in the present disclosure may be data authorized by the user or fully authorized by all parties.

[0040] Some of the terms used in this disclosure have their common and customary meanings in the industry. In addition, some of the terms will be explained when they appear in this specification. However, it is helpful to understand a few of the terms used specifically in this article.

[0041] Frames Per Second (FPS) is a definition in the field of images, which refers to the number of frames transmitted per second. Generally speaking, it refers to the number of frames in an animation or video.

[0042] In the prior art, FPS is used to measure the fluency of different terminals when drawing data frames of the same application within a preset time period. If the application is not in use, the application does not need to draw data frames on the terminal's display screen, resulting in differences in the total number of data frames collected by different terminals within the preset time period, and thus it is impossible to truly measure the fluency of different terminals when drawing data frames of the same application within the preset time period.

[0043] To this end, the method for determining the terminal fluency provided in the embodiment of the present disclosure determines the fluency of the terminal meeting the preset condition within a preset time period through the rendering frame data of each terminal and the frame time of each frame. In this way, when the preset condition is that the target application is installed, the electronic device obtains the rendering data of each terminal in at least one terminal that meets the target application installation within the preset time period, and determines the fluency of the terminal meeting the preset condition within the preset time period based on the rendering data of each terminal, so as to accurately reflect the fluency of different terminals when drawing the data frames of the same application within the preset time period, and solves the problem in the related art that it is impossible to truly measure the fluency of different terminals when drawing the data frames of the same application within the preset time period.

[0044] The execution subject of the method for determining the fluency provided in the embodiment of the present disclosure may be the electronic device 01 described above, or may be a functional module and / or functional entity in a server that can implement the method for determining the fluency of the terminal. The specific method may be determined according to actual use requirements, and the embodiment of the present disclosure is not limited thereto. The following takes the execution subject as the electronic device 01 as an example to exemplarily illustrate the method for determining the fluency of the terminal provided in the embodiment of the present disclosure.

[0045] The following is an exemplary description of the method for determining terminal fluency provided by the embodiments of the present disclosure in conjunction with the accompanying drawings.

[0046] Figure 2 is a flow chart of a method for determining terminal fluency according to an exemplary embodiment. Figure 2 As shown, the method for determining terminal fluency is used in an electronic device, and the method includes the following S11 and S12.

[0047] S11, the electronic device obtains rendering data of each terminal in at least one terminal that meets a preset condition within a preset time period, wherein the rendering data includes at least one of rendering frame data and frame duration of each frame.

[0048] Specifically, the preset conditions include at least one of the following: the target application is installed, or the same brand and model, or the same configuration information (such as memory, processor, screen refresh rate, etc.), or the same system program (such as Android), so as to facilitate the comparison of the fluency of terminals that meet the preset conditions within a preset time period.

[0049] Specifically, the frame time includes the sum of the time consumed in each of the following 8 stages. The stages are as follows:

[0050] 1. InputHandlingDuration: The duration of the waterfall flow segmentation stage, which is displayed as the user interface (UI): input duration (InputHandlingDuration).

[0051] 2. AnimationDuration: The duration of the waterfall flow subdivision stage, which is displayed for the UI: animation duration (AnimationDuration).

[0052] 3. LayoutMeasureDuration: The duration of the waterfall flow subdivision stage, which is displayed for the UI: layout duration (LayoutMeasureDuration).

[0053] 4. DrawDuration: The duration of the waterfall flow subdivision stage, which is the UI display: drawing duration (DrawDuration).

[0054] 5. SyncDuration: The duration of the waterfall flow subdivision stage, displayed in the UI: synchronization duration (SyncDuration).

[0055] 6. CommandIssueDuration: The duration of the waterfall flow subdivision stage, displayed in the UI: command duration (CommandIssueDuration).

[0056] 7. SwapBuffersDuration: The duration of the waterfall flow segmentation stage, displayed in the UI: buffer swap duration (SwapBuffersDuration).

[0057] 8. UnknownDelayDuration: The duration of the waterfall flow subdivision stage, displayed in the UI: unknown delay duration (UnknownDelayDuration).

[0058] S12. The electronic device determines, based on the acquired rendering data, the fluency of the terminal that meets the preset conditions within a preset time period.

[0059] In one achievable manner, in the method for determining the terminal fluency provided by the embodiment of the present disclosure, the fluency includes N categories, where N is an integer greater than or equal to 1.

[0060] For example, the larger the value of N is, the lower the corresponding fluency is.

[0061] Specifically, the fluency can be classified according to the actual situation, which will not be elaborated here.

[0062] From the above, it can be seen that in order to avoid the problem of being unable to truly measure the fluency of different terminals when drawing data frames of the same application within a preset time period, the method for determining the terminal fluency provided in the embodiment of the present disclosure, for terminals that meet the preset conditions, determines the fluency of the terminals with the preset conditions within the preset time period through the rendering frame data of each terminal and the frame time of each frame.

[0063] In this way, when the preset condition is that the target application is installed, the electronic device obtains the rendering data of each terminal in at least one terminal that has the target application installed within a preset time period, and determines the fluency of the terminal that meets the preset condition within the preset time period based on the rendering data of each terminal, thereby accurately reflecting the fluency of different terminals when drawing data frames of the same application within the preset time period, thereby solving the problem in the related art that it is impossible to truly measure the fluency of different terminals when drawing data frames of the same application within the preset time period.

[0064] In an practicable manner, the rendering frame data includes a rated rendering frame number and an actual rendering frame number; in this case, Figure 2 ,like Figure 3 As shown, the above S12 can be specifically implemented through the following S120 and S121.

[0065] S120: The electronic device determines a frame loss rate of each terminal in at least one terminal according to the acquired rated number of rendering frames and the actual number of rendering frames.

[0066] It should be noted that in the prior art, the frame loss rate is determined based on the ratio of the number of frames whose frame time is greater than the screen refresh interval to the number of frames actually rendered. The following scenarios may occur:

[0067] Scenario 1: When the terminal draws the data frame of the application within the preset time period, each frame takes 100 milliseconds (ms), and the time taken for all frames exceeds the preset threshold. At this time, the frame loss rate is 100%. The preset threshold is equal to A represents the number of refresh times per second of the terminal display. For example, when the number of refresh times per second of the terminal display is 60, the preset threshold is equal to 16.7 ms.

[0068] Scenario 2: When the terminal draws the data frames of the application within the preset time period, each frame takes 18 ms, and the time taken by all frames exceeds the preset threshold. At this time, the frame loss rate is 100%.

[0069] It can be seen that "determining the frame loss rate based on the ratio of the number of frames whose frame time is greater than the screen refresh interval to the actual number of rendered frames" cannot accurately determine the smoothness of the terminal when drawing the data frames of the application within the preset time period. To this end, the method for determining the smoothness provided in the embodiment of the present disclosure can more accurately determine the smoothness of the terminal when drawing the data frames of the application within the preset time period based on the rated number of rendered frames and the actual number of rendered frames. For example:

[0070] Scenario 3: When the terminal draws the data frames of the application within the preset time period, each frame takes 100ms (the time taken by all frames exceeds the preset threshold). At this time, if the actual number of frames rendered by the terminal within the preset time period is 40, and the rated number of frames rendered should be 60, according to the method for determining the fluency provided in the embodiment of the present disclosure, it can be determined that the frame loss rate when the terminal draws the data frames of the application within the preset time period is

[0071] Scenario 4: When the terminal draws the data frames of the application within the preset time period, each frame takes 18ms (the time taken by all frames exceeds the preset threshold). At this time, if the terminal actually renders 55 frames within the preset time period, and the rated rendering frame number should be 60 frames, according to the fluency determination method provided in the embodiment of the present disclosure, it can be determined that the frame loss rate when the terminal draws the data frames of the application within the preset time period is

[0072] From the above, it can be seen that the lower the frame loss rate when the terminal draws the data frame of the application within the preset time period, the higher the fluency of the terminal drawing the data frame of the application within the preset time period. Since the frame loss rate when the terminal draws the data frame of the application within the preset time period in scenario 4 is lower than the frame loss rate when the terminal draws the data frame of the application within the preset time period in scenario 3, it can be determined that the fluency of the terminal drawing the data frame of the application within the preset time period in scenario 4 is better than the fluency of the terminal drawing the data frame of the application within the preset time period in scenario 3.

[0073] S121. The electronic device determines, according to a frame loss rate of each terminal in at least one terminal, a fluency of a terminal that meets a preset condition within a preset time period.

[0074] In an achievable manner, when there is only one terminal that meets the preset condition, the fluency of the terminal that meets the preset condition within a preset time period can be determined based on the frame loss rate of the terminal that meets the preset condition. Exemplarily, the electronic device queries a preset relationship based on the frame loss rate to determine the fluency of the terminal that meets the preset condition within a preset time period. The preset relationship includes a corresponding relationship between a frame loss rate interval and fluency.

[0075] Exemplarily, fluency includes 5 categories, namely the first fluency (also called good fluency), the second fluency (also called better fluency), the third fluency (also called normal fluency), the fourth fluency (also called poor fluency) and the fifth fluency (also called poor fluency), and the larger the value of N, the lower the corresponding fluency. For example, the preset relationship is shown in Table 1.

[0076] Table 1

[0077] Frame loss rate range Fluency [0,A) Good fluency [A,B) Good fluency [B, C) Normal fluency [C, D) Poor fluency [D, E) Poor fluency

[0078] Among them, A, B, C, D, and E are all greater than 0, and A<B, B<C, C<D, and D<E.

[0079] In another achievable manner, when there are only two terminals that meet the preset conditions, the fluency of the terminals that meet the preset conditions within the preset time period can be determined based on the average value of the frame loss rates of the two terminals. Exemplarily, the electronic device determines the fluency of the terminals that meet the preset conditions within the preset time period based on the fluency corresponding to different pre-configured frame loss rates.

[0080] In another achievable manner, when there are more than three terminals that meet the preset conditions, the fluency of the terminals that meet the preset conditions within a preset time period can be determined based on the average value or variance of the frame loss rates of all terminals; or, when there are more than three terminals that meet the preset conditions, the fluency of the terminals that meet the preset conditions within the preset time period can be determined based on the average value of the maximum and minimum frame loss rates of all terminals; or, when there are more than three terminals that meet the preset conditions, the fluency of the terminals that meet the preset conditions within the preset time period can be determined based on the frame loss rate that occurs most frequently among the frame loss rates of all terminals.

[0081] As can be seen from the above, the method for determining the terminal fluency provided by the embodiment of the present disclosure can more accurately determine the actual frame loss rate of each terminal. Then, the frame loss rate of each terminal can more objectively reflect the real state of the frame loss rate of the terminal that meets the preset conditions within the preset time period. Finally, the fluency of the terminal that meets the preset conditions within the preset time period can be more accurately determined based on the frame loss rate of each terminal.

[0082] In one practicable manner, combining Figure 3 ,like Figure 4 As shown, the above S121 can be specifically implemented through the following S1210 and S1211.

[0083] S1210. The electronic device determines an actual frame loss rate according to a frame loss rate of each terminal in at least one terminal.

[0084] Specifically, the actual frame loss rate is equal to Thus, the overall frame loss rate of the terminals that meet the preset conditions can be reflected. Wherein, A represents the frame loss rate of the nth terminal, N represents the total number of terminals that meet the preset conditions, N and n are both integers greater than or equal to 1, and n∈[1,N].

[0085] Specifically, the actual frame loss rate is equal to the variance or standard deviation determined according to the frame loss rate of each terminal in the at least one terminal, thereby reflecting the change trend of the frame loss rate of the terminals that meet the preset conditions.

[0086] S1211. The electronic device determines, according to the actual frame loss rate, the fluency of the terminal that meets the preset condition within a preset time period.

[0087] Exemplarily, assuming that the actual frame loss rate falls within the frame loss rate interval [B, C), it can be seen from Table 1 that the fluency of the terminal that meets the preset condition within the preset time period is determined to be normal.

[0088] It should be noted that the process of using the actual frame loss rate to determine the fluency of the terminal that meets the preset conditions within the preset time period is similar to the process of using the frame loss rate to determine the fluency of the terminal that meets the preset conditions within the preset time period, and will not be repeated here.

[0089] As can be seen from the above, the method for determining the terminal fluency provided by the embodiment of the present disclosure can more accurately determine the actual frame loss rate of each terminal. Then, the actual frame loss rate determined according to the frame loss rate of each terminal can more objectively reflect the real state of the frame loss rate of the terminal that meets the preset conditions within the preset time period. Finally, the fluency of the terminal that meets the preset conditions within the preset time period can be more accurately determined based on the size relationship between the actual frame loss rate and the preset threshold.

[0090] In one practicable manner, combining Figure 2 ,like Figure 5 As shown, the above 12 can be specifically implemented through the following S122 and S123.

[0091] S122. The electronic device determines a slow frame rate and a frozen frame rate according to the frame time of each frame. The slow frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a first time threshold to the number of actually rendered frames, and the frozen frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a second time threshold to the number of actually rendered frames.

[0092] Specifically, in actual applications, when the frame time is greater than the first time threshold, the user can feel a more obvious freeze; when the frame time is greater than the second time threshold, the user can feel a clear freeze. Therefore, the slow frame rate and frozen frame rate can more accurately measure the user's smoothness experience.

[0093] An exemplary first time-consuming threshold is 80 ms, and an exemplary second time-consuming threshold is 160 ms.

[0094] S123. The electronic device determines the fluency of the terminal meeting the preset condition within a preset time period according to the slow frame rate and the frozen frame rate.

[0095] In one achievable manner, the fluency of a terminal meeting preset conditions within a preset time period may be determined based on the relationship between the slow frame rate and the first frame rate threshold, and the relationship between the frozen frame rate and the second frame rate threshold.

[0096] Exemplarily, taking the case where the fluency includes two levels, namely the first fluency (also called good fluency) and the second fluency (called poor fluency) as an example, according to the magnitude relationship between the slow frame rate and the first frame rate threshold, and the magnitude relationship between the frozen frame rate and the second frame rate threshold, determining the fluency of the terminal that meets the preset conditions within the preset time period includes:

[0097] When it is determined that the slow frame rate is greater than or equal to the first frame rate threshold, or the frozen frame rate is greater than or equal to the second frame rate threshold, or the slow frame rate is greater than or equal to the first frame rate threshold and the frozen frame rate is greater than or equal to the second frame rate threshold, the fluency of the terminal that meets the preset conditions within the preset time period is determined to be poor fluency.

[0098] When it is determined that the slow frame rate is less than the first frame rate threshold, and the frozen frame rate is less than the second frame rate threshold, the fluency of the terminal meeting the preset condition within the preset time period is determined to be good.

[0099] As can be seen from the above, in order to more accurately reflect the fluency of the terminal that meets the preset conditions within the preset time period, the terminal fluency determination method provided by the embodiment of the present disclosure can more accurately measure the user side fluency experience through the slow frame rate and the frozen frame rate when determining that the frame loss rate is greater than or equal to the preset threshold. Therefore, by determining the size relationship between the slow frame rate and the first frame rate threshold, and the size relationship between the frozen frame rate and the second frame rate threshold, the fluency of the terminal that meets the preset conditions within the preset time period can be more accurately determined.

[0100] In an operative manner, the rendered frame data includes the actual rendered frame number; in this case, combined with Figure 2 ,like Figure 6 As shown, the above S12 can be specifically implemented through the following S124-S126.

[0101] S124. The electronic device determines, according to the acquired frame duration of each frame, the total number of frames corresponding to each frame duration, the maximum total number of frames, and the frame duration corresponding to the maximum total number of frames.

[0102] Specifically, the frame time of each frame can be bucketed to more intuitively reflect the total number of frames corresponding to each frame time. Figure 7 As shown, the total number of frames corresponding to the frame time of 8ms is the maximum total number of frames.

[0103] S125, the electronic device determines a time-consuming interval based on the maximum total number of frames and the frame time consumption corresponding to the maximum total number of frames; if the time consumption probability corresponding to the time consumption interval exceeds a predetermined threshold, the time consumption interval is determined as a target time consumption interval. The time consumption probability of the time consumption interval is the ratio of the sum of the total number of frames corresponding to each frame time consumption included in the time consumption interval to the actual number of rendered frames.

[0104] When the time consumption probability of the time consumption interval exceeds the predetermined threshold and the difference is within a certain preset range, the time consumption interval is determined as a target time consumption area, wherein the preset range can be set as required.

[0105] In one achievable manner, the electronic device sorts the frame time consumption of each frame in order of size (e.g., from small to large), and then uses the frame time consumption corresponding to the maximum total number of frames as the reference axis, and accumulates from both sides of the reference axis in sequence until the ratio of the accumulated total number of frames to the actual number of rendered frames is greater than a predetermined threshold (e.g., 40%), and then determines that the time consumption interval corresponding to the ratio of the accumulated total number of frames to the actual number of rendered frames is greater than the predetermined threshold is the target time consumption interval. Exemplarily, in combination with Figure 7, assuming that the actual number of rendered frames within the preset time is 200 frames, and the preset threshold is 60%, according to the above description, it can be determined that the frame time corresponding to the maximum total number of frames is 8ms, and the total number of frames corresponding to the frame time of 8ms is 50. At this time, since 50 / 200 is less than 60%, it is necessary to accumulate from both sides (such as: accumulate from left to right). Figure 7 It can be seen that the left side of the frame time of 8ms is the frame time of 7ms, and the total number of frames corresponding to the frame time of 7ms is 30. Since (50+30) / 200 is less than 60%, it is necessary to continue to overlay from both sides. Since the overlay is performed from left to right, Figure 7 It can be seen that the left side of the frame time of 8ms is the frame time of 9ms, and the total number of frames corresponding to the frame time of 9ms is 25. Since (50+30+25) / 200 is less than 60%, it is necessary to continue to overlay from both sides. Since the overlay is performed from left to right, Figure 7 It can be seen that the left side of the frame time of 7ms is the frame time of 6ms, and the total number of frames corresponding to the frame time of 6ms is 25. Since (50+30+25+25) / 200 is greater than 60%, the time interval [6, 9] can be determined as the target time interval.

[0106] Of course, the frame time corresponding to the maximum total number of frames can also be used as a reference axis, and the time interval corresponding to the ratio of the accumulated total number of frames to the actual number of rendered frames is determined to be the target time interval when the ratio of the accumulated total number of frames to the actual number of rendered frames is greater than a predetermined threshold (such as 40%). Figure 7 , assuming that the actual number of rendered frames within the preset time is 200 frames, and the preset threshold is 60%, according to the above description, it can be determined that the frame time corresponding to the maximum total number of frames is 8ms, and the total number of frames corresponding to the frame time of 8ms is 50. At this time, since 50 / 200 is less than 60%, it is necessary to accumulate from one side (such as: taking the left side of the reference axis as an example). Figure 7 It can be seen that the left side of the frame time of 8ms is the frame time of 7ms, and the total number of frames corresponding to the frame time of 7ms is 30. Since (50+30) / 200 is less than 60%, it is necessary to continue to superimpose from the left side. Figure 7 It can be seen that the left side of the frame time of 7ms is the frame time of 6ms, and the total number of frames corresponding to the frame time of 6ms is 25. Since (50+30+25) / 200 is less than 60%, it is necessary to continue to superimpose from the left side. Figure 7 It can be seen that the left side of the frame time of 6ms is the frame time of 5ms, and the total number of frames corresponding to the frame time of 6ms is 20. Since (50+30+25+20) / 200 is greater than 60%, the time interval [5, 8] can be determined as the target time interval.

[0107] Exemplary, combined Figure 7 , assuming that the actual number of rendered frames within the preset time is 200 frames, and the preset threshold is 60%, according to the above description, it can be determined that the frame time corresponding to the maximum total number of frames is 8ms, and the total number of frames corresponding to the frame time of 8ms is 50. At this time, since 50 / 200 is less than 60%, it is necessary to accumulate from one side (such as: taking the right side of the reference axis as an example). Figure 7 It can be seen that the right side of the frame time of 8ms is the frame time of 9ms, and the total number of frames corresponding to the frame time of 9ms is 25. Since (50+25) / 200 is less than 60%, it is necessary to continue to superimpose from the right side. Figure 7 It can be seen that the right side of the frame time of 9ms is the frame time of 10ms, and the total number of frames corresponding to the frame time of 10ms is 18. Since (50+25+18) / 200 is less than 60%, it is necessary to continue to superimpose from the right side. Figure 7 It can be seen that the right side of the frame time of 10ms is the frame time of 11ms, and the total number of frames corresponding to the frame time of 11ms is 22. Since (50+25+18+22) / 200 is less than 60%, it is necessary to continue to superimpose from the right side. Figure 7 It can be seen that the right side of the frame time of 11ms is the frame time of 12ms, and the total number of frames corresponding to the frame time of 12ms is 22. Since (50+25+18+22+22) / 200 is greater than 60%, it can be determined that the time interval [8, 12] is the target time interval.

[0108] S126. The electronic device determines the fluency of the terminal that meets the preset conditions within a preset time period according to the target time-consuming interval.

[0109] In one achievable manner, the relationship between the maximum frame duration and the minimum frame duration contained in the target duration interval and a preset threshold value may be determined, thereby determining the fluency of a terminal meeting preset conditions within a preset time period.

[0110] Exemplarily, when the maximum frame duration included in the target time interval is less than or equal to a preset threshold, the fluency of the terminal that meets the preset conditions within the preset time period is determined to be normal. When the minimum frame duration included in the target time interval is greater than or equal to a preset threshold, the fluency of the terminal that meets the preset conditions within the preset time period is determined to be poor.

[0111] It should be noted that, in order to more accurately analyze the smoothness of different terminals when drawing data frames of the same application within a preset time period, the refresh times per second of the displays of different terminals should be the same.

[0112] Specifically, when the maximum frame time contained in the target time interval is greater than the preset threshold, and the minimum frame time contained in the target time interval is less than the preset threshold, the fluency of the terminal that meets the preset conditions within the preset time period can be determined based on the relationship between the average frame time of all frame times contained in the target time interval and the preset threshold. For example, when the average frame time is less than or equal to the preset threshold, the fluency of the terminal that meets the preset conditions within the preset time period is determined to be normal. When the average frame time is greater than or equal to the preset threshold, the fluency of the terminal that meets the preset conditions within the preset time period is determined to be poor.

[0113] In another achievable manner, the frame duration interval corresponding to the target duration interval is queried in the specified relationship, and the fluency of the terminal meeting the preset condition within the preset time period is determined according to the frame duration interval. The specified relationship includes the correspondence between the frame duration interval and the fluency.

[0114] Exemplarily, the specified relationship is shown in Table 2.

[0115] Table 2

[0116] Frame duration interval Fluency [0,F) Normal fluency [F,+∞) Poor fluency

[0117] Among them, F is greater than 0.

[0118] Assuming that F is 16ms and the target duration interval is [3, 15], it can be seen from Table 2 that the target duration interval [3, 15] is in the frame duration interval [0, 16). Therefore, it can be determined that the fluency of the terminal that meets the preset conditions within the preset time period is normal.

[0119] Assuming that F is 16ms and the target duration interval is [17, 25], it can be seen from Table 2 that the target duration interval [17, 25] is in the frame duration interval [16, +∞). Therefore, it can be determined that the fluency of the terminal that meets the preset conditions in the preset time period is poor.

[0120] Assuming that F is 16ms and the target time interval is [12, 18], it can be seen from Table 2 that a portion ([12, 16)) of the target time interval [12, 18] is located in the frame time interval [0, 16), and another portion ([16, 18]) of the target time interval [12, 18] is located in the frame time interval [16, +∞). In this case, the smoothness of the terminal that meets the preset conditions within the preset time period can be determined based on the ratio of the sum of the total number of frames corresponding to each frame time included in the target time interval to the actual number of rendered frames. For example, the ratio of the sum of the total number of frames corresponding to the time consumption of each frame contained in the interval [12, 16) in the target time consumption interval to the actual number of frames rendered is 20%, while the ratio of the sum of the total number of frames corresponding to the time consumption of each frame contained in the interval [16, 18] in the target time consumption interval to the actual number of frames rendered is 10%; since 20% is greater than 10%, it means that the probability that the frame consumption time of each frame of the terminal drawing the application in the preset time period falls within the interval [12, 16) of the target time consumption interval is greater than the probability that the frame consumption time of each frame of the terminal drawing the application in the preset time period falls within the interval [16, 18] of the target time consumption interval, so the fluency corresponding to the interval [12, 16) of the target time consumption interval can be used to characterize the fluency corresponding to the target time consumption interval. As shown in Table 2, the interval [12, 16) is located in the frame consumption interval [0, 16). Therefore, it can be determined that the fluency of the terminal that meets the preset conditions in the preset time period is normal fluency.

[0121] Assuming that F is 16ms and the target time interval is [12, 18], it can be seen from Table 2 that a portion ([12, 16)) of the target time interval [12, 18] is located in the frame time interval [0, 16), and another portion ([16, 18]) of the target time interval [12, 18] is located in the frame time interval [16, +∞). In this case, the smoothness of the terminal that meets the preset conditions within the preset time period can be determined based on the ratio of the sum of the total number of frames corresponding to each frame time included in the target time interval to the actual number of rendered frames. For example, the ratio of the sum of the total number of frames corresponding to each frame time contained in the interval [12, 16) of the target time interval to the actual number of rendered frames is 20%, and the ratio of the sum of the total number of frames corresponding to each frame time contained in the interval [16, 18] of the target time interval to the actual number of rendered frames is 20%; since 20% is equal to 20%, it means that the probability that the frame time of each frame of the terminal drawing the application in the preset time period falls within the interval [12, 16) of the target time interval is the same as the probability that the frame time of each frame of the terminal drawing the application in the preset time period falls within the interval [16, 18] of the target time interval. At this time, the average frame time of all frame times contained in the interval [12, 16) can be calculated, and the average frame time of all frame times contained in the interval [16, 18] can be calculated. Then, the size relationship between the average frame time of all frame times contained in the interval [12, 16) and the average frame time of all frame times contained in the interval [16, 18] is determined, so as to determine the fluency of the terminal that meets the preset conditions in the preset time period. The specific situations include:

[0122] Case 1: When the average frame time of all frame times included in the interval [12, 16) is greater than the average frame time of all frame times included in the interval [16, 18], the fluency corresponding to the interval [12, 16) of the target time interval is used to characterize the fluency corresponding to the target time interval. As shown in Table 2, the interval [12, 16) is located in the frame time interval [0, 16). Therefore, it can be determined that the fluency of the terminal that meets the preset conditions within the preset time period is normal fluency.

[0123] Case 2: When the average frame time of all frame times included in the interval [12, 16) is equal to the average frame time of all frame times included in the interval [16, 18], the fluency of the terminal that meets the preset conditions within the preset time period is determined to be normal.

[0124] As can be seen from the above, the method for determining the terminal fluency provided by the embodiment of the present disclosure can determine the time consumption probability by analyzing the total number of frames corresponding to each frame consumption. Since the time consumption probability characterizes the distribution of the frame consumption of the terminal that meets the preset conditions within the preset time period, it cannot represent the distribution of all frame consumptions of the terminal that meets the preset conditions within the preset time period. Therefore, the fluency within the preset time period can be estimated based on the time consumption probability, which is convenient for users to flexibly determine the fluency of the terminal that meets the preset conditions within the preset time period.

[0125] Figure 8 A device for determining terminal fluency is shown according to an exemplary embodiment. Figure 8 , including an acquisition unit 101 and a processing unit 102.

[0126] The acquisition unit 101 is configured to acquire rendering data of each terminal in at least one terminal that meets the preset conditions within a preset time period; wherein the rendering data includes at least one of the rendering frame data and the frame duration of each frame; the processing unit 102 is configured to determine the fluency of the terminal that meets the preset conditions within a preset time period based on the rendering data acquired by the acquisition unit 101.

[0127] In one implementable manner, the rendering frame data includes a rated rendering frame number and an actual rendering frame number; in this case, the processing unit 102 is specifically configured to determine the frame loss rate of each terminal in at least one terminal based on the rated rendering frame number obtained by the acquisition unit 101 and the actual rendering frame number obtained by the acquisition unit 101; the processing unit 102 is specifically configured to determine the fluency of the terminal that meets the preset conditions within a preset time period based on the frame loss rate of each terminal in at least one terminal.

[0128] In one practicable manner, the processing unit 102 is specifically configured to determine an actual frame loss rate based on a frame loss rate of each terminal in at least one terminal; the processing unit 102 is specifically configured to determine the fluency of a terminal that meets a preset condition within a preset time period based on the actual frame loss rate.

[0129] In one practicable manner, the processing unit 102 is specifically configured to determine a slow frame rate and a frozen frame rate based on the frame time of each frame acquired by the acquisition unit 101, the slow frame rate being used to indicate the ratio of the total number of frames whose frame time is greater than a first time threshold to the number of actually rendered frames, and the frozen frame rate being used to indicate the ratio of the total number of frames whose frame time is greater than a second time threshold to the number of actually rendered frames; the processing unit 102 is specifically configured to determine the fluency of a terminal that meets preset conditions within a preset time period based on the slow frame rate and the frozen frame rate.

[0130] In one practicable manner, the rendered frame data includes the actual number of rendered frames; in this case, the processing unit 102 is specifically configured to determine the total number of frames corresponding to each frame consumption and the maximum total number of frames according to the frame consumption of each frame acquired by the acquisition unit 101; the processing unit 102 is specifically configured to sort the frame consumption of each frame acquired by the acquisition unit 101 in order of size to determine a target time consumption interval; wherein the target time consumption interval contains the frame consumption corresponding to the maximum total number of frames, and the ratio of the sum of the total number of frames corresponding to each frame consumption included in the target time consumption interval to the actual number of rendered frames is less than or equal to a ratio threshold, and the difference between the ratio of the sum of the total number of frames corresponding to each frame consumption included in the target time consumption interval and the actual number of rendered frames and the ratio threshold is the smallest; the processing unit 102 is specifically configured to determine the fluency of a terminal that meets a preset condition within a preset time period according to the target time consumption interval.

[0131] In an implementable manner, the preset condition includes at least one of the following: the target application program is installed, the same brand and model, the same configuration information, or the same system program.

[0132] Of course, the terminal fluency determination device 10 provided in the embodiment of the present disclosure includes but is not limited to the above modules, for example, the terminal fluency determination device 10 may also include a storage unit 103. The storage unit 103 may be used to store the program code of the write fluency determination device, and may also be used to store data generated by the write fluency determination device during operation, such as data in a write request, etc.

[0133] In addition, the terminal fluency determination device 10 provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal fluency determination device 10 is divided into different functional modules to complete all or part of the functions described above.

[0134] Fig. 9 A schematic diagram of the structure of a terminal fluency determination device 10 provided in an embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, the terminal fluency determination device 10 may include: at least one processor 51 , a memory 52 , a communication interface 53 and a communication bus 54 .

[0135] Combine the following Fig. 9 The components of the terminal fluency determination device are specifically introduced as follows:

[0136] The processor 51 is the control center of the device for determining the fluency, and may be a processor or a general term for multiple processing elements. For example, the processor 51 is a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure, such as one or more DSPs, or one or more field programmable gate arrays (FPGAs).

[0137] In a specific implementation, as an embodiment, the processor 51 may include one or more CPUs, such as Fig. 9 Furthermore, as an embodiment, the fluency determination device may include multiple processors, such as Fig. 9 51 and 55 are shown in FIG. Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0138] The memory 52 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 52 may exist independently and be connected to the processor 51 via a communication bus 54. The memory 52 may also be integrated with the processor 51.

[0139] In a specific implementation, the memory 52 is used to store the data in the present disclosure and execute the software program in the present disclosure. The processor 51 can execute various functions of the air conditioner by running or executing the software program stored in the memory 52 and calling the data stored in the memory 52.

[0140] The communication interface 53 uses any transceiver or other device for communicating with other devices or communication networks, such as a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), a terminal, a cloud, etc. The communication interface 53 may include a receiving unit to implement a receiving function.

[0141] The communication bus 54 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0142] As an example, combining Figure 8 The function implemented by the acquisition unit 101 in the terminal fluency determination device 10 is similar to Fig. 9 The function of the communication interface 53 in the embodiment is the same as that of the processing unit 102. Fig. 9 The functions of the processor 51 in the embodiment are the same as those of the storage unit 103. Fig. 9 The function of the memory 52 in is the same.

[0143] Another embodiment of the present disclosure further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method shown in the above method embodiment.

[0144] In some embodiments, the disclosed methods may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of manufacture.

[0145] In an exemplary embodiment, the present disclosure also provides a storage medium including instructions, such as a memory 102 including instructions, and the above instructions can be executed by the processor 101 of the fluency determination device to complete the above method. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

[0146] In an exemplary embodiment, the present disclosure also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 101 of the terminal fluency determination device to complete the above method.

[0147] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0148] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0149] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0150] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0151] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.

[0152] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for determining terminal fluency, characterized in that: include: Acquire rendering data of each terminal in at least one terminal that meets a preset condition within a preset time period; wherein the rendering data includes at least one of rendering frame data and frame duration of each frame; Determining the fluency of the terminal that meets the preset condition within the preset time period according to the acquired rendering data; The rendering frame data includes an actual number of rendering frames; and determining, based on the acquired rendering data, the fluency of the terminal that meets the preset condition within the preset time period, includes: Determine, according to the acquired frame time of each frame, the total number of frames corresponding to each frame time, the maximum total number of frames, and the frame time corresponding to the maximum total number of frames; All frame times are sorted in order of size, the frame time corresponding to the maximum total number of frames is used as a reference axis, and the total number of frames corresponding to other frame times on both sides of the reference axis are selected in sequence and superimposed with the maximum total number of frames, until the ratio of the superimposed total number of frames to the actual number of rendered frames exceeds a predetermined threshold, and the time interval formed by the frame time corresponding to the reference axis and the selected other frame times is used as the target time interval; Determine, according to a first preset frame time interval and a second preset frame time interval, a first subinterval and a second subinterval in the target time interval, wherein the first subinterval is a partial interval in the target time interval located in the first preset frame time interval, and the second subinterval is a partial interval in the target time interval located in the second preset frame time interval, the first preset frame time interval indicates that the fluency is normal, and the second preset frame time interval indicates that the fluency is abnormal; Determine a first ratio of a sum of a total number of frames corresponding to the time consumption of all frames in the first subinterval to the number of frames actually rendered, and use the first ratio as a time consumption probability of the first subinterval; Determine a second ratio of the sum of the total number of frames corresponding to the time consumption of all frames in the second sub-interval to the actual number of rendered frames, and use the second ratio as the probability of obtaining the time consumption of the second sub-interval; The fluency of the terminal satisfying the preset condition within the preset time period is determined according to the magnitude relationship between the time consumption probability of the first subinterval and the time consumption probability of the second subinterval.

2. The method for determining terminal fluency according to claim 1, characterized in that: The rendering frame data includes a rated rendering frame number and an actual rendering frame number; The determining, according to the acquired rendering data, the fluency of the terminal satisfying the preset condition within the preset time period includes: Determining a frame loss rate of each terminal in the at least one terminal according to the acquired rated number of rendering frames and the actual number of rendering frames; According to the frame loss rate of each terminal in the at least one terminal, the fluency of the terminal satisfying the preset condition within the preset time period is determined.

3. The method for determining terminal fluency according to claim 2, characterized in that: The determining, according to the frame loss rate of each terminal in the at least one terminal, the fluency of the terminal satisfying the preset condition within the preset time period includes: Determining an actual frame loss rate according to the frame loss rate of each terminal in the at least one terminal; The fluency of the terminal satisfying the preset condition within the preset time period is determined according to the actual frame loss rate.

4. The method for determining terminal fluency according to any one of claims 1 to 3, characterized in that: The determining, according to the acquired rendering data, the fluency of the terminal satisfying the preset condition within the preset time period includes: Determine a slow frame rate and a frozen frame rate according to the frame time of each frame, wherein the slow frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a first time threshold to the number of frames actually rendered, and the frozen frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a second time threshold to the number of frames actually rendered; The smoothness of the terminal satisfying the preset condition within the preset time period is determined according to the slow frame rate and the frozen frame rate.

5. The method for determining terminal fluency according to claim 1, characterized in that: The preset condition at least includes any one of the following: the target application program is installed, the same brand and model, the same configuration information, or the same system program.

6. A device for determining terminal fluency, characterized in that: including an acquisition unit and a processing unit; The acquisition unit is configured to acquire rendering data of each terminal in at least one terminal that meets a preset condition within a preset time period; wherein the rendering data includes at least one of rendering frame data and frame duration of each frame; The processing unit is configured to determine the fluency of the terminal that meets the preset condition within the preset time period according to the rendering data acquired by the acquisition unit; The rendering frame data includes the actual rendering frame number; The processing unit is specifically configured to determine the total number of frames corresponding to each frame time consumption, the maximum total number of frames, and the frame time consumption corresponding to the maximum total number of frames according to the frame time consumption of each frame acquired by the acquisition unit; The processing unit is specifically configured to sort all frame times in order of size, take the frame time corresponding to the maximum total number of frames as a reference axis, sequentially select the total number of frames corresponding to other frame times on both sides of the reference axis and superimpose them with the maximum total number of frames, until the ratio of the superimposed total number of frames to the actual number of rendered frames exceeds a predetermined threshold, and then use the time interval formed by the frame time corresponding to the reference axis and the selected other frame times as the target time interval; The processing unit is specifically configured to determine a first sub-interval and a second sub-interval in the target time-consuming interval according to a first preset frame time-consuming interval and a second preset frame time-consuming interval, wherein the first sub-interval is a partial interval in the target time-consuming interval located in the first preset frame time-consuming interval, and the second sub-interval is a partial interval in the target time-consuming interval located in the second preset frame time-consuming interval, wherein the first preset frame time-consuming interval indicates that the fluency is normal, and the second preset frame time-consuming interval indicates that the fluency is abnormal; The processing unit is specifically configured to determine a first ratio of a sum of a total number of frames corresponding to the time consumption of all frames in the first sub-interval to the number of actually rendered frames, and use the first ratio as the time consumption probability of the first sub-interval; The processing unit is specifically configured to determine a second ratio of the sum of the total number of frames corresponding to the time consumption of all frames in the second sub-interval to the actual number of rendered frames, and use the second ratio as the time consumption probability of obtaining the second sub-interval; The processing unit is specifically configured to determine the fluency of the terminal that meets the preset condition within the preset time period according to the magnitude relationship between the time consumption probability of the first sub-interval and the time consumption probability of the second sub-interval.

7. The device for determining terminal fluency according to claim 6, characterized in that: The rendering frame data includes a rated rendering frame number and an actual rendering frame number; The processing unit is specifically configured to determine a frame loss rate of each terminal in the at least one terminal according to the rated number of rendering frames acquired by the acquiring unit and the actual number of rendering frames acquired by the acquiring unit; The processing unit is specifically configured to determine the fluency of the terminal that meets the preset condition within the preset time period according to the frame loss rate of each terminal in the at least one terminal.

8. The device for determining terminal fluency according to claim 7, characterized in that: The processing unit is specifically configured to determine an actual frame loss rate according to a frame loss rate of each terminal in the at least one terminal; The processing unit is specifically configured to determine the fluency of the terminal that meets the preset condition within the preset time period according to the actual frame loss rate.

9. The device for determining terminal fluency according to any one of claims 6 to 8, characterized in that: The processing unit is specifically configured to determine a slow frame rate and a frozen frame rate according to the frame time of each frame acquired by the acquisition unit, wherein the slow frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a first time threshold to the number of actually rendered frames, and the frozen frame rate is used to indicate the ratio of the total number of frames whose frame time is greater than a second time threshold to the number of actually rendered frames; The processing unit is specifically configured to determine the fluency of the terminal that meets the preset condition within the preset time period according to the slow frame rate and the frozen frame rate.

10. The device for determining terminal fluency according to claim 6, characterized in that: The preset condition at least includes any one of the following: the target application program is installed, the same brand and model, the same configuration information, or the same system program.

11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instruction to implement the method for determining the terminal fluency as described in any one of claims 1 to 5.

12. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for determining terminal fluency as described in any one of claims 1 to 5.

13. A computer program product, characterized in that The method comprises: when the computer program product is run on a computer, causing the computer to execute the method for determining the terminal fluency according to any one of claims 1 to 5.