Visual presentation method and device of page data, equipment and storage medium

By obtaining page request information and determining the target loading strategy of the target page based on preset correspondence, the problem of low visual presentation speed of page data is solved, and the need to quickly render and efficiently handle a large number of data nodes is achieved.

CN119397112APending Publication Date: 2025-02-07CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411466576.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

As the page content increases, the amount of page data also increases, resulting in an increase in the time for visual rendering of page data, reducing the visual presentation speed of page data.

Method used

By obtaining page request information, based on the correspondence between the preset page and the page loading policy, the target loading policy of the target page, including the number of target paging lines of the target page, and visually present the data of the target page according to the policy.

Benefits of technology

This method can minimize the total time required for data loading, reduce the time for visual rendering of page data, ensure fast rendering of page data, and improve the visual presentation speed of page data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119397112A_ABST
    Figure CN119397112A_ABST
Patent Text Reader

Abstract

The invention provides a visual presentation method and device of page data, equipment and a storage medium, relates to the technical field of communication, and is used for solving the problem that the visual presentation speed of the page data is relatively low. The method comprises the following steps: acquiring page request information, wherein the page request information is used for indicating visual presentation of data of a target page; according to a preset corresponding relation between the multiple preset pages and the multiple page loading strategies, a target loading strategy corresponding to the target page is determined, and the target loading strategy comprises the target paging line number of the target page. And according to the target loading strategy, performing visual presentation on the data of the target page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for visually presenting page data. Background Art

[0002] With the development of visualization technology, the demand for visualization of different types of business data has also increased, for example, visualization of page data in front-end browsers.

[0003] Currently, in the process of visually presenting page data, the page data is usually visually rendered, and the visual presentation is performed based on the rendering result to achieve visual presentation of the page data.

[0004] However, as the page content increases, the amount of page data also increases, which increases the time for visual rendering of the page data and reduces the speed of visual rendering of the page data. Summary of the invention

[0005] The present application provides a method, apparatus, device and storage medium for visual presentation of page data, which are used to solve the problem of low speed of visual presentation of page data.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, the present application provides a method for visual presentation of page data, the method comprising: a visual presentation device for page data (hereinafter referred to as "visual presentation device") obtains page request information, the page request information is used to indicate visual presentation of data of a target page. According to a preset correspondence between multiple preset pages and multiple page loading strategies, a target loading strategy corresponding to the target page is determined, the target loading strategy including a target number of paging rows for the target page. According to the target loading strategy, the data of the target page is visually presented.

[0008] The technical solution provided by the present application brings at least the following beneficial effects: by obtaining page request information, the most suitable page loading strategy for the target page is selected based on the correspondence between the page and the loading strategy, so as to obtain the adapted number of paging rows and perform visual presentation. In this way, the total time required for data loading to be completed can be minimized, the time for visual rendering of page data can be reduced, and the page data can be rendered quickly. In this way, the visual presentation speed of page data can be improved, and the urgent needs of the front-end big data visualization platform for efficient processing and display of a large number of data nodes can be met. Optionally, the above-mentioned method of "determining the target loading strategy corresponding to the target page according to the preset correspondence between multiple preset pages and multiple page loading strategies" includes: determining the similarity between the target page and each preset page according to the preset correspondence. If there is a first page among the multiple preset pages whose corresponding similarity is greater than the first preset threshold, the page loading strategy corresponding to the first page is used as the target loading strategy corresponding to the target page.

[0009] Optionally, the method further includes: if the first page does not exist in the plurality of preset pages, determining the row number difference between the total number of rows of the target page and the total number of rows of each preset page according to the preset corresponding relationship. If a second page exists in the plurality of preset pages whose corresponding row number difference is less than a second preset threshold, using the page loading strategy corresponding to the second page as the target loading strategy corresponding to the target page.

[0010] Optionally, after the above-mentioned method of "visually presenting the data of the target page according to the target loading strategy", it includes: visually presenting the target page according to the total number of rows of the target page and multiple preset paging rows, and determining the time consumption of the first paging of the target page corresponding to each preset paging row number. If there is a first category of paging rows among the multiple preset paging rows whose corresponding first paging time consumption is less than a third preset threshold, then generate a first loading strategy for the target page according to the first category of paging rows. The correspondence between the target page and the first loading strategy is added to the preset correspondence to obtain an updated preset correspondence.

[0011] Optionally, there are multiple first-category paging rows, and one first-category paging row corresponds to one first loading strategy. Including: obtaining the total time consumption corresponding to the target page based on each first-category paging row. According to a fourth preset threshold, determining at least one second-category paging row from all first-category paging rows, and the total time consumption corresponding to the second-category paging row is less than the fourth preset threshold. Determine the second loading strategy corresponding to each second-category paging row from all first loading strategies. Add the correspondence between the target page and each second loading strategy to the preset correspondence to obtain an updated preset correspondence.

[0012] Optionally, the target page includes user information, and the user information includes at least one of the following: user request time, user identity identifier, user location information, and a browser identifier selected by the user.

[0013] In a second aspect, the present application provides a device for visually presenting page data, the device comprising: an acquisition module and a processing module.

[0014] The acquisition module is used to acquire page request information, and the page request information is used to indicate that the data of the target page is to be visually presented. The processing module is also used to determine the target loading strategy corresponding to the target page according to the preset correspondence between multiple preset pages and multiple page loading strategies, and the target loading strategy includes the target number of paging rows of the target page. The processing module is also used to visually present the data of the target page according to the target loading strategy.

[0015] In a third aspect, the present application provides a device for visual presentation of page data, the device comprising: a processor and a memory, the processor and the memory being coupled, the memory being used to store one or more programs, the one or more programs comprising computer-executable instructions, and when the device for visual presentation of page data is running, the processor executes the computer-executable instructions stored in the memory to implement the method for visual presentation of page data described in the first aspect or any optional aspect of the first aspect.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the method for visual presentation of page data described in the first aspect or any optional aspect of the first aspect.

[0017] In a fifth aspect, the present application provides a computer program product applied to a server, the computer program product comprising computer instructions. When the computer instructions are executed on the server, the server implements the method for visual presentation of page data described in the first aspect or any optional aspect of the first aspect.

[0018] In the above scheme, the technical problems that can be solved and the technical effects achieved by the visual presentation device, equipment, computer storage medium or computer program product of page data can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of a communication system provided in an embodiment of the present application;

[0020] Figure 2 A flowchart of a method for visually presenting page data provided in an embodiment of the present application;

[0021] Figure 3 A flowchart of another method for visually presenting page data provided in an embodiment of the present application;

[0022] Figure 4 A schematic diagram of an example of interaction between a browser and a server provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of the structure of a device for visually presenting page data provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of a device for visually presenting page data provided in an embodiment of the present application;

[0025] Figure 7 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.

[0028] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.

[0029] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0030] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.

[0031] Before introducing in detail the method for visual presentation of page data provided by the embodiment of the present application, the implementation environment and application scenarios of the embodiment of the present application are first introduced.

[0032] First, the application scenarios of the embodiments of the present application are introduced.

[0033] In the field of big data visualization, existing technologies have significant defects when processing front-end rendering of large amounts of map data. If a full request is directly sent to the server and then processed, the page will load slowly and users will have to wait for a long time for data to be displayed. In extreme cases, the browser will display a blank screen or crash. The problem of large data requests is mainly affected by the browser's own request scheduling mechanism, the processing capacity of the backend server, and network fluctuations.

[0034] In the prior art, solutions such as data paging loading, database query optimization, and adding a cache mechanism are commonly used to solve the above problems. These methods have different advantages. The data paging loading method can divide a large amount of data into multiple pages for users to view and process conveniently. The database query optimization method is an important function in the database management system. It can improve the query efficiency of the structured query language (SQL) through query optimizers and indexes, and reduce query time and resource consumption. The method of adding a cache mechanism can store frequently accessed data in the cache, reduce the number of visits to the database, and thus improve the response speed of the system.

[0035] However, solutions such as data paging loading, database query optimization, and adding a cache mechanism also have corresponding disadvantages compared to their advantages. The disadvantage of the data paging loading method is that it requires the writing of complex query logic and has concurrency requirements for the server. The disadvantage of the database query optimization method is that it has limited improvement in the query speed of large amounts of data. The disadvantage of the method of adding a cache mechanism is that it increases system complexity and maintenance costs, and an effective cache synchronization strategy needs to be set for frequently changing data.

[0036] Currently, for the method of data paging loading, if the paging is too large, it will extend the response time of a single request, and if the paging is too small, it will increase the number of requests, both of which will affect the overall loading efficiency. The paging size usually depends on the developer's experience, lacks flexibility, and is difficult to adapt to different user scenarios and network conditions. Although there are attempts to improve dynamic data paging, the paging size can be estimated by considering factors such as data volume and network conditions, but this method requires additional collection of network parameters, which increases the complexity of the system, and the estimation accuracy is limited by the comprehensiveness of the algorithm and test data.

[0037] In summary, as the page content increases, the amount of page data also increases. When the amount of page data is large, if the preset paging standard is still used, it may cause greater pressure on visual rendering, increase the time for visual rendering of page data, and thus reduce the speed of visual presentation of page data.

[0038] In order to solve the above problems, an embodiment of the present application provides a method for visual presentation of page data, and the method for visual presentation of page data provided by the embodiment of the present application is applied to the scenario of visual presentation of page data. The embodiment of the present application can obtain page request information, select the most suitable page loading strategy for the target page based on the correspondence between the page and the loading strategy, thereby obtaining the adapted number of paging rows and performing visual presentation. In this way, the total time required to complete data loading can be minimized, the time for visual rendering of page data can be reduced, and the page data can be quickly rendered. In this way, the visual presentation speed of page data can be improved, meeting the urgent needs of the front-end big data visualization platform for efficient processing and display of a large number of data nodes.

[0039] The implementation environment of the embodiments of the present application is introduced below.

[0040] like Figure 1 As shown, a schematic diagram of a communication system provided in an embodiment of the present application is provided, and the communication system may include: a browser end (such as terminal 101) and a server end (such as server 102). The server end and the browser end may be connected by wire or wirelessly.

[0041] Specifically, the terminal 101 initiates a page loading request to the server 102. After receiving the page loading request, the server 102 determines the page data in the page to be loaded and determines the line division and paging method for the page data. Afterwards, the server 102 can send the line division and paging method of the page data in the page back to the terminal 101. The terminal 101 visualizes the page based on the line division and paging method of the page data.

[0042] In some embodiments, the browser side (ie, the terminal 101 ) may include a detection device 103 , and the server side (ie, the server 102 ) may include a recording device 104 and a recommendation device 105 .

[0043] The detection device 103 may perform page loading detection on the page data of the target page according to the page request information for indicating visual presentation of the data of the target page, and output a loading strategy for the page data (such as the number of paging rows).

[0044] The recommendation device 105 can collect page request information, analyze and process the collected information, and query whether there is a page loading record in the recording device 104 that relatively matches the page request information. If there is a relatively matching page loading record, the recommendation device 105 outputs the information of the page loading record recorded by the recording device 104 to instruct the terminal 101 to perform visual presentation based on the record information.

[0045] Optionally, the detection device 103 , the recording device 104 and the recommendation device 105 may also be deployed in the browser side (ie, the terminal 101 ), and the terminal 101 may independently determine the loading strategy of the page data without the participation of the server 102 .

[0046] It should be noted that in the embodiments of the present application, the server may be a single physical server or a server cluster consisting of multiple servers. Alternatively, the server cluster may also be a distributed cluster. Alternatively, the server may also be a cloud server. The embodiments of the present application do not limit the specific implementation of the server.

[0047] The terminal may be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, etc. with transceiver functions. The present application does not impose any special restrictions on the specific form of the terminal. It may interact with the user through one or more methods such as keyboard, touch pad, touch screen, remote control, voice interaction or handwriting device.

[0048] After introducing the application scenario and implementation environment of the embodiment of the present application, the following describes in detail the method for visualizing the page data provided by the embodiment of the present application in combination with the above-mentioned implementation environment.

[0049] The methods in the following embodiments can all be implemented in the above application scenarios and implementation environments. The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0050] Figure 2 A flow chart of a method for visually presenting page data provided in an embodiment of the present application. Figure 2 As shown, the method may include: S201-S203.

[0051] S201. Obtain page request information.

[0052] The page request information is used to instruct visual presentation of the data of the target page.

[0053] It should be noted that the embodiment of the present application does not limit the type of the target page. For example, the target page may be a streaming media page that displays entertainment media. For another example, the target page may be a text page that displays news information. For another example, the target page may be an image page that displays photographic works.

[0054] In an embodiment of the present application, the data of the target page may include display data to be loaded (ie, to be visually presented) in the target page, and may also include a uniform resource locator (URL) and user information in the background process of the target page.

[0055] The user information may include at least one of the following: user request time, user identity, user location information, and a browser identifier selected by the user (ie, a browser that visually presents the target page).

[0056] It should be noted that the user information can be adjusted according to the actual situation. For example, if the user needs to use a specified browser to open the application, there is no need to request a browser. For another example, if the user can only open the application on the company network, the user information can use the user's company name instead of the user name.

[0057] As a possible implementation manner, the visual presentation device may obtain and record page request information by configuring / setting a log format on the server side.

[0058] As another possible implementation manner, the visual presentation device may obtain page request information by collecting user requests on the browser side.

[0059] S202: Determine a target loading strategy corresponding to a target page according to a preset correspondence between a plurality of preset pages and a plurality of page loading strategies.

[0060] The preset page is used to indicate a preset data paging loading page.

[0061] That is to say, the preset page has been pre-queried by the visual presentation device.

[0062] The page loading strategy is used to indicate the paging size of a preset page when data is paging loaded, and the target loading strategy is a page loading strategy that has a corresponding relationship with the target page among the multiple page loading strategies indicated by the preset corresponding relationship.

[0063] It should be noted that the target loading strategy may include: the target number of paging rows of the target page (i.e., the requested paging size (page_size)), the total number of rows of the target page (i.e., the total number of rows of request results (total)), the total request time of the target page (i.e., the total request time (time_all)), the time of the first paging of the target page (i.e., the first page data request time (time_first)), the data level of the target page (i.e., the requested data level (data_size)), the row level of the target page (i.e., the requested row level (total_size)), the first type of paging rows of the target page (i.e., the requested first page size (page_size_first)), the first page results of the target page, and whether to initiate a page loading strategy pre-query for the target page.

[0064] In the embodiment of the present application, it is necessary to digitally format the data magnitude of the target page and the row magnitude of the target page.

[0065] Exemplarily, if the data magnitude of the target page is 898B, the data magnitude of the target page is formatted as 900B; if the row magnitude of the target page is 156400, the row magnitude of the target page is formatted as 150000.

[0066] As a possible implementation, the visualization presentation device may pre-store a preset correspondence relationship. Based on the preset correspondence relationship, the visualization presentation device may determine a preset page identical to the target page from multiple preset pages, and use the page loading strategy corresponding to the preset page identical to the target page in the multiple preset pages as the target loading strategy corresponding to the target page, so as to obtain the target loading strategy.

[0067] Exemplarily, the preset corresponding relationship may include: the corresponding relationship between preset page A and page loading strategy 1, the corresponding relationship between preset page B and page loading strategy 2, and the corresponding relationship between preset page C and page loading strategy 3. If the target page is the same as preset page B, the target loading strategy is page loading strategy 2.

[0068] Optionally, the visual presentation device may store page data corresponding to each preset page. In the process of the visual presentation device determining the identical relationship between each preset page and the target page, the visual presentation device may determine the identical relationship between each preset page and the target page by comparing the page data corresponding to each preset page with the page data of the target page indicated by the page request information.

[0069] Alternatively, the visual presentation device may store page request information corresponding to each preset page. In the process of the visual presentation device determining the identical relationship between each preset page and the target page, the visual presentation device may determine the identical relationship between each preset page and the target page by comparing the page request information corresponding to each preset page with the page request information corresponding to the target page.

[0070] S203: Visually present the data of the target page according to the target loading strategy.

[0071] As a possible implementation method, the visualization presentation device can perform paging processing on the data of the target page based on the target paging row number indicated by the target loading strategy, and visualize the data in each page in turn to achieve visualization presentation of the data of the target page.

[0072] It should be noted that, for the process of visual presentation of the target page data by the visual presentation device, reference may be made to the introduction of visual presentation in the prior art, which will not be described in detail here.

[0073] The technical solution provided by the above embodiment brings at least the following beneficial effects: by obtaining page request information, the most suitable page loading strategy for the target page is selected based on the correspondence between the page and the loading strategy, so as to obtain the adapted number of paging rows and perform visual presentation. In this way, the total time required to complete data loading can be minimized, the time for visual rendering of page data can be reduced, and the page data can be rendered quickly. In this way, the visual presentation speed of page data can be improved, meeting the urgent needs of the front-end big data visualization platform for efficient processing and display of a large number of data nodes.

[0074] It should be noted that the above embodiment determines the target loading strategy when there is a preset page identical to the target page in the preset correspondence (i.e., a complete match), but there may be a preset page in the preset correspondence that does not completely match the target page, but there is a partial match. In this way, fuzzy matching can be achieved by judging the similarity between the target page and the preset page, so as to improve the utilization rate of the page loading strategy of the preset page and reduce the user waiting time.

[0075] In some embodiments, Figure 3 As shown, in the visual presentation method of the page data, S202 may include: S301-S308.

[0076] S301: Determine, according to a preset corresponding relationship, whether there is a preset page identical to a target page among a plurality of preset pages.

[0077] In some embodiments, if it is determined that there is a preset page identical to the target page among the plurality of preset pages, the visual presentation apparatus may execute S302 .

[0078] S302: Use the page loading strategy corresponding to the preset page identical to the target page among the multiple preset pages as the target loading strategy.

[0079] In other embodiments, if it is determined that there is no preset page identical to the target page among the plurality of preset pages, the visual presentation apparatus may execute S303.

[0080] S303: Determine the similarity between the target page and each preset page according to the preset corresponding relationship.

[0081] The similarity level is used to indicate the matching degree between the target page and each preset page.

[0082] That is, the similarity level is used to indicate the matching level between the page data corresponding to the preset page and the page data of the target page indicated by the page request information.

[0083] S304: Determine whether there is a first page among the plurality of preset pages whose similarity level is greater than a first preset threshold.

[0084] As a possible implementation, the visualization device may pre-store a first preset threshold value. The visualization device may compare the similarity between the target page and each preset page with the first preset threshold value to determine whether the first page exists in the plurality of preset pages.

[0085] That is, the first page is a preset page among the plurality of preset pages, the degree of similarity between the first page and the target page being greater than a first preset threshold.

[0086] Exemplarily, the similarity between the target page and multiple preset pages includes: the similarity between the target page and preset page A is 0.5, the similarity between the target page and preset page B is 1, and the similarity between the target page and preset page C is 1.5. If the first preset threshold is 1, the first page is the preset page C, and the page loading strategy corresponding to the preset page C is the target loading strategy corresponding to the target page.

[0087] In some embodiments, if it is determined that the first page exists among the plurality of preset pages, the visual presentation apparatus may execute S305 .

[0088] S305: Use the page loading policy corresponding to the first page as the target loading policy corresponding to the target page.

[0089] It should be noted that there may be multiple first pages among the multiple preset pages, that is, there are multiple preset pages among the multiple preset pages whose similarity with the target page is greater than the first preset threshold.

[0090] In this way, in the process of taking the page loading strategy corresponding to the first page as the target loading strategy, the visualization presentation device can sort all the first pages in descending order based on the similarity corresponding to each first page, and select the page loading strategy corresponding to the first first page (i.e., the first page with the greatest similarity) as the target loading strategy.

[0091] It can be understood that by comparing the similarity between the target page and the preset page, the preset page with the greatest similarity to the target page can be determined. By applying the loading strategy of this preset page to the target page, fuzzy matching can be achieved to improve the utilization rate of the page loading strategy of the preset page and reduce user waiting time.

[0092] In other embodiments, when the visualization presentation apparatus determines that the similarity corresponding to each preset page is less than or equal to the first preset threshold, that is, the first page does not exist in the plurality of preset pages, the visualization presentation apparatus may execute S306.

[0093] S306: Determine the difference in the number of rows between the total number of rows of the target page and the total number of rows of each preset page according to the preset corresponding relationship.

[0094] The row number difference may indicate the matching degree between the total number of rows of the target page and the total number of rows of each preset page, and further indirectly indicates the matching degree between the target page and each preset page.

[0095] S307: Determine whether there is a second page among the plurality of preset pages whose corresponding row number difference is less than a second preset threshold.

[0096] As a possible implementation, the visualization device may pre-store a second preset threshold value. The visualization device may compare the difference between the total number of lines of the target page and the total number of lines of each preset page with the second preset threshold value to determine whether the second page exists in the plurality of preset pages.

[0097] That is, the second page is a preset page among the plurality of preset pages, the difference in the number of rows between the preset page and the total number of rows of the target page being less than a second preset threshold.

[0098] Exemplarily, the difference in the number of rows between the total number of rows of the target page and the total number of rows of each preset page includes: the difference in the number of rows between the target page and preset page A is 2, the difference in the number of rows between the target page and preset page B is 1, and the difference in the number of rows between the target page and preset page C is 3. If the second preset threshold is 2, the second page is the preset page B, and the page loading strategy corresponding to the preset page B is the target loading strategy corresponding to the target page.

[0099] In some embodiments, if the second page exists in the plurality of preset pages, the visual presentation device may execute S308 .

[0100] S308: Use the page loading policy corresponding to the second page as the target loading policy corresponding to the target page.

[0101] It should be noted that there may be multiple second pages among the multiple preset pages, that is, there are multiple preset pages whose difference between the total number of rows of the multiple preset pages and the target page is less than the second preset threshold.

[0102] In this way, in the process of taking the page loading strategy corresponding to the first page as the target loading strategy, the visualization presentation device can sort all the second pages in order from small to large based on the difference in the number of rows corresponding to each second page, and select the page loading strategy corresponding to the first second page (i.e., the second page with the smallest difference in the number of rows) as the target loading strategy.

[0103] It is understandable that, in the case where the target page and the preset page do not match, by comparing the difference in the number of lines between the target page and the preset page, the preset page with the smallest difference in the number of lines with the target page can be determined, and the loading strategy of this preset page can be used for the target page. In this way, a loading strategy with the highest probability can be provided to the target page, so as to improve the utilization rate of the page loading strategy of the preset page and reduce the user waiting time.

[0104] It should be noted that since there is no guarantee that the target page will completely match the preset page, there may be a situation where the target page partially matches the preset page. It is necessary to trigger the page loading strategy pre-query function of the target page to generate a target loading strategy that is adapted to the target page. The target page can be pre-queried through the following embodiments.

[0105] In some embodiments, after the visualization device visualizes the data of the target page according to the target loading strategy (ie, S203), the visualization device can improve and update the preset corresponding relationship through the following steps 1 to 4:

[0106] Step 1: The visual presentation device presents the target page visually according to the total number of rows of the target page and a plurality of preset paging row numbers, and determines the time consumption of the first paging of the target page corresponding to each preset paging row number.

[0107] The preset number of paging rows is used to indicate the number of rows displayed per page by default when displaying in pages. In addition, the preset number of paging rows satisfies a preset common multiple (ie, the initialization request number of paging rows (batch_size_init)).

[0108] As a possible implementation manner, the visual presentation device may obtain multiple preset paging row numbers in a step-by-step manner according to preset common multiples.

[0109] For example, if the preset common multiple is 5000, the preset paging row numbers may be 5000, 10000, 15000, 20000, or even greater than the total number of rows of the target page.

[0110] As another possible implementation manner, the visual presentation device may also obtain multiple preset paging row numbers by increasing or decreasing the preset row number difference multiple times according to the total number of rows of the target page.

[0111] For example, you can first take half of the total number of rows of the target page, format the numbers, and then get a preset number of paging rows, and then increase or decrease the preset row number difference. If the total number of rows of the target page is 25798 and the preset row number difference is 5000, then the multiple preset paging row numbers can be 15000, 20000, 10000, 25000, and 5000 respectively.

[0112] Among them, the time consumed for the first paging (i.e., the time consumed for the first page data request (time_first)) is used to indicate the time consumed by the visualization presentation device in the process of page loading when performing paging according to the total number of rows of the target page and multiple preset page numbers.

[0113] Step 2: The visual presentation device determines whether there is a first-category paging row number among a plurality of preset paging row numbers whose corresponding first paging time consumption is less than a third preset threshold.

[0114] As a possible implementation, the visualization device may pre-store a third preset threshold. Based on the third preset threshold, the visualization device may select a preset paging row number whose first paging time is less than the third preset threshold from multiple preset paging row numbers as the first type of paging row number.

[0115] Exemplarily, the plurality of preset paging row numbers include: preset paging row number A, preset paging row number B, and preset paging row number C, and the time consumption of the first paging corresponding to preset paging row number A is 0.2 seconds (s), the time consumption of the first paging corresponding to preset paging row number B is 0.4s, and the time consumption of the first paging corresponding to preset paging row number C is 0.3s. If the third preset threshold is 0.4s, then the preset paging row number A and the preset paging row number C are both first-category paging row numbers.

[0116] In some embodiments, if it is determined that there is a first type of paging line number among the plurality of preset paging line numbers, the visual presentation device may execute S503.

[0117] Step 3: The visual presentation device generates a first loading strategy for the target page according to the number of rows of the first category of paging.

[0118] The first loading strategy is used to visualize the data of the target page based on the number of first-type paging rows.

[0119] Step 4: The visual presentation device adds the correspondence between the target page and the first loading strategy to the preset correspondence to obtain an updated preset correspondence.

[0120] That is to say, the visual presentation device may store the correspondence between the target page and the first loading strategy in a pre-stored preset correspondence, and modify the preset correspondence originally stored by the visual presentation device.

[0121] It can be understood that by determining the number of paging rows of the target page and the corresponding first paging time by comparing the total number of rows of the target page and multiple preset paging row numbers, the records in which the time consumption of the first paging is less than the preset third threshold are retained and stored as the first category of paging row numbers. The original preset corresponding relationship is updated, and the page loading strategy of the target page can be pre-queried, so as to generate an adaptive loading strategy for each page.

[0122] It should be noted that there are multiple first-category paging rows in the preset paging row number, and one first-category paging row number corresponds to one first loading strategy. For multiple first loading strategies, the first loading strategies that meet the conditions can be selectively stored to reduce the stored records and optimize the preset corresponding relationship. As shown in the following steps A-D:

[0123] Step A: The visual presentation device obtains the total time consumption corresponding to each page row number of the target page.

[0124] The total time consumption corresponding to each page number is used to instruct the visualization presentation device to perform page division according to the total number of lines of the target page and the preset number of lines of the page, and the total time consumption for each page number of lines during the page loading process.

[0125] Step B: The visual presentation device determines at least one second-category paging row number from all first-category paging row numbers according to a fourth preset threshold.

[0126] Among them, the total time consumption corresponding to the number of second-category paging rows is less than a fourth preset threshold.

[0127] As a possible implementation, the visualization device may pre-store a fourth preset threshold. The visualization device may determine the size relationship between the total time consumed by each first-category paging line number among all first-category paging line numbers and the fourth preset threshold, and use the first-category paging line number whose corresponding total time consumed by all first-category paging line numbers is less than the fourth preset threshold as the second-category paging line number, thereby obtaining at least one second-category paging line number.

[0128] Exemplarily, the plurality of first-category paging lines include: paging line number A, paging line number B, and paging line number C, wherein the total time consumption corresponding to paging line number A is 2.3s, the total time consumption corresponding to paging line number B is 2.2s, and the total time consumption corresponding to paging line number C is 2.6s. If the fourth preset threshold is 2.5s, then at least one second-category paging line number includes paging line number A and paging line number B.

[0129] Step C: The visual presentation device determines a second loading strategy corresponding to each second-category paging row number from all first loading strategies.

[0130] That is to say, the second loading strategy is the first loading strategy corresponding to the second type of paging row number in all first loading strategies.

[0131] As a possible implementation method, the visualization presentation device can determine the first loading strategy corresponding to the second category of paging rows from all first loading strategies based on the second category of paging rows, and use the first loading strategy corresponding to the second category of paging rows among all first loading strategies as the second loading strategy to obtain the second loading strategy.

[0132] Exemplarily, multiple first-category paging row numbers include: paging row number A, paging row number B, and paging row number C, and multiple first loading strategies include: first loading strategy 1, first loading strategy 2, and first loading strategy 3, wherein paging row number A corresponds to first loading strategy 1, paging row number B corresponds to first loading strategy 2, and paging row number C corresponds to first loading strategy 3; if paging row number B is the second-category paging row number, then first loading strategy 2 is the second loading strategy.

[0133] Step D: The visual presentation device adds the correspondence between the target page and each second loading strategy to the preset correspondence to obtain an updated preset correspondence.

[0134] That is to say, the visual presentation device may store the correspondence between the target page and the second loading strategy into a pre-stored preset correspondence, and modify the preset correspondence originally stored by the visual presentation device.

[0135] It is understandable that, based on the time consumed by the first page, a secondary screening is performed based on the total time consumed to determine the page loading strategy associated with the target page, and then the preset correspondence is updated to ensure the accuracy of all correspondences in the updated preset correspondence.

[0136] The following is an introduction to the method for visually presenting page data provided in the embodiments of the present application in conjunction with specific embodiments.

[0137] In an embodiment of the present application, the visualization presentation device may include a paging request detector (ie, the above-mentioned detection device 103), a paging request recording library (ie, the above-mentioned recording device 104), and a paging request recommender (ie, the above-mentioned recommendation device 105).

[0138] Among them, for the paging request detector, the initial use is on the front-end page (that is, initiated by the browser), and the input is: request URL and parameters, total number of request result rows total, initialization request paging row number batch_size_init; output: test results of different paging sizes page_size. The detection process of the paging request detector is shown in the following steps 1-3:

[0139] Step 1: Generate a detection sequence of paging size page_size.

[0140] The page size page_size can be increased step by step according to the initialization request page row number batch_size_init. For example, if batch_size_init=5000, the page_size can be 5000, 10000, 15000, 20000 respectively until the page size page_size is greater than or equal to total.

[0141] The page size page_size can also be taken as half of the total number of rows of the request result and formatted as the first detection page_size with batch_size_init, and then increase or decrease batch_size_init. For example, total = 25798, batch_size_init = 5000, then page_size can be 15000, 20000, 10000, 25000, 5000. The initialization request page number batch_size_init can be set according to total to reduce the number of detection requests.

[0142] Step 2: Perform request detection in the order of the paging size page_size sequence.

[0143] Initiate requests asynchronously in sequence according to the paging size, and record the test results under the page_size. The first page data request takes time_first, and the total request takes time_all. If the first page request takes longer than the threshold, the page_size record is discarded.

[0144] Step 3: Finally, all detection records are obtained.

[0145] The detection records include the page size page_size, the requested data size data_size, the requested row size total_size, the total number of rows total, the first request time time_first, and the total request time time_all.

[0146] The paging request record library mainly includes two types of fields: user information and request information.

[0147] The user information includes: request time, request user, request Internet Protocol (IP) address, request browser, etc. The user information can be adjusted according to the actual situation. For example, if the platform needs to specify a browser to open, then there is no need to request a browser. For example, if the user can only open it in the company network, the user information can use the user company name instead of the user name.

[0148] The request information includes: request URL, request first page size page_size_first, request paging size page_size, request data size data_size, request row size total_size, total request time time_all and first page data request time time_first.

[0149] The paging request record library can prioritize the detection records obtained by the paging request detector, with the priorities being total request time_all and first page data request time_first. The paging request record library can then filter the detection records, and can store the records with a difference of less than a threshold T (e.g., 500ms) from the minimum total request time in the database after processing, or can select the record with the minimum total request time to store.

[0150] It should be noted that the requested data magnitude data_size and requested row magnitude total_size in the filtered records are digitally formatted and stored in magnitude rather than specific data volume. For example, when the requested data magnitude data_size is 898 bytes (byte, B), it can be formatted as 900B. For another example, when the requested row magnitude total_size is 156400, it can be formatted as 150000. The first page size page_size_first in the filtered records is set to the paging size page_size of the request with the shortest first page data request time_first among all request records.

[0151] For the paging request recommender, the input is: URL and user information; the output is: first page results, total number of rows, optimal paging size, whether to trigger the detector. The recommendation process of the paging request recommender is shown in the following steps (1) to (3):

[0152] Step (1), determine whether there is an absolutely matching paging record. The paging request recommender queries the paging request record library based on all inputs. If there is a completely matching record, the query record can be sorted according to a certain priority (such as detection time, total request time, paging size, etc.). Take the first one as the best first page size page_size_first and requested paging size page_size for the request, and then query the first page results based on page_size_first, and finally obtain the pre-query results: first page results, total number of rows total, optimal paging size page_size, and no need to trigger the paging request detector. If there is no completely matching record, proceed to step (2).

[0153] Step (2), determine whether there are relatively matching paging records. The paging request recommender queries the partially matching records in the paging request record library based on the input. If there are partially matching records, the query records can be sorted according to a certain priority. Take the first record as the best first page size page_size_first and the requested paging size page_size for the request, and then query the first page results based on page_size_first, and finally return the first page results, the total number of rows total, the best paging size page_size, and the paging request detector that needs to be triggered. If there are no partially matching records, proceed to the next step.

[0154] Step (3), if there is no relatively matching paging record, then initialize the first page size and the optimal paging size, and query the record with the smallest difference from the total number of rows or the first page data volume of the request as the paging method. The paging request recommender queries the total number of rows of the result data total, then initializes the first page size page_size_first, and queries the first page result. If there are records such as the requested data magnitude data_size or the requested row magnitude total_size, the requested paging size page_size of the record with the smallest difference from the total number of rows or the first page data volume in the paging request record library can be queried as the return value; if not, initialize the optimal paging size page_size until the first page result, the total number of rows total, the optimal paging size page_size, and the need to trigger the paging request detector are finally returned.

[0155] It should be noted that in step (2) and step (3), it is also possible not to perform a partial match query on the first page size page_size_first and the optimal paging size page_size, and the paging size can be initialized when absolutely no match is found. In addition, the partial match query and initialization setting on the first page size page_size_first and the optimal paging size page_size in step (2) and step (3) can also be achieved by obtaining a recommendation model through the historical records in the training paging request record library.

[0156] The following is combined with the interaction between the browser and the server in the above communication system. Figure 4 As shown, when the browser needs to request a large amount of data rendering, the browser first initiates a request pre-query, and the server calls the paging request recommender to process the page request information. By judging whether there are absolute matching paging records, relative matching paging records, initializing the first page size, initializing the optimal paging size, etc., or directly querying the total number of rows of result data, the corresponding optimal paging size, the first page query result, the total number of rows of the query result, and whether the paging request detector is triggered in the paging request record library are returned. After the browser receives the result of the pre-query, it asynchronously initiates requests in sequence according to the paging size, starts visual rendering of the first page results, and uses page incremental rendering results. If the paging request detector needs to be triggered, the paging request detector is also triggered during the idle period of the page request. The triggering method of the paging request detector can be adjusted according to demand. For example, the paging request detector can be triggered when the platform is opened for the first time every day.

[0157] It should be noted that when using a visualization device for visualization, it is not necessary to use a paging request detector and a paging request record library, and the optimal paging size can be calculated based on multiple parameters such as the request data volume, network status, and hardware information.

[0158] In addition, the visualization methods in different application scenarios are different, as shown in the following scenarios (a) to (e):

[0159] Scenario (a): For the visualization of a large amount of map data, the front-end page needs to load and render different types of map data, with multiple different URLs. For users in different situations, it is necessary to trigger the paging request detector, paging request record library and paging request recommender to request large amounts of data. This visualization presentation method can be used for front-line empowerment platforms based on network data and large-screen visualization displays. The rapid visualization of geographic data will help decision makers quickly grasp the overall situation and improve decision-making efficiency and accuracy.

[0160] Scenario (b): For large data volume requests from fixed users, it is not necessary to trigger for each user. The paging request record library does not need to record additional user information related fields, and the paging request recommender does not need to perform partial matching. The paging request detector is triggered regardless of which user uses it for the first time.

[0161] Scenario (c): For scenarios that do not require step-by-step rendering but require full loading before rendering, there is no need to set the first page size page_size_first, nor is there any need to record the time taken for the first page data request time_first. The first page results are queried based on the paging size page_size.

[0162] Scenario (d) can only be used in the development and testing process. When implementing large data volume requests, there is no need for pre-query and the request can be initiated directly. The detection record can be obtained through the paging request detector, the most appropriate paging size can be selected according to the needs, and then the paging size corresponding to the large data volume request paging query can be directly set.

[0163] Scenario (e): After the paging request record library has accumulated enough records of scenarios, the paging request intelligent recommender can be used independently. When using it, the user can directly call the paging request recommender to obtain the optimal paging size. There is no need to trigger the paging request detector or build the paging request record library on the server side. In addition, when the paging request detector obtains more complete information, you can choose to add network conditions such as network speed, bandwidth, latency, and server hardware information as input conditions. For this scenario, the paging request record library stores all the detection records without screening and processing. The paging request record library can be used as training data to build an intelligent recommendation model to recommend the optimal paging size based on one or more requested information (such as data volume, network information, hardware information, etc.).

[0164] It should be noted that when processing network requests for large amounts of data, other methods can be used instead of data paging loading. For example, a cache mechanism can be added to the backend to shorten the response time for large data requests. Another example is that resources can be added to the backend to increase network bandwidth, server memory and CPU performance. Another example is that database query performance can be improved, database configuration can be improved, query code can be optimized, etc.

[0165] It is understandable that the embodiments of the present application can optimize network requests for big data visualization design in view of the deficiencies of the browser data paging loading scenario in the prior art. It can effectively alleviate the pressure of a single request and provide the best paging size setting. This ensures that the total time required to load all data is minimized without affecting the rapid rendering of page data, reduces problems caused by network fluctuations and server processing capacity limitations, and significantly improves the efficiency and intuitiveness of data processing by optimizing the data loading mechanism and enhancing the user interaction experience.

[0166] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of a computer device. It is understandable that, in order to realize the above functions, the computer device includes a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the method steps for visual presentation of page data of each example described in the embodiment disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0167] The embodiment of the present application also provides a visual presentation device for page data. The visual presentation device for page data can be a computer device, a CPU in the above-mentioned computer device, a processing module in the above-mentioned computer device for pre-evaluating the effect of network construction, or a client in the above-mentioned computer device for pre-evaluating the effect of network construction.

[0168] The embodiment of the present application can divide the visual presentation device of page data into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation.

[0169] like Figure 5 FIG. 1 is a schematic diagram of a structure of a visual presentation device for page data provided in an embodiment of the present application. The visual presentation device for page data is used to perform Figure 2 or Figure 3 The method for visually presenting page data shown in the figure, the device 500 for visually presenting page data may include: an acquisition module 501 and a processing module 502 .

[0170] The acquisition module 501 is used to acquire page request information, and the page request information is used to indicate that the data of the target page is to be visually presented. The processing module 502 is used to determine the target loading strategy corresponding to the target page according to the preset correspondence between multiple preset pages and multiple page loading strategies, and the target loading strategy includes the target number of paging rows of the target page. The processing module 502 is also used to visually present the data of the target page according to the target loading strategy.

[0171] Optionally, the processing module 502 is specifically configured to determine the degree of similarity between the target page and each preset page according to the preset corresponding relationship. The processing module 502 is further configured to use the page loading strategy corresponding to the first page as the target loading strategy corresponding to the target page if there is a first page among the multiple preset pages whose corresponding degree of similarity is greater than a first preset threshold.

[0172] Optionally, the processing module 502 is further configured to determine the row number difference between the total number of rows of the target page and the total number of rows of each preset page according to a preset correspondence if the first page does not exist in the plurality of preset pages. The processing module 502 is further configured to use the page loading strategy corresponding to the second page as the target loading strategy corresponding to the target page if a second page whose corresponding row number difference is less than a second preset threshold exists in the plurality of preset pages.

[0173] Optionally, the processing module 502 is further used to visualize the target page based on the total number of rows of the target page and multiple preset paging row numbers, and determine the time consumption of the first paging of the target page corresponding to each preset paging row number. The processing module 502 is also used to generate a first loading strategy for the target page based on the first category of paging row numbers if there is a first category of paging row numbers among the multiple preset paging row numbers whose corresponding first paging time consumption is less than a third preset threshold. The processing module 502 is also used to add the corresponding relationship between the target page and the first loading strategy to the preset corresponding relationship to obtain an updated preset corresponding relationship.

[0174] Optionally, the acquisition module 501 is used to obtain the total time consumption corresponding to each first-category paging row number of the target page. The processing module 502 is also used to determine at least one second-category paging row number from all first-category paging row numbers according to a fourth preset threshold, and the total time consumption corresponding to the second-category paging row number is less than the fourth preset threshold. The processing module 502 is also used to determine the second loading strategy corresponding to each second-category paging row number from all first loading strategies.

[0175] Figure 6 6 is a schematic diagram of a visual presentation device for page data according to an exemplary embodiment. The device may include a processor 602, and the processor 602 is used to execute application code to implement the visual presentation method for page data in the present application.

[0176] The processor 602 may be a CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0177] like Figure 6 As shown, the visual presentation device of page data may further include a memory 603. The memory 603 is used to store application program codes for executing the solution of the present application, and the execution is controlled by the processor 602.

[0178] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 603 may exist independently and be connected to the processor 602 via the bus 604. The memory 603 may also be integrated with the processor 602.

[0179] like Figure 6As shown, the visual presentation device of page data may further include a communication interface 601, wherein the communication interface 601, the processor 602, and the memory 603 may be coupled to each other, for example, via a bus 604. The communication interface 601 is used to perform information exchange with other devices, for example, to support information exchange between the visual presentation device of page data and other devices.

[0180] It should be pointed out that Figure 6 The device structure shown in the figure does not constitute a limitation on the visual presentation device of the page data, except Figure 6 In addition to the components shown, the visual presentation device of the page data may include more or fewer components than shown in the figure, or combine some components, or arrange the components differently.

[0181] In actual implementation, the functions implemented by the processing module 502 can be Figure 6 The processor 602 shown calls the program code in the memory 603 to implement.

[0182] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer is enabled to execute the visual presentation method of page data provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 603 including instructions, and the above instructions may be executed by a processor 602 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0183] Figure 7 A conceptual partial view of a computer program product provided by an embodiment of the present application is exemplarily shown, where the computer program product includes a computer program for executing a computer process on a computing device.

[0184] In one embodiment, the computer program product is provided using a signal bearing medium 700. The signal bearing medium 700 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 2 or Figure 3 Thus, for example, reference to Figure 2 In the embodiment shown in , one or more features of S201 to S203 may be undertaken by one or more instructions associated with the signal bearing medium 700. In addition, Figure 7 The program instructions in also describe example instructions.

[0185] In some examples, the signal bearing medium 700 may include a computer readable medium 701, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.

[0186] In some implementations, signal bearing medium 700 may include computer recordable medium 702 such as, but not limited to, memory, read / write (R / W) CD, R / W, DVD, and the like.

[0187] In some implementations, signal bearing medium 700 may include communication medium 703 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0188] The signal bearing medium 700 may be communicated by a wireless form of communication medium 703. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.

[0189] In some examples, such as for Figure 5 The described visual presentation device of page data may be configured to provide various operations, functions, or actions in response to one or more program instructions in computer-readable medium 701 , computer-recordable medium 702 , and / or communication medium 703 .

[0190] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0191] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0192] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0193] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0194] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.

[0195] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for visually presenting page data, characterized in that: The method comprises: Obtaining page request information, where the page request information is used to instruct visual presentation of data on a target page; Determining a target loading strategy corresponding to the target page according to a preset correspondence between a plurality of preset pages and a plurality of page loading strategies, wherein the target loading strategy includes a target number of paging rows for the target page; According to the target loading strategy, the data of the target page is visualized.

2. The method according to claim 1, characterized in that The determining the target loading strategy corresponding to the target page according to the preset correspondence between the plurality of preset pages and the plurality of page loading strategies includes: Determining the similarity between the target page and each of the preset pages according to the preset corresponding relationship; If there is a first page whose corresponding similarity degree is greater than a first preset threshold among the plurality of preset pages, the page loading policy corresponding to the first page is used as the target loading policy corresponding to the target page.

3. The method according to claim 2, characterized in that The method further comprises: If the first page does not exist in the plurality of preset pages, determining, according to the preset corresponding relationship, a row number difference between the total number of rows of the target page and the total number of rows of each of the preset pages; If there is a second page among the plurality of preset pages whose corresponding row number difference is less than a second preset threshold, the page loading policy corresponding to the second page is used as the target loading policy corresponding to the target page.

4. The method according to claim 2 or 3, characterized in that: After visually presenting the data of the target page according to the target loading strategy, the method further includes: Visually present the target page according to the total number of rows of the target page and multiple preset paging row numbers, and determine the time consumption of the target page based on the first paging corresponding to each preset paging row number; If there is a first type of paging row number whose corresponding first paging time consumption is less than a third preset threshold value among the plurality of preset paging row numbers, then generating a first loading strategy for the target page according to the first type of paging row number; The correspondence between the target page and the first loading strategy is added to the preset correspondence to obtain an updated preset correspondence.

5. The method according to claim 4, characterized in that The number of the first-category paging rows is multiple, and one first-category paging row corresponds to one first loading strategy; the method further includes: Obtaining the total time consumption corresponding to the number of rows of each of the first-category pages of the target page; According to a fourth preset threshold, determining at least one second-category paging row number from all the first-category paging row numbers, wherein the total time consumption corresponding to the second-category paging row number is less than the fourth preset threshold; Determine a second loading strategy corresponding to each of the second-category paging rows from all the first loading strategies; The correspondence between the target page and each of the second loading strategies is added to the preset correspondence to obtain an updated preset correspondence.

6. The method according to any one of claims 1 to 3, characterized in that The target page includes user information, and the user information includes at least one of the following: user request time, user identity, user location information, and a browser identifier selected by the user.

7. A visual presentation device for page data, characterized in that: The device comprises: An acquisition module, used to acquire page request information, wherein the page request information is used to instruct to visually present data of a target page; A processing module, configured to determine a target loading strategy corresponding to the target page according to a preset correspondence between a plurality of preset pages and a plurality of page loading strategies, wherein the target loading strategy includes a target number of paging rows for the target page; The processing module is further used to visually present the data of the target page according to the target loading strategy.

8. A visual presentation device for page data, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the visualization presentation device of the page data is running, the processor executes the computer-executable instructions stored in the memory to enable the visualization presentation device of the page data to perform the method described in any one of claims 1-6.

9. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instructions, the computer performs the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises computer program instructions, which implement the method according to any one of claims 1 to 6 when the computer program instructions are executed.