Installation package management method and device and electronic equipment

An installation package and stack processing technology, applied in the field of installation package management and installation package management, can solve the problems of complex operation, insignificant installation package effect, different application effects of installation packages, etc., and achieve the effect of reducing size

Active Publication Date: 2019-11-12
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventor found in the process of realizing the present invention that at least the following problems exist in the prior art: when reducing the size of the installation package, the operation is relatively complicated, usually using The method of deleting part of the data of the installation package, such as optimizing the code to reduce the reuse rate, the operation of this method is more complicated, and the effect is not the same for different installation packages, and when the res file is simplified, the relative installation The size of the bag can achieve the effect is not obvious

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 management method and device and electronic equipment
  • Installation package management method and device and electronic equipment
  • Installation package management method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0053] In order to effectively optimize the installation package, the embodiments of the present invention provide a method, device and electronic equipment for managing the installation package.

[0054] see figure 1 , the embodiment of the present invention first provides a method for installation package management, the method may include the following steps:

[0055] Step 110, obtaining the Java bytecode file of the installation package to be processed.

[0056] The installation package management method in the embodiment of the present invention is aimed at the installation package in the smart terminal device, so it can be executed by the smart terminal device. Specifically, the smart terminal device can be a computer or a server.

[0057]The installation package may be an installation package o...

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 provide an installation package management method and apparatus, and an electronic device. The method comprises the steps of obtaining a Java byte code file of a to-be-processed installation package; acquiring node data of the Java bytecode file through a bytecode control framework ASM framework; carrying out stack pushing processing on the node data, and positioning atarget log file; and replacing the data in the target log file by utilizing the empty string. Therefore, the log files in the installation package can be automatically searched for through the ASM framework in the compiling process of the installation package, log data in the installation package can be deleted, and the purpose of reducing the size of the installation package is achieved.

Description

technical field [0001] The technical field of installation package management that the present invention relates to, in particular, relates to a method, device and electronic equipment for installation package management. Background technique [0002] At present, with the improvement of mobile phone performance and enhancement of functions, the size of applications in mobile phones is also getting larger and larger, which leads to an increasing proportion of the installation package in the memory of the user's mobile phone, affecting the user's understanding of the mobile phone. App experience effects. The prior art usually adopts when reducing the size of the installation package of the mobile phone application: simplifying the content in the res file (resources, resource file), including the character strings stored therein, program icons, other referenced pictures, etc.; Carry out subpackage optimization processing, reuse what can be reused as much as possible, and minim...

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): G06F8/61G06F8/41G06F8/72
CPCG06F8/61G06F8/41G06F8/72Y02D10/00
Inventor 张韩
Owner BEIJING QIYI CENTURY SCI & 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