Page response performance tuning method, device, equipment, storage medium and product

By acquiring page access data, identifying important element areas on the page, and calculating their pixel change information, the problem of inefficient page performance data calculation in existing technologies is solved, achieving more efficient page response latency calculation.

CN118827465BActive Publication Date: 2025-11-28CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410263977.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2025-11-28
Estimated Expiration
2044-03-07

AI Technical Summary

Technical Problem

In existing technologies, image recognition technology is used to identify all image elements in a set of framed images. Page response latency can only be confirmed when two images are completely identical, resulting in low efficiency in calculating page performance data.

Method used

By acquiring user page access data, the location areas of important elements in the page to be accessed are determined, and the set of important page elements in the location areas of important elements is extracted. Only the pixel change information of the set of important page elements is calculated, and the page response latency is calculated based on the pixel change information.

Benefits of technology

It improves the efficiency of calculating page performance data and reduces the time required to calculate page response latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827465B_ABST
    Figure CN118827465B_ABST
Patent Text Reader

Abstract

The application discloses a page response performance optimization method and device, equipment, a storage medium and a computer program product. The method comprises the following steps: obtaining page access data of a user; determining an important element position area in a to-be-accessed page based on the page access data, and extracting a page important element set in the important element position area; obtaining pixel change information corresponding to the page important element set, and calculating a page response time delay according to the pixel change information; and formulating a page optimization scheme based on the page response time delay and an access condition corresponding to the page access data. The application improves the efficiency of calculating page performance data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and in particular to a page response performance tuning method and device, equipment, a storage medium and a computer program product. BACKGROUND

[0002] At present, the performance analysis test method of the operator APP's points mall is through image recognition technology, that is, the whole process of opening the page of the measured system is recorded and framed, and then the framing results are matched with the pictures of the preset starting frame and ending frame, when the pictures are completely similar (that is, the two pictures are completely the same), the time sequence of the starting frame and the ending frame can be determined to confirm the page response time delay.

[0003] In the related art, the starting frame and the ending frame can be accurately found only when the pictures are completely similar, and such a method needs to traverse all pictures in the framed picture set to obtain the calculation result, which is low in calculation efficiency. For users, some non-main elements on the page do not affect the user's purchase behavior and experience in the case of not being loaded, and these non-main elements can be ignored. Therefore, the efficiency of matching and calculating the page performance data through the image recognition technology is low. SUMMARY

[0004] The main purpose of the present application is to provide a page response performance tuning method, device, equipment, a storage medium and a computer program product, which aims to solve the technical problem that in the related art, all picture elements in the framed picture set are identified through the picture recognition technology, and the page response time delay can be confirmed only when the two pictures are completely similar, resulting in low efficiency of calculating the page performance data.

[0005] To achieve the above purpose, the embodiments of the present application provide a page response performance tuning method, which comprises:

[0006] Obtaining page access data of a user;

[0007] Based on the page access data, determining an important element position area in a to-be-accessed page, and extracting a page important element set in the important element position area;

[0008] Obtaining pixel change information corresponding to the page important element set, and calculating a page response time delay according to the pixel change information;

[0009] Based on the page response time delay and an access condition corresponding to the page access data, formulating a page tuning scheme.

[0010] In a possible implementation of the present application, the page access data comprises a page access path and a page purpose type.

[0011] The step of determining the important element position area in the page to be accessed based on the page access data comprises:

[0012] The page access path and the page use type are analyzed to determine use scenario information of the user requesting to access the page.

[0013] Based on the use scenario information, the page to be accessed is divided to obtain the important element position area in the page to be accessed.

[0014] In a possible implementation of the present application, the page access data comprises terminal device information and network condition factors.

[0015] The step of extracting the page important element set in the important element position area comprises:

[0016] The page elements in the important element position area are extracted.

[0017] According to the terminal device information and the network condition factors, the position influence weight of each page element is calculated.

[0018] Based on the position influence weight of each page element, the page important element set is determined.

[0019] In a possible implementation of the present application, the step of calculating the page response time delay of the page to be accessed according to the pixel change information comprises:

[0020] According to the pixel change information, a starting frame picture set meeting a preset condition is intercepted.

[0021] Based on a preset picture recognition algorithm, an ending frame picture set is recognized in different access pages.

[0022] Based on the starting frame picture set and the ending frame picture set, the time sequence difference between the starting frame and the ending frame of different pages is calculated to obtain the page response time delay of the page to be accessed.

[0023] In a possible implementation of the present application, the pixel change information comprises a video frame picture set; and the step of intercepting a starting frame picture set meeting a preset condition according to the pixel change information comprises:

[0024] By a region pixel comparison method, the starting frame of different access pages in the video frame picture set is intercepted.

[0025] Each starting frame is compared with a preset condition to obtain a starting frame picture set.

[0026] In a possible implementation of the present application, the step of formulating the page tuning scheme based on the page response time and the access condition corresponding to the page access data comprises:

[0027] comparing the page response time with a preset threshold range to obtain a comparison result;

[0028] if the comparison result shows that the page response time is not within the preset threshold range, performing compression processing on the important page elements in the important element set under the access condition.

[0029] The present application also provides a page response performance tuning device, which comprises:

[0030] an acquisition module configured to acquire page access data of a user;

[0031] a determination module configured to determine an important element position area in a page to be accessed based on the page access data, and extract a set of important page elements in the important element position area;

[0032] a calculation module configured to acquire pixel change information corresponding to the set of important page elements, and calculate a page response time according to the pixel change information;

[0033] a formulation module configured to formulate a page tuning scheme based on the page response time and an access condition corresponding to the page access data.

[0034] The present application also provides a page response performance tuning device, which is an entity node device, and comprises a memory, a processor, and a program of the page response performance tuning method stored in the memory and executable on the processor, wherein the program of the page response performance tuning method can implement the steps of the page response performance tuning method as described above when executed by the processor.

[0035] To achieve the above object, the present application also provides a storage medium having a page response performance tuning program stored thereon, wherein the page response performance tuning program can implement the steps of any of the page response performance tuning methods as described above when executed by a processor.

[0036] In addition, to achieve the above object, the present application also provides a computer program product comprising a page response performance tuning program, wherein the page response performance tuning program can implement the steps of the page response performance tuning method as described above when executed by a processor.

[0037] The application provides a page response performance optimization method, device, equipment, storage medium and computer program product. In the related art, all picture elements in a framed picture set are identified through picture recognition technology, and when two pictures are exactly the same, the page response time delay can be confirmed, which leads to a low efficiency of calculating page performance data. In the application, page access data of a user is obtained, important element position areas in a to-be-accessed page are determined according to the page access data, a page important element set in the important element position areas is extracted, and only pixel change information of the page important element set is calculated, so that the page response time delay is calculated according to the pixel change information, the time for calculating the page response time delay is reduced, and the efficiency of calculating the page performance data is improved. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 A flowchart of a first embodiment of the page response performance optimization method of the application is shown in the figure.

[0039] Figure 2 A system overall architecture diagram of the page response performance optimization method of the application is shown in the figure.

[0040] Figure 3 A device structure diagram of a hardware running environment related to the embodiment of the application is shown in the figure.

[0041] Figure 4 A page element influence position distribution diagram related to the page response performance optimization method of the application is shown in the figure.

[0042] Figure 5 A performance analysis module processing diagram related to the page response performance optimization method of the application is shown in the figure.

[0043] Figure 6 A device structure diagram related to the page response performance optimization method of the application is shown in the figure. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.

[0045] The embodiment of the application provides a page response performance optimization method. In the first embodiment of the page response performance optimization method of the application, referring to Figure 1 , the method comprises the following steps:

[0046] Step S10, obtaining page access data of a user.

[0047] It should be noted that the page response performance optimization method can be applied to a page response performance optimization device, the page response performance optimization device belongs to a page response performance optimization system, and the page response performance optimization system belongs to a page response performance optimization equipment.

[0048] It should be noted that the execution subject of the method is a page response performance tuning system, in which different influencing factors are used to determine the main elements affecting page loading under different access conditions, and then the time difference from the starting frame to the loading of the main elements is calculated as the page response delay. This method can improve the accuracy and efficiency of image comparison, and the calculation of main elements takes into account terminal performance, network conditions, and the relative position of elements on the page, so the main elements calculated under different access conditions are different. This method can cover more user access conditions, rather than testing based on fixed device and network conditions. At the same time, developers can use this model to guide page degradation schemes under different conditions, and it also has a guiding effect on technical solutions for page optimization.

[0049] It should be understood that the page access data includes the access path of the user request to access the page, the page use type, and the terminal device information and network condition factors corresponding to different users. When users access different pages under different conditions (e.g., different performance terminals, different network conditions, etc.), the important elements affecting the page response delay (i.e., the main elements affecting the page response delay) are calculated through several influencing factors. The time difference from the starting frame to the completion of loading of the important elements is calculated as the page delay through image recognition technology, because the important elements are not unique and fixed, but vary depending on the conditions of the user.

[0050] It should be understood that the page response performance tuning system corresponding to the present application corresponds to three modules: a page important element calculation module, a page response delay analysis module, and a system performance optimization module, as shown in Figure 2 For different mobile terminals, including high-performance mobile terminal A, low-performance mobile terminal B, tablet computer terminal C, and PC terminal D, and network conditions are divided into good network condition and poor network condition. After determining the use conditions, the page important elements and the page response delay are calculated. After determining the page response delay, different performance optimization schemes are determined through the system performance optimization module, i.e., multiple page performance optimization schemes for different terminals.

[0051] Step S20, based on the page access data, determining the important element position area in the page to be accessed, and extracting a set of page important elements in the important element position area;

[0052] It should be noted that for terminal users, the same page has different corresponding page important elements under different use scenarios.

[0053] For example, for a payment scenario, the page elements corresponding to the to-be-paid order information and the payment submission control in the page should be the page important elements for calculating the performance of the scenario page (i.e., the page response time delay).

[0054] To this end, a page important element calculation method needs to be extracted to determine the important elements of the accessed page, so as to avoid affecting the calculation efficiency of other irrelevant elements.

[0055] It should be noted that the important element position area is the main influencing position area in the current use scenario.

[0056] It should be noted that the page important element set can include image elements, video elements, audio elements, etc., and will change according to different use scenarios, and is not limited in detail.

[0057] In step S30, the pixel change information corresponding to the page important element set is obtained, and the page response time delay is calculated according to the pixel change information.

[0058] It should be noted that the pixel change information is collected by video recording. The pixel change information of the fixed area of the measured system is collected, the video frames of each accessed page are intercepted, and the response time delay of the accessed page can be obtained according to the time difference between the start frame and the end frame of the intercepted video frames.

[0059] In step S40, a page tuning scheme is formulated based on the page response time delay and the access condition corresponding to the page access data.

[0060] It should be noted that the page response time delay can be 1S, 2S, etc., and is not limited in detail. The access condition corresponding to the page access data can be the terminal type corresponding to the user and the network condition. When the access condition is different, the page tuning scheme also changes.

[0061] The step S40 of formulating a page tuning scheme based on the page response time delay and the access condition corresponding to the page access data includes:

[0062] In step S41, the page response time delay is compared with a preset threshold range to obtain a comparison result.

[0063] It should be noted that the preset threshold range can be 1S-2S, 3S-4S, etc., and is not limited in detail. The specific values are shown in the following table:

[0064]

[0065] It should be noted that the comparison result can be that the page response time delay is within the preset threshold range, or that the page response time delay is not within the preset threshold range.

[0066] Step S42, if the comparison result shows that the page response delay is not within the preset threshold range, the important page elements under each access condition in the set of important elements of the page are compressed.

[0067] It should be noted that if the actual tested page response delay is not within the preset threshold range, the important elements under different access conditions calculated in the important element calculation model can be compressed. According to the access conditions of the user, the important elements of the page accessed by the user are automatically degraded and replaced / compressed, so as to realize automatic and targeted optimization for different access conditions, and the user experience can be greatly improved.

[0068] For example, picture compression can be performed, 3D scene can be simplified by triangle face, and the loading delay of animation elements is longer, and the loading delay of video elements is shorter (because the video elements are set to load only the first frame of the video on the previous page, and the video content will be displayed on the next page after clicking again, so the loading delay on the previous page is less than the animation), and the animation elements can be replaced by video elements; for example, based on the total loading delay of each type of element, if the total loading delay of multiple picture elements is greater than the loading time of an animation element, multiple pictures can be replaced by an animation, and the page space can be saved.

[0069] The present application provides a page response performance optimization method, device, equipment, storage medium and computer program product. In the related art, all picture elements in the set of framed pictures are identified by picture recognition technology, and when two pictures are exactly the same, the page response delay can be confirmed, which leads to low efficiency in calculating page performance data. In the present application, the important element position area in the page to be accessed is determined according to the page access data, and the set of important page elements in the important element position area is extracted, only the pixel change information of the set of important page elements is calculated, and then the page response delay is calculated according to the pixel change information, so as to reduce the time for calculating the page response delay, thereby improving the efficiency of calculating the page performance data.

[0070] Further, based on the first embodiment of the present application, another embodiment of the present application is provided, in which the page access data includes a page access path and a page purpose type.

[0071] The step S20 of determining the important element position area in the page to be accessed based on the page access data includes:

[0072] Step S21, analyzing the page access path and the page purpose type to determine the use scenario information of the user requesting to access the page;

[0073] It should be noted that the page usage scenario classification model is pre-trained through the access path and page usage type data of the historical user page, and then in actual application, the access path and page usage type features can be processed and input into the scenario classification model to obtain the usage scenario of the requested access page. The usage scenario classification can be set according to specific subdivision requirements, and then the set subdivision scenario is used as a label to pre-train the scenario classification model. For the base model of the specific scenario classification model, it is not the protection point of the present application, and a conventional supervised machine learning model in the prior art can be flexibly selected.

[0074] Step S22, based on the usage scenario information, the to-be-accessed page is divided to obtain the important element position area in the to-be-accessed page.

[0075] It should be noted that the access page is segmented based on the usage scenario information to obtain the main influence position and the non-main influence position. In the server, a mapping relationship between the usage scenario and the page segmentation position is pre-set. In the initial stage of page performance analysis, the system performance analysis tester compares the usage scenario, and each adaptive scenario pre-divides the main influence position area and the non-main influence position area of the page. The main influence position area is the important element position area.

[0076] The page access data includes terminal device information and network condition factors.

[0077] The step S20 of extracting the page important element set in the important element position area further includes:

[0078] Step S23, extracting the page element in the important element position area;

[0079] Step S24, calculating the position influence weight of each page element according to the terminal device information and network condition factors;

[0080] It should be noted that for the main influence position area, the page elements included in the main influence position area are extracted; and the position influence weight of the extracted page elements is calculated according to the terminal device information and network condition factors corresponding to the page access request submitted by the user.

[0081] For the non-main influence position, the response time delay of the page element thereof can be ignored when performing page performance analysis, and the user will not pay attention to it when using. However, for the main influence position, because it will affect the normal execution of the business process, a large response time delay will directly affect the subjective operation experience of the user, and therefore, it is necessary to analyze the response time delay of the element corresponding to the main influence position.

[0082] Specifically, the following steps are included:

[0083] 1. The page important element calculation module first extracts the page element information included in the main influencing positions, and then determines the element type corresponding to the page element. Element types include text elements, large image elements (greater than 500K), small image elements (less than 500K), animated elements, audio elements, video elements, large scene 3D elements (with more than 10,000 triangle faces), small scene 3D elements (with less than 10,000 triangle faces), etc.

[0084] 2. Obtain the historical average loading time (t) of the element type corresponding to the page elements in the main affected locations under different network conditions. For example, the average loading time of a 500K high-resolution image under normal network conditions is 1 second. Generally, networks with speeds below 2G (i.e., 150Kbps, equivalent to a download speed of 15-20K / s) are considered weak networks; anything else is defined as a normal network.

[0085] 3. Calculate the number n of each type of element in the main influencing location and the total number N of all elements. Use the ratio of the number n of each type of element to the total number N of all elements as the network influence factor 1 for the corresponding type of page element extracted from the main influencing location. Multiply this factor by the historical average loading time t of that element type to obtain the influence weight 1.

[0086] 4. Obtain user terminal information for requesting access to the page, and determine the page loading impact factor 2 for each type of element in the main influencing location on different terminals. The page loading impact factor 2 is mainly determined by the CPU processing power C and screen resolution R corresponding to the terminal type. The obtained CPU performance value C and screen resolution R are compared with the CPU performance value c and screen resolution r required for the historical average loading time t of that type of element, respectively. Finally, the results are fitted to obtain the page loading impact factor 2.

[0087] Wherein, the page load impact factor 2 = (C / c + R / r) / 2

[0088] 5. The influence weight 2 is obtained by multiplying the page loading influence factor 2 and the influence weight 1. Then, the influence weight 3, i.e. the position influence weight, is determined by combining the position influence factor 3 of each type of element in the main influence position.

[0089] It should be noted that the diagram illustrating the distribution of page elements' influence on their positions is as follows: Figure 4 As shown, by Figure 4Therefore, we divide the main influencing positions into a grid as above, and for each grid, we assign a grid reference value K to each position according to the user's usage habits, and then take the reference value as an influencing factor 3 and multiply it by the influencing weight 2 of the corresponding page element type in the grid to obtain the influencing weight 3. If multiple grids correspond to the same page element type, the average of the grid reference values K corresponding to the multiple grids can be calculated, and the average is taken as the influencing factor 3 and multiplied by the influencing weight 2 to obtain the influencing weight 3.

[0090] The influencing weight 3 is then taken as the position influencing weight corresponding to all page element types in the main influencing position. Each page element type corresponds to a position influencing weight.

[0091] Step S25, based on the position influencing weight of each page element, determine the page important element set.

[0092] It should be noted that here we sort the position influencing weights from large to small, and select the largest weight as the page important element. When there are multiple maximum weights, the page elements corresponding to the maximum weights are combined into the page important element set, which is used for page response time calculation in the next stage.

[0093] In this embodiment, the position influencing weight of the important element region is calculated, and the page important element set is obtained according to the position influencing weight, reducing the number of elements needed for calculating the page response time, thereby improving the system calculation speed.

[0094] Further, based on the first and second embodiments of the present application, another embodiment of the present application is provided, in which the step S30 of calculating the page response time of the page to be accessed according to the pixel change information comprises:

[0095] Step S31, according to the pixel change information, intercept a set of starting frame pictures that meet the preset condition;

[0096] It should be noted that this part is executed by the page response time analysis module, which can automatically screen frame recording for the measured page, and at the same time, calculate the time difference between the starting frame and the ending frame through image recognition algorithm, which is the response time of the page.

[0097] It should be noted that the preset condition is a fixed area pixel change condition, which can include pixel brightness sum, fixed area width, height, etc. that need to meet a certain value.

[0098] Specifically, the pixel change information of the fixed area of the measured system is collected, and the video frame that meets the preset condition is intercepted as the initial frame to obtain a set of starting frame pictures B.

[0099] First open the measured system touch display switch (touch display white point area), use the program to simulate user click operation, compare the pixel changes of the fixed area frame by frame, collect image information that meets the pixel change condition of the fixed area:

[0100] Determine the absolute value of the brightness difference of the fixed area before and after clicking to determine whether the touch area appears a click event, if so, select the image of the corresponding video frame as the initial frame.

[0101] Step S32, based on a preset picture recognition algorithm, identifying the end frame picture set in different access pages;

[0102] It should be noted that the preset picture recognition algorithm is a picture recognition algorithm in related technology, and is well known to those skilled in the art, which will not be repeated here.

[0103] It should be noted that the end frame of different pages is found by the image recognition algorithm, which can identify the frame information of the important elements displayed completely in the picture, and the frame is used as the end frame to obtain the end frame picture set C.

[0104] Step S33, based on the start frame picture set and the end frame picture set, calculating the time difference between the start frame and the end frame of different pages to obtain the page response time delay of the page to be accessed.

[0105] It should be noted that the time difference between the start frame and the end frame of different pages is the response time delay of the page.

[0106] It should be noted that the overall processing flowchart is as shown in Figure 5 The flow is as follows:

[0107] 1. First, video recording of the measured object is performed to generate video A, and the video A is subjected to frame processing to generate picture set A1;

[0108] 2. Find the start frame of different pages by region pixel comparison method to obtain the start frame picture set B;

[0109] 3. Based on the different page important elements, the end frame of different pages in the picture set A1 is found by image comparison algorithm to obtain the end frame set C;

[0110] 4. The response time delay of different pages is obtained by subtracting the time sequence of the start frame and the end frame set of the same page.

[0111] The pixel change information includes a video frame picture set; the step S31 of intercepting the start frame picture set meeting the preset condition according to the pixel change information, comprising:

[0112] Step S310, by the regional pixel contrast method, intercepting the starting frames of different access pages in the video frame picture set;

[0113] Step S311, comparing each starting frame with a preset condition to obtain a starting frame picture set.

[0114] It should be noted that the pixel change information of the fixed region of the measured system is collected, the video frame satisfying the preset condition is intercepted as the initial frame, and the starting frame picture set B is obtained.

[0115] First, open the touch display switch (touch display white point region) of the measured system, use the program to simulate user click operation, compare the pixel changes of the fixed region frame by frame, and collect image information satisfying the fixed region pixel change condition:

[0116] Among them, the conditions and contents are as follows:

[0117] (1) The sum of the pixel brightness of the fixed region before clicking is: curSize

[0118] (2) The sum of the pixel brightness of the fixed region after starting clicking is: lastSize

[0119] (3) The width of the fixed region is: localArea.width

[0120] (4) The height of the fixed region is: localArea.height

[0121] Determine the absolute value of the brightness difference of the fixed region before and after clicking to determine whether the touch region appears a click event, if so, select the image of the corresponding video frame as the initial frame; In this application, the image of the video frame satisfying the following formula is the initial frame:

[0122] |(curSize-lastSize)|>R1*(localArea.width*localArea.height))

[0123] Where R1 is a man-made parameter, which can be 6.

[0124] When the above conditions are met, it is determined that there is a click operation, and the picture is selected as the initial frame.

[0125] In this embodiment, by intercepting the initial frame and the end frame of the page element in the important element region, and calculating the page response delay according to the initial frame and the end frame, the calculated face response delay is more accurate.

[0126] Referring to Figure 3 , Figure 3 is a device structure schematic diagram of a hardware running environment involved in the embodiment scheme of the application.

[0127] As Figure 3 shown, the page response performance tuning device can include a processor 1001, a memory 1005, a communication bus 1002. The communication bus 1002 is used to realize the connection communication between the processor 1001 and the memory 1005.

[0128] Optionally, the page response performance tuning device can further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, a WiFi module, etc. The user interface can include a display, an input sub-module such as a keyboard, and the optional user interface can further include a standard wired interface, a wireless interface. The network interface can include a standard wired interface, a wireless interface (such as a WI-FI interface).

[0129] Those skilled in the art can understand that Figure 3 the structure of the page response performance tuning device shown in the above

[0130] As Figure 3 shown, the memory 1005 as a storage medium can include an operating system, a network communication module, and a page response performance tuning program. The operating system is a program that manages and controls the hardware and software resources of the page response performance tuning device, supports the running of the page response performance tuning program and other software and / or programs. The network communication module is used to realize the communication between the components in the memory 1005, and the communication between other hardware and software in the page response performance tuning system.

[0131] In Figure 3 the page response performance tuning device, the processor 1001 is used to execute the page response performance tuning program stored in the memory 1005, and realize the steps of the page response performance tuning method described in any of the above embodiments.

[0132] The specific embodiments of the page response performance tuning device of the present application are basically the same as the above-mentioned embodiments of the page response performance tuning method, and will not be repeated here.

[0133] In addition, the embodiments of the present application also propose a computer program product, including a page response performance tuning program, the page response performance tuning program is executed by the processor to realize the steps of the page response performance tuning method as described above.

[0134] The specific embodiments of the computer program product of the present application are basically the same as the above-mentioned embodiments of the page response performance tuning method, and will not be repeated here.

[0135] The application further provides a page response performance optimization device, referring to Figure 6 , the page response performance optimization device comprises:

[0136] An acquisition module is configured to acquire page access data of a user.

[0137] A determination module is configured to determine an important element position area in a page to be accessed based on the page access data, and extract a page important element set in the important element position area.

[0138] A calculation module is configured to acquire pixel change information corresponding to the page important element set, and calculate a page response time delay according to the pixel change information.

[0139] A formulation module is configured to formulate a page optimization scheme based on the page response time delay and an access condition corresponding to the page access data.

[0140] In a possible implementation of the application, the determination module comprises:

[0141] A first determination unit is configured to analyze the page access path and the page use type, and determine use scenario information of a user requesting to access a page.

[0142] A division unit is configured to divide the page to be accessed based on the use scenario information, and obtain an important element position area in the page to be accessed.

[0143] In a possible implementation of the application, the determination module further comprises:

[0144] An extraction unit is configured to extract a page element in the important element position area.

[0145] A first calculation unit is configured to calculate a position influence weight of each page element according to the terminal device information and the network condition factor.

[0146] A second determination unit is configured to determine a page important element set based on the position influence weight of each page element.

[0147] In a possible implementation of the application, the calculation module comprises:

[0148] An interception unit is configured to intercept a starting frame picture set meeting a preset condition according to the pixel change information.

[0149] An identification unit is configured to identify an ending frame picture set in different access pages based on a preset picture identification algorithm.

[0150] The second calculation unit is configured to calculate a time difference between a start frame and an end frame of different pages based on the set of start frame pictures and the set of end frame pictures, and obtain a page response time delay of a page to be accessed.

[0151] In a possible implementation of the present application, the intercepting unit comprises:

[0152] The intercepting sub-unit is configured to intercept start frames of different access pages in the set of video frame pictures by using a region pixel contrast method.

[0153] The comparison sub-unit is configured to compare each start frame with a preset condition, and obtain a set of start frame pictures.

[0154] In a possible implementation of the present application, the formulating module comprises:

[0155] The comparison unit is configured to compare the page response time delay with a preset threshold range, and obtain a comparison result.

[0156] The compression processing unit is configured to perform compression processing on important page elements in the set of important page elements under each access condition if the comparison result shows that the page response time delay is not within the preset threshold range.

[0157] It should be noted that, in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, such that processes, methods, articles, or systems that comprise a list of elements do not include only those elements recited, but also other elements that are not expressly listed or inherent to such processes, methods, articles, or systems. Without further limitation, an element preceded by "comprises a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or system that includes the element.

[0158] The above-mentioned sequence numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0159] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the various embodiments of the present application.

[0160] The above merely provides the preferred embodiments of the present application, and is not intended to limit the patent scope of the present application. Any equivalent structure or equivalent flowchart transformation based on the content of the present application specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for optimizing page response performance, characterized in that, The page response performance optimization method includes the following steps: Obtain user page access data; Based on the page access data, determine the location area of ​​important elements in the page to be accessed, and extract the set of important page elements in the location area of ​​important elements; Obtain pixel change information corresponding to the set of important elements on the page, and calculate the page response latency based on the pixel change information; Based on the page response latency and the access conditions corresponding to the page access data, a page optimization plan is formulated. The step of calculating the page response latency of the page to be accessed based on the pixel change information includes: Based on the pixel change information, extract a set of starting frame images that meet the preset conditions; Based on a preset image recognition algorithm, the set of end frame images is identified in different accessed pages; Based on the set of starting frame images and the set of ending frame images, the timing difference between the starting frame and the ending frame of different pages is calculated to obtain the page response latency of the page to be accessed. The pixel change information includes a set of video frame images; the step of extracting a set of starting frame images that meet preset conditions based on the pixel change information includes: The starting frames of different accessed pages in the video frame image set are extracted using a region pixel comparison method. Each of the aforementioned starting frames is compared with the preset conditions to obtain a set of starting frame images.

2. The page response performance optimization method as described in claim 1, characterized in that, The page access data includes the page access path and the page usage type; The step of determining the location region of important elements in the page to be accessed based on the page access data includes: Analyze the page access path and page usage type to determine the usage scenario information of the user requesting to access the page; Based on the aforementioned usage scenario information, the page to be accessed is divided to obtain the location regions of important elements on the page to be accessed.

3. The page response performance optimization method as described in claim 2, characterized in that, The page access data includes terminal device information and network conditions. The step of extracting the set of important page elements in the important element location region includes: Extract page elements from the important element location area; Calculate the positional influence weight of each page element based on the terminal device information and network conditions. The set of important page elements is determined based on the positional influence weight of each page element.

4. The page response performance optimization method as described in claim 1, characterized in that, The steps for formulating a page optimization plan based on the page response latency and the access conditions corresponding to the page access data include: The page response latency is compared with a preset threshold range to obtain the comparison result; If the comparison result shows that the page response latency is not within the preset threshold range, then the important page elements under the access conditions in the set of important page elements are compressed.

5. A page response performance optimization device, characterized in that, The page response performance optimization device includes: The acquisition module is used to acquire user page access data; The determination module is used to determine the location area of ​​important elements in the page to be accessed based on the page access data, and extract the set of important page elements in the location area of ​​important elements; The calculation module is used to obtain pixel change information corresponding to the set of important elements of the page, and to calculate the page response latency based on the pixel change information; The formulation module is used to formulate a page optimization plan based on the page response latency and the access conditions corresponding to the page access data. The page response performance optimization device is used to achieve: Based on the pixel change information, extract a set of starting frame images that meet the preset conditions; Based on a preset image recognition algorithm, the set of end frame images is identified in different accessed pages; Based on the set of starting frame images and the set of ending frame images, the timing difference between the starting frame and the ending frame of different pages is calculated to obtain the page response latency of the page to be accessed. The page response performance optimization device is used to achieve: By using a region pixel comparison method, the starting frames of different accessed pages are extracted from the video frame image set; Each of the aforementioned starting frames is compared with the preset conditions to obtain a set of starting frame images.

6. A page response performance optimization device, characterized in that, The device includes: a memory, a processor, and a page response performance tuning program stored in the memory and executable on the processor, the page response performance tuning program being configured to implement the steps of the page response performance tuning method as described in any one of claims 1 to 4.

7. A computer storage medium, characterized in that, The computer storage medium stores a page response performance tuning program, which, when executed by the processor, implements the steps of the page response performance tuning method as described in any one of claims 1 to 4.

8. A computer program product, characterized in that, The computer program product includes a page response performance tuning program, which, when executed by a processor, implements the steps of the page response performance tuning method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for optimizing display network page on terminal

    CN101625700A

  • System and method for selecting a video encoding format based on feedback data

    CN102428703A