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

ZIP package decompression method based on Zlib library and AES algorithm

An algorithm and data packet technology, applied in the field of AES decryption algorithm, can solve the problem of unable to process data normally, not support AES encryption and decryption algorithm, etc., to achieve the effect of occupying less CPU, fast processing and high efficiency

Active Publication Date: 2017-06-09
RUN TECH CO LTD BEIJING
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, Zlib only supports simple encryption algorithms and does not support AES encryption and decryption algorithms; so the resulting problem is that the Zlib library cannot normally process AES-encrypted data reported by the website

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
  • ZIP package decompression method based on Zlib library and AES algorithm
  • ZIP package decompression method based on Zlib library and AES algorithm
  • ZIP package decompression method based on Zlib library and AES algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below through specific embodiments and drawings.

[0027] figure 1 It shows the entire process of processing website data reported in the prior art. As shown in the figure, first receive the ZIP package data from the on-site handling program, scan the corresponding directory, then decompress the ZIP package file, then scan the bcp file and the entity file after decompressing the ZIP package file, and finally convert the format of the bcp file , That is, obtain invalid data and verify valid data, and then extract specific information from these valid data; entity files are entered into the full-text database. The invention in this article is based on the original Zlib library, adding AES algorithm to decompress ZIP package method, located in figure 1 The third link.

[0028] 1. Decompression module design

[0029] Although 7zip has a high compression rate and supports AES encryption and decryption, 7zip occupies a high CPU, whic...

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 ZIP package decompression method based on a Zlib library and an AES algorithm. The method comprises: (1), ZIP packet data of a website are obtained, a file is read from a ZIP package, and whether an AES algorithm is used for encryption is determined; and (2), for the ZIP packet data using the AES algorithm for encryption, the AES algorithm is added based on a Zlib library to carry out decryption and decompression on the ZIP packet. Furthermore, at the step (2), the AES algorithm is packaged into a libaes.a static library file and the Zlib library is packaged into a liba.so dynamic library file. According to the ZIP package decompression method, an open-source compressed Zlib project is improved and optimized and the AES decryption algorithm is added, so that a YCL can process data reported by a website operator rapidly and accurately. Compared with the 7-zip algorithm, the AES algorithm has advantages of high efficiency and reduced occupied CPU.

Description

Technical field [0001] The invention relates to the technical field of computer information security, and is a Zlib open source compression and decompression project, which is optimized and an AES decryption algorithm is added. The application program calls the Zlib dynamic link library to decrypt and decompress the AES encrypted ZIP package. Background technique [0002] The development of science and technology has enabled computers to penetrate into all aspects of our lives, and compression, as a very typical technology, is applied to many occasions, such as file systems, databases, and message transmission. Compression can be divided into lossless compression and lossy compression; lossy means that the original information cannot be completely restored after compression, but the compression rate is high; lossless compression is used for files and other occasions where information must be completely restored, as mentioned in this article ZIP file is a lossless compression. [...

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): H04L9/06G06F17/30
CPCH04L9/0631G06F16/215
Inventor 孙永超
Owner RUN TECH CO LTD BEIJING