Compressed file modification method and device

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 process, time saving and easy modification

Active Publication Date: 2017-06-23
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

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
  • Compressed file modification method and device
  • Compressed file modification method and device
  • Compressed file modification method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

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

[0054] The method and device for modifying compressed files in the present invention aim to solve the technical problems of decompression, modification and compression in the prior art when modifying compressed files, which causes complicated operations and long time-consuming technical problems.

[0055] The technical solution of this ...

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
IPC IPC(8): G06F17/30
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