Installation package downloading method and device, electronic equipment and storage medium

A technology of installing and compressing packages, which is applied in the computer field, can solve problems such as long time consumption and large resource consumption, and achieve the effects of reducing traffic, reducing size, and saving traffic resources

Pending Publication Date: 2019-05-31
CHINA PING AN LIFE INSURANCE CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above, it is necessary to propose an installation package download method, device, computer device and computer-readable storage medium to solve the problems of excessive time consumption and excessive resource consumption when downloading the installation package

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
  • Installation package downloading method and device, electronic equipment and storage medium
  • Installation package downloading method and device, electronic equipment and storage medium
  • Installation package downloading method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 It is a schematic diagram of the application environment of the installation package download method of the present invention.

[0048] Refer to figure 1 As shown, the installation package download method is applied to a server 1 and at least one client 3, and the server 1 is connected to at least one client 3 through a network 2. Wherein, the network 2 may be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcasting, etc. In an embodiment, the server 1 may be a single server or a server group. The client 3 may be a notebook computer, desktop computer, tablet computer, mobile phone and other devices.

[0049] figure 2 It is a flowchart of a preferred embodiment of the installation package downloading method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0050] Refer to figure 2 As shown, the installation ...

Embodiment 2

[0082] image 3 It is a structural diagram of the installation package downloading device 40 in an embodiment of the present invention.

[0083] In some embodiments, the installation package downloading device 40 runs in an electronic device. The installation package download device 40 may include a plurality of functional modules composed of program code segments. The program code of each program segment in the installation package downloading device 40 can be stored in a memory and executed by at least one processor to perform the function of document verification.

[0084] In this embodiment, the installation package downloading device 40 of the electronic device can be divided into multiple functional modules according to the functions it performs. Refer to image 3 As shown, the installation package downloading device 40 may include a packaging module 401, a path insertion module 402, a calculation module 403, a compression module 404, a receiving module 405, a compiling modu...

Embodiment 3

[0116] Figure 5 It is a schematic diagram of a preferred embodiment of the electronic device 7 of the present invention.

[0117] The electronic device 7 includes a memory 71, a processor 72, and a computer program 73 stored in the memory 71 and running on the processor 72. When the processor 72 executes the computer program 73, the steps in the above installation package download method embodiment are implemented, for example figure 2 Steps 201 to 207 shown. Alternatively, when the processor 42 executes the computer program 43, the functions of the modules / units in the foregoing device embodiments are implemented, for example image 3 Modules 401 to 407 in.

[0118] Exemplarily, the computer program 73 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 71 and executed by the processor 72 to complete this invention. The one or more modules / units may be a series of computer program instruction segments capable of completing...

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 invention relates to an installation package downloading method and device, electronic equipment and a storage medium. The method comprises the following steps: independently packaging a third-party library in an installation package to generate a dynamic link file; inserting the path of the generated dynamic link file into an HTML template file in an installation package, so that the dynamiclink file is loaded when a page of the HTML template file is started; calculating an MD5 value of the function module file by adopting an MD5 algorithm for the function module file in the installationpackage; receiving installation package downloading request information sent by the client; obtaining the installation package and a dynamic link file related to the installation package according tothe received installation package downloading request information, and compiling the obtained dynamic link file to reduce the size of the dynamic link file; and packaging the reduced dynamic link file and the installation package, and sending the packaged dynamic link file and installation package to the client. According to the method and the device, the problems of overlong consumed time and overlarge resource consumption when the installation package is downloaded can be solved.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, electronic equipment and storage medium for downloading an installation package. Background technique [0002] Currently, most third-party libraries are downloaded in parallel, resulting in excessive page requests and excessive resource consumption. At the same time, the H5 resources need to be copied to the APP directory before the APP is released, which causes the APP installation package to be too large. Summary of the invention [0003] In view of the above, it is necessary to provide an installation package downloading method, device, computer device, and computer-readable storage medium to solve the problem of excessive time and resource consumption when downloading the installation package. [0004] The first aspect of the present application provides a method for downloading an installation package, and the method includes: [0005] Independently packa...

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): H04L29/08G06F8/61
CPCY02D30/50
Inventor 杨凯
Owner CHINA PING AN LIFE INSURANCE 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