Page loading method and device, storage medium and server

By calculating the target performance score from the performance metrics of the receiving terminal device and dynamically adjusting the amount of data loaded per page, the problem of balancing business response efficiency and server load in existing technologies is solved, achieving efficient resource utilization and improved user experience.

CN115167946BActive Publication Date: 2026-07-21GUANGZHOU PINWEI SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU PINWEI SOFTWARE CO LTD
Filing Date
2022-07-27
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing technologies struggle to balance high business response efficiency with low server response pressure, especially when terminal device performance and network environment are inconsistent, leading to a decline in user experience and an increase in server load.

Method used

By receiving the performance index values ​​of the terminal device, the target performance score is calculated, and the target amount of data to be loaded is determined based on the score. The amount of paginated data returned is dynamically adjusted to match the performance status of the terminal device and reduce the request frequency and loading times.

Benefits of technology

It improved the service response efficiency of terminal devices, reduced the response pressure on servers, enhanced the user experience, and achieved efficient utilization of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167946B_ABST
    Figure CN115167946B_ABST
Patent Text Reader

Abstract

The application provides a page loading method and device, a storage medium and a server. The method comprises the following steps: receiving a page loading request sent by a terminal device, wherein the page loading request comprises a performance index value of the terminal device; determining a target performance score of the terminal device according to the performance index value, and determining a target loading data volume based on the target performance score; the target performance score is used for reflecting the performance of the terminal device, and the performance of the terminal device is positively correlated with the target loading data volume; returning page data with a data size of the target loading data volume to the terminal device, so that the terminal device generates a display page based on the received page data. The scheme of the application can balance the high service response efficiency and the low server response pressure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a paging loading method, apparatus, storage medium, and server. Background Technology

[0002] In current software applications, pagination is common in data-driven businesses, such as e-commerce platforms, news websites, and information platforms. Existing technologies typically require developers to determine a fixed amount of data to load or a fixed page scroll height when performing pagination. For different terminal devices and even different situations on the same terminal device, existing technologies generally request and display the next page of data from the server according to this fixed value of data loading or page scroll height.

[0003] However, when loading data in a paginated manner, the terminal device requires a certain amount of time for data requesting, data processing, page rendering, and page drawing. If the terminal device is in a poor network environment, has low-performance CPU (Central Processing Unit) and GPU (Graphics Processing Unit), and / or has high resource utilization, loading data based on a fixed amount will result in long loading times, reducing the response efficiency of specific services and consequently impacting the user experience.

[0004] Even when the terminal device is in a superior network environment with high-performance CPU and GPU, and / or its resource utilization is low, loading data with a fixed amount of data does not fully utilize the terminal device's resource advantages. Compared to terminal devices with poor resource advantages, with the same total amount of data to load, terminal devices with good resource advantages still need to complete the loading process with the same number of requests and loads, increasing the server's task response pressure.

[0005] This shows that existing technologies struggle to balance high business response efficiency with low server response pressure. Summary of the Invention

[0006] The purpose of this application is to at least solve one of the aforementioned technical defects, particularly the technical defect in the prior art that makes it difficult to balance high business response efficiency with low server response pressure.

[0007] In a first aspect, embodiments of this application provide a pagination loading method, the method comprising:

[0008] Receive a pagination loading request sent by a terminal device, wherein the pagination loading request includes the performance index value of the terminal device;

[0009] The target performance score of the terminal device is determined based on the performance index value, and the target data loading volume is determined based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading volume;

[0010] The terminal device is returned pagination data with a data size equal to the target loaded data size, so that the terminal device can generate a display page based on the received pagination data.

[0011] In one embodiment, the pagination loading request includes performance index values ​​of the terminal device at multiple performance monitoring times;

[0012] The step of determining the target performance score of the terminal device based on the performance index value includes:

[0013] For each performance monitoring moment, the initial performance score corresponding to that performance monitoring moment is calculated based on the performance index value of the terminal device at that performance monitoring moment.

[0014] The initial performance scores are weighted and averaged to obtain the target performance score of the terminal device.

[0015] In one embodiment, the performance index value at each performance monitoring moment includes at least one network performance index value and at least one device performance index value of the terminal device at that performance monitoring moment.

[0016] The step of calculating the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment includes:

[0017] For each performance monitoring moment, obtain the network index weight corresponding to each network performance index value and the device index weight corresponding to each device performance index value, and calculate the initial performance score corresponding to the performance monitoring moment based on each network index weight, each device index weight, each network performance index value of the terminal device at the performance monitoring moment and each device performance index value of the terminal device at the performance monitoring moment.

[0018] In one embodiment, the network performance metric is the network uplink rate or the network downlink rate, and the device performance metric is the CPU utilization, GPU utilization, memory utilization, device temperature, or device power consumption rate.

[0019] In one embodiment, the step of determining the target amount of data to be loaded based on the target performance score includes:

[0020] The target amount of loaded data is calculated using the following formula:

[0021] N = p × S × (TS)

[0022] Where N is the target amount of loaded data, p is the first constant, S is the target performance score, and T is the second constant.

[0023] In one embodiment, the step of determining the target amount of data to be loaded based on the target performance score includes:

[0024] The target data loading amount corresponding to the target performance score is determined from the pre-stored mapping relationship between performance scores and data loading amount; wherein, in the mapping relationship, the performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading amount.

[0025] Secondly, embodiments of this application provide a paging loading apparatus, the apparatus comprising:

[0026] A request receiving module is used to receive a pagination loading request sent by a terminal device, wherein the pagination loading request includes the performance index value of the terminal device;

[0027] The data volume determination module is used to determine the target performance score of the terminal device based on the performance index value, and to determine the target data volume based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data volume.

[0028] The data return module is used to return paginated data with a data size equal to the target loaded data volume to the terminal device, so that the terminal device can generate a display page based on the received paginated data.

[0029] In one embodiment, the pagination loading request includes performance index values ​​of the terminal device at multiple performance monitoring times, and the data volume determination module includes:

[0030] An initial performance score calculation unit is used to calculate the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment.

[0031] The target performance score calculation unit is used to perform a weighted average of the initial performance scores to obtain the target performance score of the terminal device.

[0032] Thirdly, embodiments of this application provide a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the paging loading method as described in any of the above embodiments.

[0033] Fourthly, embodiments of this application provide a server, which includes: one or more processors, and a memory;

[0034] The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the paging loading method described in any of the above embodiments.

[0035] In the paging loading method, apparatus, storage medium, and server of this application embodiment, the server can receive a paging loading request sent by a terminal device and extract the performance index value of the terminal device from the paging loading request. Based on the performance index value, a target performance score for the terminal device is determined, which accurately reflects the performance of the terminal device. After obtaining the target performance score, the server can determine the target amount of data to be loaded based on the target performance score and return paging data of the target amount of data to the terminal device, enabling the terminal device to generate a display page based on the paging data. The better the performance of the terminal device, the larger the target amount of data to be loaded. Therefore, the amount of data loaded by the terminal device can be adjusted according to its performance index. Different terminal devices can correspond to different amounts of data to be loaded, and the same terminal device in different performance states can also correspond to different amounts of data to be loaded. The better the performance state of the terminal device, the larger the amount of paging data returned by the server in the response process of a single paging loading request. In this way, the resource advantages of the terminal device can be fully utilized in a single paging loading process, enabling it to load more paging data, thereby reducing the request frequency and loading times, and thus reducing the response pressure on the server. The worse the performance of the terminal device, the less pagination data the server returns in the response process of a single pagination load request, thereby reducing the loading time of the terminal device and improving the response efficiency of specific business operations. Therefore, this application can balance high business response efficiency with low server response pressure and improve user experience. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1This is a diagram illustrating the application environment of the pagination loading method in one embodiment;

[0038] Figure 2 This is one of the flowcharts illustrating a pagination loading method in one embodiment;

[0039] Figure 3 This is a flowchart illustrating the process of determining a target performance score in one embodiment;

[0040] Figure 4 This is a second flowchart illustrating the pagination loading method in one embodiment;

[0041] Figure 5 This is a structural block diagram of a paging loading device in one embodiment;

[0042] Figure 6 This is a schematic diagram of the server structure in one embodiment. Detailed Implementation

[0043] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0044] The pagination loading method provided in this application is applied to Figure 1 The application environment shown. For example... Figure 1 As shown, the application environment may include terminal device 102 and server 104. Terminal device 102 may be, but is not limited to, personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. Portable wearable devices may be, but are not limited to, smartwatches, smart bracelets, and head-mounted devices. Server 104 may be implemented using a standalone server or a server cluster consisting of multiple servers.

[0045] In this embodiment, terminal device 102 can load and display the content of the corresponding page in pages. Specifically, when terminal device 102 needs to load the content of the next page, terminal device 102 can send a page loading request to server 104. Upon receiving the page loading request, server 104 returns corresponding data to terminal device 102, so that terminal device 102 can generate and render the next page based on the data returned by server 104, and then display the content of the next page.

[0046] In one embodiment, this application provides a pagination loading method, which is applied to... Figure 1 Let's take the server in the example of this. Figure 2 As shown, the method specifically includes the following steps:

[0047] S200, receive a pagination loading request sent by a terminal device, the pagination loading request including the performance index value of the terminal device.

[0048] Specifically, when data corresponding to the next display page needs to be loaded, the terminal device can obtain the data from the server through an interface request or front-end data addition, and then draw and render the data accordingly to generate the next display page. When requesting data, the terminal device can generate a pagination loading request based on its performance index value, so that the pagination loading request can include the performance index value. In one embodiment, the terminal device can periodically monitor its own performance index value, and select the performance index value monitored at the corresponding time as the target performance index value based on the generation time or expected sending time of the pagination loading request, and generate the pagination loading request based on the target performance index value.

[0049] After receiving a pagination load request from a terminal device, the server can extract the terminal device's performance metrics from the request and determine the size of the returned data during the response process based on these metrics. It's understandable that for pagination load requests received at different times from the same terminal device, if the performance metrics included in each request are different, the size of the returned data for each request will also differ.

[0050] S300, determine the target performance score of the terminal device based on the performance index value, and determine the target data loading amount based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading amount.

[0051] The target performance score can be a score used to reflect the performance level of the terminal device. The specific scoring rules can be determined according to actual factors such as the number of performance indicators involved in the scoring and / or the types of performance indicators involved in the scoring. This application does not impose specific restrictions on this.

[0052] It is understandable that the correlation between the target performance score and the performance of the terminal device can be determined according to specific scoring rules. For example, the target performance score and the performance of the terminal device can be positively correlated, meaning that the higher the target performance score, the better the performance of the terminal device; or, the target performance score and the performance of the terminal device can be negatively correlated, meaning that the higher the target performance score, the worse the performance of the terminal device; or, the target performance score and the performance of the terminal device can follow an approximately normal distribution, that is, when the target performance score is less than a score threshold, the target performance score and the performance of the terminal device are positively correlated, and when the target performance score is greater than a score threshold, the target performance score and the performance of the terminal device are negatively correlated.

[0053] After obtaining the target performance score of the terminal device, the server can determine the target data loading amount based on this score. The better the terminal device's performance, the larger the target data loading amount; conversely, the worse the terminal device's performance, the smaller the target data loading amount. It can be understood that the server can use any method to determine the target data loading amount. For example, the server can substitute the target performance score into a preset calculation formula to calculate the corresponding target data loading amount in real time; or the server can pre-store the mapping relationship between performance scores and data loading amounts, and the server can query this mapping relationship based on the target performance score to obtain the data loading amount corresponding to the target performance score, i.e., the target data loading amount.

[0054] In one embodiment, the target data loading volume can be the maximum amount of data that ensures the terminal device can complete data request, data loading, page rendering, and page drawing within a unit loading time. This unit loading time can be customized according to business needs, allowing users to obtain the best experience during pagination loading. This ensures differentiated loading capabilities are provided within the optimal user experience time. For devices with excellent resource metrics, resources can be fully utilized; for terminal devices with poor resource metrics, resource consumption is reduced. This improves user experience, increases the efficiency of specific business access, and reduces server load.

[0055] S400, return pagination data with a data size equal to the target loaded data amount to the terminal device, so that the terminal device can generate a display page based on the received pagination data.

[0056] After determining the target data load volume, the server can return paginated data to the terminal device based on this target data load volume. The size of this paginated data is the target data load volume. After receiving the paginated data, the terminal device can perform data processing (such as two-way data binding, logical processing, etc.), page drawing, and page rendering to generate and display the display page.

[0057] In this embodiment, the server can receive a pagination loading request sent by a terminal device and extract the terminal device's performance index value from the request. Based on this performance index value, the server determines a target performance score for the terminal device, which accurately reflects its performance. After obtaining the target performance score, the server determines the target data loading amount and returns pagination data of the target data loading amount to the terminal device, allowing the terminal device to generate a display page based on this pagination data. The better the terminal device's performance, the larger the target data loading amount. Therefore, the server can adjust the data loading amount based on the terminal device's performance index. Different terminal devices can correspond to different data loading amounts, and the same terminal device in different performance states can also correspond to different data loading amounts. The better the terminal device's performance, the larger the pagination data returned by the server in a single pagination loading request response. This allows the server to fully utilize the terminal device's resource advantages during a single pagination loading process, enabling it to load more pagination data, reducing request frequency and loading times, and thus reducing the server's response pressure. The worse the performance of the terminal device, the less pagination data the server returns in the response process of a single pagination load request, thereby reducing the loading time of the terminal device and improving the response efficiency of specific business operations. Therefore, this application can balance high business response efficiency with low server response pressure and improve user experience.

[0058] In one embodiment, the pagination loading request includes the performance index values ​​of the terminal device at multiple performance monitoring times. For example, the pagination loading request may include the performance index value of the terminal device at time T1 and the performance index value at time T2.

[0059] In one embodiment, considering that terminal devices generally do not refresh pages frequently, and that there is a time interval between two consecutive pagination load requests, and also considering the real-time nature of terminal device performance, to enable the server to accurately know the terminal device's performance within this time interval and achieve dynamic loading, the current pagination load request may include the performance index values ​​monitored by the terminal device at each performance monitoring moment within the latest performance monitoring period. The start time of this latest performance monitoring period can be determined based on the sending time and / or generation time of the previous pagination load request, and the end time of this latest performance monitoring period can be determined based on the sending time and / or generation time of the current pagination load request. For example, if the terminal device sends a pagination load request for the Nth time at time T0 and sends a pagination load request for the (N+1)th time at time T3, then the (N+1)th pagination load request may include the performance index values ​​of the terminal device at time T1, at time T2, and at time T3.

[0060] like Figure 3 As shown, the step of determining the target performance score of the terminal device based on the performance index value includes:

[0061] S310, for each performance monitoring moment, calculate the initial performance score corresponding to that performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment;

[0062] S320, the initial performance scores are weighted and averaged to obtain the target performance score of the terminal device.

[0063] Specifically, if the pagination loading request includes the performance index values ​​of the terminal device at multiple different performance monitoring times, the server can calculate the initial performance score of the terminal device at each performance monitoring time. This initial performance score can reflect the performance of the terminal device at that performance monitoring time.

[0064] After obtaining the initial performance score corresponding to each performance monitoring moment, the server can perform a weighted average of the initial performance scores for each performance monitoring moment to obtain the target performance score. It is understood that when calculating the target performance score, the weights corresponding to any two performance monitoring moments can be the same or different; this application does not impose specific restrictions on this. In one embodiment, the weights corresponding to each performance monitoring moment can be the same; in other words, the server can calculate the average of the initial performance scores and use this as the target performance score for the terminal device. In one embodiment, the later the performance monitoring moment, the greater its corresponding weight; that is, for any two different performance monitoring moments, the weight corresponding to the later performance monitoring moment is greater than the weight corresponding to the earlier performance monitoring moment.

[0065] In this embodiment, the pagination loading request includes performance index values ​​of the terminal device at multiple performance monitoring times. The server can calculate the initial performance score of the terminal device at each performance monitoring time, and perform a weighted average of the initial performance scores to obtain the target performance score of the terminal device. Then, the target data loading volume is determined based on the target performance score. In this way, the target data loading volume can be more matched with the current performance of the terminal device, thereby further balancing high business response efficiency with low server response pressure and improving user experience.

[0066] In one embodiment, the performance metric value at each performance monitoring moment includes at least one network performance metric value and at least one device performance metric value of the terminal device at that performance monitoring moment. In other words, at each performance monitoring moment, the terminal device can monitor at least one network performance metric and at least one device performance metric to obtain the network performance metric value and device performance metric value at that performance monitoring moment. The network performance metric value refers to a metric value that reflects the network performance of the terminal device, and may be, but is not limited to, network uplink speed or network downlink speed. The device performance metric value can be a metric value that reflects the performance of various components within the terminal device, and may be, but is not limited to, CPU utilization, GPU utilization, memory utilization (such as RAM utilization), device temperature (terminal device temperature or battery temperature), or device power consumption rate (such as the power consumption of the terminal device per unit time).

[0067] The step of calculating the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment includes: for each performance monitoring moment, obtaining the network index weight corresponding to each network performance index value and the device index weight corresponding to each device performance index value, and calculating the initial performance score corresponding to that performance monitoring moment based on each network index weight, each device index weight, each network performance index value of the terminal device at that performance monitoring moment, and each device performance index value of the terminal device at that performance monitoring moment.

[0068] Specifically, when calculating the initial performance score for each performance monitoring moment, the server can perform a weighted sum of the values ​​of each indicator based on their respective weights to obtain the initial performance score for that monitoring moment. In one embodiment, the performance indicator values ​​at each performance monitoring moment may include network uplink speed, network downlink speed, CPU utilization, GPU utilization, and RAM utilization. The performance scoring rules in the server can use the network uplink speed, network downlink speed, CPU utilization, GPU utilization, and RAM utilization of the terminal device as scoring dimensions, and assign different weights to each indicator. In one embodiment, the specific values ​​of the weights of each network indicator and each device indicator can be preset.

[0069] In this embodiment, the performance score of the terminal device is determined by combining its network performance score and device performance score, thus making the performance score more accurately reflect the performance of the terminal device. The server determines the target data loading volume based on the more accurate performance score, which can further balance high service response efficiency with low server response pressure and improve user experience.

[0070] In one embodiment, the server can calculate the target amount of data to be loaded using the following formula:

[0071] N = p × S × (TS)

[0072] Wherein, N is the target amount of loaded data, p is the first constant, S is the target performance score, and T is the second constant. The specific values ​​of p and T can be determined according to the actual situation, and this application does not impose specific restrictions on them.

[0073] In some scoring rules, the target performance score increases with the performance metric value. However, in some cases, the performance of the terminal device does not necessarily improve with the increase of the performance metric value. In such cases, the performance of the terminal device and the performance metric value may exhibit a correspondence that approximates a normal distribution. To accurately determine the corresponding target data loading volume based on the target performance score, this application embodiment can use the above formula to calculate the target data loading volume, thereby further balancing high business response efficiency with low server response pressure and improving user experience.

[0074] In one embodiment, the step of determining the target data loading amount based on the target performance score includes: determining the target data loading amount corresponding to the target performance score from a pre-stored mapping relationship between performance scores and data loading amounts; wherein, in the mapping relationship, the performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading amount.

[0075] Specifically, this application can pre-establish a mapping relationship between performance scores and the amount of data loaded, and store this mapping relationship in the server so that the server can subsequently obtain the target amount of data loaded by querying this mapping relationship. In this way, the target amount of data loaded can be quickly determined, thereby improving the server's response efficiency.

[0076] To facilitate understanding of the solution presented in this application, a specific example is provided below. For example... Figure 4 As shown, this pagination loading method can specifically include the following steps:

[0077] S502, the terminal device periodically acquires the performance index values ​​of this device. Specifically, when a user accesses a specific data stream service on the terminal device, the terminal device can periodically collect performance indexes at various performance monitoring points in real time.

[0078] S504, when it is necessary to send the current page load request (e.g., the data on the current page has been scrolled to a specified position), the terminal device generates the current page load request based on the performance index values ​​collected at n performance monitoring times in the latest performance monitoring period, and sends the current page load request to the server; wherein, the start time of the latest performance monitoring period is the generation time of the previous page load request, and the end time is the generation time of the current page load request.

[0079] S506: When the server receives a pagination load request, it extracts the performance index values ​​of the terminal device at n performance monitoring times from the pagination load request.

[0080] S508: The server obtains the weights corresponding to each performance metric value, and the weights corresponding to each performance metric value can be preset.

[0081] S510, for each performance monitoring moment, the server calculates the initial performance score corresponding to that performance monitoring moment based on the weights corresponding to each performance indicator value and the performance indicator values ​​at that moment. This calculation method can be as described in the above embodiments, and will not be repeated here.

[0082] S512 calculates the average of the initial performance scores at each performance monitoring time point to obtain the target performance score.

[0083] S514, the server determines the target amount of data to be loaded based on the target performance score. The method for determining the target amount of data to be loaded can be as described in the above embodiments, and will not be repeated here.

[0084] S516, the server returns paginated data to the terminal device with a data size equal to the target amount of data to be loaded.

[0085] S518: The terminal device receives pagination data returned by the server and generates a display page based on the received pagination data to achieve dynamic pagination loading that is "personalized for each user".

[0086] The paging loading apparatus provided in the embodiments of this application is described below. The paging loading apparatus described below can be referred to in correspondence with the paging loading method described above.

[0087] In one embodiment, this application provides a paging loading device 600. For example... Figure 5 As shown, the device 600 specifically includes a request receiving module 610, a data volume determination module 620, and a data return module 630. Wherein:

[0088] The request receiving module 610 is used to receive a pagination loading request sent by the terminal device, the pagination loading request including the performance index value of the terminal device;

[0089] The data volume determination module 620 is used to determine the target performance score of the terminal device based on the performance index value, and to determine the target data volume based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data volume.

[0090] The data return module 630 is used to return paginated data with a data size equal to the target loaded data amount to the terminal device, so that the terminal device can generate a display page based on the received paginated data.

[0091] In one embodiment, the pagination loading request includes performance index values ​​of the terminal device at multiple performance monitoring times. The data volume determination module 620 includes an initial performance score calculation unit and a target performance score calculation unit, wherein:

[0092] The initial performance score calculation unit is used to calculate the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment.

[0093] The target performance score calculation unit is used to perform a weighted average of the initial performance scores to obtain the target performance score of the terminal device.

[0094] In one embodiment, the performance index value at each performance monitoring moment includes at least one network performance index value and at least one device performance index value of the terminal device at that performance monitoring moment.

[0095] The initial performance score calculation unit is configured to, for each performance monitoring time, obtain the network index weight corresponding to each network performance index value and the device index weight corresponding to each device performance index value, and calculate the initial performance score corresponding to the performance monitoring time based on each network index weight, each device index weight, each network performance index value of the terminal device at the performance monitoring time, and each device performance index value of the terminal device at the performance monitoring time.

[0096] In one embodiment, the network performance metric is the network uplink rate or the network downlink rate, and the device performance metric is the CPU utilization, GPU utilization, memory utilization, device temperature, or device power consumption rate.

[0097] In one embodiment, the data volume determination module 620 includes a data volume calculation unit, which calculates the target loaded data volume according to the following formula:

[0098] N = p × S × (TS)

[0099] Where N is the target amount of loaded data, p is the first constant, S is the target performance score, and T is the second constant.

[0100] In one embodiment, the data volume determination module 620 includes a data volume acquisition unit, which is used to determine the target loaded data volume corresponding to the target performance score from a pre-stored mapping relationship between performance scores and loaded data volumes; wherein, in the mapping relationship, the performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target loaded data volume.

[0101] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the paging loading method as described in any of the above embodiments.

[0102] In one embodiment, this application also provides a server. The server stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the paging loading method as described in any of the above embodiments.

[0103] Indicatively, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the internal structure of a server provided in an embodiment of this application. (Refer to...) Figure 6 Server 900 includes processing component 902, which further includes one or more processors, and memory resources represented by memory 901 for storing instructions, such as applications, that can be executed by processing component 902. The applications stored in memory 901 may include one or more modules, each corresponding to a set of instructions. Furthermore, processing component 902 is configured to execute instructions to perform the steps of the paging loading method described in any of the above embodiments.

[0104] Server 900 may also include a power supply component 903 configured to perform power management of server 900, a wired or wireless network interface 904 configured to connect server 900 to a network, and an input / output (I / O) interface 905. Server 900 may operate on an operating system stored in memory 901, such as Windows Server™, MacOS X™, Unix™, Linux™, Free BSD™, or similar.

[0105] Those skilled in the art will understand that the internal structure of the server shown in this application is merely a block diagram of a portion of the structure related to the solution of this application, and does not constitute a limitation on the server to which the solution of this application is applied. A specific server may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0106] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. In this document, "a," "an," "the," "the," and "its" may also include plural forms unless the context clearly indicates otherwise. "Multiple" refers to at least two, such as 2, 3, 5, or 8, etc. "And / or" includes any and all combinations of the related listed items.

[0107] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.

[0108] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A paginated loading method, characterized in that, The method includes: Receive a pagination loading request sent by a terminal device, wherein the pagination loading request includes the performance index value of the terminal device; The target performance score of the terminal device is determined based on the performance index value, and the target data loading volume is determined based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading volume; The terminal device is returned paginated data with a data size equal to the target loaded data size, so that the terminal device can generate a display page based on the received paginated data; The pagination loading request includes the performance index values ​​of the terminal device at multiple performance monitoring times; The step of determining the target performance score of the terminal device based on the performance index value includes: For each performance monitoring moment, the initial performance score corresponding to that performance monitoring moment is calculated based on the performance index value of the terminal device at that performance monitoring moment. The initial performance scores are weighted and averaged to obtain the target performance score of the terminal device. The performance index values ​​at each performance monitoring time include at least one network performance index value and at least one device performance index value of the terminal device at that performance monitoring time. The step of calculating the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment includes: For each performance monitoring moment, obtain the network index weight corresponding to each network performance index value and the device index weight corresponding to each device performance index value, and perform a weighted sum based on each network index weight, each device index weight, each network performance index value of the terminal device at the performance monitoring moment and each device performance index value of the terminal device at the performance monitoring moment to obtain the initial performance score corresponding to the performance monitoring moment.

2. The pagination loading method according to claim 1, characterized in that, The network performance metrics are network uplink speed or network downlink speed, and the device performance metrics are CPU utilization, GPU utilization, memory utilization, device temperature, or device power consumption rate.

3. The pagination loading method according to any one of claims 1 to 2, characterized in that, The step of determining the target amount of data to be loaded based on the target performance score includes: The target amount of loaded data is calculated using the following formula: N = p × S × (TS) Where N is the target amount of loaded data, p is the first constant, S is the target performance score, and T is the second constant.

4. The pagination loading method according to any one of claims 1 to 2, characterized in that, The step of determining the target amount of data to be loaded based on the target performance score includes: The target data loading amount corresponding to the target performance score is determined from the pre-stored mapping relationship between performance scores and data loading amount; wherein, in the mapping relationship, the performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data loading amount.

5. A paging loading device, characterized in that, The device includes: A request receiving module is used to receive a pagination loading request sent by a terminal device, wherein the pagination loading request includes the performance index value of the terminal device; The data volume determination module is used to determine the target performance score of the terminal device based on the performance index value, and to determine the target data volume based on the target performance score; the target performance score is used to reflect the performance of the terminal device, and the performance of the terminal device is positively correlated with the target data volume. The data return module is used to return paginated data with a data size equal to the target loaded data volume to the terminal device, so that the terminal device can generate a display page based on the received paginated data; The pagination loading request includes performance index values ​​of the terminal device at multiple performance monitoring times, and the data volume determination module includes: An initial performance score calculation unit is used to calculate the initial performance score corresponding to each performance monitoring moment based on the performance index value of the terminal device at that performance monitoring moment. The target performance score calculation unit is used to perform a weighted average of the initial performance scores to obtain the target performance score of the terminal device. The performance index values ​​at each performance monitoring time include at least one network performance index value and at least one device performance index value of the terminal device at that performance monitoring time. The initial performance score calculation unit is specifically used to obtain, for each performance monitoring time, the network index weight corresponding to each network performance index value and the device index weight corresponding to each device performance index value, and to perform a weighted summation based on each network index weight, each device index weight, each network performance index value of the terminal device at the performance monitoring time, and each device performance index value of the terminal device at the performance monitoring time to obtain the initial performance score corresponding to the performance monitoring time.

6. A storage medium, characterized in that, The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the paging loading method as described in any one of claims 1 to 4.

7. A server, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the paging loading method as described in any one of claims 1 to 4.