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

Page loading method and device, equipment and storage medium

A page loading and page technology, applied in the computer field, can solve the problems of reducing page loading efficiency and complicated operation, and achieve the effect of improving page loading efficiency

Active Publication Date: 2021-07-16
北京鲲鹏映像文化传媒有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in the application software developed based on the Android system, the loading operation of the page is usually only implemented and processed based on the native module, which makes the operation more complicated, thereby reducing the efficiency of page loading

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
  • Page loading method and device, equipment and storage medium
  • Page loading method and device, equipment and storage medium
  • Page loading method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of a page loading method provided by Embodiment 1 of the present invention. This embodiment is applicable to loading each component in a page so that the page can be displayed later. The method can be executed by a page loading device, which can be realized by software and / or hardware, and integrated in devices equipped with an Android system, such as intelligent terminals such as smart phones, tablet computers, smart TVs or notebook computers. Such as figure 1 As shown, the method specifically includes the following steps:

[0026] S110. Obtain the current fragment object in the page to be loaded, wherein the current fragment object is determined based on the preset response fragment class in the native module.

[0027] Wherein, the page to be loaded may refer to any kind of page to be loaded. For example, the page to be loaded may be, but not limited to, a concerned page and the like. The current fragment object may refer to a Fragment ...

Embodiment 2

[0053] figure 2 It is a flow chart of a page loading method provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment performs the steps of "loading the response view object in the local response module, and adding the response view object to the target container Object, and initialize the response view object" was optimized, and on this basis, the subpackage loading operation of the local response module was also described in detail. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0054] see figure 2 , the page loading method provided in this embodiment specifically includes the following steps:

[0055] S210. Obtain the current fragment object in the page to be loaded, where the current fragment object is determined based on the preset response fragment class in the native module.

[0056] S220. In the page startup life cycle function of the cu...

Embodiment 3

[0079] image 3 It is a schematic structural diagram of a page loading device provided by Embodiment 3 of the present invention. This embodiment is applicable to loading each component in a page so that the page can be displayed later. The device specifically includes: a current fragment object acquisition module 310 , a target container object determination module 320 and a response view object initialization module 330 .

[0080] Among them, the current fragment object acquisition module 310 is used to obtain the current fragment object in the page to be loaded, wherein the current fragment object is determined based on the preset response fragment class in the native module; the target container object determination module 320 is used to obtain the current fragment object in the current fragment object In the page startup life cycle function of the current fragment object, the page view object corresponding to the current fragment object is loaded, and the target container ...

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 embodiment of the invention discloses a page loading method and device, equipment and a storage medium, and the method comprises the steps: acquiring a current fragment object in a to-be-loaded page, wherein the current fragment object is determined based on a preset response fragment class in a native module; in the page starting life cycle function of the current fragment object, loading a page view object corresponding to the current fragment object, and determining a target container object under the page view object; and in the first visible life cycle function of the current fragment object, loading a response view object in a local response module, adding the response view object into the target container object, and initializing the response view object. Through the technical scheme of the embodiment of the invention, the native module and the local response module can be subjected to function fusion to realize the loading operation of the page, so that the page loading efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a page loading method, device, equipment and storage medium. Background technique [0002] The native module can be a functional module that has been edited in the Android system or the IOS system. For example, a native module may be a web module. A native module may also refer to a module written in a language other than JavaScript. The local response RN (React Native) module is an open source cross-platform mobile application development framework. The Native Response RN module is a module written in Javascript language. [0003] At present, in the application software developed based on the Android system, the loading operation of the page is usually only implemented and processed based on the native module, which makes the operation more complicated, thereby reducing the page loading efficiency. Contents of the invention [0004] Embodiments of the pr...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/957
CPCG06F16/9574
Inventor 张磊
Owner 北京鲲鹏映像文化传媒有限公司
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