CN101430677A - Method and system for reserving document editing trace - Google Patents

Method and system for reserving document editing trace Download PDF

Info

Publication number
CN101430677A
CN101430677A CNA2008102389930A CN200810238993A CN101430677A CN 101430677 A CN101430677 A CN 101430677A CN A2008102389930 A CNA2008102389930 A CN A2008102389930A CN 200810238993 A CN200810238993 A CN 200810238993A CN 101430677 A CN101430677 A CN 101430677A
Authority
CN
China
Prior art keywords
document
editing
command object
module
command
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
Application number
CNA2008102389930A
Other languages
Chinese (zh)
Inventor
闫国龙
苏勇
余忠华
赵朝阳
龚文荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CNA2008102389930A priority Critical patent/CN101430677A/en
Publication of CN101430677A publication Critical patent/CN101430677A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention relates to a method for reserving document editing marks and a system thereof, and belongs to the pre-printing computer typesetting field. In the prior art, the method for reserving the document editing marks comprises the following steps: document contents consist of the document contents before editing and the document contents change information arising from the editing, wherein, the change information records the change information of the document after editing, and the change information only reserves the latest editing result for a plurality of editing of the same content, thus being impossible to the trace back the complete document content editing process. The method is comprises the following steps: constructing persistable command objects, calling the command objects to edit the document contents and reserving various command objects and the document contents. In the method and the system, editing of the document contents is completed by constructing and calling a series of persistable command objects, and the document editing marks information is kept by recording the constructed and called command objects, thus supporting the history review of the document editing process.

Description

A kind of method and system that reserve document editing trace
Technical field
The invention belongs to pre-printing computer typesetting field, be specifically related to a kind of method and system that reserve document editing trace.
Background technology
Along with the development of infotech, the level of informatization of publishing house and enterprise is also more and more higher, and the turnover of document is more and more, and more and more frequent, and same piece of writing document is often edited by a plurality of people or the editing of being spaced apart property in a period of time.In order to distinguish the editor of document content, which kind of editing operation the record document content has been applied in, and need the editing trace information of document be kept.In existing technology, the reservation of the vestige of documents editing information is to realize by document content before the record editor and the change information of editing the document content that is caused.Wherein to the repeatedly editor of same content, change information has only kept last edited result, therefore can't review complete editing process forward.
Summary of the invention
At the defective that exists in the prior art, the purpose of this invention is to provide a kind of method and system that reserve document editing trace, but the editor that these method and system are finished document content by the command object that makes up and call a series of persistence, the mode of the command object that document editing trace information then is fabricated and calls by record is preserved, by the operation of filling or killing of orderly call instruction object, thereby supported the history of documents editing process is recalled.
For reaching above purpose, the technical solution used in the present invention is: a kind of method that reserves document editing trace may further comprise the steps:
(1) but make up the command object of persistence, but comprise the parameter and the method for the command object of structure persistence;
(2) call instruction object editing document content;
(3) preserve each command object and document content.
Further, in the step (1), but the parameter of the command object of described persistence comprises the context state parameter of the input parameter and the document of command type, order.
Further again, the context state parameter of described document comprises the parameter of the current selected object that identifies document.
Further, in the step (1), but the method for the command object of described persistence comprises the method for finishing documents editing, and comprises the method for editing and returning back to the preceding state of documents editing when inferior of cancelling.
Further, during the described state that return back to before the documents editing, document content returns to the data before the editor, and the context state parameter of document also returns to the data before the editor.
Further, in the step (2), behind the call instruction object editing document content, the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
Further, in the step (3), preserve each command object and document content, carry out the command object of documents editing and stored in order.
Further, in the step (3), preserve each command object and document content, the document content of preservation is the content before the documents editing, or the content behind the documents editing.
Further, in the step (3), preserve each command object and document content, command object can be saved among the same file with document content, stores respectively among also can being saved in different files.
A kind of system that reserves document editing trace, this system comprise with lower module:
(1) but the command object that is used to make up the command object of persistence makes up module;
(2) be used for the command calls module of call instruction object editing document content;
(3) be used to preserve the memory module of each command object and document content;
Described command object makes up module, the command calls module links to each other successively with memory module.
Further, described command object makes up the parameter that also is provided with command object in the module and makes up module and method structure module, the parameter of described command object makes up the parameter that module is used to make up command object, comprises the context state parameter of the input parameter and the document of command type, order; The method of described command object makes up method that module is used to make up documents editing, cancels as time editor and the method for the state before returning back to documents editing;
Also be provided with cache module in the described command calls module, this module is used for behind call instruction object editing document content, and the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
Effect of the present invention is: adopt method and system of the present invention, but the editor that can finish document content by the command object that makes up and call a series of persistence, the mode of the command object that document editing trace information then is fabricated and calls by record is preserved, by the operation of filling or killing of orderly call instruction object, the documents editing process is carried out the purpose that history is recalled thereby reach realization.
Description of drawings
Fig. 1 is the process flow diagram of the method for the invention;
Fig. 2 is the original document content synoptic diagram in the embodiment of the invention;
Fig. 3 is provided with document content synoptic diagram behind the black matrix to the literal of choosing in the embodiment of the invention;
Fig. 4 has deleted the document content synoptic diagram of choosing behind the literal in the embodiment of the invention;
Embodiment
Below in conjunction with embodiment and accompanying drawing, the invention will be further elaborated:
A kind of system that reserves document editing trace, this system comprise with lower module:
(1) but the command object that is used to make up the command object of persistence makes up module;
(2) be used for the command calls module of call instruction object editing document content;
(3) be used to preserve the memory module of each command object and document content;
In the present embodiment, described command object makes up module, the command calls module links to each other successively with memory module.
Described command object makes up the parameter that also is provided with command object in the module and makes up module and method structure module, the parameter of described command object makes up the parameter that module is used to make up command object, comprises the context state parameter of the input parameter and the document of command type, order; The method of described command object makes up method that module is used to make up documents editing, cancels as time editor and the method for the state before returning back to documents editing.
Also be provided with cache module in the described command calls module, this module is used for behind call instruction object editing document content, and the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
As shown in Figure 1, a kind of method that reserves document editing trace may further comprise the steps:
(1) but make up the command object of persistence;
But the parameter of the command object of persistence comprises the context state parameter of the input parameter and the document of command type, order, but wherein the context state parameter of the document of persistence comprises the parameter of the current selected object that identifies document.
But make up the command object of persistence, the method of constructed command object had both comprised the method for finishing documents editing, also comprise the method for editing, returning back to the preceding state of documents editing of cancelling when inferior, when wherein returning back to the state before the documents editing, document content returns to the data before the editor, and the context state parameter of document also returns to the data before the editor.
In the present embodiment, initial document content has comprised passage as shown in Figure 2 in the document, and wherein the initial content " Founder Group " of first section literal in the document is selected.
In the present embodiment,, but make up the command object of two persistences for the editor of document, as following table:
Command type Input parameter The document context state Document edit method The documents editing backing method
Editor's word attribute (is labeled as Font: black matrix Segment index: 1 word scope: 1~6 To the literal of the choosing word attributes such as font size that set font Cancel choosing the set word attribute of literal, recover to be provided with preceding state
Edit)
Deletion literal (being labeled as Del) Do not have Segment index: 1 word scope: 1~6 Select the word content of choosing in the document Cancel deletion, deleted literal is filled out back the word content of choosing in the document
But the first three items in the table is the parameter of the command object of persistence, but back two is the method (or operation) of the command object of persistence.
(2) call instruction object editing document content; Behind the call instruction object editing document content, the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
In the present embodiment, document content shown in Figure 2 is called the document edit method of the order Edit of editor's word attribute, realization sets font to the literal of choosing " Founder Group " and is the editing operation of " black matrix ", the result as shown in Figure 3, in editing process, the context state of document does not change, the selected scope of the literal in the document of editor back be (segment index: 1, word scope: 1~6).Carry out after the documents editing order Edit, Edit is cached in the orderly order chained list with order.
At the document edit method that document content shown in Figure 3 is called deletion written order Del, then realized deletion action to the literal of choosing " Founder Group ", the result behind the editor does not then have literal not choose in the document of editor back as shown in Figure 4.Carry out after the documents editing order Del, Del also is cached in the orderly order chained list with order.
(3) preserve each command object and document content.
Preserve each command object and document content, carry out the command object of documents editing and stored in order.The document content of preserving can be the content before the documents editing, also can be the content behind the documents editing.When the content before the preservation documents editing, then the document content of Bao Cuning as shown in Figure 2, see the net result of document as hope, then can promptly can obtain final documents editing result as shown in Figure 4 by calling the documents editing order Edit that is saved and the document edit method of Del continuously; When the content behind the preservation documents editing, the document content of preserving as shown in Figure 4, recall the history of document as hope, check the document content that editor is preceding, then can call the documents editing order Del that is saved and the documents editing backing method of Edit, promptly can obtain initial document content as shown in Figure 2 by contact.
Preserve each command object and document content, command object can be saved among the same file with document content, stores respectively among also can being saved in different files.In the present embodiment, employing be to store respectively among command object and document content are saved in different files.
For the document that participates in circulation, often different people has different operating rights, for the visitor that the documents editing authority is arranged, command object and document content can be saved among the same file, the visitor with editing authority can open, edits and preserve the document that has editing trace information.And for not possessing the documents editing authority, or just check the visitor of document content, command object and document content can take to be saved in respectively the storage means among the different files when editor, the visitor who only checks document content only downloads or reads document content and gets final product, thereby can realize reducing volume of transmitted data, improve the effect of access rate.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.

Claims (12)

1, a kind of method that reserves document editing trace may further comprise the steps:
(1) but make up the command object of persistence, but comprise the parameter and the method for the command object of structure persistence;
(2) call instruction object editing document content;
(3) preserve each command object and document content.
2, a kind of method that reserves document editing trace as claimed in claim 1 is characterized in that: in the step (1), but the parameter of the command object of described persistence comprises the context state parameter of the input parameter and the document of command type, order.
3, a kind of method that reserves document editing trace as claimed in claim 2, it is characterized in that: in the step (1), the context state parameter of described document comprises the parameter of the current selected object that identifies document.
4, a kind of method that reserves document editing trace as claimed in claim 1, it is characterized in that: in the step (1), but the method for the command object of described persistence comprises the method for finishing documents editing, and cancels as time editor and the method for the state before returning back to documents editing.
5, a kind of method that reserves document editing trace as claimed in claim 4, it is characterized in that, in the step (1), the described method that return back to the preceding state of documents editing is: document content returns to the data before the editor, and the context state parameter of document also returns to the data before the editor.
6, as the described a kind of method that reserves document editing trace of one of claim 1 to 5, it is characterized in that: in the step (2), behind the call instruction object editing document content, the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
7, a kind of method that reserves document editing trace as claimed in claim 6 is characterized in that: in the step (3), preserve each command object and document content, carry out the command object of documents editing and stored in order.
8, as the described a kind of method that reserves document editing trace of one of claim 1 to 5, it is characterized in that: in the step (3), when preserving each command object and document content, the document content of preservation is the content before the documents editing, or the content behind the documents editing.
9, a kind of method that reserves document editing trace as claimed in claim 7 is characterized in that: in the step (3), command object and document content are saved among the same file.
10, a kind of method that reserves document editing trace as claimed in claim 7 is characterized in that: in the step (3), store respectively among each command object and document content be saved in different files.
11, a kind of system that reserves document editing trace, this system comprises with lower module:
(1) but the command object that is used to make up the command object of persistence makes up module;
(2) be used for the command calls module of call instruction object editing document content;
(3) be used to preserve the memory module of each command object and document content;
Described command object makes up module, the command calls module links to each other successively with memory module.
12, a kind of system that reserves document editing trace as claimed in claim 11, it is characterized in that: described command object makes up the parameter that also is provided with command object in the module and makes up module and method structure module, the parameter of described command object makes up the parameter that module is used to make up command object, comprises the context state parameter of the input parameter and the document of command type, order; The method of described command object makes up method that module is used to make up documents editing, cancels as time editor and the method for the state before returning back to documents editing;
Also be provided with cache module in the described command calls module, this module is used for behind call instruction object editing document content, and the context state parameter before and after command object and the documents editing is cached in the orderly order chained list.
CNA2008102389930A 2008-12-08 2008-12-08 Method and system for reserving document editing trace Pending CN101430677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102389930A CN101430677A (en) 2008-12-08 2008-12-08 Method and system for reserving document editing trace

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102389930A CN101430677A (en) 2008-12-08 2008-12-08 Method and system for reserving document editing trace

Publications (1)

Publication Number Publication Date
CN101430677A true CN101430677A (en) 2009-05-13

Family

ID=40646083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102389930A Pending CN101430677A (en) 2008-12-08 2008-12-08 Method and system for reserving document editing trace

Country Status (1)

Country Link
CN (1) CN101430677A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677486A (en) * 2012-09-13 2014-03-26 柯尼卡美能达株式会社 Operation controlling method and operation controlling apparatus
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN104714933A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Processing method and device for document editing
CN104714930A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Immediate processing method and device for document
CN105260350A (en) * 2014-07-14 2016-01-20 方正国际软件(北京)有限公司 Document composition method and device
CN105528334A (en) * 2015-12-17 2016-04-27 广州视睿电子科技有限公司 Document operation processing method and terminal
CN106776939A (en) * 2016-12-01 2017-05-31 山东师范大学 A kind of image lossless mask method and system
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server
CN111352652A (en) * 2020-02-26 2020-06-30 杭州迪普科技股份有限公司 Configuration item change prompting method and device
CN111913631A (en) * 2020-06-30 2020-11-10 维沃移动通信有限公司 Content editing method and device and electronic equipment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677486A (en) * 2012-09-13 2014-03-26 柯尼卡美能达株式会社 Operation controlling method and operation controlling apparatus
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN104424169B (en) * 2013-08-20 2018-03-16 柯尼卡美能达株式会社 Text editing apparatus and method for editing text
CN104714933B (en) * 2013-12-12 2018-01-05 鸿合科技有限公司 A kind for the treatment of method and apparatus of documents editing
CN104714933A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Processing method and device for document editing
CN104714930A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 Immediate processing method and device for document
CN104714930B (en) * 2013-12-12 2018-10-02 鸿合科技股份有限公司 A kind of document immediate processing method and device
CN105260350A (en) * 2014-07-14 2016-01-20 方正国际软件(北京)有限公司 Document composition method and device
CN105528334A (en) * 2015-12-17 2016-04-27 广州视睿电子科技有限公司 Document operation processing method and terminal
CN106776939A (en) * 2016-12-01 2017-05-31 山东师范大学 A kind of image lossless mask method and system
CN110968994A (en) * 2019-10-20 2020-04-07 武汉烽火信息集成技术有限公司 Document online editing method and server
CN110968994B (en) * 2019-10-20 2024-02-27 武汉烽火信息集成技术有限公司 Document online editing method and server
CN111352652A (en) * 2020-02-26 2020-06-30 杭州迪普科技股份有限公司 Configuration item change prompting method and device
CN111352652B (en) * 2020-02-26 2023-04-28 杭州迪普科技股份有限公司 Prompting method and device for configuration item change
CN111913631A (en) * 2020-06-30 2020-11-10 维沃移动通信有限公司 Content editing method and device and electronic equipment
CN111913631B (en) * 2020-06-30 2022-03-25 维沃移动通信有限公司 Content editing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN101430677A (en) Method and system for reserving document editing trace
US10303596B2 (en) Read-write control method for memory, and corresponding memory and server
US7974948B2 (en) Automatically capturing and maintaining versions of documents
CN107391544B (en) Processing method, device and equipment of column type storage data and computer storage medium
CN100428199C (en) Decoupling storage controller cache read replacement from write retirement
CN104809237A (en) LSM-tree (The Log-Structured Merge-Tree) index optimization method and LSM-tree index optimization system
CN101315621A (en) Method for implementing document sharing editting
CN103440304A (en) Method and device for storing picture
CN104615594B (en) A kind of data-updating method and device
CN103473298B (en) Data archiving method and device and storage system
CN104424162A (en) Method and device for generating record of document used recently
CN110096509A (en) Realize that historical data draws the system and method for storage of linked list modeling processing under big data environment
CN103514258A (en) Centralized recording, preprocessing and replaying method based on offline cache file operation
CN102831072A (en) Flash memory device, and management method, data read-write method and data read-write device thereof
CN106156301A (en) A kind of processing method and processing device of big field data
CN111241791A (en) Editing method and device of webpage text, computer equipment and storage medium
Hogan The archive as dumpster
CN107329782A (en) A kind of method for lifting embedded device configuration file read-write efficiency
CN108304259A (en) EMS memory management process and system
CN105512325A (en) Multi-version data index renewing, deleting and establishing method and device
CN106777037A (en) A kind of method for generating operation platform integration form
CN104102552A (en) Message processing method and device
CN109710681A (en) Data output method, device, computer equipment and storage medium
CN106202008B (en) A kind of MySQL database structured document generation method and device
CN103778231A (en) Method and system for managing operation record information, of databank

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090513