CN103942186A - Method and system for managing documents - Google Patents
Method and system for managing documents Download PDFInfo
- Publication number
- CN103942186A CN103942186A CN201410122340.1A CN201410122340A CN103942186A CN 103942186 A CN103942186 A CN 103942186A CN 201410122340 A CN201410122340 A CN 201410122340A CN 103942186 A CN103942186 A CN 103942186A
- Authority
- CN
- China
- Prior art keywords
- document
- file
- incidence relation
- positional information
- former
- 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.)
- Pending
Links
Abstract
Provided is a method for managing documents. The method comprises the steps of recording at least one modification or variation of the documents generated in and editing process and the position information of each modification or each variation, and storing the recorded modifications or variations and the position information of the modifications or the variations as an independent file. The invention further discloses a system for managing the documents. The method and system for managing the documents solve the problem of resource waste in document storage, the occupancy rate of the storage space where the documents are located is reduced, and working pressure of storage devices is relieved.
Description
Technical field
The present invention relates to document processing technology field, especially relate to a kind of method and system of management document.
Background technology
At present, for word worker, before Edit Document, former document need to be backed up, more former document is modified, storage after revising.If same document has been carried out repeatedly revising, just need to store a plurality of amended documents.In the situation that storage space is certain, for the less small-sized document of capacity, it is not very large that the storage space of hard disk is required, but concerning the larger large-scale document of capacity, this mode can cause greatly reducing of storage space undoubtedly, and the storage pressure of storage space is much.The change of document is based on former document, and it is identical that amended document and former document have many contents, for the repeatedly storage of the identical content of a plurality of amended documents, easily causes the utilization factor of storage space to decline.
Summary of the invention
The present invention aims to provide a kind of method of management document, to solve the problem that repeatedly storage easily causes the utilization factor of storage space to decline of identical content of a plurality of amended documents of prior art.
In some illustrative embodiment, the method for described management document comprises: record at least one place modification change that document produces in editing process, and the positional information of modification change in described document stated in every place; The described modification change of record and described positional information are preserved as an independent file.
Another object of the present invention is to provide a kind of system of management document.
In some illustrative embodiment, the system of described management document comprises: logging modle, and at least one place modification change producing at editing process for recording document, and the positional information of modification change in described document stated in every place; And memory module, for preserving the described modification change of record and described positional information as an independent file.
Compared with prior art, illustrative embodiment of the present invention comprises following advantage:
By only recording the modification of the generation of document in each editing process, change, and the positional information of revising change, by the modification change of recording in each editing process, and the positional information of revising change is in an independent mode that file is preserved, in storage space, only need to store a document, and each file of the document generation after each editor finishes, do not need the different editions of the document to carry out complete storage, save the memory space of identical content in the different editions of document, improved the utilization factor of storage space.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the Stored Procedure figure according to example embodiment of the present invention; And
Fig. 2 is the system chart according to example embodiment of the present invention.
Embodiment
In the following detailed description, a large amount of specific detail are proposed, so that provide thorough understanding of the present invention.But, person of skill in the art will appreciate that, even without these specific detail, also can implement the present invention.In other cases, do not describe well-known method, process, assembly and circuit in detail, in order to avoid affect the understanding of the present invention.
Referring now to Fig. 1, Fig. 1 shows according to storing the process flow diagram of document in the management document of some illustrative embodiment
As shown in Figure 1, in some illustrative embodiment, disclose a kind of method of management document, having comprised:
S11, record at least one place that document produces in editing process and revise change, and every place is stated and revised the positional information of change in described document.
In some illustrative embodiment, every place is stated and is revised change and comprise one of following: increase and/or delete, and change of format.Wherein, increase for representing that the content of document increases, such as increasing document content, increasing document annotation etc.Deletion is deleted for representing the content of document, such as deleting document content, deleting document annotation etc.; Wherein, increase and delete for representing the replacing of the content of document.
In some illustrative embodiment, revise between change and does not have continuous association at every two places, discontinuous.
In some illustrative embodiment, the recording mode that the positional information of revising change is stated in every place comprises: which page, which row, which the character front and back of record modification change in described document; Or this revises the front and back of change certain character string in described document.For example, after, the 1st of document the page, the 2nd row, the 7th character, increased character " I "; Record " I ", the 1st page, after the 2nd row, the 7th character or before the 8th character, and the attribute that mark is revised change is for just, represents increase; Or this revises which page, this page which section, this section which row, this row which the character front and back of change in described document; Or this revises which section, this section which row of change in described document, before and after which character of this row; Or this revises the front and back of change certain character string in described document, for example after the B in " ABCD ", add E, become " ABECD ", after record " E " place AB or before the CD of place.
S12, the described modification change of record and described positional information are preserved as an independent file.
Wherein, each file has unique identification marking, and this identification marking can be that for example fileversion number 1.0 by numbering, title or the edit session of artificial setting or generation automatically, not only play mark action, also for distinguishing the sequencing of the generation between each file.
In some illustrative embodiment, the document portion being edited preserves.Its detailed process can comprise: copy document in volatile data base, carry out editing operation.After having edited, remove the document in volatile data base.
In some illustrative embodiment, each in each file revised change and had unique identification marking, for example numbering.The numbering of revising change can have corresponding relation with the version number of file, and for example the version number of file is 1.0; What a modification in this document changed is numbered 1.001, is denoted as first in this document and revises change; Each positional information of revising change has mapping relations with the numbering of revising change.That for example revises change is numbered 1.001, and its positional information has 1.001 numbering equally.
S13, set up the incidence relation of described file and described document.
In some illustrative embodiment, above-mentioned document can be former document; Wherein, former document is that itself does not preserve any modification as revising basic document.
In some illustrative embodiment, above-mentioned document can be the modification document after former document merges with at least one alternative document successively.Now, the incidence relation of file and document is the incidence relation between this document and the alternative document of the last splicing of former document;
Relation between former document, file and modification document can reference table 1 shown in.
Table 1
File B in table 1 produces by editing former document A, file B and former document A have incidence relation, file C afterwards produces by edit-modify document A+B, file C and file B have incidence relation, file D produces by edit-modify document A+B+C, file D and file C have incidence relation, and file E produces by Edit Document A+B, and file E and file B have incidence relation.
In some illustrative embodiment, document is that while revising document, the method for described management document also comprises:
After the first file in file is selected, according to above-mentioned incidence relation, transfer former document or second file with this document with incidence relation; In situation for the first file and the second file association, continue to transfer former document or the 3rd file with the second file association, until transfer former document, finish to transfer.For example, after file B is selected, transfer former document A; Or after for example file D is selected, transfer successively file C, file B, former document A.
One or more files of transferring and former document are merged to processing; For example: after file B is selected, according to the positional information in file B, the modification change in file B is spliced in former document A, forms and revise document A+B; Or be after file D is selected, transferred file C, file B and former document A; The sequencing producing according to file, first merges file B and former document A, at the modification document A+B by file C and after merging, merges, and finally the modification document A+B+C after file D and secondary merging is merged, and obtains revising document A+B+C+D.
In some illustrative embodiment, the first database is used for storing former document, and the second database is for storage file.
In some illustrative embodiment, the method for described management document also comprises:
User, choose after its needed file, according to incidence relation (as table 1), transfer former document or alternative document and former document;
Merge, obtain revising document, now for can check, the operation such as editor.
In some illustrative embodiment, user is the identification marking selecting file of add file more.
In some illustrative embodiment, user can choose a plurality of files with a former document associations, forms the many pieces of modification documents that are associated, and provides user to contrast every piece and revises document.
Referring now to Fig. 2, Fig. 2 shows according to the block diagram of the system of the management document of some illustrative embodiment.
As shown in Figure 2, according to some illustrative embodiment, the system that discloses a kind of management document, comprising: record at least one place modification change that document produces in editing process, and the logging modle (for example logging modle 101) of revising the positional information of change in described document is stated in every place; And, for example, using the memory module (memory module 102) that the described modification of record changes and described positional information is preserved as an independent file.
In some illustrative embodiment, in described system, also comprise: for example, for extracting the extraction module (extraction module 106) of described document.
In some illustrative embodiment, the document that described extraction module extracts has backup.
In some illustrative embodiment, in described system, also comprise: after editor finishes, delete the removing module (for example removing module 108) of described editor's document.
In some illustrative embodiment, described system also comprises: the relating module (for example relating module 103) of setting up the incidence relation of described file and described document.
In some illustrative embodiment, described extraction module, also for after being selected at file, is transferred the described document with described file with incidence relation according to described incidence relation.
In some illustrative embodiment, described system also comprises: according to the positional information in described file, the modification change in this document is spliced to the merging module (for example merging module 107) in described document.
In some illustrative embodiment, described document is the document after former document merges with at least one alternative document successively; The described incidence relation that described relating module is set up is the incidence relation between described file and the described alternative document of last and former document merging.
In some illustrative embodiment, in described system, also comprise: store first database (for example the first database 104) of former document, and the second database of storage file (for example the second database 105).
The explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (10)
1. a method for management document, is characterized in that, comprising:
Record at least one place modification change that document produces in editing process, and the positional information of modification change in described document stated in every place;
The described modification change of record and described positional information are preserved as an independent file.
2. method according to claim 1, is characterized in that, described document has backup; Also comprise:
After editor finishes, delete described editor's document.
3. method according to claim 1, is characterized in that, also comprises:
Set up the incidence relation of described file and described document.
4. method according to claim 3, is characterized in that, also comprises:
After file is selected, according to described incidence relation, transfer the described document with described file with incidence relation;
Described file and described document are merged, and its process comprises:
According to the positional information in described file, the modification change in this document is spliced in described document.
5. method according to claim 4, is characterized in that, described document be former document successively with the document of at least one alternative document after described merging;
The described incidence relation of setting up is the incidence relation between described file and the described alternative document of last and former document merging.
6. a system for management document, is characterized in that, comprising:
Logging modle, at least one place modification change producing at editing process for recording document, and the positional information of modification change in described document stated in every place; And,
Memory module, for preserving the described modification change of record and described positional information as an independent file.
7. system according to claim 1, is characterized in that, described document has backup; Described system also comprises: remove module, after finishing editor, delete described editor's document.
8. system according to claim 1, is characterized in that, also comprises:
Relating module, for setting up the incidence relation of described file and described document.
9. system according to claim 8, is characterized in that, also comprises:
Extraction module, after being selected at file, transfers the described document with described file with incidence relation according to described incidence relation; And,
Merge module, for according to the positional information of described file, the modification change in this document is spliced in described document.
10. system according to claim 9, is characterized in that, described document is the document after former document merges with at least one alternative document successively;
The described incidence relation that described relating module is set up is the incidence relation between described file and the described alternative document of last and former document merging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410122340.1A CN103942186A (en) | 2014-03-28 | 2014-03-28 | Method and system for managing documents |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410122340.1A CN103942186A (en) | 2014-03-28 | 2014-03-28 | Method and system for managing documents |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103942186A true CN103942186A (en) | 2014-07-23 |
Family
ID=51189856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410122340.1A Pending CN103942186A (en) | 2014-03-28 | 2014-03-28 | Method and system for managing documents |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103942186A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117472A (en) * | 2015-08-31 | 2015-12-02 | 上海斐讯数据通信技术有限公司 | Generation system and introduction system for incremental file |
CN110442359A (en) * | 2018-05-03 | 2019-11-12 | 大唐移动通信设备有限公司 | A kind of pair of MIB document carries out the method and device of merger |
WO2021012598A1 (en) * | 2019-07-19 | 2021-01-28 | 广州视源电子科技股份有限公司 | Text sequence modification positioning method and device, and electronic apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5355476A (en) * | 1990-12-29 | 1994-10-11 | Casio Computer Co., Ltd. | File update apparatus for generating a matrix representing a subset of files and the update correspondence between directories and files |
CN1310388A (en) * | 2000-02-21 | 2001-08-29 | 英业达股份有限公司 | Increment mode method for upgrading data file |
US20060064634A1 (en) * | 2004-09-17 | 2006-03-23 | International Business Machines Corporation | Editing multiple file versions |
CN103020026A (en) * | 2012-11-15 | 2013-04-03 | 无锡永中软件有限公司 | Synergistic file processing system and method |
CN103294658A (en) * | 2012-03-02 | 2013-09-11 | 北大方正集团有限公司 | Document storage method and device |
-
2014
- 2014-03-28 CN CN201410122340.1A patent/CN103942186A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5355476A (en) * | 1990-12-29 | 1994-10-11 | Casio Computer Co., Ltd. | File update apparatus for generating a matrix representing a subset of files and the update correspondence between directories and files |
CN1310388A (en) * | 2000-02-21 | 2001-08-29 | 英业达股份有限公司 | Increment mode method for upgrading data file |
US20060064634A1 (en) * | 2004-09-17 | 2006-03-23 | International Business Machines Corporation | Editing multiple file versions |
CN103294658A (en) * | 2012-03-02 | 2013-09-11 | 北大方正集团有限公司 | Document storage method and device |
CN103020026A (en) * | 2012-11-15 | 2013-04-03 | 无锡永中软件有限公司 | Synergistic file processing system and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117472A (en) * | 2015-08-31 | 2015-12-02 | 上海斐讯数据通信技术有限公司 | Generation system and introduction system for incremental file |
CN110442359A (en) * | 2018-05-03 | 2019-11-12 | 大唐移动通信设备有限公司 | A kind of pair of MIB document carries out the method and device of merger |
WO2021012598A1 (en) * | 2019-07-19 | 2021-01-28 | 广州视源电子科技股份有限公司 | Text sequence modification positioning method and device, and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105224237B (en) | A kind of date storage method and device | |
CN101430714B (en) | Content structuring process method and system based on model | |
CN101937377A (en) | Data recovery method and device | |
CN103119550A (en) | Storing electronic content with time-varying properties | |
CN108470040B (en) | Method and device for warehousing unstructured data | |
CN101477516B (en) | Electronic data processing method and system | |
CN101520728A (en) | Method for processing document meeting document library standard by third-party software | |
CN110287192B (en) | Search application data processing method and device, computer equipment and storage medium | |
CN105589842A (en) | Typesetting method and device for digital publications | |
CN106469152A (en) | A kind of document handling method based on ETL and system | |
CN106326035A (en) | File-metadata-based incremental backup method | |
CN100338605C (en) | Recording method for extendable mark language file repairing trace | |
CN100392641C (en) | Method for implementing automatic typesetting based on cloning block | |
CN102799632B (en) | Method for acquiring and describing text information based on visual basic application (VBA) and tetrahedron data model | |
CN103942186A (en) | Method and system for managing documents | |
CN103593447A (en) | Data processing method and device applied to database table | |
CN105488471A (en) | Character pattern recognition method and device | |
CN108009049A (en) | The offline restoration methods of MYISAM storage engines deletion records, storage medium | |
US9063949B2 (en) | Inferring a sequence of editing operations to facilitate merging versions of a shared document | |
CN107273449A (en) | A kind of breakpoint processing method and system based on memory database | |
JP4477531B2 (en) | Data import method and data import apparatus | |
CN104699688A (en) | File searching method and electronic device | |
Liu et al. | Three novel algorithms for hiding data in pdf files based on incremental updates | |
CN108846039B (en) | Data flow direction determining method and device | |
CN102257498A (en) | Comment generation method of configuration files and configuration file generation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140723 |