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

Fast file packaging method, system and device and medium

A file and fast technology, which is applied in the computer field, can solve problems such as large amount of calculation, easy modification and cracking, and long time consumption, and achieve the effects of reducing memory usage, improving versatility, and improving security

Pending Publication Date: 2020-06-05
FUJIAN CENTM INFORMATION
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For file packaging, the traditional method is to package files into rar, zip, gz and other formats, but the traditional method has the following problems: 1. The packaging format is relatively common and easy to modify and crack, which is not conducive to file protection; 2. The algorithm is complex , the amount of calculation is large, and it needs to rely on a lot of external SDKs in actual use, which is not suitable for relatively low-end embedded products
[0004] After retrieval, the application date is 2019.05.21, and the Chinese invention patent with the application number CN201910433071.3 discloses a file packaging method, device, equipment and storage medium. Low-cost and time-consuming technical problems are not the same as the technical problems to be solved by this application; the Chinese invention patent with the application date of 2019.04.30 and the application number CN201910361385.7 discloses a batch packaging method and device for software upgrade packages. The focus of the invention lies in the management of software versions

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
  • Fast file packaging method, system and device and medium
  • Fast file packaging method, system and device and medium
  • Fast file packaging method, system and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] This embodiment provides a quick file packaging method, such as figure 1 and figure 2 shown, including the following steps:

[0043] Create a file packaging format including a file header and a file body;

[0044] The file header includes a format flag for storing the current file format and data storage format, a number flag for storing the number of files saved in the current file package, and a version flag for storing version information; The file body includes at least one file unit, and a file is assembled into a file unit; the file unit includes a unit header and a unit body for storing file content; the unit header includes an isolation flag, an encryption flag bit, a file length flag, a check value and a file name; the file name adopts GBK encoding, which is convenient to encode Chinese characters; the content of the isolation flag is the same as that of the format flag;

[0045] Use the file packing format to pack the files or unpack the packed files.

[...

Embodiment 2

[0052] This embodiment provides a fast file packaging system, such as image 3 As shown, the following modules are included:

[0053] A file packaging format creation module, used to create a file packaging format including a file header and a file body;

[0054] The file header includes a format flag for storing the current file format and data storage format, a number flag for storing the number of files saved in the current file package, and a version flag for storing version information; The file body includes at least one file unit, and a file is assembled into a file unit; the file unit includes a unit header and a unit body for storing file content; the unit header includes an isolation flag, an encryption flag bit, a file length flag, a check value and a file name; the file name adopts GBK encoding, which is convenient to encode Chinese characters; the content of the isolation flag is the same as that of the format flag;

[0055] The packing and unpacking module is u...

Embodiment 3

[0062] This embodiment provides a quick file packaging device, such as Figure 4 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.

[0063] Since the equipment introduced in this embodiment is the equipment used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the specific implementation of the equipment in this embodiment Ways and various variations thereof, so how the device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application.

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 quick file packaging method, system and device and a medium in the field of computers. The method comprises the following steps: creating a file packaging format comprising afile header and a file body, wherein the file header comprises a format flag bit used for storing a current file format and a data storage format, a number flag bit used for storing the number of files stored in a current file package, a version flag bit used for storing version information, the file body comprises at least one file unit, each file unit comprises a unit head and a unit body for storing file contents, the unit header comprises an isolation flag bit, an encryption flag bit, a file length flag bit, a check value and a file name; and packaging the file or unpackaging the packagedfile by utilizing the file packaging format. The method has the advantages that the file packaging safety is greatly improved, the packaging algorithm is simplified, and the universality is improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a fast file packaging method, system, equipment and media. Background technique [0002] In the IT industry, it is often necessary to package multiple files together to form firmware for device upgrades. For file packaging, the traditional method is to package files into rar, zip, gz and other formats, but the traditional method has the following problems: 1. The packaging format is relatively common and easy to modify and crack, which is not conducive to file protection; 2. The algorithm is complex , the amount of calculation is large, and it needs to rely on a lot of external SDKs in actual use, which is not suitable for relatively low-end embedded products. [0003] Therefore, how to provide a fast file packaging method, system, equipment and media to improve the security of file packaging, simplify the packaging algorithm, and improve the versatility has become an urgent problem to ...

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): G06F8/65
CPCG06F8/65
Inventor 李亚青段琼张登峰
Owner FUJIAN CENTM INFORMATION