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

Method and device of loading application view resource file

A resource file and file technology, applied in the computer field, can solve problems such as the white screen state of the application client interface, long startup time, and complex application functions, and achieve the effects of avoiding the white screen phenomenon, saving user traffic, and shortening the startup time

Active Publication Date: 2017-04-19
TENCENT MUSIC & ENTERTAINMENT SHENZHEN CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Using react-native to develop applications provides convenience for developers, but the more complex the functions of the developed application, the larger the resource file package generated by react-native after local compilation and packaging, because the entire resource file package needs to be packaged when the application starts for the first time Loading, which leads to a long startup time, and the application client interface is in a white screen state for a long time

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
  • Method and device of loading application view resource file
  • Method and device of loading application view resource file
  • Method and device of loading application view resource file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0028] The term "first" in the description and claims of the present invention and the above drawings is used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed step...

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 provides a method and device of loading an application view resource file. The method for loading the application view resource file comprises the following steps: obtaining a starting instruction of an application client; obtaining a react-native basic module file of the application client and a basic business file of the application client; merging the basic module file and the basic business file into a target application resource file package; and initializing the react-native environment according to the target application resource file package, and creating an interface view of the application client in the react-native environment. According to the technical scheme provided by the invention, the resource file package loaded when the application client is started is smaller, therefore the starting time of the application client is shortened, and the white screen phenomenon is avoided.

Description

technical field [0001] The present invention relates to the technical field of computers, and in particular, to a method and device for loading application view resource files. Background technique [0002] With the development of computing technology, developers have used various development technologies to develop various Internet products such as websites and clients, enriching the work and life of the public, and bringing various conveniences to people. In order to make various development technologies develop rapidly, developers promote various development technologies to become more mature by sharing open source projects on the Internet. React-native is one of these open source projects. Language), React (a design idea) is used to abstract the native UI (User Interface, user interface) components of the operating system, instead of DOM (DocumentObject Model, document object type) elements for rendering. [0003] The use of react-native to develop applications provides...

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/445
CPCG06F9/44521
Inventor 庄子健
Owner TENCENT MUSIC & ENTERTAINMENT SHENZHEN 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