Modification method and device for compressed file

A technology of compressing files and modifying instructions, which is applied in the computer field, can solve the problems of cumbersome operation and long time consumption, and achieve the effect of simple and time-saving process and easy modification

Active Publication Date: 2019-11-15
BEIHANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for modifying compressed files to solve the technical problems of cumbersome operations and long time-consuming when modifying compressed files in the prior art

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
  • Modification method and device for compressed file
  • Modification method and device for compressed file
  • Modification method and device for compressed file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0054] The method and device for modifying compressed files involved in the present invention aim to solve the technical problem in the prior art that when modifying a compressed file, it is necessary to go through three steps of decompression, modification and compression, resulting in cumbersome operations and long time consumption.

[0055] The...

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 provides a compressed file modification method and device. The method comprises the following steps of: receiving a modification instruction input by a user, wherein the modification instruction comprises a to-be-modified character and a modification character, and is used for updating the to-be-modified character in a compressed file into the modification character; analyzing the compressed file to obtain a code table and a binary code stream of the compressed file, wherein the code table comprises binary codes corresponding to different characters in the compressed file, and the binary code stream comprises binary codes which are arranged according to sequence of the characters in the compressed file; obtaining a first binary code of the to-be-modified character and a second binary code of the modification character; and replacing the first binary code in the binary code stream by the second binary code. According to the method and device provided by the invention, the binary code stream of the compressed file is directly modified without decompression and compression, so that the whole process is simple and time-saving, and the rapid and simple modification of the compressed file is realized.

Description

technical field [0001] The invention relates to computer technology, in particular to a method and device for modifying compressed files. Background technique [0002] With the development of computer technology and big data, in the process of file transmission, especially the transmission of large data files, files need to be compressed to increase the transmission speed. [0003] Existing common file compression methods mainly include gzip method and snappy method, which can quickly and accurately compress files. However, in actual use, it is often encountered that the compressed file is modified. At present, when the gzip method or the snappy method modifies the compressed file, it is necessary to first decompress the compressed file to obtain a text file, then modify the text file, and then compress the modified text file. [0004] From the above, it can be known that when modifying a compressed file, three steps of decompression, modification and compression must be p...

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): G06F16/174G06F16/16
CPCG06F16/16G06F16/1744
Inventor 李建欣何川彭浩张扬扬
Owner BEIHANG UNIV
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