Method and device for storing documents
A document and data saving technology, applied in the file system, file management system, file/folder operation, etc., can solve the problems of efficiency and security, new data file damage, irreparable problems, etc., to achieve the effect of improving security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] The embodiment of the present invention provides the first document saving method. When the user modifies some data in a certain document, the incremental saving method is adopted by default to save the currently modified content as incremental saving data at the end of the document. like figure 2 As shown, the incremental save adopts a pure append operation, and the original data of the document will not be lost. In order to ensure that the document format is always correct, it should be ensured that the data is not enabled during the process of appending new incremental save data. Even if the saving process is interrupted unexpectedly, the unfinished data appended to the end of the document will never be used, and the document can still be parsed correctly. Only after the incremental save data is completely written, the data is enabled and the document save is completed. The specific process is as follows:
[0061] Step A, save the data that has been modified but ...
Embodiment 2
[0065] After multiple modifications, multiple incremental save data will be kept at the end of the document, such as image 3 shown. When the number of incremental save operations or incremental save data exceeds a certain threshold or the user's request, non-incremental save is required, that is, for the incremental save data generated by one or more previous incremental save operations and the user's current Merge and replace the incrementally saved data that has been modified but not saved. like Figure 4 As shown, Embodiment 2 of the present invention provides a second file storage method, and the specific process is as follows:
[0066] Step 41, such as Figure 5 As shown in , record the offset Ps of the starting position of incremental save data 1 and the offset Pe of the current end position of the document;
[0067] Specifically, the offsets are relative to the starting position of the document;
[0068] Step 42, calculating the length Ln of the combined data;
...
Embodiment 3
[0094] At present, many electronic document formats adopt the framework of "physical container + document model" to describe and store data. The physical container is mainly used to store data, similar to a virtual storage system, which organizes various data description files involved in the document model. Many existing document formats use Zip packages as physical containers, such as Microsoft's OOXML, XPS, etc., but the Zip format itself does not provide support for incremental storage.
[0095] In this embodiment, an electronic document packaging format referred to as XDA (XML-basedDocumentArchive) is adopted, which supports saving the modified data description file in the document model in the form of incremental saving, and also supports merging the results of multiple incremental saving save operation. Any electronic document format using XDA as a physical container can rely on XDA-related features to save the document modification, and use all or part of the incremen...
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