Data compression method and device for application program and computer readable storage medium

A data compression and application technology, applied in computing, electrical digital data processing, special data processing applications, etc., can solve problems such as excessive manpower, waste of time, and incremental connection between versions, to improve efficiency, reduce useless compression, The effect of improving user experience

Active Publication Date: 2019-06-28
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, two methods are commonly used for image compression. One is to manually compress images, that is, artificially drag and drop images one by one into the compression tool, which requires more manpower and wastes time; the other is to call API batch compression Files, directly replace the compressed pictures, which may cause some pictures to be compressed without necessary compression, and there is no connection with the version increment, so the compressed content of the pictures cannot be automatically submitted to the repository

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
  • Data compression method and device for application program and computer readable storage medium
  • Data compression method and device for application program and computer readable storage medium
  • Data compression method and device for application program and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0073] For code management and continuous integration, a variety of management tools have emerged, including svn, git, Jenkins, maven, Gradle, etc., which are widely used now. Git is an open source distributed control system that can effectively and quickly handle project management from small to very large. Jenkins is a continuous integration tool developed based on Java. It is used to...

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 a data compression method and device for an application program and a computer storage medium. The data compression method of the application program comprises the steps of traversing a plurality of folders included in a code branch, and obtaining a first file meeting a data compression requirement; Compressing the first file to obtain a corresponding second file; When thecompression ratio of the second file is higher than a first threshold value, replacing the first file with the second file, Wherein the code branch is a related file of the application program, and the plurality of folders are folders needing to be packaged into the application program. According to the data compression method of the application program, the first file is selectively compressed by presetting the first threshold value, so that useless compression is reduced, the compression efficiency of the application program is improved, and meanwhile, the user experience is improved.

Description

technical field [0001] The present application belongs to the field of computer software applications, especially a data compression method, device and computer-readable storage medium for application programs. Background technique [0002] The size of the Android application storage space affects the user experience. If the application storage space is too large, the user needs to download too much traffic, and it takes up a lot of mobile phone memory, which is likely to cause poor performance such as mobile phone freezing and heating. One of the solutions to reduce the storage size of android applications is to compress images. [0003] In related technologies, two methods are commonly used for image compression. One is to manually compress images, that is, artificially drag and drop images one by one into the compression tool, which requires more manpower and wastes time; the other is to call API batch compression Files, directly replace the compressed pictures, which ma...

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): G06F16/174G06F16/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