Application program startup performance key frame identification method and device, equipment and medium
By using clear frame sequence analysis and a large-scale state detection model based on screen recording data, the accuracy and efficiency issues of identifying key frames for startup performance in third-party applications without source code are solved, enabling efficient and accurate startup performance evaluation across applications.
Patent Information
- Application Number
- CN202611331764.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies are difficult to be compatible with third-party applications without source code, lack the ability to recognize subtle semantic states of the interface, are difficult to adapt to cross applications, and have poor generalization performance, resulting in low accuracy and efficiency in key frame recognition for application startup performance.
By analyzing clear frame sequences based on screen recording data, and combining icons, homepage frames, and cold start page reference images, a large-scale state detection model is used to perform refined state detection, identify startup trigger frames, homepage frame frames, and data loading completion frames, and generate startup performance metrics.
It achieves accurate identification of applications with different interface styles and loading logic, reduces computing resource consumption, improves detection efficiency and result consistency, and provides objective startup performance evaluation support.
Smart Images

Figure CN123142115A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of application software testing technology, and in particular to methods, apparatus, devices and media for identifying keyframes of application startup performance. Background Technology
[0002] With the increasing demand for automated performance testing of mobile applications across multiple device models, the industry generally uses screen recording videos to automatically identify key frames during the application (APP) startup process, quantify the startup time from the user's visual perception dimension, and unify the evaluation standard for application startup performance.
[0003] The testing methods in related technologies fall into three categories: code instrumentation, computer vision algorithms, and dedicated deep learning models. Code instrumentation can only be adapted to proprietary applications and cannot be used to test third-party applications; furthermore, the data collected by the instrumentation points deviates from the actual visual loading time of the screen. Computer vision algorithms rely solely on pixel-based comparisons, making them susceptible to interference from splash screen ads and unable to distinguish subtle rendering differences in the interface; repeated parameter adjustments are required after changing applications. Dedicated deep learning models depend on large-scale labeled samples, requiring retraining when adding new applications, and exhibit poor generalization performance. Therefore, a technical solution is needed that simultaneously satisfies compatibility with third-party source-code-free applications, recognition of subtle semantic states in the interface, rapid cross-application adaptation, and good generalization ability. Summary of the Invention
[0004] The main objective of this application is to propose a method, apparatus, device, and medium for identifying application startup performance keyframes, which are compatible with applications without source code, improve the quality and efficiency of application startup performance keyframe identification, and reduce computational resource consumption.
[0005] To achieve the above objectives, a first aspect of this application proposes a method for identifying application startup performance keyframes, comprising: Determine the clear frame sequence based on the screen recording data of the application to be tested, and obtain the icon reference image, homepage frame reference image, and cold start page reference image; The adjacent frames in the clear frame sequence and the icon reference image are input into the state detection large model to perform start-up trigger state detection, and the state comparison results of the adjacent frames are obtained. When the state comparison results indicate a state change, the next frame in the corresponding adjacent frames is determined as the start-up trigger frame. Using the start-up trigger frame as the search starting point, select detection frames from the clear frame sequence to perform state determination on the input state detection big model, and locate the homepage frame frame based on the homepage frame reference map; Starting from the homepage frame, adjacent frames are extracted from the clear frame sequence to perform rendering state detection on the input state detection model. The complete rendering frame is located based on the cold start page reference image and the homepage frame reference image. Using the complete rendered frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform content change detection on the input state detection large model, and the data loading completed frame is located. Calculate the timestamp differences corresponding to the startup trigger frame, the homepage frame, the complete rendering frame, and the data loading completion frame to generate startup performance metrics.
[0006] In some embodiments, the method further includes: When no activation trigger state is detected in all adjacent frame pairs within the preset search range, the icon position corresponding to the icon reference image is located in the adjacent frames by visual feature matching. Based on the located icon position, the icon regions of the two frames in the adjacent frame pair are cropped respectively, and one or more image feature change indices are calculated for the icon region of the later frame relative to the icon region of the previous frame. When the image feature change index is greater than the preset change index, the next frame in the adjacent frames is determined as the start trigger frame.
[0007] In some embodiments, locating the icon position corresponding to the icon reference image in adjacent frames by visual feature matching includes: The icon position of the icon reference image in the desktop area of the frame is located by the first feature extraction algorithm; When the first feature extraction algorithm fails to match, the icon position is located by the second feature extraction algorithm. When the second feature extraction algorithm fails to match, the sampling range is gradually expanded through the state detection big model to identify and locate the icon position.
[0008] In some embodiments, the step of selecting detection frames from the clear frame sequence to perform state determination on the input state detection large model, and locating the homepage frame frame based on the homepage frame reference graph, includes: The detection frame pair is formed by taking the left boundary frame and the midpoint frame of the current search interval according to the set initial search interval. The state detection model outputs the positional relationship of the detection frame pair relative to the homepage frame state indicated by the homepage frame reference diagram. The positional relationship includes one of the following: all are before the target state, all are after the target state, or cross the target state. Based on the positional relationship, the range of the shrinking search interval is determined, and the detection frame pairs are repeatedly extracted and compared based on the search range until the search range is less than the precise search threshold. Within the shrunk search range, the system detects frame by frame, locates critical frame pairs where the previous frame has not reached the target state and the next frame has reached the target state, and determines the next frame in the critical frame pair as the homepage frame frame.
[0009] In some embodiments, locating the critical frame pair where the previous frame has not reached the target state and the subsequent frame has reached the target state includes: Extract the original confidence scores of the critical frame pairs output by the large state detection model, and multiply the original confidence scores by the preset critical frame reward coefficients to generate adjusted confidence scores. When the adjusted confidence level is greater than the target confidence level, the critical frame pair is confirmed to be valid.
[0010] In some embodiments, the step of extracting adjacent frames from the clear frame sequence to perform rendering state detection on the input state detection large model, and locating the complete rendering frame based on the cold start page reference map and the homepage frame reference map, includes: Extract adjacent frame pairs from the homepage frame frame onwards, and input them together with the cold start page reference image and the homepage frame reference image into the state detection big model to detect the mask disappearance state and content rendering state. When a pair of adjacent frames is detected that simultaneously satisfies the conditions of the mask being completely removed and the content being rendered, the corresponding next frame is determined as the first candidate frame. The state of the first candidate frame is checked for the first number of consecutive adjacent frame pairs after the first candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the target state, the first candidate frame is determined as the complete rendering frame. If no matching adjacent frame pair is detected within the preset search time, the complete rendering frame is located using a binary search method.
[0011] In some embodiments, the step of extracting adjacent frames from the clear frame sequence to perform content change detection on the input state detection large model and locating the data loading completion frame includes: After the complete rendering frame, the adjacent frame pairs are extracted one by one and input into the state detection large model to detect the content change state between frames. When the adjacent frame pair whose content has been updated is detected, the corresponding next frame is determined as the second candidate frame. The state of the second candidate frame is checked for the second number of consecutive adjacent frame pairs after the second candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the updated state, the second candidate frame is determined as the data loading completed frame. If no matching adjacent frame pair is detected within the preset search time, the data loading completion frame is located using a binary search method. If no content change is detected in any of the detection paths, the complete rendering frame is determined to be the data loading completion frame.
[0012] To achieve the above objectives, a second aspect of this application provides an application startup performance keyframe identification device, comprising: Data acquisition module: used to determine the clear frame sequence based on the screen recording data of the application to be tested, and to acquire the icon reference image, homepage frame reference image and cold start page reference image; Start-up trigger frame detection module: used to input adjacent frames in the clear frame sequence and the icon reference image into the state detection large model to perform start-up trigger state detection, obtain the state comparison result of the adjacent frames, and when the state comparison result indicates a state change, the next frame in the corresponding adjacent frames is determined as the start-up trigger frame. Homepage frame frame detection module: used to select detection frames from the clear frame sequence with the start trigger frame as the search starting point, perform state determination on the input state detection big model, and locate the homepage frame frame based on the homepage frame reference map; Complete Rendering Frame Detection Module: This module uses the homepage frame as the starting point for searching, extracts adjacent frames from the clear frame sequence, performs rendering state detection on the input state detection model, and locates the complete rendering frame based on the cold start page reference image and the homepage frame reference image. Data loading complete frame detection module: It is used to extract adjacent frames from the clear frame sequence, take the complete rendered frame as the search starting point, perform content change detection on the input state detection big model, and locate the data loading complete frame. Metrics generation module: used to calculate the timestamp difference between the startup trigger frame, the homepage frame, the complete rendering frame and the data loading completion frame, and generate startup performance metrics.
[0013] To achieve the above objectives, a third aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described in the first aspect.
[0014] To achieve the above objectives, a fourth aspect of the present application provides a storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.
[0015] The application startup performance key frame identification method, apparatus, device, and medium proposed in this application determine a clear frame sequence based on the screen recording data of the application to be detected, and obtain an icon reference image, a homepage frame reference image, and a cold start page reference image. Adjacent frames in the clear frame sequence and the icon reference image are input into a large-scale state detection model for startup trigger state detection, obtaining state comparison results between adjacent frames. When the state comparison result indicates a state change, the next frame in the corresponding adjacent frame is determined as the startup trigger frame. Using the startup trigger frame as the search starting point, detection frames are selected from the clear frame sequence to perform state determination on the large-scale state detection model, and the homepage frame frame is located based on the homepage frame reference image. Using the homepage frame frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform rendering state detection on the large-scale state detection model, and the complete rendering frame is located based on the cold start page reference image and the homepage frame reference image. Using the complete rendering frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform content change detection on the large-scale state detection model, and the data loading completion frame is located. The timestamp differences corresponding to the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame are calculated to generate startup performance indicators. This application's embodiments utilize a clear frame sequence extracted from application screen recording data, combined with reference images such as icons, homepage frames, and cold start pages. A large-scale state detection model is employed to perform refined state detection and key node localization on the frame sequence. This accurately identifies key frames such as the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame, avoiding the subjectivity, large errors, and missed key nodes inherent in manual observation or single-image comparison. Furthermore, the large-scale state detection model enables adjacent frame state comparison, rendering state determination, and content change detection. Leveraging the model's advantages in visual understanding and semantic reasoning, the accuracy of identification at each key stage during startup is improved, adapting to applications with different interface styles and loading logics. Simultaneously, startup performance metrics are directly generated based on key frame timestamp differences, achieving automated, quantitative, and standardized evaluation of application startup performance. The entire startup process time can be fully reconstructed without manual intervention, improving detection efficiency and result consistency. This provides objective and accurate data support for application cold start optimization detection, is compatible with applications without source code, improves the quality and efficiency of key frame identification for application startup performance, and reduces computational resource consumption. Attached Figure Description
[0016] Figure 1 This is a flowchart of the application startup performance keyframe identification method provided in the embodiments of this application.
[0017] Figure 2 This is another detection flowchart of the startup trigger frame provided in the embodiments of this application.
[0018] Figure 3This is a flowchart illustrating how to locate the position of an icon reference image in adjacent frames by matching visual features, as provided in an embodiment of this application.
[0019] Figure 4 This is a flowchart provided in this application embodiment, which describes how to select detection frames from a clear frame sequence to determine the state of an input state detection model, and how to locate the homepage frame frame based on the homepage frame reference diagram.
[0020] Figure 5 This is a flowchart provided in an embodiment of the present application for locating a critical frame pair where the previous frame has not reached the target state and the next frame has reached the target state.
[0021] Figure 6 This is a flowchart provided in this application embodiment, which extracts adjacent frames from a clear frame sequence to perform rendering state detection on the input state detection large model, and locates the complete rendering frame based on the cold start page reference map and the homepage frame reference map.
[0022] Figure 7 This is a flowchart provided in an embodiment of the present application, which extracts adjacent frames from a clear frame sequence, performs content change detection on the input state detection large model, and locates the data loading completed frame.
[0023] Figure 8 This is an overall flowchart of application startup performance keyframe identification provided in the embodiments of this application.
[0024] Figures 9 to 13 This is a schematic diagram illustrating the recognition process for a specific test scenario provided in this embodiment.
[0025] Figure 14 This is a structural block diagram of an application startup performance keyframe recognition device provided in another embodiment of this application.
[0026] Figure 15 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0028] It should be noted that although functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0030] With the increasing demand for automated performance testing of mobile applications across multiple devices, the industry commonly uses screen recording videos to automatically identify key frames during the application (APP) startup process. This quantifies startup time from a user's visual perception perspective, unifies application startup performance evaluation standards, and relies on screen recording videos to automatically identify startup key frames to objectively measure APP startup performance. This has become a research focus in the field of mobile application quality evaluation. Currently, three mainstream technical approaches have emerged in the industry for extracting APP startup key frames and performing performance testing. However, each solution has inherent limitations that make it difficult to achieve a balance.
[0031] The relevant testing solutions include three categories: code instrumentation, computer vision algorithms, and dedicated deep learning models. Code instrumentation requires access to the application's source code and can only be used with the user's own application, making it unsuitable for testing third-party competing applications. Even when instrumentation is performed on a user's own app, differences in device system environments can cause delays in data collection, making it impossible to accurately reflect the actual loading time of the visual layer. Computer vision algorithms rely solely on pixel features for comparison, making them heavily influenced by splash screen ads and cold start pop-ups. The pixel differences between complete rendered frames and data loading completion frames are extremely small and difficult to distinguish, requiring repeated debugging of algorithm parameters after changing the app's interface style. Dedicated deep learning models require massive amounts of manually labeled samples for training. New apps or interface redesigns necessitate retraining the model, resulting in long training cycles, high deployment costs, and weak cross-application generalization ability. Manually labeling keyframes frame by frame is labor-intensive, and the subjective understanding of states such as complete rendering and data loading completion by labelers can lead to biases and inconsistent judgment standards. Therefore, a technical solution is needed that simultaneously satisfies the requirements of compatibility with third-party source code-free applications, recognition of subtle semantic states in the interface, rapid cross-application adaptation, and good generalization ability.
[0032] Based on this, embodiments of this application provide a method, apparatus, device, and medium for identifying key frames of application startup performance. By extracting clear frame sequences from application screen recording data, and combining reference images such as icons, homepage frames, and cold start pages, a large-scale state detection model is used to perform refined state detection and key node localization on the frame sequences. This enables accurate identification of key frames such as startup trigger frames, homepage frame frames, complete rendering frames, and data loading completion frames, avoiding the problems of strong subjectivity, large errors, and missed key nodes caused by manual observation or single image comparison. Furthermore, the large-scale state detection model enables state comparison between adjacent frames, rendering state determination, and content change detection. Leveraging the advantages of the large-scale model in visual understanding and semantic reasoning, the accuracy of identification at each key stage during startup is improved, adapting to applications with different interface styles and loading logics. Simultaneously, startup performance indicators are directly generated based on the timestamp differences of key frames, achieving automated, quantitative, and standardized evaluation of application startup performance. The entire startup process time can be fully reconstructed without manual intervention, improving detection efficiency and result consistency. This provides objective and accurate data support for application cold start optimization detection, is compatible with applications without source code, improves the quality and efficiency of application startup performance key frame identification, and reduces computational resource consumption.
[0033] This application provides a method, apparatus, device, and medium for identifying application startup performance keyframes, which are described in detail through the following embodiments. First, the method for identifying application startup performance keyframes in this application is described.
[0034] This application's embodiments can acquire and process relevant data based on artificial intelligence (AI) technology. AI is the theory, methods, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can react in a way similar to human intelligence. AI also studies the design principles and implementation methods of various intelligent machines, enabling them to possess perception, reasoning, and decision-making capabilities.
[0035] Artificial intelligence (AI) is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, and machine learning / deep learning.
[0036] The application startup performance keyframe identification method provided in this application relates to the field of application software detection technology. This method can be applied to a terminal, a server, or a computer program running on either the terminal or the server. For example, the computer program can be a native program or software module in an operating system; it can be a native application (APP), i.e., a program that needs to be installed in the operating system to run, such as a client that supports application startup performance keyframe identification, i.e., a program that only needs to be downloaded to a browser environment to run; or it can be a small program that can be embedded in any application. In short, the above-mentioned computer program can be any form of application, module, or plugin. The terminal communicates with the server via a network. The application startup performance keyframe identification method can be executed by the terminal or the server, or by the terminal and the server working together.
[0037] In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, or smartwatch, etc. The server can be a standalone server, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms; it can also be a service node in a blockchain system, where the service nodes form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). The terminal and server can connect via Bluetooth, Universal Serial Bus (USB), or a network, etc., and this embodiment does not impose any limitations.
[0038] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0039] The following describes the application startup performance keyframe identification method in the embodiments of this application.
[0040] Figure 1 This is an optional flowchart of the application startup performance keyframe identification method provided in the embodiments of this application. Figure 1 The method may include, but is not limited to, steps 110 to 160. It is also understood that this embodiment... Figure 1 The order of steps 110 to 160 is not specifically limited. The order of steps can be adjusted or some steps can be reduced or added according to actual needs.
[0041] Step 110: Determine the clear frame sequence based on the screen recording data of the application to be tested, and obtain the icon reference image, homepage frame reference image, and cold start page reference image.
[0042] In one embodiment, the screen recording data of the application to be detected can be a screen recording video or image sequence, covering the entire process of the application from click to launch to full loading of page content. Then, an icon reference image, a homepage frame reference image, and a cold start page reference image are obtained. These three reference images correspond to the judgment criteria for different stages of the launch process, providing a unified reference standard for subsequent state recognition and ensuring the consistency and reproducibility of detection results at each stage. Specifically, the icon reference image is used to assist in locating the application's icon position and comparing the state of subsequent launch trigger frames. The homepage frame reference image is used for the location detection of subsequent homepage frame frames, serving as a judgment criterion for the completion of page skeleton rendering. The cold start page reference image is used for the location detection of subsequent fully rendered frames, serving as a judgment criterion for the complete presentation of page visual elements.
[0043] In one embodiment, an initial frame sequence is extracted based on screen recording data. The extraction process can be based on the Presentation Time Stamp (PTS) and performed frame-by-frame operations at fixed time intervals, such as 50ms. The timestamp is used to mark the actual playback time of each frame in the video. Frame-by-frame extraction based on this timestamp can support accurate time calculation for variable frame rate videos, eliminate time measurement errors caused by frame rate fluctuations, and ensure the accuracy of subsequent key frame timestamp calculations.
[0044] Then, the initial frame sequence is filtered for sharpness to obtain a sharp frame sequence. Specifically, the first few extracted frames are processed concurrently in batches for sharpness detection. A state detection model is used to determine whether the image is in a blurry state frame by frame, and the sharp frames are retained to form a sharp frame sequence, where the total number of frames is N, denoted as N. , This represents the i-th clear frame. If the detection finds that the preceding frames are all blurry, then skip those blurry frames and start the clarity screening and subsequent detection process from the subsequent frames to avoid errors in the starting node judgment caused by blurry images at the beginning of the video.
[0045] Step 120: Input the adjacent frames in the clear frame sequence and the icon reference image into the state detection large model to perform start-up trigger state detection, and obtain the state comparison results of adjacent frames. When the state comparison result indicates a state change, determine the next frame in the corresponding adjacent frames as the start-up trigger frame.
[0046] In one embodiment, starting from the beginning of the clear frame sequence, adjacent frame comparison requests are sent concurrently in batches to the state detection model. Each request includes an icon reference image to assist the model in focusing on the target icon area. The state detection model compares and identifies the entire frame of two adjacent frames, determining whether the subsequent frame exhibits visual features indicating that the icon has been clicked or started to open. The detected features include icon graying out, icon enlargement, and the appearance of an opening transition effect at the icon's edge. Therefore, this detection method does not require pre-locating the icon's position; it directly determines the state based on the visual information of the entire frame. After obtaining the state comparison results of adjacent frames, when the state comparison result indicates a state change, the next frame in the corresponding adjacent frame is determined as the startup trigger frame. Adjacent frame pairs are traversed sequentially according to the frame sequence; the frame following the first adjacent frame pair determined to be in the application open state is the startup trigger frame.
[0047] It is understood that the large state detection model can be a multimodal large language model, or any visual language model with equivalent visual semantic understanding capability can be selected according to actual needs. This embodiment does not limit this.
[0048] In one embodiment, if the preset maximum number of search frame pairs If no adjacent frame pair satisfying the state change condition is found within the specified range, it is determined that the main detection path has not detected a start-trigger frame, and the process switches to the backup detection procedure. The maximum number of search frame pairs is specified. The value can range from 20 to 200 frame pairs, for example, 200 frame pairs. (See reference...) Figure 2 , Figure 2 This is another detection flowchart of the start-up trigger frame provided in the embodiments of this application, which specifically includes the following steps: Step 210: When no start-up trigger state is detected in all adjacent frame pairs within the preset search range, locate the icon position corresponding to the positioning icon reference image in the adjacent frames by matching visual features.
[0049] In one embodiment, the icon position corresponding to the reference image is located in adjacent frames by matching visual features. The location process employs a three-level progressive matching strategy to gradually improve matching robustness and cover desktop scene scenarios of varying complexity. (Refer to...) Figure 3 , Figure 3 This is a flowchart illustrating how to locate the icon position corresponding to an icon reference image in adjacent frames by matching visual features, as provided in this application embodiment. The flowchart specifically includes the following steps: Step 310: Locate the icon position of the icon reference image in the desktop area of the frame using the first feature extraction algorithm.
[0050] In one embodiment, the first feature extraction algorithm may be a scale-invariant feature transform (SIFT) algorithm, used to locate the icon position of the icon reference image within the desktop area of the frame. Specifically, the SIFT algorithm extracts local feature points from the icon reference image and the current frame, performs feature matching and coordinate mapping, and outputs the position region of the icon in the image. This algorithm possesses scale invariance and rotation invariance, enabling it to adapt to icon positioning scenarios with different resolutions and placement angles.
[0051] Step 320: When the first feature extraction algorithm fails to match, the icon position is located using the second feature extraction algorithm.
[0052] In one embodiment, when the scale-invariant feature transformation algorithm fails to match, a second feature extraction algorithm is used to locate the icon position. The second feature extraction algorithm can be a detectorless local feature transformation (LoFTR) algorithm. The detectorless local feature transformation algorithm establishes pixel-level dense feature associations based on the Transformer structure, which can achieve accurate icon position matching in scenarios where traditional feature matching fails, such as low texture, blurred images, and partially occluded icons, thereby improving the localization success rate in complex environments.
[0053] Step 330: When the detectorless local feature matching transformer algorithm fails to match, the sampling range is gradually expanded through the state detection large model to identify and locate the icon position.
[0054] In one embodiment, when the detectorless local feature matching transform algorithm fails, the large language model (LLM) is used to gradually expand the sampling range for identification and icon location. Initially, images sampled from the first N clear frames are input into the LLM for icon region identification. If the confidence level of the identification result does not reach a preset threshold, the sampling frame range is expanded by a fixed step size to continue detection. It is understood that multiple frames sampled in the same round can be called in parallel using the LLM, improving detection efficiency while ensuring positioning accuracy.
[0055] Step 220: Based on the located icon position, crop the icon regions of two adjacent frames and calculate one or more image feature change indices of the icon region in the later frame relative to the icon region in the previous frame.
[0056] In one embodiment, the icon regions of two adjacent frames are cropped according to the located icon position, and one or more image feature change indices are calculated for the icon region of the later frame relative to the icon region of the previous frame. Specifically, the image feature change indices can be at least one of multiple dimensions of visual features such as brightness decrease, saturation decrease, edge feature change, and structural similarity change, comprehensively quantifying the visual difference before and after the icon is clicked. The following description uses brightness decrease and saturation decrease as examples. The brightness and saturation components of all pixels in the icon regions of the two frames can be extracted separately, and the mean difference of the corresponding components between the two frames can be calculated.
[0057] Step 230: When the image feature change index is greater than the preset change index, the next frame in the adjacent frames is determined as the start trigger frame.
[0058] In one embodiment, an image feature change index greater than a preset change index can be either a brightness decrease value greater than a brightness threshold or a saturation decrease value greater than a saturation threshold. Since clicking an icon is typically accompanied by visual feedback of the screen darkening and color saturation decreasing, a preset brightness threshold is used... With saturation threshold The trigger time for a click state is determined by identifying the frame following the adjacent frame pair. This method, based on precise feature calculations of a local area, effectively eliminates interference from changes in other areas of the image, improving the accuracy of the detection results. A preset brightness threshold is also included. The value range can be 5 to 20, for example, it can be 10, saturation threshold. The value can range from 10 to 25, for example, it can be 15.
[0059] As described above, the main detection path in this embodiment does not require pre-locating the icon position. It directly completes the whole-frame state comparison through the large state detection model, and the detection process is adaptable to most common startup scenarios. When the main detection path fails, a three-level progressive icon localization strategy is adopted, from feature matching to deep learning matching and then to large model recognition, gradually improving the scene adaptability. It can handle complex desktop screens such as blurriness, occlusion, and low texture, ensuring the success rate of icon localization. This detection architecture, which combines main and backup paths, takes into account both detection efficiency and scene adaptability, and can stably and accurately locate the startup trigger frame in different screen recording environments.
[0060] It is understood that the first feature extraction algorithm can be replaced by feature detection algorithms such as ORB and SURF, and the second feature extraction algorithm can be replaced by other equivalent algorithms. As long as the output is comparable icon area change signal, it can be used as an equivalent implementation of CV detection. This embodiment does not limit the specific algorithm.
[0061] Next, after obtaining the startup trigger frame, the homepage frame frame is detected accordingly.
[0062] Step 130: Starting from the trigger frame, select detection frames from the clear frame sequence to determine the state of the input state detection model, and locate the homepage frame frame based on the homepage frame reference graph.
[0063] In one embodiment, reference is made to Figure 4 , Figure 4 This application provides a flowchart of selecting detection frames from a clear frame sequence to determine the state of the input state detection model, and locating the homepage frame frame based on the homepage frame reference graph. The flowchart specifically includes the following steps: Step 410: Based on the set initial search interval, select the left boundary frame and the midpoint frame of the current search interval to form a detection frame pair.
[0064] In one embodiment, when detecting the homepage frame, a two-frame comparison binary search strategy is used to quickly narrow the search range and reduce the number of large model calls, balancing detection accuracy and execution efficiency. This is done according to a set initial search interval. The left boundary frame and the midpoint frame of the current search interval are taken to form a detection frame pair. Assuming the current search range is [left, right], the formula for calculating the midpoint position (mid) is:
[0065] Where left is the index of the left boundary frame of the search interval, and right is the index of the right boundary frame of the search interval. This indicates a floor operation. In this embodiment, the left boundary frame and the midpoint frame are extracted to form a detection frame pair.
[0066] In one embodiment, the initial search interval The value range can be 30 to 100, for example, it can be 40. Meanwhile, the maximum search range of the binary search method is represented by the maximum number of search frames. Its value range can be 100~1000, for example, it can be 1000. When performing binary search in parallel batches, the size of the parallel batches is predicted. The value can range from 2 to 5, for example, it can be 3.
[0067] Step 420: Output the positional relationship of the detection frame pairs relative to the homepage frame state indicated by the homepage frame reference diagram using the state detection large model.
[0068] In one embodiment, the detected frame pairs, the homepage frame reference graph, and the state determination prompt are input into the state detection large model, and the output is the positional relationship of the detected frame pairs relative to the homepage frame state indicated by the homepage frame reference graph. This process can be represented as:
[0069] in, For the left boundary frame, For midpoint frames, This is a reference diagram of the homepage framework. "Prompt" represents a status indicator word, which can be set according to the actual scenario. In this embodiment, the positional relationship includes all states before the target state, all states after the target state, or all states spanning the target state.
[0070] Step 430: Shrink the search range according to the positional relationship, and repeatedly extract detection frame pairs for comparison based on the search range until the search range is smaller than the precise search threshold.
[0071] In one embodiment, the target state is the homepage frame state indicated by the homepage frame reference diagram. If the determination result is that all frames are before the target state, the sequence number of the left boundary frame is updated to the sequence number of the current midpoint frame, and the search interval is shrunk to the right. If the determination result is that all frames are after the target state, the sequence number of the right boundary frame is updated to the sequence number of the current midpoint frame, and the search interval is shrunk to the left. If the determination result is that the target state is crossed, the current search interval is retained for refined detection. After each round of shrinkage, the sequence number of the midpoint frame needs to be recalculated, and a new detection frame pair needs to be generated. The state determination and interval shrinkage are repeated until the number of frames contained in the search interval is less than a preset precise search threshold. Precise search threshold The value can range from 5 to 20 frames, for example, 20 frames.
[0072] Step 440: Detect frame by frame within the shrunk search range, locate the critical frame pair where the previous frame has not reached the target state and the next frame has reached the target state, and determine the next frame in the critical frame pair as the homepage frame frame.
[0073] In one embodiment, during frame-by-frame detection, the homepage frame states of adjacent frames within the search range are compared sequentially to locate the critical node for state transition. If a valid target state transition point is not located using the binary search method throughout the entire process, then a full-range frame-by-frame adjacent comparison detection is initiated as a fallback detection path to ensure a high success rate in locating the target. (Refer to...) Figure 5 , Figure 5 This is a flowchart provided in an embodiment of the present application for locating a critical frame pair where the previous frame has not reached the target state and the subsequent frame has reached the target state. The flowchart specifically includes the following steps: Step 510: Extract the original confidence of the critical frame pairs output by the large state detection model, multiply the original confidence by the preset critical frame reward coefficient, and generate the adjusted confidence.
[0074] In one embodiment, the formula for calculating the adjusted confidence level is expressed as follows:
[0075] in, To adjust the confidence level, This represents the raw decision confidence score output by the large state detection model, and its value ranges from 0 to 1. The critical frame reward coefficient, whose value can range from 1.0 to 1.5 (e.g., 1.2), is used to increase the confidence weight of the critical frame and strengthen the judgment priority of the state switching node. The min function is used to limit the maximum confidence score to no more than 1.0, avoiding values exceeding a reasonable range. In this embodiment, the confidence score of the boundary node is calibrated by using the critical frame reward coefficient, which can strengthen the judgment weight of the state switching node and reduce the misjudgment rate of ambiguous boundaries.
[0076] Step 520: When the adjusted confidence level is greater than the target confidence level, confirm that the critical frame pair is valid.
[0077] In one embodiment, when the adjusted confidence level is greater than the target confidence level When the critical frame pair is confirmed to be valid, the critical frame pair after confidence calibration has higher judgment reliability, which can effectively reduce the probability of false judgment of boundary frames and improve the accuracy of homepage frame positioning. Among them, the target confidence level The value can range from 0.75 to 1.0, for example, it can be 0.85.
[0078] Therefore, this embodiment adopts a binary search strategy instead of traditional frame-by-frame detection, which can reduce the number of calls to the multimodal language model from linear to logarithmic, significantly improving detection efficiency. The two-level detection architecture, which combines fast binary search with accurate frame-by-frame detection, balances detection efficiency and positioning accuracy. The fallback frame-by-frame detection mechanism ensures a high success rate in abnormal scenarios. The overall solution is both efficient and robust.
[0079] Assuming the total number of clear frame sequences is N, the time complexity of frame-by-frame detection is O(N), and the time complexity of binary search is O(logN). The efficiency improvement ratio is calculated using the following formula:
[0080] When the total number of frames is 300, the efficiency improvement can reach about 97%, and the detection speed is significantly improved.
[0081] The following example illustrates the detection process of the homepage frame frame.
[0082] Assume an application's cold start sequence consists of 32 clear frames, numbered from 0 to 31. Frame 0 is the already located startup trigger frame, and the actual homepage framework appears at frame 18. That is, frame 17 is still a startup transition screen, and frame 18 presents the complete homepage skeleton structure for the first time. The preset precise search threshold is 4 frames, the target confidence level is 0.9, the critical frame reward coefficient is 1.2, and the homepage framework reference image is the application's standard homepage skeleton interface.
[0083] In the initial detection phase, the left boundary of the search interval is set to 0, and the right boundary to 31, covering the entire frame range from the trigger frame to the end of the sequence. During the first round of binary search, the midpoint of the current interval is calculated as frame 15. Frames 0 and 15 are selected to form a detection frame pair, which, along with the homepage frame reference image, are input into the large-scale state detection model for state determination. Since neither frame 0 nor frame 15 presents the homepage frame structure, the model outputs a positional relationship where both frames are before the target state. Based on the determination result, the search interval is shrunk, and the left boundary is updated to 15, making the current search interval [15, 31]. During the second round of binary search, the midpoint of the current interval is calculated as frame 23. Frames 15 and 23 are selected to form a detection frame pair and input into the model. Frame 15 does not present the homepage frame, while frame 23 presents the complete homepage frame. The model outputs a positional relationship where the target state is crossed, determining that the target frame is within the current interval. The search interval [15, 23] is retained and continues to shrink. In the third round of binary search, the midpoint of the current interval is calculated as frame 19. Frames 15 and 19 are selected to form a detection frame pair for input into the model. Frame 15 has not reached the target state, while frame 19 has. The model output is still "crossing the target state," and the search interval shrinks to [15, 19]. At this point, the interval contains 5 frames, which is still greater than the precise search threshold, so binary search continues. In the fourth round of binary search, the midpoint of the current interval is calculated as frame 17. Frames 15 and 17 are selected to form a detection frame pair for input into the model. Neither frame presents the homepage frame, and the model output is "both are before the target state." The left boundary is updated to 17, and the search interval becomes [17, 19]. At this point, the interval contains only 3 frames, which is less than the preset precise search threshold, so binary search is terminated, and frame-by-frame precise detection is switched.
[0084] The model then proceeds to the frame-by-frame detection phase, comparing adjacent frame pairs sequentially within the interval [17, 19]. When detecting frames 17 and 18, the model determines that frame 17 has not yet reached the homepage frame state, while frame 18 has. This frame pair is considered a critical frame pair. The model's original confidence level for this critical frame pair is extracted as 0.8. Substituting this into the confidence level adjustment formula, the adjusted confidence level is calculated to be 0.96, which is greater than the preset target confidence level of 0.9. Therefore, the critical frame pair is deemed valid, and the next frame after the critical frame pair, i.e., frame 18, is determined to be the homepage frame frame.
[0085] If the binary search fails to detect any frame pairs that cross the target state, or if the confidence level of all critical frame pairs fails to meet the standard after adjustment, the system automatically switches to full-range frame-by-frame adjacent comparison detection. This process iterates through all clear frames to form adjacent frame pairs, completing the location of the first-page frame frame. This serves as a fallback mechanism to ensure the reliability of the detection results.
[0086] In the example above, the binary search calls the large state detection model 4 times, and the frame-by-frame detection calls 2 times, for a total of 6 times. If the traditional frame-by-frame detection scheme is used, the large state detection model would need to be called up to 31 times, thus the detection efficiency of this embodiment is improved by about 80%.
[0087] Next, after obtaining the homepage frame frame, the complete rendering frame is detected based on it.
[0088] Step 140: Starting from the homepage frame frame, extract adjacent frames from the clear frame sequence to perform rendering state detection on the input state detection big model, and locate the complete rendering frame based on the cold start page reference map and the homepage frame reference map.
[0089] In one embodiment, a direct comparison strategy between adjacent frames is preferentially employed to identify the content loading stage after the homepage skeleton rendering is completed, thereby determining the critical moment when page elements are fully rendered. (Refer to...) Figure 6 , Figure 6 This application provides a flowchart of extracting adjacent frames from a clear frame sequence to perform rendering state detection on an input state detection large model, and locating the complete rendering frame based on the cold start page reference map and the homepage frame reference map. The flowchart specifically includes the following steps: Step 610: Extract adjacent frame pairs from the homepage frame onwards, and input them together with the cold start page reference image and the homepage frame reference image into the large model for state detection to detect the mask disappearance state and content rendering state.
[0090] In one embodiment, the detection process starts with the homepage frame and traverses sequentially according to the time order of the clear frame sequence, selecting two consecutive frames at a time to form adjacent frame pairs. The large-scale state detection model simultaneously performs two state determinations: the first determines whether the page overlay or splash screen ad has completely disappeared, and the second determines whether all page information stream content has been rendered. Both determinations use the cold start page reference image as a benchmark for the complete rendering state, and combine it with the homepage frame reference image to locate the page skeleton structure, ensuring that the determination results simultaneously meet the dual standards of page structural integrity and content loading completion. The entire search process is limited to a preset search duration. It can be understood that the preset search duration can be set to 3 seconds of actual time according to actual needs, corresponding to approximately 60 pairs of adjacent frames detected at a 50-millisecond frame interval, thereby achieving an optimal balance between detection accuracy and execution efficiency.
[0091] Step 620: When a pair of adjacent frames is detected that simultaneously satisfy the conditions of the mask being completely removed and the content being rendered, the corresponding next frame is determined as the first candidate frame.
[0092] In one embodiment, if the preceding frame in an adjacent frame pair does not simultaneously meet both judgment conditions, but the following frame simultaneously meets both conditions for the first time, then the frame pair is determined to be a critical frame pair for rendering state switching, and the following frame is taken as the first candidate frame to reach the complete rendering state for the first time. This embodiment's method of directly comparing adjacent frames results in minimal differences between frames. It utilizes a large state detection model to identify subtle visual changes in the page, obtaining highly accurate state judgment results. Furthermore, each detection only requires input of two frames, eliminating the need for additional reference frames for comparison, thus reducing data transmission and computational overhead.
[0093] Step 630: Perform state verification on the first number of consecutive adjacent frame pairs after the first candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the target state, the first candidate frame is determined as the complete rendering frame.
[0094] In one embodiment, the frame range corresponding to the first number constitutes a stable observation window, used to exclude false positive results caused by brief misjudgments by the large state detection model. The stable observation window for a complete rendered frame can be 5 frames, or other frame numbers determined according to actual needs. Therefore, the verification process requires sequentially checking the state determination results of all adjacent frame pairs within the stable observation window. If all adjacent frame pairs consistently maintain the state of mask disappearance and content rendering completion, the state transition is confirmed to be stable and effective, and the first candidate frame can be used as the final complete rendered frame. If inconsistencies occur during the verification process, the current first candidate frame is canceled, and the search continues to traverse and search for new critical frame pairs to obtain the final first candidate frame.
[0095] Step 640: If no matching adjacent frame pair is detected within the preset search time, the complete rendering frame is located using a binary search method.
[0096] In one embodiment, if no matching adjacent frame pair is detected within a preset search time, a binary search is used as a fallback strategy. The initial search interval is the frame range corresponding to the preset search time. Combining the cold start page reference image and the homepage frame reference image, the search range is gradually narrowed through dual-frame comparison using a large state detection model, ultimately locating the complete rendering frame. This fallback strategy can handle scenarios where conventional adjacent frame comparisons are difficult to identify, such as complex page rendering processes, smooth state transitions, and phased loading. It ensures successful location of the complete rendering frame under different loading logics, improving scene adaptability and detection success rate. The maximum search time for adjacent frames of the complete rendering frame is... Its value range can be 500~5000ms, for example, it can be 3000ms.
[0097] The following section uses a specific scenario to illustrate the detection process of a complete rendered frame.
[0098] Assuming an application's cold start clear frame sequence has a frame interval of 50ms, the located homepage frame is frame 18, the preset search duration is 3 seconds, corresponding to a maximum of 60 frames detected from the homepage frame onwards, and a stable observation window is set to three consecutive adjacent frame pairs. The cold start page reference image is used to identify the startup page, advertisements, or residual overlays, and the homepage frame reference image is the baseline interface of the page skeleton in the standard interface after the homepage content is fully loaded. During the actual rendering process, frame 24 still retains the top loading overlay and the information stream image is not fully rendered; frame 25 shows the overlay completely disappearing and all text and image content rendered; subsequent frames 26, 27, and 28 all maintain a complete rendering state.
[0099] First, starting from frame 18 on the homepage frame, the system extracts adjacent frame pairs sequentially from the frame sequence and inputs them into the large-scale state detection model, simultaneously determining the mask disappearance state and the content rendering state. In the adjacent frame pairs corresponding to frames 18 to 24, either the page still has a loading mask, or the information stream placeholders have not been replaced with actual content; neither condition is met simultaneously. When the large-scale state detection model detects the adjacent frame pair consisting of frames 24 and 25, the model determines that frame 24 still has a top loading mask and some content has not been fully loaded, indicating that the rendering state is not complete. In frame 25, the mask has completely disappeared, and all graphic elements and functional controls on the page have been rendered, consistent with the complete state of the cold start page reference image, thus satisfying both the mask disappearance and content rendering completion conditions. At this point, frame 25 is marked as the first candidate frame.
[0100] Then, the stabilization verification phase begins, where the state of the three consecutive adjacent frame pairs following the first candidate frame—frames 25-26, 26-27, and 27-28—is verified sequentially. The tests showed that the subsequent frame in each of the three adjacent frame pairs maintained a complete rendering state without any abnormal fluctuations such as mask recurrence or content rollback. This confirmed that the state switching was stable and effective, and frame 25 was ultimately determined as the complete rendering frame.
[0101] In one embodiment, if the page uses a phased, gradual loading process with smooth state changes, and the direct comparison strategy between adjacent frames fails to identify a clear critical frame pair within a 3-second search window, it automatically switches to a binary search fallback scheme. Using frame 18 as the left search boundary and frame 78 as the right search boundary, and combining the cold start page reference image and the homepage frame reference image, the search range is gradually narrowed through multiple rounds of two-frame comparisons to ultimately locate the complete rendering frame, ensuring a high detection success rate in complex loading scenarios.
[0102] Next, after obtaining the complete rendering frame, the data loading completion frame is detected accordingly.
[0103] Step 150: Starting from the complete rendered frame, extract adjacent frames from the clear frame sequence to perform content change detection on the input state detection large model, and locate the data loading complete frame.
[0104] In one embodiment, reference is made to Figure 7 , Figure 7 This application provides a flowchart for extracting adjacent frames from a clear frame sequence, performing content change detection on an input state detection large model, and locating the data loading completed frame. The flowchart specifically includes the following steps: Step 710: Extract adjacent frame pairs from the large-scale state detection model frame by frame after the complete rendering frame, detect the content change status between frames, and when an adjacent frame pair whose content has been updated is detected, determine the corresponding next frame as the second candidate frame.
[0105] In one embodiment, similar to the detection process for complete rendered frames, adjacent frames are extracted frame by frame from the complete rendered frame onwards to input the large-scale state detection model. The detection process for frames where data loading is complete also only requires two consecutive frames as input. However, a complete rendered frame is not included as a baseline reference image to avoid misjudgments caused by differences between the reference image and the actual screen recording playback. Since the differences between adjacent frames are extremely small, this embodiment uses the large-scale state detection model to detect the content change status between frames. When it is detected that there is a substantial content change in the next frame, and the newly added content has been fully rendered in that frame without any placeholders, loading animations, or incomplete or ambiguous areas, the content is considered to have been updated, and the next frame after that adjacent frame pair is determined as the second candidate frame. In this embodiment, the search process is limited to a preset search time range to control detection overhead while ensuring coverage of the normal loading time.
[0106] Step 720: Perform a state check on the second number of consecutive adjacent frame pairs after the second candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the updated state, the second candidate frame is determined as the data loading completed frame.
[0107] In one embodiment, the range of consecutive frames corresponding to the second quantity constitutes a stable observation window, used to eliminate interference from momentary misjudgments by the model and content loading transition frames. The stable observation window for the data loading completion frame can be 10 frames, or other frame numbers determined according to actual needs. During the verification phase, the screen state of all adjacent frame pairs within the window needs to be verified sequentially. If all frame pairs consistently maintain a state of complete content update, without rollback or new unloaded areas, the content change is confirmed to be stable and effective, and the second candidate frame is the final data loading completion frame. If content instability occurs during the verification process, the current second candidate frame is canceled, and the search continues to traverse and search for new critical frame pairs to obtain the final second candidate frame.
[0108] Step 730: If no adjacent frame pair that meets the conditions is detected within the preset search time, the data loading completion frame is located using the binary search method. If no content change is detected in all detection paths, the complete rendering frame is determined to be the data loading completion frame.
[0109] In one embodiment, a binary search is used as a fallback detection path. For scenarios where content changes are gradual or loading is incremental, making it difficult to identify adjacent frames through comparison, the target frame is located by progressively narrowing the search interval. If neither adjacent frame comparison nor binary search detects any valid content changes, it indicates that the page has completed loading all content during the full rendering frame stage, with no subsequent dynamic data updates. In this case, the full rendering frame is directly used as the data loading completion frame, ensuring a closed-loop detection process and stable result output. The maximum time for searching adjacent frames of the data loading completion frame is [not specified in the original text]. Its value range can be 1000~15000ms, for example, it can be 10000ms.
[0110] Step 160: Calculate the timestamp difference between the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame to generate startup performance metrics.
[0111] In one embodiment, the startup trigger frame, the homepage frame frame, the full rendering frame, and the data loading completion frame are used as keyframes, represented as follows: The process extracts the frame number, timestamp, and decision confidence level of each node corresponding to the keyframes, resulting in a structured output of key node information for the entire process. Then, startup performance metrics are calculated based on the timestamp differences of each keyframe. These metrics may include: first frame duration, first screen duration, and API request duration. The first frame duration is the time taken to detect the homepage frame frame minus the time taken to detect the startup trigger frame, corresponding to the time consumed from the user triggering the startup operation to the complete rendering of the page skeleton structure, reflecting the rendering efficiency of the application's first screen frame and the interface response speed in the initial startup phase. The first screen duration is the time taken to detect the complete rendering frame minus the time taken to detect the startup trigger frame, corresponding to the total time from startup triggering to the complete disappearance of the page overlay and the rendering of all basic content, reflecting the overall performance of the complete visual presentation of the page. The API request duration is the time taken to detect the data loading completion frame minus the time taken to detect the startup trigger frame, corresponding to the end-to-end time from startup triggering to the completion of loading and rendering of all dynamic business data, covering the complete process of front-end interface rendering and back-end data requests, and can be used to locate performance bottlenecks across the entire chain.
[0112] In one embodiment, reference is made to Figure 8 , Figure 8 This is an overall flowchart of application startup performance keyframe identification provided in the embodiments of this application.
[0113] First, screen recordings or image sequences of the application to be tested are acquired, and preprocessed by frame capture and blur detection to filter out clear frame sequences. Then, a large-scale state detection model is used to compare adjacent frames to detect the startup trigger frame. If no startup trigger frame is detected on the main path, a backup detection path is used, employing a three-tiered progressive icon position detection algorithm (SIFT, LoFTR, and LLM). Based on the located icon positions, CV detection is performed to calculate the decrease in brightness and saturation to ultimately identify the startup trigger frame. After successfully locating the startup trigger frame, the detection proceeds downwards from the startup trigger frame to locate the homepage frame and the complete rendering frame. Next, based on the complete rendering frame, the detection continues to detect data loading completion frames. If no content update changes are detected within the specified range across all detection paths, the preceding complete rendering frame is directly used as the data loading completion frame. Finally, the keyframes extracted in the above process are output, and the corresponding startup performance metrics are calculated and output based on the timestamp differences between the keyframes.
[0114] In one embodiment, reference is made to Figures 9 to 13 , Figures 9 to 13 This is a schematic diagram illustrating the identification process for a specific test scenario provided in this embodiment. In the startup performance test scenario of version iteration of the xx application, the system needs to automatically measure the change in startup time before and after each version change, in order to replace the time-consuming and highly subjective traditional manual frame-by-frame annotation scheme.
[0115] In the testing process, a screen recording video was first input, and frame sequences were extracted at 80ms intervals based on the displayed timestamp. Next, blur detection was performed, with the first 10 frames being tested for sharpness in batches concurrently, confirming that the image was sharp starting from the 3rd frame. Then, reference was made to... Figure 9 After entering the startup trigger frame detection phase, starting from frame 3, the system sends adjacent frame comparison requests with attached icon reference images to the state detection model in batches. Finally, frame 32 is determined to have signs of app opening, with a confidence level of 0.82, and is thus identified as the startup trigger frame. Subsequently, referencing... Figure 10 The system performs homepage frame detection using a binary search method. After six large model calls, including two parallel predictions, it accurately locates the 98th frame as the homepage frame with a confidence level of 0.88.
[0116] After obtaining the homepage frame, refer to... Figure 11 The system continues with complete rendering frame detection. This stage employs a direct comparison strategy between adjacent frames, sending adjacent frame pairs frame by frame starting from frame 100, along with a cold start page reference image and a homepage frame reference image. The model determines that the mask disappears and content rendering is complete in frame 100. After stable observation and confirmation of five consecutive pairs of adjacent frames, frame 100 is finally determined to be a complete rendering frame with a confidence level of 0.86. Then, refer to... Figure 12The detection of data loading completion frames also employs a direct comparison strategy between adjacent frames. Starting from frame 100, adjacent frame pairs are sent frame by frame, without the accompanying complete rendering frame reference image. The model determines that the content of frame 111 has undergone substantial changes and rendering is complete. After stable observation and confirmation of 10 consecutive pairs of adjacent frames, frame 111 is finally determined to be the data loading completion frame with a confidence level of 0.82.
[0117] Finally refer to Figure 13 Based on the key frames detected above, the system generates and outputs the final startup performance metrics. By calculating the timestamp differences between the homepage frame frame, the complete rendering frame, and the data loading completion frame and the startup trigger frame, the system determines that the first frame duration of this test is 5280ms, the first screen duration is 5440ms, and the interface request duration is 6320ms.
[0118] In terms of technical performance, this embodiment involves approximately 45 large model calls, including fuzz detection, LLM start-up trigger frame, binary search, and adjacent frame search, far fewer than the hundreds required for frame-by-frame detection. Specifically, binary search-related calls account for about 15 calls, adjacent frame search for about 20, and start-up trigger frame detection for about 5. The overall recognition accuracy is greater than 95%, the test time including service call waiting is less than 300 seconds, and the adaptation time for the new app is less than 5 minutes. Only reference images are required, significantly improving detection efficiency and scenario versatility.
[0119] In one embodiment, the application startup performance keyframe identification method of this embodiment can also be applied to a scenario of horizontal benchmarking of the cold start performance of multiple third-party competing applications. In this scenario, the applications under test are all external competitors, and it is impossible to obtain their source code and runtime logs, making performance testing solutions such as code instrumentation and log collection impossible to implement. Using the application startup performance keyframe identification method of this embodiment, only external screen recording is needed to collect videos of the startup process of each application, thus completing fully automated performance analysis and benchmarking.
[0120] Specifically, for each competitor application under test, corresponding application icons, homepage framework interfaces, and cold start completion interfaces are pre-collected as reference images, forming icon reference images, homepage framework reference images, and cold start page reference images. Complete videos of each application from the desktop launch button to the completion of all business data loading are uniformly recorded using screen recording equipment to ensure consistency in the testing environment and recording parameters for each application. Then, the screen recording data for each application is segmented and its clarity is filtered to obtain the corresponding clear frame sequences. Based on the clear frame sequences, launch trigger frame detection, homepage framework frame detection, complete rendering frame detection, and data loading completion frame detection are performed sequentially. The entire detection process is automated, requiring no manual annotation or intervention, and finally outputs the frame sequence number, timestamp, and confidence level of the four types of keyframes for each application.
[0121] Finally, based on the timestamps of each keyframe, the duration of the first frame, the duration of the first screen, and the duration of interface requests are automatically calculated to obtain unified startup performance metrics, thereby enabling quantitative horizontal comparison of the startup performance of multiple competing applications. When adding a new competing application, only the corresponding reference image needs to be added to complete the adaptation; there is no need to adjust the model structure or retrain. Furthermore, repeated analysis of the same screen recording video ensures that the output keyframe positions and performance metric results remain consistent, effectively eliminating subjective and random errors caused by manual observation and manual data entry. Therefore, this embodiment achieves automated, standardized, and reproducible detection of application cold start performance in external competitor benchmarking scenarios without source code, logs, or event tracking, reducing the cost of competitor performance testing and improving testing efficiency and result reliability.
[0122] In one embodiment, the application startup performance keyframe recognition method of this embodiment can also be applied to application startup performance detection scenarios under special desktop themes. Some mobile terminal desktop themes set personalized click animations such as bouncing and flipping for application icons. Such animations can visually obscure or change the shape of the icon area, making it difficult for the main detection path of the state detection big model to accurately identify signs of application opening. In such scenarios, this embodiment can automatically switch to a backup detection process. First, it uses a three-level progressive matching method consisting of a scale-invariant feature transformation algorithm, a detectorless local feature matching transformer algorithm, and progressive sampling of the state detection big model to locate the application icon position in the frame. After completing the icon position location, the icon area of adjacent frames is cropped, the brightness and saturation changes between frames are calculated, and the icon click state is determined according to a preset threshold to determine the startup trigger frame.
[0123] Therefore, this embodiment verifies the robustness of the collaborative detection strategy, which mainly uses state detection large model detection and supplements it with computer vision feature detection, in complex visual scenes. The three-level progressive matching method can adapt to various desktop environments such as desktops with complex textures and simple solid colors, ensuring that the startup trigger frame positioning can still be stably completed under special themes and animation interference, thereby improving the scene adaptability and result reliability of the overall detection scheme.
[0124] Therefore, the technical solution provided in this application embodiment does not require code modification or event tracking of the application. It can automatically identify application startup keyframes based solely on screen recording data, enabling non-intrusive startup performance testing for various applications, including third-party applications, and has a wider range of applications. Specifically, by combining the visual semantic understanding of the state detection large model with the semantic anchoring of reference images, semantic-level state recognition of each stage of application startup is achieved, resulting in higher recognition accuracy compared to simple pixel feature comparison. In addition, the dual-frame comparison binary search strategy can significantly reduce the number of calls to the state detection large model while ensuring the accuracy of keyframe positioning, balancing search efficiency and detection accuracy. During detection, only the corresponding application's icon reference image, homepage frame reference image, and cold start page reference image need to be configured to complete the adaptation, without retraining the model or adjusting a large number of parameters, resulting in higher generalization and adaptation efficiency. Furthermore, the model calling process can be optimized through batch parallelism and predictive parallelism mechanisms, effectively reducing the latency of large model calls and improving the overall detection speed. The detection process employs a collaborative approach, primarily using a large-scale state detection model and secondarily using computer vision feature detection. It combines SIFT, LoFTR, and a three-level progressive matching system with the large-scale state detection model, along with multi-dimensional visual feature fallback judgment. This approach enables stable identification of the startup trigger frame even in complex scenarios with special desktop themes and animation interference, demonstrating stronger robustness. Finally, it outputs the frame number, timestamp, and confidence score of the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame. It also calculates performance metrics such as first frame duration, first screen duration, and API request duration. The results offer greater consistency and interpretability, effectively supporting application performance benchmarking and optimization analysis.
[0125] This application also provides an application startup performance keyframe identification device, which can implement the above-described application startup performance keyframe identification method, as described above. Figure 14 The device includes: Data acquisition module 1410: used to determine the clear frame sequence based on the screen recording data of the application to be detected, and to acquire the icon reference image, the homepage frame reference image, and the cold start page reference image.
[0126] Start-up trigger frame detection module 1420: It is used to input adjacent frames in the clear frame sequence and the icon reference image into the state detection large model to perform start-up trigger state detection, obtain the state comparison results of adjacent frames, and when the state comparison result indicates that the state has changed, the next frame in the corresponding adjacent frame is determined as the start-up trigger frame.
[0127] Homepage frame detection module 1430: It is used to select detection frames from the clear frame sequence with the start trigger frame as the search starting point, perform state determination on the input state detection large model, and locate the homepage frame frame based on the homepage frame reference map.
[0128] Complete Rendering Frame Detection Module 1440: Used to extract adjacent frames from the clear frame sequence to perform rendering state detection on the input state detection large model, starting from the homepage frame frame. The complete rendering frame is located based on the cold start page reference map and the homepage frame reference map.
[0129] Data loading complete frame detection module 1450: It is used to extract adjacent frames from the clear frame sequence to perform content change detection on the input state detection large model, starting from the complete rendered frame, and to locate the data loading complete frame. Metrics generation module 1460: Used to calculate the timestamp difference between the startup trigger frame, homepage frame frame, complete rendering frame and data loading completion frame, and generate startup performance metrics.
[0130] The specific implementation of the application startup performance key frame recognition device in this embodiment is basically the same as the specific implementation of the application startup performance key frame recognition method described above, and will not be repeated here.
[0131] This application also provides an electronic device, including: At least one memory; At least one processor; At least one program; The program is stored in a memory, and the processor executes the at least one program to implement the application startup performance keyframe recognition method described above. The electronic device can be any smart terminal, including mobile phones, tablets, personal digital assistants (PDAs), and in-vehicle computers.
[0132] Please see Figure 15 , Figure 15 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 1501 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 1502 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 1502 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1502, and the processor 1501 calls and executes the application startup performance keyframe identification method of the embodiments of this application. The input / output interface 1503 is used to implement information input and output; The communication interface 1504 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 1505 transmits information between various components of the device (e.g., processor 1501, memory 1502, input / output interface 1503, and communication interface 1504); The processor 1501, memory 1502, input / output interface 1503 and communication interface 1504 are connected to each other within the device via bus 1505.
[0133] This application also provides a storage medium storing a computer program that, when executed by a processor, implements the above-described application startup performance keyframe identification method.
[0134] Memory, as a non-transitory storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0135] The application startup performance key frame identification method, apparatus, device, and medium proposed in this application determine a clear frame sequence based on the screen recording data of the application to be detected, and obtain an icon reference image, a homepage frame reference image, and a cold start page reference image. Adjacent frames in the clear frame sequence and the icon reference image are input into a large-scale state detection model for startup trigger state detection, obtaining state comparison results between adjacent frames. When the state comparison result indicates a state change, the next frame in the corresponding adjacent frame is determined as the startup trigger frame. Using the startup trigger frame as the search starting point, detection frames are selected from the clear frame sequence to perform state determination on the large-scale state detection model, and the homepage frame frame is located based on the homepage frame reference image. Using the homepage frame frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform rendering state detection on the large-scale state detection model, and the complete rendering frame is located based on the cold start page reference image and the homepage frame reference image. Using the complete rendering frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform content change detection on the large-scale state detection model, and the data loading completion frame is located. The timestamp differences corresponding to the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame are calculated to generate startup performance indicators. This application's embodiments utilize a clear frame sequence extracted from application screen recording data, combined with reference images such as icons, homepage frames, and cold start pages. A large-scale state detection model is employed to perform refined state detection and key node localization on the frame sequence. This accurately identifies key frames such as the startup trigger frame, homepage frame frame, complete rendering frame, and data loading completion frame, avoiding the subjectivity, large errors, and missed key nodes inherent in manual observation or single-image comparison. Furthermore, the large-scale state detection model enables adjacent frame state comparison, rendering state determination, and content change detection. Leveraging the model's advantages in visual understanding and semantic reasoning, the accuracy of identification at each key stage during startup is improved, adapting to applications with different interface styles and loading logics. Simultaneously, startup performance metrics are directly generated based on key frame timestamp differences, achieving automated, quantitative, and standardized evaluation of application startup performance. The entire startup process time can be fully reconstructed without manual intervention, improving detection efficiency and result consistency. This provides objective and accurate data support for application cold start optimization detection, is compatible with applications without source code, improves the quality and efficiency of key frame identification for application startup performance, and reduces computational resource consumption.
[0136] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0137] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0138] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0139] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0140] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0141] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0142] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0143] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0144] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0145] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0146] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for identifying keyframes in application startup performance, characterized in that, include: Determine the clear frame sequence based on the screen recording data of the application to be tested, and obtain the icon reference image, homepage frame reference image, and cold start page reference image; The adjacent frames in the clear frame sequence and the icon reference image are input into the state detection large model to perform start-up trigger state detection, and the state comparison results of the adjacent frames are obtained. When the state comparison results indicate a state change, the next frame in the corresponding adjacent frames is determined as the start-up trigger frame. Using the start-up trigger frame as the search starting point, select detection frames from the clear frame sequence to perform state determination on the input state detection big model, and locate the homepage frame frame based on the homepage frame reference map; Starting from the homepage frame, adjacent frames are extracted from the clear frame sequence to perform rendering state detection on the input state detection model. The complete rendering frame is located based on the cold start page reference image and the homepage frame reference image. Using the complete rendered frame as the search starting point, adjacent frames are extracted from the clear frame sequence to perform content change detection on the input state detection large model, and the data loading completed frame is located. Calculate the timestamp differences corresponding to the startup trigger frame, the homepage frame, the complete rendering frame, and the data loading completion frame to generate startup performance metrics.
2. The application startup performance keyframe identification method according to claim 1, characterized in that, The method further includes: When no activation trigger state is detected in all adjacent frame pairs within the preset search range, the icon position corresponding to the icon reference image is located in the adjacent frames by visual feature matching. Based on the located icon position, the icon regions of the two frames in the adjacent frame pair are cropped respectively, and one or more image feature change indices are calculated for the icon region of the later frame relative to the icon region of the previous frame. When the image feature change index is greater than the preset change index, the next frame in the adjacent frames is determined as the start trigger frame.
3. The application startup performance keyframe identification method according to claim 2, characterized in that, The step of locating the icon position corresponding to the icon reference image in the adjacent frames by visual feature matching includes: The icon position of the icon reference image in the desktop area of the frame is located by the first feature extraction algorithm; When the first feature extraction algorithm fails to match, the icon position is located by the second feature extraction algorithm. When the second feature extraction algorithm fails to match, the sampling range is gradually expanded through the state detection big model to identify and locate the icon position.
4. The application startup performance keyframe identification method according to claim 1, characterized in that, The step of selecting detection frames from the clear frame sequence to perform state determination on the input state detection model, and locating the homepage frame frame based on the homepage frame reference graph, includes: Based on the set initial search interval, the left boundary frame and the midpoint frame of the current search interval are selected to form the detection frame pair; The state detection model outputs the positional relationship of the detection frame pair relative to the homepage frame state indicated by the homepage frame reference diagram. The positional relationship includes one of the following: all are before the target state, all are after the target state, or cross the target state. Based on the positional relationship, the range of the shrinking search interval is determined, and the detection frame pairs are repeatedly extracted and compared based on the search range until the search range is less than the precise search threshold. Within the shrunk search range, the system detects frame by frame, locates critical frame pairs where the previous frame has not reached the target state and the next frame has reached the target state, and determines the next frame in the critical frame pair as the homepage frame frame.
5. The application startup performance keyframe identification method according to claim 4, characterized in that, The process of locating the critical frame pair where the previous frame did not reach the target state and the next frame does, includes: Extract the original confidence scores of the critical frame pairs output by the large state detection model, and multiply the original confidence scores by the preset critical frame reward coefficients to generate adjusted confidence scores. When the adjusted confidence level is greater than the target confidence level, the critical frame pair is confirmed to be valid.
6. The application startup performance keyframe identification method according to claim 1, characterized in that, The step of extracting adjacent frames from the clear frame sequence to perform rendering state detection on the input state detection large model, and locating the complete rendering frame based on the cold start page reference map and the homepage frame reference map, includes: Extract adjacent frame pairs from the homepage frame frame onwards, and input them together with the cold start page reference image and the homepage frame reference image into the state detection big model to detect the mask disappearance state and content rendering state. When a pair of adjacent frames is detected that simultaneously satisfies the conditions of the mask being completely removed and the content being rendered, the corresponding next frame is determined as the first candidate frame. The state of the first candidate frame is checked for the first number of consecutive adjacent frame pairs after the first candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the target state, the first candidate frame is determined as the complete rendering frame. If no matching adjacent frame pair is detected within the preset search time, the complete rendering frame is located using a binary search method.
7. The application startup performance keyframe identification method according to claim 1, characterized in that, The step of extracting adjacent frames from the clear frame sequence to perform content change detection on the input state detection large model and locating the data loading completed frame includes: After the complete rendering frame, the adjacent frame pairs are extracted one by one and input into the state detection large model to detect the content change state between frames. When the adjacent frame pair whose content has been updated is detected, the corresponding next frame is determined as the second candidate frame. The state of the second candidate frame is checked for the second number of consecutive adjacent frame pairs after the second candidate frame. When it is confirmed that all the corresponding adjacent frame pairs maintain the updated state, the second candidate frame is determined as the data loading completed frame. If no matching adjacent frame pair is detected within the preset search time, the data loading completion frame is located using a binary search method. If no content change is detected in any of the detection paths, the complete rendering frame is determined to be the data loading completion frame.
8. A device for identifying keyframes for application startup performance, characterized in that, include: Data acquisition module: used to determine the clear frame sequence based on the screen recording data of the application to be tested, and to acquire the icon reference image, homepage frame reference image and cold start page reference image; Start-up trigger frame detection module: used to input adjacent frames in the clear frame sequence and the icon reference image into the state detection large model to perform start-up trigger state detection, obtain the state comparison result of the adjacent frames, and when the state comparison result indicates a state change, the next frame in the corresponding adjacent frames is determined as the start-up trigger frame. Homepage frame frame detection module: used to select detection frames from the clear frame sequence with the start trigger frame as the search starting point, perform state determination on the input state detection big model, and locate the homepage frame frame based on the homepage frame reference map; Complete Rendering Frame Detection Module: This module uses the homepage frame as the starting point for searching, extracts adjacent frames from the clear frame sequence, performs rendering state detection on the input state detection model, and locates the complete rendering frame based on the cold start page reference image and the homepage frame reference image. Data loading complete frame detection module: It is used to extract adjacent frames from the clear frame sequence, take the complete rendered frame as the search starting point, perform content change detection on the input state detection big model, and locate the data loading complete frame. Metrics generation module: used to calculate the timestamp difference between the startup trigger frame, the homepage frame, the complete rendering frame and the data loading completion frame, and generate startup performance metrics.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the application startup performance key frame identification method according to any one of claims 1 to 7.
10. A storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the application startup performance keyframe identification method according to any one of claims 1 to 7.
