Method and device for packing and extracting files
A file and package file technology, applied in the field of data processing, can solve the problems that the package tool is not flexible enough, not comprehensive enough, and the package tool is not suitable for network applications, etc., to achieve the effect of flexible file packaging and extraction, and comprehensive functions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Such as figure 2 As shown, the specific steps of a file packaging method provided in the embodiment of the present invention include:
[0058] Step 210, collect all the files that need to be packaged, each file is described by at least one file item, and each file item contains a plurality of file information for describing the content of the file, wherein the file information can be provided by the user or an external program.
[0059] Step 220, sort all file items. Among them, there are many ways to sort, for example:
[0060] (1) Arranged in the order of the structural hierarchy of the file system.
[0061] (2) Arrange according to the access sequence of file items in actual use. In this sorting method, since the file data inside the package file is stored in the order of access when it is actually used, when the package file is transmitted on the network, you can download the entire package file while using the package file. The file data part, so as to achieve...
Embodiment 2
[0082] In practical applications, it is also possible to modify the file information in some file items in the package file, such as image 3 As shown, a method for modifying a package file provided by an embodiment of the present invention includes the following steps:
[0083] Step 310, collect the file items containing the content of the modified file, and take out all the file items in the package file.
[0084] Step 320: Merge the file item extracted from the package file with the collected file item containing the content of the modified file.
[0085] The specific merging method is the same as the merging method in Embodiment 1, and will not be repeated here.
[0086] Step 330, write the merged file item into the package file.
[0087] Specifically, the method for writing the merged file item into the package file is the same as that in Embodiment 1, and will not be repeated here.
[0088] The modification method described in the second embodiment above belongs to cl...
Embodiment 3
[0090] Such as Figure 4 As shown, another package file modification method provided by the embodiment of the present invention includes the following steps:
[0091] Step 410, collect the file items containing the content of the modified file, and take out all the file items in the package file.
[0092] Step 420: Combine the collected file item containing the content of the modified file and the corresponding modified file item extracted from the package file into a file item.
[0093] For example, the collected file item 1 containing the modified file content is the file data in the file item 2 extracted from the modification package file, then the file item 1 and the file item 2 are combined into one file item.
[0094] Step 430: Divide the file information contained in the combined file item into at least two groups, and sort the file information contained in the group containing file data according to the order of use.
[0095] Step 440, write the sorted file informati...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com