Device and method for compressing file outgoing packet

A technology of compressing files and files, which is applied in the field of file transmission, can solve the problems of large size and difficult portability of outsourced files, and achieve the effect of expanding disk space

Pending Publication Date: 2020-04-03
山东华软金盾软件股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the deficiencies of the prior art, the present invention provides a device and method for outsourcing files, which solves the problem that the outsourced files are too large and difficult to carry. On the premise of ensuring the integrity and stability of the outbound function of the virtual volume, the compressed model The size of the outgoing file is greatly compressed, and the final virtual volume size and the outgoing packet size are no longer linearly related

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
  • Device and method for compressing file outgoing packet
  • Device and method for compressing file outgoing packet
  • Device and method for compressing file outgoing packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0043] Embodiments of the invention: see figure 1 and image 3 , a device for outsourcing compressed files, comprising a packaging module and a viewing module, the packaging module comprising:

[0044] The adjustment unit adjusts the attributes of the virtual volume mount file to a sparse file through the API during the process of sending out the package. The specific method is to pass in the FILE_FLAG_SEQUENTIAL_SCAN parameter to create the file when creating the file through CreateFile;

[0045] Create a compression model unit to realize the compression of the sparse file content. The starting part of the compressed file is the sparse file header. The format of the sparse file header is as follows:

[0046]

[0047] The m_dwVerify field is a compressed file check digit with a length of 64 bits, which is used to verify whether the file is a compressed file.

[0048] The m_dwVersion field is the version number of the compressed file with a length of 64 bits and is used t...

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 device and method for compressing a file outgoing packet, and the device comprises a packaging module and a viewing module, and the packaging module is provided with an adjustment unit, a compression model creation unit, and a compression unit; the viewing module is provided with a decompression unit. The method for compressing the file outgoing packet comprises an outgoing packet packaging process and an outgoing packet viewing process. The package outgoing process comprises the steps of firstly creating a virtual volume, then mounting the virtual volume and writingthe virtual volume into a file to generate a virtual volume mounting file, compressing the virtual volume mounting file into a compressed file through a compressed sparse file algorithm, and then outgoing a compressed file outgoing package. The outgoing package viewing process includes that the compressed file is extracted, then the compressed file is decompressed through a decompression algorithm, the decompressed file is mounted to generate a sparse file, the file of the outgoing package is viewed. The problem that the outgoing package file is large in size and not easy to carry is solved.

Description

technical field [0001] The invention relates to the technical field of file transmission, in particular to a device and method for outsourcing compressed files. Background technique [0002] The principle of the file sending function realized by the virtual volume technology is to mount the disk file as a virtual disk through the disk driver, and then perform file operations on the generated virtual disk. All operations are carried out in the virtual disk. At the same time, strong encryption is performed on the read and write operations to the disk in the driver. In this way, there is no third-party application software compatibility problem caused by the outgoing function realized by the ordinary upper-level hook scheme to control the outgoing files, and the encryption strength based on the disk drive is high, and the encryption algorithm is difficult to crack. Sending a file generates a virtual volume, and because the virtual volume needs to reserve a part of storage spac...

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): G06F3/06G06F16/16G06F16/174
CPCG06F3/0605G06F3/0643G06F3/065G06F3/0665
Inventor 娄国栋
Owner 山东华软金盾软件股份有限公司
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