Data loading method and device, computer equipment and storage medium
A technology of data loading and storage media, applied in the Internet field, can solve problems such as time-consuming, reducing the fluency of human-computer interaction, and not being able to display in time, so as to improve fluency, avoid loading freezes, and provide better user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] see figure 1 As shown, it is a flow chart of the data loading method provided by Embodiment 1 of the present disclosure. The method includes steps S101-S103, wherein:
[0049] S101. When the application starts, read the respective style types of each list item in the target page;
[0050] S102. According to the respective style types of each list item in the target page and the preset delay loading style type, determine the list items to be delayed loaded from the list items in the target page as the first type of list items, and set the list items in the target page List items other than those listed in the first category are used as list items in the second category;
[0051] S103. Prioritize loading the data of the second-type list items and perform view rendering, and render the view of the first-type list items but delay loading the data of the first-type list items, and wait for the data of the second-type list items to be loaded and rendered When done, render t...
Embodiment 2
[0089] refer to image 3 As shown, it is a schematic diagram of a data loading device provided in Embodiment 2 of the present disclosure, and the device includes: a reading module 301, a determining module 302, and a loading module 303; wherein,
[0090] A reading module 301, configured to read the respective style types of each list item in the target page when the application program is started;
[0091] The determining module 302 is configured to determine the list items to be delayed loaded from the list items in the target page as the first type of list items according to the respective style types of each list item in the target page and the preset lazy loading style type, and Use other list items in the target page except the first-type list items as the second-type list items;
[0092] The loading module 303 is configured to preferentially load the data of the second type of list item and perform view rendering, and render the view of the first type of list item but d...
Embodiment 3
[0109] Embodiments of the present disclosure also provide a computer device, such as Figure 4 As shown, it is a schematic structural diagram of a computer device provided by an embodiment of the present disclosure, including: a processor 401 , a memory 402 , and a bus 403 . The memory 402 stores machine-readable instructions executable by the processor 401 (for example, image 3 The reading module 301, the determination module 302, the execution instructions corresponding to the loading module 303 in the device for loading data in the device, etc.), when the computer device is running, the processor 401 communicates with the memory 402 through the bus 403, and the machine-readable instructions are Processor 401 executes the following processes during execution:
[0110] When the application starts, read the respective style types of each list item in the target page;
[0111] According to the respective style types of each list item in the target page and the preset lazy lo...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com