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

Resource file loading method and device, electronic equipment and storage medium

A technology of resource files and files, applied in the field of app development, can solve problems such as inability to update resource files in time

Pending Publication Date: 2019-10-25
WUBA
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a resource file loading method, device, electronic equipment and storage medium to solve the problem that the existing resource loading method cannot update the resource file in 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
  • Resource file loading method and device, electronic equipment and storage medium
  • Resource file loading method and device, electronic equipment and storage medium
  • Resource file loading method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with 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.

[0063] figure 1 It is a schematic flowchart of a resource file loading method provided by an embodiment of the present invention. Such as figure 1 As shown, the resource file loading method provided in this embodiment includes:

[0064] S1. When the App starts, obtain the current version number of the resource file from the configuration file of the App.

[0065] When the App starts, it first obtains the current version number of the resource file from the co...

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 resource file loading method and a device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a current version numberof a resource file from a configuration file of an App when the App is started; judging whether the current version number is lower than the available version number; if the current version number islower than the available version number, downloading a new version resource file from the network to a resource file downloading directory of the App; searching a target resource file required to be loaded in the resource file downloading directory; and loading target resource files. Visibly, before the resource file is really loaded, the resource file capable of supporting the normal operation ofthe App is downloaded, so that when the App needs to load the resource file, only the downloaded target resource file needs to be directly loaded. Therefore, the resource file can be updated in time,meanwhile, the time for waiting for operations such as App page display by the user is greatly shortened, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of software development, and in particular to a resource file loading method, device, electronic equipment and storage medium. Background technique [0002] During normal operation of an App (Application, application software), various required resource files need to be loaded into memory, and then read operations are performed on these resource files. If the version of the resource file is inappropriate or the loading speed of the resource file is too slow, it will affect the normal operation of the App. [0003] In order to improve the loading speed of resource files, usually the resource files to be loaded can be pre-stored in the local resource folder of the App. In this way, when the relevant resource files need to be loaded, they can be directly loaded from the local resource folder, thereby saving the time for downloading the resource files and improving the overall loading speed of the res...

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/957G06F16/958
CPCG06F16/957G06F16/958G06F16/9574
Inventor 高庆芳
Owner WUBA
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