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

A code compression method and system

A technology of code compression and compression, applied in memory systems, program control design, instruments, etc., can solve problems such as inability to locate accurately and reduce code development efficiency

Active Publication Date: 2017-11-24
AGRICULTURAL BANK OF CHINA
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The object of the present invention is to provide a code compression method and system to solve the code compression scheme in the prior art, completely separate the compressed code from the development code, and usually combine multiple functions or types of code modules into one In a code file, when there is a problem in the test or effect comparison, the code module that has the problem cannot be accurately located, and each module needs to be tested in turn, thereby significantly reducing the technical problem of code development efficiency

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
  • A code compression method and system
  • A code compression method and system
  • A code compression method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0069] refer to figure 1 , is a flow chart of Embodiment 1 of a code compression method provided by the present invention, wherein the method is applied in a pre-built compression environment, and the compression environment can be understood as: under the code structure of a normal development environment , configure the environment required for compression construction to obtain a compression environment. In this embodiment, the Java environment can be 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a code compression method and system, which are applied in a pre-built compression environment. The method includes: subcontracting the development code in the development code file according to the preset compression rules to obtain multiple original Code package, each original code package corresponds to its package configuration file, the package configuration file contains the compression method of the original code package to which it belongs; set switch variables for the code files that refer to each original code package; determine the compression configuration according to the compression rules file, the compression configuration file contains compression attributes; execute the compression configuration file, so that the corresponding original code package is compressed in the compression mode in each package configuration file, and multiple compressed code packages are obtained, and the compressed code package A compressed code file is formed, the compressed structure of the compressed code package in the compressed code file corresponds to the compressed attribute, and each compressed code package in the compressed code file is associated with a switch variable corresponding to the original code package.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a code compression method and system. Background technique [0002] In software application development, in order to make the code file smaller, the execution efficiency is higher, and for the purpose of protecting the code, the code that enters the actual use is generally compressed. [0003] In the existing javascript compression schemes, development and compression are usually separated, that is to say, after the basic development is completed, the compressed code is obtained by compressing the code once, and then the source code and the compressed code are repeated many times. After the effect comparison, to obtain the compressed code that is successfully compressed, update the compressed package to the actual application system. [0004] Among them, in the existing compression scheme, the compressed code and the development code are completely separated, and us...

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): G06F9/45
Inventor 李宸赵佳国范建刚王浩远金鑫
Owner AGRICULTURAL BANK OF CHINA