Paging loading method and device, electronic equipment and storage medium

By displaying prompt information when the client determines that the page data is empty, the interface abnormality caused by the server returning empty data during paging loading is solved, and the user's interactive experience is improved.

CN120276798APending Publication Date: 2025-07-08GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510298036.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the paging loading scenario, when the page data returned by the server is empty, the client user interface display abnormally, and the next page cannot be loaded, which has a poor user experience.

Method used

The client determines whether the page data is empty and displays prompt information on the display interface, prompting the user how to load the next page operation, including displaying prompt buttons or preset gesture operations, enhancing the user's sense of control and interactive experience.

Benefits of technology

Avoid interface abnormalities caused by the server returning empty data, ensure that the user knows how to load the next page, and improves the user's perceptual experience and interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276798A_ABST
    Figure CN120276798A_ABST
Patent Text Reader

Abstract

The invention provides a paging loading method and device, electronic equipment and a storage medium, the method is applied to the technical field of page loading, and the method comprises the following steps: in response to a loading operation on a target page, sending a loading request of the target page to a server; if the page data of the target page issued by the server is received, judging whether the page data of the target page is empty or not; under the condition that the page data of the target page is empty, displaying prompt information corresponding to the target page on a display interface; wherein the prompt information is used for prompting a user to request a target operation of loading a next page of the target page; and if it is detected that the user executes the target operation, sending a loading request of a next page of the target page to the server to request to load page data of the next page. According to the method, interface abnormity caused by null data returned by the server can be avoided, it is ensured that a user knows how to load the next page, and the interaction experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of page loading, and more specifically, to a method, apparatus, electronic device, and storage medium for paged loading in the technical field of page loading. Background Art

[0002] Currently, in the scenario of paged loading, for the loading request of the client, there are sometimes cases where a certain page returned by the server is empty data, which may cause abnormalities in the display of the user interface (UI) of the client and may also cause problems such as the inability to load the next page. Therefore, how to avoid interface abnormalities caused by empty data returned by the server in the paged loading scenario has become a technical problem to be solved urgently. Summary of the Invention

[0003] This application provides a method, apparatus, electronic device, and storage medium for paged loading. This method can avoid interface abnormalities caused by empty data returned by the server, ensure that users know how to load the next page, and improve the interaction experience.

[0004] In a first aspect, a method for paged loading is provided. The method includes: in response to a loading operation on a target page, sending a loading request for the target page to the server; if receiving the page data of the target page sent by the server, determining whether the page data of the target page is empty; in the case where the page data of the target page is empty, displaying a prompt message corresponding to the target page on the display interface; where the prompt message is used to prompt the user of a target operation to request to load the next page of the target page; if detecting that the user has performed the target operation, sending a loading request for the next page of the target page to the server to request to load the page data of the next page.

[0005] In the above technical solution, in the paging loading scenario, after the client receives the page data of the target page sent by the server, it indicates that the server has successfully responded to the client's loading request and sent the data. First, the client will determine whether the page data of the target page is empty. If it is empty, corresponding prompt information will be displayed on the display interface to prompt the user to perform the target operation of requesting to load the next page of the target page, so that the user clearly knows how to operate to continue loading the next page, avoiding the bad experience brought to the user by not displaying any content on the display interface and improving the user's perception experience. If it is detected that the user has performed the target operation, it means that the user expects to continue loading under the prompt of the prompt information. At this time, the next page data of the target page is requested to be loaded, enabling the user to independently choose whether to continue loading the next page data, enhancing the user's sense of control and improving the interaction experience. In summary, the above technical solution provides a solution for the abnormal situation where the page data sent by the server is empty, can avoid the interface abnormality caused by the empty data returned by the server, ensure that the user knows how to load the next page, and improve the interaction experience.

[0006] In combination with the first aspect, in some possible implementation manners, the target page is a page in the content to be loaded; the displaying corresponding prompt information of the target page on the display interface includes: determining a first determination result by determining whether the target page is the last page of the content to be loaded; determining a second determination result by determining whether historical page data before the target page is displayed on the display interface; and displaying corresponding prompt information of the target page on the display interface according to the first determination result and the second determination result.

[0007] In combination with the first aspect and the above implementation manners, in some possible implementation manners, the displaying corresponding prompt information of the target page on the display interface according to the first determination result and the second determination result includes: when the first determination result indicates that the target page is not the last page of the content to be loaded, and the second determination result indicates that the historical page data before the target page is not displayed on the display interface, determining that the corresponding prompt information of the target page is the first prompt information; wherein the first prompt information includes a prompt button, and the first prompt information is used to prompt the user that the target operation is a triggering operation on the prompt button; and displaying the first prompt information on the display interface.

[0008] In the above technical solution, by determining whether the target page is the last page of the content to be loaded and whether the display interface shows historical page data, an intelligent prompt button display mechanism is implemented, improving the user experience. If the current target page is not the last page of the content to be loaded, it means there is still room to load the next page. At this time, displaying the prompt button allows the user to actively choose whether to continue loading the data of the next page. If the page data of the content to be loaded has not been displayed on the display interface yet, it means the display area of the content to be loaded is currently blank. This blank state may confuse or dissatisfy the user because the user cannot clearly know the reason for the lack of data at present (for example, whether it is because there is no more data or because there is a problem with the system). The user's perception ability of the blank area is relatively vague, which easily leads to misunderstandings or loss of patience. In this case, by displaying the prompt button, the user can clearly know that the client is still trying to obtain more data and can manually trigger the next loading operation by clicking the button. This not only enhances the user's sense of control but also reduces the user's confusion and anxiety.

[0009] Combined with the first aspect and the above implementation manner, in some possible implementation manners, the displaying the prompt information corresponding to the target page on the display interface according to the first judgment result and the second judgment result includes: when the first judgment result indicates that the target page is not the last page of the content to be loaded and the second judgment result indicates that the historical page data before the target page is displayed on the display interface, determining that the prompt information corresponding to the target page is the second prompt information; wherein, the second prompt information is used to prompt the user that the target operation is a preset gesture operation on the display interface; and displaying the second prompt information on the display interface.

[0010] In the above technical solution, when the first judgment result indicates that the target page is not the last page of the content to be loaded, it means there is still room to continue loading the content to be loaded. When the second judgment result indicates that the historical page data before the target page is displayed on the display interface, it means that the loaded content is displayed on the display interface at this time, and there is a data list corresponding to the loaded content. The user can perform a preset gesture operation based on the data list to continue loading the next page, which can not only avoid the interface anomaly caused by the empty data returned by the server but also conform to the user's operation habit.

[0011] Combined with the first aspect and the above implementation manner, in some possible implementation manners, the displaying the second prompt information on the display interface includes: displaying the second prompt information in the target area on the display interface; wherein, the area occupied by the historical page data in the target area is less than a preset area threshold.

[0012] In the above technical solution, the second prompt message is displayed in the target area on the display interface. Since the area occupied by the historical page data in the target area is smaller than the preset area threshold, it is beneficial to avoid the occlusion of the interface content by the display of the second prompt message as much as possible.

[0013] Combined with the first aspect and the above implementation manners, in some possible implementation manners, determining whether the target page is the last page of the content to be loaded includes: obtaining the number of single-page display contents on the display interface and the total number of contents of the content to be loaded; determining the total number of pages to be loaded according to the number of single-page display contents and the total number of contents; and determining whether the target page is the last page of the content to be loaded according to the page number of the target page and the total number of pages.

[0014] In the above technical solution, the relative position of the target page in the content to be loaded can be determined according to the number of single-page display contents and the total number of items of the content to be loaded, which is beneficial to accurately determine whether the target page is the last page of the content to be displayed.

[0015] Combined with the first aspect and the above implementation manners, the loading request carries a client identifier. After sending the loading request for the target page to the server, the method includes: receiving the page data of the filtered target page sent by the server; where the server filters the page data of the target page based on the filtering rule corresponding to the client identifier, and sends the page data of the filtered target page to the client; and if receiving the page data of the target page sent by the server, determining whether the page data of the target page is empty includes: if receiving the page data of the filtered target page sent by the server, determining whether the page data of the filtered target page is empty.

[0016] In a second aspect, a paging loading device is provided. The device includes: a sending module, configured to send a loading request for the target page to the server in response to a loading operation on the target page; a determining module, configured to determine whether the page data of the target page is empty if receiving the page data of the target page sent by the server; a display module, configured to display a prompt message corresponding to the target page on the display interface when the page data of the target page is empty; where the prompt message is used to prompt the user for a target operation of requesting to load the next page of the target page; and a request module, configured to send a loading request for the next page of the target page to the server to request to load the page data of the next page if detecting that the user has performed the target operation.

[0017] In combination with the second aspect, in some possible implementation manners, the target page is a page in the content to be loaded; the display module 903 includes: a first determination unit, configured to determine whether the target page is the last page of the content to be loaded, to obtain a first determination result; a first determination unit, configured to determine whether historical page data before the target page is displayed on the display interface, to obtain a second determination result; and a display unit, configured to display, on the display interface, prompt information corresponding to the target page according to the first determination result and the second determination result.

[0018] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the display unit is specifically configured to, when the first determination result indicates that the target page is not the last page of the content to be loaded, and the second determination result indicates that the historical page data before the target page is not displayed on the display interface, determine that the prompt information corresponding to the target page is first prompt information; wherein the first prompt information includes a prompt button, and the first prompt information is used to prompt the user that the target operation is a trigger operation on the prompt button; and display the first prompt information on the display interface.

[0019] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the display unit is specifically configured to, when the first determination result indicates that the target page is not the last page of the content to be loaded, and the second determination result indicates that the historical page data before the target page is displayed on the display interface, determine that the prompt information corresponding to the target page is second prompt information; wherein the second prompt information is used to prompt the user that the target operation is a preset gesture operation on the display interface; and display the second prompt information on the display interface.

[0020] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the display unit is specifically configured to display the second prompt information in a target area on the display interface; wherein an area occupied by the historical page data in the target area is less than a preset area threshold.

[0021] In combination with the second aspect and the above implementation manners, in some possible implementation manners, the first determination unit is specifically configured to obtain the number of single-page display contents on the display interface and the total number of contents of the content to be loaded; determine the total number of pages to be loaded according to the number of single-page display contents and the total number of contents; and determine whether the target page is the last page of the content to be loaded according to the page number of the target page and the total number of pages.

[0022] Combined with the second aspect and the above implementation manners, in some possible implementation manners, the loading request carries a client identifier; the paging loading device further includes: a receiving module, configured to receive the page data of the filtered target page sent by the server; wherein, the server filters the page data of the target page based on the filtering rule corresponding to the client identifier, and sends the page data of the filtered target page to the client; a judging module, specifically configured to, if receiving the page data of the filtered target page sent by the server, judge whether the page data of the filtered target page is empty.

[0023] In a third aspect, an electronic device is provided, including: a memory, configured to store executable program code; a processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method in the first aspect or any possible implementation manner of the first aspect described above.

[0024] In a fourth aspect, a computer program product is provided, including: computer program code, when the computer program code runs on a computer, enabling the computer to execute the method in the first aspect or any possible implementation manner of the first aspect described above.

[0025] In a fifth aspect, a computer-readable storage medium is provided, storing computer program code, when the computer program code runs on a computer, enabling the computer to execute the method in the first aspect or any possible implementation manner of the first aspect described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 FIG. is a schematic diagram of an application scenario of a paging loading method provided by an embodiment of the present application;

[0027] Figure 2 FIG. is a schematic flowchart of a paging loading method provided by an embodiment of the present application;

[0028] Figure 3 FIG. is a schematic diagram of a display interface of a client provided by an embodiment of the present application;

[0029] Figure 4 FIG. is a schematic diagram of another display interface of a client provided by an embodiment of the present application;

[0030] Figure 5 FIG. is a schematic diagram of an interface when the first n page data received by a client provided by an embodiment of the present application are all empty;

[0031] Figure 6 FIG. is a schematic diagram of an interface displaying a first prompt message provided by an embodiment of the present application;

[0032] Figure 7 It is a schematic diagram of an interface displaying second prompt information provided by an embodiment of the present application;

[0033] Figure 8 It is a schematic flowchart of another method for paging and loading provided by an embodiment of the present application;

[0034] Figure 9 It is a schematic structural diagram of a device for paging and loading provided by an embodiment of the present application;

[0035] Figure 10 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0036] Next, the technical solutions in the present application will be clearly and elaborately described with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" in the text is only a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.

[0037] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0038] In modern information systems, clients (such as multimedia hosts of automotive information entertainment systems, mobile phones, computers, etc.) usually need to obtain a large amount of data from the server and load this data step by step in a paging and loading manner. Paging and loading is a technology that presents all data in segments to users. Each time users see not all the data, but only a part of it. If they don't find the content they want, they can switch the visible content by flipping pages.

[0039] Currently, in the paging and loading scenario, for the loading requests of the client, sometimes the situation where a certain page returned by the server is empty data may occur. This will cause abnormalities in the display of the user interface (UI) of the client and may also lead to the problem of inability to load the next page.

[0040] Through research, this application found that the reason for the abnormality of UI display may be: when the page data sent by the server is empty, the display interface of the client may appear white screen, that is, there is no page data to display. In this case, the user will see a blank interface without any content or effective prompts, resulting in a poor user experience. Specifically, the data returned by the server is empty, which means that the client has not received any valid data to fill the current page. If the client does not properly process the empty data and directly renders the empty data to the page, it will result in a white screen interface. When facing the white screen interface, the user usually feels confused and does not know what to do next because there are no effective prompts or operation instructions on the interface. In the paging loading scenario, the operation of pulling up to load more data depends on the user's gesture operation on the data list (such as sliding the screen with a finger). If the page is blank, it means that there is no data list or other interactive controls displayed on the interface, and the user cannot trigger any gesture operation in the blank area, which also causes the user to be unable to trigger the loading of the next page by pulling up the loading action.

[0041] Therefore, how to avoid interface anomalies caused by empty data returned by the server in the paging loading scenario has become a technical problem that needs to be solved urgently.

[0042] Based on this, in order to at least solve the above technical problems, an embodiment of the present application provides a method for paging loading, which is applied to an electronic device, which is a client with a page display control function, such as a mobile phone, a computer, a multimedia host (HUT, Head Unit) on a vehicle, etc. The following is an example of the electronic device being a HUT on a vehicle.

[0043] Figure 1 It is a schematic diagram of an application scenario of a paging loading method provided in an embodiment of the present application.

[0044] For example, Figure 1 As shown, the application scenario includes: a central control screen 101 and a server 102 on a vehicle. The user performs a certain loading operation on the central control screen 101, such as clicking a button or menu item or sliding the screen upward, to trigger the loading of a specific target page. In response to the loading operation, the HUT sends a loading request for the target page to the server 102 to request the server 102 to send the page data of the target page. After receiving the page data of the target page, the HUT controls the central control screen 101 to display the page data of the target page. Among them, for the server, the HUT can be understood as the client corresponding to the server.

[0045] Figure 2 This is a schematic flow chart of a paging loading method provided in an embodiment of the present application.

[0046] For example,Figure 2 As shown in Figure 2 , the method for paged loading includes the following steps 201 to 205:

[0047] Step 201: In response to a loading operation on a target page, send a loading request for the target page to the server.

[0048] Step 202: If the page data of the target page is received from the server, determine whether the page data of the target page is empty.

[0049] Step 203: In the case where the page data of the target page is empty, display a prompt message corresponding to the target page on the display interface; wherein, the prompt message is used to prompt the user to perform a target operation of requesting to load the next page of the target page.

[0050] Step 204: If it is detected that the user has performed the target operation, send a loading request for the next page of the target page to the server to request to load the page data of the next page.

[0051] In Figure 2 In the shown embodiment, in the paged loading scenario, after the client receives the page data of the target page sent by the server, it indicates that the server has successfully responded to the client's loading request and sent the data. The client will first determine whether the page data of the target page is empty. If it is empty, a corresponding prompt message will be displayed on the display interface to prompt the user to perform a target operation of requesting to load the next page of the target page, so that the user can clearly know how to operate to continue loading the next page, avoiding a bad experience brought to the user by not displaying any content on the display interface and improving the user's perception experience. If it is detected that the user has performed the target operation, it means that the user expects to continue loading under the prompt of the prompt message. At this time, request to load the page data of the next page of the target page, enabling the user to independently choose whether to continue loading the next page of data, enhancing the user's sense of control and improving the interaction experience.

[0052] In summary, through the above steps 201 to 205, the client can effectively handle the situation of empty data returned by the server during the paged loading process, avoid interface anomalies caused by the empty data returned by the server, ensure that the user knows how to load the next page, and improve the interaction experience.

[0053] Next, Figure 2 describe the specific implementation methods of each step in the shown embodiment:

[0054] In step 201, the target page is the page currently requested by the client to be loaded among the pages of the content to be loaded. The content to be loaded refers to the specific information or data that the user expects to see on the display interface, and specifically can be: a data set that needs to be dynamically loaded and displayed to the user in the client's application. In a specific implementation, the content to be loaded can be news content, music content, video content, social content, commodity content, document content, etc.

[0055] The content to be loaded may include at least one page, and each page has its own page number. The target page is any one of the pages of the content to be loaded.

[0056] When the target page is the first page of the content to be loaded, the loading operation for the first page can be: the user's search operation for the content to be loaded, and this search operation can be the operation of the user entering a search term in the content search box on the display interface. Refer to Figure 3 , Figure 3 is a schematic diagram of the display interface of a client provided by an embodiment of the present application. In Figure 3 , if the client detects that the user enters a search term in the content search box 301 and clicks the search button 302, it determines that it has detected the user's search operation for the content to be loaded related to the search term, and takes this search operation of the user as the loading operation for the first page.

[0057] When the target page is a non-first page of the content to be loaded, the loading operation for the non-first page can be: the user's gesture operation on the display interface, and this gesture operation can be the operation of the user swiping up on the display interface. Refer to Figure 4 , Figure 4 is another schematic diagram of the display interface of a client provided by an embodiment of the present application. Refer to Figure 4 , if the client detects the user's upswipe operation 401 on the interface where the loaded content (schematically shown as loaded content 1 to 6 in the figure) is displayed, it determines that it has detected the user's loading operation for the non-first page.

[0058] When the client detects the user's loading operation for the target page of the content to be loaded, it generates a loading request and sends this loading request to the server to request the server to send down the page data of the target page. This loading request carries paging parameters, and the paging parameters include page number, number of items per page, etc. The data returned by the server may be empty (i.e., there is no eligible content), or it may contain actual content.

[0059] In some embodiments, the load request carries a client identifier. After the client sends a load request for a target page to the server, the server filters the page data of the target page based on the filtering rule corresponding to the client identifier, and sends the filtered page data of the target page to the client. Thus, the client receives the filtered page data of the target page sent by the server.

[0060] The client identifier is a unique identifier (Client ID) for each client, used to distinguish different clients. After detecting a load operation of the user on the target page of the content to be loaded, the client sends a load request for the target page to the server. After receiving the load request, the server parses the parameters in the load request and extracts the client identifier, paging parameters, etc. The server queries the corresponding filtering rule according to the client identifier. The filtering rule can be stored in a database or a configuration file, and is used to screen the content suitable for display on the client. After querying the filtering rule corresponding to the client identifier, the server filters the page data of the target page according to the filtering rule, obtains the filtered page data of the target page, and sends the filtered page data of the target page to the client. Thus, the client can receive the filtered page data of the target page sent by the server.

[0061] It can be understood that if all the page data of the target page are not suitable for display on the display interface of the client, then according to the filtering rule, all the page data of the target page may be filtered out, resulting in the filtered page data of the target page being empty, and further resulting in the page data of the target page received by the client being empty.

[0062] In step 202, if the client receives the page data of the target page sent by the server, it means that the load request sent by the client is successfully responded by the server. After receiving the page data of the target page returned by the server, the client first parses it, usually checking whether the data structure of the page data returned by the server conforms to the expected format (such as JSON format). The data structure in this JSON format includes a data array, and the client checks whether this data array is empty. If the data array is empty, the client determines that the page data of the target page sent by the server is empty. If the data array is not empty, the client determines that the page data of the target page sent by the server is not empty, and then the client normally renders the page content.

[0063] Based on the above description, the page data sent by the server is the filtered page data. Therefore, the above step 202 can be specifically: if the filtered page data of the target page sent by the server is received, then determine whether the filtered page data of the target page is empty.

[0064] In step 203, when it is determined on the client side that the page data of the target page is empty, it indicates that the server may have filtered out all the page data of the target page based on the filtering rules. At this time, to prevent the user from being at a loss, a prompt message corresponding to the target page is displayed on the display interface. This prompt message is used to prompt the user about the target operation required to request to load the next page of the target page, that is, this prompt message can prompt the user about the operation method for loading the next page. That is to say, if the user performs the target operation according to the prompt of the prompt message, it is possible to normally load the next page when the page data of the target page is empty.

[0065] Among them, the prompt message can include one or a combination of more of text prompts, icon prompts, button prompts, etc. Optionally, the prompt messages corresponding to different types of target pages can be different, that is, for different types of target pages, different prompt messages can be selected.

[0066] In a possible implementation manner, displaying a prompt message corresponding to the target page on the display interface includes the following S11 to S13:

[0067] S11: Determine whether the target page is the last page of the content to be loaded, and obtain a first determination result;

[0068] Among them, the position of the target page in the content to be loaded can indicate whether the target page is the last page of the content to be loaded. Exemplarily, in the data structure of the page data of the target page returned by the server, in addition to the above-mentioned data array, it can also include the page number of the target page and the total number of pages to be loaded. The client can compare the page number of the target page with the total number of pages to determine whether the target page is the last page of the content to be loaded. If the page number of the target page is equal to the total number of pages, the first determination result is: the target page is the last page of the content to be loaded. If the page number of the target page is less than the total number of pages, the first determination result is: the target page is not the last page of the content to be loaded.

[0069] In some embodiments, determining whether the target page is the last page of the content to be loaded includes: obtaining the number of single-page display contents on the display interface and the total number of contents of the content to be loaded; determining the total number of pages to be loaded according to the number of single-page display contents and the total number of contents; and determining whether the target page is the last page of the content to be loaded according to the page number of the target page and the above total number of pages.

[0070] The number of single-page display contents (page Size) refers to: the number of content items displayed on each page. The value of the number of single-page display contents is usually fixed and can be set in the client configuration. For example, as Figure 4 shown, the number of single-page display contents on the display interface is 6.

[0071] The total content count of the content to be loaded refers to: the total number of all entries of the content to be loaded, i.e., the total number of entries. The client can obtain the total content count of the content to be loaded from the server. Usually, when the client sends the first loading request, the server will return the total number of entries of the content to be loaded, or the client can request to obtain it through a separate API (Application Programming Interface).

[0072] The total number of pages to be loaded can be calculated by dividing the total content count of the content to be loaded by the number of contents displayed per page. Total Pages = total Content Count / page Size. In the specific implementation, if the division is not exact, the total number of pages to be loaded is obtained by rounding up total Content Count / page Size.

[0073] The page number of the target page is carried in the loading request and obtained by parsing the loading request. By comparing the page number of the target page with the total number of pages, the specific position of the target page in the content to be loaded can be determined. If the page number of the target page is equal to the total number of pages, it is determined that the target page is the last page of the content to be loaded. If the page number of the target page is less than the total number of pages, it is determined that the target page is not the last page of the content to be loaded.

[0074] In the above embodiments, determining the position of the target page in the content to be loaded according to the number of contents displayed per page and the total number of entries of the content to be loaded is beneficial to accurately judge whether the target page is the last page of the content to be displayed and prevent sending invalid loading requests when the target page is the last page.

[0075] S12: Determine whether there is historical page data before the target page displayed on the display interface to obtain a second judgment result;

[0076] Specifically, the display interface may include: a display area for the content to be loaded. It can be judged whether the display area of the content to be loaded is empty. If the display area of the content to be loaded is empty, the second judgment result is: there is no historical page data before the target page displayed on the display interface. If the display area of the content to be loaded is not empty, the second judgment result is: there is historical page data before the target page displayed on the display interface.

[0077] Assume that the page number of the target page is n (n ≥ 1). In this case, if there is historical page data before the target page displayed on the display interface, it means that there is non-empty page data in the first n pages of the content to be loaded received by the client. Therefore, there will be a situation where there is historical page data before the target page displayed on the display interface. SeeFigure 4 The loaded content 1 to 6 displayed on the display interface may be the page data of the (n - 1)-th page of the content to be loaded. At this time, the second judgment result is that historical page data before the target page is displayed on the display interface, and the historical page data includes the loaded content 1 to 6.

[0078] Assume that the page number of the target page is n (n ≥ 1). In this case, if the historical page data before the target page is not displayed on the display interface, it means that the first n pages of the content to be loaded received by the client are all empty, so there will be a situation where no page data of the content to be loaded (i.e., the historical page data before the target page) has been displayed on the display interface. Refer to Figure 5 , Figure 5 is a schematic diagram of an interface where the first n pages of data received by the client provided in the embodiment of the present application are all empty. Through Figure 5 it can be seen that if the first n pages of data are continuously empty, only a dynamic icon of "loading" is displayed in the display area 501 of the content to be loaded, and there is no loaded content similar to Figure 4 in the display area 501. At this time, the second judgment result is that historical page data before the target page is not displayed on the display interface. In a specific implementation, if the target page is the first page of the content to be loaded and the page data of the first page is empty, in essence, the second judgment result is also that historical page data before the target page is not displayed on the display interface.

[0079] S13: According to the first judgment result and the second judgment result, display prompt information corresponding to the target page on the display interface.

[0080] Among them, the first judgment result represents whether the target page is the last page of the content to be loaded, and the second judgment result represents whether historical page data before the target page is displayed on the display interface. The first judgment result and the second judgment result can determine the prompt information corresponding to the target page. Different first judgment results and second judgment results correspond to different prompt information. The following is an introduction respectively:

[0081] In a possible implementation manner, the implementation manner of the above S13 includes: when the first judgment result represents that the position of the target page in the content to be loaded is not the last page of the content to be loaded, and the second judgment result represents that historical page data before the target page is not displayed on the display interface, determine that the prompt information corresponding to the target page is the first prompt information; where the first prompt information includes a prompt button, and the first prompt information is used to prompt the user that the target operation is a trigger operation on the prompt button; display the first prompt information on the display interface.

[0082] When the first judgment result indicates that the target page is not the last page of the content to be loaded, it means that there is still room to continue loading the content to be loaded. When the second judgment result indicates that the historical page data before the target page is not displayed on the display interface, it means that the data of the first n pages (the target page is the nth page) of the content to be loaded sent by the server has always been empty. At this time, there is no loaded content displayed on the display interface. Considering that the operation of pulling up to load more data depends on the user's gesture operation on the data list (such as swiping the screen with a finger). If there is no loaded content displayed on the display interface, it means that there is no data list or other interactive controls displayed on the interface, and the user cannot trigger any gesture operations in the blank area, which also causes the user unable to trigger the loading of the next page through the pull-up loading action. Based on this, when the data of the first n pages has always been empty and the (n + 1)th page is not the last page of the content to be loaded, the prompt information corresponding to the target page is determined to be the first prompt information. The first prompt information includes a prompt button. The first prompt information is used to prompt the user that the target operation is the triggering operation of the prompt button. The prompt button provides an operation entry for the user to select whether to load the next page. The display position of the prompt button can be any position on the display interface that is convenient for the user to trigger. The triggering operation of the prompt button can be a click operation, a pressing operation, etc.

[0083] Figure 6 It is a schematic diagram of an interface showing the first prompt information provided by an embodiment of the present application. As Figure 6 shown, a prompt button 601 is displayed on the display interface. In a specific implementation, the first prompt information may further include Figure 6 the prompt text "Loading failed, please try again later" as shown, which is convenient for the user to understand the current loading status. By displaying the first prompt information on the interface where no loaded content is displayed, it can not only tell the user that the loading has failed, but also allow the user to continue loading the next page by clicking the prompt button.

[0084] It should be noted that Figure 6 the button name can also be displayed on the prompt button 601. The button name is used to prompt the user about the function of the prompt button 601. For example, the button name displayed on the prompt button 601 is: Click to load the next page. However, the present embodiment does not make specific limitations on the displayed button name.

[0085] In the above embodiments, by determining whether the target page is the last page of the content to be loaded and whether the display interface shows historical page data, an intelligent hint button display mechanism is implemented, improving the user experience. If the current target page is not the last page of the content to be loaded, it indicates that there is still room to continue loading the next page. At this time, displaying the hint button allows the user to actively choose whether to continue loading the data of the next page. If the page data of the content to be loaded has not been displayed on the display interface yet, it means that the display area of the content to be loaded is currently blank. This blank state may confuse or dissatisfy the user because the user cannot clearly know the reason for the lack of data at present (for example, whether there is no more data or whether there is a problem with the system). The user's perception ability of the blank area is relatively vague, which is likely to lead to misunderstandings or loss of patience. In this case, by displaying the hint button, the user can clearly know that the client is still trying to obtain more data and can manually trigger the next loading operation by clicking the button. This not only enhances the user's sense of control but also reduces the user's confusion and anxiety.

[0086] In a possible implementation manner, the implementation manner of S13 includes: when the first judgment result indicates that the target page is not the last page of the content to be loaded and the second judgment result indicates that the historical page data before the target page is displayed on the display interface, determining that the hint information corresponding to the target page is the second hint information; where the second hint information is used to prompt the user that the target operation is a preset gesture operation on the display interface; and displaying the second hint information on the display interface.

[0087] When the first judgment result indicates that the target page is not the last page of the content to be loaded, it means that there is still room to continue loading the content to be loaded. When the second judgment result indicates that the historical page data before the target page is displayed on the display interface, it means that there is non-empty data among the first n pages (the target page is the nth page) of the content to be loaded sent by the server. At this time, the loaded content is displayed on the display interface, and there is also a data list corresponding to the loaded content. The user can perform a preset gesture operation (such as swiping the screen with a finger) based on the data list. Based on this, the client determines that the hint information corresponding to the target page is the second hint information. The second hint information is used to prompt the user that the target operation is: a preset gesture operation on the display interface. The client displays the second hint information on the display interface. The preset gesture operation can be an operation of swiping the screen with a finger, such as swiping up on the screen with a finger.

[0088] In a specific implementation, the second prompt message can be a Toast prompt. A Toast prompt is a UI design element commonly used to display short, non-blocking messages to users in mobile applications or web applications. It pops up a small message box at a certain position on the screen (usually at the bottom or in the middle) and automatically disappears after a few seconds without interrupting the user's operation flow. By displaying a Toast prompt on the display interface, it helps to avoid interfering with the page data of the content to be loaded that has already been displayed on the display interface.

[0089] Figure 7 It is a schematic diagram of an interface provided by an embodiment of the present application that displays a second prompt message.

[0090] Exemplarily, as Figure 7 shown, assuming that the data on the 3rd page is not empty, Figure 7 the loaded content 1 to 6 in Figure 7 is actually the data on the 3rd page. The target page is the 4th page. If the page data of the 4th page is empty, since the display interface has already displayed the historical page data of the content to be loaded (such as the data on the 3rd page) at this time, a second prompt message is displayed, that is,

[0091] It should be noted that Figure 7 the text content in the Toast prompt 701 in

[0092] is only an exemplary illustration. In a specific implementation, as long as the prompt content can let the user know what the target operation is, this embodiment does not make specific limitations on this.

[0093] In a possible implementation, the above-mentioned displaying the second prompt message on the display interface includes: displaying the second prompt message in a target area on the display interface; wherein, the area occupied by the historical page data in the target area is less than a preset area threshold. Figure 7 In Figure 7 the Toast prompt 701 does not block the historical page data, and the historical page data includes Figure 7 the loaded content 1 to 6 in

[0094] In the above implementation manner, a second prompt message is displayed in the target area on the display interface. Since the area occupied by the historical page data in the target area is smaller than the preset area threshold, it is beneficial to avoid the occlusion of the interface content by the display of the second prompt message as much as possible.

[0095] In a possible implementation manner, when the first judgment result indicates that the target page is the last page of the content to be loaded, a prompt message indicating that the loading has reached the last page can also be displayed, facilitating the user to understand the current loading status.

[0096] In step 204, after the client displays the above prompt message (the first prompt message / the second prompt message), it detects whether the user has performed a target operation. If it detects that the user has performed a target operation, it sends a loading request for the next page of the target page to the server to request the page data of the next page. The next page of the target page is taken as the target page, and step 202 is continued. In this embodiment, considering that when the page data of the target page is empty, even if the page data of the target page is requested repeatedly, the page data sent by the server may still be empty. Therefore, if it detects that the user has performed a target operation, it sends a loading request for the next page of the target page to the server, rather than repeatedly sending a loading request for the target page.

[0097] In a possible embodiment, after the client displays the above first prompt message, the client can listen for the click event of the user on the prompt button. When it detects that the user clicks the prompt button, it determines that the user has performed a trigger operation on the prompt button, that is, it detects that the user has performed a target operation. Then it updates the paging parameter of the loading request, usually by increasing the page number. For example, if the target page is the second page, the updated paging parameter of the loading request is the third page. The client can send a loading request carrying the page number of the target page +1 to the server to request the server to send down the data of the next page of the target page, so as to implement the loading of the data of the next page. After the client sends a loading request for the next page of the target page, that is, the third page, to the server, the client will wait for the server to send down the data of the next page, that is, the data of the third page. After the client receives the data of the third page sent by the server, it continues to judge whether the received data of the third page is empty. If the data of the third page is empty, it means that multiple consecutive pages of data are empty. At this time, if the third page is not the last page, the first prompt message is still displayed. If the data of the third page is not empty, the first prompt message is no longer displayed, and the page data is loaded and displayed normally.

[0098] In a possible embodiment, after the client displays the above-mentioned second prompt message, the client can monitor whether the user has performed a preset gesture operation on the display interface. When it detects that the user has performed a preset gesture operation, that is, it detects that the user has performed a target operation. Then, it sends a loading request for the next page of the target page to the server to request the loading of the page data of the next page.

[0099] Figure 8 It is a schematic flowchart of another paging loading method provided by an embodiment of the present application.

[0100] Exemplarily, as Figure 8 shown, this paging loading method includes:

[0101] Step 801: Load the data of the i-th page (the initial value of i is 1).

[0102] As described above, when it detects that the user searches for the content to be loaded, it loads the data of the first page of the content to be loaded. The process of loading the data of the first page includes: the client sends a loading request to the server, and the page number 1 is carried in the loading request. After the server receives the loading request, it issues the data of the first page based on the carried page number 1.

[0103] Step 802: Determine whether the data is empty. If it is, execute step 803; otherwise, execute step 804.

[0104] Specifically, the client determines whether the page data sent by the server is empty. If it is empty, it means that the server may have filtered out all the page data based on the filtering rules.

[0105] Step 803: Determine whether it is the last page. If it is, the process ends. Otherwise, i = i + 1, and enter step 805.

[0106] Specifically, if the i-th page is not the last page, then let i = i + 1, and then enter step 805.

[0107] Step 804: UI display.

[0108] Specifically, if the data of the i-th page is not empty, the client renders and displays the data of the i-th page.

[0109] Step 805: Display the first prompt message.

[0110] Among them, entering step 805 indicates that the data of the previous several pages of the content to be loaded has been empty and the i-th page is not the last page of the content to be loaded, then display the first prompt message, and this first prompt message includes a prompt button.

[0111] Step 806: Detect that the user triggers the prompt button.

[0112] Specifically, if it is detected that the user triggers the prompt button, step 801 is executed to continue requesting to load the next page of data.

[0113] Step 807: Determine whether it is the last page. If so, the process ends. Otherwise, i = i + 1 and step 808 is entered.

[0114] Step 808: It is detected that the user triggers the pull-up loading operation to load the data of the i-th page.

[0115] Among them, the process of loading the data of the first page includes: the client sends a loading request to the server, and the page number i is carried in the loading request. After receiving the loading request, the server issues the data of the i-th page based on the carried page number i.

[0116] Step 809: Determine whether the data is empty. If so, step 810 is executed; otherwise, step 804 is executed.

[0117] Among them, entering step 804 indicates that the data of the currently loaded page is not empty, so the UI display is performed normally. Entering step 810 indicates that the current page loading fails.

[0118] Step 810: Display the second prompt message.

[0119] Specifically, entering step 810 indicates that the UI display has been performed normally before, and it belongs to the situation where the data of the middle several pages or the last several pages of the content to be loaded is empty. At this time, the first prompt message is not displayed, but the above-mentioned second prompt message is displayed.

[0120] Step 811: Determine whether it is the last page. If so, the process ends; otherwise, step 808 is executed.

[0121] In this embodiment, when the data of the previous several pages of the content to be loaded is always empty, the first prompt message is presented to the user. The first prompt message includes a prompt button, and the page number requested to be loaded is automatically incremented by 1. If it is detected that the user clicks the prompt button, then the next page of data is requested to be loaded. When there is data in the previous several pages of the content to be loaded and the data of a certain middle page is empty, the second prompt message is displayed. If it is detected that the user performs a preset gesture operation (such as a pull-up loading operation) on the display interface, then the next page of data is requested to be loaded. When the data of the last several pages of the content to be loaded is empty, the pull-up loading operation is triggered until all page numbers are requested. Assume that the data of pages 1 - 3 received by the client for the content to be loaded is empty, the data of pages 4 - 7 is available, the data of pages 8 - 9 is empty, the data of pages 10 - 13 is available, the data of pages 14 - 16 is empty, the data of pages 17 - 18 is available, the data of pages 19 - 20 is empty, and page 20 is the last page of the content to be loaded. Then, the situation where the data of pages 1 - 3 is empty belongs to the case where the data of the previous several pages is empty, the cases where the data of pages 8 - 9 and 14 - 16 are empty both belong to the situation where the data of the middle several pages is empty, and the case where the data of pages 19 - 20 is empty belongs to the situation where the data of the last several pages is empty.

[0122] The pull-up loading operation refers to: on the display interface, when the user swipes the data list corresponding to the loaded content and swipes to the bottom, a loading animation will appear at the bottom, and it will prompt that it is loading. When the data of this page is loaded, the loading animation and the prompt message will disappear. When the loading fails, a Toast will prompt that the loading fails. The user can swipe the bottom of the data list again, and the next page will continue to be loaded. When there is no data on the next page, that is, when the last page is loaded, the bottom cannot be swiped, and at this time, all the page numbers of the content to be loaded are completed.

[0123] In this embodiment, through reasonable interaction design, the problem of blank pages in the first few pages, middle pages or last pages that occur during data paging loading is solved. It can avoid the performance problems caused by automatically loading the next page when a certain page fails to load, and presents a better interaction experience for users on the UI.

[0124] Figure 9 It is a schematic structural diagram of a paging loading device provided by an embodiment of the present application.

[0125] Exemplarily, as Figure 9 shown, the paging loading device 900 includes: a sending module 901, configured to send a loading request for the target page to the server in response to a loading operation on the target page; a judging module 902, configured to judge whether the page data of the target page is empty if the page data of the target page sent by the server is received; a display module 903, configured to display a prompt message corresponding to the target page on the display interface when the page data of the target page is empty; wherein, the prompt message is used to prompt the user to perform a target operation to request to load the next page of the target page; a request module 904, configured to send a loading request for the next page of the target page to the server to request to load the page data of the next page if it is detected that the user has performed the target operation.

[0126] In a possible implementation manner, the target page is a page in the content to be loaded; the display module 903 includes: a first judging unit, configured to judge whether the target page is the last page of the content to be loaded, and obtain a first judgment result; a first judging unit, configured to judge whether historical page data before the target page is displayed on the display interface, and obtain a second judgment result; a display unit, configured to display a prompt message corresponding to the target page on the display interface according to the first judgment result and the second judgment result.

[0127] In a possible implementation, the display unit is specifically configured to determine that the prompt information corresponding to the target page is the first prompt information when the first judgment result indicates that the target page is not the last page of the content to be loaded, and the second judgment result indicates that the historical page data before the target page is not displayed on the display interface; wherein, the first prompt information includes a prompt button, and the first prompt information is used to prompt the user that the target operation is a trigger operation on the prompt button; and display the first prompt information on the display interface.

[0128] In a possible implementation, the display unit is specifically configured to determine that the prompt information corresponding to the target page is the second prompt information when the first judgment result indicates that the target page is not the last page of the content to be loaded, and the second judgment result indicates that the historical page data before the target page is displayed on the display interface; wherein, the second prompt information is used to prompt the user that the target operation is a preset gesture operation on the display interface; and display the second prompt information on the display interface.

[0129] In a possible implementation, the display unit is specifically configured to display the second prompt information in a target area on the display interface; wherein, the area occupied by the historical page data in the target area is less than a preset area threshold.

[0130] In a possible implementation, the first judgment unit is specifically configured to obtain the number of single-page display contents on the display interface and the total number of contents of the content to be loaded; determine the total number of pages to be loaded according to the number of single-page display contents and the total number of contents; and judge whether the target page is the last page of the content to be loaded according to the page number of the target page and the total number of pages.

[0131] In a possible implementation, the load request carries a client identifier; the device for paged loading further includes: a receiving module, configured to receive the page data of the filtered target page sent by the server; wherein, the server filters the page data of the target page based on the filtering rule corresponding to the client identifier, and sends the filtered page data of the target page to the client; a judgment module 902, specifically configured to judge whether the page data of the filtered target page is empty if the page data of the filtered target page sent by the server is received.

[0132] Figure 10 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

[0133] Exemplarily, such as Figure 10As shown in the figure, the electronic device 100 includes: a memory 1001 and a processor 1002. Among them, an executable program code 1011 is stored in the memory 1001, and the processor 1002 is configured to call and execute the executable program code 10011 to execute a paging loading method.

[0134] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor. Among them, an executable program code is stored in the memory, and the processor is configured to call and execute the executable program code to execute a paging loading method provided by an embodiment of the present application.

[0135] This embodiment can divide the functions of the device according to the above method examples. For example, it can correspond to each functional module, or integrate two or more functions into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0136] In the case of dividing each functional module corresponding to each function, the device may further include a transceiver module, a first judgment module, a second judgment module, a display module, a request module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be cited in the function description of the corresponding functional module, and will not be repeated here.

[0137] It should be understood that the device provided in this embodiment is used to execute the above paging loading method, so the same effect as the above implementation method can be achieved.

[0138] In the case of adopting an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to a vehicle, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute relevant program codes, etc.

[0139] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits shown in combination with the disclosure content of the present application. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.

[0140] In addition, the device provided in the embodiment of the present application may specifically be a chip, a component or a module. The chip may include a connected processor and a memory; among them, the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a paging loading method provided by the above embodiment.

[0141] This embodiment also provides a computer-readable storage medium, in which computer program code is stored. When the computer program code runs on a computer, the computer is enabled to execute the above-related method steps to implement a paging loading method provided in the above embodiment.

[0142] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the above-related steps to implement a paging loading method provided in the above embodiment.

[0143] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.

[0144] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0145] In the embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0146] The above content is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. A method for paged loading, characterized in that The method includes: In response to a loading operation on a target page, sending a loading request for the target page to the server; If the page data of the target page sent by the server is received, determining whether the page data of the target page is empty; In the case where the page data of the target page is empty, displaying a prompt message corresponding to the target page on the display interface; wherein, the prompt message is used to prompt the user to perform a target operation of requesting to load the next page of the target page; If it is detected that the user has performed the target operation, sending a loading request for the next page of the target page to the server to request to load the page data of the next page.

2. The method according to claim 1, wherein The target page is a page in the content to be loaded; The displaying a prompt message corresponding to the target page on the display interface includes: Determining whether the target page is the last page of the content to be loaded, to obtain a first determination result; Determining whether historical page data before the target page is displayed on the display interface, to obtain a second determination result; According to the first determination result and the second determination result, displaying a prompt message corresponding to the target page on the display interface.

3. The method according to claim 2, wherein The according to the first determination result and the second determination result, displaying a prompt message corresponding to the target page on the display interface includes: In the case where the first determination result indicates that the target page is not the last page of the content to be loaded, and the second determination result indicates that the historical page data before the target page is not displayed on the display interface, determining that the prompt message corresponding to the target page is a first prompt message; wherein, the first prompt message includes a prompt button, and the first prompt message is used to prompt the user that the target operation is a triggering operation on the prompt button; Displaying the first prompt message on the display interface.

4. The method according to claim 2, characterized in that The according to the first determination result and the second determination result, displaying a prompt message corresponding to the target page on the display interface includes: In the case where the first determination result indicates that the target page is not the last page of the content to be loaded, and the second determination result indicates that the historical page data before the target page is displayed on the display interface, determining that the prompt message corresponding to the target page is a second prompt message; wherein, the second prompt message is used to prompt the user that the target operation is a preset gesture operation on the display interface; Displaying the second prompt message on the display interface.

5. The method according to claim 4, wherein The displaying the second prompt message on the display interface includes: Displaying the second prompt message in a target area on the display interface; wherein, the area occupied by the historical page data in the target area is less than a preset area threshold.

6. The method according to claim 2, characterized in that, The determining whether the target page is the last page of the content to be loaded includes: Obtaining the number of single-page display contents on the display interface and the total number of contents of the content to be loaded; According to the number of single-page display contents and the total number of contents, determining the total number of pages to be loaded; Based on the page number of the target page and the total number of pages, determine whether the target page is the last page of the content to be loaded.

7. The method according to any one of claims 1 to 6, characterized in that, The loading request carries a client identifier. After sending the loading request for the target page to the server, the method includes: Receiving the page data of the filtered target page sent by the server; wherein, the server filters the page data of the target page based on the filtering rule corresponding to the client identifier, and sends the page data of the filtered target page to the client. The step of, if receiving the page data of the target page sent by the server, determining whether the page data of the target page is empty, includes: If receiving the page data of the filtered target page sent by the server, determining whether the page data of the filtered target page is empty.

8. A device for paged loading, characterized in that, The apparatus includes: A sending module, configured to send a loading request for the target page to the server in response to a loading operation on the target page. A judging module, configured to, if receiving the page data of the target page sent by the server, determine whether the page data of the target page is empty. A display module, configured to, when the page data of the target page is empty, display a prompt message corresponding to the target page on a display interface; wherein, the prompt message is used to prompt a target operation for the user to request to load the next page of the target page. A request module, configured to, if detecting that the user has performed the target operation, send a loading request for the next page of the target page to the server to request to load the page data of the next page.

9. An electronic device, characterized in that, The electronic device includes: A memory, configured to store executable program code. A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.