Resource package generation method and apparatus, computer device and storage medium

A storage medium and resource package technology, applied in the field of computer equipment, storage medium, and resource package generation, can solve the problems of wasting server traffic resources and large front-end resource packages, etc.

Pending Publication Date: 2018-09-07
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the actual development process, some resources in the front-end resource pack may not be used, which leads to more redundant r

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 package generation method and apparatus, computer device and storage medium
  • Resource package generation method and apparatus, computer device and storage medium
  • Resource package generation method and apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0032] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0033] It should also be understood that the terminology used in the specificati...

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

Embodiments of the invention disclose a resource package generation method and apparatus, a computer device and a storage medium. The method comprises the steps of obtaining attribute information corresponding to all resource files in a preset source library, wherein the attribute information includes resource file identifier information and storage address information corresponding to the resource files; according to the resource file identifier information and the corresponding storage address information, generating index files; if a packaging instruction is received, obtaining to-be-packaged resource file identifier information; according to the index files, obtaining storage address information of to-be-packaged resource files related with the to-be-packaged resource file identifier information; and according to the storage address information of the to-be-packaged resource files, obtaining the to-be-packaged resource files in a preset resource library and performing packaging togenerate a resource package. The method can reduce a quantity of useless resource files in the small resource package, thereby reducing the size of the resource package and saving the flow consumed for sending the resource package by a server.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a resource package generation method, device, computer equipment and storage medium. Background technique [0002] Generally speaking, when developers develop a project, they will package front-end resources such as JS resources and CSS resources that may be used in the entire project in advance to form a front-end resource package, so as to be called in the subsequent development process. However, in the actual development process, some resources in the front-end resource package may not be used, which leads to more redundant resources in the front-end resource package, resulting in a larger front-end resource package, which will be later loaded when HTML and other pages are loaded. , will waste more traffic resources of the server. Contents of the invention [0003] The present application provides a resource pack generation method, device, computer equipment...

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): G06F8/61G06F9/445G06F17/30
CPCG06F8/61G06F9/44521
Inventor 邱柏宏
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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