A File Packing Method Based on Structured Storage

A structured storage and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problem that relational databases are not suitable for storing large-capacity binary data, backup, transfer, copy, and encryption are inconvenient and inconvenient It is suitable for storing large-capacity data and other problems, achieving the effect of saving labor time, reducing time complexity, and saving query time

CN104267952BActive Publication Date: 2018-01-09山东康威软件有限公司
9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2018-01-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a file packing method based on structured storage. The file packing method includes the following steps: designing the structure of a package file and defining the package file in the format of a file header and a file body; packing the package file; unpacking the package file; conducting follow-up adding, modifying, deletion and indexing operations on the package file. The file packing method avoids the problem of low efficiency during fragmentization resource file copy and transfer, improves resource seek efficiency, and achieves unified resource management. In addition, the file packing method is a new breakthrough in the packing technology, can improve the operation efficiency of the application programs and the work efficiency of users of the application programs as the packing efficiency is improved, saves labor time and reduces labor intensity.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of fragmented resource data processing of computers or various hand-held embedded mobile devices, in particular to a method for packing files based on structured storage. Background technique

[0002] Almost all applications contain executable and data files. Some applications use small but large number of data files; some applications also generate a large number of runtime data files during use. If the planning is not proper, these data files will be fragmented, and subsequent backup, transfer, copy, encryption and other operations will be very inconvenient.

[0003] In the patent "A Network Management System and Multi-Version Signaling Decoding Method", the publication number is CN201010588262, XML is used to store structured data. Because of the extended markup and text features of XML data, this inventive technology is not suitable for storing large-capacity data , and is not suitable for stori...

Examples

Embodiment Construction

[0074] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0075] Part of the flow chart uses C-like pseudocode to describe sub-processes.

[0076] Such as figure 1 As shown, the table details the entire organizational structure of the resource system. The package file structure is: file header + file body. Among them, the file header includes the identification mark, version number and readme information of the package file.

[0077] file header

file body

Identification mark + version number + readme

resource system

[0078] The file body contains resource names, creation dates, modification dates, and resource data. To achieve institutional storage, resources are divided into three types: "resources", "resource groups" and "resource systems".

[0079] Resource, which represents a single independent entity, which includes resource name, creation, modification period, data size, w...