CN110659526A - Document processing method and device and electronic equipment - Google Patents

Document processing method and device and electronic equipment Download PDF

Info

Publication number
CN110659526A
CN110659526A CN201810716488.6A CN201810716488A CN110659526A CN 110659526 A CN110659526 A CN 110659526A CN 201810716488 A CN201810716488 A CN 201810716488A CN 110659526 A CN110659526 A CN 110659526A
Authority
CN
China
Prior art keywords
document
setting
processed
modification
mode
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.)
Granted
Application number
CN201810716488.6A
Other languages
Chinese (zh)
Other versions
CN110659526B (en
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 Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan 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 Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201810716488.6A priority Critical patent/CN110659526B/en
Publication of CN110659526A publication Critical patent/CN110659526A/en
Application granted granted Critical
Publication of CN110659526B publication Critical patent/CN110659526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention provides a document processing method, a document processing device and electronic equipment, wherein the method comprises the following steps: receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode; judging whether the setting mode is a protection mode or an editing mode; and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed. The technical scheme provided by the embodiment of the invention can simplify the operation process of the user when selecting the protection area and improve the user experience.

Description

Document processing method and device and electronic equipment
Technical Field
The present invention relates to the field of document processing technologies, and in particular, to a document processing method and apparatus, and an electronic device.
Background
With the development of computer technology, the generation of electronic documents by office software such as Word, Excel, WPS and the like has become an essential content in work and study of people.
In many usage scenarios, a user needs to perform partially editable settings on an electronic document. For example, after the administrator edits an employee information table including each item, the employee fills information of each item in a position of item content corresponding to each item in the information table. At this time, the manager can select the content corresponding to each project, set the content corresponding to each project to be in an editable state, and the staff can modify the content corresponding to each project according to the actual situation of the staff, and the content other than the content corresponding to each project is not allowed to be edited by the staff. Therefore, the consistency of the information table can be maintained, and the statistics of the information is facilitated.
However, there are also some common usage scenarios where a user only needs to protect one or a few regions of a document, and most of the rest of the document is allowed to be edited by others. For example, for a document with one or more signatures, a user may want that a third party cannot modify or delete the signature, but requires that the third party can edit other areas of the document, and at this time, there are many areas to be edited, and with existing office software, the user needs to select all the remaining areas except the signature to be protected in sequence, which results in a cumbersome operation process when the user selects a protection area, a low document editing efficiency, and a poor user experience.
Disclosure of Invention
The embodiment of the invention aims to provide a document processing method, a document processing device and electronic equipment, so as to simplify the operation process of a user when selecting a protection area and improve the user experience. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a document processing method, including:
receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
judging whether the setting mode is a protection mode or an editing mode;
and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
Optionally, the method further includes:
receiving a modification position instruction aiming at the document to be processed, wherein the modification position instruction comprises a modification position for modifying the document to be processed;
judging whether the document to be processed has a protection area or not;
when the document to be processed has a protection area, judging whether the modification position belongs to the protection area range;
when the modification position does not belong to the protection area range, receiving a content modification instruction aiming at the document to be processed; the content modification instruction comprises modification content for modifying the document to be processed;
and modifying the modification position of the document to be processed according to the modification content.
Optionally, the setting instruction further includes a setting password;
correspondingly, the method further comprises the following steps:
when the modification position belongs to the protection area range, receiving a modification password for modifying the document to be processed;
judging whether the modification password is the same as the setting password;
and when the modification password is the same as the setting password, modifying the modification position of the document to be processed according to the modification content.
Optionally, after determining whether the modification position belongs to the protection area range, the method further includes:
and when the modification position belongs to the protection area range, displaying a preset prohibition identifier.
Optionally, after determining whether the modification position belongs to the protection area range, the method further includes:
and when the modification position belongs to the protection area range, displaying the document content in the protection area range in a preset display mode.
Optionally, after determining that the setting mode is the protection mode or the editing mode, the method further includes:
and when the setting mode is an editing mode, taking the setting area as the editing area of the document to be processed.
In a second aspect, an embodiment of the present invention provides a document processing apparatus, including:
a setting instruction receiving unit for receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
the mode judging unit is used for judging whether the setting mode is a protection mode or an editing mode;
and the protection area determining unit is used for taking the setting area as the protection area of the document to be processed when the setting mode is the protection mode.
Optionally, the apparatus further comprises:
a position instruction receiving unit, configured to receive a modification position instruction for the to-be-processed document, where the modification position instruction includes a modification position at which the to-be-processed document is modified;
the protection area judging unit is used for judging whether the document to be processed has a protection area or not;
the modification position judging unit is used for judging whether the modification position belongs to the protection area range or not when the protection area judging unit judges that the document to be processed has the protection area;
a first modified content instruction receiving unit, configured to receive a first modified content instruction for the to-be-processed document when the modification position does not belong to the protection area range; the content modification instruction comprises first modification content for modifying the document to be processed;
and the first modification unit is used for modifying the modification position of the document to be processed according to the first modification content.
Optionally, the setting instruction further includes a setting password;
correspondingly, the device further comprises:
a modified password receiving unit, configured to receive a modified password for modifying the to-be-processed document when the modification position belongs to the protection area range;
a password judgment unit for judging whether the modification password is the same as the setting password;
a second modified content instruction receiving unit, configured to receive a second modified content instruction for the to-be-processed document when the modification password is the same as the setting password; the second modified content instruction comprises second modified content for modifying the document to be processed;
and the second modification unit is used for modifying the modification position of the document to be processed according to the second modification content.
Optionally, the apparatus further comprises:
and the mark display unit is used for displaying a preset forbidden mark when the modification position belongs to the protection area range.
Optionally, the apparatus further comprises:
and the distinguishing display unit is used for displaying the document content in the protection area range in a preset display mode when the modification position belongs to the protection area range.
Optionally, the apparatus further comprises:
and the editing area determining unit is used for taking the setting area as the editing area of the document to be processed when the setting mode is the editing mode.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement any of the document processing methods described in the first aspect when executing the program stored in the memory.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, in which instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute any one of the document processing methods described in the first aspect.
According to the document processing method, the document processing device and the electronic equipment provided by the embodiment of the invention, when the electronic equipment receives a setting instruction aiming at a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode; judging the setting mode as a protection mode or an editing mode; and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
The embodiment of the invention allows a user to select the type of the setting mode in the process of processing the document, when the user selects the protection mode, the setting mode in the setting instruction received by the electronic equipment is the protection mode, and at the moment, the electronic equipment can directly take the setting area selected by the user as the protection area, so that the operation steps of selecting the protection area by the user can be reduced, and the user experience is improved. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a document processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another document processing method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a document processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to simplify the operation process of the user when selecting the protection area and improve the user experience, the embodiment of the invention provides a document processing method, a document processing device and electronic equipment.
The following first introduces a document processing method provided by an embodiment of the present invention.
It should be noted that the document processing method provided by the embodiment of the present invention can be applied to the electronic document processing industry.
As shown in fig. 1, the document processing method provided by the embodiment of the present invention may include the following steps:
s110: receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode.
It can be understood that, a user may process a document to be processed by using the corresponding function menu on the document to be processed interface, and when the user processes the document to be processed by using the corresponding function menu, the user may send a corresponding instruction to the electronic device, so that the electronic device processes the document to be processed according to the instruction. Therefore, the setting instruction may be an instruction sent to the electronic device after the user operates the relevant function menu on the electronic document interface.
In practical applications, there are generally two application scenarios that require a user to set a protection area: one is that the user wants to protect more areas, only a few of which are allowed to be edited; the other is that the user wants less area to protect, most of which are allowed to be edited. Aiming at two different application scenes, a user can select a setting mode suitable for the different application scenes and a to-be-set area on a to-be-processed document interface, and a selection result is sent to the electronic equipment. In the embodiment of the invention, in order to respond to a setting request of a user, the electronic equipment can receive a setting instruction aiming at a document to be processed, and the setting instruction can comprise a setting mode and a setting area, wherein the setting mode comprises a protection mode or an editing mode.
The protection mode is set when the number of areas that the user wants to protect is small, and the editing mode is set when the number of areas that the user wants to protect is large. The setting area is an area to be set selected by a user on a document to be processed.
S120: and judging the setting mode to be a protection mode or an editing mode.
After receiving a setting instruction sent by a user, the electronic device provides a document processing method suitable for a setting mode selected by the user for the user, and can judge that the setting mode is a protection mode or an editing mode, so that a document to be processed can be processed according to different setting modes.
S130: and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
In practical application, when a user wants to protect a few regions in a document to be processed, the user can select a setting mode as a protection mode on a document interface to be processed and select a setting region. In the embodiment of the invention, after the electronic device receives that the setting mode selected by the user is the protection mode, the setting area selected by the user can be used as the protection area to be protected in the document to be processed, so that the document content corresponding to the protection area can be protected.
The document processing method provided by the embodiment of the invention allows a user to select the type of the setting mode in the document processing process, when the user selects the protection mode, the setting mode in the setting instruction received by the electronic equipment is the protection mode, and at the moment, the electronic equipment can directly take the setting area selected by the user as the protection area, so that the operation steps of selecting the protection area by the user can be reduced, and the user experience is improved.
In practical applications, after a user sets a protection region for a document to be processed, it is desirable that document contents corresponding to the protection region are not edited any more. In an implementation manner of the embodiment of the present invention, when a user edits a document to be processed in which a protection area is set, as shown in fig. 2, the method may further include the following steps:
s140: and receiving a modification position instruction aiming at the to-be-processed document, wherein the modification position instruction comprises a modification position for modifying the to-be-processed document.
It will be appreciated that when a user modifies a document, the user typically modifies the document content at the location of the click, typically by clicking on a location in the document. Therefore, the modification position instruction may be a modification position instruction sent to the electronic device by the user clicking a certain position in the document to be processed, and the modification position instruction may include a modification position selected by the user by clicking.
S150: and judging whether the to-be-processed document has a protection area.
S160: and when the document to be processed has a protection area, judging whether the modification position belongs to the protection area range.
S170: when the modification position does not belong to the protection area range, receiving a first content modification instruction aiming at the to-be-processed document; the modification content instruction comprises first modification content for modifying the document to be processed.
S180: and modifying the modification position of the document to be processed according to the first modification content.
It can be understood that, since the document content in the protected area is not allowed to be edited, the electronic device may not perform any operation on the above-mentioned to-be-processed document when the modification position selected by the user belongs to the protected area.
Because the document content outside the protection area is allowed to be edited, when the modification position does not belong to the protection area range, the electronic equipment can receive a first modification content instruction which is sent by a user and aims at the document to be processed, wherein the first modification content instruction comprises first modification content for modifying the document to be processed. The first modified content may be modified content such as adding characters, deleting characters, changing font color, changing font size, and the like.
The embodiment of the invention can protect the document content in the protection area and modify the document content outside the protection area, thereby further improving the flexibility of processing the document by a user.
In practical applications, a user may want a part of people to edit the document content in the protected area, for example, a colleague in the same department as the user may want to edit the document content in the protected area, while colleagues in other departments may not edit the document content in the protected area.
In order to enable a part of people to edit the document content in the protected area, in an implementation manner of the embodiment of the present invention, the setting instruction in step S110 may further include a setting password, where the setting password may be sent to the electronic device after being set in the interface of the document to be processed by the user.
Correspondingly, the method can further comprise the following steps:
when the modification position belongs to the protection area range, receiving a modification password for modifying the document to be processed;
judging whether the modification password is the same as the set password;
when the modification password is the same as the setting password, receiving a second content modification instruction aiming at the document to be processed; the second modified content instruction comprises second modified content for modifying the document to be processed; the second modified content command is a command related to modified content input by a user, and the second modified content command may be the same command as the first modified content command or a different command from the first modified content command.
And modifying the modification position of the document to be processed according to the second modification content.
The embodiment of the invention allows a user to add the set password when setting the protection area, and when other users modify the document, if the input modification password is the same as the set password, even if the modification position belongs to the protection area, the electronic equipment can modify the modification position of the document to be processed, so that other users knowing the set password can modify the protection area of the document to be processed, and the flexibility of protecting the document is improved.
In practical application, if other users do not know that the protection area is set in the document to be processed, when the content of the document in the protection area of the document to be processed is modified by other users, the electronic device does not respond to the modification operation, so that other users who modify the document fail to modify due to unknown reasons, time is spent on inquiring the reason of the failed modification, and time of the users is wasted. In an implementation manner of the embodiment of the present invention, in order to avoid that other users spend time to query the reason of the modification failure, thereby saving time for other users, after the step S160, the following steps may be further included:
and displaying a preset prohibition identifier when the modification position belongs to the protection area range. The preset prohibition identifier may be a preset picture or a preset character, and the embodiment of the present invention is not limited specifically. The electronic equipment can display a preset prohibition identifier in an interface of the document to be processed.
After the preset prohibition identification is displayed, the user can know that the modification position is protected, and the modification operation cannot be carried out. Therefore, the user can be prevented from spending time to inquire the reason of the modification failure, and the time of the user is saved.
In practical applications, when a user edits a document having a protection area, the user often needs to click many times to find the editable area because the user does not know the specific range of the protection area. In an implementation manner of the embodiment of the present invention, in order to enable the user to quickly find the editable area, after the step S160, the method may further include the following steps:
and when the modification position belongs to the protection area range, displaying the document content in the protection area range in a preset display mode.
The preset display mode is a display mode different from the document content outside the protection area range. For example, the displaying the document content in the protection area range in the preset display manner may be: adding a preset background color to the document content in the protection area range and then displaying the document content, wherein the preset background color is different from the background color of the document outside the protection area range; or displaying the document content in the protection area range by using a preset character color, wherein the preset character color is different from the character color of the document outside the protection area range. Those skilled in the art may also specifically set the preset display mode according to actual situations, and the embodiment of the present invention is not limited in particular.
After the document content in the protection area range is displayed in a preset display mode, a user can know which areas belong to the protection areas, so that the user can quickly find the editable areas outside the protection areas, and the document editing efficiency of the user is improved.
It is understood that when a user wants to protect most regions and edit few regions in a document to be processed, a setting mode can be selected as an editing mode and a setting region can be selected on the interface of the document to be processed. In an implementation manner of the embodiment of the present invention, when the setting mode selected by the user is an editing mode, the method may further include the following steps:
and when the electronic equipment judges that the setting mode is an editing mode, taking the setting area as an editing area of the document to be processed. So that the user can make modifications to the content in the editing area.
An embodiment of the present invention further provides a document processing apparatus, as shown in fig. 3, the apparatus may include:
a setting instruction receiving unit 310 configured to receive a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
a mode determining unit 320 for determining whether the setting mode is a protection mode or an editing mode;
a protection area determining unit 330, configured to, when the setting mode is a protection mode, take the setting area as a protection area of the document to be processed.
The document processing device provided by the embodiment of the invention allows a user to select the type of the setting mode in the document processing process, when the user selects the protection mode, the setting mode in the setting instruction received by the electronic equipment is the protection mode, and at the moment, the electronic equipment can directly take the setting area selected by the user as the protection area, so that the operation steps of selecting the protection area by the user can be reduced, and the user experience is improved.
In an implementation manner of the embodiment of the present invention, the apparatus may further include:
a position instruction receiving unit, configured to receive a modification position instruction for the to-be-processed document, where the modification position instruction includes a modification position at which the to-be-processed document is modified;
the protection area judging unit is used for judging whether the document to be processed has a protection area or not;
the modification position judging unit is used for judging whether the modification position belongs to the protection area range or not when the protection area judging unit judges that the document to be processed has the protection area;
a first modified content instruction receiving unit, configured to receive a first modified content instruction for the to-be-processed document when the modification position does not belong to the protection area range; the content modification instruction comprises first modification content for modifying the document to be processed;
and the first modification unit is used for modifying the modification position of the document to be processed according to the first modification content.
In an implementation manner of the embodiment of the present invention, the setting instruction may further include a setting password;
correspondingly, the device may further include:
a modified password receiving unit, configured to receive a modified password for modifying the to-be-processed document when the modification position belongs to the protection area range;
a password judgment unit for judging whether the modification password is the same as the setting password;
a second modified content instruction receiving unit, configured to receive a second modified content instruction for the to-be-processed document when the modification password is the same as the setting password; the second modified content instruction comprises second modified content for modifying the document to be processed;
and the second modification unit is used for modifying the modification position of the document to be processed according to the second modification content.
In an implementation manner of the embodiment of the present invention, the apparatus may further include:
and the mark display unit is used for displaying a preset forbidden mark when the modification position belongs to the protection area range.
In an implementation manner of the embodiment of the present invention, the apparatus may further include:
and the distinguishing display unit is used for displaying the document content in the protection area range in a preset display mode when the modification position belongs to the protection area range.
In an implementation manner of the embodiment of the present invention, the apparatus may further include:
and the editing area determining unit is used for taking the setting area as the editing area of the document to be processed when the setting mode is the editing mode.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
judging whether the setting mode is a protection mode or an editing mode;
and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
The electronic equipment provided by the embodiment of the invention allows a user to select the type of the setting mode in the document processing process, when the user selects the protection mode, the setting mode in the setting instruction received by the electronic equipment is the protection mode, and at the moment, the electronic equipment can directly take the setting area selected by the user as the protection area, so that the operation steps of selecting the protection area by the user can be reduced, and the user experience is improved.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the server and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The electronic device may be: desktop computers, laptop computers, intelligent mobile terminals, servers, and the like. Without limitation, any electronic device that can implement the present invention is within the scope of the present invention.
An embodiment of the present invention further provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer is caused to execute the following method:
receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
judging whether the setting mode is a protection mode or an editing mode;
and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
The storage medium provided by the embodiment of the invention allows a user to select the type of the setting mode in the process of processing the document, when the user selects the protection mode, the setting mode in the setting instruction received by the electronic equipment is the protection mode, and at the moment, the electronic equipment can directly take the setting area selected by the user as the protection area, so that the operation steps of selecting the protection area by the user can be reduced, and the user experience is improved.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device/server/storage medium embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method of document processing, comprising:
receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
judging whether the setting mode is a protection mode or an editing mode;
and when the setting mode is a protection mode, taking the setting area as a protection area of the document to be processed.
2. The method of claim 1, further comprising:
receiving a modification position instruction aiming at the document to be processed, wherein the modification position instruction comprises a modification position for modifying the document to be processed;
judging whether the document to be processed has a protection area or not;
when the document to be processed has a protection area, judging whether the modification position belongs to the protection area range;
when the modification position does not belong to the protection area range, receiving a first content modification instruction aiming at the document to be processed; the content modification instruction comprises first modification content for modifying the document to be processed;
and modifying the modification position of the document to be processed according to the first modification content.
3. The method of claim 2, wherein the setting instruction further comprises setting a password;
correspondingly, the method further comprises the following steps:
when the modification position belongs to the protection area range, receiving a modification password for modifying the document to be processed;
judging whether the modification password is the same as the setting password;
when the modification password is the same as the setting password, receiving a second content modification instruction aiming at the document to be processed; the second modified content instruction comprises second modified content for modifying the document to be processed;
and modifying the modification position of the document to be processed according to the second modification content.
4. The method of claim 2, wherein after determining whether the modified location falls within the protection area, further comprising:
and when the modification position belongs to the protection area range, displaying a preset prohibition identifier.
5. The method of claim 2, wherein after determining whether the modified location falls within the protection area, further comprising:
and when the modification position belongs to the protection area range, displaying the document content in the protection area range in a preset display mode.
6. The method according to claim 1, wherein after determining that the setting mode is the protection mode or the editing mode, the method further comprises:
and when the setting mode is an editing mode, taking the setting area as the editing area of the document to be processed.
7. A document processing apparatus, comprising:
a setting instruction receiving unit for receiving a setting instruction for a document to be processed; the setting instruction comprises a setting mode and a setting area, and the setting mode comprises a protection mode or an editing mode;
the mode judging unit is used for judging whether the setting mode is a protection mode or an editing mode;
and the protection area determining unit is used for taking the setting area as the protection area of the document to be processed when the setting mode is the protection mode.
8. The apparatus of claim 7, further comprising:
a position instruction receiving unit, configured to receive a modification position instruction for the to-be-processed document, where the modification position instruction includes a modification position at which the to-be-processed document is modified;
the protection area judging unit is used for judging whether the document to be processed has a protection area or not;
the modification position judging unit is used for judging whether the modification position belongs to the protection area range or not when the protection area judging unit judges that the document to be processed has the protection area;
a first modified content instruction receiving unit, configured to receive a first modified content instruction for the to-be-processed document when the modification position does not belong to the protection area range; the content modification instruction comprises first modification content for modifying the document to be processed;
and the first modification unit is used for modifying the modification position of the document to be processed according to the first modification content.
9. The apparatus of claim 8, wherein the setting instruction further comprises a setting password;
correspondingly, the device further comprises:
a modified password receiving unit, configured to receive a modified password for modifying the to-be-processed document when the modification position belongs to the protection area range;
a password judgment unit for judging whether the modification password is the same as the setting password;
a second modified content instruction receiving unit, configured to receive a second modified content instruction for the to-be-processed document when the modification password is the same as the setting password; the second modified content instruction comprises second modified content for modifying the document to be processed;
and the second modification unit is used for modifying the modification position of the document to be processed according to the second modification content.
10. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the document processing method according to any one of claims 1 to 6 when executing the program stored in the memory.
CN201810716488.6A 2018-06-29 2018-06-29 Document processing method and device and electronic equipment Active CN110659526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810716488.6A CN110659526B (en) 2018-06-29 2018-06-29 Document processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810716488.6A CN110659526B (en) 2018-06-29 2018-06-29 Document processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110659526A true CN110659526A (en) 2020-01-07
CN110659526B CN110659526B (en) 2023-11-24

Family

ID=69027262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810716488.6A Active CN110659526B (en) 2018-06-29 2018-06-29 Document processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110659526B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925515A (en) * 2021-03-11 2021-06-08 亿度慧达教育科技(北京)有限公司 Editing control method, device, equipment and storage medium
CN114626344A (en) * 2020-11-27 2022-06-14 腾讯科技(深圳)有限公司 Text processing method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573641A (en) * 2003-06-11 2005-02-02 微软公司 Method and apparatus for protecting electronic file area
US20100318894A1 (en) * 2009-06-11 2010-12-16 Microsoft Corporation Modifications to Editable Elements of Web Pages Rendered in Word Processor Applications
CN106407831A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 File protection method and device, and mobile terminal
CN106934295A (en) * 2015-12-31 2017-07-07 珠海金山办公软件有限公司 A kind of document processing method and device
CN107219984A (en) * 2017-05-26 2017-09-29 维沃移动通信有限公司 A kind of document content management method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573641A (en) * 2003-06-11 2005-02-02 微软公司 Method and apparatus for protecting electronic file area
US20100318894A1 (en) * 2009-06-11 2010-12-16 Microsoft Corporation Modifications to Editable Elements of Web Pages Rendered in Word Processor Applications
CN106407831A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 File protection method and device, and mobile terminal
CN106934295A (en) * 2015-12-31 2017-07-07 珠海金山办公软件有限公司 A kind of document processing method and device
CN107219984A (en) * 2017-05-26 2017-09-29 维沃移动通信有限公司 A kind of document content management method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626344A (en) * 2020-11-27 2022-06-14 腾讯科技(深圳)有限公司 Text processing method and related device
CN112925515A (en) * 2021-03-11 2021-06-08 亿度慧达教育科技(北京)有限公司 Editing control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110659526B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
JP5268945B2 (en) How to manage the user interface display
WO2020057131A1 (en) Content sharing method, terminal device and storage medium
CN111177734A (en) Document operation authority setting and document operation method, device, terminal and medium
US9514291B2 (en) Information processing system, information processing device, and authentication information management method
CN108416199B (en) User permission control method and device of application and server
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
CN108092872B (en) Communication method and device
JP2006024059A (en) Computer program for managing document, and device and method for managing document
US8484748B2 (en) Method and device for classifying and processing data in instant messaging system
CN111222153A (en) Application program authority management method and device and storage medium
CN114493541A (en) Task creation method, task creation apparatus, electronic device, storage medium, and program product
CN110659526B (en) Document processing method and device and electronic equipment
US20190058756A1 (en) Method, Terminal, and System for Sending Office Document
CN111756618B (en) Group chat processing method and device, electronic equipment and readable storage medium
CN109543166B (en) House property poster template generation method, server and computer readable storage medium
CN109976828B (en) Method and device for configuring file
CN111553130A (en) Chapter title style conversion method and device, electronic equipment and storage medium
JP2004062241A (en) Controller and method for controlling user access right
CN114047855B (en) Form editing method and device and terminal equipment
AU2015204414A1 (en) Document and object manipulation
CN113127235A (en) Data management method and device of clipboard, computer equipment and storage medium
CN115879090A (en) Account login method and device, electronic equipment and storage medium
CN113377265A (en) Annotating method, annotating device, mobile terminal and storage medium
CN108647197B (en) Information processing method, device and storage medium
CN112311660A (en) Message deleting method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant