CN110929472A - Document editing method and device, computer storage medium and terminal - Google Patents

Document editing method and device, computer storage medium and terminal Download PDF

Info

Publication number
CN110929472A
CN110929472A CN201811095348.8A CN201811095348A CN110929472A CN 110929472 A CN110929472 A CN 110929472A CN 201811095348 A CN201811095348 A CN 201811095348A CN 110929472 A CN110929472 A CN 110929472A
Authority
CN
China
Prior art keywords
editing
document
information
recorded
edit
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
Application number
CN201811095348.8A
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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201811095348.8A priority Critical patent/CN110929472A/en
Publication of CN110929472A publication Critical patent/CN110929472A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A method, a device, a computer storage medium and a terminal for editing a document comprise: recording edit information for performing editing operation on the document according to a preset strategy; and reading and displaying the recorded editing information according to the received viewing instruction. According to the embodiment of the invention, the information of the editing operation executed before the document is saved is obtained through the read editing information, the influence on the document editing caused by the fact that the previous editing operation cannot be determined after the document is saved is avoided, and the document editing efficiency is improved.

Description

Document editing method and device, computer storage medium and terminal
Technical Field
The present disclosure relates to, but not limited to, information editing technologies, and in particular, to a method, an apparatus, a computer storage medium, and a terminal for document editing.
Background
At present, for documents including Word, PPT, Visio, Excel and the like, if a save instruction (including saving by clicking a save button, saving according to a preset period and saving by default when the document is closed) executed by a user is performed, the user cannot perform a undo operation on a previous editing operation, and if the user needs to restore the document to a position before performing the undo operation, the user needs to re-edit the document, which consumes a lot of time and energy of the user, but the effect cannot be guaranteed.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method and a device for editing a document, a computer storage medium and a terminal.
The embodiment of the invention provides a method for editing a document, which comprises the following steps:
recording edit information for performing editing operation on the document according to a preset strategy;
and reading and displaying the recorded editing information according to the received viewing instruction.
Optionally, the editing information includes part or all of the following information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
Optionally, the editing information for performing editing operation on the document according to the preset policy record includes:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
Optionally, when the editing information of the editing operation on the document is recorded according to the preset policy, the method further includes:
copies of the document corresponding to the respective editing information are stored.
Optionally, the viewing instruction includes the following part or all of information:
author of the edit, edit time, and kind of edit operation.
Optionally, the method further includes:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
On the other hand, an embodiment of the present invention further provides a device for editing a document, including: a recording unit and an acquisition unit; wherein,
the recording unit is used for: recording edit information for performing editing operation on the document according to a preset strategy;
the acquisition unit is used for: and reading and displaying the recorded editing information according to the received viewing instruction.
Optionally, the editing information includes part or all of the following information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
Optionally, the recording unit is specifically configured to:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
Optionally, the apparatus further includes a storage unit, configured to:
copies of the document corresponding to the respective editing information are stored.
Optionally, the viewing instruction includes the following part or all of information:
author of the edit, edit time, and kind of edit operation.
Optionally, the apparatus further includes a display processing unit, configured to:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
In still another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for editing a document.
In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
recording edit information for performing editing operation on the document according to a preset strategy;
and reading and displaying the recorded editing information according to the received viewing instruction.
Compared with the related art, the technical scheme of the application comprises the following steps: recording edit information for performing editing operation on the document according to a preset strategy; and reading and displaying the recorded editing information according to the received viewing instruction. According to the embodiment of the invention, the information of the editing operation executed before the document is saved is obtained through the read editing information, the influence on the document editing caused by the fact that the previous editing operation cannot be determined after the document is saved is avoided, and the document editing efficiency is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow diagram of a method of document editing according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for document editing according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
FIG. 1 is a flowchart of a document editing method according to an embodiment of the present invention, as shown in FIG. 1, including:
step 101, recording editing information for editing operation on a document according to a preset strategy;
it should be noted that the editing information according to the embodiment of the present invention may be stored in a default storage path, for example, in an information storage path of the office software default, or in a server for storing information related to the office software. In addition, the format of the editing information may be an instruction format that is customary in the art in the related art.
Optionally, the editing information in the embodiment of the present invention includes the following part or all of information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
It should be noted that the editing information in the embodiment of the present invention theoretically includes editing content and editing time, and generally, it is only beneficial to refer to the editing information if the two kinds of information are retained.
Optionally, the editing information for performing the editing operation on the document according to the preset policy record in the embodiment of the present invention includes:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
It should be noted that the type of the editing operation related to the editing information determined in the embodiment of the present invention may include adding or deleting the format and the content of the text; inserting and editing the table; insertion, editing, etc. of pictures.
And step 102, reading and displaying the recorded editing information according to the received viewing instruction.
It should be noted that, assuming that the editing information is uploaded to a preset server, reading the editing information may include reading the editing information from the server to a terminal where a user edits a document. Document editing in embodiments of the present invention may include editing that is implemented in an online manner.
The embodiment of the invention can inquire the editing operation executed before the document is saved by reading the editing information, thereby avoiding the influence on the document editing caused by the fact that the previous editing operation cannot be cancelled after the document is saved, and improving the document editing efficiency.
Optionally, when editing information of an editing operation performed on a document is recorded according to a preset policy, the method according to the embodiment of the present invention further includes:
copies of the document corresponding to the respective editing information are stored.
It should be noted that, the embodiment of the present invention may store the document copy by using a method for parameter setting in the related art for reference.
Optionally, the viewing instruction in the embodiment of the present invention includes the following part or all of information:
author of the edit, edit time, and kind of edit operation.
It should be noted that, when the embodiment of the present invention views the editing information, the setting may be performed for different editing users, editing operations in different time periods, and different types of editing operations, and based on the setting of the viewing instruction, the efficiency of viewing the editing information may be improved.
Optionally, the method in the embodiment of the present invention further includes:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
It should be noted that, when there is edit information and a copy of a document, the editing process of displaying the document in time sequence may be implemented based on a method known in the related art.
Compared with the related art, the technical scheme of the application comprises the following steps: recording edit information for performing editing operation on the document according to a preset strategy; and reading and displaying the recorded editing information according to the received viewing instruction. According to the embodiment of the invention, the information of the editing operation executed before the document is saved is obtained through the read editing information, the influence on the document editing caused by the fact that the previous editing operation cannot be determined after the document is saved is avoided, and the document editing efficiency is improved.
Fig. 2 is a block diagram of a device for document editing according to an embodiment of the present invention, as shown in fig. 2, including: a recording unit and an acquisition unit; wherein,
the recording unit is used for: recording edit information for performing editing operation on the document according to a preset strategy;
it should be noted that the editing information according to the embodiment of the present invention may be stored in a default storage path, for example, in an information storage path of the office software default, or in a server for storing information related to the office software. In addition, the format of the editing information may be an instruction format that is customary in the art in the related art.
The acquisition unit is used for: and reading and displaying the recorded editing information according to the received viewing instruction.
It should be noted that, assuming that the editing information is uploaded to a preset server, reading the editing information may include reading the editing information from the server to a terminal where a user edits a document. Document editing in embodiments of the present invention may include editing that is implemented in an online manner.
The embodiment of the invention can inquire the editing operation executed before the document is saved by reading the editing information, thereby avoiding the influence on the document editing caused by the fact that the previous editing operation cannot be cancelled after the document is saved, and improving the document editing efficiency.
Optionally, the editing information in the embodiment of the present invention includes the following part or all of information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
It should be noted that the editing information in the embodiment of the present invention theoretically includes editing content and editing time, and generally, it is only beneficial to refer to the editing information if the two kinds of information are retained.
Optionally, the recording unit in the embodiment of the present invention is specifically configured to:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
It should be noted that the type of the editing operation related to the editing information determined in the embodiment of the present invention may include adding or deleting the format and the content of the text; inserting and editing the table; insertion, editing, etc. of pictures.
Optionally, the apparatus in this embodiment of the present invention further includes a storage unit, configured to:
copies of the document corresponding to the respective editing information are stored.
It should be noted that, the embodiment of the present invention may store the document copy by using a method for parameter setting in the related art for reference.
Optionally, the viewing instruction in the embodiment of the present invention includes the following part or all of information:
author of the edit, edit time, and kind of edit operation.
It should be noted that, when the embodiment of the present invention views the editing information, the setting may be performed for different editing users, editing operations in different time periods, and different types of editing operations, and based on the setting of the viewing instruction, the efficiency of viewing the editing information may be improved.
Optionally, the apparatus in this embodiment of the present invention further includes a display processing unit, configured to:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
It should be noted that, when there is edit information and a copy of a document, the editing process of displaying the document in time sequence may be implemented based on a method known in the related art.
Compared with the related art, the technical scheme of the application comprises the following steps: recording edit information for performing editing operation on the document according to a preset strategy; and reading and displaying the recorded editing information according to the received viewing instruction. According to the embodiment of the invention, the information of the editing operation executed before the document is saved is obtained through the read editing information, the influence on the document editing caused by the fact that the previous editing operation cannot be determined after the document is saved is avoided, and the document editing efficiency is improved.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used for executing the document editing method.
An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
recording edit information for performing editing operation on the document according to a preset strategy;
and reading and displaying the recorded editing information according to the received viewing instruction.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method of document editing, comprising:
recording edit information for performing editing operation on the document according to a preset strategy;
and reading and displaying the recorded editing information according to the received viewing instruction.
2. The method according to claim 1, wherein the editing information comprises part or all of the following information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
3. The method of claim 2, wherein recording the editing information for editing the document according to the preset strategy comprises:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
4. The method according to claim 2, wherein when the editing information for performing the editing operation on the document is recorded according to the preset policy, the method further comprises:
copies of the document corresponding to the respective editing information are stored.
5. The method according to any one of claims 2 to 4, wherein the viewing instruction includes part or all of the following information:
author of the edit, edit time, and kind of edit operation.
6. The method of claim 5, further comprising:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
7. An apparatus for document editing, comprising: a recording unit and an acquisition unit; wherein,
the recording unit is used for: recording edit information for performing editing operation on the document according to a preset strategy;
the acquisition unit is used for: and reading and displaying the recorded editing information according to the received viewing instruction.
8. The apparatus of claim 7, wherein the editing information comprises some or all of the following information:
the type of editing operation, the editing content, the author of the editing, and the editing time.
9. The method according to claim 8, characterized in that the recording unit is specifically configured to:
determining the type of editing operation related to the recorded editing information according to the received external instruction;
for each editing operation involved in determining the recorded editing information, recording the detected editing operation for each step of editing the document.
10. The apparatus of claim 8, further comprising a storage unit to:
copies of the document corresponding to the respective editing information are stored.
11. The device according to any one of claims 8 to 10, wherein the viewing instruction includes part or all of the following information:
author of the edit, edit time, and kind of edit operation.
12. The apparatus of claim 11, further comprising a display processing unit to:
and displaying the editing processing process of the document according to the recorded editing information and the stored document copy in time sequence.
13. A computer storage medium having computer-executable instructions stored therein for performing the method of document editing of any of claims 1-6.
14. A terminal, comprising: a memory and a processor; wherein,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
recording edit information for performing editing operation on the document according to a preset strategy;
and reading and displaying the recorded editing information according to the received viewing instruction.
CN201811095348.8A 2018-09-19 2018-09-19 Document editing method and device, computer storage medium and terminal Withdrawn CN110929472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811095348.8A CN110929472A (en) 2018-09-19 2018-09-19 Document editing method and device, computer storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811095348.8A CN110929472A (en) 2018-09-19 2018-09-19 Document editing method and device, computer storage medium and terminal

Publications (1)

Publication Number Publication Date
CN110929472A true CN110929472A (en) 2020-03-27

Family

ID=69855988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811095348.8A Withdrawn CN110929472A (en) 2018-09-19 2018-09-19 Document editing method and device, computer storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110929472A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913631A (en) * 2020-06-30 2020-11-10 维沃移动通信有限公司 Content editing method and device and electronic equipment
CN112965946A (en) * 2021-03-31 2021-06-15 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440232A (en) * 2013-09-10 2013-12-11 青岛大学 Automatic sScientific paper standardization automatic detecting and editing method
CN103914439A (en) * 2013-01-04 2014-07-09 中国移动通信集团公司 Method, device and system for online document edition
US20180039606A1 (en) * 2016-08-04 2018-02-08 Lulu Software Holdings System and method for the online editing of pdf documents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914439A (en) * 2013-01-04 2014-07-09 中国移动通信集团公司 Method, device and system for online document edition
CN103440232A (en) * 2013-09-10 2013-12-11 青岛大学 Automatic sScientific paper standardization automatic detecting and editing method
US20180039606A1 (en) * 2016-08-04 2018-02-08 Lulu Software Holdings System and method for the online editing of pdf documents

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN112965946A (en) * 2021-03-31 2021-06-15 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document
CN112965946B (en) * 2021-03-31 2022-12-13 建信金融科技有限责任公司 Method, device, equipment and computer readable medium for processing document

Similar Documents

Publication Publication Date Title
CN106649543B (en) Method, device and terminal for recording reading progress
US20130198148A1 (en) Estimating data reduction in storage systems
CN104360990A (en) Content editing method
CN106168874B (en) webpage-based multimedia message editing method and device
WO2019041639A1 (en) Information storage and display method, device, equipment and computer storage medium
CN110929472A (en) Document editing method and device, computer storage medium and terminal
CN111104777A (en) Document editing method and device, computer storage medium and terminal
CN113518187B (en) Video editing method and device
JP6193406B2 (en) Serialization for differential encoding
CN104182479B (en) A kind of method and device handling information
CN112036133B (en) File storage method and device, electronic equipment and storage medium
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium
CN104714930A (en) Immediate processing method and device for document
CN111079375B (en) Information sorting method and device, computer storage medium and terminal
JP2013057999A (en) Electronic mail template creation device, electronic mail template creation method, and electronic mail template creation program
CN111522939A (en) Method and device for processing note, computer storage medium and terminal
CN113378527A (en) PDF document editing method and device, storage medium and electronic equipment
CN107749892B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN110019507B (en) Data synchronization method and device
CN111625508A (en) Information processing method and device
CN114706823B (en) File writing method, device, equipment and medium
CN105205069B (en) Cache opening method and device based on paging file
CN111581921B (en) Text editing method and device, computer storage medium and terminal
CN111310415A (en) Document conversion method and device, computer storage medium and terminal
CN111563006B (en) Data processing method, intelligent terminal and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200327