Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

List loading method and system, electronic equipment and readable storage medium

A preloading and task queue technology, applied in the list field, can solve the problems of APP crash, cache data waste, and cost, and achieve the effect of avoiding avalanche

Pending Publication Date: 2021-04-16
BEIKE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is a cost to send additional data requests for multiple detail pages on the list page, which requires system resources such as network, IO, and threads. If there is no limit, the system resources will be exhausted, and the APP will crash; and, the user It is unknown which cards will be clicked to enter the details page, so some pre-requested cached data will be wasted. If there is no optimization strategy, the benefit of preloading will not be high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • List loading method and system, electronic equipment and readable storage medium
  • List loading method and system, electronic equipment and readable storage medium
  • List loading method and system, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0055] figure 1 A schematic diagram of the list loading method provided by the present invention, such as figure 1 As shown, the method includes:

[0056] Listen to the events generated by the data prefetching page, filter and delay the events based on the business configuration, generate a preloading task, and add the preloading task to the preset task queue for queuing.

[0057] The data...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a list loading method and system, electronic equipment and a readable storage medium, and the method comprises the steps: monitoring an event generated by a data pre-fetching page, carrying out the filtering and delaying of the event based on the configuration of business, generating a pre-loading task, and adding the pre-loading task into a preset task queue for queuing; extracting and executing the preloading task in the preset task queue, and storing the executed preloading data; and reading and selectively loading the data based on the service request and the preloaded data. According to the method, the data of the detail page is preloaded in the list, the strategy control capability is achieved, and the optimal balance point can be found among the maximum loading, the minimum resource consumption and the maximum hit rate; by controlling the total amount of preloading tasks, the number of concurrent tasks, the number of stored data and occupied memory, system consumption is monitored, visualization is performed in a debugging environment, and app avalanche is avoided; the abstract realization can cover a plurality of similar services.

Description

technical field [0001] The present invention relates to the list field, in particular to a list loading method and system, electronic equipment and a readable storage medium. Background technique [0002] Many businesses are list-detail interactive scenarios. The list page displays the brief information of all products through cards, and the detail page displays all the information of a specific product. For a specific product, the data displayed by the card on the list page is only a subset of the data displayed on the details page, so after entering the details page from the list page, it is necessary to send a request to the server to obtain the full set of data, which allows the user to enter After the details page, you need to wait for the server to return, which is not a good experience. [0003] In order to improve the experience, it is necessary to request the complete set of data required by the details page from the server in advance on the list page. When the use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/957G06F9/451G06F9/445G06F9/54
Inventor 卢卫玉
Owner BEIKE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products