Data lazy-loading method and device

A technology of data loading and delayed loading, which is applied to program control devices, electrical digital data processing, program loading/starting, etc., and can solve problems such as slow interface startup speed

Inactive Publication Date: 2016-11-16
SHENZHEN YUNZHIJIA NETWORK CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a data delay loading method and device to solve the problem in the

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
  • Data lazy-loading method and device
  • Data lazy-loading method and device
  • Data lazy-loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] see figure 1 , which shows a flow chart of a data lazy loading method provided by an embodiment of the present invention, which may include the following steps:

[0032] S11: Put the put message at the end of the View message queue, where the put message includes a data loading message.

[0033] It should be noted that the messages contained in the View message queue are the View initialization messages and data loading messages involved in the startup...

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 discloses a data lazy-loading method and device. The method comprises the following steps: putting a put message comprising a data loading message to the end of a View message queue; executing the put message to put the data loading message to the end of a main thread message queue. Compared with the prior art, the method and the device have the advantages that the data loading message is put to the end of the main thread message queue by the steps, other messages in the main thread message queue include a View initialization message, and then, the data loading message can be executed to load data required to be loaded by an App interface after the View initialization message in a main thread is executed, that is, the corresponding App interface is started, so that influence of data loading on starting of the App interface is avoided, and the starting speed of the App interface is increased.

Description

technical field [0001] The present invention relates to the technical field of APP interface startup, and more specifically, to a data delay loading method and device. Background technique [0002] The startup of the Android App and the startup of the interface are generally accompanied by the initialization of the View and the acquisition of data. [0003] However, when the amount of data involved in the interface is relatively large for the App, the interface takes a relatively long time during the startup process, and this time will be directly reflected in the startup speed of the interface, resulting in the startup of the interface. slower. [0004] Therefore, there is a problem in the prior art that if the amount of data involved in the App interface is large, the startup speed of the interface will be slow. Contents of the invention [0005] The purpose of the present invention is to provide a data delay loading method and device to solve the problem in the prior ...

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): G06F9/44G06F9/445
CPCG06F9/44505G06F9/451
Inventor 唐沃源谈应奇
Owner SHENZHEN YUNZHIJIA NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products