Unlock instant, AI-driven research and patent intelligence for your innovation.

An installation package processing method, device and device

A processing method and a technology of installing packages, which are applied in the Internet field, can solve problems such as long time consumption, and achieve the effects of reducing time, reducing size, and improving writing efficiency

Active Publication Date: 2022-08-02
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of installing and writing the npm installation package into the system, it often includes the download of a large number of tgz files. In this case, the tgz file needs to be decompressed into a large number of tar files. Often a Nodejs project may contain thousands of tar files. Causes the writing process to take 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
  • An installation package processing method, device and device
  • An installation package processing method, device and device
  • An installation package processing method, device and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of this specification provide a method, apparatus, device, and storage medium for processing an installation package.

[0038] In order to make those skilled in the art better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this specification. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments of the present specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0039] In one or more embodiments of this specification, in the process of downloading the js installation package through the package manager, stream parsing is performed on the ta...

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 embodiments of this specification disclose an installation package processing method, apparatus, and device. The solution includes: determining the installation package to be downloaded through the package manager, and the installation package contains a first number of tar files in order; in the process of downloading the tar file, stream analysis is performed on the tar file to determine each header file in the tar file and the positional relationship between the corresponding archived files; if the second number of qualified tar files are parsed by streaming, then the second number of tar files are spliced ​​according to the sequence and positional relationship to obtain the spliced ​​tar file. The second quantity is multiple and far less than the first quantity; each concatenated tar file is written into the file system, so as to complete the installation process of the installation package.

Description

technical field [0001] This specification relates to the field of Internet technologies, and in particular, to a method, apparatus, and device for processing an installation package. Background technique [0002] The package manager (Node Package Manager, npm) is a management tool for package management and distribution of Nodejs, which can realize the sharing of code and provide the convenience of using various plug-ins, libraries and frameworks. [0003] In the process of installing and writing the npm installation package to the system, it often includes the download of a large number of tgz files. In this case, the tgz files need to be decompressed into a large number of tar files. Often a Nodejs project may contain thousands of tar files. As a result, the writing process takes a long time. [0004] Based on this, a more efficient installation package processing solution is required. SUMMARY OF THE INVENTION [0005] One or more embodiments of this specification prov...

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): G06F8/71
CPCG06F8/71
Inventor 顾珠彬吴珂
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD