Resource packaging method, device, electronic device and storage medium

A resource and static resource technology, applied in the Internet field, can solve problems such as low page loading speed, few resource server resource requests, and inability to fully utilize HTTP/2 multiplexing, so as to improve loading speed, average file size, and reduce effect of influence

Active Publication Date: 2022-06-03
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a resource packaging method, device, electronic equipment, and storage medium to at least solve the problem that the resource server in the related art can respond to fewer resource requests at the same time, and cannot fully utilize the multiplexing capability of HTTP / 2, resulting in page loading slow speed problem

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 packaging method, device, electronic device and storage medium
  • Resource packaging method, device, electronic device and storage medium
  • Resource packaging method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0042] It should be noted that the terms "first", "second" and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods ...

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 present disclosure relates to a resource packaging method, device, electronic equipment and storage medium. The method includes: acquiring a plurality of static resource files to be processed from the static resource files corresponding to each page of the application; according to the functional relationship of the plurality of static resource files to be processed, The static resource files of the static resource files are aggregated into multiple first sets; when the number of the first sets exceeds the preset number, the multiple first sets are aggregated into the preset according to the file size of the first set A set number of second sets; each static resource file to be processed in the second set is packaged into a static resource package, and a mapping relationship between the page and the static resource package is generated. The disclosure can reduce the number of resource requests that the resource server responds to at the same time, and improve the loading speed of the page.

Description

technical field [0001] The present disclosure relates to the field of Internet technologies, and in particular, to a resource packaging method, apparatus, electronic device, and storage medium. Background technique [0002] HTTP (Hyper Text Transfer Protocol) is the most widely used network protocol on the Internet. The original purpose of designing HTTP was to provide a method for publishing and receiving HTML (Hyper TextMarkup Language, Hyper Text Markup Language) pages. [0003] In the HTTP / 1.0 era, each TCP (Transmission Control Protocol, Transmission Control Protocol) connection can only carry one request resource. After upgrading to HTTP / 1.1, the same TCP connection is supported to carry multiple resource requests in the Keep-Alive (long connection) method, but the order must be sequential, and due to the blocking feature of the TCP header, it may cause serious blocking , so the limit on the number of connections is still not effectively improved. [0004] With the ...

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 Patents(China)
IPC IPC(8): H04L67/06H04L67/02G06F16/16
CPCH04L67/06H04L67/02G06F16/16
Inventor 殷勇
Owner BEIJING DAJIA INTERNET INFORMATION TECH 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