Document collaborative editing method and device, terminal and computer readable storage medium

文档序号:1447059 发布日期:2020-02-18 浏览:11次 中文

阅读说明:本技术 文档协同编辑方法及装置、终端和计算机可读存储介质 (Document collaborative editing method and device, terminal and computer readable storage medium ) 是由 王硕 袁磊 张跃华 于 2019-11-04 设计创作,主要内容包括:本发明公开了一种文档协同编辑方法及装置、终端和计算机可读存储介质,该方法包括:获取针对电子文档内指定区域的文档处理指令;根据所述文档处理指令的发出方用户的用户信息,判断所述发出方用户是否为对所述指定区域具有管理权限的指定用户;基于所述发出方用户不是所述指定用户的情况,为所述文档处理指令生成对应的审批任务;将所述审批任务发送至所述指定用户;以及获取所述指定用户对所述审批任务的审批结果;基于所述审批结果为对所述审批任务审批通过的情况,执行所述文档处理指令。通过本发明的技术方案,可对文档协同编辑实行有效管理,提升文档协同编辑功能的安全性和实用性。(The invention discloses a method and a device for collaboratively editing a document, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring a document processing instruction aiming at a specified area in an electronic document; judging whether the sender user is a designated user having management authority on the designated area or not according to the user information of the sender user of the document processing instruction; generating a corresponding approval task for the document processing instruction based on the condition that the sender user is not the designated user; sending the approval task to the specified user; acquiring an approval result of the appointed user on the approval task; and executing the document processing instruction based on the condition that the approval result is that the approval task passes. By the technical scheme, the document collaborative editing can be effectively managed, and the safety and the practicability of the document collaborative editing function are improved.)

1. A document collaborative editing method is characterized by comprising the following steps:

acquiring a document processing instruction aiming at a specified area in an electronic document;

judging whether the sender user is a designated user having management authority on the designated area or not according to the user information of the sender user of the document processing instruction;

generating a corresponding approval task for the document processing instruction based on the condition that the sender user is not the designated user;

sending the approval task to the specified user;

obtaining the approval result of the appointed user on the approval task;

and executing the document processing instruction based on the condition that the approval result is that the approval task passes.

2. The collaborative editing method for a document according to claim 1, wherein before the step of generating a corresponding approval task for the document processing instruction, the collaborative editing method further comprises:

judging whether the object to be executed requested by the document processing instruction relates to a specified object set by the specified user, wherein the step of generating a corresponding approval task for the document processing instruction is carried out based on the condition that the object to be executed does not relate to the specified object;

and

and executing a designated coping strategy corresponding to the designated object based on the condition that the object to be executed relates to the designated object.

3. The document collaborative editing method according to claim 2,

the specified coping strategy includes:

prohibiting execution of the document processing instruction; and/or

And setting the editing authority of the sender user to the specified area as specified authority.

4. A document collaborative editing method is characterized by comprising the following steps:

acquiring an approval task from an issuing party user, wherein the approval task comprises a document processing instruction of the issuing party user for a specified area in an electronic document;

generating prompt information according to the approval task;

acquiring operation information aiming at the prompt information;

generating an approval result of the approval task according to the operation information;

and feeding back the approval result to the issuing user so that the issuing user can determine whether to execute the document processing instruction according to the approval result.

5. The document collaborative editing method according to claim 4, further comprising:

setting a specified object according to a first setting instruction, wherein the specified object comprises specified operation and/or specified keywords; and

setting a corresponding appointed coping strategy for the appointed object according to a second setting instruction;

after the issuing user generates the document processing instruction for the designated area in the electronic document, the designated object and the corresponding designated coping strategy are provided for the issuing user, so that the designated coping strategy corresponding to the designated object is directly executed under the condition that the object to be executed requested by the issuing user based on the document processing instruction relates to the designated object.

6. The document collaborative editing method according to claim 5,

the specified coping strategy includes:

prohibiting execution of the document processing instruction; and/or

And setting the editing authority of the sender user to the specified area as specified authority.

7. A document collaborative editing apparatus, comprising:

a document processing instruction acquisition unit configured to acquire a document processing instruction for a specified area within an electronic document;

the user identity judging unit is used for judging whether the sender user is an appointed user with management authority to the appointed area or not according to the user information of the sender user of the document processing instruction;

the approval task generating unit is used for generating a corresponding approval task for the document processing instruction based on the condition that the issuing user is not the specified user;

the examination and approval task sending unit is used for sending the examination and approval task to the specified user;

the approval result acquisition unit is used for acquiring the approval result of the specified user on the approval task;

and the document processing instruction execution unit is used for executing the document processing instruction based on the condition that the approval result is that the approval task passes.

8. A document collaborative editing apparatus, comprising:

the system comprises an approval task acquisition unit, a document processing unit and a document processing unit, wherein the approval task acquisition unit is used for acquiring an approval task from an issuing party user, and the approval task comprises a document processing instruction of the issuing party user for a specified area in an electronic document;

the prompt information generating unit is used for generating prompt information according to the approval task;

an operation information acquisition unit configured to acquire operation information for the prompt information;

the examination and approval result generating unit is used for generating an examination and approval result of the examination and approval task according to the operation information;

and the approval result sending unit is used for feeding back the approval result to the sending party user so that the sending party user can determine whether to execute the document processing instruction according to the approval result.

9. A terminal, comprising: at least one processor; and a memory communicatively coupled to the at least one processor;

wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 1 to 6.

10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method flow of any of claims 1-6.

Technical Field

The present invention relates to the field of collaborative editing technologies, and in particular, to a method and an apparatus for collaboratively editing a document, a terminal, and a computer-readable storage medium.

Background

Common electronic documents often cannot meet the requirement for synchronizing multi-user editing results in real time, and accordingly collaborative editing documents are proposed in the related art.

However, since the collaborative editing document is multi-user-oriented, for the same collaborative editing document, the more users that can edit the document, the more the document content is, and the excessive document content and the complicated editable users bring about a great security hole. For example, after any user maliciously deletes and saves the content of the collaborative editing document, it is difficult for other users to restore the content.

Therefore, how to effectively manage the collaborative editing process of the document becomes a technical problem to be solved urgently at present.

Disclosure of Invention

The invention provides a method and a device for collaboratively editing a document, a terminal and a computer-readable storage medium, aiming at the technical problem that the collaboratively editing of the document in the related technology lacks effective management, the electronic document can be managed in a partition mode, and the effectiveness of collaboratively editing of the document is improved.

The invention provides a document collaborative editing method, which comprises the following steps: acquiring a document processing instruction aiming at a specified area in an electronic document; judging whether the sender user is a designated user having management authority on the designated area or not according to the user information of the sender user of the document processing instruction; generating a corresponding approval task for the document processing instruction based on the condition that the sender user is not the designated user; sending the approval task to the specified user; obtaining the approval result of the appointed user on the approval task; and executing the document processing instruction based on the condition that the approval result is that the approval task passes.

In the above embodiment of the present invention, optionally, before the step of generating the corresponding approval task for the document processing instruction, the method further includes: judging whether the object to be executed requested by the document processing instruction relates to a specified object set by the specified user, wherein the step of generating a corresponding approval task for the document processing instruction is carried out based on the condition that the object to be executed does not relate to the specified object; and executing a designated coping strategy corresponding to the designated object based on the condition that the object to be executed relates to the designated object.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

The second aspect of the present invention provides a document collaborative editing method, including: acquiring an approval task from an issuing party user, wherein the approval task comprises a document processing instruction of the issuing party user for a specified area in an electronic document; generating prompt information according to the approval task; acquiring operation information aiming at the prompt information; generating an approval result of the approval task according to the operation information; and feeding back the approval result to the issuing user so that the issuing user can determine whether to execute the document processing instruction according to the approval result.

In the above embodiment of the present invention, optionally, the method further includes: setting a specified object according to a first setting instruction, wherein the specified object comprises specified operation and/or specified keywords; setting a corresponding appointed coping strategy for the appointed object according to a second setting instruction; after the issuing user generates the document processing instruction for the designated area in the electronic document, the designated object and the corresponding designated coping strategy are provided for the issuing user, so that the designated coping strategy corresponding to the designated object is directly executed under the condition that the object to be executed requested by the issuing user based on the document processing instruction relates to the designated object.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

A third aspect of the present invention provides a collaborative editing apparatus for a document, including: a document processing instruction acquisition unit configured to acquire a document processing instruction for a specified area within an electronic document; the user identity judging unit is used for judging whether the sender user is an appointed user with management authority to the appointed area or not according to the user information of the sender user of the document processing instruction; the approval task generating unit is used for generating a corresponding approval task for the document processing instruction based on the condition that the issuing user is not the specified user; the examination and approval task sending unit is used for sending the examination and approval task to the specified user; the approval result acquisition unit is used for acquiring the approval result of the specified user on the approval task; and the document processing instruction execution unit is used for executing the document processing instruction based on the condition that the approval result is that the approval task passes.

In the above embodiment of the present invention, optionally, the method further includes: a designated object judging unit, configured to judge whether an object to be executed requested by the document processing instruction relates to a designated object set by the designated user before the approval task generating unit generates a corresponding approval task for the document processing instruction, where the corresponding approval task is generated for the document processing instruction through the approval task generating unit based on a situation that the object to be executed does not relate to the designated object; the document collaborative editing apparatus further includes: and the designated coping strategy executing unit is used for executing the designated coping strategy corresponding to the designated object based on the condition that the object to be executed relates to the designated object.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

A fourth aspect of the present invention provides a collaborative document editing apparatus, including: the system comprises an approval task acquisition unit, a document processing unit and a document processing unit, wherein the approval task acquisition unit is used for acquiring an approval task from an issuing party user, and the approval task comprises a document processing instruction of the issuing party user for a specified area in an electronic document; the prompt information generating unit is used for generating prompt information according to the approval task; an operation information acquisition unit configured to acquire operation information for the prompt information; the examination and approval result generating unit is used for generating an examination and approval result of the examination and approval task according to the operation information; and the approval result sending unit is used for feeding back the approval result to the sending party user so that the sending party user can determine whether to execute the document processing instruction according to the approval result.

In the above embodiment of the present invention, optionally, the method further includes: a designated object setting unit, configured to set a designated object according to a first setting instruction, where the designated object includes a designated operation and/or a designated keyword; a designated coping strategy setting unit, which is used for setting a corresponding designated coping strategy for the designated object according to a second setting instruction; a designated object and policy providing unit configured to provide, after the issuing user generates the document processing instruction for the designated area in the electronic document, the designated object and the corresponding designated coping policy to the issuing user, so that when the object to be executed requested by the issuing user based on the document processing instruction relates to the designated object, the designated coping policy corresponding to the designated object is directly executed.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

A fifth aspect of the present invention provides a terminal, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the first and second aspects above.

A sixth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the method flow of any one of the first and second aspects.

The technical scheme of the invention provides a technical scheme for partitioning an electronic document and carrying out approval processing on a document processing instruction generated in a partition managed by a designated user aiming at the technical problem that the collaborative editing of the document lacks effective management in the related technology.

Specifically, a current user may issue document processing instructions to any content in a designated area of an electronic document having a document collaborative editing function, where the document processing instructions include, but are not limited to, adding, deleting, modifying the content of the document, and altering the format, watermark, etc. of the document. Because the administrator of the specified area in the electronic document and the current user, that is, the user of the issuing party of the document processing instruction, both have their own unique user information, such as the user self-set identifier, user IP address, user name, user code, etc., it can be determined whether the user information of the issuing party user is consistent with the user information of the specified user stored in the document application, and the specified user is the administrator of the specified area. If the specified area is consistent with the specified area, the issuing user is the manager of the specified area and has the authority of editing the specified area, so that the document processing instruction can be directly executed based on the condition that the issuing user is the specified user.

And based on the condition that the issuing party user is not the designated user, in order to avoid the condition that the issuing party user maliciously edits the designated area and/or avoid the condition that a plurality of issuing party users simultaneously issue mutually contradictory instructions to the designated area, the manager of the designated area needs to perform feasibility verification on the document processing instruction given by the issuing party user. Specifically, the approval task can be generated for the document processing instruction of the user at the application side of the sending party, and the approval task is sent to the manager in the designated area, namely the designated user, so that the approval task can be approved and an approval result can be generated at the application side of the designated user by the designated user, and the approval result is fed back to the sending party user.

Therefore, the document processing instruction of the issuing user to the designated area of the electronic document can be executed only after the approval of the manager of the designated area is passed, and if the approval result provided by the manager of the designated area is that the approval result does not pass, the issuing user does not execute the document processing instruction.

Through the technical scheme, the managers in all the areas in the electronic document can carry out management operations such as examination and approval on the foreign document processing instructions in the areas, the document processing instructions indicating malicious editing behaviors can be rejected, and meanwhile, the condition that a plurality of issuing users simultaneously issue contradictory instructions to the designated area can be avoided, so that the disordered result of document editing is avoided. Therefore, the document collaborative editing can be effectively managed, and the safety and the practicability of the document collaborative editing function are improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 illustrates a flow diagram of a document collaborative editing method according to an embodiment of the present invention;

FIG. 2 illustrates a flow diagram of a document collaborative editing method according to another embodiment of the present invention;

FIG. 3 illustrates a flow diagram of a document collaborative editing method according to yet another embodiment of the present invention;

FIG. 4 shows a block diagram of a document collaborative editing apparatus according to an embodiment of the present invention;

FIG. 5 shows a block diagram of a document collaborative editing apparatus according to another embodiment of the present invention;

fig. 6 shows a block diagram of a terminal according to an embodiment of the invention.

Detailed Description

In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent 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.

FIG. 1 shows a flowchart of a document collaborative editing method according to an embodiment of the present invention.

As shown in fig. 1, a flow of a document collaborative editing method according to an embodiment of the present invention includes:

step 102, obtaining a document processing instruction for a specified area in an electronic document.

The present embodiment is described on the document application side of the issuing user who issues a document processing instruction, wherein the issuing user can issue a document processing instruction including, but not limited to, adding, deleting, modifying the content of a document, and changing the format, watermark, and the like of the document to any content of a specified area within an electronic document having a document collaborative editing function.

And 104, judging whether the sender user is a specified user with management authority to the specified area or not according to the user information of the sender user of the document processing instruction.

Because the administrator of the specified area in the electronic document and the current user, that is, the user of the issuing party of the document processing instruction, both have their own unique user information, such as the user self-set identifier, user IP address, user name, user code, etc., it can be determined whether the user information of the issuing party user is consistent with the user information of the specified user stored in the document application, and the specified user is the administrator of the specified area.

If yes, the issuing user is the manager of the designated area and has the authority to edit the designated area, so that the document processing instruction can be directly executed based on the condition that the issuing user is the designated user.

And 106, generating a corresponding approval task for the document processing instruction based on the condition that the issuing user is not the specified user.

And based on the condition that the issuing party user is not the designated user, in order to avoid the condition that the issuing party user maliciously edits the designated area and/or avoid the condition that a plurality of issuing party users simultaneously issue mutually contradictory instructions to the designated area, the manager of the designated area needs to perform feasibility verification on the document processing instruction given by the issuing party user.

And step 108, sending the approval task to the specified user.

And step 110, obtaining the approval result of the appointed user on the approval task.

The process of feasibility review is: and generating an approval task for the document processing instruction of the user at the application side of the sender, sending the approval task to a manager in a specified area, namely a specified user, so that the specified user can approve the approval task at the application side of the specified user and generate an approval result, and feeding the approval result back to the sender user.

And 112, executing the document processing instruction based on the condition that the approval result is that the approval task passes.

Therefore, the document processing instruction of the issuing user to the designated area of the electronic document can be executed only after the approval of the manager of the designated area is passed, and if the approval result provided by the manager of the designated area is that the approval result does not pass, the issuing user does not execute the document processing instruction.

The technical scheme of the invention provides a technical scheme for partitioning an electronic document and carrying out approval processing on a document processing instruction generated in a partition managed by a designated user aiming at the technical problem that the collaborative editing of the document lacks effective management in the related technology.

Through the technical scheme, the managers in all the areas in the electronic document can carry out management operations such as examination and approval on the foreign document processing instructions in the areas, the document processing instructions indicating malicious editing behaviors can be rejected, and meanwhile, the condition that a plurality of issuing users simultaneously issue contradictory instructions to the designated area can be avoided, so that the disordered result of document editing is avoided. Therefore, the document collaborative editing can be effectively managed, and the safety and the practicability of the document collaborative editing function are improved.

Fig. 2 shows a flowchart of a document collaborative editing method according to another embodiment of the present invention.

As shown in fig. 2, a flow of a document collaborative editing method according to another embodiment of the present invention includes:

at step 202, document processing instructions for a specified region within an electronic document are obtained.

The present embodiment is described on the document application side of the issuing user who issues a document processing instruction, wherein the issuing user can issue a document processing instruction including, but not limited to, adding, deleting, modifying the content of a document, and changing the format, watermark, and the like of the document to any content of a specified area within an electronic document having a document collaborative editing function.

Step 204, according to the user information of the user of the issuing party of the document processing instruction, judging whether the user of the issuing party is a designated user having management authority for the designated area, if so, entering step 206, and if not, entering step 208.

Because the administrator of the specified area in the electronic document and the current user, that is, the user of the issuing party of the document processing instruction, both have their own unique user information, such as the user self-set identifier, user IP address, user name, user code, etc., it can be determined whether the user information of the issuing party user is consistent with the user information of the specified user stored in the document application, and the specified user is the administrator of the specified area.

Step 206, executing the document processing instructions.

The issuing party user is the manager of the designated area and has the authority to edit the designated area based on the condition that the issuing party user is the designated user having the management authority to the designated area, so that the document processing instruction can be directly executed based on the condition that the issuing party user is the designated user.

In the context of the present invention, the manager of the designated area may be the manager of the entire electronic document, or may be the manager having management authority only for the designated area.

Step 208, judging whether the object to be executed requested by the document processing instruction relates to a specified object set by the specified user, when the judgment result is yes, entering step 210, and when the judgment result is no, entering step 212.

Step 210, executing the designated coping strategy corresponding to the designated object.

Wherein the specified coping strategies include, but are not limited to: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

In order to further simplify the management process of collaborative editing, a designated object and a designated coping strategy corresponding to the designated object can be set for the designated area by the manager of the designated area, wherein the designated object includes but is not limited to a specific keyword and/or specific adding, modifying and deleting operations, and the designated coping strategy refers to a strategy which is automatically triggered after a sender user edits the specific keyword in the designated area and/or the specific adding, modifying and deleting operations are performed on the designated area. If the object to be executed requested by the document processing instruction is determined as a specified object set by a specified user, a corresponding specified coping strategy is automatically triggered.

For example, for a designated area a in an excel document, a designated object can be set as an averaging function, and the designated countermeasure of the designated object is set as that the operation authority of an issuing user on the designated area a is set to prohibit all formula calculation operations. Once the user b sends out a document processing instruction for executing the averaging function, the excel document inhibits the document processing instruction of the averaging function, and the operation authority of the user b on the designated area a is set to inhibit all formula calculation operations. Therefore, the excel document can automatically complete the management of the actions of the user b collaborative editing designated area a, the step of managing collaborative editing is further simplified, and the management efficiency of collaborative editing is improved.

Step 212, generating a corresponding approval task for the document processing instruction.

Based on the condition that the issuing party user is not the designated user, in order to avoid the condition that the issuing party user maliciously edits the designated area and/or avoid the condition that a plurality of issuing party users simultaneously issue mutually contradictory instructions to the designated area, the manager of the designated area needs to perform feasibility verification on the document processing instruction given by the issuing party user.

And 214, sending the approval task to the specified user.

And step 216, obtaining the approval result of the specified user for the approval task.

The process of feasibility review is: and generating an approval task for the document processing instruction of the user at the application side of the sender, sending the approval task to a manager in a specified area, namely a specified user, so that the specified user can approve the approval task at the application side of the specified user and generate an approval result, and feeding the approval result back to the sender user.

Step 218, executing the document processing instruction based on the approval result being that the approval task is passed.

Therefore, the document processing instruction of the issuing user to the designated area of the electronic document can be executed only after the approval of the manager of the designated area is passed, and if the approval result provided by the manager of the designated area is that the approval result does not pass, the issuing user does not execute the document processing instruction.

Through the technical scheme, the technical scheme that the electronic document can automatically execute the corresponding strategy on the document processing instruction under the specified condition while the managers of all the areas in the electronic document carry out management operations such as examination and approval on the external document processing instruction in the areas is provided, the safety of the document collaborative editing function is improved, the steps of managing collaborative editing are further simplified, and the management efficiency of collaborative editing is improved.

It should be added that the technical solution of the present invention further includes: the document processing instructions that can trigger the approval task are set, in other words, which document processing instructions can trigger the management function of the manager of the specified area can be preset by the manager of the electronic document or the manager of the specified area in the electronic document. Likewise, the designated objects in the foregoing schemes may be any content and operations that may occur that may be involved in any type, format of document set by the administrator of the electronic document or the administrator of the designated area in the electronic document.

Fig. 3 illustrates a flowchart of a document collaborative editing method according to still another embodiment of the present invention.

As shown in fig. 3, a flow of a document collaborative editing method according to still another embodiment of the present invention includes:

step 302, an approval task from the sender user is obtained.

The present embodiment describes on the document application side of a specified user who manages a specified area in an electronic document, wherein the approval task includes a document processing instruction of an issuing user for the specified area within the electronic document. The issuing user may issue document processing instructions including, but not limited to, adding, deleting, modifying document content, and altering the format of the document, watermarking, etc., for any content in a designated area within the electronic document having a document collaborative editing function.

And step 304, generating prompt information according to the approval task.

Step 306, obtaining operation information aiming at the prompt information.

And 308, generating an approval result of the approval task according to the operation information.

In order to avoid the situation that the issuing party user maliciously edits the designated area and/or to avoid the situation that a plurality of issuing party users simultaneously issue mutually contradictory instructions to the designated area, the manager of the designated area needs to perform feasibility verification on the document processing instruction given by the issuing party user.

In the feasibility verification process, the designated user side generates prompt information according to the approval task, so that the designated user can perform approval operation after obtaining the prompt information, and the approval task is processed. Of course, after the approval operation is completed, an approval result of the approval task is generated, so that the issuing user can know whether the administrator of the specified area of the document processing instruction passes through the approval result.

And 310, feeding back the approval result to the sender user so that the sender user can determine whether to execute the document processing instruction according to the approval result.

Therefore, the document processing instruction of the issuing user to the designated area of the electronic document can be executed only after the approval of the manager of the designated area is passed, and if the approval result provided by the manager of the designated area is failed, the issuing user does not execute the document processing instruction.

The technical scheme of the invention provides a technical scheme for partitioning an electronic document and carrying out approval processing on a document processing instruction generated in a partition managed by a designated user aiming at the technical problem that the collaborative editing of the document lacks effective management in the related technology.

Through the technical scheme, the managers in all the areas in the electronic document can carry out management operations such as examination and approval on the foreign document processing instructions in the areas, the document processing instructions indicating malicious editing behaviors can be rejected, and meanwhile, the condition that a plurality of issuing users simultaneously issue contradictory instructions to the designated area can be avoided, so that the disordered result of document editing is avoided. Therefore, the document collaborative editing can be effectively managed, and the safety and the practicability of the document collaborative editing function are improved.

On the basis of the embodiment shown in fig. 3, optionally, for the document application side of the specified user, the method further includes: setting a specified object according to a first setting instruction, wherein the specified object comprises specified operation and/or specified keywords; setting a corresponding appointed coping strategy for the appointed object according to a second setting instruction; after the issuing user generates the document processing instruction for the designated area in the electronic document, the designated object and the corresponding designated coping strategy are provided for the issuing user, so that the designated coping strategy corresponding to the designated object is directly executed under the condition that the object to be executed requested by the issuing user based on the document processing instruction relates to the designated object.

In order to further simplify the management process of collaborative editing, a designated object and a designated coping strategy corresponding to the designated object can be set for the designated area by the manager of the designated area, wherein the designated object includes but is not limited to a specific keyword and/or specific adding, modifying and deleting operations, and the designated coping strategy refers to a strategy which is automatically triggered after a sender user edits the specific keyword in the designated area and/or the designated area performs the specific adding, modifying and deleting operations, and includes but is not limited to: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

If the object to be executed requested by the document processing instruction is determined as a specified object set by a specified user, a corresponding specified coping strategy is automatically triggered.

For example, for a designated area a in an excel document, a designated object can be set as an averaging function, and the designated countermeasure of the designated object is set as that the operation authority of an issuing user on the designated area a is set to prohibit all formula calculation operations. Once the user b sends out a document processing instruction for executing the averaging function, the excel document inhibits the document processing instruction of the averaging function, and the operation authority of the user b on the designated area a is set to inhibit all formula calculation operations. Therefore, the excel document can automatically complete the management of the actions of the user b collaborative editing designated area a, the step of managing collaborative editing is further simplified, and the management efficiency of collaborative editing is improved.

Through the technical scheme, the technical scheme that the electronic document can automatically execute the corresponding strategy on the document processing instruction under the specified condition while the managers of all the areas in the electronic document carry out management operations such as examination and approval on the external document processing instruction in the areas is provided, the safety of the document collaborative editing function is improved, the steps of managing collaborative editing are further simplified, and the management efficiency of collaborative editing is improved.

Fig. 4 shows a block diagram of a document collaborative editing apparatus according to an embodiment of the present invention.

As shown in fig. 4, a document collaborative editing apparatus 400 according to an embodiment of the present invention includes: a document processing instruction acquisition unit 402 configured to acquire a document processing instruction for a specified area within an electronic document; a user identity judgment unit 404, configured to judge, according to user information of an issuer user of the document processing instruction, whether the issuer user is an appointed user having a management authority for the appointed area; an approval task generating unit 406, configured to generate a corresponding approval task for the document processing instruction based on a condition that the issuing user is not the designated user; an approval task sending unit 408, configured to send the approval task to the specified user; an approval result obtaining unit 410, configured to obtain an approval result of the approval task by the specified user; and a document processing instruction executing unit 412, configured to execute the document processing instruction based on that the approval result is that the approval task passes.

In the above embodiment of the present invention, optionally, the method further includes: a designated object determining unit, configured to determine whether an object to be executed requested by the document processing instruction relates to a designated object set by the designated user before the approval task generating unit 406 generates a corresponding approval task for the document processing instruction, where the corresponding approval task is generated for the document processing instruction through the approval task generating unit 406 based on a case that the object to be executed does not relate to the designated object; the document collaborative editing apparatus 400 further includes: and the designated coping strategy executing unit is used for executing the designated coping strategy corresponding to the designated object based on the condition that the object to be executed relates to the designated object.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

The document collaborative editing apparatus 400 uses the scheme described in any one of the embodiments shown in fig. 1 and fig. 2, and therefore, all the technical effects described above are achieved, and are not described again here.

Fig. 5 is a block diagram showing a document collaborative editing apparatus according to another embodiment of the present invention.

As shown in fig. 5, a document collaborative editing apparatus 500 according to another embodiment of the present invention includes: an approval task obtaining unit 502, configured to obtain an approval task from an issuing party user, where the approval task includes a document processing instruction of the issuing party user for a specified area in an electronic document; a prompt information generating unit 504, configured to generate a prompt information according to the approval task; an operation information acquisition unit 506 configured to acquire operation information for the prompt information; an approval result generating unit 508, configured to generate an approval result for the approval task according to the operation information; an approval result sending unit 510, configured to feed back the approval result to the issuing user, so that the issuing user determines whether to execute the document processing instruction according to the approval result.

In the above embodiment of the present invention, optionally, the method further includes: a designated object setting unit, configured to set a designated object according to a first setting instruction, where the designated object includes a designated operation and/or a designated keyword; a designated coping strategy setting unit, which is used for setting a corresponding designated coping strategy for the designated object according to a second setting instruction; a designated object and policy providing unit configured to provide, after the issuing user generates the document processing instruction for the designated area in the electronic document, the designated object and the corresponding designated coping policy to the issuing user, so that when the object to be executed requested by the issuing user based on the document processing instruction relates to the designated object, the designated coping policy corresponding to the designated object is directly executed.

In the foregoing embodiment of the present invention, optionally, the specifying the coping strategy includes: prohibiting execution of the document processing instruction; and/or setting the editing authority of the sender user to the specified area as the specified authority.

The document collaborative editing apparatus 500 uses the scheme described in any one of the embodiments shown in fig. 3, and therefore, all the technical effects described above are achieved, and are not described herein again.

Fig. 6 shows a block diagram of a terminal according to an embodiment of the invention.

As shown in fig. 6, a terminal 600 of one embodiment of the present invention includes at least one memory 602; and a processor 604 communicatively coupled to the at least one memory 602; wherein the memory stores instructions executable by the at least one processor 604 and configured to perform the aspects of any of the embodiments of fig. 1-3 described above. Therefore, the terminal 600 has the same technical effect as any one of the embodiments of fig. 1 to 3, and is not described herein again.

The terminal of the embodiments of the present invention exists in various forms, including but not limited to:

(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.

(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.

(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.

(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.

(5) And other electronic devices with data interaction functions.

In addition, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the method flow described in any one of the above embodiments of fig. 1 to 3.

The technical scheme of the invention is explained in detail in the above with reference to the attached drawings, and by the technical scheme of the invention, the document processing instruction indicating malicious editing behavior can be rejected, and meanwhile, the condition that a plurality of issuing users simultaneously issue contradictory instructions to the designated area can be avoided, so that the disordered result of document editing is avoided. Therefore, the document collaborative editing can be effectively managed, and the safety and the practicability of the document collaborative editing function are improved.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.

In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种文档编辑的方法、装置、计算机存储介质及终端

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!