Page loading analysis method and device, equipment, medium and product

By splitting the screen recording and processing the image blocks of App page loading, the problems of high labor costs and large calculation errors in the existing technology are solved, and more accurate loading time evaluation and automated testing are achieved.

CN120743373APending Publication Date: 2025-10-03BEIJING DONGCHEZU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510850162.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

Existing App page loading test technology requires a lot of manpower, and the automatic frame splitting algorithm ignores page animation effects and content calculation errors, leading to misjudgment.

Method used

Use a preset program to record and capture screen recordings of page loading, split frames according to time intervals, and split each frame into image blocks. Use similarity or blank area judgment to determine the first and last frames, calculate the loading time, and evaluate based on historical records.

Benefits of technology

It improves the accuracy of page loading status judgment, reduces calculation errors and labor costs, and improves testing efficiency and automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743373A_ABST
    Figure CN120743373A_ABST
Patent Text Reader

Abstract

The invention provides a page loading analysis method and device, equipment, a medium and a product. The page loading analysis method comprises the steps that automatic page loading screen recording collection is carried out; splitting the recorded screen into a plurality of frame images according to a preset time interval; splitting each frame image into a plurality of image blocks according to the same segmentation mode; selecting a comparison image block in each frame image, and comparing the comparison image blocks at the same position of two adjacent frame images to obtain a first frame and a tail frame of page loading; calculating the loading time consumption according to the first frame and the tail frame; and evaluating the page loading by comparing the time consumption of the loading with the historical record of the recorded time consumption. The method has the advantages that the accuracy of judging the page loading state is improved, and the calculation error of loading time consumption is greatly reduced; the labor cost required by testing and the operation difficulty of testing by testers are reduced; the automation degree of the testing process is improved, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network technology, and in particular to a page loading analysis method, apparatus, device, medium, and product. Background Art

[0002] App page load testing is a specialized test of the loading speed, performance, and user experience of each page or screen within a mobile application (app). The primary goal is to ensure that users experience a smooth and fast experience when opening or switching pages, avoiding lags, blank screens, or long wait times, thereby improving user retention and satisfaction.

[0003] Existing App page loading test technology has the following problems: First, existing technology usually requires testers to record the phone operation screen multiple times, mark the start frame and end frame of the page loading to calculate the page loading time. With the continuous iteration and increase of functional scenarios, the labor cost required for manual screen recording and frame splitting is increasing. In addition, manual uploading of screen recordings often records unnecessary pre-operations during the recording process, which causes some pre-operations to be treated as page loading when automatically splitting the frames to calculate similarity, resulting in errors in automatic frame splitting.

[0004] Secondly, the commonly used method of automatically marking the start and end frames of page loading in the existing technology is mainly based on de-framing the page screen, and then calculating the similarity frame by frame based on the full-page similarity algorithm. The change from 1 to non-1 is marked as the start frame, and the change from non-1 to 1 is marked as the end frame. This automatic de-framing algorithm has two major problems: first, it ignores the animation effects of the page itself, causing normal animation effects on the page to be mistakenly considered loading; second, the image similarity calculation is directly performed on the two frames corresponding to the complete page. Due to the large amount of content on the page, it may cause excessive calculation errors, leading to the misjudgment of the page loading.

[0005] The present invention provides a method, device, equipment, medium and product for analyzing page load, which can overcome the shortcomings of the prior art. Summary of the Invention

[0006] The present disclosure provides a page load analysis method, apparatus, device, medium, and product that can solve the problems existing in the prior art. The objectives of the present disclosure are achieved through the following technical solutions.

[0007] In a first aspect, an embodiment of the present disclosure provides a page load analysis method, which includes multiple steps:

[0008] Step 1: Use the preset program to record the page loading screen;

[0009] Step 2: Split the screen recording into multiple frames according to the preset time interval;

[0010] Step 3: Split each frame into multiple image blocks using the same segmentation method;

[0011] Step 4: Select the comparison image blocks in each frame, and compare the comparison image blocks in the same position in two adjacent frames to obtain the first and last frames of the page loading. The user can pre-set the position and number of comparison image blocks based on the function of the screen recording object and the page. The first frame is the frame corresponding to the beginning of the page loading, and the last frame is the frame corresponding to the end of the loading.

[0012] Step 5: Calculate the loading time based on the first and last frames; and

[0013] Step 6: Evaluate the current page load by comparing the current load time with the historical record of time consumption.

[0014] According to the page loading analysis method provided by one embodiment of the present disclosure, step 1: using a preset program to record and capture the page loading screen includes the following steps:

[0015] Step 11: Create a page loading screen recording collection use case based on the type of loaded page;

[0016] Step 12: Set the start and end time of the screen recording; and

[0017] Step 13: Perform screen recording acquisition according to the page loading screen recording acquisition use case to obtain the screen recording.

[0018] According to the page loading analysis method provided by the above-mentioned embodiment of the present disclosure, the page loading analysis method adopts similarity judgment processing or blank area judgment processing to compare the comparison image blocks at the same position of two adjacent frames to obtain the first frame and the last frame of the page loading.

[0019] According to the page load analysis method provided by one embodiment of the present disclosure, the similarity determination process includes the following steps:

[0020] Step 41a: Calculate the similarity of the comparison image blocks at each same position in two adjacent frames based on the image Hamming distance;

[0021] Step 42a: setting a frame whose similarity of the compared image blocks at any same position with the previous frame is less than a preset similarity threshold as the first frame; and

[0022] Step 43a: after the first frame, the frame in which the similarity of the compared image blocks at all the same positions as the previous frame is greater than or equal to a preset similarity threshold is set as the last frame.

[0023] According to the page loading analysis method provided by one embodiment of the present disclosure, the blank area determination process includes the following steps:

[0024] Step 41b: Divide each frame into a plurality of blocks, and calculate the proportion of the comparison image blocks in each block that are blank areas;

[0025] Step 42b: setting as the first frame a frame in which the ratio of blank areas of the contrasting image blocks in all blocks of the previous frame is less than a preset threshold and the ratio of blank areas of the contrasting image blocks in the frame itself is greater than the preset threshold; and

[0026] Step 43b: The frame in which the ratio of blank areas of the previous frame's contrasting image blocks is greater than a preset threshold and the ratio of blank areas of all blocks in the frame's contrasting image blocks is less than or equal to the preset threshold is set as the last frame.

[0027] According to the page loading analysis method provided by the above-mentioned one embodiment of the present disclosure, the similarity threshold is 1.

[0028] In a second aspect, an embodiment of the present disclosure provides a page load analysis device, comprising:

[0029] Screen recording module, used to capture screen recordings of page loading using a preset program;

[0030] The screen recording splitting module is used to split the screen recording into multiple frames according to the preset time interval;

[0031] The frame image segmentation module splits each frame image into multiple image blocks using the same segmentation method;

[0032] The image comparison module selects the comparison image blocks in each frame and compares the comparison image blocks in the same position in two adjacent frames to obtain the first and last frames of the page loading. The user can pre-set the position and number of comparison image blocks based on the function of the screen recording object and the page. The first frame is the frame corresponding to the beginning of the page loading, and the last frame is the frame corresponding to the end of the loading.

[0033] The calculation module calculates the loading time based on the first and last frames;

[0034] The evaluation module evaluates the current page load by comparing the current load time with the historical records of the time consumption.

[0035] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising:

[0036] one or more processors;

[0037] a storage device having one or more programs stored thereon,

[0038] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any implementation manner of the first aspect.

[0039] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by one or more processors, the method described in any implementation manner in the first aspect is implemented.

[0040] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program / instructions, and when the computer program / instructions are executed by a processor, implements the method described in any implementation manner in the first aspect.

[0041] The advantages of the page loading analysis method, device, equipment, medium and product according to the embodiments of the present disclosure are: improving the accuracy of page loading status judgment and significantly reducing the calculation error of loading time; reducing the manpower cost required for testing and the operational difficulty of testing for testers; improving the degree of automation of the testing process and improving testing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Other features, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments of the present disclosure with reference to the accompanying drawings.

[0043] Figure 1 An exemplary system architecture diagram is shown in which an embodiment of the present disclosure may be applied;

[0044] Figure 2 A flow chart of a page load analysis method according to one embodiment of the present disclosure is shown;

[0045] Figure 3 A flowchart of a similarity determination process according to one embodiment of the present disclosure is shown;

[0046] Figure 4 A flowchart of a blank area determination process according to one embodiment of the present disclosure is shown;

[0047] Figure 5 A schematic structural diagram of an embodiment of a page load analysis device according to an embodiment of the present disclosure is shown;

[0048] Figure 6 A schematic structural diagram of a computer system of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0049] The following describes the specific embodiments of the present disclosure in conjunction with the accompanying drawings and examples. Through the contents of this specification, those skilled in the art can clearly and completely understand the technical solutions, technical problems solved, and technical effects of the present disclosure. It is understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, for ease of description, only the parts relevant to the present disclosure are shown in the accompanying drawings.

[0050] It should be noted that the structures, proportions, sizes, etc. depicted in the drawings of the specification are only used to match the contents recorded in the specification for those skilled in the art to understand and read, and are not used to limit the conditions for the implementation of the present disclosure. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size should fall within the scope of the technical content disclosed in the present disclosure without affecting the efficacy and purpose that can be achieved by the present disclosure.

[0051] References such as "first", "second", "the" and the like do not indicate a quantitative limitation and may indicate the singular or plural. The terms "include", "comprising", "having" and any variations thereof involved in the present disclosure are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. Similar words such as "connect", "connected", "coupled" and the like involved in the present disclosure are not limited to physical or mechanical connections, but may also include direct or indirect electrical connections.

[0052] Figure 1 The following illustrates an exemplary system architecture to which embodiments of the page load analysis method, apparatus, device, medium, and product disclosed herein can be applied. Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is a medium for providing communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0053] The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104, thereby loading the page to be tested, etc. The terminal devices 101, 102, 103 can be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) players, laptop computers and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the terminal devices listed above. It can be implemented as multiple software or software modules (for example, used to run page loading analysis software), or it can be implemented as a single software or software module. No specific limitation is made here.

[0054] In some cases, the page load analysis method provided by the present disclosure may be executed by the terminal devices 101, 102, 103. Accordingly, the page load analysis apparatus may be provided in the terminal devices 101, 102, 103. In this case, the system architecture 100 may not include the server 105.

[0055] In some cases, the page loading analysis method provided by the present disclosure can be jointly performed by the terminal devices 101, 102, 103 and the server 105. For example, the step of "collecting screen recordings of page loading" can be performed by the terminal devices 101, 102, 103, and the steps of "evaluating the current page loading by comparing the current loading time with the historical records of the time consumption" can also be performed by the server 105. The present disclosure does not limit this. Accordingly, the page loading analysis device can also be respectively set in the terminal devices 101, 102, 103 and the server 105.

[0056] In some cases, the page loading analysis method provided by the present disclosure may be executed by the server 105 , and accordingly, the page loading analysis device may also be set in the server 105 . In this case, the system architecture 100 may also not include the terminal devices 101 , 102 , and 103 .

[0057] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 105 is software, it can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. No specific limitations are given here.

[0058] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0059] Figure 2 FIG. 1 shows a flow chart of a page load analysis method according to an embodiment of the present disclosure. Figure 2 As shown, the page load analysis method includes multiple steps:

[0060] Step 1: Use the preset program to record the page loading screen;

[0061] Step 2: Split the screen recording into multiple frames at preset time intervals; preferably, the screen recording video can be split into frames one by one at 40ms intervals;

[0062] Step 3: Split each frame into multiple image blocks using the same segmentation method;

[0063] Step 4: Select the comparison image blocks in each frame, and compare the comparison image blocks at the same position in two adjacent frames to obtain the first frame and last frame of the page loading; wherein, the user can pre-set the position and number of the comparison image blocks according to the function of the screen recording object and the different pages. The first frame refers to the frame corresponding to the beginning of page loading, and the last frame refers to the frame corresponding to the end of loading. The two adjacent frames refer to the two adjacent frames in chronological order among the frames obtained by splitting in step 2. Preferably, the image blocks with content displayed after the page is loaded and the content is fixed text or pictures are selected as the comparison image blocks. This can effectively prevent the animation content in the page from affecting the judgment of the page loading status;

[0064] Step 5: Calculate the loading time based on the first and last frames; and

[0065] Step 6: Evaluate the current page load by comparing the current load time with the historical record of time consumption.

[0066] According to the page loading analysis method provided by the above-mentioned one embodiment of the present disclosure, the division method of splitting each frame image into multiple image blocks can be determined according to the content of the loading page. In one embodiment, the rectangular loading page is split into m*n rectangular image blocks of the same size, where m represents the number of rectangular image blocks in a row, and n represents the number of rectangular image blocks in a column. The m*n rectangular image blocks are spliced ​​to form a complete loading page. The specific numbers of m and n can be determined according to the size and / or content of the loading page.

[0067] According to the page loading analysis method provided by the above-mentioned embodiment of the present disclosure, preferably, the automated page loading screen recording and collection can be implemented in the B / S architecture using python+react+mysql, which can support users to customize the various operations of UI automation and specify the timing of screen recording and collection.

[0068] According to the page loading analysis method provided by the above-mentioned one embodiment of the present disclosure, preferably, the cv library of Python is used to perform image analysis on the collected page loading screen recording.

[0069] According to the page loading analysis method provided by one embodiment of the present disclosure, one way to calculate the loading time based on the first frame and the last frame is to obtain the loading time by subtracting the first frame time from the last frame time based on the timestamps of the first frame and the last frame; or to calculate the loading time based on the numbers of the first frame and the last frame or the frame difference between the two, combined with the frame rate of the screen recording. It should be noted that the above method is only exemplary, and those skilled in the art can adopt any reasonable method for calculating the loading time as needed.

[0070] According to the page loading analysis method provided by one embodiment of the present disclosure, step 1: using a preset program to record and capture the page loading screen includes the following steps:

[0071] Step 11: Create a page loading screen recording capture use case based on the type of loading page. Specifically, this means setting the startup method of the page to be tested (for example, setting the click position on the page), form filling content, and test times based on the design of the test object app.

[0072] Step 12: Set the start and end time of the screen recording; and

[0073] Step 13: Perform screen recording acquisition according to the page loading screen recording acquisition use case to obtain the screen recording.

[0074] According to the page loading analysis method provided by the above-mentioned embodiment of the present disclosure, the page loading analysis method adopts similarity judgment processing or blank area judgment processing to compare the comparison image blocks at the same position of two adjacent frames to obtain the first frame and the last frame of the page loading.

[0075] Figure 3 FIG. 1 shows a flow chart of similarity determination processing according to an embodiment of the present disclosure. Figure 3 As shown, the similarity determination process includes the following steps:

[0076] Step 41a: Calculate the similarity of the comparison image blocks at each same position in two adjacent frames based on the image Hamming distance;

[0077] Step 42a: setting a frame whose similarity of the compared image blocks at any same position with the previous frame is less than a preset similarity threshold as the first frame; and

[0078] Step 43a: after the first frame, the frame in which the similarity of the compared image blocks at all the same positions as the previous frame is greater than or equal to a preset similarity threshold is set as the last frame.

[0079] Figure 4 FIG. 1 shows a flow chart of a blank area determination process according to an embodiment of the present disclosure. Figure 4 As shown, the blank area determination process includes the following steps:

[0080] Step 41b: Divide each frame into a plurality of blocks, and calculate the proportion of the comparison image blocks in each block that are blank areas;

[0081] Step 42b: setting as the first frame a frame in which the ratio of blank areas of the contrasting image blocks in all blocks of the previous frame is less than a preset threshold and the ratio of blank areas of the contrasting image blocks in the frame itself is greater than the preset threshold; and

[0082] Step 43b: The frame in which the ratio of blank areas of the previous frame's contrasting image blocks is greater than a preset threshold and the ratio of blank areas of all blocks in the frame's contrasting image blocks is less than or equal to the preset threshold is set as the last frame.

[0083] According to the page loading analysis method provided by the above-mentioned one embodiment of the present disclosure, the similarity threshold is 1.

[0084] An embodiment of the page loading analysis method disclosed in the present invention was compared with the previous full-page similarity algorithm. In the test, the method disclosed in the present invention automatically deframed 70 business scenarios and collected 135 videos. The test results showed that the error between the time it took to load the page obtained by automatic deframing and the manual labeling was reduced from 5391ms to 27ms.

[0085] Secondly, Figure 5 FIG. 1 shows a schematic diagram of a structure of an embodiment of a page load analysis device according to an embodiment of the present disclosure. Figure 5 As shown, the page load analysis device includes:

[0086] Screen recording module 201, used to use a preset program to record and capture the page loading screen;

[0087] The screen recording splitting module 202 is used to split the screen recording into multiple frames according to a preset time interval;

[0088] The frame image segmentation module 203 divides each frame image into multiple image blocks according to the same segmentation method;

[0089] The image comparison module 204 selects comparison image blocks in each frame and compares the comparison image blocks at the same position in two adjacent frames to obtain the first and last frames of the page loaded. The user can pre-set the position and number of comparison image blocks based on the function of the screen recording object and the page. The first frame is the frame corresponding to the beginning of page loading, and the last frame is the frame corresponding to the end of page loading.

[0090] Calculation module 205, calculates the time consumed for this loading based on the first frame and the last frame;

[0091] The evaluation module 206 compares the current loading time with the historical records of the time consumption to evaluate the current page loading.

[0092] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising:

[0093] one or more processors;

[0094] a storage device having one or more programs stored thereon,

[0095] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any implementation manner of the first aspect.

[0096] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by one or more processors, the method described in any implementation manner in the first aspect is implemented.

[0097] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program / instructions, and when the computer program / instructions are executed by a processor, implements the method described in any implementation manner in the first aspect.

[0098] Figure 6A schematic structural diagram of a computer system of an electronic device for implementing an embodiment of the present disclosure is shown. Figure 6 The computer system 500 shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure. Figure 3 As shown, the computer system 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the computer system 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0099] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the computer system 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The computer system 500 of the electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0100] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing Figure 1 The computer program is a program code of the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are performed.

[0101] The advantages of the page loading analysis method, device, equipment, medium and product according to the embodiments of the present disclosure are: improving the accuracy of page loading status judgment and significantly reducing the calculation error of loading time; reducing the manpower cost required for testing and the operational difficulty of testing for testers; improving the degree of automation of the testing process and improving testing efficiency.

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0103] Although the present disclosure has been described and illustrated with reference to specific embodiments of the present disclosure, these descriptions and illustrations are not intended to limit the present disclosure. It will be clearly understood by those skilled in the art that various changes may be made and equivalent elements may be substituted within the embodiments without departing from the scope of protection of the present disclosure as defined by the claims. Due to variables in the manufacturing process, etc., there may be differences between the technical reproduction in the present disclosure and the actual device. There may be other embodiments of the present disclosure that are not specifically described. The description and illustrations should be regarded as illustrative, not restrictive, and modifications may be made according to the purpose and spirit of the present disclosure, all of which are within the scope of protection of the claims. Although the methods disclosed herein have been described with reference to specific operations performed in a specific order, it should be understood that these operations can be recombined, subdivided or arranged to form equivalent methods without departing from the teachings of the present disclosure. Therefore, unless specifically indicated herein, the order and grouping of operations do not limit the present disclosure.

Claims

1. A page loading analysis method, characterized in that: It involves several steps: Step 1: Use the preset program to record the page loading screen; Step 2: Split the screen recording into multiple frames according to the preset time interval; Step 3: Split each frame into multiple image blocks using the same segmentation method; Step 4: Select the comparison image blocks in each frame, and compare the comparison image blocks in the same position in two adjacent frames to obtain the first and last frames of the page loading. The user can pre-set the position and number of comparison image blocks based on the function of the screen recording object and the page. The first frame is the frame corresponding to the beginning of the page loading, and the last frame is the frame corresponding to the end of the loading. Step 5: Calculate the loading time based on the first and last frames; and Step 6: Evaluate the current page load by comparing the current load time with the historical record of time consumption.

2. The page loading analysis method according to claim 1, characterized in that: Step 1: Use the preset program to record the page loading screen, including the following steps: Step 11: Create a page loading screen recording collection use case based on the type of loaded page; Step 12: Set the start and end time of the screen recording; as well as Step 13: Perform screen recording acquisition according to the page loading screen recording acquisition use case to obtain the screen recording.

3. The page loading analysis method according to claim 1, characterized in that: The page loading analysis method uses similarity judgment processing or blank area judgment processing to compare the comparison image blocks at the same position of two adjacent frames to obtain the first frame and the last frame of the page loading.

4. The page loading analysis method according to claim 3, characterized in that: The similarity determination process includes the following steps: Step 41a: Calculate the similarity of the comparison image blocks at each same position in two adjacent frames based on the image Hamming distance; Step 42a: setting a frame whose similarity of the compared image blocks at any same position with the previous frame is less than a preset similarity threshold as the first frame; as well as Step 43a: after the first frame, the frame in which the similarity of the compared image blocks at all the same positions as the previous frame is greater than or equal to a preset similarity threshold is set as the last frame.

5. The page loading analysis method according to claim 3, characterized in that: The blank area determination process includes the following steps: Step 41b: Divide each frame into a plurality of blocks, and calculate the proportion of the comparison image blocks in each block that are blank areas; Step 42b: The frame in which the ratio of blank areas of the contrasting image blocks in all blocks of the previous frame is less than a preset threshold and the ratio of blank areas of the contrasting image blocks in the frame itself is greater than the preset threshold is set as the first frame; as well as Step 43b: The frame in which the ratio of blank areas of the previous frame's contrasting image blocks is greater than a preset threshold and the ratio of blank areas of all blocks in the frame's contrasting image blocks is less than or equal to the preset threshold is set as the last frame.

6. The page loading analysis method according to claim 4, characterized in that: The similarity threshold is 1.

7. A page loading analysis device, characterized in that: It includes: Screen recording module, used to capture screen recordings of page loading using a preset program; The screen recording splitting module is used to split the screen recording into multiple frames according to the preset time interval; The frame image segmentation module splits each frame image into multiple image blocks using the same segmentation method; The image comparison module selects the comparison image blocks in each frame and compares the comparison image blocks in the same position in two adjacent frames to obtain the first and last frames of the page loading. The user can pre-set the position and number of comparison image blocks based on the function of the screen recording object and the page. The first frame is the frame corresponding to the beginning of the page loading, and the last frame is the frame corresponding to the end of the loading. The calculation module calculates the loading time based on the first and last frames; The evaluation module evaluates the current page load by comparing the current load time with the historical records of the time consumption.

8. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon, wherein when the computer program is executed by one or more processors, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The method comprises a computer program / instruction, which implements the method according to any one of claims 1 to 6 when the computer program / instruction is executed by a processor.