Low frame rate reason determination method and device, equipment, storage medium and program product

By analyzing draft data from media editing applications, frame rate and time consumption factors can be identified, simplifying complex open editing scenarios and enabling accurate attribution analysis and optimization of low frame rate issues, thereby reducing the occurrence rate of low frame rates in media editing applications.

CN121455779APending Publication Date: 2026-02-03BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411044769.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

In open editing scenarios, existing technologies cannot effectively analyze the problems that cause low frame rates, especially in scenarios with complex and varied factors. They cannot accurately determine the cause of low frame rates, resulting in a lack of targeted optimization strategies.

Method used

By acquiring draft data from material editing applications, analyzing the frame rate and time consumption of the drafts, identifying the main modules and factors affecting the frame rate, using approximate solutions to simplify the analysis, discarding secondary factors, retaining the main factors, and then determining optimization strategies.

Benefits of technology

Quickly and accurately identify the main factors causing low frame rate issues, simplify the analysis process, reduce the occurrence of low frame rate in material editing applications, and implement effective optimization strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121455779A_ABST
    Figure CN121455779A_ABST
Patent Text Reader

Abstract

The invention relates to a low-frame-rate reason determination method and device, equipment, a storage medium and a program product, and the method comprises the steps: obtaining a plurality of pieces of target draft data corresponding to a plurality of target drafts reported by a terminal which operates a material editing application, the multiple pieces of target draft data respectively comprise time consumption of a plurality of editing modules of a corresponding target draft executing process in a target reporting period, and the plurality of editing modules are respectively associated with a plurality of time consumption factors; the number ratio of target type draft data in the multiple pieces of target draft data is determined, the target type draft data is target draft data of which the time consumption of a target time consumption module is larger than or equal to a target time consumption threshold value, and the target time consumption module is any one of multiple editing modules; and under the condition that the quantity proportion is greater than or equal to a proportion threshold value, determining a target time consumption factor from a plurality of time consumption factors associated with the target time consumption module, so as to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of data processing, and particularly relates to a low frame rate cause determination method and device, electronic equipment, storage medium and program product. BACKGROUND

[0002] In an open editing scenario (such as a material editing application), low frame rate problems (i.e., stuttering) are often caused by decoding methods, the number of special effects, the number of texts, and the number of prop packs.

[0003] The analysis scheme based on large data is suitable for scenarios with simple influencing factors. For open editing scenarios with multiple and complex influencing factors, the analysis scheme based on large data is not applicable because the distribution and curve cannot be assumed.

[0004] Therefore, there is an urgent need for an attribution analysis method for low frame rate problems in open editing scenarios, and then according to the causes of low frame rate problems obtained by attribution analysis, a low frame rate optimization strategy for a material editing application is determined to reduce the occurrence rate of low frame rate of the material editing application. SUMMARY

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a low frame rate cause determination method, device, electronic equipment, storage medium and program product.

[0006] In a first aspect of the embodiments of the present disclosure, a low frame rate cause determination method is provided, which includes: obtaining a plurality of target draft data corresponding to a plurality of target drafts respectively reported by a terminal running a material editing application, the frame rate of the plurality of target drafts being less than or equal to a frame rate threshold, the plurality of target draft data respectively including the time consumption of a plurality of editing modules of the corresponding target draft, the plurality of editing modules being associated with a plurality of time consumption factors; determining the proportion of the number of target type draft data in the plurality of target draft data, the target type draft data being target draft data with time consumption of a target time consumption module greater than or equal to a target time consumption threshold, the target time consumption module being any one of the plurality of editing modules; in the case that the proportion of the number is greater than or equal to a proportion threshold, determining a target time consumption factor from the plurality of time consumption factors associated with the target time consumption module, to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor, the target time consumption factor being the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

[0007] In some embodiments of the present disclosure, the target time consumption module is the module with the greatest time consumption in the plurality of editing modules corresponding to the target type draft data.

[0008] In some embodiments of the present disclosure, the plurality of target draft data is reported by the terminal in a target reporting period, and in the case where the quantity proportion is greater than or equal to the proportion threshold, the target time consumption factor is determined from the plurality of time consumption factors associated with the target time consumption module, including: in the case where the quantity proportion is greater than or equal to the proportion threshold, determining a target growth rate, the target growth rate being a reporting growth rate of the target type draft data relative to a previous reporting period; and in the case where the target growth rate is greater than or equal to a growth rate threshold, determining the target time consumption factor from the plurality of time consumption factors associated with the target time consumption module.

[0009] In some embodiments of the present disclosure, the target type draft data is the type draft data with the largest reporting growth rate, the reporting growth rates of different types of draft data relative to the previous reporting period are different, and different types of draft data correspond to different time consumption modules.

[0010] In some embodiments of the present disclosure, the target time consumption factor is determined from the plurality of time consumption factors associated with the target time consumption module, including: determining a plurality of key factors in the plurality of time consumption factors associated with the target time consumption module, the plurality of key factors being time consumption factors that affect the frame rate of the target draft corresponding to the target type draft data; and determining the target time consumption factor from the plurality of key factors.

[0011] In some embodiments of the present disclosure, the target time consumption factor is determined from the plurality of time consumption factors associated with the target time consumption module, including: outputting target draft parameter data corresponding to a first target draft, so that a second target draft created based on the target draft parameter data, and based on the second target draft, analyzing the plurality of time consumption factors associated with the target time consumption module to determine the target time consumption factor; and wherein the first target draft corresponds to one of the plurality of target draft data.

[0012] In some embodiments of the present disclosure, after the target time consumption factor is determined from the plurality of time consumption factors associated with the target time consumption module in the case where the quantity proportion is greater than or equal to the proportion threshold, the method further includes: determining a preset optimization strategy corresponding to the target time consumption factor as a low frame rate optimization strategy for the material editing application.

[0013] In some embodiments of the present disclosure, before the obtaining the multiple target draft data corresponding to the multiple target drafts respectively reported by the terminal running the material editing application, the method further comprises: obtaining multiple draft data corresponding to multiple drafts respectively reported by the terminal, and multiple frame rate data respectively used to indicate frame rates of the corresponding drafts; and the obtaining the multiple target draft data corresponding to the multiple target drafts respectively reported by the terminal running the material editing application comprises: determining the multiple target draft data from the multiple draft data based on the multiple frame rate data, wherein frame rates indicated by frame rate data corresponding to the multiple target draft data are less than or equal to the frame rate threshold.

[0014] In some embodiments of the present disclosure, the determining the multiple target draft data from the multiple draft data based on the multiple frame rate data comprises: in a case where a number of target frame rate data in the multiple frame rate data is greater than or equal to a number threshold, determining the multiple target draft data from the multiple draft data; and wherein frame rates corresponding to the target frame rate data are less than or equal to the frame rate threshold.

[0015] In a second aspect, the present disclosure provides a low frame rate cause determining apparatus, comprising: an obtaining module configured to obtain multiple target draft data corresponding to multiple target drafts respectively reported by a terminal running a material editing application, wherein frame rates of the multiple target drafts are all less than or equal to a frame rate threshold, and the multiple target draft data respectively comprises time consumptions of multiple editing modules of a corresponding target draft, and the multiple editing modules are respectively associated with multiple time consumption factors; and a determining module configured to determine a proportion of a number of target type draft data in the multiple target draft data, wherein the target type draft data is target draft data whose time consumption of a target time consumption module is greater than or equal to a target time consumption threshold, and the target time consumption module is any one of the multiple editing modules; and in a case where the proportion is greater than or equal to a proportion threshold, determine a target time consumption factor from the multiple time consumption factors associated with the target time consumption module, so as to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor, and the target time consumption factor is a time consumption factor that has the greatest impact on frame rates of target drafts corresponding to the target type draft data.

[0016] In some embodiments of the present disclosure, the target time consumption module is a module with the greatest time consumption among the multiple editing modules corresponding to the target type draft data.

[0017] In some embodiments of the present disclosure, the multiple target draft data is reported by the terminal in a target reporting period, and the determining module is specifically configured to, in a case where the proportion is greater than or equal to the proportion threshold, determine a target growth rate, wherein the target growth rate is a reporting growth rate of the target type draft data relative to a last reporting period of the target reporting period; and in a case where the target growth rate is greater than or equal to a growth rate threshold, determine the target time consumption factor from the multiple time consumption factors associated with the target time consumption module.

[0018] In some embodiments of the present disclosure, the target type draft data is type draft data with the largest reporting growth rate, and the target reporting period is different from reporting growth rates of different type draft data in the previous reporting period, and the different type draft data corresponds to different time-consuming modules.

[0019] In some embodiments of the present disclosure, the determining module is specifically configured to determine a plurality of key factors from a plurality of time-consuming factors associated with the target time-consuming module, the plurality of key factors being time-consuming factors that affect a frame rate of the target draft corresponding to the target type draft data; and determine the target time-consuming factor from the plurality of key factors.

[0020] In some embodiments of the present disclosure, the determining module is specifically configured to output target draft parameter data corresponding to a first target draft, so that a second target draft created based on the target draft parameter data analyzes a plurality of time-consuming factors associated with the target time-consuming module based on the second target draft, and determines the target time-consuming factor; wherein the first target draft corresponds to one of the plurality of target type draft data.

[0021] In some embodiments of the present disclosure, the determining module is further configured to, in a case where the quantity ratio is greater than or equal to a ratio threshold, determine, after determining the target time-consuming factor from the plurality of time-consuming factors associated with the target time-consuming module, a preset optimization strategy corresponding to the target time-consuming factor as a low frame rate optimization strategy for the material editing application.

[0022] In some embodiments of the present disclosure, the obtaining module is further configured to, before obtaining a plurality of target draft data respectively corresponding to a plurality of target drafts reported by a terminal running a material editing application, obtain a plurality of draft data respectively corresponding to a plurality of drafts reported by the terminal and a plurality of frame rate data, the plurality of frame rate data respectively indicating frame rates of the corresponding drafts; and the obtaining module is specifically configured to determine, based on the plurality of frame rate data, the plurality of target draft data from the plurality of draft data, frame rates indicated by frame rate data respectively corresponding to the plurality of target draft data being less than or equal to the frame rate threshold.

[0023] In some embodiments of the present disclosure, the obtaining module is specifically configured to, in a case where a quantity of target frame rate data in the plurality of frame rate data is greater than or equal to a quantity threshold, determine the plurality of target draft data from the plurality of draft data; wherein a frame rate corresponding to the target frame rate data is less than or equal to the frame rate threshold.

[0024] In a third aspect, the present disclosure provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the low frame rate reason determination method of the first aspect is implemented.

[0025] In a fourth aspect, the present disclosure provides a computer-readable storage medium, which stores a computer program. The computer program, when executed by a processor, implements the low frame rate reason determination method according to the first aspect.

[0026] In a fifth aspect, the present disclosure provides a computer program product, which includes a computer program. When the computer program product is run on a processor, the processor executes the computer program to implement the low frame rate reason determination method according to the first aspect.

[0027] In a sixth aspect, the present disclosure provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run program instructions to implement the low frame rate reason determination method according to the first aspect.

[0028] Compared with the prior art, the technical scheme provided by the embodiments of the present disclosure has the following advantages: obtaining a plurality of target draft data corresponding to a plurality of target drafts reported by a terminal running a material editing application. The frame rates of the plurality of target drafts are less than or equal to a frame rate threshold. The plurality of target draft data respectively includes the time consumption of a plurality of editing modules of the corresponding target draft. The plurality of editing modules are respectively associated with a plurality of time consumption factors. Determining the proportion of the number of target type draft data in the plurality of target draft data. The target type draft data is target draft data whose time consumption of a target time consumption module is greater than or equal to a target time consumption threshold. The target time consumption module is any one of the plurality of editing modules. In the case where the proportion of the number is greater than or equal to a proportion threshold, determining a target time consumption factor from the plurality of time consumption factors associated with the target time consumption module to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor. The target time consumption factor is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data. In the embodiments of the present disclosure, in the process of analyzing the low frame rate problem, the target time consumption module is determined from the plurality of editing modules that affect the frame rate of the draft. Then, according to the proportion of the target type draft data corresponding to the target time consumption module in the plurality of target draft data and the size relationship with the proportion threshold, it is determined whether to determine the target time consumption factor that has the greatest impact from the plurality of time consumption factors associated with the target time consumption module. In this way, for the problem of multiple and complex factors in an open editing scenario, the approximate solution is used instead of the exact solution to simplify the complex problem, discard the secondary factors, retain the main factors, and simplify the analysis process, so as to quickly and accurately determine the main factors that cause the low frame rate problem, realize the attribution analysis of the low frame rate problem, and then determine the low frame rate optimization strategy for the material editing application according to the target time consumption factor obtained by the attribution analysis, so as to reduce the occurrence rate of the low frame rate of the material editing application. BRIEF DESCRIPTION OF DRAWINGS

[0029] The accompanying drawings, which are incorporated herein and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings required to be used in the embodiments or the prior art description will be briefly introduced as follows. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

[0031] Figure 1 A structural schematic diagram of an application system of a material editing application provided by an embodiment of the present disclosure;

[0032] Figure 2 A flowchart of a low frame rate reason determination method provided by an embodiment of the present disclosure;

[0033] Figure 3 A flowchart of a low frame rate reason determination method provided by an embodiment of the present disclosure;

[0034] Figure 4 A structural block diagram of a low frame rate reason determination apparatus provided by an embodiment of the present disclosure;

[0035] Figure 5 A structural block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings required to be used in the embodiments or the prior art description will be briefly introduced as follows. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

[0037] In the following description, a large number of specific details are set forth in order to facilitate a thorough understanding of the present disclosure, but the present disclosure can also be implemented in other manners different from those described herein; obviously, the embodiments described in the specification are only a part of the embodiments of the present disclosure, and not all the embodiments.

[0038] The terms "first," "second," etc., used in this disclosure and in the claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this disclosure can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0039] first, Figure 1 This disclosure illustrates an application system for a material editing application. The server side of the application system for the material editing application can be a server cluster, a standalone physical machine, or a virtual resource pool. Figure 1 The server side shown is server cluster 10. The servers in the server cluster work together with the terminals to ensure the normal operation of the target application. For example, during the operation of a material editing application, the terminals and servers need to work together to complete the calculation and synchronization of data in the material editing application, so as to ensure the normal operation of the material editing application.

[0040] In this embodiment of the disclosure, the device used for data analysis can be one or more servers selected from a server cluster, for example: Figure 1 In addition to ensuring the normal operation of the target application, server 101 can also be used for data analysis.

[0041] In this embodiment of the disclosure, the terminal side of the application system for the material editing application can be a mobile terminal, such as a mobile phone or tablet computer; or it can be a personal computer (PC), such as... Figure 1 The terminal shown is a mobile phone. Regardless of the terminal type, it can report draft data of the drafts during the operation of its material editing application, as well as draft frame rate data and draft parameter data, etc., to the server used for data analysis. The specific reporting method can be determined based on actual conditions and is not limited here. The server used for data analysis can implement the low frame rate cause determination method provided in this embodiment, identify the time-consuming factors that cause low frame rate problems during the operation of the material editing application, and then optimize the material editing application based on the analyzed time-consuming factors.

[0042] In some embodiments of this disclosure, the device for data analysis may also be independent of... Figure 1 The server cluster shown is a service backup, for example, the service device and Figure 1The data analysis function of the server 10 used for data analysis is the same. It can receive draft data of the draft during the running of the material editing application reported by the terminal, as well as report the frame rate data of the draft and the draft parameter data of the draft. It can also obtain the corresponding information of the servers in the server cluster and the network information. It can realize the method for determining the cause of low frame rate provided in this embodiment of the disclosure, determine the time-consuming factors that cause the low frame rate problem during the running of the material editing application, and then optimize the material editing application based on the analyzed time-consuming factors.

[0043] Frame rate (FPS) is a definition in the field of graphics, referring to the number of frames transmitted per second. In layman's terms, it refers to the number of frames in an animation or video.

[0044] Because open editing scenarios are influenced by numerous and complex factors, attributing low frame rate issues requires defining a general attribution analysis method. The attribution analysis method in this embodiment is as follows:

[0045] Assume the influencing factors are For example, x1, x2, ..., x n It can be the number of tracks, video resolution (2k / 4k), number of beautification filters used, number of texts, CPU model, GPU model, hardware and software decoding, operating system, device model, etc., where n is a positive integer;

[0046] The attribution analysis of low frame rate variations is denoted as:

[0047] Due to the numerous influencing factors and complex reasons, it is impossible to assume a distribution and curve. That is, the curve mentioned above may be the result of the sum or multiplication of various sub-functions.

[0048] If low frame rate scenes can be broken down and categorized into different scenarios, these scenarios can be mutually exclusive. By retaining the primary factors and discarding the secondary ones, this approach is statistically effective, thereby simplifying the influencing factors and linearizing the complex function.

[0049] r≈r1(x1,...x i )+r2(x m ,..x n )+...r k (x j ,...x n );

[0050] So

[0051] Lag (low frame rate) is the cumulative effect of processing time from various modules. Therefore, there are always one or more main causes of time consumption. We have broken down the causes of low frame rate by decomposing the main causes (identifying the main modules affecting low frame rate from multiple editing modules corresponding to draft data, i.e., the target time-consuming modules). The different scenarios are not strictly mutually exclusive. Specifically, for discrete problems, we can break it down into different scenario layers, and then perform attribution analysis on each scenario. Using tools such as mathematical statistics and machine learning, we can further break it down and attribute it to specific factors related to user editing, such as the number of tracks, the number of beautification effects, etc.

[0052] The low frame rate analysis in this embodiment is as follows:

[0053] Low frame rate reporting is denoted as f, full reporting (including low frame rate reporting and non-low frame rate reporting) is denoted as F, and f1 is the low frame rate reporting for the target reporting period. Let f0 be the low frame rate reported data for the i-th reporting period in the target reporting cycle, and f0 be the low frame rate reported data from the previous reporting cycle. Let F1 be the i-th low frame rate report of the previous reporting period, F0 be the full report of the target reporting period, and F0 be the full report of the previous reporting period. Applying the above method to the low frame rate problem, it can be approximated in the discrete domain as follows:

[0054]

[0055] The electronic devices in this disclosure can be mobile electronic devices or non-mobile electronic devices. Mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc.; non-mobile electronic devices can be personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc.; this disclosure does not impose specific limitations.

[0056] The execution subject of the low frame rate cause determination method provided in this disclosure embodiment can be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or it can be a functional module and / or functional entity in the electronic device that can implement the low frame rate cause determination method. The specific implementation subject can be determined according to actual usage requirements, and this disclosure embodiment does not limit it.

[0057] The method for determining the cause of low frame rate provided in this disclosure will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0058] like Figure 2 As shown in the embodiments of this disclosure, a method for determining the cause of low frame rate is provided, which may include the following steps 201 to 203.

[0059] 201. Obtain the target draft data corresponding to the multiple target drafts reported by the terminal running the material editing application.

[0060] Among them, the frame rate of the multiple target drafts is less than or equal to the frame rate threshold, and the data of the multiple target drafts includes the time consumed by multiple editing modules of the corresponding target drafts. The multiple editing modules are associated with multiple time consumption factors.

[0061] In this context, a draft refers to a video editing draft, which includes video footage and instructions for editing operations. A video editing draft is a temporary working version in the video editing process that has not yet undergone final optimization, refinement, or output. It is an intermediate product of the video editor's creative process, encompassing preliminary processing of the original video footage, editing, adding special effects, adjusting audio, setting subtitles, and other operations. However, these operations may not be complete, accurate, or meet the final output requirements.

[0062] Among them, the multiple target draft data can include draft data corresponding to the same target draft, or it can include draft data corresponding to different target drafts. The specifics can be determined according to the actual situation, and there is no limitation here.

[0063] In some embodiments of this disclosure, the target draft data can be reported according to a reporting cycle, which can be multiple target draft data corresponding to multiple target drafts reported by the terminal running the material editing application within the target reporting cycle.

[0064] In this embodiment of the disclosure, the frame rate of the target draft within the target reporting period can be the average frame rate of the target draft within a statistical period within the target reporting period, or the maximum frame rate of the target draft within a statistical period within the target reporting period. The specific value can be determined according to the actual situation and is not limited here.

[0065] The target reporting period may include one or more statistical periods.

[0066] The target reporting period is longer than the statistical period. The target reporting period can be 1 day, 1 week, 1 month, etc., and can be determined according to the actual situation. There is no limit here.

[0067] The duration of the statistical period can be 5 seconds, 10 seconds, etc., and can be determined according to the actual situation. No limit is set here.

[0068] In this context, an editing module can refer to a functional component that is software, hardware, or a combination of both. Multiple editing modules can be categorized according to the editing scenario. For example, a rendering scenario (also known as a preview scenario) might include multiple editing modules such as a decoding module, an algorithm execution module, a rendering execution module, and an on-screen module; an export scenario might include multiple editing modules such as a decoding module, an algorithm execution module, a rendering execution module, and an encoding module. The specific modules included in these multiple editing modules can be determined based on the actual situation and are not limited here.

[0069] In this embodiment of the disclosure, the multiple time-consuming factors associated with different editing modules can be completely the same, completely different, or partially the same and partially different. The specifics can be determined according to the actual situation and are not limited here.

[0070] In some embodiments of this disclosure, each terminal running the material editing application within the target reporting period may report only the material draft data of the target type draft, or it may report the material draft data of all drafts. The specific method can be determined according to the actual situation and is not limited here.

[0071] Among them, the target type draft is when the frame rate is less than or equal to the frame rate threshold during the target reporting period.

[0072] The frame rate threshold can be 0 or any value greater than 0. The frame rate threshold can be determined according to the actual situation and is not limited here.

[0073] If the frame rate of the target type draft is less than or equal to the frame rate threshold during the target reporting period, it indicates that the target type draft has a low-frequency problem during the target reporting period, i.e., stuttering occurs.

[0074] 202. Determine the proportion of target type draft data in the multiple target draft data.

[0075] Among them, the target type draft data is the target draft data where the time taken by the target time-consuming module is greater than or equal to the target time-consuming threshold, and the target time-consuming module is any one of the multiple editing modules.

[0076] The target time threshold can be 0 or any value greater than 0. The target time threshold can be determined based on the actual situation and is not limited here. The time thresholds corresponding to different time-consuming modules can be the same or different, which can be determined based on the actual situation and is not limited here.

[0077] It is understandable that if a certain number of target draft data points have a module whose execution time is greater than or equal to the corresponding execution time threshold, then the certain number of target draft data points is considered to be a type of draft data corresponding to that module. The proportion of a type of draft data corresponding to that module can be determined based on the ratio of the number of the certain number of target draft data points to the number of the multiple target draft data points.

[0078] In some embodiments of this disclosure, the proportion of one type of draft data (such as target type draft data) can be determined from multiple target draft data. Alternatively, the proportion of multiple types of draft data (such as first type draft data and second type draft data, where the first type draft data is the target draft data whose time consumption of the first time consumption module is greater than or equal to the first time consumption threshold, and the second type draft data is the target draft data whose time consumption of the second time consumption module is greater than or equal to the second time consumption threshold, and the first time consumption module and the second time consumption module are different) can be determined according to the actual situation, and is not limited here.

[0079] In this embodiment of the disclosure, the target type draft data is used as an example for illustrative purposes. The processing procedures for other types of draft data can be referred to the processing procedures for target type draft data, which will not be elaborated here.

[0080] Example 1: Multiple target draft data includes 100 target draft data, and multiple editing modules include editing module 1, editing module 2, editing module 3, and editing module 4. Editing module 1 corresponds to a time consumption threshold of 1, editing module 2 corresponds to a time consumption threshold of 2, editing module 3 corresponds to a time consumption threshold of 3, and editing module 4 corresponds to a time consumption threshold of 4. Time consumption thresholds 1, 2, 3, and 4 can be the same. If the time consumed by each of the multiple target draft data corresponding to editing module 1 is less than the time consumption threshold 1, then editing module 1 is not a time-consuming module, and there is no type draft data corresponding to editing module 1 among the multiple target draft data. If the time consumed by each of the 10 target draft data corresponding to editing module 2 is greater than or equal to the time consumption threshold 2, then editing module 2 is a time-consuming module, and the proportion of type draft data corresponding to editing module 2 among the multiple target draft data is 10%. If the time consumed by each of the 30 target draft data corresponding to editing module 3 is greater than or equal to the time consumption threshold 3, then editing module 3 is a time-consuming module, and the proportion of type draft data corresponding to editing module 3 among the multiple target draft data is 30%. If the time consumed by each of the 20 target draft data corresponding to editing module 4 is greater than or equal to the time consumption threshold 4, then editing module 4 is a time-consuming module, and the proportion of type draft data corresponding to editing module 4 among the multiple target draft data is 20%.

[0081] 203. If the proportion of this quantity is greater than or equal to the proportion threshold, determine the target time consumption factor from multiple time consumption factors associated with the target time consumption module, and determine the low frame rate optimization strategy for the material editing application based on the target time consumption factor.

[0082] Among them, the time consumption factor of this target is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

[0083] The percentage threshold can be 0 or any value greater than 0, and can be determined according to the actual situation. No limit is set here.

[0084] The percentage thresholds for different types of draft data can be the same or different, and can be determined according to the actual situation. No restrictions are imposed here.

[0085] It is understandable that when the proportion of this quantity is greater than or equal to the proportion threshold, the target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module. That is, the factor that causes the low frame rate problem in the target draft corresponding to the target type draft data is determined, and then the low frame rate optimization strategy for the material editing application is determined based on the target time consumption factor. When the proportion of this quantity is less than the proportion threshold, there is no need to analyze the target time consumption module, that is, there is no need to analyze the factor that causes the low frame rate problem in the target draft corresponding to the target type draft data.

[0086] Example 2, following Example 1 above, assumes that the percentage thresholds for different types of draft data are the same, and the percentage threshold is 25%. Then the percentage of the type of draft data corresponding to editing module 3 is 30%, which is greater than 25%. Therefore, the target time-consuming factor is determined from the multiple time-consuming factors associated with editing module 3.

[0087] In some embodiments of this disclosure, the target time-consuming module is the module with the longest time consumption among the plurality of editing modules corresponding to the target type draft data.

[0088] Understandably, the process involves first identifying the time-consuming module among multiple editing modules corresponding to various target draft data. Target draft data with the same time-consuming module are grouped together, while those with different time-consuming modules are grouped together. Then, draft data within the same group whose time-consuming module's duration is greater than or equal to a time threshold are classified as a type of draft data (draft data with a time duration less than the threshold is discarded, as it does not belong to this type). This process helps determine the factors contributing to the low frame rate issue in the target drafts corresponding to this type of draft data.

[0089] In this embodiment of the disclosure, the target time consumption module is determined from different perspectives, thereby determining the target type draft data, which can more accurately determine the factors that cause the low frame rate problem in the target draft corresponding to the target type draft data.

[0090] In this embodiment of the disclosure, during the analysis of the low frame rate problem, the target time-consuming module is determined from multiple editing modules affecting the frame rate of the draft. Then, based on the proportion of the target type draft data corresponding to the target time-consuming module in multiple target draft data and the relationship between the proportion and the threshold, it is determined whether to determine the target time-consuming factor with the greatest impact from multiple time-consuming factors associated with the target time-consuming module. In this way, for the problem of many and complex influencing factors in open editing scenarios, the complex problem is simplified by using an approximate solution instead of an exact solution, discarding secondary factors and retaining the main factors, simplifying the analysis process, thereby quickly and accurately determining the main factors causing the low frame rate problem, realizing the attribution analysis of the low frame rate problem, and then determining the low frame rate optimization strategy for the material editing application based on the target time-consuming factor obtained from the attribution analysis, so as to reduce the occurrence rate of low frame rate in the material editing application.

[0091] In some embodiments of this disclosure, the multiple target draft data are reported by the terminal during the target reporting cycle, combined with Figure 2 ,like Figure 3 As shown, step 203 above can be implemented through steps 203a and 203b below.

[0092] 203a. If the proportion of this quantity is greater than or equal to the proportion threshold, determine the target growth rate.

[0093] The target growth rate refers to the reporting growth rate of the target type draft data in the current reporting period relative to the previous reporting period.

[0094] It can be understood that the target growth rate is the ratio of the difference between the number of target type draft data reported in the target reporting period and the number of target type draft data reported in the previous reporting period to the number of target type draft data reported in the target reporting period.

[0095] 203b. If the target growth rate is greater than or equal to the growth rate threshold, determine the target time consumption factor from among the multiple time consumption factors associated with the target time consumption module.

[0096] The growth rate threshold can be 0 or any value greater than 0. The growth rate threshold can be determined according to the actual situation and is not limited here.

[0097] The growth rate thresholds for different types of draft data can be the same or different, and can be determined based on the actual situation. No restrictions are imposed here.

[0098] In this embodiment, when the proportion of target type draft data is greater than or equal to a proportion threshold, and the growth rate threshold corresponding to the target type draft data is greater than or equal to a growth rate threshold, the target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module. This ensures that the target time consumption factor is the main factor affecting the low frame rate problem in the material editing application, thereby ensuring that the low frame rate optimization strategy for the material editing application determined based on the target time consumption factor is optimal. This allows for better optimization of the low frame rate problem in the material editing application.

[0099] In some embodiments of this disclosure, the target type of draft data is the type of draft data with the highest reporting growth rate. The reporting growth rate of different types of draft data in the target reporting period is different from that of the previous reporting period, and different types of draft data correspond to different time-consuming modules.

[0100] It is understood that there is at least one type of draft data, and the time consumption of each type of draft data corresponds to a time consumption module that is greater than or equal to the corresponding time consumption threshold (and the time consumption of each type of draft data corresponds to a time consumption module that is the module with the largest time consumption among multiple editing modules). Each type of draft data corresponds to a reporting growth rate, and the target type of draft data is the type of draft data with the largest reporting growth rate among at least one type of draft data.

[0101] In this embodiment of the disclosure, the target type draft data is the type draft data with the largest reported growth rate. This ensures that the target time consumption module is the main factor affecting the low frame rate problem of the material editing application. In turn, it can ensure that the target time consumption factor is the main factor affecting the low frame rate problem of the material editing application. This ensures that the low frame rate optimization strategy for the material editing application determined based on the target time consumption factor is optimal and can better optimize the low frame rate problem of the material editing application.

[0102] In some embodiments of this disclosure, a regression analysis model can be trained, and then the target time-consuming factor can be analyzed from multiple time-consuming factors through the regression analysis model. The specific method can be determined according to the actual situation and is not limited here.

[0103] In some embodiments of this disclosure, the above steps of determining the target time consumption factor from multiple time consumption factors associated with the target time consumption module can be specifically implemented through the following steps 301 and 302.

[0104] 301. Identify several key factors among the multiple time-consuming factors associated with the target time-consuming module.

[0105] Among these, the key factors are time-consuming factors that affect the frame rate of the target draft corresponding to the target type draft data.

[0106] In this embodiment, the multiple key factors corresponding to different modules can be preset, or they can be obtained by training a first machine learning model and then analyzing the multiple key factors corresponding to different modules using the first machine learning model. The first machine learning model can be a regression model, and its specific implementation can be determined according to the actual situation.

[0107] 302. Determine the time-consuming factors for this objective from among these multiple key factors.

[0108] In this embodiment of the disclosure, a second machine learning model can be trained to determine the importance percentage of multiple key factors, and then a target time-consuming factor can be determined based on the importance percentage of the multiple key factors. The target time-consuming factor is the factor with the highest importance percentage.

[0109] In this embodiment of the disclosure, the first machine learning model and the second machine learning model can be two independent machine learning models, or different parts of a single machine learning model. The specific model can be determined according to the actual situation and is not limited here.

[0110] In this embodiment of the disclosure, by first determining multiple key factors among multiple time-consuming factors associated with the target time-consuming module, and then determining the target time-consuming factor from among the multiple key factors, the efficiency of determining the target time-consuming factor from multiple time-consuming factors can be improved.

[0111] In some embodiments of this disclosure, the above steps for determining the target time consumption factor from multiple time consumption factors associated with the target time consumption module can be specifically implemented through the following step 303.

[0112] 303. Output the target draft parameter data corresponding to the first target draft, so that the second target draft is created based on the target draft parameter data, and analyze the multiple time consumption factors associated with the target time consumption module based on the second target draft to determine the target time consumption factors.

[0113] Among them, the first target draft corresponds to one of the target type draft data in the multiple target draft data.

[0114] In this embodiment of the disclosure, the actual time consumption of multiple time consumption factors associated with the target time consumption module can be obtained based on the second target draft. Then, based on the actual time consumption of multiple time consumption factors, the time consumption factor with the largest actual time consumption is determined to be the target time consumption factor, or the time consumption factor with the largest optimization space in actual time consumption is determined to be the target time consumption factor. The specific determination can be made according to the actual situation, and is not limited here.

[0115] It's understandable that once a scene is segmented to a certain extent, low frame rates and user editing items can be simplified into a linear relationship. Therefore, a draft for that segmented scene can be reconstructed statistically, and then the target time-consuming factors can be analyzed based on the reconstructed draft. Thus, by acquiring and outputting target draft parameter data, a second target draft corresponding to the first target draft can be reconstructed based on this data. This second target draft can then be used to analyze multiple time-consuming factors associated with the target time-consuming module, determining the target time-consuming factor. In this way, developers can more accurately determine the target time-consuming factors by analyzing the reconstructed draft based on the target draft parameter data.

[0116] In this embodiment of the disclosure, in order to ensure the accuracy of the target time consumption factors obtained from the analysis, multiple target draft parameter data corresponding to multiple target type draft data in multiple target draft data can be obtained. The multiple target draft parameter data correspond to multiple first target drafts, and the multiple first target drafts are target drafts among multiple target drafts. Then, multiple second target drafts corresponding to the multiple first target drafts are reconstructed based on the multiple target draft parameter data. Then, the multiple time consumption factors associated with the target time consumption module are analyzed through the multiple second target drafts to determine the target time consumption factors.

[0117] In some embodiments of this disclosure, after step 203 described above, the method for determining the cause of low frame rate provided in the embodiments of this disclosure may further include step 204 as described below.

[0118] 204. Determine the preset optimization strategy corresponding to the time consumption factor of the target as a low frame rate optimization strategy for the material editing application.

[0119] In this embodiment of the disclosure, different time-consuming factors can correspond to different preset optimization strategies. Therefore, the low frame rate optimization strategy corresponding to the target time-consuming factor can be quickly determined.

[0120] In some embodiments of this disclosure, the optimization strategies corresponding to different time-consuming factors can also be determined by the developers based on the corresponding time-consuming factors. The specific strategy can be determined according to the actual situation and is not limited here.

[0121] In this embodiment of the disclosure, the preset optimization strategy corresponding to the target time consumption factor is determined as a low frame rate optimization strategy for the material editing application. In this way, the material editing application can be optimized based on the low frame rate optimization strategy to reduce the probability of low frame rate problems occurring in the material editing application.

[0122] For example, the multiple editing modules include a decoding module, an algorithm execution module, a rendering execution module, an on-screen module, and other algorithm modules. Other modules may also be included, which are not limited here.

[0123] When the target time-consuming module is the decoding module, the corresponding target time-consuming factor can be frequency reduction due to not being plugged in, or the decoding method being software decoding (not hardware decoding, as software decoding is relatively time-consuming). Other time-consuming factors can also be included, which are not limited here. Correspondingly, if the target time-consuming factor is frequency reduction due to not being plugged in, the low frame rate optimization strategy is to prompt the user to plug in the power. If the target time-consuming factor is software decoding, the low frame rate optimization strategy is to change the decoding method to hardware decoding.

[0124] When the target time-consuming module is the algorithm execution module, the corresponding target time-consuming factors can be that the rendering algorithm and the preprocessing algorithm are on the GPU and CPU respectively, or that the GPU or CPU utilization is low, and other time-consuming factors can also be included, which are not limited here. Correspondingly, if the target time-consuming factor is that the rendering algorithm and the preprocessing algorithm are on the GPU and CPU respectively, then the low frame rate optimization strategy is to suggest moving the preprocessing algorithm to the GPU or CPU where the rendering algorithm is located (i.e., the GPU algorithm implements the entire GPU algorithm chain, and the CPU algorithm implements the entire CPU algorithm chain). If the target time-consuming factor is that the GPU or CPU utilization is low, then the low frame rate optimization strategy is to improve the GPU or CPU utilization through a parallel framework.

[0125] When the target time-consuming module is the rendering execution module, the corresponding target time-consuming factor can be rendering task fragmentation, or it can include other time-consuming factors; there are no restrictions here. Correspondingly, the low frame rate optimization strategy is to merge the small prop packs corresponding to the rendering tasks to reduce the number of GPU calls.

[0126] When the target time-consuming module is the on-screen display module, the corresponding target time-consuming factors can be the rendering wait time affecting the on-screen display (e.g., rendering tasks and on-screen display are in the same queue, and on-screen display can only be executed after all rendering tasks are completed), and can also include other time-consuming factors, which are not limited here. Correspondingly, the low frame rate optimization strategy is to optimize the rendering wait time (e.g., to separate rendering tasks and on-screen display into two queues, rendering and on-screen display simultaneously, without having to wait for all rendering tasks to be completed before displaying).

[0127] When the target time-consuming module is another algorithm module, the corresponding target time-consuming factor can be the low execution efficiency of the matting algorithm, or it can include other time-consuming factors, which are not limited here. Correspondingly, the low frame rate optimization strategy is to accelerate the matting algorithm and optimize decoding.

[0128] In some embodiments of this disclosure, before step 201 above, the method for determining the cause of low frame rate provided in the embodiments of this disclosure may further include step 205 below; step 201 above can be specifically implemented through step 201a below.

[0129] 205. Obtain the multiple draft data and multiple frame rate data corresponding to the multiple drafts reported by the terminal.

[0130] These multiple frame rate data are used to indicate the frame rate of the corresponding draft.

[0131] Specifically, multiple draft data and multiple frame rate data corresponding to multiple drafts reported within the target reporting period are obtained. These multiple frame rate data are used to indicate the frame rate of the corresponding draft within the target reporting period.

[0132] 201a. Based on the multiple frame rate data, determine the multiple target draft data from the multiple draft data.

[0133] Among them, the frame rate data corresponding to the multiple target draft data indicates a frame rate that is less than or equal to the frame rate threshold.

[0134] It is understandable that multiple target draft data with low frame rate issues can be identified from the full draft data (multiple draft data) reported in the target reporting cycle, thus simplifying the reporting process of material editing applications.

[0135] In some embodiments of this disclosure, step 201a above can be specifically implemented by the following step 201a1.

[0136] 201a1. If the number of target frame rate data in the multiple frame rate data is greater than or equal to the number threshold, the multiple target draft data shall be determined from the multiple draft data.

[0137] Wherein, the frame rate corresponding to the target frame rate data is less than or equal to the frame rate threshold.

[0138] The quantity threshold can be 0 or any value greater than 0. The quantity threshold can be preset or calculated, such as determining the quantity threshold based on the product of the percentage threshold and the quantity of multiple frame rate data.

[0139] It is understandable that if the number of target frame rate data with low frame rate issues among multiple reported frame rate data is greater than or equal to the number threshold, then performing attribution analysis on the low frame rate issues can ensure that the low frame rate issues are a common problem rather than an occasional one. This can ensure the accuracy of low frame rate analysis, improve the efficiency of low frame rate analysis, and avoid unnecessary analysis.

[0140] Figure 4 This is a structural block diagram of a low frame rate cause determination device shown in an embodiment of the present disclosure, such as... Figure 4As shown, it includes: an acquisition module 401, used to acquire multiple target draft data corresponding to multiple target drafts reported by the terminal running the material editing application, wherein the frame rate of each of the multiple target drafts is less than or equal to a frame rate threshold, and each of the multiple target draft data includes the time consumption of multiple editing modules of the corresponding target draft, and each of the multiple editing modules is associated with multiple time consumption factors; and a determination module 402, used to determine the proportion of target type draft data in the multiple target draft data, wherein the target type draft data is the target draft data in which the time consumption of the target time consumption module is greater than or equal to the target time consumption threshold, and the target time consumption module is any one of the multiple editing modules; when the proportion is greater than or equal to the proportion threshold, a target time consumption factor is determined from the multiple time consumption factors associated with the target time consumption module, so as to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor, wherein the target time consumption factor is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

[0141] In some embodiments of this disclosure, the target time-consuming module is the module with the longest time consumption among the plurality of editing modules corresponding to the target type draft data.

[0142] In some embodiments of this disclosure, the multiple target draft data are reported by the terminal in the target reporting cycle. The determining module 402 is specifically used to determine the target growth rate when the proportion of the quantity is greater than or equal to the proportion threshold. The target growth rate is the reporting growth rate of the target type draft data in the target reporting cycle relative to the previous reporting cycle. When the target growth rate is greater than or equal to the growth rate threshold, the target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module.

[0143] In some embodiments of this disclosure, the target type of draft data is the type of draft data with the highest reporting growth rate. The reporting growth rate of different types of draft data in the target reporting period is different from that of the previous reporting period, and different types of draft data correspond to different time-consuming modules.

[0144] In some embodiments of this disclosure, the determining module 402 is specifically used to determine multiple key factors among multiple time-consuming factors associated with the target time-consuming module, wherein the multiple key factors are time-consuming factors that affect the frame rate of the target draft corresponding to the target type draft data; and to determine the target time-consuming factor from the multiple key factors.

[0145] In some embodiments of this disclosure, the determining module 402 is specifically used to output target draft parameter data corresponding to the first target draft, so that a second target draft is created based on the target draft parameter data, and the second target draft is used to analyze multiple time-consuming factors associated with the target time-consuming module to determine the target time-consuming factor; wherein, the first target draft corresponds to one target type draft data among the multiple target draft data.

[0146] In some embodiments of this disclosure, the determining module 402 is further configured to, when the proportion of the quantity is greater than or equal to the proportion threshold, determine the target time consumption factor from the multiple time consumption factors associated with the target time consumption module, and then determine the preset optimization strategy corresponding to the target time consumption factor as a low frame rate optimization strategy for the material editing application.

[0147] In some embodiments of this disclosure, the acquisition module 401 is further configured to acquire multiple draft data and multiple frame rate data corresponding to the multiple target drafts reported by the terminal running the material editing application before acquiring the multiple target draft data corresponding to the multiple target drafts reported by the terminal. The multiple frame rate data are used to indicate the frame rate of the corresponding drafts. Specifically, the acquisition module 401 is configured to determine the multiple target draft data from the multiple draft data based on the multiple frame rate data. The frame rate indicated by the frame rate data corresponding to the multiple target draft data is less than or equal to the frame rate threshold.

[0148] In some embodiments of this disclosure, the acquisition module 401 is specifically used to determine the multiple target draft data from the multiple draft data when the number of target frame rate data in the multiple frame rate data is greater than or equal to a number threshold; wherein the frame rate corresponding to the target frame rate data is less than or equal to the frame rate threshold.

[0149] In this embodiment, each module can implement the low frame rate cause determination method provided in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0150] Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of the present disclosure. It is used to illustrate an electronic device that implements any method for determining the cause of low frame rate in the embodiments of the present disclosure and should not be construed as a specific limitation on the embodiments of the present disclosure.

[0151] like Figure 5 As shown, the electronic device 500 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0152] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 500 with various devices is shown, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0153] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 509, or installed from storage device 508, or installed from ROM 502. When the computer program is executed by processor 501, it can perform the functions defined in any low frame rate cause determination method provided in embodiments of this disclosure.

[0154] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0155] In some implementations, the client and server can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0156] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0157] The aforementioned computer-readable medium carries one or more programs. When the aforementioned one or more programs are executed by the electronic device, the electronic device causes the following: It acquires multiple target draft data corresponding to multiple target drafts reported by a terminal running a material editing application. The frame rates of these multiple target drafts are all less than or equal to a frame rate threshold. Each of the multiple target draft data includes the time consumption of multiple editing modules for the corresponding target draft, and each of the multiple editing modules is associated with multiple time consumption factors. It determines the proportion of target type draft data in the multiple target draft data. Target type draft data refers to target draft data where the time consumption of a target time consumption module is greater than or equal to a target time consumption threshold, and the target time consumption module is any one of the multiple editing modules. If the proportion is greater than or equal to the proportion threshold, it determines a target time consumption factor from the multiple time consumption factors associated with the target time consumption module, and determines a low frame rate optimization strategy for the material editing application based on the target time consumption factor. The target time consumption factor is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

[0158] In embodiments of this disclosure, computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on a computer, partially on a computer, as a standalone software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0159] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0160] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0161] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0162] In the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0163] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0164] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0165] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for determining the cause of low frame rate, characterized in that, The method includes: The system acquires multiple target draft data corresponding to multiple target drafts reported by the terminal running the material editing application. The frame rate of each of the multiple target drafts is less than or equal to a frame rate threshold. Each of the multiple target draft data includes the time consumed by multiple editing modules of the corresponding target draft. Each of the multiple editing modules is associated with multiple time consumption factors. Determine the proportion of target type draft data among the multiple target draft data, wherein the target type draft data is the target draft data in which the time consumption of the target time consumption module is greater than or equal to the target time consumption threshold, and the target time consumption module is any one of the multiple editing modules; When the proportion of the quantity is greater than or equal to the proportion threshold, a target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module, so as to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor. The target time consumption factor is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

2. The method according to claim 1, characterized in that, The target time-consuming module is the module with the longest time consumption among the multiple editing modules corresponding to the target type draft data.

3. The method according to claim 1, characterized in that, The multiple target draft data are reported by the terminal during the target reporting cycle. When the proportion of the number is greater than or equal to a proportion threshold, the target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module, including: When the proportion of the quantity is greater than or equal to the proportion threshold, a target growth rate is determined. The target growth rate is the reporting growth rate of the target type draft data relative to the previous reporting period. If the target growth rate is greater than or equal to the growth rate threshold, the target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module.

4. The method according to claim 3, characterized in that, The target type of draft data is the type of draft data with the highest reporting growth rate. The reporting growth rate of different types of draft data in the target reporting period is different from that in the previous reporting period. Different types of draft data correspond to different time-consuming modules.

5. The method according to claim 1, characterized in that, Determining the target time consumption factor from multiple time consumption factors associated with the target time consumption module includes: Identify multiple key factors among the multiple time-consuming factors associated with the target time-consuming module, wherein the multiple key factors are time-consuming factors that affect the frame rate of the target draft corresponding to the target type draft data; The target time-consuming factor is determined from the multiple key factors.

6. The method according to claim 1, characterized in that, Determining the target time consumption factor from multiple time consumption factors associated with the target time consumption module includes: Output the target draft parameter data corresponding to the first target draft, so as to create a second target draft based on the target draft parameter data, and analyze multiple time consumption factors associated with the target time consumption module based on the second target draft to determine the target time consumption factors; wherein, the first target draft corresponds to one of the target type draft data in the multiple draft data.

7. The method according to claim 1, characterized in that, When the proportion of the quantity is greater than or equal to the proportion threshold, after determining the target time consumption factor from the multiple time consumption factors associated with the target time consumption module, the method further includes: The preset optimization strategy corresponding to the target time consumption factor is determined as a low frame rate optimization strategy for the material editing application.

8. The method according to any one of claims 1 to 7, characterized in that, Before obtaining the target draft data corresponding to the multiple target drafts reported by the terminal of the running material editing application, the method further includes: The system acquires multiple draft data and multiple frame rate data corresponding to the multiple drafts reported by the terminal, wherein the multiple frame rate data are used to indicate the frame rate of the corresponding draft. The acquisition of multiple target draft data corresponding to multiple target drafts reported by the terminal of the running material editing application includes: Based on the multiple frame rate data, multiple target draft data are determined from the multiple draft data, wherein the frame rate indicated by the frame rate data corresponding to the multiple target draft data is less than or equal to the frame rate threshold.

9. The method according to claim 8, characterized in that, Determining the proportion of target type draft data among the multiple target draft data includes: If the number of target frame rate data in the plurality of frame rate data is greater than or equal to a number threshold, the plurality of target draft data are determined from the plurality of draft data; Wherein, the frame rate corresponding to the target frame rate data is less than or equal to the frame rate threshold.

10. A device for determining the cause of low frame rate, characterized in that, include: The acquisition module is used to acquire multiple target draft data corresponding to multiple target drafts reported by the terminal running the material editing application. The frame rate of the multiple target drafts is less than or equal to the frame rate threshold. The multiple target draft data includes the time consumption of multiple editing modules of the corresponding target drafts. The multiple editing modules are associated with multiple time consumption factors. The determining module is used to determine the proportion of target type draft data among the multiple target draft data, wherein the target type draft data is the target draft data whose time consumption of the target time consumption module is greater than or equal to the target time consumption threshold, and the target time consumption module is any one of the multiple editing modules; When the proportion of the quantity is greater than or equal to the proportion threshold, a target time consumption factor is determined from multiple time consumption factors associated with the target time consumption module, so as to determine a low frame rate optimization strategy for the material editing application based on the target time consumption factor. The target time consumption factor is the time consumption factor that has the greatest impact on the frame rate of the target draft corresponding to the target type draft data.

11. An electronic device, characterized in that, include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method for determining the cause of low frame rate as described in any one of claims 1 to 9 when the computer program is invoked.

12. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the method for determining the cause of low frame rate as described in any one of claims 1 to 9.

13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method for determining the cause of low frame rate as described in any one of claims 1 to 9.