Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2016-07-13
NEW FOUNDER HLDG DEV LLC +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the deletion and replacement operation is performed directly on the original document without taking any additional security measures, the unexpected interruption of the process will cause the document to be damaged and irreparable because the old data has been lost and the new data has not been written; Methods such as temporary file backup or copy replacement also have efficiency and security issues

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
  • Method and device for storing documents
  • Method and device for storing documents
  • Method and device for storing documents

Examples

Experimental program
Comparison scheme
Effect test

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...

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 present invention relates to the technical field of electronic document data processing, and in particular to a method and device for document storage, which are used to improve the security of a document that supports incremental storage; The saved data and the incrementally saved data to be merged are merged; and the merged data is used to overwrite the incrementally saved data to be merged. It can be seen that this method can improve the security when saving the documents that support incremental saving.

Description

technical field [0001] The invention relates to the technical field of electronic document data processing, in particular to a method and device for storing documents. Background technique [0002] In the application of electronic documents, editing and saving operations on documents are often involved. In addition to appending data at the end of the document, in most cases it is also necessary to modify or delete existing data in the document. If you operate directly on the document data source file, once an unexpected interruption occurs during the process of deleting old data and writing new data, it may cause loss or damage of document data, which will bring immeasurable losses to users. [0003] In order to achieve document editing and saving more securely, most existing document processing software adopts the following two methods: [0004] The first one is to use temporary files to back up the original documents and modification records; in this method, if an unexpe...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/24G06F17/22
CPCG06F16/16G06F16/93
Inventor 李赟王晓磊张磊
Owner NEW FOUNDER HLDG DEV LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products