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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


