CN109165198A - A kind of increment amending method based on OFD document - Google Patents
A kind of increment amending method based on OFD document Download PDFInfo
- Publication number
- CN109165198A CN109165198A CN201811047177.1A CN201811047177A CN109165198A CN 109165198 A CN109165198 A CN 109165198A CN 201811047177 A CN201811047177 A CN 201811047177A CN 109165198 A CN109165198 A CN 109165198A
- Authority
- CN
- China
- Prior art keywords
- delta file
- ofd
- document
- content
- modification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Abstract
The invention discloses a kind of increment amending method based on OFD document, it the steps include: to open OFD document, determine operation content, create delta file, delta file is parsed, addition modification content to delta file obtains version list, obtain modification record list, delta file is saved, version number is inputted, is restored to indicated release, the release content of delta file is merged with the OFD document before modification, is ultimately formed and the consistent OFD document of indicated release number.The present invention in the OFD document of standard, adds customized delta file based on OFD document standard specification and XML format specification, so that OFD document content is not influenced by increment modification content;The initial data and format that ensure that OFD document are not destroyed, and so that OFD document is had version and are restored function, OFD document is made to have the function of checking modification record.
Description
Technical field
The present invention relates to format document format analysis processing technology, in particular to a kind of increment amending method based on OFD document.
Background technique
Format document format is that a variety of digital content objects such as text, figure, image are carried out the space of a whole page according to certain rule
Solidify a kind of format presented.OFD(open fixed layout document) document be by China's independent research, independently of
Software, hardware, operating system, output equipment format document format.Demand and application with China to OFD format document push away
The increase of wide dynamics, present all trades and professions are also more and more frequent to the use of OFD document.OFD document at present, in addition to document content
Reading other than, there are also document annotation, editor's bookmark, cover E-seal, editor's functions such as attachment, and single in government and organ
Position is especially frequent for the written instructions of OFD document and stamping.Current OFD document lacks the function of going back original version.Work as portion
OFD document is after repeatedly annotation, stamped signature, if wanting to restore the original version of document and being restored to specified version, just at present
OFD document for can not accomplish.
Existing to go back a kind of situation there are two types of original version operations: original version to revert to document, another kind is reduction
To the indicated release of document.In the case where no backup document, restore document a possibility that it is very low;If there is backup, it is also desirable to
There are the backup documents of more parts of different editions, so that the operation for going back original version is excessively cumbersome.Lack the function of checking modification record.
In document function, the modification record in need for obtaining document, and the format of OFD document limits this function, so that document is examined
It reads and has lacked the function of checking modification record.Because having lacked above functions, the operation for making the OFD document of standard limit to document is empty
Between.In document function, unnecessary troublesome operation is brought, working efficiency is reduced.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of increment amending method, the details of OFD document function can be remembered
Record is got off, and guarantees that the basic structure of OFD document is not destroyed simultaneously, can easily recall the operating procedure of OFD document out,
Check that modification recovery record is brought convenience to version.
The present invention uses following technical scheme to achieve the goals above.A kind of increment amending method based on OFD document,
It is characterised by comprising: record OFD document modification information, reduction OFD document to indicated release and inquiry OFD document modification note
Record;
The record OFD document modification information is to record the operation information of OFD document into customized delta file;If from
The delta file of definition is not present, then creates delta file;If customized delta file is existing, directly increase in modification
Hold;
Reduction OFD file to the indicated release is OFD document to be restored to specified release status, and it is customized to pass through access
Delta file content, increment modification content is merged with existing OFD standard document, is made in Document retrieval to the version specified
Hold;
The inquiry OFD document modification record is to inquire all modifications record of current OFD document, and it is customized to pass through access
Delta file content enumerates all modifications information of current OFD document to come, so that inquiry uses;
Its operating process is as follows:
1) OFD document is opened;
2) determine operation content: operation content is three parts, respectively modifies OFD document, goes back original version and query modification note
Record;
3) create delta file: when modifying to OFD document, delta file, then created if it does not exist;If existing,
Addition modification content;
4) it parses delta file: delta file being parsed, to content needed for obtaining different operation;
5) addition modification content is to delta file: the modification content to OFD is added in delta file;
6) it obtains version list: by the parsing to delta file, getting each version information content;
7) it obtains modification record list: by the parsing to delta file, getting each modification record;
8) it saves delta file: modification content added by delta file in step 5) is saved;
9) version number is inputted: the fileversion number that input will restore, to revert to specified version;
10) it is restored to indicated release: the release content of delta file being merged with the OFD document before modification, ultimately forms and refers to
Determine the consistent OFD document of version number.
The present invention is based on OFD document standard specification and XML format specification, and in the OFD document of standard, addition is made by oneself
The delta file of justice, for storing the modification content of OFD document;By the modification content of document, deposited with customized delta file
Storage, by original text shelves and increment content physical separation, so that OFD document content is not influenced by increment modification content;Certainly by access
The delta file of definition goes back original version, checks the functions such as modification record to reach;OFD document is saved using self-defining data
Modification record ensure that the initial data of OFD document and format are not destroyed, and so that OFD document is had version and restores function, makes
OFD document has the function of checking modification record.
Detailed description of the invention
Fig. 1 is operational flowchart of the invention.
Specific embodiment
It is further illustrated below in conjunction with drawings and examples to of the invention.Referring to Fig. 1, a kind of increasing based on OFD document
Measure amending method, comprising the following steps:
1) start 10: starting computer system.
2) it opens OFD document 11: opening OFD format document, its role is to guarantee that open document format meets OFD text
Shelves format specification.
3) modify OFD document 12: the operation modified to OFD document modifies the original text shelves of OFD document.
4) it goes back original version 13: go back to OFD document the operation of original version, OFD document is made to revert to indicated release.
5) query modification record 14: the operation of query modification record is carried out to OFD document, the history for obtaining OFD document is repaired
Change record.
6) delta file 15 is created: creation delta file, its role is to for saving the operation content to OFD document,
Make clearly record all steps of OFD document function, to be ready for use on to the progress version reduction of OFD document and look into
Ask modification record.
7) it parses delta file 16: delta file is parsed, it is corresponding its role is to be obtained from delta file
Version information or modification record information.
8) addition modification content is to delta file 17: the modification content to OFD being added in delta file, acts on
It is to record the details to the modification content of OFD document.
9) it obtains version list 18: by the parsing to delta file, getting each version information content, act on
In the information list for obtaining each version from delta file, to be used for indicated release number.
10) it obtains modification record list 19: by the parsing to delta file, getting each modification record, act on
It is to enumerate the modification content of all OFD, with the modification record for inquiring OFD document.
11) it saves delta file 20: after the addition of newly added modification content, saving delta file, its role is to remember
Record the details of each OFD modification.
12) indicated release number 21 is inputted: the fileversion number that input will restore, to revert to specified version,
Effect is the OFD version number that determination will restore.
13) be restored to indicated release 22: the release content of delta file merged with current OFD document, ultimately form with
The consistent OFD document of indicated release number, its role is to OFD document is restored to specified release content.
14) terminate 23 operations.
Claims (1)
1. a kind of increment amending method based on OFD document characterized by comprising record OFD document modification information, reduction
OFD document is to indicated release and inquires OFD document modification record;
The record OFD document modification information is to record the operation information of OFD document into customized delta file;If
Customized delta file is not present, then creates delta file;If customized delta file is existing, directly increase modification
Content;
Reduction OFD file to the indicated release is OFD document to be restored to specified release status, and it is customized to pass through access
Delta file content, increment modification content is merged with existing OFD standard document, is made in Document retrieval to the version specified
Hold;
The inquiry OFD document modification record is to inquire all modifications record of current OFD document, and it is customized to pass through access
Delta file content enumerates all modifications information of current OFD document to come, so that inquiry uses;
Its operating process is as follows:
1) OFD document is opened;
2) determine operation content: operation content is three parts, respectively modifies OFD document, goes back original version and query modification note
Record;
3) create delta file: when modifying to OFD document, delta file, then created if it does not exist;If existing,
Addition modification content;
4) it parses delta file: delta file being parsed, to content needed for returning to different operation;
5) addition modification content is to delta file: the modification content to OFD is added in delta file;
6) it obtains version list: by the parsing to delta file, getting each version information content;
7) it obtains modification record list: by the parsing to delta file, getting each modification record;
8) it saves delta file: after the addition of newly added modification content, saving delta file;
9) version number is inputted: the fileversion number that input will restore, to revert to specified version;
10) it is restored to indicated release: the release content of delta file being merged with current OFD document, is ultimately formed and specified version
This number consistent OFD document.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811047177.1A CN109165198A (en) | 2018-09-09 | 2018-09-09 | A kind of increment amending method based on OFD document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811047177.1A CN109165198A (en) | 2018-09-09 | 2018-09-09 | A kind of increment amending method based on OFD document |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109165198A true CN109165198A (en) | 2019-01-08 |
Family
ID=64894438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811047177.1A Withdrawn CN109165198A (en) | 2018-09-09 | 2018-09-09 | A kind of increment amending method based on OFD document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109165198A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112862425A (en) * | 2021-01-12 | 2021-05-28 | 江苏中威科技软件***有限公司 | Device and technology for reading OFD format file life cycle information |
CN113591434A (en) * | 2021-08-05 | 2021-11-02 | 江西金格科技股份有限公司 | Method for merging OFD (office automation device) documents carrying semantic indexing information |
CN113961531A (en) * | 2021-11-05 | 2022-01-21 | 江苏中威科技软件***有限公司 | Method and device for combining multi-format files into OFD (office file format) file |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588352A (en) * | 2004-10-12 | 2005-03-02 | 北京北大方正电子有限公司 | Recording method for extendable mark language file repairing trace |
CN103902517A (en) * | 2012-12-26 | 2014-07-02 | 北京大学 | Separated electronic official document mark remaining and showing method and system |
CN105117472A (en) * | 2015-08-31 | 2015-12-02 | 上海斐讯数据通信技术有限公司 | Generation system and introduction system for incremental file |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
CN106133766A (en) * | 2014-03-18 | 2016-11-16 | 谷歌公司 | For calculating, apply and show the system and method for document increment |
CN106843893A (en) * | 2017-02-07 | 2017-06-13 | 济南浪潮高新科技投资发展有限公司 | A kind of documentation release management system based on OpenXML standards |
US20180196842A1 (en) * | 2017-01-06 | 2018-07-12 | Oracle International Corporation | Consistent file system semantics with cloud object storage |
-
2018
- 2018-09-09 CN CN201811047177.1A patent/CN109165198A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588352A (en) * | 2004-10-12 | 2005-03-02 | 北京北大方正电子有限公司 | Recording method for extendable mark language file repairing trace |
CN103902517A (en) * | 2012-12-26 | 2014-07-02 | 北京大学 | Separated electronic official document mark remaining and showing method and system |
CN106133766A (en) * | 2014-03-18 | 2016-11-16 | 谷歌公司 | For calculating, apply and show the system and method for document increment |
CN105117472A (en) * | 2015-08-31 | 2015-12-02 | 上海斐讯数据通信技术有限公司 | Generation system and introduction system for incremental file |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
US20180196842A1 (en) * | 2017-01-06 | 2018-07-12 | Oracle International Corporation | Consistent file system semantics with cloud object storage |
CN106843893A (en) * | 2017-02-07 | 2017-06-13 | 济南浪潮高新科技投资发展有限公司 | A kind of documentation release management system based on OpenXML standards |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112862425A (en) * | 2021-01-12 | 2021-05-28 | 江苏中威科技软件***有限公司 | Device and technology for reading OFD format file life cycle information |
CN113591434A (en) * | 2021-08-05 | 2021-11-02 | 江西金格科技股份有限公司 | Method for merging OFD (office automation device) documents carrying semantic indexing information |
CN113961531A (en) * | 2021-11-05 | 2022-01-21 | 江苏中威科技软件***有限公司 | Method and device for combining multi-format files into OFD (office file format) file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083805B (en) | Method and system for converting Word file into EPUB file | |
JP5379341B2 (en) | Using a word processor for accounting data | |
US8255790B2 (en) | XML based form modification with import/export capability | |
CN109165198A (en) | A kind of increment amending method based on OFD document | |
US20050262049A1 (en) | System, method, device, and computer code product for implementing an XML template | |
US20100241948A1 (en) | Overriding XSLT Generation | |
JP2004265402A (en) | Method and system for extending pasting function of computer software application | |
US8315978B2 (en) | Synchronization adapter for synchronizing data to applications that do not directly support synchronization | |
CN101719149A (en) | Data synchronization method and device | |
US20070282866A1 (en) | Application integration using xml | |
WO2009105994A1 (en) | Method and device of dealing with documents meeting the document database standard | |
US7475090B2 (en) | Method and apparatus for moving data from an extensible markup language format to normalized format | |
CN110347673A (en) | Data file loading method, device, computer equipment and storage medium | |
US9158493B2 (en) | Page description language package file preview | |
CN105574164B (en) | The data analysis method and device of Excel document | |
CN113741864B (en) | Automatic semantic service interface design method and system based on natural language processing | |
CN112632266B (en) | Data writing method and device, computer equipment and readable storage medium | |
CN115841095A (en) | Document establishing method, system, medium and equipment | |
CN108228592B (en) | Data archiving method and data archiving device based on binary log | |
JP4351143B2 (en) | XBRL data storage method and system | |
JP5409090B2 (en) | Information processing apparatus, information processing method, program, and storage medium | |
US8630984B1 (en) | System and method for data extraction from email files | |
CN112818642B (en) | Method and device for converting PDF (Portable document Format) file into form file, computer equipment and storage medium | |
JP2006343976A (en) | Method for providing electronic form and electronic form server device | |
CN111046636B (en) | Method, device, computer equipment and storage medium for screening PDF file information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190108 |
|
WW01 | Invention patent application withdrawn after publication |