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

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: 2015-02-04
AGRICULTURAL BANK OF CHINA
View PDF4 Cites 3 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
  • Code compression method and system
  • Code compression method and system
  • 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 a code compression system, applied to a pre-constructed compression environment. The method comprises steps of sub-packaging a development code in a development code file depending on a preset compression rule to obtain a plurality of original code packages, wherein each original code package corresponds to a package configuration file and the package configuration file includes a compression way of the corresponding original code package; setting a switch variable for a code file making quotation of each original code package; confirming a compression configuration file depending on a compression rule, wherein the compression configuration file includes a compression attribute; and executing the compression configuration file so that each original code package is compressed through the compression way in corresponding package configuration document to obtain a plurality of compression code packages, wherein a compression code file is constituted by the compression code packages, the compression structures of the compression code packages in the compression code file correspond to the compression attribute, and each compression code package in the compression code file is associated with the switch variable of the corresponding 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
IPC IPC(8): G06F9/45
Inventor 李宸赵佳国范建刚王浩远金鑫
Owner AGRICULTURAL BANK OF CHINA